mirror of
https://github.com/brunopostle/ifcurl.git
synced 2026-07-12 10:18:14 +00:00
three 0.177→0.184, web-ifc 0.0.75→0.0.77, @thatopen/components 3.3.1→3.4.2, @thatopen/fragments 3.3.1→3.4.3, + new camera-controls 3.1.2 peer dep. Reduces fast-xml-parser findings from 2 critical to 1 high + 1 low; remaining issues are upstream in @thatopen >= 3.3.3 with no fix released yet. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
5327 lines
5.7 MiB
5327 lines
5.7 MiB
var vRe=Object.create;var gee=Object.defineProperty;var RRe=Object.getOwnPropertyDescriptor;var SRe=Object.getOwnPropertyNames;var ARe=Object.getPrototypeOf,bRe=Object.prototype.hasOwnProperty;var qU=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,i)=>(typeof require<"u"?require:t)[i]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var NRe=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),wee=(e,t)=>{for(var i in t)gee(e,i,{get:t[i],enumerable:!0})},_Re=(e,t,i,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of SRe(t))!bRe.call(e,s)&&s!==i&&gee(e,s,{get:()=>t[s],enumerable:!(n=RRe(t,s))||n.enumerable});return e};var DRe=(e,t,i)=>(i=e!=null?vRe(ARe(e)):{},_Re(t||!e||!e.__esModule?gee(i,"default",{value:e,enumerable:!0}):i,e));var m4e=NRe((I4e,V0e)=>{(function(e){typeof I4e=="object"&&typeof V0e<"u"?V0e.exports=e():typeof define=="function"&&define.amd?define([],e):(typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:this).JSZip=e()})(function(){return(function e(t,i,n){function s(l,d){if(!i[l]){if(!t[l]){var h=typeof qU=="function"&&qU;if(!d&&h)return h(l,!0);if(o)return o(l,!0);var p=new Error("Cannot find module '"+l+"'");throw p.code="MODULE_NOT_FOUND",p}var I=i[l]={exports:{}};t[l][0].call(I.exports,function(m){var y=t[l][1][m];return s(y||m)},I,I.exports,e,t,i,n)}return i[l].exports}for(var o=typeof qU=="function"&&qU,r=0;r<n.length;r++)s(n[r]);return s})({1:[function(e,t,i){"use strict";var n=e("./utils"),s=e("./support"),o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";i.encode=function(r){for(var l,d,h,p,I,m,y,T=[],R=0,b=r.length,A=b,O=n.getTypeOf(r)!=="string";R<r.length;)A=b-R,h=O?(l=r[R++],d=R<b?r[R++]:0,R<b?r[R++]:0):(l=r.charCodeAt(R++),d=R<b?r.charCodeAt(R++):0,R<b?r.charCodeAt(R++):0),p=l>>2,I=(3&l)<<4|d>>4,m=1<A?(15&d)<<2|h>>6:64,y=2<A?63&h:64,T.push(o.charAt(p)+o.charAt(I)+o.charAt(m)+o.charAt(y));return T.join("")},i.decode=function(r){var l,d,h,p,I,m,y=0,T=0,R="data:";if(r.substr(0,R.length)===R)throw new Error("Invalid base64 input, it looks like a data url.");var b,A=3*(r=r.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(r.charAt(r.length-1)===o.charAt(64)&&A--,r.charAt(r.length-2)===o.charAt(64)&&A--,A%1!=0)throw new Error("Invalid base64 input, bad content length.");for(b=s.uint8array?new Uint8Array(0|A):new Array(0|A);y<r.length;)l=o.indexOf(r.charAt(y++))<<2|(p=o.indexOf(r.charAt(y++)))>>4,d=(15&p)<<4|(I=o.indexOf(r.charAt(y++)))>>2,h=(3&I)<<6|(m=o.indexOf(r.charAt(y++))),b[T++]=l,I!==64&&(b[T++]=d),m!==64&&(b[T++]=h);return b}},{"./support":30,"./utils":32}],2:[function(e,t,i){"use strict";var n=e("./external"),s=e("./stream/DataWorker"),o=e("./stream/Crc32Probe"),r=e("./stream/DataLengthProbe");function l(d,h,p,I,m){this.compressedSize=d,this.uncompressedSize=h,this.crc32=p,this.compression=I,this.compressedContent=m}l.prototype={getContentWorker:function(){var d=new s(n.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new r("data_length")),h=this;return d.on("end",function(){if(this.streamInfo.data_length!==h.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),d},getCompressedWorker:function(){return new s(n.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},l.createWorkerFrom=function(d,h,p){return d.pipe(new o).pipe(new r("uncompressedSize")).pipe(h.compressWorker(p)).pipe(new r("compressedSize")).withStreamInfo("compression",h)},t.exports=l},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(e,t,i){"use strict";var n=e("./stream/GenericWorker");i.STORE={magic:"\0\0",compressWorker:function(){return new n("STORE compression")},uncompressWorker:function(){return new n("STORE decompression")}},i.DEFLATE=e("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(e,t,i){"use strict";var n=e("./utils"),s=(function(){for(var o,r=[],l=0;l<256;l++){o=l;for(var d=0;d<8;d++)o=1&o?3988292384^o>>>1:o>>>1;r[l]=o}return r})();t.exports=function(o,r){return o!==void 0&&o.length?n.getTypeOf(o)!=="string"?(function(l,d,h,p){var I=s,m=p+h;l^=-1;for(var y=p;y<m;y++)l=l>>>8^I[255&(l^d[y])];return-1^l})(0|r,o,o.length,0):(function(l,d,h,p){var I=s,m=p+h;l^=-1;for(var y=p;y<m;y++)l=l>>>8^I[255&(l^d.charCodeAt(y))];return-1^l})(0|r,o,o.length,0):0}},{"./utils":32}],5:[function(e,t,i){"use strict";i.base64=!1,i.binary=!1,i.dir=!1,i.createFolders=!0,i.date=null,i.compression=null,i.compressionOptions=null,i.comment=null,i.unixPermissions=null,i.dosPermissions=null},{}],6:[function(e,t,i){"use strict";var n=null;n=typeof Promise<"u"?Promise:e("lie"),t.exports={Promise:n}},{lie:37}],7:[function(e,t,i){"use strict";var n=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",s=e("pako"),o=e("./utils"),r=e("./stream/GenericWorker"),l=n?"uint8array":"array";function d(h,p){r.call(this,"FlateWorker/"+h),this._pako=null,this._pakoAction=h,this._pakoOptions=p,this.meta={}}i.magic="\b\0",o.inherits(d,r),d.prototype.processChunk=function(h){this.meta=h.meta,this._pako===null&&this._createPako(),this._pako.push(o.transformTo(l,h.data),!1)},d.prototype.flush=function(){r.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},d.prototype.cleanUp=function(){r.prototype.cleanUp.call(this),this._pako=null},d.prototype._createPako=function(){this._pako=new s[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var h=this;this._pako.onData=function(p){h.push({data:p,meta:h.meta})}},i.compressWorker=function(h){return new d("Deflate",h)},i.uncompressWorker=function(){return new d("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(e,t,i){"use strict";function n(I,m){var y,T="";for(y=0;y<m;y++)T+=String.fromCharCode(255&I),I>>>=8;return T}function s(I,m,y,T,R,b){var A,O,P=I.file,U=I.compression,Z=b!==l.utf8encode,ne=o.transformTo("string",b(P.name)),K=o.transformTo("string",l.utf8encode(P.name)),oe=P.comment,se=o.transformTo("string",b(oe)),he=o.transformTo("string",l.utf8encode(oe)),Re=K.length!==P.name.length,ee=he.length!==oe.length,Ae="",Ee="",Ce="",Qe=P.dir,qe=P.date,St={crc32:0,compressedSize:0,uncompressedSize:0};m&&!y||(St.crc32=I.crc32,St.compressedSize=I.compressedSize,St.uncompressedSize=I.uncompressedSize);var $e=0;m&&($e|=8),Z||!Re&&!ee||($e|=2048);var ke=0,It=0;Qe&&(ke|=16),R==="UNIX"?(It=798,ke|=(function(Dt,Zt){var Ct=Dt;return Dt||(Ct=Zt?16893:33204),(65535&Ct)<<16})(P.unixPermissions,Qe)):(It=20,ke|=(function(Dt){return 63&(Dt||0)})(P.dosPermissions)),A=qe.getUTCHours(),A<<=6,A|=qe.getUTCMinutes(),A<<=5,A|=qe.getUTCSeconds()/2,O=qe.getUTCFullYear()-1980,O<<=4,O|=qe.getUTCMonth()+1,O<<=5,O|=qe.getUTCDate(),Re&&(Ee=n(1,1)+n(d(ne),4)+K,Ae+="up"+n(Ee.length,2)+Ee),ee&&(Ce=n(1,1)+n(d(se),4)+he,Ae+="uc"+n(Ce.length,2)+Ce);var ft="";return ft+=`
|
||
\0`,ft+=n($e,2),ft+=U.magic,ft+=n(A,2),ft+=n(O,2),ft+=n(St.crc32,4),ft+=n(St.compressedSize,4),ft+=n(St.uncompressedSize,4),ft+=n(ne.length,2),ft+=n(Ae.length,2),{fileRecord:h.LOCAL_FILE_HEADER+ft+ne+Ae,dirRecord:h.CENTRAL_FILE_HEADER+n(It,2)+ft+n(se.length,2)+"\0\0\0\0"+n(ke,4)+n(T,4)+ne+Ae+se}}var o=e("../utils"),r=e("../stream/GenericWorker"),l=e("../utf8"),d=e("../crc32"),h=e("../signature");function p(I,m,y,T){r.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=m,this.zipPlatform=y,this.encodeFileName=T,this.streamFiles=I,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}o.inherits(p,r),p.prototype.push=function(I){var m=I.meta.percent||0,y=this.entriesCount,T=this._sources.length;this.accumulate?this.contentBuffer.push(I):(this.bytesWritten+=I.data.length,r.prototype.push.call(this,{data:I.data,meta:{currentFile:this.currentFile,percent:y?(m+100*(y-T-1))/y:100}}))},p.prototype.openedSource=function(I){this.currentSourceOffset=this.bytesWritten,this.currentFile=I.file.name;var m=this.streamFiles&&!I.file.dir;if(m){var y=s(I,m,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:y.fileRecord,meta:{percent:0}})}else this.accumulate=!0},p.prototype.closedSource=function(I){this.accumulate=!1;var m=this.streamFiles&&!I.file.dir,y=s(I,m,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(y.dirRecord),m)this.push({data:(function(T){return h.DATA_DESCRIPTOR+n(T.crc32,4)+n(T.compressedSize,4)+n(T.uncompressedSize,4)})(I),meta:{percent:100}});else for(this.push({data:y.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},p.prototype.flush=function(){for(var I=this.bytesWritten,m=0;m<this.dirRecords.length;m++)this.push({data:this.dirRecords[m],meta:{percent:100}});var y=this.bytesWritten-I,T=(function(R,b,A,O,P){var U=o.transformTo("string",P(O));return h.CENTRAL_DIRECTORY_END+"\0\0\0\0"+n(R,2)+n(R,2)+n(b,4)+n(A,4)+n(U.length,2)+U})(this.dirRecords.length,y,I,this.zipComment,this.encodeFileName);this.push({data:T,meta:{percent:100}})},p.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},p.prototype.registerPrevious=function(I){this._sources.push(I);var m=this;return I.on("data",function(y){m.processChunk(y)}),I.on("end",function(){m.closedSource(m.previous.streamInfo),m._sources.length?m.prepareNextSource():m.end()}),I.on("error",function(y){m.error(y)}),this},p.prototype.resume=function(){return!!r.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},p.prototype.error=function(I){var m=this._sources;if(!r.prototype.error.call(this,I))return!1;for(var y=0;y<m.length;y++)try{m[y].error(I)}catch{}return!0},p.prototype.lock=function(){r.prototype.lock.call(this);for(var I=this._sources,m=0;m<I.length;m++)I[m].lock()},t.exports=p},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(e,t,i){"use strict";var n=e("../compressions"),s=e("./ZipFileWorker");i.generateWorker=function(o,r,l){var d=new s(r.streamFiles,l,r.platform,r.encodeFileName),h=0;try{o.forEach(function(p,I){h++;var m=(function(b,A){var O=b||A,P=n[O];if(!P)throw new Error(O+" is not a valid compression method !");return P})(I.options.compression,r.compression),y=I.options.compressionOptions||r.compressionOptions||{},T=I.dir,R=I.date;I._compressWorker(m,y).withStreamInfo("file",{name:p,dir:T,date:R,comment:I.comment||"",unixPermissions:I.unixPermissions,dosPermissions:I.dosPermissions}).pipe(d)}),d.entriesCount=h}catch(p){d.error(p)}return d}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(e,t,i){"use strict";function n(){if(!(this instanceof n))return new n;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var s=new n;for(var o in this)typeof this[o]!="function"&&(s[o]=this[o]);return s}}(n.prototype=e("./object")).loadAsync=e("./load"),n.support=e("./support"),n.defaults=e("./defaults"),n.version="3.10.1",n.loadAsync=function(s,o){return new n().loadAsync(s,o)},n.external=e("./external"),t.exports=n},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(e,t,i){"use strict";var n=e("./utils"),s=e("./external"),o=e("./utf8"),r=e("./zipEntries"),l=e("./stream/Crc32Probe"),d=e("./nodejsUtils");function h(p){return new s.Promise(function(I,m){var y=p.decompressed.getContentWorker().pipe(new l);y.on("error",function(T){m(T)}).on("end",function(){y.streamInfo.crc32!==p.decompressed.crc32?m(new Error("Corrupted zip : CRC32 mismatch")):I()}).resume()})}t.exports=function(p,I){var m=this;return I=n.extend(I||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:o.utf8decode}),d.isNode&&d.isStream(p)?s.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):n.prepareContent("the loaded zip file",p,!0,I.optimizedBinaryString,I.base64).then(function(y){var T=new r(I);return T.load(y),T}).then(function(y){var T=[s.Promise.resolve(y)],R=y.files;if(I.checkCRC32)for(var b=0;b<R.length;b++)T.push(h(R[b]));return s.Promise.all(T)}).then(function(y){for(var T=y.shift(),R=T.files,b=0;b<R.length;b++){var A=R[b],O=A.fileNameStr,P=n.resolve(A.fileNameStr);m.file(P,A.decompressed,{binary:!0,optimizedBinaryString:!0,date:A.date,dir:A.dir,comment:A.fileCommentStr.length?A.fileCommentStr:null,unixPermissions:A.unixPermissions,dosPermissions:A.dosPermissions,createFolders:I.createFolders}),A.dir||(m.file(P).unsafeOriginalName=O)}return T.zipComment.length&&(m.comment=T.zipComment),m})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(e,t,i){"use strict";var n=e("../utils"),s=e("../stream/GenericWorker");function o(r,l){s.call(this,"Nodejs stream input adapter for "+r),this._upstreamEnded=!1,this._bindStream(l)}n.inherits(o,s),o.prototype._bindStream=function(r){var l=this;(this._stream=r).pause(),r.on("data",function(d){l.push({data:d,meta:{percent:0}})}).on("error",function(d){l.isPaused?this.generatedError=d:l.error(d)}).on("end",function(){l.isPaused?l._upstreamEnded=!0:l.end()})},o.prototype.pause=function(){return!!s.prototype.pause.call(this)&&(this._stream.pause(),!0)},o.prototype.resume=function(){return!!s.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},t.exports=o},{"../stream/GenericWorker":28,"../utils":32}],13:[function(e,t,i){"use strict";var n=e("readable-stream").Readable;function s(o,r,l){n.call(this,r),this._helper=o;var d=this;o.on("data",function(h,p){d.push(h)||d._helper.pause(),l&&l(p)}).on("error",function(h){d.emit("error",h)}).on("end",function(){d.push(null)})}e("../utils").inherits(s,n),s.prototype._read=function(){this._helper.resume()},t.exports=s},{"../utils":32,"readable-stream":16}],14:[function(e,t,i){"use strict";t.exports={isNode:typeof Buffer<"u",newBufferFrom:function(n,s){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(n,s);if(typeof n=="number")throw new Error('The "data" argument must not be a number');return new Buffer(n,s)},allocBuffer:function(n){if(Buffer.alloc)return Buffer.alloc(n);var s=new Buffer(n);return s.fill(0),s},isBuffer:function(n){return Buffer.isBuffer(n)},isStream:function(n){return n&&typeof n.on=="function"&&typeof n.pause=="function"&&typeof n.resume=="function"}}},{}],15:[function(e,t,i){"use strict";function n(P,U,Z){var ne,K=o.getTypeOf(U),oe=o.extend(Z||{},d);oe.date=oe.date||new Date,oe.compression!==null&&(oe.compression=oe.compression.toUpperCase()),typeof oe.unixPermissions=="string"&&(oe.unixPermissions=parseInt(oe.unixPermissions,8)),oe.unixPermissions&&16384&oe.unixPermissions&&(oe.dir=!0),oe.dosPermissions&&16&oe.dosPermissions&&(oe.dir=!0),oe.dir&&(P=R(P)),oe.createFolders&&(ne=T(P))&&b.call(this,ne,!0);var se=K==="string"&&oe.binary===!1&&oe.base64===!1;Z&&Z.binary!==void 0||(oe.binary=!se),(U instanceof h&&U.uncompressedSize===0||oe.dir||!U||U.length===0)&&(oe.base64=!1,oe.binary=!0,U="",oe.compression="STORE",K="string");var he=null;he=U instanceof h||U instanceof r?U:m.isNode&&m.isStream(U)?new y(P,U):o.prepareContent(P,U,oe.binary,oe.optimizedBinaryString,oe.base64);var Re=new p(P,he,oe);this.files[P]=Re}var s=e("./utf8"),o=e("./utils"),r=e("./stream/GenericWorker"),l=e("./stream/StreamHelper"),d=e("./defaults"),h=e("./compressedObject"),p=e("./zipObject"),I=e("./generate"),m=e("./nodejsUtils"),y=e("./nodejs/NodejsStreamInputAdapter"),T=function(P){P.slice(-1)==="/"&&(P=P.substring(0,P.length-1));var U=P.lastIndexOf("/");return 0<U?P.substring(0,U):""},R=function(P){return P.slice(-1)!=="/"&&(P+="/"),P},b=function(P,U){return U=U!==void 0?U:d.createFolders,P=R(P),this.files[P]||n.call(this,P,null,{dir:!0,createFolders:U}),this.files[P]};function A(P){return Object.prototype.toString.call(P)==="[object RegExp]"}var O={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(P){var U,Z,ne;for(U in this.files)ne=this.files[U],(Z=U.slice(this.root.length,U.length))&&U.slice(0,this.root.length)===this.root&&P(Z,ne)},filter:function(P){var U=[];return this.forEach(function(Z,ne){P(Z,ne)&&U.push(ne)}),U},file:function(P,U,Z){if(arguments.length!==1)return P=this.root+P,n.call(this,P,U,Z),this;if(A(P)){var ne=P;return this.filter(function(oe,se){return!se.dir&&ne.test(oe)})}var K=this.files[this.root+P];return K&&!K.dir?K:null},folder:function(P){if(!P)return this;if(A(P))return this.filter(function(K,oe){return oe.dir&&P.test(K)});var U=this.root+P,Z=b.call(this,U),ne=this.clone();return ne.root=Z.name,ne},remove:function(P){P=this.root+P;var U=this.files[P];if(U||(P.slice(-1)!=="/"&&(P+="/"),U=this.files[P]),U&&!U.dir)delete this.files[P];else for(var Z=this.filter(function(K,oe){return oe.name.slice(0,P.length)===P}),ne=0;ne<Z.length;ne++)delete this.files[Z[ne].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(P){var U,Z={};try{if((Z=o.extend(P||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:s.utf8encode})).type=Z.type.toLowerCase(),Z.compression=Z.compression.toUpperCase(),Z.type==="binarystring"&&(Z.type="string"),!Z.type)throw new Error("No output type specified.");o.checkSupport(Z.type),Z.platform!=="darwin"&&Z.platform!=="freebsd"&&Z.platform!=="linux"&&Z.platform!=="sunos"||(Z.platform="UNIX"),Z.platform==="win32"&&(Z.platform="DOS");var ne=Z.comment||this.comment||"";U=I.generateWorker(this,Z,ne)}catch(K){(U=new r("error")).error(K)}return new l(U,Z.type||"string",Z.mimeType)},generateAsync:function(P,U){return this.generateInternalStream(P).accumulate(U)},generateNodeStream:function(P,U){return(P=P||{}).type||(P.type="nodebuffer"),this.generateInternalStream(P).toNodejsStream(U)}};t.exports=O},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(e,t,i){"use strict";t.exports=e("stream")},{stream:void 0}],17:[function(e,t,i){"use strict";var n=e("./DataReader");function s(o){n.call(this,o);for(var r=0;r<this.data.length;r++)o[r]=255&o[r]}e("../utils").inherits(s,n),s.prototype.byteAt=function(o){return this.data[this.zero+o]},s.prototype.lastIndexOfSignature=function(o){for(var r=o.charCodeAt(0),l=o.charCodeAt(1),d=o.charCodeAt(2),h=o.charCodeAt(3),p=this.length-4;0<=p;--p)if(this.data[p]===r&&this.data[p+1]===l&&this.data[p+2]===d&&this.data[p+3]===h)return p-this.zero;return-1},s.prototype.readAndCheckSignature=function(o){var r=o.charCodeAt(0),l=o.charCodeAt(1),d=o.charCodeAt(2),h=o.charCodeAt(3),p=this.readData(4);return r===p[0]&&l===p[1]&&d===p[2]&&h===p[3]},s.prototype.readData=function(o){if(this.checkOffset(o),o===0)return[];var r=this.data.slice(this.zero+this.index,this.zero+this.index+o);return this.index+=o,r},t.exports=s},{"../utils":32,"./DataReader":18}],18:[function(e,t,i){"use strict";var n=e("../utils");function s(o){this.data=o,this.length=o.length,this.index=0,this.zero=0}s.prototype={checkOffset:function(o){this.checkIndex(this.index+o)},checkIndex:function(o){if(this.length<this.zero+o||o<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+o+"). Corrupted zip ?")},setIndex:function(o){this.checkIndex(o),this.index=o},skip:function(o){this.setIndex(this.index+o)},byteAt:function(){},readInt:function(o){var r,l=0;for(this.checkOffset(o),r=this.index+o-1;r>=this.index;r--)l=(l<<8)+this.byteAt(r);return this.index+=o,l},readString:function(o){return n.transformTo("string",this.readData(o))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var o=this.readInt(4);return new Date(Date.UTC(1980+(o>>25&127),(o>>21&15)-1,o>>16&31,o>>11&31,o>>5&63,(31&o)<<1))}},t.exports=s},{"../utils":32}],19:[function(e,t,i){"use strict";var n=e("./Uint8ArrayReader");function s(o){n.call(this,o)}e("../utils").inherits(s,n),s.prototype.readData=function(o){this.checkOffset(o);var r=this.data.slice(this.zero+this.index,this.zero+this.index+o);return this.index+=o,r},t.exports=s},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(e,t,i){"use strict";var n=e("./DataReader");function s(o){n.call(this,o)}e("../utils").inherits(s,n),s.prototype.byteAt=function(o){return this.data.charCodeAt(this.zero+o)},s.prototype.lastIndexOfSignature=function(o){return this.data.lastIndexOf(o)-this.zero},s.prototype.readAndCheckSignature=function(o){return o===this.readData(4)},s.prototype.readData=function(o){this.checkOffset(o);var r=this.data.slice(this.zero+this.index,this.zero+this.index+o);return this.index+=o,r},t.exports=s},{"../utils":32,"./DataReader":18}],21:[function(e,t,i){"use strict";var n=e("./ArrayReader");function s(o){n.call(this,o)}e("../utils").inherits(s,n),s.prototype.readData=function(o){if(this.checkOffset(o),o===0)return new Uint8Array(0);var r=this.data.subarray(this.zero+this.index,this.zero+this.index+o);return this.index+=o,r},t.exports=s},{"../utils":32,"./ArrayReader":17}],22:[function(e,t,i){"use strict";var n=e("../utils"),s=e("../support"),o=e("./ArrayReader"),r=e("./StringReader"),l=e("./NodeBufferReader"),d=e("./Uint8ArrayReader");t.exports=function(h){var p=n.getTypeOf(h);return n.checkSupport(p),p!=="string"||s.uint8array?p==="nodebuffer"?new l(h):s.uint8array?new d(n.transformTo("uint8array",h)):new o(n.transformTo("array",h)):new r(h)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(e,t,i){"use strict";i.LOCAL_FILE_HEADER="PK",i.CENTRAL_FILE_HEADER="PK",i.CENTRAL_DIRECTORY_END="PK",i.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",i.ZIP64_CENTRAL_DIRECTORY_END="PK",i.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(e,t,i){"use strict";var n=e("./GenericWorker"),s=e("../utils");function o(r){n.call(this,"ConvertWorker to "+r),this.destType=r}s.inherits(o,n),o.prototype.processChunk=function(r){this.push({data:s.transformTo(this.destType,r.data),meta:r.meta})},t.exports=o},{"../utils":32,"./GenericWorker":28}],25:[function(e,t,i){"use strict";var n=e("./GenericWorker"),s=e("../crc32");function o(){n.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}e("../utils").inherits(o,n),o.prototype.processChunk=function(r){this.streamInfo.crc32=s(r.data,this.streamInfo.crc32||0),this.push(r)},t.exports=o},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(e,t,i){"use strict";var n=e("../utils"),s=e("./GenericWorker");function o(r){s.call(this,"DataLengthProbe for "+r),this.propName=r,this.withStreamInfo(r,0)}n.inherits(o,s),o.prototype.processChunk=function(r){if(r){var l=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=l+r.data.length}s.prototype.processChunk.call(this,r)},t.exports=o},{"../utils":32,"./GenericWorker":28}],27:[function(e,t,i){"use strict";var n=e("../utils"),s=e("./GenericWorker");function o(r){s.call(this,"DataWorker");var l=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,r.then(function(d){l.dataIsReady=!0,l.data=d,l.max=d&&d.length||0,l.type=n.getTypeOf(d),l.isPaused||l._tickAndRepeat()},function(d){l.error(d)})}n.inherits(o,s),o.prototype.cleanUp=function(){s.prototype.cleanUp.call(this),this.data=null},o.prototype.resume=function(){return!!s.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,n.delay(this._tickAndRepeat,[],this)),!0)},o.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(n.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},o.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var r=null,l=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":r=this.data.substring(this.index,l);break;case"uint8array":r=this.data.subarray(this.index,l);break;case"array":case"nodebuffer":r=this.data.slice(this.index,l)}return this.index=l,this.push({data:r,meta:{percent:this.max?this.index/this.max*100:0}})},t.exports=o},{"../utils":32,"./GenericWorker":28}],28:[function(e,t,i){"use strict";function n(s){this.name=s||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}n.prototype={push:function(s){this.emit("data",s)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(s){this.emit("error",s)}return!0},error:function(s){return!this.isFinished&&(this.isPaused?this.generatedError=s:(this.isFinished=!0,this.emit("error",s),this.previous&&this.previous.error(s),this.cleanUp()),!0)},on:function(s,o){return this._listeners[s].push(o),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(s,o){if(this._listeners[s])for(var r=0;r<this._listeners[s].length;r++)this._listeners[s][r].call(this,o)},pipe:function(s){return s.registerPrevious(this)},registerPrevious:function(s){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=s.streamInfo,this.mergeStreamInfo(),this.previous=s;var o=this;return s.on("data",function(r){o.processChunk(r)}),s.on("end",function(){o.end()}),s.on("error",function(r){o.error(r)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var s=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),s=!0),this.previous&&this.previous.resume(),!s},flush:function(){},processChunk:function(s){this.push(s)},withStreamInfo:function(s,o){return this.extraStreamInfo[s]=o,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var s in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,s)&&(this.streamInfo[s]=this.extraStreamInfo[s])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var s="Worker "+this.name;return this.previous?this.previous+" -> "+s:s}},t.exports=n},{}],29:[function(e,t,i){"use strict";var n=e("../utils"),s=e("./ConvertWorker"),o=e("./GenericWorker"),r=e("../base64"),l=e("../support"),d=e("../external"),h=null;if(l.nodestream)try{h=e("../nodejs/NodejsStreamOutputAdapter")}catch{}function p(m,y){return new d.Promise(function(T,R){var b=[],A=m._internalType,O=m._outputType,P=m._mimeType;m.on("data",function(U,Z){b.push(U),y&&y(Z)}).on("error",function(U){b=[],R(U)}).on("end",function(){try{var U=(function(Z,ne,K){switch(Z){case"blob":return n.newBlob(n.transformTo("arraybuffer",ne),K);case"base64":return r.encode(ne);default:return n.transformTo(Z,ne)}})(O,(function(Z,ne){var K,oe=0,se=null,he=0;for(K=0;K<ne.length;K++)he+=ne[K].length;switch(Z){case"string":return ne.join("");case"array":return Array.prototype.concat.apply([],ne);case"uint8array":for(se=new Uint8Array(he),K=0;K<ne.length;K++)se.set(ne[K],oe),oe+=ne[K].length;return se;case"nodebuffer":return Buffer.concat(ne);default:throw new Error("concat : unsupported type '"+Z+"'")}})(A,b),P);T(U)}catch(Z){R(Z)}b=[]}).resume()})}function I(m,y,T){var R=y;switch(y){case"blob":case"arraybuffer":R="uint8array";break;case"base64":R="string"}try{this._internalType=R,this._outputType=y,this._mimeType=T,n.checkSupport(R),this._worker=m.pipe(new s(R)),m.lock()}catch(b){this._worker=new o("error"),this._worker.error(b)}}I.prototype={accumulate:function(m){return p(this,m)},on:function(m,y){var T=this;return m==="data"?this._worker.on(m,function(R){y.call(T,R.data,R.meta)}):this._worker.on(m,function(){n.delay(y,arguments,T)}),this},resume:function(){return n.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(m){if(n.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new h(this,{objectMode:this._outputType!=="nodebuffer"},m)}},t.exports=I},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(e,t,i){"use strict";if(i.base64=!0,i.array=!0,i.string=!0,i.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",i.nodebuffer=typeof Buffer<"u",i.uint8array=typeof Uint8Array<"u",typeof ArrayBuffer>"u")i.blob=!1;else{var n=new ArrayBuffer(0);try{i.blob=new Blob([n],{type:"application/zip"}).size===0}catch{try{var s=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);s.append(n),i.blob=s.getBlob("application/zip").size===0}catch{i.blob=!1}}}try{i.nodestream=!!e("readable-stream").Readable}catch{i.nodestream=!1}},{"readable-stream":16}],31:[function(e,t,i){"use strict";for(var n=e("./utils"),s=e("./support"),o=e("./nodejsUtils"),r=e("./stream/GenericWorker"),l=new Array(256),d=0;d<256;d++)l[d]=252<=d?6:248<=d?5:240<=d?4:224<=d?3:192<=d?2:1;l[254]=l[254]=1;function h(){r.call(this,"utf-8 decode"),this.leftOver=null}function p(){r.call(this,"utf-8 encode")}i.utf8encode=function(I){return s.nodebuffer?o.newBufferFrom(I,"utf-8"):(function(m){var y,T,R,b,A,O=m.length,P=0;for(b=0;b<O;b++)(64512&(T=m.charCodeAt(b)))==55296&&b+1<O&&(64512&(R=m.charCodeAt(b+1)))==56320&&(T=65536+(T-55296<<10)+(R-56320),b++),P+=T<128?1:T<2048?2:T<65536?3:4;for(y=s.uint8array?new Uint8Array(P):new Array(P),b=A=0;A<P;b++)(64512&(T=m.charCodeAt(b)))==55296&&b+1<O&&(64512&(R=m.charCodeAt(b+1)))==56320&&(T=65536+(T-55296<<10)+(R-56320),b++),T<128?y[A++]=T:(T<2048?y[A++]=192|T>>>6:(T<65536?y[A++]=224|T>>>12:(y[A++]=240|T>>>18,y[A++]=128|T>>>12&63),y[A++]=128|T>>>6&63),y[A++]=128|63&T);return y})(I)},i.utf8decode=function(I){return s.nodebuffer?n.transformTo("nodebuffer",I).toString("utf-8"):(function(m){var y,T,R,b,A=m.length,O=new Array(2*A);for(y=T=0;y<A;)if((R=m[y++])<128)O[T++]=R;else if(4<(b=l[R]))O[T++]=65533,y+=b-1;else{for(R&=b===2?31:b===3?15:7;1<b&&y<A;)R=R<<6|63&m[y++],b--;1<b?O[T++]=65533:R<65536?O[T++]=R:(R-=65536,O[T++]=55296|R>>10&1023,O[T++]=56320|1023&R)}return O.length!==T&&(O.subarray?O=O.subarray(0,T):O.length=T),n.applyFromCharCode(O)})(I=n.transformTo(s.uint8array?"uint8array":"array",I))},n.inherits(h,r),h.prototype.processChunk=function(I){var m=n.transformTo(s.uint8array?"uint8array":"array",I.data);if(this.leftOver&&this.leftOver.length){if(s.uint8array){var y=m;(m=new Uint8Array(y.length+this.leftOver.length)).set(this.leftOver,0),m.set(y,this.leftOver.length)}else m=this.leftOver.concat(m);this.leftOver=null}var T=(function(b,A){var O;for((A=A||b.length)>b.length&&(A=b.length),O=A-1;0<=O&&(192&b[O])==128;)O--;return O<0||O===0?A:O+l[b[O]]>A?O:A})(m),R=m;T!==m.length&&(s.uint8array?(R=m.subarray(0,T),this.leftOver=m.subarray(T,m.length)):(R=m.slice(0,T),this.leftOver=m.slice(T,m.length))),this.push({data:i.utf8decode(R),meta:I.meta})},h.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:i.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},i.Utf8DecodeWorker=h,n.inherits(p,r),p.prototype.processChunk=function(I){this.push({data:i.utf8encode(I.data),meta:I.meta})},i.Utf8EncodeWorker=p},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(e,t,i){"use strict";var n=e("./support"),s=e("./base64"),o=e("./nodejsUtils"),r=e("./external");function l(y){return y}function d(y,T){for(var R=0;R<y.length;++R)T[R]=255&y.charCodeAt(R);return T}e("setimmediate"),i.newBlob=function(y,T){i.checkSupport("blob");try{return new Blob([y],{type:T})}catch{try{var R=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return R.append(y),R.getBlob(T)}catch{throw new Error("Bug : can't construct the Blob.")}}};var h={stringifyByChunk:function(y,T,R){var b=[],A=0,O=y.length;if(O<=R)return String.fromCharCode.apply(null,y);for(;A<O;)T==="array"||T==="nodebuffer"?b.push(String.fromCharCode.apply(null,y.slice(A,Math.min(A+R,O)))):b.push(String.fromCharCode.apply(null,y.subarray(A,Math.min(A+R,O)))),A+=R;return b.join("")},stringifyByChar:function(y){for(var T="",R=0;R<y.length;R++)T+=String.fromCharCode(y[R]);return T},applyCanBeUsed:{uint8array:(function(){try{return n.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch{return!1}})(),nodebuffer:(function(){try{return n.nodebuffer&&String.fromCharCode.apply(null,o.allocBuffer(1)).length===1}catch{return!1}})()}};function p(y){var T=65536,R=i.getTypeOf(y),b=!0;if(R==="uint8array"?b=h.applyCanBeUsed.uint8array:R==="nodebuffer"&&(b=h.applyCanBeUsed.nodebuffer),b)for(;1<T;)try{return h.stringifyByChunk(y,R,T)}catch{T=Math.floor(T/2)}return h.stringifyByChar(y)}function I(y,T){for(var R=0;R<y.length;R++)T[R]=y[R];return T}i.applyFromCharCode=p;var m={};m.string={string:l,array:function(y){return d(y,new Array(y.length))},arraybuffer:function(y){return m.string.uint8array(y).buffer},uint8array:function(y){return d(y,new Uint8Array(y.length))},nodebuffer:function(y){return d(y,o.allocBuffer(y.length))}},m.array={string:p,array:l,arraybuffer:function(y){return new Uint8Array(y).buffer},uint8array:function(y){return new Uint8Array(y)},nodebuffer:function(y){return o.newBufferFrom(y)}},m.arraybuffer={string:function(y){return p(new Uint8Array(y))},array:function(y){return I(new Uint8Array(y),new Array(y.byteLength))},arraybuffer:l,uint8array:function(y){return new Uint8Array(y)},nodebuffer:function(y){return o.newBufferFrom(new Uint8Array(y))}},m.uint8array={string:p,array:function(y){return I(y,new Array(y.length))},arraybuffer:function(y){return y.buffer},uint8array:l,nodebuffer:function(y){return o.newBufferFrom(y)}},m.nodebuffer={string:p,array:function(y){return I(y,new Array(y.length))},arraybuffer:function(y){return m.nodebuffer.uint8array(y).buffer},uint8array:function(y){return I(y,new Uint8Array(y.length))},nodebuffer:l},i.transformTo=function(y,T){if(T=T||"",!y)return T;i.checkSupport(y);var R=i.getTypeOf(T);return m[R][y](T)},i.resolve=function(y){for(var T=y.split("/"),R=[],b=0;b<T.length;b++){var A=T[b];A==="."||A===""&&b!==0&&b!==T.length-1||(A===".."?R.pop():R.push(A))}return R.join("/")},i.getTypeOf=function(y){return typeof y=="string"?"string":Object.prototype.toString.call(y)==="[object Array]"?"array":n.nodebuffer&&o.isBuffer(y)?"nodebuffer":n.uint8array&&y instanceof Uint8Array?"uint8array":n.arraybuffer&&y instanceof ArrayBuffer?"arraybuffer":void 0},i.checkSupport=function(y){if(!n[y.toLowerCase()])throw new Error(y+" is not supported by this platform")},i.MAX_VALUE_16BITS=65535,i.MAX_VALUE_32BITS=-1,i.pretty=function(y){var T,R,b="";for(R=0;R<(y||"").length;R++)b+="\\x"+((T=y.charCodeAt(R))<16?"0":"")+T.toString(16).toUpperCase();return b},i.delay=function(y,T,R){setImmediate(function(){y.apply(R||null,T||[])})},i.inherits=function(y,T){function R(){}R.prototype=T.prototype,y.prototype=new R},i.extend=function(){var y,T,R={};for(y=0;y<arguments.length;y++)for(T in arguments[y])Object.prototype.hasOwnProperty.call(arguments[y],T)&&R[T]===void 0&&(R[T]=arguments[y][T]);return R},i.prepareContent=function(y,T,R,b,A){return r.Promise.resolve(T).then(function(O){return n.blob&&(O instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(O))!==-1)&&typeof FileReader<"u"?new r.Promise(function(P,U){var Z=new FileReader;Z.onload=function(ne){P(ne.target.result)},Z.onerror=function(ne){U(ne.target.error)},Z.readAsArrayBuffer(O)}):O}).then(function(O){var P=i.getTypeOf(O);return P?(P==="arraybuffer"?O=i.transformTo("uint8array",O):P==="string"&&(A?O=s.decode(O):R&&b!==!0&&(O=(function(U){return d(U,n.uint8array?new Uint8Array(U.length):new Array(U.length))})(O))),O):r.Promise.reject(new Error("Can't read the data of '"+y+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(e,t,i){"use strict";var n=e("./reader/readerFor"),s=e("./utils"),o=e("./signature"),r=e("./zipEntry"),l=e("./support");function d(h){this.files=[],this.loadOptions=h}d.prototype={checkSignature:function(h){if(!this.reader.readAndCheckSignature(h)){this.reader.index-=4;var p=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+s.pretty(p)+", expected "+s.pretty(h)+")")}},isSignature:function(h,p){var I=this.reader.index;this.reader.setIndex(h);var m=this.reader.readString(4)===p;return this.reader.setIndex(I),m},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var h=this.reader.readData(this.zipCommentLength),p=l.uint8array?"uint8array":"array",I=s.transformTo(p,h);this.zipComment=this.loadOptions.decodeFileName(I)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var h,p,I,m=this.zip64EndOfCentralSize-44;0<m;)h=this.reader.readInt(2),p=this.reader.readInt(4),I=this.reader.readData(p),this.zip64ExtensibleData[h]={id:h,length:p,value:I}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var h,p;for(h=0;h<this.files.length;h++)p=this.files[h],this.reader.setIndex(p.localHeaderOffset),this.checkSignature(o.LOCAL_FILE_HEADER),p.readLocalPart(this.reader),p.handleUTF8(),p.processAttributes()},readCentralDir:function(){var h;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(o.CENTRAL_FILE_HEADER);)(h=new r({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(h);if(this.centralDirRecords!==this.files.length&&this.centralDirRecords!==0&&this.files.length===0)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var h=this.reader.lastIndexOfSignature(o.CENTRAL_DIRECTORY_END);if(h<0)throw this.isSignature(0,o.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(h);var p=h;if(this.checkSignature(o.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===s.MAX_VALUE_16BITS||this.diskWithCentralDirStart===s.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===s.MAX_VALUE_16BITS||this.centralDirRecords===s.MAX_VALUE_16BITS||this.centralDirSize===s.MAX_VALUE_32BITS||this.centralDirOffset===s.MAX_VALUE_32BITS){if(this.zip64=!0,(h=this.reader.lastIndexOfSignature(o.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(h),this.checkSignature(o.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,o.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(o.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(o.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var I=this.centralDirOffset+this.centralDirSize;this.zip64&&(I+=20,I+=12+this.zip64EndOfCentralSize);var m=p-I;if(0<m)this.isSignature(p,o.CENTRAL_FILE_HEADER)||(this.reader.zero=m);else if(m<0)throw new Error("Corrupted zip: missing "+Math.abs(m)+" bytes.")},prepareReader:function(h){this.reader=n(h)},load:function(h){this.prepareReader(h),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},t.exports=d},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(e,t,i){"use strict";var n=e("./reader/readerFor"),s=e("./utils"),o=e("./compressedObject"),r=e("./crc32"),l=e("./utf8"),d=e("./compressions"),h=e("./support");function p(I,m){this.options=I,this.loadOptions=m}p.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(I){var m,y;if(I.skip(22),this.fileNameLength=I.readInt(2),y=I.readInt(2),this.fileName=I.readData(this.fileNameLength),I.skip(y),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if((m=(function(T){for(var R in d)if(Object.prototype.hasOwnProperty.call(d,R)&&d[R].magic===T)return d[R];return null})(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+s.pretty(this.compressionMethod)+" unknown (inner file : "+s.transformTo("string",this.fileName)+")");this.decompressed=new o(this.compressedSize,this.uncompressedSize,this.crc32,m,I.readData(this.compressedSize))},readCentralPart:function(I){this.versionMadeBy=I.readInt(2),I.skip(2),this.bitFlag=I.readInt(2),this.compressionMethod=I.readString(2),this.date=I.readDate(),this.crc32=I.readInt(4),this.compressedSize=I.readInt(4),this.uncompressedSize=I.readInt(4);var m=I.readInt(2);if(this.extraFieldsLength=I.readInt(2),this.fileCommentLength=I.readInt(2),this.diskNumberStart=I.readInt(2),this.internalFileAttributes=I.readInt(2),this.externalFileAttributes=I.readInt(4),this.localHeaderOffset=I.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");I.skip(m),this.readExtraFields(I),this.parseZIP64ExtraField(I),this.fileComment=I.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var I=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),I==0&&(this.dosPermissions=63&this.externalFileAttributes),I==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var I=n(this.extraFields[1].value);this.uncompressedSize===s.MAX_VALUE_32BITS&&(this.uncompressedSize=I.readInt(8)),this.compressedSize===s.MAX_VALUE_32BITS&&(this.compressedSize=I.readInt(8)),this.localHeaderOffset===s.MAX_VALUE_32BITS&&(this.localHeaderOffset=I.readInt(8)),this.diskNumberStart===s.MAX_VALUE_32BITS&&(this.diskNumberStart=I.readInt(4))}},readExtraFields:function(I){var m,y,T,R=I.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});I.index+4<R;)m=I.readInt(2),y=I.readInt(2),T=I.readData(y),this.extraFields[m]={id:m,length:y,value:T};I.setIndex(R)},handleUTF8:function(){var I=h.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=l.utf8decode(this.fileName),this.fileCommentStr=l.utf8decode(this.fileComment);else{var m=this.findExtraFieldUnicodePath();if(m!==null)this.fileNameStr=m;else{var y=s.transformTo(I,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(y)}var T=this.findExtraFieldUnicodeComment();if(T!==null)this.fileCommentStr=T;else{var R=s.transformTo(I,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(R)}}},findExtraFieldUnicodePath:function(){var I=this.extraFields[28789];if(I){var m=n(I.value);return m.readInt(1)!==1||r(this.fileName)!==m.readInt(4)?null:l.utf8decode(m.readData(I.length-5))}return null},findExtraFieldUnicodeComment:function(){var I=this.extraFields[25461];if(I){var m=n(I.value);return m.readInt(1)!==1||r(this.fileComment)!==m.readInt(4)?null:l.utf8decode(m.readData(I.length-5))}return null}},t.exports=p},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(e,t,i){"use strict";function n(m,y,T){this.name=m,this.dir=T.dir,this.date=T.date,this.comment=T.comment,this.unixPermissions=T.unixPermissions,this.dosPermissions=T.dosPermissions,this._data=y,this._dataBinary=T.binary,this.options={compression:T.compression,compressionOptions:T.compressionOptions}}var s=e("./stream/StreamHelper"),o=e("./stream/DataWorker"),r=e("./utf8"),l=e("./compressedObject"),d=e("./stream/GenericWorker");n.prototype={internalStream:function(m){var y=null,T="string";try{if(!m)throw new Error("No output type specified.");var R=(T=m.toLowerCase())==="string"||T==="text";T!=="binarystring"&&T!=="text"||(T="string"),y=this._decompressWorker();var b=!this._dataBinary;b&&!R&&(y=y.pipe(new r.Utf8EncodeWorker)),!b&&R&&(y=y.pipe(new r.Utf8DecodeWorker))}catch(A){(y=new d("error")).error(A)}return new s(y,T,"")},async:function(m,y){return this.internalStream(m).accumulate(y)},nodeStream:function(m,y){return this.internalStream(m||"nodebuffer").toNodejsStream(y)},_compressWorker:function(m,y){if(this._data instanceof l&&this._data.compression.magic===m.magic)return this._data.getCompressedWorker();var T=this._decompressWorker();return this._dataBinary||(T=T.pipe(new r.Utf8EncodeWorker)),l.createWorkerFrom(T,m,y)},_decompressWorker:function(){return this._data instanceof l?this._data.getContentWorker():this._data instanceof d?this._data:new o(this._data)}};for(var h=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],p=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},I=0;I<h.length;I++)n.prototype[h[I]]=p;t.exports=n},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(e,t,i){(function(n){"use strict";var s,o,r=n.MutationObserver||n.WebKitMutationObserver;if(r){var l=0,d=new r(m),h=n.document.createTextNode("");d.observe(h,{characterData:!0}),s=function(){h.data=l=++l%2}}else if(n.setImmediate||n.MessageChannel===void 0)s="document"in n&&"onreadystatechange"in n.document.createElement("script")?function(){var y=n.document.createElement("script");y.onreadystatechange=function(){m(),y.onreadystatechange=null,y.parentNode.removeChild(y),y=null},n.document.documentElement.appendChild(y)}:function(){setTimeout(m,0)};else{var p=new n.MessageChannel;p.port1.onmessage=m,s=function(){p.port2.postMessage(0)}}var I=[];function m(){var y,T;o=!0;for(var R=I.length;R;){for(T=I,I=[],y=-1;++y<R;)T[y]();R=I.length}o=!1}t.exports=function(y){I.push(y)!==1||o||s()}}).call(this,typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{}],37:[function(e,t,i){"use strict";var n=e("immediate");function s(){}var o={},r=["REJECTED"],l=["FULFILLED"],d=["PENDING"];function h(R){if(typeof R!="function")throw new TypeError("resolver must be a function");this.state=d,this.queue=[],this.outcome=void 0,R!==s&&y(this,R)}function p(R,b,A){this.promise=R,typeof b=="function"&&(this.onFulfilled=b,this.callFulfilled=this.otherCallFulfilled),typeof A=="function"&&(this.onRejected=A,this.callRejected=this.otherCallRejected)}function I(R,b,A){n(function(){var O;try{O=b(A)}catch(P){return o.reject(R,P)}O===R?o.reject(R,new TypeError("Cannot resolve promise with itself")):o.resolve(R,O)})}function m(R){var b=R&&R.then;if(R&&(typeof R=="object"||typeof R=="function")&&typeof b=="function")return function(){b.apply(R,arguments)}}function y(R,b){var A=!1;function O(Z){A||(A=!0,o.reject(R,Z))}function P(Z){A||(A=!0,o.resolve(R,Z))}var U=T(function(){b(P,O)});U.status==="error"&&O(U.value)}function T(R,b){var A={};try{A.value=R(b),A.status="success"}catch(O){A.status="error",A.value=O}return A}(t.exports=h).prototype.finally=function(R){if(typeof R!="function")return this;var b=this.constructor;return this.then(function(A){return b.resolve(R()).then(function(){return A})},function(A){return b.resolve(R()).then(function(){throw A})})},h.prototype.catch=function(R){return this.then(null,R)},h.prototype.then=function(R,b){if(typeof R!="function"&&this.state===l||typeof b!="function"&&this.state===r)return this;var A=new this.constructor(s);return this.state!==d?I(A,this.state===l?R:b,this.outcome):this.queue.push(new p(A,R,b)),A},p.prototype.callFulfilled=function(R){o.resolve(this.promise,R)},p.prototype.otherCallFulfilled=function(R){I(this.promise,this.onFulfilled,R)},p.prototype.callRejected=function(R){o.reject(this.promise,R)},p.prototype.otherCallRejected=function(R){I(this.promise,this.onRejected,R)},o.resolve=function(R,b){var A=T(m,b);if(A.status==="error")return o.reject(R,A.value);var O=A.value;if(O)y(R,O);else{R.state=l,R.outcome=b;for(var P=-1,U=R.queue.length;++P<U;)R.queue[P].callFulfilled(b)}return R},o.reject=function(R,b){R.state=r,R.outcome=b;for(var A=-1,O=R.queue.length;++A<O;)R.queue[A].callRejected(b);return R},h.resolve=function(R){return R instanceof this?R:o.resolve(new this(s),R)},h.reject=function(R){var b=new this(s);return o.reject(b,R)},h.all=function(R){var b=this;if(Object.prototype.toString.call(R)!=="[object Array]")return this.reject(new TypeError("must be an array"));var A=R.length,O=!1;if(!A)return this.resolve([]);for(var P=new Array(A),U=0,Z=-1,ne=new this(s);++Z<A;)K(R[Z],Z);return ne;function K(oe,se){b.resolve(oe).then(function(he){P[se]=he,++U!==A||O||(O=!0,o.resolve(ne,P))},function(he){O||(O=!0,o.reject(ne,he))})}},h.race=function(R){var b=this;if(Object.prototype.toString.call(R)!=="[object Array]")return this.reject(new TypeError("must be an array"));var A=R.length,O=!1;if(!A)return this.resolve([]);for(var P=-1,U=new this(s);++P<A;)Z=R[P],b.resolve(Z).then(function(ne){O||(O=!0,o.resolve(U,ne))},function(ne){O||(O=!0,o.reject(U,ne))});var Z;return U}},{immediate:36}],38:[function(e,t,i){"use strict";var n={};(0,e("./lib/utils/common").assign)(n,e("./lib/deflate"),e("./lib/inflate"),e("./lib/zlib/constants")),t.exports=n},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(e,t,i){"use strict";var n=e("./zlib/deflate"),s=e("./utils/common"),o=e("./utils/strings"),r=e("./zlib/messages"),l=e("./zlib/zstream"),d=Object.prototype.toString,h=0,p=-1,I=0,m=8;function y(R){if(!(this instanceof y))return new y(R);this.options=s.assign({level:p,method:m,chunkSize:16384,windowBits:15,memLevel:8,strategy:I,to:""},R||{});var b=this.options;b.raw&&0<b.windowBits?b.windowBits=-b.windowBits:b.gzip&&0<b.windowBits&&b.windowBits<16&&(b.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new l,this.strm.avail_out=0;var A=n.deflateInit2(this.strm,b.level,b.method,b.windowBits,b.memLevel,b.strategy);if(A!==h)throw new Error(r[A]);if(b.header&&n.deflateSetHeader(this.strm,b.header),b.dictionary){var O;if(O=typeof b.dictionary=="string"?o.string2buf(b.dictionary):d.call(b.dictionary)==="[object ArrayBuffer]"?new Uint8Array(b.dictionary):b.dictionary,(A=n.deflateSetDictionary(this.strm,O))!==h)throw new Error(r[A]);this._dict_set=!0}}function T(R,b){var A=new y(b);if(A.push(R,!0),A.err)throw A.msg||r[A.err];return A.result}y.prototype.push=function(R,b){var A,O,P=this.strm,U=this.options.chunkSize;if(this.ended)return!1;O=b===~~b?b:b===!0?4:0,typeof R=="string"?P.input=o.string2buf(R):d.call(R)==="[object ArrayBuffer]"?P.input=new Uint8Array(R):P.input=R,P.next_in=0,P.avail_in=P.input.length;do{if(P.avail_out===0&&(P.output=new s.Buf8(U),P.next_out=0,P.avail_out=U),(A=n.deflate(P,O))!==1&&A!==h)return this.onEnd(A),!(this.ended=!0);P.avail_out!==0&&(P.avail_in!==0||O!==4&&O!==2)||(this.options.to==="string"?this.onData(o.buf2binstring(s.shrinkBuf(P.output,P.next_out))):this.onData(s.shrinkBuf(P.output,P.next_out)))}while((0<P.avail_in||P.avail_out===0)&&A!==1);return O===4?(A=n.deflateEnd(this.strm),this.onEnd(A),this.ended=!0,A===h):O!==2||(this.onEnd(h),!(P.avail_out=0))},y.prototype.onData=function(R){this.chunks.push(R)},y.prototype.onEnd=function(R){R===h&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=s.flattenChunks(this.chunks)),this.chunks=[],this.err=R,this.msg=this.strm.msg},i.Deflate=y,i.deflate=T,i.deflateRaw=function(R,b){return(b=b||{}).raw=!0,T(R,b)},i.gzip=function(R,b){return(b=b||{}).gzip=!0,T(R,b)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(e,t,i){"use strict";var n=e("./zlib/inflate"),s=e("./utils/common"),o=e("./utils/strings"),r=e("./zlib/constants"),l=e("./zlib/messages"),d=e("./zlib/zstream"),h=e("./zlib/gzheader"),p=Object.prototype.toString;function I(y){if(!(this instanceof I))return new I(y);this.options=s.assign({chunkSize:16384,windowBits:0,to:""},y||{});var T=this.options;T.raw&&0<=T.windowBits&&T.windowBits<16&&(T.windowBits=-T.windowBits,T.windowBits===0&&(T.windowBits=-15)),!(0<=T.windowBits&&T.windowBits<16)||y&&y.windowBits||(T.windowBits+=32),15<T.windowBits&&T.windowBits<48&&(15&T.windowBits)==0&&(T.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new d,this.strm.avail_out=0;var R=n.inflateInit2(this.strm,T.windowBits);if(R!==r.Z_OK)throw new Error(l[R]);this.header=new h,n.inflateGetHeader(this.strm,this.header)}function m(y,T){var R=new I(T);if(R.push(y,!0),R.err)throw R.msg||l[R.err];return R.result}I.prototype.push=function(y,T){var R,b,A,O,P,U,Z=this.strm,ne=this.options.chunkSize,K=this.options.dictionary,oe=!1;if(this.ended)return!1;b=T===~~T?T:T===!0?r.Z_FINISH:r.Z_NO_FLUSH,typeof y=="string"?Z.input=o.binstring2buf(y):p.call(y)==="[object ArrayBuffer]"?Z.input=new Uint8Array(y):Z.input=y,Z.next_in=0,Z.avail_in=Z.input.length;do{if(Z.avail_out===0&&(Z.output=new s.Buf8(ne),Z.next_out=0,Z.avail_out=ne),(R=n.inflate(Z,r.Z_NO_FLUSH))===r.Z_NEED_DICT&&K&&(U=typeof K=="string"?o.string2buf(K):p.call(K)==="[object ArrayBuffer]"?new Uint8Array(K):K,R=n.inflateSetDictionary(this.strm,U)),R===r.Z_BUF_ERROR&&oe===!0&&(R=r.Z_OK,oe=!1),R!==r.Z_STREAM_END&&R!==r.Z_OK)return this.onEnd(R),!(this.ended=!0);Z.next_out&&(Z.avail_out!==0&&R!==r.Z_STREAM_END&&(Z.avail_in!==0||b!==r.Z_FINISH&&b!==r.Z_SYNC_FLUSH)||(this.options.to==="string"?(A=o.utf8border(Z.output,Z.next_out),O=Z.next_out-A,P=o.buf2string(Z.output,A),Z.next_out=O,Z.avail_out=ne-O,O&&s.arraySet(Z.output,Z.output,A,O,0),this.onData(P)):this.onData(s.shrinkBuf(Z.output,Z.next_out)))),Z.avail_in===0&&Z.avail_out===0&&(oe=!0)}while((0<Z.avail_in||Z.avail_out===0)&&R!==r.Z_STREAM_END);return R===r.Z_STREAM_END&&(b=r.Z_FINISH),b===r.Z_FINISH?(R=n.inflateEnd(this.strm),this.onEnd(R),this.ended=!0,R===r.Z_OK):b!==r.Z_SYNC_FLUSH||(this.onEnd(r.Z_OK),!(Z.avail_out=0))},I.prototype.onData=function(y){this.chunks.push(y)},I.prototype.onEnd=function(y){y===r.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=s.flattenChunks(this.chunks)),this.chunks=[],this.err=y,this.msg=this.strm.msg},i.Inflate=I,i.inflate=m,i.inflateRaw=function(y,T){return(T=T||{}).raw=!0,m(y,T)},i.ungzip=m},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(e,t,i){"use strict";var n=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";i.assign=function(r){for(var l=Array.prototype.slice.call(arguments,1);l.length;){var d=l.shift();if(d){if(typeof d!="object")throw new TypeError(d+"must be non-object");for(var h in d)d.hasOwnProperty(h)&&(r[h]=d[h])}}return r},i.shrinkBuf=function(r,l){return r.length===l?r:r.subarray?r.subarray(0,l):(r.length=l,r)};var s={arraySet:function(r,l,d,h,p){if(l.subarray&&r.subarray)r.set(l.subarray(d,d+h),p);else for(var I=0;I<h;I++)r[p+I]=l[d+I]},flattenChunks:function(r){var l,d,h,p,I,m;for(l=h=0,d=r.length;l<d;l++)h+=r[l].length;for(m=new Uint8Array(h),l=p=0,d=r.length;l<d;l++)I=r[l],m.set(I,p),p+=I.length;return m}},o={arraySet:function(r,l,d,h,p){for(var I=0;I<h;I++)r[p+I]=l[d+I]},flattenChunks:function(r){return[].concat.apply([],r)}};i.setTyped=function(r){r?(i.Buf8=Uint8Array,i.Buf16=Uint16Array,i.Buf32=Int32Array,i.assign(i,s)):(i.Buf8=Array,i.Buf16=Array,i.Buf32=Array,i.assign(i,o))},i.setTyped(n)},{}],42:[function(e,t,i){"use strict";var n=e("./common"),s=!0,o=!0;try{String.fromCharCode.apply(null,[0])}catch{s=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{o=!1}for(var r=new n.Buf8(256),l=0;l<256;l++)r[l]=252<=l?6:248<=l?5:240<=l?4:224<=l?3:192<=l?2:1;function d(h,p){if(p<65537&&(h.subarray&&o||!h.subarray&&s))return String.fromCharCode.apply(null,n.shrinkBuf(h,p));for(var I="",m=0;m<p;m++)I+=String.fromCharCode(h[m]);return I}r[254]=r[254]=1,i.string2buf=function(h){var p,I,m,y,T,R=h.length,b=0;for(y=0;y<R;y++)(64512&(I=h.charCodeAt(y)))==55296&&y+1<R&&(64512&(m=h.charCodeAt(y+1)))==56320&&(I=65536+(I-55296<<10)+(m-56320),y++),b+=I<128?1:I<2048?2:I<65536?3:4;for(p=new n.Buf8(b),y=T=0;T<b;y++)(64512&(I=h.charCodeAt(y)))==55296&&y+1<R&&(64512&(m=h.charCodeAt(y+1)))==56320&&(I=65536+(I-55296<<10)+(m-56320),y++),I<128?p[T++]=I:(I<2048?p[T++]=192|I>>>6:(I<65536?p[T++]=224|I>>>12:(p[T++]=240|I>>>18,p[T++]=128|I>>>12&63),p[T++]=128|I>>>6&63),p[T++]=128|63&I);return p},i.buf2binstring=function(h){return d(h,h.length)},i.binstring2buf=function(h){for(var p=new n.Buf8(h.length),I=0,m=p.length;I<m;I++)p[I]=h.charCodeAt(I);return p},i.buf2string=function(h,p){var I,m,y,T,R=p||h.length,b=new Array(2*R);for(I=m=0;I<R;)if((y=h[I++])<128)b[m++]=y;else if(4<(T=r[y]))b[m++]=65533,I+=T-1;else{for(y&=T===2?31:T===3?15:7;1<T&&I<R;)y=y<<6|63&h[I++],T--;1<T?b[m++]=65533:y<65536?b[m++]=y:(y-=65536,b[m++]=55296|y>>10&1023,b[m++]=56320|1023&y)}return d(b,m)},i.utf8border=function(h,p){var I;for((p=p||h.length)>h.length&&(p=h.length),I=p-1;0<=I&&(192&h[I])==128;)I--;return I<0||I===0?p:I+r[h[I]]>p?I:p}},{"./common":41}],43:[function(e,t,i){"use strict";t.exports=function(n,s,o,r){for(var l=65535&n|0,d=n>>>16&65535|0,h=0;o!==0;){for(o-=h=2e3<o?2e3:o;d=d+(l=l+s[r++]|0)|0,--h;);l%=65521,d%=65521}return l|d<<16|0}},{}],44:[function(e,t,i){"use strict";t.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(e,t,i){"use strict";var n=(function(){for(var s,o=[],r=0;r<256;r++){s=r;for(var l=0;l<8;l++)s=1&s?3988292384^s>>>1:s>>>1;o[r]=s}return o})();t.exports=function(s,o,r,l){var d=n,h=l+r;s^=-1;for(var p=l;p<h;p++)s=s>>>8^d[255&(s^o[p])];return-1^s}},{}],46:[function(e,t,i){"use strict";var n,s=e("../utils/common"),o=e("./trees"),r=e("./adler32"),l=e("./crc32"),d=e("./messages"),h=0,p=4,I=0,m=-2,y=-1,T=4,R=2,b=8,A=9,O=286,P=30,U=19,Z=2*O+1,ne=15,K=3,oe=258,se=oe+K+1,he=42,Re=113,ee=1,Ae=2,Ee=3,Ce=4;function Qe(Oe,Ft){return Oe.msg=d[Ft],Ft}function qe(Oe){return(Oe<<1)-(4<Oe?9:0)}function St(Oe){for(var Ft=Oe.length;0<=--Ft;)Oe[Ft]=0}function $e(Oe){var Ft=Oe.state,ge=Ft.pending;ge>Oe.avail_out&&(ge=Oe.avail_out),ge!==0&&(s.arraySet(Oe.output,Ft.pending_buf,Ft.pending_out,ge,Oe.next_out),Oe.next_out+=ge,Ft.pending_out+=ge,Oe.total_out+=ge,Oe.avail_out-=ge,Ft.pending-=ge,Ft.pending===0&&(Ft.pending_out=0))}function ke(Oe,Ft){o._tr_flush_block(Oe,0<=Oe.block_start?Oe.block_start:-1,Oe.strstart-Oe.block_start,Ft),Oe.block_start=Oe.strstart,$e(Oe.strm)}function It(Oe,Ft){Oe.pending_buf[Oe.pending++]=Ft}function ft(Oe,Ft){Oe.pending_buf[Oe.pending++]=Ft>>>8&255,Oe.pending_buf[Oe.pending++]=255&Ft}function Dt(Oe,Ft){var ge,Ue,Pe=Oe.max_chain_length,Me=Oe.strstart,ze=Oe.prev_length,pt=Oe.nice_match,He=Oe.strstart>Oe.w_size-se?Oe.strstart-(Oe.w_size-se):0,At=Oe.window,Tt=Oe.w_mask,Lt=Oe.prev,Ht=Oe.strstart+oe,ri=At[Me+ze-1],Xe=At[Me+ze];Oe.prev_length>=Oe.good_match&&(Pe>>=2),pt>Oe.lookahead&&(pt=Oe.lookahead);do if(At[(ge=Ft)+ze]===Xe&&At[ge+ze-1]===ri&&At[ge]===At[Me]&&At[++ge]===At[Me+1]){Me+=2,ge++;do;while(At[++Me]===At[++ge]&&At[++Me]===At[++ge]&&At[++Me]===At[++ge]&&At[++Me]===At[++ge]&&At[++Me]===At[++ge]&&At[++Me]===At[++ge]&&At[++Me]===At[++ge]&&At[++Me]===At[++ge]&&Me<Ht);if(Ue=oe-(Ht-Me),Me=Ht-oe,ze<Ue){if(Oe.match_start=Ft,pt<=(ze=Ue))break;ri=At[Me+ze-1],Xe=At[Me+ze]}}while((Ft=Lt[Ft&Tt])>He&&--Pe!=0);return ze<=Oe.lookahead?ze:Oe.lookahead}function Zt(Oe){var Ft,ge,Ue,Pe,Me,ze,pt,He,At,Tt,Lt=Oe.w_size;do{if(Pe=Oe.window_size-Oe.lookahead-Oe.strstart,Oe.strstart>=Lt+(Lt-se)){for(s.arraySet(Oe.window,Oe.window,Lt,Lt,0),Oe.match_start-=Lt,Oe.strstart-=Lt,Oe.block_start-=Lt,Ft=ge=Oe.hash_size;Ue=Oe.head[--Ft],Oe.head[Ft]=Lt<=Ue?Ue-Lt:0,--ge;);for(Ft=ge=Lt;Ue=Oe.prev[--Ft],Oe.prev[Ft]=Lt<=Ue?Ue-Lt:0,--ge;);Pe+=Lt}if(Oe.strm.avail_in===0)break;if(ze=Oe.strm,pt=Oe.window,He=Oe.strstart+Oe.lookahead,At=Pe,Tt=void 0,Tt=ze.avail_in,At<Tt&&(Tt=At),ge=Tt===0?0:(ze.avail_in-=Tt,s.arraySet(pt,ze.input,ze.next_in,Tt,He),ze.state.wrap===1?ze.adler=r(ze.adler,pt,Tt,He):ze.state.wrap===2&&(ze.adler=l(ze.adler,pt,Tt,He)),ze.next_in+=Tt,ze.total_in+=Tt,Tt),Oe.lookahead+=ge,Oe.lookahead+Oe.insert>=K)for(Me=Oe.strstart-Oe.insert,Oe.ins_h=Oe.window[Me],Oe.ins_h=(Oe.ins_h<<Oe.hash_shift^Oe.window[Me+1])&Oe.hash_mask;Oe.insert&&(Oe.ins_h=(Oe.ins_h<<Oe.hash_shift^Oe.window[Me+K-1])&Oe.hash_mask,Oe.prev[Me&Oe.w_mask]=Oe.head[Oe.ins_h],Oe.head[Oe.ins_h]=Me,Me++,Oe.insert--,!(Oe.lookahead+Oe.insert<K)););}while(Oe.lookahead<se&&Oe.strm.avail_in!==0)}function Ct(Oe,Ft){for(var ge,Ue;;){if(Oe.lookahead<se){if(Zt(Oe),Oe.lookahead<se&&Ft===h)return ee;if(Oe.lookahead===0)break}if(ge=0,Oe.lookahead>=K&&(Oe.ins_h=(Oe.ins_h<<Oe.hash_shift^Oe.window[Oe.strstart+K-1])&Oe.hash_mask,ge=Oe.prev[Oe.strstart&Oe.w_mask]=Oe.head[Oe.ins_h],Oe.head[Oe.ins_h]=Oe.strstart),ge!==0&&Oe.strstart-ge<=Oe.w_size-se&&(Oe.match_length=Dt(Oe,ge)),Oe.match_length>=K)if(Ue=o._tr_tally(Oe,Oe.strstart-Oe.match_start,Oe.match_length-K),Oe.lookahead-=Oe.match_length,Oe.match_length<=Oe.max_lazy_match&&Oe.lookahead>=K){for(Oe.match_length--;Oe.strstart++,Oe.ins_h=(Oe.ins_h<<Oe.hash_shift^Oe.window[Oe.strstart+K-1])&Oe.hash_mask,ge=Oe.prev[Oe.strstart&Oe.w_mask]=Oe.head[Oe.ins_h],Oe.head[Oe.ins_h]=Oe.strstart,--Oe.match_length!=0;);Oe.strstart++}else Oe.strstart+=Oe.match_length,Oe.match_length=0,Oe.ins_h=Oe.window[Oe.strstart],Oe.ins_h=(Oe.ins_h<<Oe.hash_shift^Oe.window[Oe.strstart+1])&Oe.hash_mask;else Ue=o._tr_tally(Oe,0,Oe.window[Oe.strstart]),Oe.lookahead--,Oe.strstart++;if(Ue&&(ke(Oe,!1),Oe.strm.avail_out===0))return ee}return Oe.insert=Oe.strstart<K-1?Oe.strstart:K-1,Ft===p?(ke(Oe,!0),Oe.strm.avail_out===0?Ee:Ce):Oe.last_lit&&(ke(Oe,!1),Oe.strm.avail_out===0)?ee:Ae}function Ut(Oe,Ft){for(var ge,Ue,Pe;;){if(Oe.lookahead<se){if(Zt(Oe),Oe.lookahead<se&&Ft===h)return ee;if(Oe.lookahead===0)break}if(ge=0,Oe.lookahead>=K&&(Oe.ins_h=(Oe.ins_h<<Oe.hash_shift^Oe.window[Oe.strstart+K-1])&Oe.hash_mask,ge=Oe.prev[Oe.strstart&Oe.w_mask]=Oe.head[Oe.ins_h],Oe.head[Oe.ins_h]=Oe.strstart),Oe.prev_length=Oe.match_length,Oe.prev_match=Oe.match_start,Oe.match_length=K-1,ge!==0&&Oe.prev_length<Oe.max_lazy_match&&Oe.strstart-ge<=Oe.w_size-se&&(Oe.match_length=Dt(Oe,ge),Oe.match_length<=5&&(Oe.strategy===1||Oe.match_length===K&&4096<Oe.strstart-Oe.match_start)&&(Oe.match_length=K-1)),Oe.prev_length>=K&&Oe.match_length<=Oe.prev_length){for(Pe=Oe.strstart+Oe.lookahead-K,Ue=o._tr_tally(Oe,Oe.strstart-1-Oe.prev_match,Oe.prev_length-K),Oe.lookahead-=Oe.prev_length-1,Oe.prev_length-=2;++Oe.strstart<=Pe&&(Oe.ins_h=(Oe.ins_h<<Oe.hash_shift^Oe.window[Oe.strstart+K-1])&Oe.hash_mask,ge=Oe.prev[Oe.strstart&Oe.w_mask]=Oe.head[Oe.ins_h],Oe.head[Oe.ins_h]=Oe.strstart),--Oe.prev_length!=0;);if(Oe.match_available=0,Oe.match_length=K-1,Oe.strstart++,Ue&&(ke(Oe,!1),Oe.strm.avail_out===0))return ee}else if(Oe.match_available){if((Ue=o._tr_tally(Oe,0,Oe.window[Oe.strstart-1]))&&ke(Oe,!1),Oe.strstart++,Oe.lookahead--,Oe.strm.avail_out===0)return ee}else Oe.match_available=1,Oe.strstart++,Oe.lookahead--}return Oe.match_available&&(Ue=o._tr_tally(Oe,0,Oe.window[Oe.strstart-1]),Oe.match_available=0),Oe.insert=Oe.strstart<K-1?Oe.strstart:K-1,Ft===p?(ke(Oe,!0),Oe.strm.avail_out===0?Ee:Ce):Oe.last_lit&&(ke(Oe,!1),Oe.strm.avail_out===0)?ee:Ae}function ii(Oe,Ft,ge,Ue,Pe){this.good_length=Oe,this.max_lazy=Ft,this.nice_length=ge,this.max_chain=Ue,this.func=Pe}function Vt(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=b,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new s.Buf16(2*Z),this.dyn_dtree=new s.Buf16(2*(2*P+1)),this.bl_tree=new s.Buf16(2*(2*U+1)),St(this.dyn_ltree),St(this.dyn_dtree),St(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new s.Buf16(ne+1),this.heap=new s.Buf16(2*O+1),St(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new s.Buf16(2*O+1),St(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function Kt(Oe){var Ft;return Oe&&Oe.state?(Oe.total_in=Oe.total_out=0,Oe.data_type=R,(Ft=Oe.state).pending=0,Ft.pending_out=0,Ft.wrap<0&&(Ft.wrap=-Ft.wrap),Ft.status=Ft.wrap?he:Re,Oe.adler=Ft.wrap===2?0:1,Ft.last_flush=h,o._tr_init(Ft),I):Qe(Oe,m)}function ui(Oe){var Ft=Kt(Oe);return Ft===I&&(function(ge){ge.window_size=2*ge.w_size,St(ge.head),ge.max_lazy_match=n[ge.level].max_lazy,ge.good_match=n[ge.level].good_length,ge.nice_match=n[ge.level].nice_length,ge.max_chain_length=n[ge.level].max_chain,ge.strstart=0,ge.block_start=0,ge.lookahead=0,ge.insert=0,ge.match_length=ge.prev_length=K-1,ge.match_available=0,ge.ins_h=0})(Oe.state),Ft}function jt(Oe,Ft,ge,Ue,Pe,Me){if(!Oe)return m;var ze=1;if(Ft===y&&(Ft=6),Ue<0?(ze=0,Ue=-Ue):15<Ue&&(ze=2,Ue-=16),Pe<1||A<Pe||ge!==b||Ue<8||15<Ue||Ft<0||9<Ft||Me<0||T<Me)return Qe(Oe,m);Ue===8&&(Ue=9);var pt=new Vt;return(Oe.state=pt).strm=Oe,pt.wrap=ze,pt.gzhead=null,pt.w_bits=Ue,pt.w_size=1<<pt.w_bits,pt.w_mask=pt.w_size-1,pt.hash_bits=Pe+7,pt.hash_size=1<<pt.hash_bits,pt.hash_mask=pt.hash_size-1,pt.hash_shift=~~((pt.hash_bits+K-1)/K),pt.window=new s.Buf8(2*pt.w_size),pt.head=new s.Buf16(pt.hash_size),pt.prev=new s.Buf16(pt.w_size),pt.lit_bufsize=1<<Pe+6,pt.pending_buf_size=4*pt.lit_bufsize,pt.pending_buf=new s.Buf8(pt.pending_buf_size),pt.d_buf=1*pt.lit_bufsize,pt.l_buf=3*pt.lit_bufsize,pt.level=Ft,pt.strategy=Me,pt.method=ge,ui(Oe)}n=[new ii(0,0,0,0,function(Oe,Ft){var ge=65535;for(ge>Oe.pending_buf_size-5&&(ge=Oe.pending_buf_size-5);;){if(Oe.lookahead<=1){if(Zt(Oe),Oe.lookahead===0&&Ft===h)return ee;if(Oe.lookahead===0)break}Oe.strstart+=Oe.lookahead,Oe.lookahead=0;var Ue=Oe.block_start+ge;if((Oe.strstart===0||Oe.strstart>=Ue)&&(Oe.lookahead=Oe.strstart-Ue,Oe.strstart=Ue,ke(Oe,!1),Oe.strm.avail_out===0)||Oe.strstart-Oe.block_start>=Oe.w_size-se&&(ke(Oe,!1),Oe.strm.avail_out===0))return ee}return Oe.insert=0,Ft===p?(ke(Oe,!0),Oe.strm.avail_out===0?Ee:Ce):(Oe.strstart>Oe.block_start&&(ke(Oe,!1),Oe.strm.avail_out),ee)}),new ii(4,4,8,4,Ct),new ii(4,5,16,8,Ct),new ii(4,6,32,32,Ct),new ii(4,4,16,16,Ut),new ii(8,16,32,32,Ut),new ii(8,16,128,128,Ut),new ii(8,32,128,256,Ut),new ii(32,128,258,1024,Ut),new ii(32,258,258,4096,Ut)],i.deflateInit=function(Oe,Ft){return jt(Oe,Ft,b,15,8,0)},i.deflateInit2=jt,i.deflateReset=ui,i.deflateResetKeep=Kt,i.deflateSetHeader=function(Oe,Ft){return Oe&&Oe.state?Oe.state.wrap!==2?m:(Oe.state.gzhead=Ft,I):m},i.deflate=function(Oe,Ft){var ge,Ue,Pe,Me;if(!Oe||!Oe.state||5<Ft||Ft<0)return Oe?Qe(Oe,m):m;if(Ue=Oe.state,!Oe.output||!Oe.input&&Oe.avail_in!==0||Ue.status===666&&Ft!==p)return Qe(Oe,Oe.avail_out===0?-5:m);if(Ue.strm=Oe,ge=Ue.last_flush,Ue.last_flush=Ft,Ue.status===he)if(Ue.wrap===2)Oe.adler=0,It(Ue,31),It(Ue,139),It(Ue,8),Ue.gzhead?(It(Ue,(Ue.gzhead.text?1:0)+(Ue.gzhead.hcrc?2:0)+(Ue.gzhead.extra?4:0)+(Ue.gzhead.name?8:0)+(Ue.gzhead.comment?16:0)),It(Ue,255&Ue.gzhead.time),It(Ue,Ue.gzhead.time>>8&255),It(Ue,Ue.gzhead.time>>16&255),It(Ue,Ue.gzhead.time>>24&255),It(Ue,Ue.level===9?2:2<=Ue.strategy||Ue.level<2?4:0),It(Ue,255&Ue.gzhead.os),Ue.gzhead.extra&&Ue.gzhead.extra.length&&(It(Ue,255&Ue.gzhead.extra.length),It(Ue,Ue.gzhead.extra.length>>8&255)),Ue.gzhead.hcrc&&(Oe.adler=l(Oe.adler,Ue.pending_buf,Ue.pending,0)),Ue.gzindex=0,Ue.status=69):(It(Ue,0),It(Ue,0),It(Ue,0),It(Ue,0),It(Ue,0),It(Ue,Ue.level===9?2:2<=Ue.strategy||Ue.level<2?4:0),It(Ue,3),Ue.status=Re);else{var ze=b+(Ue.w_bits-8<<4)<<8;ze|=(2<=Ue.strategy||Ue.level<2?0:Ue.level<6?1:Ue.level===6?2:3)<<6,Ue.strstart!==0&&(ze|=32),ze+=31-ze%31,Ue.status=Re,ft(Ue,ze),Ue.strstart!==0&&(ft(Ue,Oe.adler>>>16),ft(Ue,65535&Oe.adler)),Oe.adler=1}if(Ue.status===69)if(Ue.gzhead.extra){for(Pe=Ue.pending;Ue.gzindex<(65535&Ue.gzhead.extra.length)&&(Ue.pending!==Ue.pending_buf_size||(Ue.gzhead.hcrc&&Ue.pending>Pe&&(Oe.adler=l(Oe.adler,Ue.pending_buf,Ue.pending-Pe,Pe)),$e(Oe),Pe=Ue.pending,Ue.pending!==Ue.pending_buf_size));)It(Ue,255&Ue.gzhead.extra[Ue.gzindex]),Ue.gzindex++;Ue.gzhead.hcrc&&Ue.pending>Pe&&(Oe.adler=l(Oe.adler,Ue.pending_buf,Ue.pending-Pe,Pe)),Ue.gzindex===Ue.gzhead.extra.length&&(Ue.gzindex=0,Ue.status=73)}else Ue.status=73;if(Ue.status===73)if(Ue.gzhead.name){Pe=Ue.pending;do{if(Ue.pending===Ue.pending_buf_size&&(Ue.gzhead.hcrc&&Ue.pending>Pe&&(Oe.adler=l(Oe.adler,Ue.pending_buf,Ue.pending-Pe,Pe)),$e(Oe),Pe=Ue.pending,Ue.pending===Ue.pending_buf_size)){Me=1;break}Me=Ue.gzindex<Ue.gzhead.name.length?255&Ue.gzhead.name.charCodeAt(Ue.gzindex++):0,It(Ue,Me)}while(Me!==0);Ue.gzhead.hcrc&&Ue.pending>Pe&&(Oe.adler=l(Oe.adler,Ue.pending_buf,Ue.pending-Pe,Pe)),Me===0&&(Ue.gzindex=0,Ue.status=91)}else Ue.status=91;if(Ue.status===91)if(Ue.gzhead.comment){Pe=Ue.pending;do{if(Ue.pending===Ue.pending_buf_size&&(Ue.gzhead.hcrc&&Ue.pending>Pe&&(Oe.adler=l(Oe.adler,Ue.pending_buf,Ue.pending-Pe,Pe)),$e(Oe),Pe=Ue.pending,Ue.pending===Ue.pending_buf_size)){Me=1;break}Me=Ue.gzindex<Ue.gzhead.comment.length?255&Ue.gzhead.comment.charCodeAt(Ue.gzindex++):0,It(Ue,Me)}while(Me!==0);Ue.gzhead.hcrc&&Ue.pending>Pe&&(Oe.adler=l(Oe.adler,Ue.pending_buf,Ue.pending-Pe,Pe)),Me===0&&(Ue.status=103)}else Ue.status=103;if(Ue.status===103&&(Ue.gzhead.hcrc?(Ue.pending+2>Ue.pending_buf_size&&$e(Oe),Ue.pending+2<=Ue.pending_buf_size&&(It(Ue,255&Oe.adler),It(Ue,Oe.adler>>8&255),Oe.adler=0,Ue.status=Re)):Ue.status=Re),Ue.pending!==0){if($e(Oe),Oe.avail_out===0)return Ue.last_flush=-1,I}else if(Oe.avail_in===0&&qe(Ft)<=qe(ge)&&Ft!==p)return Qe(Oe,-5);if(Ue.status===666&&Oe.avail_in!==0)return Qe(Oe,-5);if(Oe.avail_in!==0||Ue.lookahead!==0||Ft!==h&&Ue.status!==666){var pt=Ue.strategy===2?(function(He,At){for(var Tt;;){if(He.lookahead===0&&(Zt(He),He.lookahead===0)){if(At===h)return ee;break}if(He.match_length=0,Tt=o._tr_tally(He,0,He.window[He.strstart]),He.lookahead--,He.strstart++,Tt&&(ke(He,!1),He.strm.avail_out===0))return ee}return He.insert=0,At===p?(ke(He,!0),He.strm.avail_out===0?Ee:Ce):He.last_lit&&(ke(He,!1),He.strm.avail_out===0)?ee:Ae})(Ue,Ft):Ue.strategy===3?(function(He,At){for(var Tt,Lt,Ht,ri,Xe=He.window;;){if(He.lookahead<=oe){if(Zt(He),He.lookahead<=oe&&At===h)return ee;if(He.lookahead===0)break}if(He.match_length=0,He.lookahead>=K&&0<He.strstart&&(Lt=Xe[Ht=He.strstart-1])===Xe[++Ht]&&Lt===Xe[++Ht]&&Lt===Xe[++Ht]){ri=He.strstart+oe;do;while(Lt===Xe[++Ht]&&Lt===Xe[++Ht]&&Lt===Xe[++Ht]&&Lt===Xe[++Ht]&&Lt===Xe[++Ht]&&Lt===Xe[++Ht]&&Lt===Xe[++Ht]&&Lt===Xe[++Ht]&&Ht<ri);He.match_length=oe-(ri-Ht),He.match_length>He.lookahead&&(He.match_length=He.lookahead)}if(He.match_length>=K?(Tt=o._tr_tally(He,1,He.match_length-K),He.lookahead-=He.match_length,He.strstart+=He.match_length,He.match_length=0):(Tt=o._tr_tally(He,0,He.window[He.strstart]),He.lookahead--,He.strstart++),Tt&&(ke(He,!1),He.strm.avail_out===0))return ee}return He.insert=0,At===p?(ke(He,!0),He.strm.avail_out===0?Ee:Ce):He.last_lit&&(ke(He,!1),He.strm.avail_out===0)?ee:Ae})(Ue,Ft):n[Ue.level].func(Ue,Ft);if(pt!==Ee&&pt!==Ce||(Ue.status=666),pt===ee||pt===Ee)return Oe.avail_out===0&&(Ue.last_flush=-1),I;if(pt===Ae&&(Ft===1?o._tr_align(Ue):Ft!==5&&(o._tr_stored_block(Ue,0,0,!1),Ft===3&&(St(Ue.head),Ue.lookahead===0&&(Ue.strstart=0,Ue.block_start=0,Ue.insert=0))),$e(Oe),Oe.avail_out===0))return Ue.last_flush=-1,I}return Ft!==p?I:Ue.wrap<=0?1:(Ue.wrap===2?(It(Ue,255&Oe.adler),It(Ue,Oe.adler>>8&255),It(Ue,Oe.adler>>16&255),It(Ue,Oe.adler>>24&255),It(Ue,255&Oe.total_in),It(Ue,Oe.total_in>>8&255),It(Ue,Oe.total_in>>16&255),It(Ue,Oe.total_in>>24&255)):(ft(Ue,Oe.adler>>>16),ft(Ue,65535&Oe.adler)),$e(Oe),0<Ue.wrap&&(Ue.wrap=-Ue.wrap),Ue.pending!==0?I:1)},i.deflateEnd=function(Oe){var Ft;return Oe&&Oe.state?(Ft=Oe.state.status)!==he&&Ft!==69&&Ft!==73&&Ft!==91&&Ft!==103&&Ft!==Re&&Ft!==666?Qe(Oe,m):(Oe.state=null,Ft===Re?Qe(Oe,-3):I):m},i.deflateSetDictionary=function(Oe,Ft){var ge,Ue,Pe,Me,ze,pt,He,At,Tt=Ft.length;if(!Oe||!Oe.state||(Me=(ge=Oe.state).wrap)===2||Me===1&&ge.status!==he||ge.lookahead)return m;for(Me===1&&(Oe.adler=r(Oe.adler,Ft,Tt,0)),ge.wrap=0,Tt>=ge.w_size&&(Me===0&&(St(ge.head),ge.strstart=0,ge.block_start=0,ge.insert=0),At=new s.Buf8(ge.w_size),s.arraySet(At,Ft,Tt-ge.w_size,ge.w_size,0),Ft=At,Tt=ge.w_size),ze=Oe.avail_in,pt=Oe.next_in,He=Oe.input,Oe.avail_in=Tt,Oe.next_in=0,Oe.input=Ft,Zt(ge);ge.lookahead>=K;){for(Ue=ge.strstart,Pe=ge.lookahead-(K-1);ge.ins_h=(ge.ins_h<<ge.hash_shift^ge.window[Ue+K-1])&ge.hash_mask,ge.prev[Ue&ge.w_mask]=ge.head[ge.ins_h],ge.head[ge.ins_h]=Ue,Ue++,--Pe;);ge.strstart=Ue,ge.lookahead=K-1,Zt(ge)}return ge.strstart+=ge.lookahead,ge.block_start=ge.strstart,ge.insert=ge.lookahead,ge.lookahead=0,ge.match_length=ge.prev_length=K-1,ge.match_available=0,Oe.next_in=pt,Oe.input=He,Oe.avail_in=ze,ge.wrap=Me,I},i.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(e,t,i){"use strict";t.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(e,t,i){"use strict";t.exports=function(n,s){var o,r,l,d,h,p,I,m,y,T,R,b,A,O,P,U,Z,ne,K,oe,se,he,Re,ee,Ae;o=n.state,r=n.next_in,ee=n.input,l=r+(n.avail_in-5),d=n.next_out,Ae=n.output,h=d-(s-n.avail_out),p=d+(n.avail_out-257),I=o.dmax,m=o.wsize,y=o.whave,T=o.wnext,R=o.window,b=o.hold,A=o.bits,O=o.lencode,P=o.distcode,U=(1<<o.lenbits)-1,Z=(1<<o.distbits)-1;e:do{A<15&&(b+=ee[r++]<<A,A+=8,b+=ee[r++]<<A,A+=8),ne=O[b&U];t:for(;;){if(b>>>=K=ne>>>24,A-=K,(K=ne>>>16&255)===0)Ae[d++]=65535≠else{if(!(16&K)){if((64&K)==0){ne=O[(65535&ne)+(b&(1<<K)-1)];continue t}if(32&K){o.mode=12;break e}n.msg="invalid literal/length code",o.mode=30;break e}oe=65535&ne,(K&=15)&&(A<K&&(b+=ee[r++]<<A,A+=8),oe+=b&(1<<K)-1,b>>>=K,A-=K),A<15&&(b+=ee[r++]<<A,A+=8,b+=ee[r++]<<A,A+=8),ne=P[b&Z];i:for(;;){if(b>>>=K=ne>>>24,A-=K,!(16&(K=ne>>>16&255))){if((64&K)==0){ne=P[(65535&ne)+(b&(1<<K)-1)];continue i}n.msg="invalid distance code",o.mode=30;break e}if(se=65535&ne,A<(K&=15)&&(b+=ee[r++]<<A,(A+=8)<K&&(b+=ee[r++]<<A,A+=8)),I<(se+=b&(1<<K)-1)){n.msg="invalid distance too far back",o.mode=30;break e}if(b>>>=K,A-=K,(K=d-h)<se){if(y<(K=se-K)&&o.sane){n.msg="invalid distance too far back",o.mode=30;break e}if(Re=R,(he=0)===T){if(he+=m-K,K<oe){for(oe-=K;Ae[d++]=R[he++],--K;);he=d-se,Re=Ae}}else if(T<K){if(he+=m+T-K,(K-=T)<oe){for(oe-=K;Ae[d++]=R[he++],--K;);if(he=0,T<oe){for(oe-=K=T;Ae[d++]=R[he++],--K;);he=d-se,Re=Ae}}}else if(he+=T-K,K<oe){for(oe-=K;Ae[d++]=R[he++],--K;);he=d-se,Re=Ae}for(;2<oe;)Ae[d++]=Re[he++],Ae[d++]=Re[he++],Ae[d++]=Re[he++],oe-=3;oe&&(Ae[d++]=Re[he++],1<oe&&(Ae[d++]=Re[he++]))}else{for(he=d-se;Ae[d++]=Ae[he++],Ae[d++]=Ae[he++],Ae[d++]=Ae[he++],2<(oe-=3););oe&&(Ae[d++]=Ae[he++],1<oe&&(Ae[d++]=Ae[he++]))}break}}break}}while(r<l&&d<p);r-=oe=A>>3,b&=(1<<(A-=oe<<3))-1,n.next_in=r,n.next_out=d,n.avail_in=r<l?l-r+5:5-(r-l),n.avail_out=d<p?p-d+257:257-(d-p),o.hold=b,o.bits=A}},{}],49:[function(e,t,i){"use strict";var n=e("../utils/common"),s=e("./adler32"),o=e("./crc32"),r=e("./inffast"),l=e("./inftrees"),d=1,h=2,p=0,I=-2,m=1,y=852,T=592;function R(he){return(he>>>24&255)+(he>>>8&65280)+((65280&he)<<8)+((255&he)<<24)}function b(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new n.Buf16(320),this.work=new n.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function A(he){var Re;return he&&he.state?(Re=he.state,he.total_in=he.total_out=Re.total=0,he.msg="",Re.wrap&&(he.adler=1&Re.wrap),Re.mode=m,Re.last=0,Re.havedict=0,Re.dmax=32768,Re.head=null,Re.hold=0,Re.bits=0,Re.lencode=Re.lendyn=new n.Buf32(y),Re.distcode=Re.distdyn=new n.Buf32(T),Re.sane=1,Re.back=-1,p):I}function O(he){var Re;return he&&he.state?((Re=he.state).wsize=0,Re.whave=0,Re.wnext=0,A(he)):I}function P(he,Re){var ee,Ae;return he&&he.state?(Ae=he.state,Re<0?(ee=0,Re=-Re):(ee=1+(Re>>4),Re<48&&(Re&=15)),Re&&(Re<8||15<Re)?I:(Ae.window!==null&&Ae.wbits!==Re&&(Ae.window=null),Ae.wrap=ee,Ae.wbits=Re,O(he))):I}function U(he,Re){var ee,Ae;return he?(Ae=new b,(he.state=Ae).window=null,(ee=P(he,Re))!==p&&(he.state=null),ee):I}var Z,ne,K=!0;function oe(he){if(K){var Re;for(Z=new n.Buf32(512),ne=new n.Buf32(32),Re=0;Re<144;)he.lens[Re++]=8;for(;Re<256;)he.lens[Re++]=9;for(;Re<280;)he.lens[Re++]=7;for(;Re<288;)he.lens[Re++]=8;for(l(d,he.lens,0,288,Z,0,he.work,{bits:9}),Re=0;Re<32;)he.lens[Re++]=5;l(h,he.lens,0,32,ne,0,he.work,{bits:5}),K=!1}he.lencode=Z,he.lenbits=9,he.distcode=ne,he.distbits=5}function se(he,Re,ee,Ae){var Ee,Ce=he.state;return Ce.window===null&&(Ce.wsize=1<<Ce.wbits,Ce.wnext=0,Ce.whave=0,Ce.window=new n.Buf8(Ce.wsize)),Ae>=Ce.wsize?(n.arraySet(Ce.window,Re,ee-Ce.wsize,Ce.wsize,0),Ce.wnext=0,Ce.whave=Ce.wsize):(Ae<(Ee=Ce.wsize-Ce.wnext)&&(Ee=Ae),n.arraySet(Ce.window,Re,ee-Ae,Ee,Ce.wnext),(Ae-=Ee)?(n.arraySet(Ce.window,Re,ee-Ae,Ae,0),Ce.wnext=Ae,Ce.whave=Ce.wsize):(Ce.wnext+=Ee,Ce.wnext===Ce.wsize&&(Ce.wnext=0),Ce.whave<Ce.wsize&&(Ce.whave+=Ee))),0}i.inflateReset=O,i.inflateReset2=P,i.inflateResetKeep=A,i.inflateInit=function(he){return U(he,15)},i.inflateInit2=U,i.inflate=function(he,Re){var ee,Ae,Ee,Ce,Qe,qe,St,$e,ke,It,ft,Dt,Zt,Ct,Ut,ii,Vt,Kt,ui,jt,Oe,Ft,ge,Ue,Pe=0,Me=new n.Buf8(4),ze=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!he||!he.state||!he.output||!he.input&&he.avail_in!==0)return I;(ee=he.state).mode===12&&(ee.mode=13),Qe=he.next_out,Ee=he.output,St=he.avail_out,Ce=he.next_in,Ae=he.input,qe=he.avail_in,$e=ee.hold,ke=ee.bits,It=qe,ft=St,Ft=p;e:for(;;)switch(ee.mode){case m:if(ee.wrap===0){ee.mode=13;break}for(;ke<16;){if(qe===0)break e;qe--,$e+=Ae[Ce++]<<ke,ke+=8}if(2&ee.wrap&&$e===35615){Me[ee.check=0]=255&$e,Me[1]=$e>>>8&255,ee.check=o(ee.check,Me,2,0),ke=$e=0,ee.mode=2;break}if(ee.flags=0,ee.head&&(ee.head.done=!1),!(1&ee.wrap)||(((255&$e)<<8)+($e>>8))%31){he.msg="incorrect header check",ee.mode=30;break}if((15&$e)!=8){he.msg="unknown compression method",ee.mode=30;break}if(ke-=4,Oe=8+(15&($e>>>=4)),ee.wbits===0)ee.wbits=Oe;else if(Oe>ee.wbits){he.msg="invalid window size",ee.mode=30;break}ee.dmax=1<<Oe,he.adler=ee.check=1,ee.mode=512&$e?10:12,ke=$e=0;break;case 2:for(;ke<16;){if(qe===0)break e;qe--,$e+=Ae[Ce++]<<ke,ke+=8}if(ee.flags=$e,(255&ee.flags)!=8){he.msg="unknown compression method",ee.mode=30;break}if(57344&ee.flags){he.msg="unknown header flags set",ee.mode=30;break}ee.head&&(ee.head.text=$e>>8&1),512&ee.flags&&(Me[0]=255&$e,Me[1]=$e>>>8&255,ee.check=o(ee.check,Me,2,0)),ke=$e=0,ee.mode=3;case 3:for(;ke<32;){if(qe===0)break e;qe--,$e+=Ae[Ce++]<<ke,ke+=8}ee.head&&(ee.head.time=$e),512&ee.flags&&(Me[0]=255&$e,Me[1]=$e>>>8&255,Me[2]=$e>>>16&255,Me[3]=$e>>>24&255,ee.check=o(ee.check,Me,4,0)),ke=$e=0,ee.mode=4;case 4:for(;ke<16;){if(qe===0)break e;qe--,$e+=Ae[Ce++]<<ke,ke+=8}ee.head&&(ee.head.xflags=255&$e,ee.head.os=$e>>8),512&ee.flags&&(Me[0]=255&$e,Me[1]=$e>>>8&255,ee.check=o(ee.check,Me,2,0)),ke=$e=0,ee.mode=5;case 5:if(1024&ee.flags){for(;ke<16;){if(qe===0)break e;qe--,$e+=Ae[Ce++]<<ke,ke+=8}ee.length=$e,ee.head&&(ee.head.extra_len=$e),512&ee.flags&&(Me[0]=255&$e,Me[1]=$e>>>8&255,ee.check=o(ee.check,Me,2,0)),ke=$e=0}else ee.head&&(ee.head.extra=null);ee.mode=6;case 6:if(1024&ee.flags&&(qe<(Dt=ee.length)&&(Dt=qe),Dt&&(ee.head&&(Oe=ee.head.extra_len-ee.length,ee.head.extra||(ee.head.extra=new Array(ee.head.extra_len)),n.arraySet(ee.head.extra,Ae,Ce,Dt,Oe)),512&ee.flags&&(ee.check=o(ee.check,Ae,Dt,Ce)),qe-=Dt,Ce+=Dt,ee.length-=Dt),ee.length))break e;ee.length=0,ee.mode=7;case 7:if(2048&ee.flags){if(qe===0)break e;for(Dt=0;Oe=Ae[Ce+Dt++],ee.head&&Oe&&ee.length<65536&&(ee.head.name+=String.fromCharCode(Oe)),Oe&&Dt<qe;);if(512&ee.flags&&(ee.check=o(ee.check,Ae,Dt,Ce)),qe-=Dt,Ce+=Dt,Oe)break e}else ee.head&&(ee.head.name=null);ee.length=0,ee.mode=8;case 8:if(4096&ee.flags){if(qe===0)break e;for(Dt=0;Oe=Ae[Ce+Dt++],ee.head&&Oe&&ee.length<65536&&(ee.head.comment+=String.fromCharCode(Oe)),Oe&&Dt<qe;);if(512&ee.flags&&(ee.check=o(ee.check,Ae,Dt,Ce)),qe-=Dt,Ce+=Dt,Oe)break e}else ee.head&&(ee.head.comment=null);ee.mode=9;case 9:if(512&ee.flags){for(;ke<16;){if(qe===0)break e;qe--,$e+=Ae[Ce++]<<ke,ke+=8}if($e!==(65535&ee.check)){he.msg="header crc mismatch",ee.mode=30;break}ke=$e=0}ee.head&&(ee.head.hcrc=ee.flags>>9&1,ee.head.done=!0),he.adler=ee.check=0,ee.mode=12;break;case 10:for(;ke<32;){if(qe===0)break e;qe--,$e+=Ae[Ce++]<<ke,ke+=8}he.adler=ee.check=R($e),ke=$e=0,ee.mode=11;case 11:if(ee.havedict===0)return he.next_out=Qe,he.avail_out=St,he.next_in=Ce,he.avail_in=qe,ee.hold=$e,ee.bits=ke,2;he.adler=ee.check=1,ee.mode=12;case 12:if(Re===5||Re===6)break e;case 13:if(ee.last){$e>>>=7&ke,ke-=7&ke,ee.mode=27;break}for(;ke<3;){if(qe===0)break e;qe--,$e+=Ae[Ce++]<<ke,ke+=8}switch(ee.last=1&$e,ke-=1,3&($e>>>=1)){case 0:ee.mode=14;break;case 1:if(oe(ee),ee.mode=20,Re!==6)break;$e>>>=2,ke-=2;break e;case 2:ee.mode=17;break;case 3:he.msg="invalid block type",ee.mode=30}$e>>>=2,ke-=2;break;case 14:for($e>>>=7&ke,ke-=7&ke;ke<32;){if(qe===0)break e;qe--,$e+=Ae[Ce++]<<ke,ke+=8}if((65535&$e)!=($e>>>16^65535)){he.msg="invalid stored block lengths",ee.mode=30;break}if(ee.length=65535&$e,ke=$e=0,ee.mode=15,Re===6)break e;case 15:ee.mode=16;case 16:if(Dt=ee.length){if(qe<Dt&&(Dt=qe),St<Dt&&(Dt=St),Dt===0)break e;n.arraySet(Ee,Ae,Ce,Dt,Qe),qe-=Dt,Ce+=Dt,St-=Dt,Qe+=Dt,ee.length-=Dt;break}ee.mode=12;break;case 17:for(;ke<14;){if(qe===0)break e;qe--,$e+=Ae[Ce++]<<ke,ke+=8}if(ee.nlen=257+(31&$e),$e>>>=5,ke-=5,ee.ndist=1+(31&$e),$e>>>=5,ke-=5,ee.ncode=4+(15&$e),$e>>>=4,ke-=4,286<ee.nlen||30<ee.ndist){he.msg="too many length or distance symbols",ee.mode=30;break}ee.have=0,ee.mode=18;case 18:for(;ee.have<ee.ncode;){for(;ke<3;){if(qe===0)break e;qe--,$e+=Ae[Ce++]<<ke,ke+=8}ee.lens[ze[ee.have++]]=7&$e,$e>>>=3,ke-=3}for(;ee.have<19;)ee.lens[ze[ee.have++]]=0;if(ee.lencode=ee.lendyn,ee.lenbits=7,ge={bits:ee.lenbits},Ft=l(0,ee.lens,0,19,ee.lencode,0,ee.work,ge),ee.lenbits=ge.bits,Ft){he.msg="invalid code lengths set",ee.mode=30;break}ee.have=0,ee.mode=19;case 19:for(;ee.have<ee.nlen+ee.ndist;){for(;ii=(Pe=ee.lencode[$e&(1<<ee.lenbits)-1])>>>16&255,Vt=65535&Pe,!((Ut=Pe>>>24)<=ke);){if(qe===0)break e;qe--,$e+=Ae[Ce++]<<ke,ke+=8}if(Vt<16)$e>>>=Ut,ke-=Ut,ee.lens[ee.have++]=Vt;else{if(Vt===16){for(Ue=Ut+2;ke<Ue;){if(qe===0)break e;qe--,$e+=Ae[Ce++]<<ke,ke+=8}if($e>>>=Ut,ke-=Ut,ee.have===0){he.msg="invalid bit length repeat",ee.mode=30;break}Oe=ee.lens[ee.have-1],Dt=3+(3&$e),$e>>>=2,ke-=2}else if(Vt===17){for(Ue=Ut+3;ke<Ue;){if(qe===0)break e;qe--,$e+=Ae[Ce++]<<ke,ke+=8}ke-=Ut,Oe=0,Dt=3+(7&($e>>>=Ut)),$e>>>=3,ke-=3}else{for(Ue=Ut+7;ke<Ue;){if(qe===0)break e;qe--,$e+=Ae[Ce++]<<ke,ke+=8}ke-=Ut,Oe=0,Dt=11+(127&($e>>>=Ut)),$e>>>=7,ke-=7}if(ee.have+Dt>ee.nlen+ee.ndist){he.msg="invalid bit length repeat",ee.mode=30;break}for(;Dt--;)ee.lens[ee.have++]=Oe}}if(ee.mode===30)break;if(ee.lens[256]===0){he.msg="invalid code -- missing end-of-block",ee.mode=30;break}if(ee.lenbits=9,ge={bits:ee.lenbits},Ft=l(d,ee.lens,0,ee.nlen,ee.lencode,0,ee.work,ge),ee.lenbits=ge.bits,Ft){he.msg="invalid literal/lengths set",ee.mode=30;break}if(ee.distbits=6,ee.distcode=ee.distdyn,ge={bits:ee.distbits},Ft=l(h,ee.lens,ee.nlen,ee.ndist,ee.distcode,0,ee.work,ge),ee.distbits=ge.bits,Ft){he.msg="invalid distances set",ee.mode=30;break}if(ee.mode=20,Re===6)break e;case 20:ee.mode=21;case 21:if(6<=qe&&258<=St){he.next_out=Qe,he.avail_out=St,he.next_in=Ce,he.avail_in=qe,ee.hold=$e,ee.bits=ke,r(he,ft),Qe=he.next_out,Ee=he.output,St=he.avail_out,Ce=he.next_in,Ae=he.input,qe=he.avail_in,$e=ee.hold,ke=ee.bits,ee.mode===12&&(ee.back=-1);break}for(ee.back=0;ii=(Pe=ee.lencode[$e&(1<<ee.lenbits)-1])>>>16&255,Vt=65535&Pe,!((Ut=Pe>>>24)<=ke);){if(qe===0)break e;qe--,$e+=Ae[Ce++]<<ke,ke+=8}if(ii&&(240&ii)==0){for(Kt=Ut,ui=ii,jt=Vt;ii=(Pe=ee.lencode[jt+(($e&(1<<Kt+ui)-1)>>Kt)])>>>16&255,Vt=65535&Pe,!(Kt+(Ut=Pe>>>24)<=ke);){if(qe===0)break e;qe--,$e+=Ae[Ce++]<<ke,ke+=8}$e>>>=Kt,ke-=Kt,ee.back+=Kt}if($e>>>=Ut,ke-=Ut,ee.back+=Ut,ee.length=Vt,ii===0){ee.mode=26;break}if(32&ii){ee.back=-1,ee.mode=12;break}if(64&ii){he.msg="invalid literal/length code",ee.mode=30;break}ee.extra=15&ii,ee.mode=22;case 22:if(ee.extra){for(Ue=ee.extra;ke<Ue;){if(qe===0)break e;qe--,$e+=Ae[Ce++]<<ke,ke+=8}ee.length+=$e&(1<<ee.extra)-1,$e>>>=ee.extra,ke-=ee.extra,ee.back+=ee.extra}ee.was=ee.length,ee.mode=23;case 23:for(;ii=(Pe=ee.distcode[$e&(1<<ee.distbits)-1])>>>16&255,Vt=65535&Pe,!((Ut=Pe>>>24)<=ke);){if(qe===0)break e;qe--,$e+=Ae[Ce++]<<ke,ke+=8}if((240&ii)==0){for(Kt=Ut,ui=ii,jt=Vt;ii=(Pe=ee.distcode[jt+(($e&(1<<Kt+ui)-1)>>Kt)])>>>16&255,Vt=65535&Pe,!(Kt+(Ut=Pe>>>24)<=ke);){if(qe===0)break e;qe--,$e+=Ae[Ce++]<<ke,ke+=8}$e>>>=Kt,ke-=Kt,ee.back+=Kt}if($e>>>=Ut,ke-=Ut,ee.back+=Ut,64&ii){he.msg="invalid distance code",ee.mode=30;break}ee.offset=Vt,ee.extra=15&ii,ee.mode=24;case 24:if(ee.extra){for(Ue=ee.extra;ke<Ue;){if(qe===0)break e;qe--,$e+=Ae[Ce++]<<ke,ke+=8}ee.offset+=$e&(1<<ee.extra)-1,$e>>>=ee.extra,ke-=ee.extra,ee.back+=ee.extra}if(ee.offset>ee.dmax){he.msg="invalid distance too far back",ee.mode=30;break}ee.mode=25;case 25:if(St===0)break e;if(Dt=ft-St,ee.offset>Dt){if((Dt=ee.offset-Dt)>ee.whave&&ee.sane){he.msg="invalid distance too far back",ee.mode=30;break}Zt=Dt>ee.wnext?(Dt-=ee.wnext,ee.wsize-Dt):ee.wnext-Dt,Dt>ee.length&&(Dt=ee.length),Ct=ee.window}else Ct=Ee,Zt=Qe-ee.offset,Dt=ee.length;for(St<Dt&&(Dt=St),St-=Dt,ee.length-=Dt;Ee[Qe++]=Ct[Zt++],--Dt;);ee.length===0&&(ee.mode=21);break;case 26:if(St===0)break e;Ee[Qe++]=ee.length,St--,ee.mode=21;break;case 27:if(ee.wrap){for(;ke<32;){if(qe===0)break e;qe--,$e|=Ae[Ce++]<<ke,ke+=8}if(ft-=St,he.total_out+=ft,ee.total+=ft,ft&&(he.adler=ee.check=ee.flags?o(ee.check,Ee,ft,Qe-ft):s(ee.check,Ee,ft,Qe-ft)),ft=St,(ee.flags?$e:R($e))!==ee.check){he.msg="incorrect data check",ee.mode=30;break}ke=$e=0}ee.mode=28;case 28:if(ee.wrap&&ee.flags){for(;ke<32;){if(qe===0)break e;qe--,$e+=Ae[Ce++]<<ke,ke+=8}if($e!==(4294967295&ee.total)){he.msg="incorrect length check",ee.mode=30;break}ke=$e=0}ee.mode=29;case 29:Ft=1;break e;case 30:Ft=-3;break e;case 31:return-4;case 32:default:return I}return he.next_out=Qe,he.avail_out=St,he.next_in=Ce,he.avail_in=qe,ee.hold=$e,ee.bits=ke,(ee.wsize||ft!==he.avail_out&&ee.mode<30&&(ee.mode<27||Re!==4))&&se(he,he.output,he.next_out,ft-he.avail_out)?(ee.mode=31,-4):(It-=he.avail_in,ft-=he.avail_out,he.total_in+=It,he.total_out+=ft,ee.total+=ft,ee.wrap&&ft&&(he.adler=ee.check=ee.flags?o(ee.check,Ee,ft,he.next_out-ft):s(ee.check,Ee,ft,he.next_out-ft)),he.data_type=ee.bits+(ee.last?64:0)+(ee.mode===12?128:0)+(ee.mode===20||ee.mode===15?256:0),(It==0&&ft===0||Re===4)&&Ft===p&&(Ft=-5),Ft)},i.inflateEnd=function(he){if(!he||!he.state)return I;var Re=he.state;return Re.window&&(Re.window=null),he.state=null,p},i.inflateGetHeader=function(he,Re){var ee;return he&&he.state?(2&(ee=he.state).wrap)==0?I:((ee.head=Re).done=!1,p):I},i.inflateSetDictionary=function(he,Re){var ee,Ae=Re.length;return he&&he.state?(ee=he.state).wrap!==0&&ee.mode!==11?I:ee.mode===11&&s(1,Re,Ae,0)!==ee.check?-3:se(he,Re,Ae,Ae)?(ee.mode=31,-4):(ee.havedict=1,p):I},i.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(e,t,i){"use strict";var n=e("../utils/common"),s=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],o=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],r=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],l=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];t.exports=function(d,h,p,I,m,y,T,R){var b,A,O,P,U,Z,ne,K,oe,se=R.bits,he=0,Re=0,ee=0,Ae=0,Ee=0,Ce=0,Qe=0,qe=0,St=0,$e=0,ke=null,It=0,ft=new n.Buf16(16),Dt=new n.Buf16(16),Zt=null,Ct=0;for(he=0;he<=15;he++)ft[he]=0;for(Re=0;Re<I;Re++)ft[h[p+Re]]++;for(Ee=se,Ae=15;1<=Ae&&ft[Ae]===0;Ae--);if(Ae<Ee&&(Ee=Ae),Ae===0)return m[y++]=20971520,m[y++]=20971520,R.bits=1,0;for(ee=1;ee<Ae&&ft[ee]===0;ee++);for(Ee<ee&&(Ee=ee),he=qe=1;he<=15;he++)if(qe<<=1,(qe-=ft[he])<0)return-1;if(0<qe&&(d===0||Ae!==1))return-1;for(Dt[1]=0,he=1;he<15;he++)Dt[he+1]=Dt[he]+ft[he];for(Re=0;Re<I;Re++)h[p+Re]!==0&&(T[Dt[h[p+Re]]++]=Re);if(Z=d===0?(ke=Zt=T,19):d===1?(ke=s,It-=257,Zt=o,Ct-=257,256):(ke=r,Zt=l,-1),he=ee,U=y,Qe=Re=$e=0,O=-1,P=(St=1<<(Ce=Ee))-1,d===1&&852<St||d===2&&592<St)return 1;for(;;){for(ne=he-Qe,oe=T[Re]<Z?(K=0,T[Re]):T[Re]>Z?(K=Zt[Ct+T[Re]],ke[It+T[Re]]):(K=96,0),b=1<<he-Qe,ee=A=1<<Ce;m[U+($e>>Qe)+(A-=b)]=ne<<24|K<<16|oe|0,A!==0;);for(b=1<<he-1;$e&b;)b>>=1;if(b!==0?($e&=b-1,$e+=b):$e=0,Re++,--ft[he]==0){if(he===Ae)break;he=h[p+T[Re]]}if(Ee<he&&($e&P)!==O){for(Qe===0&&(Qe=Ee),U+=ee,qe=1<<(Ce=he-Qe);Ce+Qe<Ae&&!((qe-=ft[Ce+Qe])<=0);)Ce++,qe<<=1;if(St+=1<<Ce,d===1&&852<St||d===2&&592<St)return 1;m[O=$e&P]=Ee<<24|Ce<<16|U-y|0}}return $e!==0&&(m[U+$e]=he-Qe<<24|64<<16|0),R.bits=Ee,0}},{"../utils/common":41}],51:[function(e,t,i){"use strict";t.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(e,t,i){"use strict";var n=e("../utils/common"),s=0,o=1;function r(Pe){for(var Me=Pe.length;0<=--Me;)Pe[Me]=0}var l=0,d=29,h=256,p=h+1+d,I=30,m=19,y=2*p+1,T=15,R=16,b=7,A=256,O=16,P=17,U=18,Z=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],ne=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],K=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],oe=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],se=new Array(2*(p+2));r(se);var he=new Array(2*I);r(he);var Re=new Array(512);r(Re);var ee=new Array(256);r(ee);var Ae=new Array(d);r(Ae);var Ee,Ce,Qe,qe=new Array(I);function St(Pe,Me,ze,pt,He){this.static_tree=Pe,this.extra_bits=Me,this.extra_base=ze,this.elems=pt,this.max_length=He,this.has_stree=Pe&&Pe.length}function $e(Pe,Me){this.dyn_tree=Pe,this.max_code=0,this.stat_desc=Me}function ke(Pe){return Pe<256?Re[Pe]:Re[256+(Pe>>>7)]}function It(Pe,Me){Pe.pending_buf[Pe.pending++]=255&Me,Pe.pending_buf[Pe.pending++]=Me>>>8&255}function ft(Pe,Me,ze){Pe.bi_valid>R-ze?(Pe.bi_buf|=Me<<Pe.bi_valid&65535,It(Pe,Pe.bi_buf),Pe.bi_buf=Me>>R-Pe.bi_valid,Pe.bi_valid+=ze-R):(Pe.bi_buf|=Me<<Pe.bi_valid&65535,Pe.bi_valid+=ze)}function Dt(Pe,Me,ze){ft(Pe,ze[2*Me],ze[2*Me+1])}function Zt(Pe,Me){for(var ze=0;ze|=1&Pe,Pe>>>=1,ze<<=1,0<--Me;);return ze>>>1}function Ct(Pe,Me,ze){var pt,He,At=new Array(T+1),Tt=0;for(pt=1;pt<=T;pt++)At[pt]=Tt=Tt+ze[pt-1]<<1;for(He=0;He<=Me;He++){var Lt=Pe[2*He+1];Lt!==0&&(Pe[2*He]=Zt(At[Lt]++,Lt))}}function Ut(Pe){var Me;for(Me=0;Me<p;Me++)Pe.dyn_ltree[2*Me]=0;for(Me=0;Me<I;Me++)Pe.dyn_dtree[2*Me]=0;for(Me=0;Me<m;Me++)Pe.bl_tree[2*Me]=0;Pe.dyn_ltree[2*A]=1,Pe.opt_len=Pe.static_len=0,Pe.last_lit=Pe.matches=0}function ii(Pe){8<Pe.bi_valid?It(Pe,Pe.bi_buf):0<Pe.bi_valid&&(Pe.pending_buf[Pe.pending++]=Pe.bi_buf),Pe.bi_buf=0,Pe.bi_valid=0}function Vt(Pe,Me,ze,pt){var He=2*Me,At=2*ze;return Pe[He]<Pe[At]||Pe[He]===Pe[At]&&pt[Me]<=pt[ze]}function Kt(Pe,Me,ze){for(var pt=Pe.heap[ze],He=ze<<1;He<=Pe.heap_len&&(He<Pe.heap_len&&Vt(Me,Pe.heap[He+1],Pe.heap[He],Pe.depth)&&He++,!Vt(Me,pt,Pe.heap[He],Pe.depth));)Pe.heap[ze]=Pe.heap[He],ze=He,He<<=1;Pe.heap[ze]=pt}function ui(Pe,Me,ze){var pt,He,At,Tt,Lt=0;if(Pe.last_lit!==0)for(;pt=Pe.pending_buf[Pe.d_buf+2*Lt]<<8|Pe.pending_buf[Pe.d_buf+2*Lt+1],He=Pe.pending_buf[Pe.l_buf+Lt],Lt++,pt===0?Dt(Pe,He,Me):(Dt(Pe,(At=ee[He])+h+1,Me),(Tt=Z[At])!==0&&ft(Pe,He-=Ae[At],Tt),Dt(Pe,At=ke(--pt),ze),(Tt=ne[At])!==0&&ft(Pe,pt-=qe[At],Tt)),Lt<Pe.last_lit;);Dt(Pe,A,Me)}function jt(Pe,Me){var ze,pt,He,At=Me.dyn_tree,Tt=Me.stat_desc.static_tree,Lt=Me.stat_desc.has_stree,Ht=Me.stat_desc.elems,ri=-1;for(Pe.heap_len=0,Pe.heap_max=y,ze=0;ze<Ht;ze++)At[2*ze]!==0?(Pe.heap[++Pe.heap_len]=ri=ze,Pe.depth[ze]=0):At[2*ze+1]=0;for(;Pe.heap_len<2;)At[2*(He=Pe.heap[++Pe.heap_len]=ri<2?++ri:0)]=1,Pe.depth[He]=0,Pe.opt_len--,Lt&&(Pe.static_len-=Tt[2*He+1]);for(Me.max_code=ri,ze=Pe.heap_len>>1;1<=ze;ze--)Kt(Pe,At,ze);for(He=Ht;ze=Pe.heap[1],Pe.heap[1]=Pe.heap[Pe.heap_len--],Kt(Pe,At,1),pt=Pe.heap[1],Pe.heap[--Pe.heap_max]=ze,Pe.heap[--Pe.heap_max]=pt,At[2*He]=At[2*ze]+At[2*pt],Pe.depth[He]=(Pe.depth[ze]>=Pe.depth[pt]?Pe.depth[ze]:Pe.depth[pt])+1,At[2*ze+1]=At[2*pt+1]=He,Pe.heap[1]=He++,Kt(Pe,At,1),2<=Pe.heap_len;);Pe.heap[--Pe.heap_max]=Pe.heap[1],(function(Xe,We){var Mt,si,gi,mi,bi,Qt,di=We.dyn_tree,Wi=We.max_code,ki=We.stat_desc.static_tree,Pi=We.stat_desc.has_stree,Di=We.stat_desc.extra_bits,dn=We.stat_desc.extra_base,Ln=We.stat_desc.max_length,Zi=0;for(mi=0;mi<=T;mi++)Xe.bl_count[mi]=0;for(di[2*Xe.heap[Xe.heap_max]+1]=0,Mt=Xe.heap_max+1;Mt<y;Mt++)Ln<(mi=di[2*di[2*(si=Xe.heap[Mt])+1]+1]+1)&&(mi=Ln,Zi++),di[2*si+1]=mi,Wi<si||(Xe.bl_count[mi]++,bi=0,dn<=si&&(bi=Di[si-dn]),Qt=di[2*si],Xe.opt_len+=Qt*(mi+bi),Pi&&(Xe.static_len+=Qt*(ki[2*si+1]+bi)));if(Zi!==0){do{for(mi=Ln-1;Xe.bl_count[mi]===0;)mi--;Xe.bl_count[mi]--,Xe.bl_count[mi+1]+=2,Xe.bl_count[Ln]--,Zi-=2}while(0<Zi);for(mi=Ln;mi!==0;mi--)for(si=Xe.bl_count[mi];si!==0;)Wi<(gi=Xe.heap[--Mt])||(di[2*gi+1]!==mi&&(Xe.opt_len+=(mi-di[2*gi+1])*di[2*gi],di[2*gi+1]=mi),si--)}})(Pe,Me),Ct(At,ri,Pe.bl_count)}function Oe(Pe,Me,ze){var pt,He,At=-1,Tt=Me[1],Lt=0,Ht=7,ri=4;for(Tt===0&&(Ht=138,ri=3),Me[2*(ze+1)+1]=65535,pt=0;pt<=ze;pt++)He=Tt,Tt=Me[2*(pt+1)+1],++Lt<Ht&&He===Tt||(Lt<ri?Pe.bl_tree[2*He]+=Lt:He!==0?(He!==At&&Pe.bl_tree[2*He]++,Pe.bl_tree[2*O]++):Lt<=10?Pe.bl_tree[2*P]++:Pe.bl_tree[2*U]++,At=He,ri=(Lt=0)===Tt?(Ht=138,3):He===Tt?(Ht=6,3):(Ht=7,4))}function Ft(Pe,Me,ze){var pt,He,At=-1,Tt=Me[1],Lt=0,Ht=7,ri=4;for(Tt===0&&(Ht=138,ri=3),pt=0;pt<=ze;pt++)if(He=Tt,Tt=Me[2*(pt+1)+1],!(++Lt<Ht&&He===Tt)){if(Lt<ri)for(;Dt(Pe,He,Pe.bl_tree),--Lt!=0;);else He!==0?(He!==At&&(Dt(Pe,He,Pe.bl_tree),Lt--),Dt(Pe,O,Pe.bl_tree),ft(Pe,Lt-3,2)):Lt<=10?(Dt(Pe,P,Pe.bl_tree),ft(Pe,Lt-3,3)):(Dt(Pe,U,Pe.bl_tree),ft(Pe,Lt-11,7));At=He,ri=(Lt=0)===Tt?(Ht=138,3):He===Tt?(Ht=6,3):(Ht=7,4)}}r(qe);var ge=!1;function Ue(Pe,Me,ze,pt){ft(Pe,(l<<1)+(pt?1:0),3),(function(He,At,Tt,Lt){ii(He),Lt&&(It(He,Tt),It(He,~Tt)),n.arraySet(He.pending_buf,He.window,At,Tt,He.pending),He.pending+=Tt})(Pe,Me,ze,!0)}i._tr_init=function(Pe){ge||((function(){var Me,ze,pt,He,At,Tt=new Array(T+1);for(He=pt=0;He<d-1;He++)for(Ae[He]=pt,Me=0;Me<1<<Z[He];Me++)ee[pt++]=He;for(ee[pt-1]=He,He=At=0;He<16;He++)for(qe[He]=At,Me=0;Me<1<<ne[He];Me++)Re[At++]=He;for(At>>=7;He<I;He++)for(qe[He]=At<<7,Me=0;Me<1<<ne[He]-7;Me++)Re[256+At++]=He;for(ze=0;ze<=T;ze++)Tt[ze]=0;for(Me=0;Me<=143;)se[2*Me+1]=8,Me++,Tt[8]++;for(;Me<=255;)se[2*Me+1]=9,Me++,Tt[9]++;for(;Me<=279;)se[2*Me+1]=7,Me++,Tt[7]++;for(;Me<=287;)se[2*Me+1]=8,Me++,Tt[8]++;for(Ct(se,p+1,Tt),Me=0;Me<I;Me++)he[2*Me+1]=5,he[2*Me]=Zt(Me,5);Ee=new St(se,Z,h+1,p,T),Ce=new St(he,ne,0,I,T),Qe=new St(new Array(0),K,0,m,b)})(),ge=!0),Pe.l_desc=new $e(Pe.dyn_ltree,Ee),Pe.d_desc=new $e(Pe.dyn_dtree,Ce),Pe.bl_desc=new $e(Pe.bl_tree,Qe),Pe.bi_buf=0,Pe.bi_valid=0,Ut(Pe)},i._tr_stored_block=Ue,i._tr_flush_block=function(Pe,Me,ze,pt){var He,At,Tt=0;0<Pe.level?(Pe.strm.data_type===2&&(Pe.strm.data_type=(function(Lt){var Ht,ri=4093624447;for(Ht=0;Ht<=31;Ht++,ri>>>=1)if(1&ri&&Lt.dyn_ltree[2*Ht]!==0)return s;if(Lt.dyn_ltree[18]!==0||Lt.dyn_ltree[20]!==0||Lt.dyn_ltree[26]!==0)return o;for(Ht=32;Ht<h;Ht++)if(Lt.dyn_ltree[2*Ht]!==0)return o;return s})(Pe)),jt(Pe,Pe.l_desc),jt(Pe,Pe.d_desc),Tt=(function(Lt){var Ht;for(Oe(Lt,Lt.dyn_ltree,Lt.l_desc.max_code),Oe(Lt,Lt.dyn_dtree,Lt.d_desc.max_code),jt(Lt,Lt.bl_desc),Ht=m-1;3<=Ht&&Lt.bl_tree[2*oe[Ht]+1]===0;Ht--);return Lt.opt_len+=3*(Ht+1)+5+5+4,Ht})(Pe),He=Pe.opt_len+3+7>>>3,(At=Pe.static_len+3+7>>>3)<=He&&(He=At)):He=At=ze+5,ze+4<=He&&Me!==-1?Ue(Pe,Me,ze,pt):Pe.strategy===4||At===He?(ft(Pe,2+(pt?1:0),3),ui(Pe,se,he)):(ft(Pe,4+(pt?1:0),3),(function(Lt,Ht,ri,Xe){var We;for(ft(Lt,Ht-257,5),ft(Lt,ri-1,5),ft(Lt,Xe-4,4),We=0;We<Xe;We++)ft(Lt,Lt.bl_tree[2*oe[We]+1],3);Ft(Lt,Lt.dyn_ltree,Ht-1),Ft(Lt,Lt.dyn_dtree,ri-1)})(Pe,Pe.l_desc.max_code+1,Pe.d_desc.max_code+1,Tt+1),ui(Pe,Pe.dyn_ltree,Pe.dyn_dtree)),Ut(Pe),pt&&ii(Pe)},i._tr_tally=function(Pe,Me,ze){return Pe.pending_buf[Pe.d_buf+2*Pe.last_lit]=Me>>>8&255,Pe.pending_buf[Pe.d_buf+2*Pe.last_lit+1]=255&Me,Pe.pending_buf[Pe.l_buf+Pe.last_lit]=255&ze,Pe.last_lit++,Me===0?Pe.dyn_ltree[2*ze]++:(Pe.matches++,Me--,Pe.dyn_ltree[2*(ee[ze]+h+1)]++,Pe.dyn_dtree[2*ke(Me)]++),Pe.last_lit===Pe.lit_bufsize-1},i._tr_align=function(Pe){ft(Pe,2,3),Dt(Pe,A,se),(function(Me){Me.bi_valid===16?(It(Me,Me.bi_buf),Me.bi_buf=0,Me.bi_valid=0):8<=Me.bi_valid&&(Me.pending_buf[Me.pending++]=255&Me.bi_buf,Me.bi_buf>>=8,Me.bi_valid-=8)})(Pe)}},{"../utils/common":41}],53:[function(e,t,i){"use strict";t.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(e,t,i){(function(n){(function(s,o){"use strict";if(!s.setImmediate){var r,l,d,h,p=1,I={},m=!1,y=s.document,T=Object.getPrototypeOf&&Object.getPrototypeOf(s);T=T&&T.setTimeout?T:s,r={}.toString.call(s.process)==="[object process]"?function(O){process.nextTick(function(){b(O)})}:(function(){if(s.postMessage&&!s.importScripts){var O=!0,P=s.onmessage;return s.onmessage=function(){O=!1},s.postMessage("","*"),s.onmessage=P,O}})()?(h="setImmediate$"+Math.random()+"$",s.addEventListener?s.addEventListener("message",A,!1):s.attachEvent("onmessage",A),function(O){s.postMessage(h+O,"*")}):s.MessageChannel?((d=new MessageChannel).port1.onmessage=function(O){b(O.data)},function(O){d.port2.postMessage(O)}):y&&"onreadystatechange"in y.createElement("script")?(l=y.documentElement,function(O){var P=y.createElement("script");P.onreadystatechange=function(){b(O),P.onreadystatechange=null,l.removeChild(P),P=null},l.appendChild(P)}):function(O){setTimeout(b,0,O)},T.setImmediate=function(O){typeof O!="function"&&(O=new Function(""+O));for(var P=new Array(arguments.length-1),U=0;U<P.length;U++)P[U]=arguments[U+1];var Z={callback:O,args:P};return I[p]=Z,r(p),p++},T.clearImmediate=R}function R(O){delete I[O]}function b(O){if(m)setTimeout(b,0,O);else{var P=I[O];if(P){m=!0;try{(function(U){var Z=U.callback,ne=U.args;switch(ne.length){case 0:Z();break;case 1:Z(ne[0]);break;case 2:Z(ne[0],ne[1]);break;case 3:Z(ne[0],ne[1],ne[2]);break;default:Z.apply(o,ne)}})(P)}finally{R(O),m=!1}}}}function A(O){O.source===s&&typeof O.data=="string"&&O.data.indexOf(h)===0&&b(+O.data.slice(h.length))}})(typeof self>"u"?n===void 0?this:n:self)}).call(this,typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{}]},{},[10])(10)})});var fj={};wee(fj,{ACESFilmicToneMapping:()=>jP,AddEquation:()=>Nc,AddOperation:()=>sG,AdditiveAnimationBlendMode:()=>qY,AdditiveBlending:()=>LT,AgXToneMapping:()=>qP,AlphaFormat:()=>xC,AlwaysCompare:()=>XP,AlwaysDepth:()=>Rb,AlwaysStencilFunc:()=>rP,AmbientLight:()=>Jv,AnimationAction:()=>QH,AnimationClip:()=>Vb,AnimationLoader:()=>dY,AnimationMixer:()=>RY,AnimationObjectGroup:()=>vY,AnimationUtils:()=>cY,ArcCurve:()=>AH,ArrayCamera:()=>bC,ArrowHelper:()=>HY,AttachedBindMode:()=>qW,Audio:()=>ZH,AudioAnalyser:()=>wY,AudioContext:()=>bP,AudioListener:()=>TY,AudioLoader:()=>yY,AxesHelper:()=>GY,BackSide:()=>Js,BasicDepthPacking:()=>bte,BasicShadowMap:()=>WY,BatchedMesh:()=>$v,BezierInterpolant:()=>zH,Bone:()=>uP,BooleanKeyframeTrack:()=>iw,Box2:()=>DY,Box3:()=>kn,Box3Helper:()=>UY,BoxGeometry:()=>pr,BoxHelper:()=>FY,BufferAttribute:()=>Tn,BufferGeometry:()=>nn,BufferGeometryLoader:()=>jH,ByteType:()=>FT,Cache:()=>ST,Camera:()=>wC,CameraHelper:()=>DP,CanvasTexture:()=>lY,CapsuleGeometry:()=>wH,CatmullRomCurve3:()=>bH,CineonToneMapping:()=>YP,CircleGeometry:()=>vH,ClampToEdgeWrapping:()=>_u,Clock:()=>NP,Color:()=>Oi,ColorKeyframeTrack:()=>wP,ColorManagement:()=>Hn,Compatibility:()=>dw,CompressedArrayTexture:()=>oY,CompressedCubeTexture:()=>rY,CompressedTexture:()=>aC,CompressedTextureLoader:()=>hY,ConeGeometry:()=>dP,ConstantAlphaFactor:()=>gte,ConstantColorFactor:()=>Ete,Controls:()=>CP,CubeCamera:()=>AC,CubeDepthTexture:()=>uC,CubeReflectionMapping:()=>Ef,CubeRefractionMapping:()=>VI,CubeTexture:()=>Nm,CubeTextureLoader:()=>fY,CubeUVReflectionMapping:()=>BT,CubicBezierCurve:()=>hP,CubicBezierCurve3:()=>NH,CubicInterpolant:()=>VH,CullFaceBack:()=>xP,CullFaceFront:()=>XH,CullFaceFrontBack:()=>efe,CullFaceNone:()=>JH,Curve:()=>GI,CurvePath:()=>DH,CustomBlending:()=>ow,CustomToneMapping:()=>YY,CylinderGeometry:()=>Lr,Cylindrical:()=>_Y,Data3DTexture:()=>sC,DataArrayTexture:()=>Yv,DataTexture:()=>Ih,DataTextureLoader:()=>pY,DataUtils:()=>QW,DecrementStencilOp:()=>JY,DecrementWrapStencilOp:()=>ej,DefaultLoadingManager:()=>Ote,DepthFormat:()=>Aa,DepthStencilFormat:()=>$c,DepthTexture:()=>Zl,DetachedBindMode:()=>vte,DirectionalLight:()=>sw,DirectionalLightHelper:()=>BY,DiscreteInterpolant:()=>kH,DodecahedronGeometry:()=>RH,DoubleSide:()=>so,DstAlphaFactor:()=>UP,DstColorFactor:()=>GP,DynamicCopyUsage:()=>Ife,DynamicDrawUsage:()=>Xb,DynamicReadUsage:()=>hfe,EdgesGeometry:()=>SH,EllipseCurve:()=>cC,EqualCompare:()=>QP,EqualDepth:()=>Ab,EqualStencilFunc:()=>sj,EquirectangularReflectionMapping:()=>rw,EquirectangularRefractionMapping:()=>lw,Euler:()=>UI,EventDispatcher:()=>jc,ExternalTexture:()=>cP,ExtrudeGeometry:()=>LH,FileLoader:()=>_m,Float16BufferAttribute:()=>rC,Float32BufferAttribute:()=>ln,FloatType:()=>Ro,Fog:()=>IH,FogExp2:()=>pH,FramebufferTexture:()=>Mb,FrontSide:()=>$l,Frustum:()=>F0,FrustumArray:()=>lC,GLBufferAttribute:()=>NY,GLSL1:()=>yfe,GLSL3:()=>e7,GreaterCompare:()=>Jb,GreaterDepth:()=>Nb,GreaterEqualCompare:()=>Ty,GreaterEqualDepth:()=>bb,GreaterEqualStencilFunc:()=>aj,GreaterStencilFunc:()=>rj,GridHelper:()=>PY,Group:()=>Zo,HTMLTexture:()=>aY,HalfFloatType:()=>sr,HemisphereLight:()=>gC,HemisphereLightHelper:()=>LY,IcosahedronGeometry:()=>PH,ImageBitmapLoader:()=>mY,ImageLoader:()=>kb,ImageUtils:()=>fH,IncrementStencilOp:()=>QY,IncrementWrapStencilOp:()=>XY,InstancedBufferAttribute:()=>B0,InstancedBufferGeometry:()=>Xv,InstancedInterleavedBuffer:()=>Dm,InstancedMesh:()=>Pb,Int16BufferAttribute:()=>eY,Int32BufferAttribute:()=>tY,Int8BufferAttribute:()=>JW,IntType:()=>Ya,InterleavedBuffer:()=>qv,InterleavedBufferAttribute:()=>Du,Interpolant:()=>Kv,InterpolateBezier:()=>$W,InterpolateDiscrete:()=>sP,InterpolateLinear:()=>hH,InterpolateSmooth:()=>aH,InterpolationSamplingMode:()=>Tfe,InterpolationSamplingType:()=>Efe,InvertStencilOp:()=>tj,KeepStencilOp:()=>Qg,KeyframeTrack:()=>hp,LOD:()=>yH,LatheGeometry:()=>MH,Layers:()=>oC,LessCompare:()=>OC,LessDepth:()=>Sb,LessEqualCompare:()=>jT,LessEqualDepth:()=>AT,LessEqualStencilFunc:()=>oj,LessStencilFunc:()=>nj,Light:()=>OT,LightProbe:()=>SC,Line:()=>nr,Line3:()=>ds,LineBasicMaterial:()=>Qo,LineCurve:()=>fP,LineCurve3:()=>_H,LineDashedMaterial:()=>xT,LineLoop:()=>ew,LineSegments:()=>xs,LinearFilter:()=>Us,LinearInterpolant:()=>gP,LinearMipMapLinearFilter:()=>jY,LinearMipMapNearestFilter:()=>nfe,LinearMipmapLinearFilter:()=>qc,LinearMipmapNearestFilter:()=>aw,LinearSRGBColorSpace:()=>kv,LinearToneMapping:()=>zP,LinearTransfer:()=>zv,Loader:()=>U0,LoaderUtils:()=>AP,LoadingManager:()=>vP,LoopOnce:()=>Rte,LoopPingPong:()=>Ate,LoopRepeat:()=>Ste,MOUSE:()=>zY,Material:()=>za,MaterialBlending:()=>OP,MaterialLoader:()=>SP,MathUtils:()=>cr,Matrix2:()=>NC,Matrix3:()=>Qn,Matrix4:()=>Ai,MaxEquation:()=>iG,Mesh:()=>_i,MeshBasicMaterial:()=>Ho,MeshDepthMaterial:()=>EP,MeshDistanceMaterial:()=>TP,MeshLambertMaterial:()=>tw,MeshMatcapMaterial:()=>TC,MeshNormalMaterial:()=>EC,MeshPhongMaterial:()=>mC,MeshPhysicalMaterial:()=>IC,MeshStandardMaterial:()=>Fb,MeshToonMaterial:()=>yC,MinEquation:()=>tG,MirroredRepeatWrapping:()=>NT,MixOperation:()=>nG,MultiplyBlending:()=>MT,MultiplyOperation:()=>zb,NearestFilter:()=>Vs,NearestMipMapLinearFilter:()=>ife,NearestMipMapNearestFilter:()=>tfe,NearestMipmapLinearFilter:()=>Om,NearestMipmapNearestFilter:()=>CC,NeutralToneMapping:()=>$P,NeverCompare:()=>KP,NeverDepth:()=>vb,NeverStencilFunc:()=>ij,NoBlending:()=>Na,NoColorSpace:()=>Eh,NoNormalPacking:()=>ZP,NoToneMapping:()=>_c,NormalAnimationBlendMode:()=>aG,NormalBlending:()=>Yc,NormalGAPacking:()=>$Y,NormalRGPacking:()=>cG,NotEqualCompare:()=>JP,NotEqualDepth:()=>_b,NotEqualStencilFunc:()=>lj,NumberKeyframeTrack:()=>Ub,Object3D:()=>ps,ObjectLoader:()=>qH,ObjectSpaceNormalMap:()=>uG,OctahedronGeometry:()=>DT,OneFactor:()=>MP,OneMinusConstantAlphaFactor:()=>wte,OneMinusConstantColorFactor:()=>Tte,OneMinusDstAlphaFactor:()=>HP,OneMinusDstColorFactor:()=>VP,OneMinusSrcAlphaFactor:()=>Vv,OneMinusSrcColorFactor:()=>FP,OrthographicCamera:()=>ba,PCFShadowMap:()=>eR,PCFSoftShadowMap:()=>eG,PMREMGenerator:()=>mG,Path:()=>dC,PerspectiveCamera:()=>xo,Plane:()=>es,PlaneGeometry:()=>dp,PlaneHelper:()=>_C,PointLight:()=>vC,PointLightHelper:()=>OY,Points:()=>my,PointsMaterial:()=>_T,PolarGridHelper:()=>MY,PolyhedronGeometry:()=>Zv,PositionalAudio:()=>gY,PropertyBinding:()=>$o,PropertyMixer:()=>KH,QuadraticBezierCurve:()=>pP,QuadraticBezierCurve3:()=>Bb,Quaternion:()=>Gs,QuaternionKeyframeTrack:()=>Hb,QuaternionLinearInterpolant:()=>WH,R11_EAC_Format:()=>rR,RED_GREEN_RGTC2_Format:()=>YT,RED_RGTC1_Format:()=>SR,REVISION:()=>Cm,RG11_EAC_Format:()=>WT,RGBADepthPacking:()=>lfe,RGBAFormat:()=>Ko,RGBAIntegerFormat:()=>iR,RGBA_ASTC_10x10_Format:()=>gR,RGBA_ASTC_10x5_Format:()=>yR,RGBA_ASTC_10x6_Format:()=>ER,RGBA_ASTC_10x8_Format:()=>TR,RGBA_ASTC_12x10_Format:()=>wR,RGBA_ASTC_12x12_Format:()=>vR,RGBA_ASTC_4x4_Format:()=>uR,RGBA_ASTC_5x4_Format:()=>cR,RGBA_ASTC_5x5_Format:()=>dR,RGBA_ASTC_6x5_Format:()=>hR,RGBA_ASTC_6x6_Format:()=>fR,RGBA_ASTC_8x5_Format:()=>pR,RGBA_ASTC_8x6_Format:()=>IR,RGBA_ASTC_8x8_Format:()=>mR,RGBA_BPTC_Format:()=>RR,RGBA_ETC2_EAC_Format:()=>oR,RGBA_PVRTC_2BPPV1_Format:()=>Qb,RGBA_PVRTC_4BPPV1_Format:()=>Kb,RGBA_S3TC_DXT1_Format:()=>VT,RGBA_S3TC_DXT3_Format:()=>kT,RGBA_S3TC_DXT5_Format:()=>zT,RGBDepthPacking:()=>afe,RGBFormat:()=>tR,RGBIntegerFormat:()=>oG,RGB_BPTC_SIGNED_Format:()=>rG,RGB_BPTC_UNSIGNED_Format:()=>lG,RGB_ETC1_Format:()=>nR,RGB_ETC2_Format:()=>sR,RGB_PVRTC_2BPPV1_Format:()=>Zb,RGB_PVRTC_4BPPV1_Format:()=>$b,RGB_S3TC_DXT1_Format:()=>GT,RGDepthPacking:()=>ufe,RGFormat:()=>Dc,RGIntegerFormat:()=>cw,RawShaderMaterial:()=>yP,Ray:()=>Wa,Raycaster:()=>fp,RectAreaLight:()=>RC,RedFormat:()=>uw,RedIntegerFormat:()=>HT,ReinhardToneMapping:()=>WP,RenderTarget:()=>yf,RenderTarget3D:()=>SY,RepeatWrapping:()=>bT,ReplaceStencilOp:()=>KY,ReverseSubtractEquation:()=>PP,RingGeometry:()=>BH,SIGNED_R11_EAC_Format:()=>lR,SIGNED_RED_GREEN_RGTC2_Format:()=>bR,SIGNED_RED_RGTC1_Format:()=>AR,SIGNED_RG11_EAC_Format:()=>aR,SRGBColorSpace:()=>Va,SRGBTransfer:()=>pn,Scene:()=>HI,ShaderChunk:()=>Ps,ShaderLib:()=>gf,ShaderMaterial:()=>Kl,ShadowMaterial:()=>pC,Shape:()=>Jg,ShapeGeometry:()=>FH,ShapePath:()=>VY,ShapeUtils:()=>Iy,ShortType:()=>UT,Skeleton:()=>TH,SkeletonHelper:()=>xY,SkinnedMesh:()=>EH,Source:()=>RT,Sphere:()=>no,SphereGeometry:()=>yy,Spherical:()=>_P,SphericalHarmonics3:()=>RP,SplineCurve:()=>IP,SpotLight:()=>Qv,SpotLightHelper:()=>CY,Sprite:()=>mH,SpriteMaterial:()=>Lb,SrcAlphaFactor:()=>Gv,SrcAlphaSaturateFactor:()=>kP,SrcColorFactor:()=>BP,StaticCopyUsage:()=>pfe,StaticDrawUsage:()=>Xg,StaticReadUsage:()=>dfe,StereoCamera:()=>EY,StreamCopyUsage:()=>mfe,StreamDrawUsage:()=>cfe,StreamReadUsage:()=>ffe,StringKeyframeTrack:()=>nw,SubtractEquation:()=>LP,SubtractiveBlending:()=>PT,TOUCH:()=>Xhe,TangentSpaceNormalMap:()=>kI,TetrahedronGeometry:()=>UH,Texture:()=>wr,TextureLoader:()=>IY,TextureUtils:()=>kY,Timer:()=>$H,TimestampQuery:()=>Lm,TorusGeometry:()=>CT,TorusKnotGeometry:()=>HH,Triangle:()=>fr,TriangleFanDrawMode:()=>rfe,TriangleStripDrawMode:()=>ofe,TrianglesDrawMode:()=>sfe,TubeGeometry:()=>GH,UVMapping:()=>DC,Uint16BufferAttribute:()=>xb,Uint32BufferAttribute:()=>Ob,Uint8BufferAttribute:()=>aP,Uint8ClampedBufferAttribute:()=>XW,Uniform:()=>AY,UniformsGroup:()=>bY,UniformsLib:()=>an,UniformsUtils:()=>eN,UnsignedByteType:()=>Lo,UnsignedInt101111Type:()=>qb,UnsignedInt248Type:()=>yh,UnsignedInt5999Type:()=>jb,UnsignedIntType:()=>co,UnsignedShort4444Type:()=>Wb,UnsignedShort5551Type:()=>Yb,UnsignedShortType:()=>mh,VSMShadowMap:()=>xm,Vector2:()=>hi,Vector3:()=>ye,Vector4:()=>xn,VectorKeyframeTrack:()=>Gb,VideoFrameTexture:()=>sY,VideoTexture:()=>gH,WebGL3DRenderTarget:()=>KW,WebGLArrayRenderTarget:()=>ZW,WebGLCoordinateSystem:()=>Wc,WebGLCubeRenderTarget:()=>yG,WebGLRenderTarget:()=>ka,WebGLRenderer:()=>s7,WebGLUtils:()=>rpe,WebGPUCoordinateSystem:()=>mf,WebXRController:()=>jv,WireframeGeometry:()=>fC,WrapAroundEnding:()=>oP,ZeroCurvatureEnding:()=>gb,ZeroFactor:()=>Ey,ZeroSlopeEnding:()=>wb,ZeroStencilOp:()=>ZY,createCanvasElement:()=>dG,error:()=>yi,getConsoleFunction:()=>wfe,log:()=>Cb,setConsoleFunction:()=>gfe,warn:()=>ci,warnOnce:()=>Oo});var Cm="184",zY={LEFT:0,MIDDLE:1,RIGHT:2,ROTATE:0,DOLLY:1,PAN:2},Xhe={ROTATE:0,PAN:1,DOLLY_PAN:2,DOLLY_ROTATE:3},JH=0,xP=1,XH=2,efe=3,WY=0,eR=1,eG=2,xm=3,$l=0,Js=1,so=2,Na=0,Yc=1,LT=2,PT=3,MT=4,ow=5,OP=6,Nc=100,LP=101,PP=102,tG=103,iG=104,Ey=200,MP=201,BP=202,FP=203,Gv=204,Vv=205,UP=206,HP=207,GP=208,VP=209,kP=210,Ete=211,Tte=212,gte=213,wte=214,vb=0,Rb=1,Sb=2,AT=3,Ab=4,bb=5,Nb=6,_b=7,zb=0,nG=1,sG=2,_c=0,zP=1,WP=2,YP=3,jP=4,YY=5,qP=6,$P=7,qW="attached",vte="detached",DC=300,Ef=301,VI=302,rw=303,lw=304,BT=306,bT=1e3,_u=1001,NT=1002,Vs=1003,CC=1004,tfe=1004,Om=1005,ife=1005,Us=1006,aw=1007,nfe=1007,qc=1008,jY=1008,Lo=1009,FT=1010,UT=1011,mh=1012,Ya=1013,co=1014,Ro=1015,sr=1016,Wb=1017,Yb=1018,yh=1020,jb=35902,qb=35899,xC=1021,tR=1022,Ko=1023,Aa=1026,$c=1027,uw=1028,HT=1029,Dc=1030,cw=1031,oG=1032,iR=1033,GT=33776,VT=33777,kT=33778,zT=33779,$b=35840,Zb=35841,Kb=35842,Qb=35843,nR=36196,sR=37492,oR=37496,rR=37488,lR=37489,WT=37490,aR=37491,uR=37808,cR=37809,dR=37810,hR=37811,fR=37812,pR=37813,IR=37814,mR=37815,yR=37816,ER=37817,TR=37818,gR=37819,wR=37820,vR=37821,RR=36492,rG=36494,lG=36495,SR=36283,AR=36284,YT=36285,bR=36286,Rte=2200,Ste=2201,Ate=2202,sP=2300,hH=2301,aH=2302,$W=2303,gb=2400,wb=2401,oP=2402,aG=2500,qY=2501,sfe=0,ofe=1,rfe=2,bte=3200,lfe=3201,afe=3202,ufe=3203,kI=0,uG=1,Eh="",Va="srgb",kv="srgb-linear",zv="linear",pn="srgb",ZP="",cG="rg",$Y="ga",ZY=0,Qg=7680,KY=7681,QY=7682,JY=7683,XY=34055,ej=34056,tj=5386,ij=512,nj=513,sj=514,oj=515,rj=516,lj=517,aj=518,rP=519,KP=512,OC=513,QP=514,jT=515,Jb=516,JP=517,Ty=518,XP=519,Xg=35044,Xb=35048,cfe=35040,dfe=35045,hfe=35049,ffe=35041,pfe=35046,Ife=35050,mfe=35042,yfe="100",e7="300 es",Wc=2e3,mf=2001,Lm={COMPUTE:"compute",RENDER:"render"},Efe={PERSPECTIVE:"perspective",LINEAR:"linear",FLAT:"flat"},Tfe={NORMAL:"normal",CENTROID:"centroid",SAMPLE:"sample",FIRST:"first",EITHER:"either"},dw={TEXTURE_COMPARE:"depthTextureCompare"};function CRe(e){for(let t=e.length-1;t>=0;--t)if(e[t]>=65535)return!0;return!1}var xRe={Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array};function iP(e,t){return new xRe[e](t)}function LC(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function lP(e){return document.createElementNS("http://www.w3.org/1999/xhtml",e)}function dG(){let e=lP("canvas");return e.style.display="block",e}var W0e={},Db=null;function gfe(e){Db=e}function wfe(){return Db}function Cb(...e){let t="THREE."+e.shift();Db?Db("log",t,...e):console.log(t,...e)}function vfe(e){let t=e[0];if(typeof t=="string"&&t.startsWith("TSL:")){let i=e[1];i&&i.isStackTrace?e[0]+=" "+i.getLocation():e[1]='Stack trace not available. Enable "THREE.Node.captureStackTrace" to capture stack traces.'}return e}function ci(...e){e=vfe(e);let t="THREE."+e.shift();if(Db)Db("warn",t,...e);else{let i=e[0];i&&i.isStackTrace?console.warn(i.getError(t)):console.warn(t,...e)}}function yi(...e){e=vfe(e);let t="THREE."+e.shift();if(Db)Db("error",t,...e);else{let i=e[0];i&&i.isStackTrace?console.error(i.getError(t)):console.error(t,...e)}}function Oo(...e){let t=e.join(" ");t in W0e||(W0e[t]=!0,ci(...e))}function Nte(){return typeof self<"u"&&typeof self.scheduler<"u"&&typeof self.scheduler.yield<"u"?self.scheduler.yield():new Promise(e=>{requestAnimationFrame(e)})}function Rfe(e,t,i){return new Promise(function(n,s){function o(){switch(e.clientWaitSync(t,e.SYNC_FLUSH_COMMANDS_BIT,0)){case e.WAIT_FAILED:s();break;case e.TIMEOUT_EXPIRED:setTimeout(o,i);break;default:n()}}setTimeout(o,i)})}var hG={[vb]:Rb,[Sb]:Nb,[Ab]:_b,[AT]:bb,[Rb]:vb,[Nb]:Sb,[_b]:Ab,[bb]:AT},jc=class{addEventListener(t,i){this._listeners===void 0&&(this._listeners={});let n=this._listeners;n[t]===void 0&&(n[t]=[]),n[t].indexOf(i)===-1&&n[t].push(i)}hasEventListener(t,i){let n=this._listeners;return n===void 0?!1:n[t]!==void 0&&n[t].indexOf(i)!==-1}removeEventListener(t,i){let n=this._listeners;if(n===void 0)return;let s=n[t];if(s!==void 0){let o=s.indexOf(i);o!==-1&&s.splice(o,1)}}dispatchEvent(t){let i=this._listeners;if(i===void 0)return;let n=i[t.type];if(n!==void 0){t.target=this;let s=n.slice(0);for(let o=0,r=s.length;o<r;o++)s[o].call(this,t);t.target=null}}},ff=["00","01","02","03","04","05","06","07","08","09","0a","0b","0c","0d","0e","0f","10","11","12","13","14","15","16","17","18","19","1a","1b","1c","1d","1e","1f","20","21","22","23","24","25","26","27","28","29","2a","2b","2c","2d","2e","2f","30","31","32","33","34","35","36","37","38","39","3a","3b","3c","3d","3e","3f","40","41","42","43","44","45","46","47","48","49","4a","4b","4c","4d","4e","4f","50","51","52","53","54","55","56","57","58","59","5a","5b","5c","5d","5e","5f","60","61","62","63","64","65","66","67","68","69","6a","6b","6c","6d","6e","6f","70","71","72","73","74","75","76","77","78","79","7a","7b","7c","7d","7e","7f","80","81","82","83","84","85","86","87","88","89","8a","8b","8c","8d","8e","8f","90","91","92","93","94","95","96","97","98","99","9a","9b","9c","9d","9e","9f","a0","a1","a2","a3","a4","a5","a6","a7","a8","a9","aa","ab","ac","ad","ae","af","b0","b1","b2","b3","b4","b5","b6","b7","b8","b9","ba","bb","bc","bd","be","bf","c0","c1","c2","c3","c4","c5","c6","c7","c8","c9","ca","cb","cc","cd","ce","cf","d0","d1","d2","d3","d4","d5","d6","d7","d8","d9","da","db","dc","dd","de","df","e0","e1","e2","e3","e4","e5","e6","e7","e8","e9","ea","eb","ec","ed","ee","ef","f0","f1","f2","f3","f4","f5","f6","f7","f8","f9","fa","fb","fc","fd","fe","ff"],Y0e=1234567,nC=Math.PI/180,Wv=180/Math.PI;function bm(){let e=Math.random()*4294967295|0,t=Math.random()*4294967295|0,i=Math.random()*4294967295|0,n=Math.random()*4294967295|0;return(ff[e&255]+ff[e>>8&255]+ff[e>>16&255]+ff[e>>24&255]+"-"+ff[t&255]+ff[t>>8&255]+"-"+ff[t>>16&15|64]+ff[t>>24&255]+"-"+ff[i&63|128]+ff[i>>8&255]+"-"+ff[i>>16&255]+ff[i>>24&255]+ff[n&255]+ff[n>>8&255]+ff[n>>16&255]+ff[n>>24&255]).toLowerCase()}function cs(e,t,i){return Math.max(t,Math.min(i,e))}function _te(e,t){return(e%t+t)%t}function ORe(e,t,i,n,s){return n+(e-t)*(s-n)/(i-t)}function LRe(e,t,i){return e!==t?(i-e)/(t-e):0}function uH(e,t,i){return(1-i)*e+i*t}function PRe(e,t,i,n){return uH(e,t,1-Math.exp(-i*n))}function MRe(e,t=1){return t-Math.abs(_te(e,t*2)-t)}function BRe(e,t,i){return e<=t?0:e>=i?1:(e=(e-t)/(i-t),e*e*(3-2*e))}function FRe(e,t,i){return e<=t?0:e>=i?1:(e=(e-t)/(i-t),e*e*e*(e*(e*6-15)+10))}function URe(e,t){return e+Math.floor(Math.random()*(t-e+1))}function HRe(e,t){return e+Math.random()*(t-e)}function GRe(e){return e*(.5-Math.random())}function VRe(e){e!==void 0&&(Y0e=e);let t=Y0e+=1831565813;return t=Math.imul(t^t>>>15,t|1),t^=t+Math.imul(t^t>>>7,t|61),((t^t>>>14)>>>0)/4294967296}function kRe(e){return e*nC}function zRe(e){return e*Wv}function WRe(e){return(e&e-1)===0&&e!==0}function YRe(e){return Math.pow(2,Math.ceil(Math.log(e)/Math.LN2))}function jRe(e){return Math.pow(2,Math.floor(Math.log(e)/Math.LN2))}function qRe(e,t,i,n,s){let o=Math.cos,r=Math.sin,l=o(i/2),d=r(i/2),h=o((t+n)/2),p=r((t+n)/2),I=o((t-n)/2),m=r((t-n)/2),y=o((n-t)/2),T=r((n-t)/2);switch(s){case"XYX":e.set(l*p,d*I,d*m,l*h);break;case"YZY":e.set(d*m,l*p,d*I,l*h);break;case"ZXZ":e.set(d*I,d*m,l*p,l*h);break;case"XZX":e.set(l*p,d*T,d*y,l*h);break;case"YXY":e.set(d*y,l*p,d*T,l*h);break;case"ZYZ":e.set(d*T,d*y,l*p,l*h);break;default:ci("MathUtils: .setQuaternionFromProperEuler() encountered an unknown order: "+s)}}function cp(e,t){switch(t.constructor){case Float32Array:return e;case Uint32Array:return e/4294967295;case Uint16Array:return e/65535;case Uint8Array:return e/255;case Int32Array:return Math.max(e/2147483647,-1);case Int16Array:return Math.max(e/32767,-1);case Int8Array:return Math.max(e/127,-1);default:throw new Error("Invalid component type.")}}function Cs(e,t){switch(t.constructor){case Float32Array:return e;case Uint32Array:return Math.round(e*4294967295);case Uint16Array:return Math.round(e*65535);case Uint8Array:return Math.round(e*255);case Int32Array:return Math.round(e*2147483647);case Int16Array:return Math.round(e*32767);case Int8Array:return Math.round(e*127);default:throw new Error("Invalid component type.")}}var cr={DEG2RAD:nC,RAD2DEG:Wv,generateUUID:bm,clamp:cs,euclideanModulo:_te,mapLinear:ORe,inverseLerp:LRe,lerp:uH,damp:PRe,pingpong:MRe,smoothstep:BRe,smootherstep:FRe,randInt:URe,randFloat:HRe,randFloatSpread:GRe,seededRandom:VRe,degToRad:kRe,radToDeg:zRe,isPowerOfTwo:WRe,ceilPowerOfTwo:YRe,floorPowerOfTwo:jRe,setQuaternionFromProperEuler:qRe,normalize:Cs,denormalize:cp},hi=class e{static{e.prototype.isVector2=!0}constructor(t=0,i=0){this.x=t,this.y=i}get width(){return this.x}set width(t){this.x=t}get height(){return this.y}set height(t){this.y=t}set(t,i){return this.x=t,this.y=i,this}setScalar(t){return this.x=t,this.y=t,this}setX(t){return this.x=t,this}setY(t){return this.y=t,this}setComponent(t,i){switch(t){case 0:this.x=i;break;case 1:this.y=i;break;default:throw new Error("index is out of range: "+t)}return this}getComponent(t){switch(t){case 0:return this.x;case 1:return this.y;default:throw new Error("index is out of range: "+t)}}clone(){return new this.constructor(this.x,this.y)}copy(t){return this.x=t.x,this.y=t.y,this}add(t){return this.x+=t.x,this.y+=t.y,this}addScalar(t){return this.x+=t,this.y+=t,this}addVectors(t,i){return this.x=t.x+i.x,this.y=t.y+i.y,this}addScaledVector(t,i){return this.x+=t.x*i,this.y+=t.y*i,this}sub(t){return this.x-=t.x,this.y-=t.y,this}subScalar(t){return this.x-=t,this.y-=t,this}subVectors(t,i){return this.x=t.x-i.x,this.y=t.y-i.y,this}multiply(t){return this.x*=t.x,this.y*=t.y,this}multiplyScalar(t){return this.x*=t,this.y*=t,this}divide(t){return this.x/=t.x,this.y/=t.y,this}divideScalar(t){return this.multiplyScalar(1/t)}applyMatrix3(t){let i=this.x,n=this.y,s=t.elements;return this.x=s[0]*i+s[3]*n+s[6],this.y=s[1]*i+s[4]*n+s[7],this}min(t){return this.x=Math.min(this.x,t.x),this.y=Math.min(this.y,t.y),this}max(t){return this.x=Math.max(this.x,t.x),this.y=Math.max(this.y,t.y),this}clamp(t,i){return this.x=cs(this.x,t.x,i.x),this.y=cs(this.y,t.y,i.y),this}clampScalar(t,i){return this.x=cs(this.x,t,i),this.y=cs(this.y,t,i),this}clampLength(t,i){let n=this.length();return this.divideScalar(n||1).multiplyScalar(cs(n,t,i))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}roundToZero(){return this.x=Math.trunc(this.x),this.y=Math.trunc(this.y),this}negate(){return this.x=-this.x,this.y=-this.y,this}dot(t){return this.x*t.x+this.y*t.y}cross(t){return this.x*t.y-this.y*t.x}lengthSq(){return this.x*this.x+this.y*this.y}length(){return Math.sqrt(this.x*this.x+this.y*this.y)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)}normalize(){return this.divideScalar(this.length()||1)}angle(){return Math.atan2(-this.y,-this.x)+Math.PI}angleTo(t){let i=Math.sqrt(this.lengthSq()*t.lengthSq());if(i===0)return Math.PI/2;let n=this.dot(t)/i;return Math.acos(cs(n,-1,1))}distanceTo(t){return Math.sqrt(this.distanceToSquared(t))}distanceToSquared(t){let i=this.x-t.x,n=this.y-t.y;return i*i+n*n}manhattanDistanceTo(t){return Math.abs(this.x-t.x)+Math.abs(this.y-t.y)}setLength(t){return this.normalize().multiplyScalar(t)}lerp(t,i){return this.x+=(t.x-this.x)*i,this.y+=(t.y-this.y)*i,this}lerpVectors(t,i,n){return this.x=t.x+(i.x-t.x)*n,this.y=t.y+(i.y-t.y)*n,this}equals(t){return t.x===this.x&&t.y===this.y}fromArray(t,i=0){return this.x=t[i],this.y=t[i+1],this}toArray(t=[],i=0){return t[i]=this.x,t[i+1]=this.y,t}fromBufferAttribute(t,i){return this.x=t.getX(i),this.y=t.getY(i),this}rotateAround(t,i){let n=Math.cos(i),s=Math.sin(i),o=this.x-t.x,r=this.y-t.y;return this.x=o*n-r*s+t.x,this.y=o*s+r*n+t.y,this}random(){return this.x=Math.random(),this.y=Math.random(),this}*[Symbol.iterator](){yield this.x,yield this.y}},Gs=class{constructor(t=0,i=0,n=0,s=1){this.isQuaternion=!0,this._x=t,this._y=i,this._z=n,this._w=s}static slerpFlat(t,i,n,s,o,r,l){let d=n[s+0],h=n[s+1],p=n[s+2],I=n[s+3],m=o[r+0],y=o[r+1],T=o[r+2],R=o[r+3];if(I!==R||d!==m||h!==y||p!==T){let b=d*m+h*y+p*T+I*R;b<0&&(m=-m,y=-y,T=-T,R=-R,b=-b);let A=1-l;if(b<.9995){let O=Math.acos(b),P=Math.sin(O);A=Math.sin(A*O)/P,l=Math.sin(l*O)/P,d=d*A+m*l,h=h*A+y*l,p=p*A+T*l,I=I*A+R*l}else{d=d*A+m*l,h=h*A+y*l,p=p*A+T*l,I=I*A+R*l;let O=1/Math.sqrt(d*d+h*h+p*p+I*I);d*=O,h*=O,p*=O,I*=O}}t[i]=d,t[i+1]=h,t[i+2]=p,t[i+3]=I}static multiplyQuaternionsFlat(t,i,n,s,o,r){let l=n[s],d=n[s+1],h=n[s+2],p=n[s+3],I=o[r],m=o[r+1],y=o[r+2],T=o[r+3];return t[i]=l*T+p*I+d*y-h*m,t[i+1]=d*T+p*m+h*I-l*y,t[i+2]=h*T+p*y+l*m-d*I,t[i+3]=p*T-l*I-d*m-h*y,t}get x(){return this._x}set x(t){this._x=t,this._onChangeCallback()}get y(){return this._y}set y(t){this._y=t,this._onChangeCallback()}get z(){return this._z}set z(t){this._z=t,this._onChangeCallback()}get w(){return this._w}set w(t){this._w=t,this._onChangeCallback()}set(t,i,n,s){return this._x=t,this._y=i,this._z=n,this._w=s,this._onChangeCallback(),this}clone(){return new this.constructor(this._x,this._y,this._z,this._w)}copy(t){return this._x=t.x,this._y=t.y,this._z=t.z,this._w=t.w,this._onChangeCallback(),this}setFromEuler(t,i=!0){let n=t._x,s=t._y,o=t._z,r=t._order,l=Math.cos,d=Math.sin,h=l(n/2),p=l(s/2),I=l(o/2),m=d(n/2),y=d(s/2),T=d(o/2);switch(r){case"XYZ":this._x=m*p*I+h*y*T,this._y=h*y*I-m*p*T,this._z=h*p*T+m*y*I,this._w=h*p*I-m*y*T;break;case"YXZ":this._x=m*p*I+h*y*T,this._y=h*y*I-m*p*T,this._z=h*p*T-m*y*I,this._w=h*p*I+m*y*T;break;case"ZXY":this._x=m*p*I-h*y*T,this._y=h*y*I+m*p*T,this._z=h*p*T+m*y*I,this._w=h*p*I-m*y*T;break;case"ZYX":this._x=m*p*I-h*y*T,this._y=h*y*I+m*p*T,this._z=h*p*T-m*y*I,this._w=h*p*I+m*y*T;break;case"YZX":this._x=m*p*I+h*y*T,this._y=h*y*I+m*p*T,this._z=h*p*T-m*y*I,this._w=h*p*I-m*y*T;break;case"XZY":this._x=m*p*I-h*y*T,this._y=h*y*I-m*p*T,this._z=h*p*T+m*y*I,this._w=h*p*I+m*y*T;break;default:ci("Quaternion: .setFromEuler() encountered an unknown order: "+r)}return i===!0&&this._onChangeCallback(),this}setFromAxisAngle(t,i){let n=i/2,s=Math.sin(n);return this._x=t.x*s,this._y=t.y*s,this._z=t.z*s,this._w=Math.cos(n),this._onChangeCallback(),this}setFromRotationMatrix(t){let i=t.elements,n=i[0],s=i[4],o=i[8],r=i[1],l=i[5],d=i[9],h=i[2],p=i[6],I=i[10],m=n+l+I;if(m>0){let y=.5/Math.sqrt(m+1);this._w=.25/y,this._x=(p-d)*y,this._y=(o-h)*y,this._z=(r-s)*y}else if(n>l&&n>I){let y=2*Math.sqrt(1+n-l-I);this._w=(p-d)/y,this._x=.25*y,this._y=(s+r)/y,this._z=(o+h)/y}else if(l>I){let y=2*Math.sqrt(1+l-n-I);this._w=(o-h)/y,this._x=(s+r)/y,this._y=.25*y,this._z=(d+p)/y}else{let y=2*Math.sqrt(1+I-n-l);this._w=(r-s)/y,this._x=(o+h)/y,this._y=(d+p)/y,this._z=.25*y}return this._onChangeCallback(),this}setFromUnitVectors(t,i){let n=t.dot(i)+1;return n<1e-8?(n=0,Math.abs(t.x)>Math.abs(t.z)?(this._x=-t.y,this._y=t.x,this._z=0,this._w=n):(this._x=0,this._y=-t.z,this._z=t.y,this._w=n)):(this._x=t.y*i.z-t.z*i.y,this._y=t.z*i.x-t.x*i.z,this._z=t.x*i.y-t.y*i.x,this._w=n),this.normalize()}angleTo(t){return 2*Math.acos(Math.abs(cs(this.dot(t),-1,1)))}rotateTowards(t,i){let n=this.angleTo(t);if(n===0)return this;let s=Math.min(1,i/n);return this.slerp(t,s),this}identity(){return this.set(0,0,0,1)}invert(){return this.conjugate()}conjugate(){return this._x*=-1,this._y*=-1,this._z*=-1,this._onChangeCallback(),this}dot(t){return this._x*t._x+this._y*t._y+this._z*t._z+this._w*t._w}lengthSq(){return this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w}length(){return Math.sqrt(this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w)}normalize(){let t=this.length();return t===0?(this._x=0,this._y=0,this._z=0,this._w=1):(t=1/t,this._x=this._x*t,this._y=this._y*t,this._z=this._z*t,this._w=this._w*t),this._onChangeCallback(),this}multiply(t){return this.multiplyQuaternions(this,t)}premultiply(t){return this.multiplyQuaternions(t,this)}multiplyQuaternions(t,i){let n=t._x,s=t._y,o=t._z,r=t._w,l=i._x,d=i._y,h=i._z,p=i._w;return this._x=n*p+r*l+s*h-o*d,this._y=s*p+r*d+o*l-n*h,this._z=o*p+r*h+n*d-s*l,this._w=r*p-n*l-s*d-o*h,this._onChangeCallback(),this}slerp(t,i){let n=t._x,s=t._y,o=t._z,r=t._w,l=this.dot(t);l<0&&(n=-n,s=-s,o=-o,r=-r,l=-l);let d=1-i;if(l<.9995){let h=Math.acos(l),p=Math.sin(h);d=Math.sin(d*h)/p,i=Math.sin(i*h)/p,this._x=this._x*d+n*i,this._y=this._y*d+s*i,this._z=this._z*d+o*i,this._w=this._w*d+r*i,this._onChangeCallback()}else this._x=this._x*d+n*i,this._y=this._y*d+s*i,this._z=this._z*d+o*i,this._w=this._w*d+r*i,this.normalize();return this}slerpQuaternions(t,i,n){return this.copy(t).slerp(i,n)}random(){let t=2*Math.PI*Math.random(),i=2*Math.PI*Math.random(),n=Math.random(),s=Math.sqrt(1-n),o=Math.sqrt(n);return this.set(s*Math.sin(t),s*Math.cos(t),o*Math.sin(i),o*Math.cos(i))}equals(t){return t._x===this._x&&t._y===this._y&&t._z===this._z&&t._w===this._w}fromArray(t,i=0){return this._x=t[i],this._y=t[i+1],this._z=t[i+2],this._w=t[i+3],this._onChangeCallback(),this}toArray(t=[],i=0){return t[i]=this._x,t[i+1]=this._y,t[i+2]=this._z,t[i+3]=this._w,t}fromBufferAttribute(t,i){return this._x=t.getX(i),this._y=t.getY(i),this._z=t.getZ(i),this._w=t.getW(i),this._onChangeCallback(),this}toJSON(){return this.toArray()}_onChange(t){return this._onChangeCallback=t,this}_onChangeCallback(){}*[Symbol.iterator](){yield this._x,yield this._y,yield this._z,yield this._w}},ye=class e{static{e.prototype.isVector3=!0}constructor(t=0,i=0,n=0){this.x=t,this.y=i,this.z=n}set(t,i,n){return n===void 0&&(n=this.z),this.x=t,this.y=i,this.z=n,this}setScalar(t){return this.x=t,this.y=t,this.z=t,this}setX(t){return this.x=t,this}setY(t){return this.y=t,this}setZ(t){return this.z=t,this}setComponent(t,i){switch(t){case 0:this.x=i;break;case 1:this.y=i;break;case 2:this.z=i;break;default:throw new Error("index is out of range: "+t)}return this}getComponent(t){switch(t){case 0:return this.x;case 1:return this.y;case 2:return this.z;default:throw new Error("index is out of range: "+t)}}clone(){return new this.constructor(this.x,this.y,this.z)}copy(t){return this.x=t.x,this.y=t.y,this.z=t.z,this}add(t){return this.x+=t.x,this.y+=t.y,this.z+=t.z,this}addScalar(t){return this.x+=t,this.y+=t,this.z+=t,this}addVectors(t,i){return this.x=t.x+i.x,this.y=t.y+i.y,this.z=t.z+i.z,this}addScaledVector(t,i){return this.x+=t.x*i,this.y+=t.y*i,this.z+=t.z*i,this}sub(t){return this.x-=t.x,this.y-=t.y,this.z-=t.z,this}subScalar(t){return this.x-=t,this.y-=t,this.z-=t,this}subVectors(t,i){return this.x=t.x-i.x,this.y=t.y-i.y,this.z=t.z-i.z,this}multiply(t){return this.x*=t.x,this.y*=t.y,this.z*=t.z,this}multiplyScalar(t){return this.x*=t,this.y*=t,this.z*=t,this}multiplyVectors(t,i){return this.x=t.x*i.x,this.y=t.y*i.y,this.z=t.z*i.z,this}applyEuler(t){return this.applyQuaternion(j0e.setFromEuler(t))}applyAxisAngle(t,i){return this.applyQuaternion(j0e.setFromAxisAngle(t,i))}applyMatrix3(t){let i=this.x,n=this.y,s=this.z,o=t.elements;return this.x=o[0]*i+o[3]*n+o[6]*s,this.y=o[1]*i+o[4]*n+o[7]*s,this.z=o[2]*i+o[5]*n+o[8]*s,this}applyNormalMatrix(t){return this.applyMatrix3(t).normalize()}applyMatrix4(t){let i=this.x,n=this.y,s=this.z,o=t.elements,r=1/(o[3]*i+o[7]*n+o[11]*s+o[15]);return this.x=(o[0]*i+o[4]*n+o[8]*s+o[12])*r,this.y=(o[1]*i+o[5]*n+o[9]*s+o[13])*r,this.z=(o[2]*i+o[6]*n+o[10]*s+o[14])*r,this}applyQuaternion(t){let i=this.x,n=this.y,s=this.z,o=t.x,r=t.y,l=t.z,d=t.w,h=2*(r*s-l*n),p=2*(l*i-o*s),I=2*(o*n-r*i);return this.x=i+d*h+r*I-l*p,this.y=n+d*p+l*h-o*I,this.z=s+d*I+o*p-r*h,this}project(t){return this.applyMatrix4(t.matrixWorldInverse).applyMatrix4(t.projectionMatrix)}unproject(t){return this.applyMatrix4(t.projectionMatrixInverse).applyMatrix4(t.matrixWorld)}transformDirection(t){let i=this.x,n=this.y,s=this.z,o=t.elements;return this.x=o[0]*i+o[4]*n+o[8]*s,this.y=o[1]*i+o[5]*n+o[9]*s,this.z=o[2]*i+o[6]*n+o[10]*s,this.normalize()}divide(t){return this.x/=t.x,this.y/=t.y,this.z/=t.z,this}divideScalar(t){return this.multiplyScalar(1/t)}min(t){return this.x=Math.min(this.x,t.x),this.y=Math.min(this.y,t.y),this.z=Math.min(this.z,t.z),this}max(t){return this.x=Math.max(this.x,t.x),this.y=Math.max(this.y,t.y),this.z=Math.max(this.z,t.z),this}clamp(t,i){return this.x=cs(this.x,t.x,i.x),this.y=cs(this.y,t.y,i.y),this.z=cs(this.z,t.z,i.z),this}clampScalar(t,i){return this.x=cs(this.x,t,i),this.y=cs(this.y,t,i),this.z=cs(this.z,t,i),this}clampLength(t,i){let n=this.length();return this.divideScalar(n||1).multiplyScalar(cs(n,t,i))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this.z=Math.floor(this.z),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this.z=Math.ceil(this.z),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this.z=Math.round(this.z),this}roundToZero(){return this.x=Math.trunc(this.x),this.y=Math.trunc(this.y),this.z=Math.trunc(this.z),this}negate(){return this.x=-this.x,this.y=-this.y,this.z=-this.z,this}dot(t){return this.x*t.x+this.y*t.y+this.z*t.z}lengthSq(){return this.x*this.x+this.y*this.y+this.z*this.z}length(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)}normalize(){return this.divideScalar(this.length()||1)}setLength(t){return this.normalize().multiplyScalar(t)}lerp(t,i){return this.x+=(t.x-this.x)*i,this.y+=(t.y-this.y)*i,this.z+=(t.z-this.z)*i,this}lerpVectors(t,i,n){return this.x=t.x+(i.x-t.x)*n,this.y=t.y+(i.y-t.y)*n,this.z=t.z+(i.z-t.z)*n,this}cross(t){return this.crossVectors(this,t)}crossVectors(t,i){let n=t.x,s=t.y,o=t.z,r=i.x,l=i.y,d=i.z;return this.x=s*d-o*l,this.y=o*r-n*d,this.z=n*l-s*r,this}projectOnVector(t){let i=t.lengthSq();if(i===0)return this.set(0,0,0);let n=t.dot(this)/i;return this.copy(t).multiplyScalar(n)}projectOnPlane(t){return vee.copy(this).projectOnVector(t),this.sub(vee)}reflect(t){return this.sub(vee.copy(t).multiplyScalar(2*this.dot(t)))}angleTo(t){let i=Math.sqrt(this.lengthSq()*t.lengthSq());if(i===0)return Math.PI/2;let n=this.dot(t)/i;return Math.acos(cs(n,-1,1))}distanceTo(t){return Math.sqrt(this.distanceToSquared(t))}distanceToSquared(t){let i=this.x-t.x,n=this.y-t.y,s=this.z-t.z;return i*i+n*n+s*s}manhattanDistanceTo(t){return Math.abs(this.x-t.x)+Math.abs(this.y-t.y)+Math.abs(this.z-t.z)}setFromSpherical(t){return this.setFromSphericalCoords(t.radius,t.phi,t.theta)}setFromSphericalCoords(t,i,n){let s=Math.sin(i)*t;return this.x=s*Math.sin(n),this.y=Math.cos(i)*t,this.z=s*Math.cos(n),this}setFromCylindrical(t){return this.setFromCylindricalCoords(t.radius,t.theta,t.y)}setFromCylindricalCoords(t,i,n){return this.x=t*Math.sin(i),this.y=n,this.z=t*Math.cos(i),this}setFromMatrixPosition(t){let i=t.elements;return this.x=i[12],this.y=i[13],this.z=i[14],this}setFromMatrixScale(t){let i=this.setFromMatrixColumn(t,0).length(),n=this.setFromMatrixColumn(t,1).length(),s=this.setFromMatrixColumn(t,2).length();return this.x=i,this.y=n,this.z=s,this}setFromMatrixColumn(t,i){return this.fromArray(t.elements,i*4)}setFromMatrix3Column(t,i){return this.fromArray(t.elements,i*3)}setFromEuler(t){return this.x=t._x,this.y=t._y,this.z=t._z,this}setFromColor(t){return this.x=t.r,this.y=t.g,this.z=t.b,this}equals(t){return t.x===this.x&&t.y===this.y&&t.z===this.z}fromArray(t,i=0){return this.x=t[i],this.y=t[i+1],this.z=t[i+2],this}toArray(t=[],i=0){return t[i]=this.x,t[i+1]=this.y,t[i+2]=this.z,t}fromBufferAttribute(t,i){return this.x=t.getX(i),this.y=t.getY(i),this.z=t.getZ(i),this}random(){return this.x=Math.random(),this.y=Math.random(),this.z=Math.random(),this}randomDirection(){let t=Math.random()*Math.PI*2,i=Math.random()*2-1,n=Math.sqrt(1-i*i);return this.x=n*Math.cos(t),this.y=i,this.z=n*Math.sin(t),this}*[Symbol.iterator](){yield this.x,yield this.y,yield this.z}},vee=new ye,j0e=new Gs,Qn=class e{static{e.prototype.isMatrix3=!0}constructor(t,i,n,s,o,r,l,d,h){this.elements=[1,0,0,0,1,0,0,0,1],t!==void 0&&this.set(t,i,n,s,o,r,l,d,h)}set(t,i,n,s,o,r,l,d,h){let p=this.elements;return p[0]=t,p[1]=s,p[2]=l,p[3]=i,p[4]=o,p[5]=d,p[6]=n,p[7]=r,p[8]=h,this}identity(){return this.set(1,0,0,0,1,0,0,0,1),this}copy(t){let i=this.elements,n=t.elements;return i[0]=n[0],i[1]=n[1],i[2]=n[2],i[3]=n[3],i[4]=n[4],i[5]=n[5],i[6]=n[6],i[7]=n[7],i[8]=n[8],this}extractBasis(t,i,n){return t.setFromMatrix3Column(this,0),i.setFromMatrix3Column(this,1),n.setFromMatrix3Column(this,2),this}setFromMatrix4(t){let i=t.elements;return this.set(i[0],i[4],i[8],i[1],i[5],i[9],i[2],i[6],i[10]),this}multiply(t){return this.multiplyMatrices(this,t)}premultiply(t){return this.multiplyMatrices(t,this)}multiplyMatrices(t,i){let n=t.elements,s=i.elements,o=this.elements,r=n[0],l=n[3],d=n[6],h=n[1],p=n[4],I=n[7],m=n[2],y=n[5],T=n[8],R=s[0],b=s[3],A=s[6],O=s[1],P=s[4],U=s[7],Z=s[2],ne=s[5],K=s[8];return o[0]=r*R+l*O+d*Z,o[3]=r*b+l*P+d*ne,o[6]=r*A+l*U+d*K,o[1]=h*R+p*O+I*Z,o[4]=h*b+p*P+I*ne,o[7]=h*A+p*U+I*K,o[2]=m*R+y*O+T*Z,o[5]=m*b+y*P+T*ne,o[8]=m*A+y*U+T*K,this}multiplyScalar(t){let i=this.elements;return i[0]*=t,i[3]*=t,i[6]*=t,i[1]*=t,i[4]*=t,i[7]*=t,i[2]*=t,i[5]*=t,i[8]*=t,this}determinant(){let t=this.elements,i=t[0],n=t[1],s=t[2],o=t[3],r=t[4],l=t[5],d=t[6],h=t[7],p=t[8];return i*r*p-i*l*h-n*o*p+n*l*d+s*o*h-s*r*d}invert(){let t=this.elements,i=t[0],n=t[1],s=t[2],o=t[3],r=t[4],l=t[5],d=t[6],h=t[7],p=t[8],I=p*r-l*h,m=l*d-p*o,y=h*o-r*d,T=i*I+n*m+s*y;if(T===0)return this.set(0,0,0,0,0,0,0,0,0);let R=1/T;return t[0]=I*R,t[1]=(s*h-p*n)*R,t[2]=(l*n-s*r)*R,t[3]=m*R,t[4]=(p*i-s*d)*R,t[5]=(s*o-l*i)*R,t[6]=y*R,t[7]=(n*d-h*i)*R,t[8]=(r*i-n*o)*R,this}transpose(){let t,i=this.elements;return t=i[1],i[1]=i[3],i[3]=t,t=i[2],i[2]=i[6],i[6]=t,t=i[5],i[5]=i[7],i[7]=t,this}getNormalMatrix(t){return this.setFromMatrix4(t).invert().transpose()}transposeIntoArray(t){let i=this.elements;return t[0]=i[0],t[1]=i[3],t[2]=i[6],t[3]=i[1],t[4]=i[4],t[5]=i[7],t[6]=i[2],t[7]=i[5],t[8]=i[8],this}setUvTransform(t,i,n,s,o,r,l){let d=Math.cos(o),h=Math.sin(o);return this.set(n*d,n*h,-n*(d*r+h*l)+r+t,-s*h,s*d,-s*(-h*r+d*l)+l+i,0,0,1),this}scale(t,i){return this.premultiply(Ree.makeScale(t,i)),this}rotate(t){return this.premultiply(Ree.makeRotation(-t)),this}translate(t,i){return this.premultiply(Ree.makeTranslation(t,i)),this}makeTranslation(t,i){return t.isVector2?this.set(1,0,t.x,0,1,t.y,0,0,1):this.set(1,0,t,0,1,i,0,0,1),this}makeRotation(t){let i=Math.cos(t),n=Math.sin(t);return this.set(i,-n,0,n,i,0,0,0,1),this}makeScale(t,i){return this.set(t,0,0,0,i,0,0,0,1),this}equals(t){let i=this.elements,n=t.elements;for(let s=0;s<9;s++)if(i[s]!==n[s])return!1;return!0}fromArray(t,i=0){for(let n=0;n<9;n++)this.elements[n]=t[n+i];return this}toArray(t=[],i=0){let n=this.elements;return t[i]=n[0],t[i+1]=n[1],t[i+2]=n[2],t[i+3]=n[3],t[i+4]=n[4],t[i+5]=n[5],t[i+6]=n[6],t[i+7]=n[7],t[i+8]=n[8],t}clone(){return new this.constructor().fromArray(this.elements)}},Ree=new Qn,q0e=new Qn().set(.4123908,.3575843,.1804808,.212639,.7151687,.0721923,.0193308,.1191948,.9505322),$0e=new Qn().set(3.2409699,-1.5373832,-.4986108,-.9692436,1.8759675,.0415551,.0556301,-.203977,1.0569715);function $Re(){let e={enabled:!0,workingColorSpace:kv,spaces:{},convert:function(s,o,r){return this.enabled===!1||o===r||!o||!r||(this.spaces[o].transfer===pn&&(s.r=Hv(s.r),s.g=Hv(s.g),s.b=Hv(s.b)),this.spaces[o].primaries!==this.spaces[r].primaries&&(s.applyMatrix3(this.spaces[o].toXYZ),s.applyMatrix3(this.spaces[r].fromXYZ)),this.spaces[r].transfer===pn&&(s.r=nP(s.r),s.g=nP(s.g),s.b=nP(s.b))),s},workingToColorSpace:function(s,o){return this.convert(s,this.workingColorSpace,o)},colorSpaceToWorking:function(s,o){return this.convert(s,o,this.workingColorSpace)},getPrimaries:function(s){return this.spaces[s].primaries},getTransfer:function(s){return s===Eh?zv:this.spaces[s].transfer},getToneMappingMode:function(s){return this.spaces[s].outputColorSpaceConfig.toneMappingMode||"standard"},getLuminanceCoefficients:function(s,o=this.workingColorSpace){return s.fromArray(this.spaces[o].luminanceCoefficients)},define:function(s){Object.assign(this.spaces,s)},_getMatrix:function(s,o,r){return s.copy(this.spaces[o].toXYZ).multiply(this.spaces[r].fromXYZ)},_getDrawingBufferColorSpace:function(s){return this.spaces[s].outputColorSpaceConfig.drawingBufferColorSpace},_getUnpackColorSpace:function(s=this.workingColorSpace){return this.spaces[s].workingColorSpaceConfig.unpackColorSpace},fromWorkingColorSpace:function(s,o){return Oo("ColorManagement: .fromWorkingColorSpace() has been renamed to .workingToColorSpace()."),e.workingToColorSpace(s,o)},toWorkingColorSpace:function(s,o){return Oo("ColorManagement: .toWorkingColorSpace() has been renamed to .colorSpaceToWorking()."),e.colorSpaceToWorking(s,o)}},t=[.64,.33,.3,.6,.15,.06],i=[.2126,.7152,.0722],n=[.3127,.329];return e.define({[kv]:{primaries:t,whitePoint:n,transfer:zv,toXYZ:q0e,fromXYZ:$0e,luminanceCoefficients:i,workingColorSpaceConfig:{unpackColorSpace:Va},outputColorSpaceConfig:{drawingBufferColorSpace:Va}},[Va]:{primaries:t,whitePoint:n,transfer:pn,toXYZ:q0e,fromXYZ:$0e,luminanceCoefficients:i,outputColorSpaceConfig:{drawingBufferColorSpace:Va}}}),e}var Hn=$Re();function Hv(e){return e<.04045?e*.0773993808:Math.pow(e*.9478672986+.0521327014,2.4)}function nP(e){return e<.0031308?e*12.92:1.055*Math.pow(e,.41666)-.055}var BL,fH=class{static getDataURL(t,i="image/png"){if(/^data:/i.test(t.src)||typeof HTMLCanvasElement>"u")return t.src;let n;if(t instanceof HTMLCanvasElement)n=t;else{BL===void 0&&(BL=lP("canvas")),BL.width=t.width,BL.height=t.height;let s=BL.getContext("2d");t instanceof ImageData?s.putImageData(t,0,0):s.drawImage(t,0,0,t.width,t.height),n=BL}return n.toDataURL(i)}static sRGBToLinear(t){if(typeof HTMLImageElement<"u"&&t instanceof HTMLImageElement||typeof HTMLCanvasElement<"u"&&t instanceof HTMLCanvasElement||typeof ImageBitmap<"u"&&t instanceof ImageBitmap){let i=lP("canvas");i.width=t.width,i.height=t.height;let n=i.getContext("2d");n.drawImage(t,0,0,t.width,t.height);let s=n.getImageData(0,0,t.width,t.height),o=s.data;for(let r=0;r<o.length;r++)o[r]=Hv(o[r]/255)*255;return n.putImageData(s,0,0),i}else if(t.data){let i=t.data.slice(0);for(let n=0;n<i.length;n++)i instanceof Uint8Array||i instanceof Uint8ClampedArray?i[n]=Math.floor(Hv(i[n]/255)*255):i[n]=Hv(i[n]);return{data:i,width:t.width,height:t.height}}else return ci("ImageUtils.sRGBToLinear(): Unsupported image type. No color space conversion applied."),t}},ZRe=0,RT=class{constructor(t=null){this.isSource=!0,Object.defineProperty(this,"id",{value:ZRe++}),this.uuid=bm(),this.data=t,this.dataReady=!0,this.version=0}getSize(t){let i=this.data;return typeof HTMLVideoElement<"u"&&i instanceof HTMLVideoElement?t.set(i.videoWidth,i.videoHeight,0):typeof VideoFrame<"u"&&i instanceof VideoFrame?t.set(i.displayWidth,i.displayHeight,0):i!==null?t.set(i.width,i.height,i.depth||0):t.set(0,0,0),t}set needsUpdate(t){t===!0&&this.version++}toJSON(t){let i=t===void 0||typeof t=="string";if(!i&&t.images[this.uuid]!==void 0)return t.images[this.uuid];let n={uuid:this.uuid,url:""},s=this.data;if(s!==null){let o;if(Array.isArray(s)){o=[];for(let r=0,l=s.length;r<l;r++)s[r].isDataTexture?o.push(See(s[r].image)):o.push(See(s[r]))}else o=See(s);n.url=o}return i||(t.images[this.uuid]=n),n}};function See(e){return typeof HTMLImageElement<"u"&&e instanceof HTMLImageElement||typeof HTMLCanvasElement<"u"&&e instanceof HTMLCanvasElement||typeof ImageBitmap<"u"&&e instanceof ImageBitmap?fH.getDataURL(e):e.data?{data:Array.from(e.data),width:e.width,height:e.height,type:e.data.constructor.name}:(ci("Texture: Unable to serialize Texture."),{})}var KRe=0,Aee=new ye,wr=class e extends jc{constructor(t=e.DEFAULT_IMAGE,i=e.DEFAULT_MAPPING,n=_u,s=_u,o=Us,r=qc,l=Ko,d=Lo,h=e.DEFAULT_ANISOTROPY,p=Eh){super(),this.isTexture=!0,Object.defineProperty(this,"id",{value:KRe++}),this.uuid=bm(),this.name="",this.source=new RT(t),this.mipmaps=[],this.mapping=i,this.channel=0,this.wrapS=n,this.wrapT=s,this.magFilter=o,this.minFilter=r,this.anisotropy=h,this.format=l,this.internalFormat=null,this.type=d,this.offset=new hi(0,0),this.repeat=new hi(1,1),this.center=new hi(0,0),this.rotation=0,this.matrixAutoUpdate=!0,this.matrix=new Qn,this.generateMipmaps=!0,this.premultiplyAlpha=!1,this.flipY=!0,this.unpackAlignment=4,this.colorSpace=p,this.userData={},this.updateRanges=[],this.version=0,this.onUpdate=null,this.renderTarget=null,this.isRenderTargetTexture=!1,this.isArrayTexture=!!(t&&t.depth&&t.depth>1),this.pmremVersion=0,this.normalized=!1}get width(){return this.source.getSize(Aee).x}get height(){return this.source.getSize(Aee).y}get depth(){return this.source.getSize(Aee).z}get image(){return this.source.data}set image(t){this.source.data=t}updateMatrix(){this.matrix.setUvTransform(this.offset.x,this.offset.y,this.repeat.x,this.repeat.y,this.rotation,this.center.x,this.center.y)}addUpdateRange(t,i){this.updateRanges.push({start:t,count:i})}clearUpdateRanges(){this.updateRanges.length=0}clone(){return new this.constructor().copy(this)}copy(t){return this.name=t.name,this.source=t.source,this.mipmaps=t.mipmaps.slice(0),this.mapping=t.mapping,this.channel=t.channel,this.wrapS=t.wrapS,this.wrapT=t.wrapT,this.magFilter=t.magFilter,this.minFilter=t.minFilter,this.anisotropy=t.anisotropy,this.format=t.format,this.internalFormat=t.internalFormat,this.type=t.type,this.normalized=t.normalized,this.offset.copy(t.offset),this.repeat.copy(t.repeat),this.center.copy(t.center),this.rotation=t.rotation,this.matrixAutoUpdate=t.matrixAutoUpdate,this.matrix.copy(t.matrix),this.generateMipmaps=t.generateMipmaps,this.premultiplyAlpha=t.premultiplyAlpha,this.flipY=t.flipY,this.unpackAlignment=t.unpackAlignment,this.colorSpace=t.colorSpace,this.renderTarget=t.renderTarget,this.isRenderTargetTexture=t.isRenderTargetTexture,this.isArrayTexture=t.isArrayTexture,this.userData=JSON.parse(JSON.stringify(t.userData)),this.needsUpdate=!0,this}setValues(t){for(let i in t){let n=t[i];if(n===void 0){ci(`Texture.setValues(): parameter '${i}' has value of undefined.`);continue}let s=this[i];if(s===void 0){ci(`Texture.setValues(): property '${i}' does not exist.`);continue}s&&n&&s.isVector2&&n.isVector2||s&&n&&s.isVector3&&n.isVector3||s&&n&&s.isMatrix3&&n.isMatrix3?s.copy(n):this[i]=n}}toJSON(t){let i=t===void 0||typeof t=="string";if(!i&&t.textures[this.uuid]!==void 0)return t.textures[this.uuid];let n={metadata:{version:4.7,type:"Texture",generator:"Texture.toJSON"},uuid:this.uuid,name:this.name,image:this.source.toJSON(t).uuid,mapping:this.mapping,channel:this.channel,repeat:[this.repeat.x,this.repeat.y],offset:[this.offset.x,this.offset.y],center:[this.center.x,this.center.y],rotation:this.rotation,wrap:[this.wrapS,this.wrapT],format:this.format,internalFormat:this.internalFormat,type:this.type,normalized:this.normalized,colorSpace:this.colorSpace,minFilter:this.minFilter,magFilter:this.magFilter,anisotropy:this.anisotropy,flipY:this.flipY,generateMipmaps:this.generateMipmaps,premultiplyAlpha:this.premultiplyAlpha,unpackAlignment:this.unpackAlignment};return Object.keys(this.userData).length>0&&(n.userData=this.userData),i||(t.textures[this.uuid]=n),n}dispose(){this.dispatchEvent({type:"dispose"})}transformUv(t){if(this.mapping!==DC)return t;if(t.applyMatrix3(this.matrix),t.x<0||t.x>1)switch(this.wrapS){case bT:t.x=t.x-Math.floor(t.x);break;case _u:t.x=t.x<0?0:1;break;case NT:Math.abs(Math.floor(t.x)%2)===1?t.x=Math.ceil(t.x)-t.x:t.x=t.x-Math.floor(t.x);break}if(t.y<0||t.y>1)switch(this.wrapT){case bT:t.y=t.y-Math.floor(t.y);break;case _u:t.y=t.y<0?0:1;break;case NT:Math.abs(Math.floor(t.y)%2)===1?t.y=Math.ceil(t.y)-t.y:t.y=t.y-Math.floor(t.y);break}return this.flipY&&(t.y=1-t.y),t}set needsUpdate(t){t===!0&&(this.version++,this.source.needsUpdate=!0)}set needsPMREMUpdate(t){t===!0&&this.pmremVersion++}};wr.DEFAULT_IMAGE=null;wr.DEFAULT_MAPPING=DC;wr.DEFAULT_ANISOTROPY=1;var xn=class e{static{e.prototype.isVector4=!0}constructor(t=0,i=0,n=0,s=1){this.x=t,this.y=i,this.z=n,this.w=s}get width(){return this.z}set width(t){this.z=t}get height(){return this.w}set height(t){this.w=t}set(t,i,n,s){return this.x=t,this.y=i,this.z=n,this.w=s,this}setScalar(t){return this.x=t,this.y=t,this.z=t,this.w=t,this}setX(t){return this.x=t,this}setY(t){return this.y=t,this}setZ(t){return this.z=t,this}setW(t){return this.w=t,this}setComponent(t,i){switch(t){case 0:this.x=i;break;case 1:this.y=i;break;case 2:this.z=i;break;case 3:this.w=i;break;default:throw new Error("index is out of range: "+t)}return this}getComponent(t){switch(t){case 0:return this.x;case 1:return this.y;case 2:return this.z;case 3:return this.w;default:throw new Error("index is out of range: "+t)}}clone(){return new this.constructor(this.x,this.y,this.z,this.w)}copy(t){return this.x=t.x,this.y=t.y,this.z=t.z,this.w=t.w!==void 0?t.w:1,this}add(t){return this.x+=t.x,this.y+=t.y,this.z+=t.z,this.w+=t.w,this}addScalar(t){return this.x+=t,this.y+=t,this.z+=t,this.w+=t,this}addVectors(t,i){return this.x=t.x+i.x,this.y=t.y+i.y,this.z=t.z+i.z,this.w=t.w+i.w,this}addScaledVector(t,i){return this.x+=t.x*i,this.y+=t.y*i,this.z+=t.z*i,this.w+=t.w*i,this}sub(t){return this.x-=t.x,this.y-=t.y,this.z-=t.z,this.w-=t.w,this}subScalar(t){return this.x-=t,this.y-=t,this.z-=t,this.w-=t,this}subVectors(t,i){return this.x=t.x-i.x,this.y=t.y-i.y,this.z=t.z-i.z,this.w=t.w-i.w,this}multiply(t){return this.x*=t.x,this.y*=t.y,this.z*=t.z,this.w*=t.w,this}multiplyScalar(t){return this.x*=t,this.y*=t,this.z*=t,this.w*=t,this}applyMatrix4(t){let i=this.x,n=this.y,s=this.z,o=this.w,r=t.elements;return this.x=r[0]*i+r[4]*n+r[8]*s+r[12]*o,this.y=r[1]*i+r[5]*n+r[9]*s+r[13]*o,this.z=r[2]*i+r[6]*n+r[10]*s+r[14]*o,this.w=r[3]*i+r[7]*n+r[11]*s+r[15]*o,this}divide(t){return this.x/=t.x,this.y/=t.y,this.z/=t.z,this.w/=t.w,this}divideScalar(t){return this.multiplyScalar(1/t)}setAxisAngleFromQuaternion(t){this.w=2*Math.acos(t.w);let i=Math.sqrt(1-t.w*t.w);return i<1e-4?(this.x=1,this.y=0,this.z=0):(this.x=t.x/i,this.y=t.y/i,this.z=t.z/i),this}setAxisAngleFromRotationMatrix(t){let i,n,s,o,d=t.elements,h=d[0],p=d[4],I=d[8],m=d[1],y=d[5],T=d[9],R=d[2],b=d[6],A=d[10];if(Math.abs(p-m)<.01&&Math.abs(I-R)<.01&&Math.abs(T-b)<.01){if(Math.abs(p+m)<.1&&Math.abs(I+R)<.1&&Math.abs(T+b)<.1&&Math.abs(h+y+A-3)<.1)return this.set(1,0,0,0),this;i=Math.PI;let P=(h+1)/2,U=(y+1)/2,Z=(A+1)/2,ne=(p+m)/4,K=(I+R)/4,oe=(T+b)/4;return P>U&&P>Z?P<.01?(n=0,s=.707106781,o=.707106781):(n=Math.sqrt(P),s=ne/n,o=K/n):U>Z?U<.01?(n=.707106781,s=0,o=.707106781):(s=Math.sqrt(U),n=ne/s,o=oe/s):Z<.01?(n=.707106781,s=.707106781,o=0):(o=Math.sqrt(Z),n=K/o,s=oe/o),this.set(n,s,o,i),this}let O=Math.sqrt((b-T)*(b-T)+(I-R)*(I-R)+(m-p)*(m-p));return Math.abs(O)<.001&&(O=1),this.x=(b-T)/O,this.y=(I-R)/O,this.z=(m-p)/O,this.w=Math.acos((h+y+A-1)/2),this}setFromMatrixPosition(t){let i=t.elements;return this.x=i[12],this.y=i[13],this.z=i[14],this.w=i[15],this}min(t){return this.x=Math.min(this.x,t.x),this.y=Math.min(this.y,t.y),this.z=Math.min(this.z,t.z),this.w=Math.min(this.w,t.w),this}max(t){return this.x=Math.max(this.x,t.x),this.y=Math.max(this.y,t.y),this.z=Math.max(this.z,t.z),this.w=Math.max(this.w,t.w),this}clamp(t,i){return this.x=cs(this.x,t.x,i.x),this.y=cs(this.y,t.y,i.y),this.z=cs(this.z,t.z,i.z),this.w=cs(this.w,t.w,i.w),this}clampScalar(t,i){return this.x=cs(this.x,t,i),this.y=cs(this.y,t,i),this.z=cs(this.z,t,i),this.w=cs(this.w,t,i),this}clampLength(t,i){let n=this.length();return this.divideScalar(n||1).multiplyScalar(cs(n,t,i))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this.z=Math.floor(this.z),this.w=Math.floor(this.w),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this.z=Math.ceil(this.z),this.w=Math.ceil(this.w),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this.z=Math.round(this.z),this.w=Math.round(this.w),this}roundToZero(){return this.x=Math.trunc(this.x),this.y=Math.trunc(this.y),this.z=Math.trunc(this.z),this.w=Math.trunc(this.w),this}negate(){return this.x=-this.x,this.y=-this.y,this.z=-this.z,this.w=-this.w,this}dot(t){return this.x*t.x+this.y*t.y+this.z*t.z+this.w*t.w}lengthSq(){return this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w}length(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)+Math.abs(this.w)}normalize(){return this.divideScalar(this.length()||1)}setLength(t){return this.normalize().multiplyScalar(t)}lerp(t,i){return this.x+=(t.x-this.x)*i,this.y+=(t.y-this.y)*i,this.z+=(t.z-this.z)*i,this.w+=(t.w-this.w)*i,this}lerpVectors(t,i,n){return this.x=t.x+(i.x-t.x)*n,this.y=t.y+(i.y-t.y)*n,this.z=t.z+(i.z-t.z)*n,this.w=t.w+(i.w-t.w)*n,this}equals(t){return t.x===this.x&&t.y===this.y&&t.z===this.z&&t.w===this.w}fromArray(t,i=0){return this.x=t[i],this.y=t[i+1],this.z=t[i+2],this.w=t[i+3],this}toArray(t=[],i=0){return t[i]=this.x,t[i+1]=this.y,t[i+2]=this.z,t[i+3]=this.w,t}fromBufferAttribute(t,i){return this.x=t.getX(i),this.y=t.getY(i),this.z=t.getZ(i),this.w=t.getW(i),this}random(){return this.x=Math.random(),this.y=Math.random(),this.z=Math.random(),this.w=Math.random(),this}*[Symbol.iterator](){yield this.x,yield this.y,yield this.z,yield this.w}},yf=class extends jc{constructor(t=1,i=1,n={}){super(),n=Object.assign({generateMipmaps:!1,internalFormat:null,minFilter:Us,depthBuffer:!0,stencilBuffer:!1,resolveDepthBuffer:!0,resolveStencilBuffer:!0,depthTexture:null,samples:0,count:1,depth:1,multiview:!1},n),this.isRenderTarget=!0,this.width=t,this.height=i,this.depth=n.depth,this.scissor=new xn(0,0,t,i),this.scissorTest=!1,this.viewport=new xn(0,0,t,i),this.textures=[];let s={width:t,height:i,depth:n.depth},o=new wr(s),r=n.count;for(let l=0;l<r;l++)this.textures[l]=o.clone(),this.textures[l].isRenderTargetTexture=!0,this.textures[l].renderTarget=this;this._setTextureOptions(n),this.depthBuffer=n.depthBuffer,this.stencilBuffer=n.stencilBuffer,this.resolveDepthBuffer=n.resolveDepthBuffer,this.resolveStencilBuffer=n.resolveStencilBuffer,this._depthTexture=null,this.depthTexture=n.depthTexture,this.samples=n.samples,this.multiview=n.multiview}_setTextureOptions(t={}){let i={minFilter:Us,generateMipmaps:!1,flipY:!1,internalFormat:null};t.mapping!==void 0&&(i.mapping=t.mapping),t.wrapS!==void 0&&(i.wrapS=t.wrapS),t.wrapT!==void 0&&(i.wrapT=t.wrapT),t.wrapR!==void 0&&(i.wrapR=t.wrapR),t.magFilter!==void 0&&(i.magFilter=t.magFilter),t.minFilter!==void 0&&(i.minFilter=t.minFilter),t.format!==void 0&&(i.format=t.format),t.type!==void 0&&(i.type=t.type),t.anisotropy!==void 0&&(i.anisotropy=t.anisotropy),t.colorSpace!==void 0&&(i.colorSpace=t.colorSpace),t.flipY!==void 0&&(i.flipY=t.flipY),t.generateMipmaps!==void 0&&(i.generateMipmaps=t.generateMipmaps),t.internalFormat!==void 0&&(i.internalFormat=t.internalFormat);for(let n=0;n<this.textures.length;n++)this.textures[n].setValues(i)}get texture(){return this.textures[0]}set texture(t){this.textures[0]=t}set depthTexture(t){this._depthTexture!==null&&(this._depthTexture.renderTarget=null),t!==null&&(t.renderTarget=this),this._depthTexture=t}get depthTexture(){return this._depthTexture}setSize(t,i,n=1){if(this.width!==t||this.height!==i||this.depth!==n){this.width=t,this.height=i,this.depth=n;for(let s=0,o=this.textures.length;s<o;s++)this.textures[s].image.width=t,this.textures[s].image.height=i,this.textures[s].image.depth=n,this.textures[s].isData3DTexture!==!0&&(this.textures[s].isArrayTexture=this.textures[s].image.depth>1);this.dispose()}this.viewport.set(0,0,t,i),this.scissor.set(0,0,t,i)}clone(){return new this.constructor().copy(this)}copy(t){this.width=t.width,this.height=t.height,this.depth=t.depth,this.scissor.copy(t.scissor),this.scissorTest=t.scissorTest,this.viewport.copy(t.viewport),this.textures.length=0;for(let i=0,n=t.textures.length;i<n;i++){this.textures[i]=t.textures[i].clone(),this.textures[i].isRenderTargetTexture=!0,this.textures[i].renderTarget=this;let s=Object.assign({},t.textures[i].image);this.textures[i].source=new RT(s)}return this.depthBuffer=t.depthBuffer,this.stencilBuffer=t.stencilBuffer,this.resolveDepthBuffer=t.resolveDepthBuffer,this.resolveStencilBuffer=t.resolveStencilBuffer,t.depthTexture!==null&&(this.depthTexture=t.depthTexture.clone()),this.samples=t.samples,this.multiview=t.multiview,this}dispose(){this.dispatchEvent({type:"dispose"})}},ka=class extends yf{constructor(t=1,i=1,n={}){super(t,i,n),this.isWebGLRenderTarget=!0}},Yv=class extends wr{constructor(t=null,i=1,n=1,s=1){super(null),this.isDataArrayTexture=!0,this.image={data:t,width:i,height:n,depth:s},this.magFilter=Vs,this.minFilter=Vs,this.wrapR=_u,this.generateMipmaps=!1,this.flipY=!1,this.unpackAlignment=1,this.layerUpdates=new Set}addLayerUpdate(t){this.layerUpdates.add(t)}clearLayerUpdates(){this.layerUpdates.clear()}},ZW=class extends ka{constructor(t=1,i=1,n=1,s={}){super(t,i,s),this.isWebGLArrayRenderTarget=!0,this.depth=n,this.texture=new Yv(null,t,i,n),this._setTextureOptions(s),this.texture.isRenderTargetTexture=!0}},sC=class extends wr{constructor(t=null,i=1,n=1,s=1){super(null),this.isData3DTexture=!0,this.image={data:t,width:i,height:n,depth:s},this.magFilter=Vs,this.minFilter=Vs,this.wrapR=_u,this.generateMipmaps=!1,this.flipY=!1,this.unpackAlignment=1}},KW=class extends ka{constructor(t=1,i=1,n=1,s={}){super(t,i,s),this.isWebGL3DRenderTarget=!0,this.depth=n,this.texture=new sC(null,t,i,n),this._setTextureOptions(s),this.texture.isRenderTargetTexture=!0}},Ai=class e{static{e.prototype.isMatrix4=!0}constructor(t,i,n,s,o,r,l,d,h,p,I,m,y,T,R,b){this.elements=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],t!==void 0&&this.set(t,i,n,s,o,r,l,d,h,p,I,m,y,T,R,b)}set(t,i,n,s,o,r,l,d,h,p,I,m,y,T,R,b){let A=this.elements;return A[0]=t,A[4]=i,A[8]=n,A[12]=s,A[1]=o,A[5]=r,A[9]=l,A[13]=d,A[2]=h,A[6]=p,A[10]=I,A[14]=m,A[3]=y,A[7]=T,A[11]=R,A[15]=b,this}identity(){return this.set(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1),this}clone(){return new e().fromArray(this.elements)}copy(t){let i=this.elements,n=t.elements;return i[0]=n[0],i[1]=n[1],i[2]=n[2],i[3]=n[3],i[4]=n[4],i[5]=n[5],i[6]=n[6],i[7]=n[7],i[8]=n[8],i[9]=n[9],i[10]=n[10],i[11]=n[11],i[12]=n[12],i[13]=n[13],i[14]=n[14],i[15]=n[15],this}copyPosition(t){let i=this.elements,n=t.elements;return i[12]=n[12],i[13]=n[13],i[14]=n[14],this}setFromMatrix3(t){let i=t.elements;return this.set(i[0],i[3],i[6],0,i[1],i[4],i[7],0,i[2],i[5],i[8],0,0,0,0,1),this}extractBasis(t,i,n){return this.determinant()===0?(t.set(1,0,0),i.set(0,1,0),n.set(0,0,1),this):(t.setFromMatrixColumn(this,0),i.setFromMatrixColumn(this,1),n.setFromMatrixColumn(this,2),this)}makeBasis(t,i,n){return this.set(t.x,i.x,n.x,0,t.y,i.y,n.y,0,t.z,i.z,n.z,0,0,0,0,1),this}extractRotation(t){if(t.determinant()===0)return this.identity();let i=this.elements,n=t.elements,s=1/FL.setFromMatrixColumn(t,0).length(),o=1/FL.setFromMatrixColumn(t,1).length(),r=1/FL.setFromMatrixColumn(t,2).length();return i[0]=n[0]*s,i[1]=n[1]*s,i[2]=n[2]*s,i[3]=0,i[4]=n[4]*o,i[5]=n[5]*o,i[6]=n[6]*o,i[7]=0,i[8]=n[8]*r,i[9]=n[9]*r,i[10]=n[10]*r,i[11]=0,i[12]=0,i[13]=0,i[14]=0,i[15]=1,this}makeRotationFromEuler(t){let i=this.elements,n=t.x,s=t.y,o=t.z,r=Math.cos(n),l=Math.sin(n),d=Math.cos(s),h=Math.sin(s),p=Math.cos(o),I=Math.sin(o);if(t.order==="XYZ"){let m=r*p,y=r*I,T=l*p,R=l*I;i[0]=d*p,i[4]=-d*I,i[8]=h,i[1]=y+T*h,i[5]=m-R*h,i[9]=-l*d,i[2]=R-m*h,i[6]=T+y*h,i[10]=r*d}else if(t.order==="YXZ"){let m=d*p,y=d*I,T=h*p,R=h*I;i[0]=m+R*l,i[4]=T*l-y,i[8]=r*h,i[1]=r*I,i[5]=r*p,i[9]=-l,i[2]=y*l-T,i[6]=R+m*l,i[10]=r*d}else if(t.order==="ZXY"){let m=d*p,y=d*I,T=h*p,R=h*I;i[0]=m-R*l,i[4]=-r*I,i[8]=T+y*l,i[1]=y+T*l,i[5]=r*p,i[9]=R-m*l,i[2]=-r*h,i[6]=l,i[10]=r*d}else if(t.order==="ZYX"){let m=r*p,y=r*I,T=l*p,R=l*I;i[0]=d*p,i[4]=T*h-y,i[8]=m*h+R,i[1]=d*I,i[5]=R*h+m,i[9]=y*h-T,i[2]=-h,i[6]=l*d,i[10]=r*d}else if(t.order==="YZX"){let m=r*d,y=r*h,T=l*d,R=l*h;i[0]=d*p,i[4]=R-m*I,i[8]=T*I+y,i[1]=I,i[5]=r*p,i[9]=-l*p,i[2]=-h*p,i[6]=y*I+T,i[10]=m-R*I}else if(t.order==="XZY"){let m=r*d,y=r*h,T=l*d,R=l*h;i[0]=d*p,i[4]=-I,i[8]=h*p,i[1]=m*I+R,i[5]=r*p,i[9]=y*I-T,i[2]=T*I-y,i[6]=l*p,i[10]=R*I+m}return i[3]=0,i[7]=0,i[11]=0,i[12]=0,i[13]=0,i[14]=0,i[15]=1,this}makeRotationFromQuaternion(t){return this.compose(QRe,t,JRe)}lookAt(t,i,n){let s=this.elements;return Sm.subVectors(t,i),Sm.lengthSq()===0&&(Sm.z=1),Sm.normalize(),fb.crossVectors(n,Sm),fb.lengthSq()===0&&(Math.abs(n.z)===1?Sm.x+=1e-4:Sm.z+=1e-4,Sm.normalize(),fb.crossVectors(n,Sm)),fb.normalize(),sW.crossVectors(Sm,fb),s[0]=fb.x,s[4]=sW.x,s[8]=Sm.x,s[1]=fb.y,s[5]=sW.y,s[9]=Sm.y,s[2]=fb.z,s[6]=sW.z,s[10]=Sm.z,this}multiply(t){return this.multiplyMatrices(this,t)}premultiply(t){return this.multiplyMatrices(t,this)}multiplyMatrices(t,i){let n=t.elements,s=i.elements,o=this.elements,r=n[0],l=n[4],d=n[8],h=n[12],p=n[1],I=n[5],m=n[9],y=n[13],T=n[2],R=n[6],b=n[10],A=n[14],O=n[3],P=n[7],U=n[11],Z=n[15],ne=s[0],K=s[4],oe=s[8],se=s[12],he=s[1],Re=s[5],ee=s[9],Ae=s[13],Ee=s[2],Ce=s[6],Qe=s[10],qe=s[14],St=s[3],$e=s[7],ke=s[11],It=s[15];return o[0]=r*ne+l*he+d*Ee+h*St,o[4]=r*K+l*Re+d*Ce+h*$e,o[8]=r*oe+l*ee+d*Qe+h*ke,o[12]=r*se+l*Ae+d*qe+h*It,o[1]=p*ne+I*he+m*Ee+y*St,o[5]=p*K+I*Re+m*Ce+y*$e,o[9]=p*oe+I*ee+m*Qe+y*ke,o[13]=p*se+I*Ae+m*qe+y*It,o[2]=T*ne+R*he+b*Ee+A*St,o[6]=T*K+R*Re+b*Ce+A*$e,o[10]=T*oe+R*ee+b*Qe+A*ke,o[14]=T*se+R*Ae+b*qe+A*It,o[3]=O*ne+P*he+U*Ee+Z*St,o[7]=O*K+P*Re+U*Ce+Z*$e,o[11]=O*oe+P*ee+U*Qe+Z*ke,o[15]=O*se+P*Ae+U*qe+Z*It,this}multiplyScalar(t){let i=this.elements;return i[0]*=t,i[4]*=t,i[8]*=t,i[12]*=t,i[1]*=t,i[5]*=t,i[9]*=t,i[13]*=t,i[2]*=t,i[6]*=t,i[10]*=t,i[14]*=t,i[3]*=t,i[7]*=t,i[11]*=t,i[15]*=t,this}determinant(){let t=this.elements,i=t[0],n=t[4],s=t[8],o=t[12],r=t[1],l=t[5],d=t[9],h=t[13],p=t[2],I=t[6],m=t[10],y=t[14],T=t[3],R=t[7],b=t[11],A=t[15],O=d*y-h*m,P=l*y-h*I,U=l*m-d*I,Z=r*y-h*p,ne=r*m-d*p,K=r*I-l*p;return i*(R*O-b*P+A*U)-n*(T*O-b*Z+A*ne)+s*(T*P-R*Z+A*K)-o*(T*U-R*ne+b*K)}transpose(){let t=this.elements,i;return i=t[1],t[1]=t[4],t[4]=i,i=t[2],t[2]=t[8],t[8]=i,i=t[6],t[6]=t[9],t[9]=i,i=t[3],t[3]=t[12],t[12]=i,i=t[7],t[7]=t[13],t[13]=i,i=t[11],t[11]=t[14],t[14]=i,this}setPosition(t,i,n){let s=this.elements;return t.isVector3?(s[12]=t.x,s[13]=t.y,s[14]=t.z):(s[12]=t,s[13]=i,s[14]=n),this}invert(){let t=this.elements,i=t[0],n=t[1],s=t[2],o=t[3],r=t[4],l=t[5],d=t[6],h=t[7],p=t[8],I=t[9],m=t[10],y=t[11],T=t[12],R=t[13],b=t[14],A=t[15],O=i*l-n*r,P=i*d-s*r,U=i*h-o*r,Z=n*d-s*l,ne=n*h-o*l,K=s*h-o*d,oe=p*R-I*T,se=p*b-m*T,he=p*A-y*T,Re=I*b-m*R,ee=I*A-y*R,Ae=m*A-y*b,Ee=O*Ae-P*ee+U*Re+Z*he-ne*se+K*oe;if(Ee===0)return this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);let Ce=1/Ee;return t[0]=(l*Ae-d*ee+h*Re)*Ce,t[1]=(s*ee-n*Ae-o*Re)*Ce,t[2]=(R*K-b*ne+A*Z)*Ce,t[3]=(m*ne-I*K-y*Z)*Ce,t[4]=(d*he-r*Ae-h*se)*Ce,t[5]=(i*Ae-s*he+o*se)*Ce,t[6]=(b*U-T*K-A*P)*Ce,t[7]=(p*K-m*U+y*P)*Ce,t[8]=(r*ee-l*he+h*oe)*Ce,t[9]=(n*he-i*ee-o*oe)*Ce,t[10]=(T*ne-R*U+A*O)*Ce,t[11]=(I*U-p*ne-y*O)*Ce,t[12]=(l*se-r*Re-d*oe)*Ce,t[13]=(i*Re-n*se+s*oe)*Ce,t[14]=(R*P-T*Z-b*O)*Ce,t[15]=(p*Z-I*P+m*O)*Ce,this}scale(t){let i=this.elements,n=t.x,s=t.y,o=t.z;return i[0]*=n,i[4]*=s,i[8]*=o,i[1]*=n,i[5]*=s,i[9]*=o,i[2]*=n,i[6]*=s,i[10]*=o,i[3]*=n,i[7]*=s,i[11]*=o,this}getMaxScaleOnAxis(){let t=this.elements,i=t[0]*t[0]+t[1]*t[1]+t[2]*t[2],n=t[4]*t[4]+t[5]*t[5]+t[6]*t[6],s=t[8]*t[8]+t[9]*t[9]+t[10]*t[10];return Math.sqrt(Math.max(i,n,s))}makeTranslation(t,i,n){return t.isVector3?this.set(1,0,0,t.x,0,1,0,t.y,0,0,1,t.z,0,0,0,1):this.set(1,0,0,t,0,1,0,i,0,0,1,n,0,0,0,1),this}makeRotationX(t){let i=Math.cos(t),n=Math.sin(t);return this.set(1,0,0,0,0,i,-n,0,0,n,i,0,0,0,0,1),this}makeRotationY(t){let i=Math.cos(t),n=Math.sin(t);return this.set(i,0,n,0,0,1,0,0,-n,0,i,0,0,0,0,1),this}makeRotationZ(t){let i=Math.cos(t),n=Math.sin(t);return this.set(i,-n,0,0,n,i,0,0,0,0,1,0,0,0,0,1),this}makeRotationAxis(t,i){let n=Math.cos(i),s=Math.sin(i),o=1-n,r=t.x,l=t.y,d=t.z,h=o*r,p=o*l;return this.set(h*r+n,h*l-s*d,h*d+s*l,0,h*l+s*d,p*l+n,p*d-s*r,0,h*d-s*l,p*d+s*r,o*d*d+n,0,0,0,0,1),this}makeScale(t,i,n){return this.set(t,0,0,0,0,i,0,0,0,0,n,0,0,0,0,1),this}makeShear(t,i,n,s,o,r){return this.set(1,n,o,0,t,1,r,0,i,s,1,0,0,0,0,1),this}compose(t,i,n){let s=this.elements,o=i._x,r=i._y,l=i._z,d=i._w,h=o+o,p=r+r,I=l+l,m=o*h,y=o*p,T=o*I,R=r*p,b=r*I,A=l*I,O=d*h,P=d*p,U=d*I,Z=n.x,ne=n.y,K=n.z;return s[0]=(1-(R+A))*Z,s[1]=(y+U)*Z,s[2]=(T-P)*Z,s[3]=0,s[4]=(y-U)*ne,s[5]=(1-(m+A))*ne,s[6]=(b+O)*ne,s[7]=0,s[8]=(T+P)*K,s[9]=(b-O)*K,s[10]=(1-(m+R))*K,s[11]=0,s[12]=t.x,s[13]=t.y,s[14]=t.z,s[15]=1,this}decompose(t,i,n){let s=this.elements;t.x=s[12],t.y=s[13],t.z=s[14];let o=this.determinant();if(o===0)return n.set(1,1,1),i.identity(),this;let r=FL.set(s[0],s[1],s[2]).length(),l=FL.set(s[4],s[5],s[6]).length(),d=FL.set(s[8],s[9],s[10]).length();o<0&&(r=-r),gT.copy(this);let h=1/r,p=1/l,I=1/d;return gT.elements[0]*=h,gT.elements[1]*=h,gT.elements[2]*=h,gT.elements[4]*=p,gT.elements[5]*=p,gT.elements[6]*=p,gT.elements[8]*=I,gT.elements[9]*=I,gT.elements[10]*=I,i.setFromRotationMatrix(gT),n.x=r,n.y=l,n.z=d,this}makePerspective(t,i,n,s,o,r,l=Wc,d=!1){let h=this.elements,p=2*o/(i-t),I=2*o/(n-s),m=(i+t)/(i-t),y=(n+s)/(n-s),T,R;if(d)T=o/(r-o),R=r*o/(r-o);else if(l===Wc)T=-(r+o)/(r-o),R=-2*r*o/(r-o);else if(l===mf)T=-r/(r-o),R=-r*o/(r-o);else throw new Error("THREE.Matrix4.makePerspective(): Invalid coordinate system: "+l);return h[0]=p,h[4]=0,h[8]=m,h[12]=0,h[1]=0,h[5]=I,h[9]=y,h[13]=0,h[2]=0,h[6]=0,h[10]=T,h[14]=R,h[3]=0,h[7]=0,h[11]=-1,h[15]=0,this}makeOrthographic(t,i,n,s,o,r,l=Wc,d=!1){let h=this.elements,p=2/(i-t),I=2/(n-s),m=-(i+t)/(i-t),y=-(n+s)/(n-s),T,R;if(d)T=1/(r-o),R=r/(r-o);else if(l===Wc)T=-2/(r-o),R=-(r+o)/(r-o);else if(l===mf)T=-1/(r-o),R=-o/(r-o);else throw new Error("THREE.Matrix4.makeOrthographic(): Invalid coordinate system: "+l);return h[0]=p,h[4]=0,h[8]=0,h[12]=m,h[1]=0,h[5]=I,h[9]=0,h[13]=y,h[2]=0,h[6]=0,h[10]=T,h[14]=R,h[3]=0,h[7]=0,h[11]=0,h[15]=1,this}equals(t){let i=this.elements,n=t.elements;for(let s=0;s<16;s++)if(i[s]!==n[s])return!1;return!0}fromArray(t,i=0){for(let n=0;n<16;n++)this.elements[n]=t[n+i];return this}toArray(t=[],i=0){let n=this.elements;return t[i]=n[0],t[i+1]=n[1],t[i+2]=n[2],t[i+3]=n[3],t[i+4]=n[4],t[i+5]=n[5],t[i+6]=n[6],t[i+7]=n[7],t[i+8]=n[8],t[i+9]=n[9],t[i+10]=n[10],t[i+11]=n[11],t[i+12]=n[12],t[i+13]=n[13],t[i+14]=n[14],t[i+15]=n[15],t}},FL=new ye,gT=new Ai,QRe=new ye(0,0,0),JRe=new ye(1,1,1),fb=new ye,sW=new ye,Sm=new ye,Z0e=new Ai,K0e=new Gs,UI=class e{constructor(t=0,i=0,n=0,s=e.DEFAULT_ORDER){this.isEuler=!0,this._x=t,this._y=i,this._z=n,this._order=s}get x(){return this._x}set x(t){this._x=t,this._onChangeCallback()}get y(){return this._y}set y(t){this._y=t,this._onChangeCallback()}get z(){return this._z}set z(t){this._z=t,this._onChangeCallback()}get order(){return this._order}set order(t){this._order=t,this._onChangeCallback()}set(t,i,n,s=this._order){return this._x=t,this._y=i,this._z=n,this._order=s,this._onChangeCallback(),this}clone(){return new this.constructor(this._x,this._y,this._z,this._order)}copy(t){return this._x=t._x,this._y=t._y,this._z=t._z,this._order=t._order,this._onChangeCallback(),this}setFromRotationMatrix(t,i=this._order,n=!0){let s=t.elements,o=s[0],r=s[4],l=s[8],d=s[1],h=s[5],p=s[9],I=s[2],m=s[6],y=s[10];switch(i){case"XYZ":this._y=Math.asin(cs(l,-1,1)),Math.abs(l)<.9999999?(this._x=Math.atan2(-p,y),this._z=Math.atan2(-r,o)):(this._x=Math.atan2(m,h),this._z=0);break;case"YXZ":this._x=Math.asin(-cs(p,-1,1)),Math.abs(p)<.9999999?(this._y=Math.atan2(l,y),this._z=Math.atan2(d,h)):(this._y=Math.atan2(-I,o),this._z=0);break;case"ZXY":this._x=Math.asin(cs(m,-1,1)),Math.abs(m)<.9999999?(this._y=Math.atan2(-I,y),this._z=Math.atan2(-r,h)):(this._y=0,this._z=Math.atan2(d,o));break;case"ZYX":this._y=Math.asin(-cs(I,-1,1)),Math.abs(I)<.9999999?(this._x=Math.atan2(m,y),this._z=Math.atan2(d,o)):(this._x=0,this._z=Math.atan2(-r,h));break;case"YZX":this._z=Math.asin(cs(d,-1,1)),Math.abs(d)<.9999999?(this._x=Math.atan2(-p,h),this._y=Math.atan2(-I,o)):(this._x=0,this._y=Math.atan2(l,y));break;case"XZY":this._z=Math.asin(-cs(r,-1,1)),Math.abs(r)<.9999999?(this._x=Math.atan2(m,h),this._y=Math.atan2(l,o)):(this._x=Math.atan2(-p,y),this._y=0);break;default:ci("Euler: .setFromRotationMatrix() encountered an unknown order: "+i)}return this._order=i,n===!0&&this._onChangeCallback(),this}setFromQuaternion(t,i,n){return Z0e.makeRotationFromQuaternion(t),this.setFromRotationMatrix(Z0e,i,n)}setFromVector3(t,i=this._order){return this.set(t.x,t.y,t.z,i)}reorder(t){return K0e.setFromEuler(this),this.setFromQuaternion(K0e,t)}equals(t){return t._x===this._x&&t._y===this._y&&t._z===this._z&&t._order===this._order}fromArray(t){return this._x=t[0],this._y=t[1],this._z=t[2],t[3]!==void 0&&(this._order=t[3]),this._onChangeCallback(),this}toArray(t=[],i=0){return t[i]=this._x,t[i+1]=this._y,t[i+2]=this._z,t[i+3]=this._order,t}_onChange(t){return this._onChangeCallback=t,this}_onChangeCallback(){}*[Symbol.iterator](){yield this._x,yield this._y,yield this._z,yield this._order}};UI.DEFAULT_ORDER="XYZ";var oC=class{constructor(){this.mask=1}set(t){this.mask=(1<<t|0)>>>0}enable(t){this.mask|=1<<t|0}enableAll(){this.mask=-1}toggle(t){this.mask^=1<<t|0}disable(t){this.mask&=~(1<<t|0)}disableAll(){this.mask=0}test(t){return(this.mask&t.mask)!==0}isEnabled(t){return(this.mask&(1<<t|0))!==0}},XRe=0,Q0e=new ye,UL=new Gs,Ov=new Ai,oW=new ye,$U=new ye,e5e=new ye,t5e=new Gs,J0e=new ye(1,0,0),X0e=new ye(0,1,0),ehe=new ye(0,0,1),the={type:"added"},i5e={type:"removed"},HL={type:"childadded",child:null},bee={type:"childremoved",child:null},ps=class e extends jc{constructor(){super(),this.isObject3D=!0,Object.defineProperty(this,"id",{value:XRe++}),this.uuid=bm(),this.name="",this.type="Object3D",this.parent=null,this.children=[],this.up=e.DEFAULT_UP.clone();let t=new ye,i=new UI,n=new Gs,s=new ye(1,1,1);function o(){n.setFromEuler(i,!1)}function r(){i.setFromQuaternion(n,void 0,!1)}i._onChange(o),n._onChange(r),Object.defineProperties(this,{position:{configurable:!0,enumerable:!0,value:t},rotation:{configurable:!0,enumerable:!0,value:i},quaternion:{configurable:!0,enumerable:!0,value:n},scale:{configurable:!0,enumerable:!0,value:s},modelViewMatrix:{value:new Ai},normalMatrix:{value:new Qn}}),this.matrix=new Ai,this.matrixWorld=new Ai,this.matrixAutoUpdate=e.DEFAULT_MATRIX_AUTO_UPDATE,this.matrixWorldAutoUpdate=e.DEFAULT_MATRIX_WORLD_AUTO_UPDATE,this.matrixWorldNeedsUpdate=!1,this.layers=new oC,this.visible=!0,this.castShadow=!1,this.receiveShadow=!1,this.frustumCulled=!0,this.renderOrder=0,this.animations=[],this.customDepthMaterial=void 0,this.customDistanceMaterial=void 0,this.static=!1,this.userData={},this.pivot=null}onBeforeShadow(){}onAfterShadow(){}onBeforeRender(){}onAfterRender(){}applyMatrix4(t){this.matrixAutoUpdate&&this.updateMatrix(),this.matrix.premultiply(t),this.matrix.decompose(this.position,this.quaternion,this.scale)}applyQuaternion(t){return this.quaternion.premultiply(t),this}setRotationFromAxisAngle(t,i){this.quaternion.setFromAxisAngle(t,i)}setRotationFromEuler(t){this.quaternion.setFromEuler(t,!0)}setRotationFromMatrix(t){this.quaternion.setFromRotationMatrix(t)}setRotationFromQuaternion(t){this.quaternion.copy(t)}rotateOnAxis(t,i){return UL.setFromAxisAngle(t,i),this.quaternion.multiply(UL),this}rotateOnWorldAxis(t,i){return UL.setFromAxisAngle(t,i),this.quaternion.premultiply(UL),this}rotateX(t){return this.rotateOnAxis(J0e,t)}rotateY(t){return this.rotateOnAxis(X0e,t)}rotateZ(t){return this.rotateOnAxis(ehe,t)}translateOnAxis(t,i){return Q0e.copy(t).applyQuaternion(this.quaternion),this.position.add(Q0e.multiplyScalar(i)),this}translateX(t){return this.translateOnAxis(J0e,t)}translateY(t){return this.translateOnAxis(X0e,t)}translateZ(t){return this.translateOnAxis(ehe,t)}localToWorld(t){return this.updateWorldMatrix(!0,!1),t.applyMatrix4(this.matrixWorld)}worldToLocal(t){return this.updateWorldMatrix(!0,!1),t.applyMatrix4(Ov.copy(this.matrixWorld).invert())}lookAt(t,i,n){t.isVector3?oW.copy(t):oW.set(t,i,n);let s=this.parent;this.updateWorldMatrix(!0,!1),$U.setFromMatrixPosition(this.matrixWorld),this.isCamera||this.isLight?Ov.lookAt($U,oW,this.up):Ov.lookAt(oW,$U,this.up),this.quaternion.setFromRotationMatrix(Ov),s&&(Ov.extractRotation(s.matrixWorld),UL.setFromRotationMatrix(Ov),this.quaternion.premultiply(UL.invert()))}add(t){if(arguments.length>1){for(let i=0;i<arguments.length;i++)this.add(arguments[i]);return this}return t===this?(yi("Object3D.add: object can't be added as a child of itself.",t),this):(t&&t.isObject3D?(t.removeFromParent(),t.parent=this,this.children.push(t),t.dispatchEvent(the),HL.child=t,this.dispatchEvent(HL),HL.child=null):yi("Object3D.add: object not an instance of THREE.Object3D.",t),this)}remove(t){if(arguments.length>1){for(let n=0;n<arguments.length;n++)this.remove(arguments[n]);return this}let i=this.children.indexOf(t);return i!==-1&&(t.parent=null,this.children.splice(i,1),t.dispatchEvent(i5e),bee.child=t,this.dispatchEvent(bee),bee.child=null),this}removeFromParent(){let t=this.parent;return t!==null&&t.remove(this),this}clear(){return this.remove(...this.children)}attach(t){return this.updateWorldMatrix(!0,!1),Ov.copy(this.matrixWorld).invert(),t.parent!==null&&(t.parent.updateWorldMatrix(!0,!1),Ov.multiply(t.parent.matrixWorld)),t.applyMatrix4(Ov),t.removeFromParent(),t.parent=this,this.children.push(t),t.updateWorldMatrix(!1,!0),t.dispatchEvent(the),HL.child=t,this.dispatchEvent(HL),HL.child=null,this}getObjectById(t){return this.getObjectByProperty("id",t)}getObjectByName(t){return this.getObjectByProperty("name",t)}getObjectByProperty(t,i){if(this[t]===i)return this;for(let n=0,s=this.children.length;n<s;n++){let r=this.children[n].getObjectByProperty(t,i);if(r!==void 0)return r}}getObjectsByProperty(t,i,n=[]){this[t]===i&&n.push(this);let s=this.children;for(let o=0,r=s.length;o<r;o++)s[o].getObjectsByProperty(t,i,n);return n}getWorldPosition(t){return this.updateWorldMatrix(!0,!1),t.setFromMatrixPosition(this.matrixWorld)}getWorldQuaternion(t){return this.updateWorldMatrix(!0,!1),this.matrixWorld.decompose($U,t,e5e),t}getWorldScale(t){return this.updateWorldMatrix(!0,!1),this.matrixWorld.decompose($U,t5e,t),t}getWorldDirection(t){this.updateWorldMatrix(!0,!1);let i=this.matrixWorld.elements;return t.set(i[8],i[9],i[10]).normalize()}raycast(){}traverse(t){t(this);let i=this.children;for(let n=0,s=i.length;n<s;n++)i[n].traverse(t)}traverseVisible(t){if(this.visible===!1)return;t(this);let i=this.children;for(let n=0,s=i.length;n<s;n++)i[n].traverseVisible(t)}traverseAncestors(t){let i=this.parent;i!==null&&(t(i),i.traverseAncestors(t))}updateMatrix(){this.matrix.compose(this.position,this.quaternion,this.scale);let t=this.pivot;if(t!==null){let i=t.x,n=t.y,s=t.z,o=this.matrix.elements;o[12]+=i-o[0]*i-o[4]*n-o[8]*s,o[13]+=n-o[1]*i-o[5]*n-o[9]*s,o[14]+=s-o[2]*i-o[6]*n-o[10]*s}this.matrixWorldNeedsUpdate=!0}updateMatrixWorld(t){this.matrixAutoUpdate&&this.updateMatrix(),(this.matrixWorldNeedsUpdate||t)&&(this.matrixWorldAutoUpdate===!0&&(this.parent===null?this.matrixWorld.copy(this.matrix):this.matrixWorld.multiplyMatrices(this.parent.matrixWorld,this.matrix)),this.matrixWorldNeedsUpdate=!1,t=!0);let i=this.children;for(let n=0,s=i.length;n<s;n++)i[n].updateMatrixWorld(t)}updateWorldMatrix(t,i){let n=this.parent;if(t===!0&&n!==null&&n.updateWorldMatrix(!0,!1),this.matrixAutoUpdate&&this.updateMatrix(),this.matrixWorldAutoUpdate===!0&&(this.parent===null?this.matrixWorld.copy(this.matrix):this.matrixWorld.multiplyMatrices(this.parent.matrixWorld,this.matrix)),i===!0){let s=this.children;for(let o=0,r=s.length;o<r;o++)s[o].updateWorldMatrix(!1,!0)}}toJSON(t){let i=t===void 0||typeof t=="string",n={};i&&(t={geometries:{},materials:{},textures:{},images:{},shapes:{},skeletons:{},animations:{},nodes:{}},n.metadata={version:4.7,type:"Object",generator:"Object3D.toJSON"});let s={};s.uuid=this.uuid,s.type=this.type,this.name!==""&&(s.name=this.name),this.castShadow===!0&&(s.castShadow=!0),this.receiveShadow===!0&&(s.receiveShadow=!0),this.visible===!1&&(s.visible=!1),this.frustumCulled===!1&&(s.frustumCulled=!1),this.renderOrder!==0&&(s.renderOrder=this.renderOrder),this.static!==!1&&(s.static=this.static),Object.keys(this.userData).length>0&&(s.userData=this.userData),s.layers=this.layers.mask,s.matrix=this.matrix.toArray(),s.up=this.up.toArray(),this.pivot!==null&&(s.pivot=this.pivot.toArray()),this.matrixAutoUpdate===!1&&(s.matrixAutoUpdate=!1),this.morphTargetDictionary!==void 0&&(s.morphTargetDictionary=Object.assign({},this.morphTargetDictionary)),this.morphTargetInfluences!==void 0&&(s.morphTargetInfluences=this.morphTargetInfluences.slice()),this.isInstancedMesh&&(s.type="InstancedMesh",s.count=this.count,s.instanceMatrix=this.instanceMatrix.toJSON(),this.instanceColor!==null&&(s.instanceColor=this.instanceColor.toJSON())),this.isBatchedMesh&&(s.type="BatchedMesh",s.perObjectFrustumCulled=this.perObjectFrustumCulled,s.sortObjects=this.sortObjects,s.drawRanges=this._drawRanges,s.reservedRanges=this._reservedRanges,s.geometryInfo=this._geometryInfo.map(l=>({...l,boundingBox:l.boundingBox?l.boundingBox.toJSON():void 0,boundingSphere:l.boundingSphere?l.boundingSphere.toJSON():void 0})),s.instanceInfo=this._instanceInfo.map(l=>({...l})),s.availableInstanceIds=this._availableInstanceIds.slice(),s.availableGeometryIds=this._availableGeometryIds.slice(),s.nextIndexStart=this._nextIndexStart,s.nextVertexStart=this._nextVertexStart,s.geometryCount=this._geometryCount,s.maxInstanceCount=this._maxInstanceCount,s.maxVertexCount=this._maxVertexCount,s.maxIndexCount=this._maxIndexCount,s.geometryInitialized=this._geometryInitialized,s.matricesTexture=this._matricesTexture.toJSON(t),s.indirectTexture=this._indirectTexture.toJSON(t),this._colorsTexture!==null&&(s.colorsTexture=this._colorsTexture.toJSON(t)),this.boundingSphere!==null&&(s.boundingSphere=this.boundingSphere.toJSON()),this.boundingBox!==null&&(s.boundingBox=this.boundingBox.toJSON()));function o(l,d){return l[d.uuid]===void 0&&(l[d.uuid]=d.toJSON(t)),d.uuid}if(this.isScene)this.background&&(this.background.isColor?s.background=this.background.toJSON():this.background.isTexture&&(s.background=this.background.toJSON(t).uuid)),this.environment&&this.environment.isTexture&&this.environment.isRenderTargetTexture!==!0&&(s.environment=this.environment.toJSON(t).uuid);else if(this.isMesh||this.isLine||this.isPoints){s.geometry=o(t.geometries,this.geometry);let l=this.geometry.parameters;if(l!==void 0&&l.shapes!==void 0){let d=l.shapes;if(Array.isArray(d))for(let h=0,p=d.length;h<p;h++){let I=d[h];o(t.shapes,I)}else o(t.shapes,d)}}if(this.isSkinnedMesh&&(s.bindMode=this.bindMode,s.bindMatrix=this.bindMatrix.toArray(),this.skeleton!==void 0&&(o(t.skeletons,this.skeleton),s.skeleton=this.skeleton.uuid)),this.material!==void 0)if(Array.isArray(this.material)){let l=[];for(let d=0,h=this.material.length;d<h;d++)l.push(o(t.materials,this.material[d]));s.material=l}else s.material=o(t.materials,this.material);if(this.children.length>0){s.children=[];for(let l=0;l<this.children.length;l++)s.children.push(this.children[l].toJSON(t).object)}if(this.animations.length>0){s.animations=[];for(let l=0;l<this.animations.length;l++){let d=this.animations[l];s.animations.push(o(t.animations,d))}}if(i){let l=r(t.geometries),d=r(t.materials),h=r(t.textures),p=r(t.images),I=r(t.shapes),m=r(t.skeletons),y=r(t.animations),T=r(t.nodes);l.length>0&&(n.geometries=l),d.length>0&&(n.materials=d),h.length>0&&(n.textures=h),p.length>0&&(n.images=p),I.length>0&&(n.shapes=I),m.length>0&&(n.skeletons=m),y.length>0&&(n.animations=y),T.length>0&&(n.nodes=T)}return n.object=s,n;function r(l){let d=[];for(let h in l){let p=l[h];delete p.metadata,d.push(p)}return d}}clone(t){return new this.constructor().copy(this,t)}copy(t,i=!0){if(this.name=t.name,this.up.copy(t.up),this.position.copy(t.position),this.rotation.order=t.rotation.order,this.quaternion.copy(t.quaternion),this.scale.copy(t.scale),this.pivot=t.pivot!==null?t.pivot.clone():null,this.matrix.copy(t.matrix),this.matrixWorld.copy(t.matrixWorld),this.matrixAutoUpdate=t.matrixAutoUpdate,this.matrixWorldAutoUpdate=t.matrixWorldAutoUpdate,this.matrixWorldNeedsUpdate=t.matrixWorldNeedsUpdate,this.layers.mask=t.layers.mask,this.visible=t.visible,this.castShadow=t.castShadow,this.receiveShadow=t.receiveShadow,this.frustumCulled=t.frustumCulled,this.renderOrder=t.renderOrder,this.static=t.static,this.animations=t.animations.slice(),this.userData=JSON.parse(JSON.stringify(t.userData)),i===!0)for(let n=0;n<t.children.length;n++){let s=t.children[n];this.add(s.clone())}return this}};ps.DEFAULT_UP=new ye(0,1,0);ps.DEFAULT_MATRIX_AUTO_UPDATE=!0;ps.DEFAULT_MATRIX_WORLD_AUTO_UPDATE=!0;var Zo=class extends ps{constructor(){super(),this.isGroup=!0,this.type="Group"}},n5e={type:"move"},jv=class{constructor(){this._targetRay=null,this._grip=null,this._hand=null}getHandSpace(){return this._hand===null&&(this._hand=new Zo,this._hand.matrixAutoUpdate=!1,this._hand.visible=!1,this._hand.joints={},this._hand.inputState={pinching:!1}),this._hand}getTargetRaySpace(){return this._targetRay===null&&(this._targetRay=new Zo,this._targetRay.matrixAutoUpdate=!1,this._targetRay.visible=!1,this._targetRay.hasLinearVelocity=!1,this._targetRay.linearVelocity=new ye,this._targetRay.hasAngularVelocity=!1,this._targetRay.angularVelocity=new ye),this._targetRay}getGripSpace(){return this._grip===null&&(this._grip=new Zo,this._grip.matrixAutoUpdate=!1,this._grip.visible=!1,this._grip.hasLinearVelocity=!1,this._grip.linearVelocity=new ye,this._grip.hasAngularVelocity=!1,this._grip.angularVelocity=new ye,this._grip.eventsEnabled=!1),this._grip}dispatchEvent(t){return this._targetRay!==null&&this._targetRay.dispatchEvent(t),this._grip!==null&&this._grip.dispatchEvent(t),this._hand!==null&&this._hand.dispatchEvent(t),this}connect(t){if(t&&t.hand){let i=this._hand;if(i)for(let n of t.hand.values())this._getHandJoint(i,n)}return this.dispatchEvent({type:"connected",data:t}),this}disconnect(t){return this.dispatchEvent({type:"disconnected",data:t}),this._targetRay!==null&&(this._targetRay.visible=!1),this._grip!==null&&(this._grip.visible=!1),this._hand!==null&&(this._hand.visible=!1),this}update(t,i,n){let s=null,o=null,r=null,l=this._targetRay,d=this._grip,h=this._hand;if(t&&i.session.visibilityState!=="visible-blurred"){if(h&&t.hand){r=!0;for(let R of t.hand.values()){let b=i.getJointPose(R,n),A=this._getHandJoint(h,R);b!==null&&(A.matrix.fromArray(b.transform.matrix),A.matrix.decompose(A.position,A.rotation,A.scale),A.matrixWorldNeedsUpdate=!0,A.jointRadius=b.radius),A.visible=b!==null}let p=h.joints["index-finger-tip"],I=h.joints["thumb-tip"],m=p.position.distanceTo(I.position),y=.02,T=.005;h.inputState.pinching&&m>y+T?(h.inputState.pinching=!1,this.dispatchEvent({type:"pinchend",handedness:t.handedness,target:this})):!h.inputState.pinching&&m<=y-T&&(h.inputState.pinching=!0,this.dispatchEvent({type:"pinchstart",handedness:t.handedness,target:this}))}else d!==null&&t.gripSpace&&(o=i.getPose(t.gripSpace,n),o!==null&&(d.matrix.fromArray(o.transform.matrix),d.matrix.decompose(d.position,d.rotation,d.scale),d.matrixWorldNeedsUpdate=!0,o.linearVelocity?(d.hasLinearVelocity=!0,d.linearVelocity.copy(o.linearVelocity)):d.hasLinearVelocity=!1,o.angularVelocity?(d.hasAngularVelocity=!0,d.angularVelocity.copy(o.angularVelocity)):d.hasAngularVelocity=!1,d.eventsEnabled&&d.dispatchEvent({type:"gripUpdated",data:t,target:this})));l!==null&&(s=i.getPose(t.targetRaySpace,n),s===null&&o!==null&&(s=o),s!==null&&(l.matrix.fromArray(s.transform.matrix),l.matrix.decompose(l.position,l.rotation,l.scale),l.matrixWorldNeedsUpdate=!0,s.linearVelocity?(l.hasLinearVelocity=!0,l.linearVelocity.copy(s.linearVelocity)):l.hasLinearVelocity=!1,s.angularVelocity?(l.hasAngularVelocity=!0,l.angularVelocity.copy(s.angularVelocity)):l.hasAngularVelocity=!1,this.dispatchEvent(n5e)))}return l!==null&&(l.visible=s!==null),d!==null&&(d.visible=o!==null),h!==null&&(h.visible=r!==null),this}_getHandJoint(t,i){if(t.joints[i.jointName]===void 0){let n=new Zo;n.matrixAutoUpdate=!1,n.visible=!1,t.joints[i.jointName]=n,t.add(n)}return t.joints[i.jointName]}},Sfe={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074},pb={h:0,s:0,l:0},rW={h:0,s:0,l:0};function Nee(e,t,i){return i<0&&(i+=1),i>1&&(i-=1),i<1/6?e+(t-e)*6*i:i<1/2?t:i<2/3?e+(t-e)*6*(2/3-i):e}var Oi=class{constructor(t,i,n){return this.isColor=!0,this.r=1,this.g=1,this.b=1,this.set(t,i,n)}set(t,i,n){if(i===void 0&&n===void 0){let s=t;s&&s.isColor?this.copy(s):typeof s=="number"?this.setHex(s):typeof s=="string"&&this.setStyle(s)}else this.setRGB(t,i,n);return this}setScalar(t){return this.r=t,this.g=t,this.b=t,this}setHex(t,i=Va){return t=Math.floor(t),this.r=(t>>16&255)/255,this.g=(t>>8&255)/255,this.b=(t&255)/255,Hn.colorSpaceToWorking(this,i),this}setRGB(t,i,n,s=Hn.workingColorSpace){return this.r=t,this.g=i,this.b=n,Hn.colorSpaceToWorking(this,s),this}setHSL(t,i,n,s=Hn.workingColorSpace){if(t=_te(t,1),i=cs(i,0,1),n=cs(n,0,1),i===0)this.r=this.g=this.b=n;else{let o=n<=.5?n*(1+i):n+i-n*i,r=2*n-o;this.r=Nee(r,o,t+1/3),this.g=Nee(r,o,t),this.b=Nee(r,o,t-1/3)}return Hn.colorSpaceToWorking(this,s),this}setStyle(t,i=Va){function n(o){o!==void 0&&parseFloat(o)<1&&ci("Color: Alpha component of "+t+" will be ignored.")}let s;if(s=/^(\w+)\(([^\)]*)\)/.exec(t)){let o,r=s[1],l=s[2];switch(r){case"rgb":case"rgba":if(o=/^\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(l))return n(o[4]),this.setRGB(Math.min(255,parseInt(o[1],10))/255,Math.min(255,parseInt(o[2],10))/255,Math.min(255,parseInt(o[3],10))/255,i);if(o=/^\s*(\d+)\%\s*,\s*(\d+)\%\s*,\s*(\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(l))return n(o[4]),this.setRGB(Math.min(100,parseInt(o[1],10))/100,Math.min(100,parseInt(o[2],10))/100,Math.min(100,parseInt(o[3],10))/100,i);break;case"hsl":case"hsla":if(o=/^\s*(\d*\.?\d+)\s*,\s*(\d*\.?\d+)\%\s*,\s*(\d*\.?\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(l))return n(o[4]),this.setHSL(parseFloat(o[1])/360,parseFloat(o[2])/100,parseFloat(o[3])/100,i);break;default:ci("Color: Unknown color model "+t)}}else if(s=/^\#([A-Fa-f\d]+)$/.exec(t)){let o=s[1],r=o.length;if(r===3)return this.setRGB(parseInt(o.charAt(0),16)/15,parseInt(o.charAt(1),16)/15,parseInt(o.charAt(2),16)/15,i);if(r===6)return this.setHex(parseInt(o,16),i);ci("Color: Invalid hex color "+t)}else if(t&&t.length>0)return this.setColorName(t,i);return this}setColorName(t,i=Va){let n=Sfe[t.toLowerCase()];return n!==void 0?this.setHex(n,i):ci("Color: Unknown color "+t),this}clone(){return new this.constructor(this.r,this.g,this.b)}copy(t){return this.r=t.r,this.g=t.g,this.b=t.b,this}copySRGBToLinear(t){return this.r=Hv(t.r),this.g=Hv(t.g),this.b=Hv(t.b),this}copyLinearToSRGB(t){return this.r=nP(t.r),this.g=nP(t.g),this.b=nP(t.b),this}convertSRGBToLinear(){return this.copySRGBToLinear(this),this}convertLinearToSRGB(){return this.copyLinearToSRGB(this),this}getHex(t=Va){return Hn.workingToColorSpace(pf.copy(this),t),Math.round(cs(pf.r*255,0,255))*65536+Math.round(cs(pf.g*255,0,255))*256+Math.round(cs(pf.b*255,0,255))}getHexString(t=Va){return("000000"+this.getHex(t).toString(16)).slice(-6)}getHSL(t,i=Hn.workingColorSpace){Hn.workingToColorSpace(pf.copy(this),i);let n=pf.r,s=pf.g,o=pf.b,r=Math.max(n,s,o),l=Math.min(n,s,o),d,h,p=(l+r)/2;if(l===r)d=0,h=0;else{let I=r-l;switch(h=p<=.5?I/(r+l):I/(2-r-l),r){case n:d=(s-o)/I+(s<o?6:0);break;case s:d=(o-n)/I+2;break;case o:d=(n-s)/I+4;break}d/=6}return t.h=d,t.s=h,t.l=p,t}getRGB(t,i=Hn.workingColorSpace){return Hn.workingToColorSpace(pf.copy(this),i),t.r=pf.r,t.g=pf.g,t.b=pf.b,t}getStyle(t=Va){Hn.workingToColorSpace(pf.copy(this),t);let i=pf.r,n=pf.g,s=pf.b;return t!==Va?`color(${t} ${i.toFixed(3)} ${n.toFixed(3)} ${s.toFixed(3)})`:`rgb(${Math.round(i*255)},${Math.round(n*255)},${Math.round(s*255)})`}offsetHSL(t,i,n){return this.getHSL(pb),this.setHSL(pb.h+t,pb.s+i,pb.l+n)}add(t){return this.r+=t.r,this.g+=t.g,this.b+=t.b,this}addColors(t,i){return this.r=t.r+i.r,this.g=t.g+i.g,this.b=t.b+i.b,this}addScalar(t){return this.r+=t,this.g+=t,this.b+=t,this}sub(t){return this.r=Math.max(0,this.r-t.r),this.g=Math.max(0,this.g-t.g),this.b=Math.max(0,this.b-t.b),this}multiply(t){return this.r*=t.r,this.g*=t.g,this.b*=t.b,this}multiplyScalar(t){return this.r*=t,this.g*=t,this.b*=t,this}lerp(t,i){return this.r+=(t.r-this.r)*i,this.g+=(t.g-this.g)*i,this.b+=(t.b-this.b)*i,this}lerpColors(t,i,n){return this.r=t.r+(i.r-t.r)*n,this.g=t.g+(i.g-t.g)*n,this.b=t.b+(i.b-t.b)*n,this}lerpHSL(t,i){this.getHSL(pb),t.getHSL(rW);let n=uH(pb.h,rW.h,i),s=uH(pb.s,rW.s,i),o=uH(pb.l,rW.l,i);return this.setHSL(n,s,o),this}setFromVector3(t){return this.r=t.x,this.g=t.y,this.b=t.z,this}applyMatrix3(t){let i=this.r,n=this.g,s=this.b,o=t.elements;return this.r=o[0]*i+o[3]*n+o[6]*s,this.g=o[1]*i+o[4]*n+o[7]*s,this.b=o[2]*i+o[5]*n+o[8]*s,this}equals(t){return t.r===this.r&&t.g===this.g&&t.b===this.b}fromArray(t,i=0){return this.r=t[i],this.g=t[i+1],this.b=t[i+2],this}toArray(t=[],i=0){return t[i]=this.r,t[i+1]=this.g,t[i+2]=this.b,t}fromBufferAttribute(t,i){return this.r=t.getX(i),this.g=t.getY(i),this.b=t.getZ(i),this}toJSON(){return this.getHex()}*[Symbol.iterator](){yield this.r,yield this.g,yield this.b}},pf=new Oi;Oi.NAMES=Sfe;var pH=class e{constructor(t,i=25e-5){this.isFogExp2=!0,this.name="",this.color=new Oi(t),this.density=i}clone(){return new e(this.color,this.density)}toJSON(){return{type:"FogExp2",name:this.name,color:this.color.getHex(),density:this.density}}},IH=class e{constructor(t,i=1,n=1e3){this.isFog=!0,this.name="",this.color=new Oi(t),this.near=i,this.far=n}clone(){return new e(this.color,this.near,this.far)}toJSON(){return{type:"Fog",name:this.name,color:this.color.getHex(),near:this.near,far:this.far}}},HI=class extends ps{constructor(){super(),this.isScene=!0,this.type="Scene",this.background=null,this.environment=null,this.fog=null,this.backgroundBlurriness=0,this.backgroundIntensity=1,this.backgroundRotation=new UI,this.environmentIntensity=1,this.environmentRotation=new UI,this.overrideMaterial=null,typeof __THREE_DEVTOOLS__<"u"&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("observe",{detail:this}))}copy(t,i){return super.copy(t,i),t.background!==null&&(this.background=t.background.clone()),t.environment!==null&&(this.environment=t.environment.clone()),t.fog!==null&&(this.fog=t.fog.clone()),this.backgroundBlurriness=t.backgroundBlurriness,this.backgroundIntensity=t.backgroundIntensity,this.backgroundRotation.copy(t.backgroundRotation),this.environmentIntensity=t.environmentIntensity,this.environmentRotation.copy(t.environmentRotation),t.overrideMaterial!==null&&(this.overrideMaterial=t.overrideMaterial.clone()),this.matrixAutoUpdate=t.matrixAutoUpdate,this}toJSON(t){let i=super.toJSON(t);return this.fog!==null&&(i.object.fog=this.fog.toJSON()),this.backgroundBlurriness>0&&(i.object.backgroundBlurriness=this.backgroundBlurriness),this.backgroundIntensity!==1&&(i.object.backgroundIntensity=this.backgroundIntensity),i.object.backgroundRotation=this.backgroundRotation.toArray(),this.environmentIntensity!==1&&(i.object.environmentIntensity=this.environmentIntensity),i.object.environmentRotation=this.environmentRotation.toArray(),i}},wT=new ye,Lv=new ye,_ee=new ye,Pv=new ye,GL=new ye,VL=new ye,ihe=new ye,Dee=new ye,Cee=new ye,xee=new ye,Oee=new xn,Lee=new xn,Pee=new xn,fr=class e{constructor(t=new ye,i=new ye,n=new ye){this.a=t,this.b=i,this.c=n}static getNormal(t,i,n,s){s.subVectors(n,i),wT.subVectors(t,i),s.cross(wT);let o=s.lengthSq();return o>0?s.multiplyScalar(1/Math.sqrt(o)):s.set(0,0,0)}static getBarycoord(t,i,n,s,o){wT.subVectors(s,i),Lv.subVectors(n,i),_ee.subVectors(t,i);let r=wT.dot(wT),l=wT.dot(Lv),d=wT.dot(_ee),h=Lv.dot(Lv),p=Lv.dot(_ee),I=r*h-l*l;if(I===0)return o.set(0,0,0),null;let m=1/I,y=(h*d-l*p)*m,T=(r*p-l*d)*m;return o.set(1-y-T,T,y)}static containsPoint(t,i,n,s){return this.getBarycoord(t,i,n,s,Pv)===null?!1:Pv.x>=0&&Pv.y>=0&&Pv.x+Pv.y<=1}static getInterpolation(t,i,n,s,o,r,l,d){return this.getBarycoord(t,i,n,s,Pv)===null?(d.x=0,d.y=0,"z"in d&&(d.z=0),"w"in d&&(d.w=0),null):(d.setScalar(0),d.addScaledVector(o,Pv.x),d.addScaledVector(r,Pv.y),d.addScaledVector(l,Pv.z),d)}static getInterpolatedAttribute(t,i,n,s,o,r){return Oee.setScalar(0),Lee.setScalar(0),Pee.setScalar(0),Oee.fromBufferAttribute(t,i),Lee.fromBufferAttribute(t,n),Pee.fromBufferAttribute(t,s),r.setScalar(0),r.addScaledVector(Oee,o.x),r.addScaledVector(Lee,o.y),r.addScaledVector(Pee,o.z),r}static isFrontFacing(t,i,n,s){return wT.subVectors(n,i),Lv.subVectors(t,i),wT.cross(Lv).dot(s)<0}set(t,i,n){return this.a.copy(t),this.b.copy(i),this.c.copy(n),this}setFromPointsAndIndices(t,i,n,s){return this.a.copy(t[i]),this.b.copy(t[n]),this.c.copy(t[s]),this}setFromAttributeAndIndices(t,i,n,s){return this.a.fromBufferAttribute(t,i),this.b.fromBufferAttribute(t,n),this.c.fromBufferAttribute(t,s),this}clone(){return new this.constructor().copy(this)}copy(t){return this.a.copy(t.a),this.b.copy(t.b),this.c.copy(t.c),this}getArea(){return wT.subVectors(this.c,this.b),Lv.subVectors(this.a,this.b),wT.cross(Lv).length()*.5}getMidpoint(t){return t.addVectors(this.a,this.b).add(this.c).multiplyScalar(1/3)}getNormal(t){return e.getNormal(this.a,this.b,this.c,t)}getPlane(t){return t.setFromCoplanarPoints(this.a,this.b,this.c)}getBarycoord(t,i){return e.getBarycoord(t,this.a,this.b,this.c,i)}getInterpolation(t,i,n,s,o){return e.getInterpolation(t,this.a,this.b,this.c,i,n,s,o)}containsPoint(t){return e.containsPoint(t,this.a,this.b,this.c)}isFrontFacing(t){return e.isFrontFacing(this.a,this.b,this.c,t)}intersectsBox(t){return t.intersectsTriangle(this)}closestPointToPoint(t,i){let n=this.a,s=this.b,o=this.c,r,l;GL.subVectors(s,n),VL.subVectors(o,n),Dee.subVectors(t,n);let d=GL.dot(Dee),h=VL.dot(Dee);if(d<=0&&h<=0)return i.copy(n);Cee.subVectors(t,s);let p=GL.dot(Cee),I=VL.dot(Cee);if(p>=0&&I<=p)return i.copy(s);let m=d*I-p*h;if(m<=0&&d>=0&&p<=0)return r=d/(d-p),i.copy(n).addScaledVector(GL,r);xee.subVectors(t,o);let y=GL.dot(xee),T=VL.dot(xee);if(T>=0&&y<=T)return i.copy(o);let R=y*h-d*T;if(R<=0&&h>=0&&T<=0)return l=h/(h-T),i.copy(n).addScaledVector(VL,l);let b=p*T-y*I;if(b<=0&&I-p>=0&&y-T>=0)return ihe.subVectors(o,s),l=(I-p)/(I-p+(y-T)),i.copy(s).addScaledVector(ihe,l);let A=1/(b+R+m);return r=R*A,l=m*A,i.copy(n).addScaledVector(GL,r).addScaledVector(VL,l)}equals(t){return t.a.equals(this.a)&&t.b.equals(this.b)&&t.c.equals(this.c)}},kn=class{constructor(t=new ye(1/0,1/0,1/0),i=new ye(-1/0,-1/0,-1/0)){this.isBox3=!0,this.min=t,this.max=i}set(t,i){return this.min.copy(t),this.max.copy(i),this}setFromArray(t){this.makeEmpty();for(let i=0,n=t.length;i<n;i+=3)this.expandByPoint(vT.fromArray(t,i));return this}setFromBufferAttribute(t){this.makeEmpty();for(let i=0,n=t.count;i<n;i++)this.expandByPoint(vT.fromBufferAttribute(t,i));return this}setFromPoints(t){this.makeEmpty();for(let i=0,n=t.length;i<n;i++)this.expandByPoint(t[i]);return this}setFromCenterAndSize(t,i){let n=vT.copy(i).multiplyScalar(.5);return this.min.copy(t).sub(n),this.max.copy(t).add(n),this}setFromObject(t,i=!1){return this.makeEmpty(),this.expandByObject(t,i)}clone(){return new this.constructor().copy(this)}copy(t){return this.min.copy(t.min),this.max.copy(t.max),this}makeEmpty(){return this.min.x=this.min.y=this.min.z=1/0,this.max.x=this.max.y=this.max.z=-1/0,this}isEmpty(){return this.max.x<this.min.x||this.max.y<this.min.y||this.max.z<this.min.z}getCenter(t){return this.isEmpty()?t.set(0,0,0):t.addVectors(this.min,this.max).multiplyScalar(.5)}getSize(t){return this.isEmpty()?t.set(0,0,0):t.subVectors(this.max,this.min)}expandByPoint(t){return this.min.min(t),this.max.max(t),this}expandByVector(t){return this.min.sub(t),this.max.add(t),this}expandByScalar(t){return this.min.addScalar(-t),this.max.addScalar(t),this}expandByObject(t,i=!1){t.updateWorldMatrix(!1,!1);let n=t.geometry;if(n!==void 0){let o=n.getAttribute("position");if(i===!0&&o!==void 0&&t.isInstancedMesh!==!0)for(let r=0,l=o.count;r<l;r++)t.isMesh===!0?t.getVertexPosition(r,vT):vT.fromBufferAttribute(o,r),vT.applyMatrix4(t.matrixWorld),this.expandByPoint(vT);else t.boundingBox!==void 0?(t.boundingBox===null&&t.computeBoundingBox(),lW.copy(t.boundingBox)):(n.boundingBox===null&&n.computeBoundingBox(),lW.copy(n.boundingBox)),lW.applyMatrix4(t.matrixWorld),this.union(lW)}let s=t.children;for(let o=0,r=s.length;o<r;o++)this.expandByObject(s[o],i);return this}containsPoint(t){return t.x>=this.min.x&&t.x<=this.max.x&&t.y>=this.min.y&&t.y<=this.max.y&&t.z>=this.min.z&&t.z<=this.max.z}containsBox(t){return this.min.x<=t.min.x&&t.max.x<=this.max.x&&this.min.y<=t.min.y&&t.max.y<=this.max.y&&this.min.z<=t.min.z&&t.max.z<=this.max.z}getParameter(t,i){return i.set((t.x-this.min.x)/(this.max.x-this.min.x),(t.y-this.min.y)/(this.max.y-this.min.y),(t.z-this.min.z)/(this.max.z-this.min.z))}intersectsBox(t){return t.max.x>=this.min.x&&t.min.x<=this.max.x&&t.max.y>=this.min.y&&t.min.y<=this.max.y&&t.max.z>=this.min.z&&t.min.z<=this.max.z}intersectsSphere(t){return this.clampPoint(t.center,vT),vT.distanceToSquared(t.center)<=t.radius*t.radius}intersectsPlane(t){let i,n;return t.normal.x>0?(i=t.normal.x*this.min.x,n=t.normal.x*this.max.x):(i=t.normal.x*this.max.x,n=t.normal.x*this.min.x),t.normal.y>0?(i+=t.normal.y*this.min.y,n+=t.normal.y*this.max.y):(i+=t.normal.y*this.max.y,n+=t.normal.y*this.min.y),t.normal.z>0?(i+=t.normal.z*this.min.z,n+=t.normal.z*this.max.z):(i+=t.normal.z*this.max.z,n+=t.normal.z*this.min.z),i<=-t.constant&&n>=-t.constant}intersectsTriangle(t){if(this.isEmpty())return!1;this.getCenter(ZU),aW.subVectors(this.max,ZU),kL.subVectors(t.a,ZU),zL.subVectors(t.b,ZU),WL.subVectors(t.c,ZU),Ib.subVectors(zL,kL),mb.subVectors(WL,zL),WD.subVectors(kL,WL);let i=[0,-Ib.z,Ib.y,0,-mb.z,mb.y,0,-WD.z,WD.y,Ib.z,0,-Ib.x,mb.z,0,-mb.x,WD.z,0,-WD.x,-Ib.y,Ib.x,0,-mb.y,mb.x,0,-WD.y,WD.x,0];return!Mee(i,kL,zL,WL,aW)||(i=[1,0,0,0,1,0,0,0,1],!Mee(i,kL,zL,WL,aW))?!1:(uW.crossVectors(Ib,mb),i=[uW.x,uW.y,uW.z],Mee(i,kL,zL,WL,aW))}clampPoint(t,i){return i.copy(t).clamp(this.min,this.max)}distanceToPoint(t){return this.clampPoint(t,vT).distanceTo(t)}getBoundingSphere(t){return this.isEmpty()?t.makeEmpty():(this.getCenter(t.center),t.radius=this.getSize(vT).length()*.5),t}intersect(t){return this.min.max(t.min),this.max.min(t.max),this.isEmpty()&&this.makeEmpty(),this}union(t){return this.min.min(t.min),this.max.max(t.max),this}applyMatrix4(t){return this.isEmpty()?this:(Mv[0].set(this.min.x,this.min.y,this.min.z).applyMatrix4(t),Mv[1].set(this.min.x,this.min.y,this.max.z).applyMatrix4(t),Mv[2].set(this.min.x,this.max.y,this.min.z).applyMatrix4(t),Mv[3].set(this.min.x,this.max.y,this.max.z).applyMatrix4(t),Mv[4].set(this.max.x,this.min.y,this.min.z).applyMatrix4(t),Mv[5].set(this.max.x,this.min.y,this.max.z).applyMatrix4(t),Mv[6].set(this.max.x,this.max.y,this.min.z).applyMatrix4(t),Mv[7].set(this.max.x,this.max.y,this.max.z).applyMatrix4(t),this.setFromPoints(Mv),this)}translate(t){return this.min.add(t),this.max.add(t),this}equals(t){return t.min.equals(this.min)&&t.max.equals(this.max)}toJSON(){return{min:this.min.toArray(),max:this.max.toArray()}}fromJSON(t){return this.min.fromArray(t.min),this.max.fromArray(t.max),this}},Mv=[new ye,new ye,new ye,new ye,new ye,new ye,new ye,new ye],vT=new ye,lW=new kn,kL=new ye,zL=new ye,WL=new ye,Ib=new ye,mb=new ye,WD=new ye,ZU=new ye,aW=new ye,uW=new ye,YD=new ye;function Mee(e,t,i,n,s){for(let o=0,r=e.length-3;o<=r;o+=3){YD.fromArray(e,o);let l=s.x*Math.abs(YD.x)+s.y*Math.abs(YD.y)+s.z*Math.abs(YD.z),d=t.dot(YD),h=i.dot(YD),p=n.dot(YD);if(Math.max(-Math.max(d,h,p),Math.min(d,h,p))>l)return!1}return!0}var Uv=s5e();function s5e(){let e=new ArrayBuffer(4),t=new Float32Array(e),i=new Uint32Array(e),n=new Uint32Array(512),s=new Uint32Array(512);for(let d=0;d<256;++d){let h=d-127;h<-27?(n[d]=0,n[d|256]=32768,s[d]=24,s[d|256]=24):h<-14?(n[d]=1024>>-h-14,n[d|256]=1024>>-h-14|32768,s[d]=-h-1,s[d|256]=-h-1):h<=15?(n[d]=h+15<<10,n[d|256]=h+15<<10|32768,s[d]=13,s[d|256]=13):h<128?(n[d]=31744,n[d|256]=64512,s[d]=24,s[d|256]=24):(n[d]=31744,n[d|256]=64512,s[d]=13,s[d|256]=13)}let o=new Uint32Array(2048),r=new Uint32Array(64),l=new Uint32Array(64);for(let d=1;d<1024;++d){let h=d<<13,p=0;for(;(h&8388608)===0;)h<<=1,p-=8388608;h&=-8388609,p+=947912704,o[d]=h|p}for(let d=1024;d<2048;++d)o[d]=939524096+(d-1024<<13);for(let d=1;d<31;++d)r[d]=d<<23;r[31]=1199570944,r[32]=2147483648;for(let d=33;d<63;++d)r[d]=2147483648+(d-32<<23);r[63]=3347054592;for(let d=1;d<64;++d)d!==32&&(l[d]=1024);return{floatView:t,uint32View:i,baseTable:n,shiftTable:s,mantissaTable:o,exponentTable:r,offsetTable:l}}function FI(e){Math.abs(e)>65504&&ci("DataUtils.toHalfFloat(): Value out of range."),e=cs(e,-65504,65504),Uv.floatView[0]=e;let t=Uv.uint32View[0],i=t>>23&511;return Uv.baseTable[i]+((t&8388607)>>Uv.shiftTable[i])}function rH(e){let t=e>>10;return Uv.uint32View[0]=Uv.mantissaTable[Uv.offsetTable[t]+(e&1023)]+Uv.exponentTable[t],Uv.floatView[0]}var QW=class{static toHalfFloat(t){return FI(t)}static fromHalfFloat(t){return rH(t)}},bc=new ye,cW=new hi,o5e=0,Tn=class extends jc{constructor(t,i,n=!1){if(super(),Array.isArray(t))throw new TypeError("THREE.BufferAttribute: array should be a Typed Array.");this.isBufferAttribute=!0,Object.defineProperty(this,"id",{value:o5e++}),this.name="",this.array=t,this.itemSize=i,this.count=t!==void 0?t.length/i:0,this.normalized=n,this.usage=Xg,this.updateRanges=[],this.gpuType=Ro,this.version=0}onUploadCallback(){}set needsUpdate(t){t===!0&&this.version++}setUsage(t){return this.usage=t,this}addUpdateRange(t,i){this.updateRanges.push({start:t,count:i})}clearUpdateRanges(){this.updateRanges.length=0}copy(t){return this.name=t.name,this.array=new t.array.constructor(t.array),this.itemSize=t.itemSize,this.count=t.count,this.normalized=t.normalized,this.usage=t.usage,this.gpuType=t.gpuType,this}copyAt(t,i,n){t*=this.itemSize,n*=i.itemSize;for(let s=0,o=this.itemSize;s<o;s++)this.array[t+s]=i.array[n+s];return this}copyArray(t){return this.array.set(t),this}applyMatrix3(t){if(this.itemSize===2)for(let i=0,n=this.count;i<n;i++)cW.fromBufferAttribute(this,i),cW.applyMatrix3(t),this.setXY(i,cW.x,cW.y);else if(this.itemSize===3)for(let i=0,n=this.count;i<n;i++)bc.fromBufferAttribute(this,i),bc.applyMatrix3(t),this.setXYZ(i,bc.x,bc.y,bc.z);return this}applyMatrix4(t){for(let i=0,n=this.count;i<n;i++)bc.fromBufferAttribute(this,i),bc.applyMatrix4(t),this.setXYZ(i,bc.x,bc.y,bc.z);return this}applyNormalMatrix(t){for(let i=0,n=this.count;i<n;i++)bc.fromBufferAttribute(this,i),bc.applyNormalMatrix(t),this.setXYZ(i,bc.x,bc.y,bc.z);return this}transformDirection(t){for(let i=0,n=this.count;i<n;i++)bc.fromBufferAttribute(this,i),bc.transformDirection(t),this.setXYZ(i,bc.x,bc.y,bc.z);return this}set(t,i=0){return this.array.set(t,i),this}getComponent(t,i){let n=this.array[t*this.itemSize+i];return this.normalized&&(n=cp(n,this.array)),n}setComponent(t,i,n){return this.normalized&&(n=Cs(n,this.array)),this.array[t*this.itemSize+i]=n,this}getX(t){let i=this.array[t*this.itemSize];return this.normalized&&(i=cp(i,this.array)),i}setX(t,i){return this.normalized&&(i=Cs(i,this.array)),this.array[t*this.itemSize]=i,this}getY(t){let i=this.array[t*this.itemSize+1];return this.normalized&&(i=cp(i,this.array)),i}setY(t,i){return this.normalized&&(i=Cs(i,this.array)),this.array[t*this.itemSize+1]=i,this}getZ(t){let i=this.array[t*this.itemSize+2];return this.normalized&&(i=cp(i,this.array)),i}setZ(t,i){return this.normalized&&(i=Cs(i,this.array)),this.array[t*this.itemSize+2]=i,this}getW(t){let i=this.array[t*this.itemSize+3];return this.normalized&&(i=cp(i,this.array)),i}setW(t,i){return this.normalized&&(i=Cs(i,this.array)),this.array[t*this.itemSize+3]=i,this}setXY(t,i,n){return t*=this.itemSize,this.normalized&&(i=Cs(i,this.array),n=Cs(n,this.array)),this.array[t+0]=i,this.array[t+1]=n,this}setXYZ(t,i,n,s){return t*=this.itemSize,this.normalized&&(i=Cs(i,this.array),n=Cs(n,this.array),s=Cs(s,this.array)),this.array[t+0]=i,this.array[t+1]=n,this.array[t+2]=s,this}setXYZW(t,i,n,s,o){return t*=this.itemSize,this.normalized&&(i=Cs(i,this.array),n=Cs(n,this.array),s=Cs(s,this.array),o=Cs(o,this.array)),this.array[t+0]=i,this.array[t+1]=n,this.array[t+2]=s,this.array[t+3]=o,this}onUpload(t){return this.onUploadCallback=t,this}clone(){return new this.constructor(this.array,this.itemSize).copy(this)}toJSON(){let t={itemSize:this.itemSize,type:this.array.constructor.name,array:Array.from(this.array),normalized:this.normalized};return this.name!==""&&(t.name=this.name),this.usage!==Xg&&(t.usage=this.usage),t}dispose(){this.dispatchEvent({type:"dispose"})}},JW=class extends Tn{constructor(t,i,n){super(new Int8Array(t),i,n)}},aP=class extends Tn{constructor(t,i,n){super(new Uint8Array(t),i,n)}},XW=class extends Tn{constructor(t,i,n){super(new Uint8ClampedArray(t),i,n)}},eY=class extends Tn{constructor(t,i,n){super(new Int16Array(t),i,n)}},xb=class extends Tn{constructor(t,i,n){super(new Uint16Array(t),i,n)}},tY=class extends Tn{constructor(t,i,n){super(new Int32Array(t),i,n)}},Ob=class extends Tn{constructor(t,i,n){super(new Uint32Array(t),i,n)}},rC=class extends Tn{constructor(t,i,n){super(new Uint16Array(t),i,n),this.isFloat16BufferAttribute=!0}getX(t){let i=rH(this.array[t*this.itemSize]);return this.normalized&&(i=cp(i,this.array)),i}setX(t,i){return this.normalized&&(i=Cs(i,this.array)),this.array[t*this.itemSize]=FI(i),this}getY(t){let i=rH(this.array[t*this.itemSize+1]);return this.normalized&&(i=cp(i,this.array)),i}setY(t,i){return this.normalized&&(i=Cs(i,this.array)),this.array[t*this.itemSize+1]=FI(i),this}getZ(t){let i=rH(this.array[t*this.itemSize+2]);return this.normalized&&(i=cp(i,this.array)),i}setZ(t,i){return this.normalized&&(i=Cs(i,this.array)),this.array[t*this.itemSize+2]=FI(i),this}getW(t){let i=rH(this.array[t*this.itemSize+3]);return this.normalized&&(i=cp(i,this.array)),i}setW(t,i){return this.normalized&&(i=Cs(i,this.array)),this.array[t*this.itemSize+3]=FI(i),this}setXY(t,i,n){return t*=this.itemSize,this.normalized&&(i=Cs(i,this.array),n=Cs(n,this.array)),this.array[t+0]=FI(i),this.array[t+1]=FI(n),this}setXYZ(t,i,n,s){return t*=this.itemSize,this.normalized&&(i=Cs(i,this.array),n=Cs(n,this.array),s=Cs(s,this.array)),this.array[t+0]=FI(i),this.array[t+1]=FI(n),this.array[t+2]=FI(s),this}setXYZW(t,i,n,s,o){return t*=this.itemSize,this.normalized&&(i=Cs(i,this.array),n=Cs(n,this.array),s=Cs(s,this.array),o=Cs(o,this.array)),this.array[t+0]=FI(i),this.array[t+1]=FI(n),this.array[t+2]=FI(s),this.array[t+3]=FI(o),this}},ln=class extends Tn{constructor(t,i,n){super(new Float32Array(t),i,n)}},r5e=new kn,KU=new ye,Bee=new ye,no=class{constructor(t=new ye,i=-1){this.isSphere=!0,this.center=t,this.radius=i}set(t,i){return this.center.copy(t),this.radius=i,this}setFromPoints(t,i){let n=this.center;i!==void 0?n.copy(i):r5e.setFromPoints(t).getCenter(n);let s=0;for(let o=0,r=t.length;o<r;o++)s=Math.max(s,n.distanceToSquared(t[o]));return this.radius=Math.sqrt(s),this}copy(t){return this.center.copy(t.center),this.radius=t.radius,this}isEmpty(){return this.radius<0}makeEmpty(){return this.center.set(0,0,0),this.radius=-1,this}containsPoint(t){return t.distanceToSquared(this.center)<=this.radius*this.radius}distanceToPoint(t){return t.distanceTo(this.center)-this.radius}intersectsSphere(t){let i=this.radius+t.radius;return t.center.distanceToSquared(this.center)<=i*i}intersectsBox(t){return t.intersectsSphere(this)}intersectsPlane(t){return Math.abs(t.distanceToPoint(this.center))<=this.radius}clampPoint(t,i){let n=this.center.distanceToSquared(t);return i.copy(t),n>this.radius*this.radius&&(i.sub(this.center).normalize(),i.multiplyScalar(this.radius).add(this.center)),i}getBoundingBox(t){return this.isEmpty()?(t.makeEmpty(),t):(t.set(this.center,this.center),t.expandByScalar(this.radius),t)}applyMatrix4(t){return this.center.applyMatrix4(t),this.radius=this.radius*t.getMaxScaleOnAxis(),this}translate(t){return this.center.add(t),this}expandByPoint(t){if(this.isEmpty())return this.center.copy(t),this.radius=0,this;KU.subVectors(t,this.center);let i=KU.lengthSq();if(i>this.radius*this.radius){let n=Math.sqrt(i),s=(n-this.radius)*.5;this.center.addScaledVector(KU,s/n),this.radius+=s}return this}union(t){return t.isEmpty()?this:this.isEmpty()?(this.copy(t),this):(this.center.equals(t.center)===!0?this.radius=Math.max(this.radius,t.radius):(Bee.subVectors(t.center,this.center).setLength(t.radius),this.expandByPoint(KU.copy(t.center).add(Bee)),this.expandByPoint(KU.copy(t.center).sub(Bee))),this)}equals(t){return t.center.equals(this.center)&&t.radius===this.radius}clone(){return new this.constructor().copy(this)}toJSON(){return{radius:this.radius,center:this.center.toArray()}}fromJSON(t){return this.radius=t.radius,this.center.fromArray(t.center),this}},l5e=0,py=new Ai,Fee=new ps,YL=new ye,Am=new kn,QU=new kn,M0=new ye,nn=class e extends jc{constructor(){super(),this.isBufferGeometry=!0,Object.defineProperty(this,"id",{value:l5e++}),this.uuid=bm(),this.name="",this.type="BufferGeometry",this.index=null,this.indirect=null,this.indirectOffset=0,this.attributes={},this.morphAttributes={},this.morphTargetsRelative=!1,this.groups=[],this.boundingBox=null,this.boundingSphere=null,this.drawRange={start:0,count:1/0},this.userData={}}getIndex(){return this.index}setIndex(t){return Array.isArray(t)?this.index=new(CRe(t)?Ob:xb)(t,1):this.index=t,this}setIndirect(t,i=0){return this.indirect=t,this.indirectOffset=i,this}getIndirect(){return this.indirect}getAttribute(t){return this.attributes[t]}setAttribute(t,i){return this.attributes[t]=i,this}deleteAttribute(t){return delete this.attributes[t],this}hasAttribute(t){return this.attributes[t]!==void 0}addGroup(t,i,n=0){this.groups.push({start:t,count:i,materialIndex:n})}clearGroups(){this.groups=[]}setDrawRange(t,i){this.drawRange.start=t,this.drawRange.count=i}applyMatrix4(t){let i=this.attributes.position;i!==void 0&&(i.applyMatrix4(t),i.needsUpdate=!0);let n=this.attributes.normal;if(n!==void 0){let o=new Qn().getNormalMatrix(t);n.applyNormalMatrix(o),n.needsUpdate=!0}let s=this.attributes.tangent;return s!==void 0&&(s.transformDirection(t),s.needsUpdate=!0),this.boundingBox!==null&&this.computeBoundingBox(),this.boundingSphere!==null&&this.computeBoundingSphere(),this}applyQuaternion(t){return py.makeRotationFromQuaternion(t),this.applyMatrix4(py),this}rotateX(t){return py.makeRotationX(t),this.applyMatrix4(py),this}rotateY(t){return py.makeRotationY(t),this.applyMatrix4(py),this}rotateZ(t){return py.makeRotationZ(t),this.applyMatrix4(py),this}translate(t,i,n){return py.makeTranslation(t,i,n),this.applyMatrix4(py),this}scale(t,i,n){return py.makeScale(t,i,n),this.applyMatrix4(py),this}lookAt(t){return Fee.lookAt(t),Fee.updateMatrix(),this.applyMatrix4(Fee.matrix),this}center(){return this.computeBoundingBox(),this.boundingBox.getCenter(YL).negate(),this.translate(YL.x,YL.y,YL.z),this}setFromPoints(t){let i=this.getAttribute("position");if(i===void 0){let n=[];for(let s=0,o=t.length;s<o;s++){let r=t[s];n.push(r.x,r.y,r.z||0)}this.setAttribute("position",new ln(n,3))}else{let n=Math.min(t.length,i.count);for(let s=0;s<n;s++){let o=t[s];i.setXYZ(s,o.x,o.y,o.z||0)}t.length>i.count&&ci("BufferGeometry: Buffer size too small for points data. Use .dispose() and create a new geometry."),i.needsUpdate=!0}return this}computeBoundingBox(){this.boundingBox===null&&(this.boundingBox=new kn);let t=this.attributes.position,i=this.morphAttributes.position;if(t&&t.isGLBufferAttribute){yi("BufferGeometry.computeBoundingBox(): GLBufferAttribute requires a manual bounding box.",this),this.boundingBox.set(new ye(-1/0,-1/0,-1/0),new ye(1/0,1/0,1/0));return}if(t!==void 0){if(this.boundingBox.setFromBufferAttribute(t),i)for(let n=0,s=i.length;n<s;n++){let o=i[n];Am.setFromBufferAttribute(o),this.morphTargetsRelative?(M0.addVectors(this.boundingBox.min,Am.min),this.boundingBox.expandByPoint(M0),M0.addVectors(this.boundingBox.max,Am.max),this.boundingBox.expandByPoint(M0)):(this.boundingBox.expandByPoint(Am.min),this.boundingBox.expandByPoint(Am.max))}}else this.boundingBox.makeEmpty();(isNaN(this.boundingBox.min.x)||isNaN(this.boundingBox.min.y)||isNaN(this.boundingBox.min.z))&&yi('BufferGeometry.computeBoundingBox(): Computed min/max have NaN values. The "position" attribute is likely to have NaN values.',this)}computeBoundingSphere(){this.boundingSphere===null&&(this.boundingSphere=new no);let t=this.attributes.position,i=this.morphAttributes.position;if(t&&t.isGLBufferAttribute){yi("BufferGeometry.computeBoundingSphere(): GLBufferAttribute requires a manual bounding sphere.",this),this.boundingSphere.set(new ye,1/0);return}if(t){let n=this.boundingSphere.center;if(Am.setFromBufferAttribute(t),i)for(let o=0,r=i.length;o<r;o++){let l=i[o];QU.setFromBufferAttribute(l),this.morphTargetsRelative?(M0.addVectors(Am.min,QU.min),Am.expandByPoint(M0),M0.addVectors(Am.max,QU.max),Am.expandByPoint(M0)):(Am.expandByPoint(QU.min),Am.expandByPoint(QU.max))}Am.getCenter(n);let s=0;for(let o=0,r=t.count;o<r;o++)M0.fromBufferAttribute(t,o),s=Math.max(s,n.distanceToSquared(M0));if(i)for(let o=0,r=i.length;o<r;o++){let l=i[o],d=this.morphTargetsRelative;for(let h=0,p=l.count;h<p;h++)M0.fromBufferAttribute(l,h),d&&(YL.fromBufferAttribute(t,h),M0.add(YL)),s=Math.max(s,n.distanceToSquared(M0))}this.boundingSphere.radius=Math.sqrt(s),isNaN(this.boundingSphere.radius)&&yi('BufferGeometry.computeBoundingSphere(): Computed radius is NaN. The "position" attribute is likely to have NaN values.',this)}}computeTangents(){let t=this.index,i=this.attributes;if(t===null||i.position===void 0||i.normal===void 0||i.uv===void 0){yi("BufferGeometry: .computeTangents() failed. Missing required attributes (index, position, normal or uv)");return}let n=i.position,s=i.normal,o=i.uv;this.hasAttribute("tangent")===!1&&this.setAttribute("tangent",new Tn(new Float32Array(4*n.count),4));let r=this.getAttribute("tangent"),l=[],d=[];for(let oe=0;oe<n.count;oe++)l[oe]=new ye,d[oe]=new ye;let h=new ye,p=new ye,I=new ye,m=new hi,y=new hi,T=new hi,R=new ye,b=new ye;function A(oe,se,he){h.fromBufferAttribute(n,oe),p.fromBufferAttribute(n,se),I.fromBufferAttribute(n,he),m.fromBufferAttribute(o,oe),y.fromBufferAttribute(o,se),T.fromBufferAttribute(o,he),p.sub(h),I.sub(h),y.sub(m),T.sub(m);let Re=1/(y.x*T.y-T.x*y.y);isFinite(Re)&&(R.copy(p).multiplyScalar(T.y).addScaledVector(I,-y.y).multiplyScalar(Re),b.copy(I).multiplyScalar(y.x).addScaledVector(p,-T.x).multiplyScalar(Re),l[oe].add(R),l[se].add(R),l[he].add(R),d[oe].add(b),d[se].add(b),d[he].add(b))}let O=this.groups;O.length===0&&(O=[{start:0,count:t.count}]);for(let oe=0,se=O.length;oe<se;++oe){let he=O[oe],Re=he.start,ee=he.count;for(let Ae=Re,Ee=Re+ee;Ae<Ee;Ae+=3)A(t.getX(Ae+0),t.getX(Ae+1),t.getX(Ae+2))}let P=new ye,U=new ye,Z=new ye,ne=new ye;function K(oe){Z.fromBufferAttribute(s,oe),ne.copy(Z);let se=l[oe];P.copy(se),P.sub(Z.multiplyScalar(Z.dot(se))).normalize(),U.crossVectors(ne,se);let Re=U.dot(d[oe])<0?-1:1;r.setXYZW(oe,P.x,P.y,P.z,Re)}for(let oe=0,se=O.length;oe<se;++oe){let he=O[oe],Re=he.start,ee=he.count;for(let Ae=Re,Ee=Re+ee;Ae<Ee;Ae+=3)K(t.getX(Ae+0)),K(t.getX(Ae+1)),K(t.getX(Ae+2))}}computeVertexNormals(){let t=this.index,i=this.getAttribute("position");if(i!==void 0){let n=this.getAttribute("normal");if(n===void 0)n=new Tn(new Float32Array(i.count*3),3),this.setAttribute("normal",n);else for(let m=0,y=n.count;m<y;m++)n.setXYZ(m,0,0,0);let s=new ye,o=new ye,r=new ye,l=new ye,d=new ye,h=new ye,p=new ye,I=new ye;if(t)for(let m=0,y=t.count;m<y;m+=3){let T=t.getX(m+0),R=t.getX(m+1),b=t.getX(m+2);s.fromBufferAttribute(i,T),o.fromBufferAttribute(i,R),r.fromBufferAttribute(i,b),p.subVectors(r,o),I.subVectors(s,o),p.cross(I),l.fromBufferAttribute(n,T),d.fromBufferAttribute(n,R),h.fromBufferAttribute(n,b),l.add(p),d.add(p),h.add(p),n.setXYZ(T,l.x,l.y,l.z),n.setXYZ(R,d.x,d.y,d.z),n.setXYZ(b,h.x,h.y,h.z)}else for(let m=0,y=i.count;m<y;m+=3)s.fromBufferAttribute(i,m+0),o.fromBufferAttribute(i,m+1),r.fromBufferAttribute(i,m+2),p.subVectors(r,o),I.subVectors(s,o),p.cross(I),n.setXYZ(m+0,p.x,p.y,p.z),n.setXYZ(m+1,p.x,p.y,p.z),n.setXYZ(m+2,p.x,p.y,p.z);this.normalizeNormals(),n.needsUpdate=!0}}normalizeNormals(){let t=this.attributes.normal;for(let i=0,n=t.count;i<n;i++)M0.fromBufferAttribute(t,i),M0.normalize(),t.setXYZ(i,M0.x,M0.y,M0.z)}toNonIndexed(){function t(l,d){let h=l.array,p=l.itemSize,I=l.normalized,m=new h.constructor(d.length*p),y=0,T=0;for(let R=0,b=d.length;R<b;R++){l.isInterleavedBufferAttribute?y=d[R]*l.data.stride+l.offset:y=d[R]*p;for(let A=0;A<p;A++)m[T++]=h[y++]}return new Tn(m,p,I)}if(this.index===null)return ci("BufferGeometry.toNonIndexed(): BufferGeometry is already non-indexed."),this;let i=new e,n=this.index.array,s=this.attributes;for(let l in s){let d=s[l],h=t(d,n);i.setAttribute(l,h)}let o=this.morphAttributes;for(let l in o){let d=[],h=o[l];for(let p=0,I=h.length;p<I;p++){let m=h[p],y=t(m,n);d.push(y)}i.morphAttributes[l]=d}i.morphTargetsRelative=this.morphTargetsRelative;let r=this.groups;for(let l=0,d=r.length;l<d;l++){let h=r[l];i.addGroup(h.start,h.count,h.materialIndex)}return i}toJSON(){let t={metadata:{version:4.7,type:"BufferGeometry",generator:"BufferGeometry.toJSON"}};if(t.uuid=this.uuid,t.type=this.type,this.name!==""&&(t.name=this.name),Object.keys(this.userData).length>0&&(t.userData=this.userData),this.parameters!==void 0){let d=this.parameters;for(let h in d)d[h]!==void 0&&(t[h]=d[h]);return t}t.data={attributes:{}};let i=this.index;i!==null&&(t.data.index={type:i.array.constructor.name,array:Array.prototype.slice.call(i.array)});let n=this.attributes;for(let d in n){let h=n[d];t.data.attributes[d]=h.toJSON(t.data)}let s={},o=!1;for(let d in this.morphAttributes){let h=this.morphAttributes[d],p=[];for(let I=0,m=h.length;I<m;I++){let y=h[I];p.push(y.toJSON(t.data))}p.length>0&&(s[d]=p,o=!0)}o&&(t.data.morphAttributes=s,t.data.morphTargetsRelative=this.morphTargetsRelative);let r=this.groups;r.length>0&&(t.data.groups=JSON.parse(JSON.stringify(r)));let l=this.boundingSphere;return l!==null&&(t.data.boundingSphere=l.toJSON()),t}clone(){return new this.constructor().copy(this)}copy(t){this.index=null,this.attributes={},this.morphAttributes={},this.groups=[],this.boundingBox=null,this.boundingSphere=null;let i={};this.name=t.name;let n=t.index;n!==null&&this.setIndex(n.clone());let s=t.attributes;for(let h in s){let p=s[h];this.setAttribute(h,p.clone(i))}let o=t.morphAttributes;for(let h in o){let p=[],I=o[h];for(let m=0,y=I.length;m<y;m++)p.push(I[m].clone(i));this.morphAttributes[h]=p}this.morphTargetsRelative=t.morphTargetsRelative;let r=t.groups;for(let h=0,p=r.length;h<p;h++){let I=r[h];this.addGroup(I.start,I.count,I.materialIndex)}let l=t.boundingBox;l!==null&&(this.boundingBox=l.clone());let d=t.boundingSphere;return d!==null&&(this.boundingSphere=d.clone()),this.drawRange.start=t.drawRange.start,this.drawRange.count=t.drawRange.count,this.userData=t.userData,this}dispose(){this.dispatchEvent({type:"dispose"})}},qv=class{constructor(t,i){this.isInterleavedBuffer=!0,this.array=t,this.stride=i,this.count=t!==void 0?t.length/i:0,this.usage=Xg,this.updateRanges=[],this.version=0,this.uuid=bm()}onUploadCallback(){}set needsUpdate(t){t===!0&&this.version++}setUsage(t){return this.usage=t,this}addUpdateRange(t,i){this.updateRanges.push({start:t,count:i})}clearUpdateRanges(){this.updateRanges.length=0}copy(t){return this.array=new t.array.constructor(t.array),this.count=t.count,this.stride=t.stride,this.usage=t.usage,this}copyAt(t,i,n){t*=this.stride,n*=i.stride;for(let s=0,o=this.stride;s<o;s++)this.array[t+s]=i.array[n+s];return this}set(t,i=0){return this.array.set(t,i),this}clone(t){t.arrayBuffers===void 0&&(t.arrayBuffers={}),this.array.buffer._uuid===void 0&&(this.array.buffer._uuid=bm()),t.arrayBuffers[this.array.buffer._uuid]===void 0&&(t.arrayBuffers[this.array.buffer._uuid]=this.array.slice(0).buffer);let i=new this.array.constructor(t.arrayBuffers[this.array.buffer._uuid]),n=new this.constructor(i,this.stride);return n.setUsage(this.usage),n}onUpload(t){return this.onUploadCallback=t,this}toJSON(t){return t.arrayBuffers===void 0&&(t.arrayBuffers={}),this.array.buffer._uuid===void 0&&(this.array.buffer._uuid=bm()),t.arrayBuffers[this.array.buffer._uuid]===void 0&&(t.arrayBuffers[this.array.buffer._uuid]=Array.from(new Uint32Array(this.array.buffer))),{uuid:this.uuid,buffer:this.array.buffer._uuid,type:this.array.constructor.name,stride:this.stride}}},up=new ye,Du=class e{constructor(t,i,n,s=!1){this.isInterleavedBufferAttribute=!0,this.name="",this.data=t,this.itemSize=i,this.offset=n,this.normalized=s}get count(){return this.data.count}get array(){return this.data.array}set needsUpdate(t){this.data.needsUpdate=t}applyMatrix4(t){for(let i=0,n=this.data.count;i<n;i++)up.fromBufferAttribute(this,i),up.applyMatrix4(t),this.setXYZ(i,up.x,up.y,up.z);return this}applyNormalMatrix(t){for(let i=0,n=this.count;i<n;i++)up.fromBufferAttribute(this,i),up.applyNormalMatrix(t),this.setXYZ(i,up.x,up.y,up.z);return this}transformDirection(t){for(let i=0,n=this.count;i<n;i++)up.fromBufferAttribute(this,i),up.transformDirection(t),this.setXYZ(i,up.x,up.y,up.z);return this}getComponent(t,i){let n=this.array[t*this.data.stride+this.offset+i];return this.normalized&&(n=cp(n,this.array)),n}setComponent(t,i,n){return this.normalized&&(n=Cs(n,this.array)),this.data.array[t*this.data.stride+this.offset+i]=n,this}setX(t,i){return this.normalized&&(i=Cs(i,this.array)),this.data.array[t*this.data.stride+this.offset]=i,this}setY(t,i){return this.normalized&&(i=Cs(i,this.array)),this.data.array[t*this.data.stride+this.offset+1]=i,this}setZ(t,i){return this.normalized&&(i=Cs(i,this.array)),this.data.array[t*this.data.stride+this.offset+2]=i,this}setW(t,i){return this.normalized&&(i=Cs(i,this.array)),this.data.array[t*this.data.stride+this.offset+3]=i,this}getX(t){let i=this.data.array[t*this.data.stride+this.offset];return this.normalized&&(i=cp(i,this.array)),i}getY(t){let i=this.data.array[t*this.data.stride+this.offset+1];return this.normalized&&(i=cp(i,this.array)),i}getZ(t){let i=this.data.array[t*this.data.stride+this.offset+2];return this.normalized&&(i=cp(i,this.array)),i}getW(t){let i=this.data.array[t*this.data.stride+this.offset+3];return this.normalized&&(i=cp(i,this.array)),i}setXY(t,i,n){return t=t*this.data.stride+this.offset,this.normalized&&(i=Cs(i,this.array),n=Cs(n,this.array)),this.data.array[t+0]=i,this.data.array[t+1]=n,this}setXYZ(t,i,n,s){return t=t*this.data.stride+this.offset,this.normalized&&(i=Cs(i,this.array),n=Cs(n,this.array),s=Cs(s,this.array)),this.data.array[t+0]=i,this.data.array[t+1]=n,this.data.array[t+2]=s,this}setXYZW(t,i,n,s,o){return t=t*this.data.stride+this.offset,this.normalized&&(i=Cs(i,this.array),n=Cs(n,this.array),s=Cs(s,this.array),o=Cs(o,this.array)),this.data.array[t+0]=i,this.data.array[t+1]=n,this.data.array[t+2]=s,this.data.array[t+3]=o,this}clone(t){if(t===void 0){Cb("InterleavedBufferAttribute.clone(): Cloning an interleaved buffer attribute will de-interleave buffer data.");let i=[];for(let n=0;n<this.count;n++){let s=n*this.data.stride+this.offset;for(let o=0;o<this.itemSize;o++)i.push(this.data.array[s+o])}return new Tn(new this.array.constructor(i),this.itemSize,this.normalized)}else return t.interleavedBuffers===void 0&&(t.interleavedBuffers={}),t.interleavedBuffers[this.data.uuid]===void 0&&(t.interleavedBuffers[this.data.uuid]=this.data.clone(t)),new e(t.interleavedBuffers[this.data.uuid],this.itemSize,this.offset,this.normalized)}toJSON(t){if(t===void 0){Cb("InterleavedBufferAttribute.toJSON(): Serializing an interleaved buffer attribute will de-interleave buffer data.");let i=[];for(let n=0;n<this.count;n++){let s=n*this.data.stride+this.offset;for(let o=0;o<this.itemSize;o++)i.push(this.data.array[s+o])}return{itemSize:this.itemSize,type:this.array.constructor.name,array:i,normalized:this.normalized}}else return t.interleavedBuffers===void 0&&(t.interleavedBuffers={}),t.interleavedBuffers[this.data.uuid]===void 0&&(t.interleavedBuffers[this.data.uuid]=this.data.toJSON(t)),{isInterleavedBufferAttribute:!0,itemSize:this.itemSize,data:this.data.uuid,offset:this.offset,normalized:this.normalized}}},a5e=0,za=class extends jc{constructor(){super(),this.isMaterial=!0,Object.defineProperty(this,"id",{value:a5e++}),this.uuid=bm(),this.name="",this.type="Material",this.blending=Yc,this.side=$l,this.vertexColors=!1,this.opacity=1,this.transparent=!1,this.alphaHash=!1,this.blendSrc=Gv,this.blendDst=Vv,this.blendEquation=Nc,this.blendSrcAlpha=null,this.blendDstAlpha=null,this.blendEquationAlpha=null,this.blendColor=new Oi(0,0,0),this.blendAlpha=0,this.depthFunc=AT,this.depthTest=!0,this.depthWrite=!0,this.stencilWriteMask=255,this.stencilFunc=rP,this.stencilRef=0,this.stencilFuncMask=255,this.stencilFail=Qg,this.stencilZFail=Qg,this.stencilZPass=Qg,this.stencilWrite=!1,this.clippingPlanes=null,this.clipIntersection=!1,this.clipShadows=!1,this.shadowSide=null,this.colorWrite=!0,this.precision=null,this.polygonOffset=!1,this.polygonOffsetFactor=0,this.polygonOffsetUnits=0,this.dithering=!1,this.alphaToCoverage=!1,this.premultipliedAlpha=!1,this.forceSinglePass=!1,this.allowOverride=!0,this.visible=!0,this.toneMapped=!0,this.userData={},this.version=0,this._alphaTest=0}get alphaTest(){return this._alphaTest}set alphaTest(t){this._alphaTest>0!=t>0&&this.version++,this._alphaTest=t}onBeforeRender(){}onBeforeCompile(){}customProgramCacheKey(){return this.onBeforeCompile.toString()}setValues(t){if(t!==void 0)for(let i in t){let n=t[i];if(n===void 0){ci(`Material: parameter '${i}' has value of undefined.`);continue}let s=this[i];if(s===void 0){ci(`Material: '${i}' is not a property of THREE.${this.type}.`);continue}s&&s.isColor?s.set(n):s&&s.isVector3&&n&&n.isVector3?s.copy(n):this[i]=n}}toJSON(t){let i=t===void 0||typeof t=="string";i&&(t={textures:{},images:{}});let n={metadata:{version:4.7,type:"Material",generator:"Material.toJSON"}};n.uuid=this.uuid,n.type=this.type,this.name!==""&&(n.name=this.name),this.color&&this.color.isColor&&(n.color=this.color.getHex()),this.roughness!==void 0&&(n.roughness=this.roughness),this.metalness!==void 0&&(n.metalness=this.metalness),this.sheen!==void 0&&(n.sheen=this.sheen),this.sheenColor&&this.sheenColor.isColor&&(n.sheenColor=this.sheenColor.getHex()),this.sheenRoughness!==void 0&&(n.sheenRoughness=this.sheenRoughness),this.emissive&&this.emissive.isColor&&(n.emissive=this.emissive.getHex()),this.emissiveIntensity!==void 0&&this.emissiveIntensity!==1&&(n.emissiveIntensity=this.emissiveIntensity),this.specular&&this.specular.isColor&&(n.specular=this.specular.getHex()),this.specularIntensity!==void 0&&(n.specularIntensity=this.specularIntensity),this.specularColor&&this.specularColor.isColor&&(n.specularColor=this.specularColor.getHex()),this.shininess!==void 0&&(n.shininess=this.shininess),this.clearcoat!==void 0&&(n.clearcoat=this.clearcoat),this.clearcoatRoughness!==void 0&&(n.clearcoatRoughness=this.clearcoatRoughness),this.clearcoatMap&&this.clearcoatMap.isTexture&&(n.clearcoatMap=this.clearcoatMap.toJSON(t).uuid),this.clearcoatRoughnessMap&&this.clearcoatRoughnessMap.isTexture&&(n.clearcoatRoughnessMap=this.clearcoatRoughnessMap.toJSON(t).uuid),this.clearcoatNormalMap&&this.clearcoatNormalMap.isTexture&&(n.clearcoatNormalMap=this.clearcoatNormalMap.toJSON(t).uuid,n.clearcoatNormalScale=this.clearcoatNormalScale.toArray()),this.sheenColorMap&&this.sheenColorMap.isTexture&&(n.sheenColorMap=this.sheenColorMap.toJSON(t).uuid),this.sheenRoughnessMap&&this.sheenRoughnessMap.isTexture&&(n.sheenRoughnessMap=this.sheenRoughnessMap.toJSON(t).uuid),this.dispersion!==void 0&&(n.dispersion=this.dispersion),this.iridescence!==void 0&&(n.iridescence=this.iridescence),this.iridescenceIOR!==void 0&&(n.iridescenceIOR=this.iridescenceIOR),this.iridescenceThicknessRange!==void 0&&(n.iridescenceThicknessRange=this.iridescenceThicknessRange),this.iridescenceMap&&this.iridescenceMap.isTexture&&(n.iridescenceMap=this.iridescenceMap.toJSON(t).uuid),this.iridescenceThicknessMap&&this.iridescenceThicknessMap.isTexture&&(n.iridescenceThicknessMap=this.iridescenceThicknessMap.toJSON(t).uuid),this.anisotropy!==void 0&&(n.anisotropy=this.anisotropy),this.anisotropyRotation!==void 0&&(n.anisotropyRotation=this.anisotropyRotation),this.anisotropyMap&&this.anisotropyMap.isTexture&&(n.anisotropyMap=this.anisotropyMap.toJSON(t).uuid),this.map&&this.map.isTexture&&(n.map=this.map.toJSON(t).uuid),this.matcap&&this.matcap.isTexture&&(n.matcap=this.matcap.toJSON(t).uuid),this.alphaMap&&this.alphaMap.isTexture&&(n.alphaMap=this.alphaMap.toJSON(t).uuid),this.lightMap&&this.lightMap.isTexture&&(n.lightMap=this.lightMap.toJSON(t).uuid,n.lightMapIntensity=this.lightMapIntensity),this.aoMap&&this.aoMap.isTexture&&(n.aoMap=this.aoMap.toJSON(t).uuid,n.aoMapIntensity=this.aoMapIntensity),this.bumpMap&&this.bumpMap.isTexture&&(n.bumpMap=this.bumpMap.toJSON(t).uuid,n.bumpScale=this.bumpScale),this.normalMap&&this.normalMap.isTexture&&(n.normalMap=this.normalMap.toJSON(t).uuid,n.normalMapType=this.normalMapType,n.normalScale=this.normalScale.toArray()),this.displacementMap&&this.displacementMap.isTexture&&(n.displacementMap=this.displacementMap.toJSON(t).uuid,n.displacementScale=this.displacementScale,n.displacementBias=this.displacementBias),this.roughnessMap&&this.roughnessMap.isTexture&&(n.roughnessMap=this.roughnessMap.toJSON(t).uuid),this.metalnessMap&&this.metalnessMap.isTexture&&(n.metalnessMap=this.metalnessMap.toJSON(t).uuid),this.emissiveMap&&this.emissiveMap.isTexture&&(n.emissiveMap=this.emissiveMap.toJSON(t).uuid),this.specularMap&&this.specularMap.isTexture&&(n.specularMap=this.specularMap.toJSON(t).uuid),this.specularIntensityMap&&this.specularIntensityMap.isTexture&&(n.specularIntensityMap=this.specularIntensityMap.toJSON(t).uuid),this.specularColorMap&&this.specularColorMap.isTexture&&(n.specularColorMap=this.specularColorMap.toJSON(t).uuid),this.envMap&&this.envMap.isTexture&&(n.envMap=this.envMap.toJSON(t).uuid,this.combine!==void 0&&(n.combine=this.combine)),this.envMapRotation!==void 0&&(n.envMapRotation=this.envMapRotation.toArray()),this.envMapIntensity!==void 0&&(n.envMapIntensity=this.envMapIntensity),this.reflectivity!==void 0&&(n.reflectivity=this.reflectivity),this.refractionRatio!==void 0&&(n.refractionRatio=this.refractionRatio),this.gradientMap&&this.gradientMap.isTexture&&(n.gradientMap=this.gradientMap.toJSON(t).uuid),this.transmission!==void 0&&(n.transmission=this.transmission),this.transmissionMap&&this.transmissionMap.isTexture&&(n.transmissionMap=this.transmissionMap.toJSON(t).uuid),this.thickness!==void 0&&(n.thickness=this.thickness),this.thicknessMap&&this.thicknessMap.isTexture&&(n.thicknessMap=this.thicknessMap.toJSON(t).uuid),this.attenuationDistance!==void 0&&this.attenuationDistance!==1/0&&(n.attenuationDistance=this.attenuationDistance),this.attenuationColor!==void 0&&(n.attenuationColor=this.attenuationColor.getHex()),this.size!==void 0&&(n.size=this.size),this.shadowSide!==null&&(n.shadowSide=this.shadowSide),this.sizeAttenuation!==void 0&&(n.sizeAttenuation=this.sizeAttenuation),this.blending!==Yc&&(n.blending=this.blending),this.side!==$l&&(n.side=this.side),this.vertexColors===!0&&(n.vertexColors=!0),this.opacity<1&&(n.opacity=this.opacity),this.transparent===!0&&(n.transparent=!0),this.blendSrc!==Gv&&(n.blendSrc=this.blendSrc),this.blendDst!==Vv&&(n.blendDst=this.blendDst),this.blendEquation!==Nc&&(n.blendEquation=this.blendEquation),this.blendSrcAlpha!==null&&(n.blendSrcAlpha=this.blendSrcAlpha),this.blendDstAlpha!==null&&(n.blendDstAlpha=this.blendDstAlpha),this.blendEquationAlpha!==null&&(n.blendEquationAlpha=this.blendEquationAlpha),this.blendColor&&this.blendColor.isColor&&(n.blendColor=this.blendColor.getHex()),this.blendAlpha!==0&&(n.blendAlpha=this.blendAlpha),this.depthFunc!==AT&&(n.depthFunc=this.depthFunc),this.depthTest===!1&&(n.depthTest=this.depthTest),this.depthWrite===!1&&(n.depthWrite=this.depthWrite),this.colorWrite===!1&&(n.colorWrite=this.colorWrite),this.stencilWriteMask!==255&&(n.stencilWriteMask=this.stencilWriteMask),this.stencilFunc!==rP&&(n.stencilFunc=this.stencilFunc),this.stencilRef!==0&&(n.stencilRef=this.stencilRef),this.stencilFuncMask!==255&&(n.stencilFuncMask=this.stencilFuncMask),this.stencilFail!==Qg&&(n.stencilFail=this.stencilFail),this.stencilZFail!==Qg&&(n.stencilZFail=this.stencilZFail),this.stencilZPass!==Qg&&(n.stencilZPass=this.stencilZPass),this.stencilWrite===!0&&(n.stencilWrite=this.stencilWrite),this.rotation!==void 0&&this.rotation!==0&&(n.rotation=this.rotation),this.polygonOffset===!0&&(n.polygonOffset=!0),this.polygonOffsetFactor!==0&&(n.polygonOffsetFactor=this.polygonOffsetFactor),this.polygonOffsetUnits!==0&&(n.polygonOffsetUnits=this.polygonOffsetUnits),this.linewidth!==void 0&&this.linewidth!==1&&(n.linewidth=this.linewidth),this.dashSize!==void 0&&(n.dashSize=this.dashSize),this.gapSize!==void 0&&(n.gapSize=this.gapSize),this.scale!==void 0&&(n.scale=this.scale),this.dithering===!0&&(n.dithering=!0),this.alphaTest>0&&(n.alphaTest=this.alphaTest),this.alphaHash===!0&&(n.alphaHash=!0),this.alphaToCoverage===!0&&(n.alphaToCoverage=!0),this.premultipliedAlpha===!0&&(n.premultipliedAlpha=!0),this.forceSinglePass===!0&&(n.forceSinglePass=!0),this.allowOverride===!1&&(n.allowOverride=!1),this.wireframe===!0&&(n.wireframe=!0),this.wireframeLinewidth>1&&(n.wireframeLinewidth=this.wireframeLinewidth),this.wireframeLinecap!=="round"&&(n.wireframeLinecap=this.wireframeLinecap),this.wireframeLinejoin!=="round"&&(n.wireframeLinejoin=this.wireframeLinejoin),this.flatShading===!0&&(n.flatShading=!0),this.visible===!1&&(n.visible=!1),this.toneMapped===!1&&(n.toneMapped=!1),this.fog===!1&&(n.fog=!1),Object.keys(this.userData).length>0&&(n.userData=this.userData);function s(o){let r=[];for(let l in o){let d=o[l];delete d.metadata,r.push(d)}return r}if(i){let o=s(t.textures),r=s(t.images);o.length>0&&(n.textures=o),r.length>0&&(n.images=r)}return n}clone(){return new this.constructor().copy(this)}copy(t){this.name=t.name,this.blending=t.blending,this.side=t.side,this.vertexColors=t.vertexColors,this.opacity=t.opacity,this.transparent=t.transparent,this.blendSrc=t.blendSrc,this.blendDst=t.blendDst,this.blendEquation=t.blendEquation,this.blendSrcAlpha=t.blendSrcAlpha,this.blendDstAlpha=t.blendDstAlpha,this.blendEquationAlpha=t.blendEquationAlpha,this.blendColor.copy(t.blendColor),this.blendAlpha=t.blendAlpha,this.depthFunc=t.depthFunc,this.depthTest=t.depthTest,this.depthWrite=t.depthWrite,this.stencilWriteMask=t.stencilWriteMask,this.stencilFunc=t.stencilFunc,this.stencilRef=t.stencilRef,this.stencilFuncMask=t.stencilFuncMask,this.stencilFail=t.stencilFail,this.stencilZFail=t.stencilZFail,this.stencilZPass=t.stencilZPass,this.stencilWrite=t.stencilWrite;let i=t.clippingPlanes,n=null;if(i!==null){let s=i.length;n=new Array(s);for(let o=0;o!==s;++o)n[o]=i[o].clone()}return this.clippingPlanes=n,this.clipIntersection=t.clipIntersection,this.clipShadows=t.clipShadows,this.shadowSide=t.shadowSide,this.colorWrite=t.colorWrite,this.precision=t.precision,this.polygonOffset=t.polygonOffset,this.polygonOffsetFactor=t.polygonOffsetFactor,this.polygonOffsetUnits=t.polygonOffsetUnits,this.dithering=t.dithering,this.alphaTest=t.alphaTest,this.alphaHash=t.alphaHash,this.alphaToCoverage=t.alphaToCoverage,this.premultipliedAlpha=t.premultipliedAlpha,this.forceSinglePass=t.forceSinglePass,this.allowOverride=t.allowOverride,this.visible=t.visible,this.toneMapped=t.toneMapped,this.userData=JSON.parse(JSON.stringify(t.userData)),this}dispose(){this.dispatchEvent({type:"dispose"})}set needsUpdate(t){t===!0&&this.version++}},Lb=class extends za{constructor(t){super(),this.isSpriteMaterial=!0,this.type="SpriteMaterial",this.color=new Oi(16777215),this.map=null,this.alphaMap=null,this.rotation=0,this.sizeAttenuation=!0,this.transparent=!0,this.fog=!0,this.setValues(t)}copy(t){return super.copy(t),this.color.copy(t.color),this.map=t.map,this.alphaMap=t.alphaMap,this.rotation=t.rotation,this.sizeAttenuation=t.sizeAttenuation,this.fog=t.fog,this}},jL,JU=new ye,qL=new ye,$L=new ye,ZL=new hi,XU=new hi,Afe=new Ai,dW=new ye,eH=new ye,hW=new ye,nhe=new hi,Uee=new hi,she=new hi,mH=class extends ps{constructor(t=new Lb){if(super(),this.isSprite=!0,this.type="Sprite",jL===void 0){jL=new nn;let i=new Float32Array([-.5,-.5,0,0,0,.5,-.5,0,1,0,.5,.5,0,1,1,-.5,.5,0,0,1]),n=new qv(i,5);jL.setIndex([0,1,2,0,2,3]),jL.setAttribute("position",new Du(n,3,0,!1)),jL.setAttribute("uv",new Du(n,2,3,!1))}this.geometry=jL,this.material=t,this.center=new hi(.5,.5),this.count=1}raycast(t,i){t.camera===null&&yi('Sprite: "Raycaster.camera" needs to be set in order to raycast against sprites.'),qL.setFromMatrixScale(this.matrixWorld),Afe.copy(t.camera.matrixWorld),this.modelViewMatrix.multiplyMatrices(t.camera.matrixWorldInverse,this.matrixWorld),$L.setFromMatrixPosition(this.modelViewMatrix),t.camera.isPerspectiveCamera&&this.material.sizeAttenuation===!1&&qL.multiplyScalar(-$L.z);let n=this.material.rotation,s,o;n!==0&&(o=Math.cos(n),s=Math.sin(n));let r=this.center;fW(dW.set(-.5,-.5,0),$L,r,qL,s,o),fW(eH.set(.5,-.5,0),$L,r,qL,s,o),fW(hW.set(.5,.5,0),$L,r,qL,s,o),nhe.set(0,0),Uee.set(1,0),she.set(1,1);let l=t.ray.intersectTriangle(dW,eH,hW,!1,JU);if(l===null&&(fW(eH.set(-.5,.5,0),$L,r,qL,s,o),Uee.set(0,1),l=t.ray.intersectTriangle(dW,hW,eH,!1,JU),l===null))return;let d=t.ray.origin.distanceTo(JU);d<t.near||d>t.far||i.push({distance:d,point:JU.clone(),uv:fr.getInterpolation(JU,dW,eH,hW,nhe,Uee,she,new hi),face:null,object:this})}copy(t,i){return super.copy(t,i),t.center!==void 0&&this.center.copy(t.center),this.material=t.material,this}};function fW(e,t,i,n,s,o){ZL.subVectors(e,i).addScalar(.5).multiply(n),s!==void 0?(XU.x=o*ZL.x-s*ZL.y,XU.y=s*ZL.x+o*ZL.y):XU.copy(ZL),e.copy(t),e.x+=XU.x,e.y+=XU.y,e.applyMatrix4(Afe)}var pW=new ye,ohe=new ye,yH=class extends ps{constructor(){super(),this.isLOD=!0,this._currentLevel=0,this.type="LOD",Object.defineProperties(this,{levels:{enumerable:!0,value:[]}}),this.autoUpdate=!0}copy(t){super.copy(t,!1);let i=t.levels;for(let n=0,s=i.length;n<s;n++){let o=i[n];this.addLevel(o.object.clone(),o.distance,o.hysteresis)}return this.autoUpdate=t.autoUpdate,this}addLevel(t,i=0,n=0){i=Math.abs(i);let s=this.levels,o;for(o=0;o<s.length&&!(i<s[o].distance);o++);return s.splice(o,0,{distance:i,hysteresis:n,object:t}),this.add(t),this}removeLevel(t){let i=this.levels;for(let n=0;n<i.length;n++)if(i[n].distance===t){let s=i.splice(n,1);return this.remove(s[0].object),!0}return!1}getCurrentLevel(){return this._currentLevel}getObjectForDistance(t){let i=this.levels;if(i.length>0){let n,s;for(n=1,s=i.length;n<s;n++){let o=i[n].distance;if(i[n].object.visible&&(o-=o*i[n].hysteresis),t<o)break}return i[n-1].object}return null}raycast(t,i){if(this.levels.length>0){pW.setFromMatrixPosition(this.matrixWorld);let s=t.ray.origin.distanceTo(pW);this.getObjectForDistance(s).raycast(t,i)}}update(t){let i=this.levels;if(i.length>1){pW.setFromMatrixPosition(t.matrixWorld),ohe.setFromMatrixPosition(this.matrixWorld);let n=pW.distanceTo(ohe)/t.zoom;i[0].object.visible=!0;let s,o;for(s=1,o=i.length;s<o;s++){let r=i[s].distance;if(i[s].object.visible&&(r-=r*i[s].hysteresis),n>=r)i[s-1].object.visible=!1,i[s].object.visible=!0;else break}for(this._currentLevel=s-1;s<o;s++)i[s].object.visible=!1}}toJSON(t){let i=super.toJSON(t);this.autoUpdate===!1&&(i.object.autoUpdate=!1),i.object.levels=[];let n=this.levels;for(let s=0,o=n.length;s<o;s++){let r=n[s];i.object.levels.push({object:r.object.uuid,distance:r.distance,hysteresis:r.hysteresis})}return i}},Bv=new ye,Hee=new ye,IW=new ye,yb=new ye,Gee=new ye,mW=new ye,Vee=new ye,Wa=class{constructor(t=new ye,i=new ye(0,0,-1)){this.origin=t,this.direction=i}set(t,i){return this.origin.copy(t),this.direction.copy(i),this}copy(t){return this.origin.copy(t.origin),this.direction.copy(t.direction),this}at(t,i){return i.copy(this.origin).addScaledVector(this.direction,t)}lookAt(t){return this.direction.copy(t).sub(this.origin).normalize(),this}recast(t){return this.origin.copy(this.at(t,Bv)),this}closestPointToPoint(t,i){i.subVectors(t,this.origin);let n=i.dot(this.direction);return n<0?i.copy(this.origin):i.copy(this.origin).addScaledVector(this.direction,n)}distanceToPoint(t){return Math.sqrt(this.distanceSqToPoint(t))}distanceSqToPoint(t){let i=Bv.subVectors(t,this.origin).dot(this.direction);return i<0?this.origin.distanceToSquared(t):(Bv.copy(this.origin).addScaledVector(this.direction,i),Bv.distanceToSquared(t))}distanceSqToSegment(t,i,n,s){Hee.copy(t).add(i).multiplyScalar(.5),IW.copy(i).sub(t).normalize(),yb.copy(this.origin).sub(Hee);let o=t.distanceTo(i)*.5,r=-this.direction.dot(IW),l=yb.dot(this.direction),d=-yb.dot(IW),h=yb.lengthSq(),p=Math.abs(1-r*r),I,m,y,T;if(p>0)if(I=r*d-l,m=r*l-d,T=o*p,I>=0)if(m>=-T)if(m<=T){let R=1/p;I*=R,m*=R,y=I*(I+r*m+2*l)+m*(r*I+m+2*d)+h}else m=o,I=Math.max(0,-(r*m+l)),y=-I*I+m*(m+2*d)+h;else m=-o,I=Math.max(0,-(r*m+l)),y=-I*I+m*(m+2*d)+h;else m<=-T?(I=Math.max(0,-(-r*o+l)),m=I>0?-o:Math.min(Math.max(-o,-d),o),y=-I*I+m*(m+2*d)+h):m<=T?(I=0,m=Math.min(Math.max(-o,-d),o),y=m*(m+2*d)+h):(I=Math.max(0,-(r*o+l)),m=I>0?o:Math.min(Math.max(-o,-d),o),y=-I*I+m*(m+2*d)+h);else m=r>0?-o:o,I=Math.max(0,-(r*m+l)),y=-I*I+m*(m+2*d)+h;return n&&n.copy(this.origin).addScaledVector(this.direction,I),s&&s.copy(Hee).addScaledVector(IW,m),y}intersectSphere(t,i){Bv.subVectors(t.center,this.origin);let n=Bv.dot(this.direction),s=Bv.dot(Bv)-n*n,o=t.radius*t.radius;if(s>o)return null;let r=Math.sqrt(o-s),l=n-r,d=n+r;return d<0?null:l<0?this.at(d,i):this.at(l,i)}intersectsSphere(t){return t.radius<0?!1:this.distanceSqToPoint(t.center)<=t.radius*t.radius}distanceToPlane(t){let i=t.normal.dot(this.direction);if(i===0)return t.distanceToPoint(this.origin)===0?0:null;let n=-(this.origin.dot(t.normal)+t.constant)/i;return n>=0?n:null}intersectPlane(t,i){let n=this.distanceToPlane(t);return n===null?null:this.at(n,i)}intersectsPlane(t){let i=t.distanceToPoint(this.origin);return i===0||t.normal.dot(this.direction)*i<0}intersectBox(t,i){let n,s,o,r,l,d,h=1/this.direction.x,p=1/this.direction.y,I=1/this.direction.z,m=this.origin;return h>=0?(n=(t.min.x-m.x)*h,s=(t.max.x-m.x)*h):(n=(t.max.x-m.x)*h,s=(t.min.x-m.x)*h),p>=0?(o=(t.min.y-m.y)*p,r=(t.max.y-m.y)*p):(o=(t.max.y-m.y)*p,r=(t.min.y-m.y)*p),n>r||o>s||((o>n||isNaN(n))&&(n=o),(r<s||isNaN(s))&&(s=r),I>=0?(l=(t.min.z-m.z)*I,d=(t.max.z-m.z)*I):(l=(t.max.z-m.z)*I,d=(t.min.z-m.z)*I),n>d||l>s)||((l>n||n!==n)&&(n=l),(d<s||s!==s)&&(s=d),s<0)?null:this.at(n>=0?n:s,i)}intersectsBox(t){return this.intersectBox(t,Bv)!==null}intersectTriangle(t,i,n,s,o){Gee.subVectors(i,t),mW.subVectors(n,t),Vee.crossVectors(Gee,mW);let r=this.direction.dot(Vee),l;if(r>0){if(s)return null;l=1}else if(r<0)l=-1,r=-r;else return null;yb.subVectors(this.origin,t);let d=l*this.direction.dot(mW.crossVectors(yb,mW));if(d<0)return null;let h=l*this.direction.dot(Gee.cross(yb));if(h<0||d+h>r)return null;let p=-l*yb.dot(Vee);return p<0?null:this.at(p/r,o)}applyMatrix4(t){return this.origin.applyMatrix4(t),this.direction.transformDirection(t),this}equals(t){return t.origin.equals(this.origin)&&t.direction.equals(this.direction)}clone(){return new this.constructor().copy(this)}},Ho=class extends za{constructor(t){super(),this.isMeshBasicMaterial=!0,this.type="MeshBasicMaterial",this.color=new Oi(16777215),this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.specularMap=null,this.alphaMap=null,this.envMap=null,this.envMapRotation=new UI,this.combine=zb,this.reflectivity=1,this.refractionRatio=.98,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.fog=!0,this.setValues(t)}copy(t){return super.copy(t),this.color.copy(t.color),this.map=t.map,this.lightMap=t.lightMap,this.lightMapIntensity=t.lightMapIntensity,this.aoMap=t.aoMap,this.aoMapIntensity=t.aoMapIntensity,this.specularMap=t.specularMap,this.alphaMap=t.alphaMap,this.envMap=t.envMap,this.envMapRotation.copy(t.envMapRotation),this.combine=t.combine,this.reflectivity=t.reflectivity,this.refractionRatio=t.refractionRatio,this.wireframe=t.wireframe,this.wireframeLinewidth=t.wireframeLinewidth,this.wireframeLinecap=t.wireframeLinecap,this.wireframeLinejoin=t.wireframeLinejoin,this.fog=t.fog,this}},rhe=new Ai,jD=new Wa,yW=new no,lhe=new ye,EW=new ye,TW=new ye,gW=new ye,kee=new ye,wW=new ye,ahe=new ye,vW=new ye,_i=class extends ps{constructor(t=new nn,i=new Ho){super(),this.isMesh=!0,this.type="Mesh",this.geometry=t,this.material=i,this.morphTargetDictionary=void 0,this.morphTargetInfluences=void 0,this.count=1,this.updateMorphTargets()}copy(t,i){return super.copy(t,i),t.morphTargetInfluences!==void 0&&(this.morphTargetInfluences=t.morphTargetInfluences.slice()),t.morphTargetDictionary!==void 0&&(this.morphTargetDictionary=Object.assign({},t.morphTargetDictionary)),this.material=Array.isArray(t.material)?t.material.slice():t.material,this.geometry=t.geometry,this}updateMorphTargets(){let i=this.geometry.morphAttributes,n=Object.keys(i);if(n.length>0){let s=i[n[0]];if(s!==void 0){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let o=0,r=s.length;o<r;o++){let l=s[o].name||String(o);this.morphTargetInfluences.push(0),this.morphTargetDictionary[l]=o}}}}getVertexPosition(t,i){let n=this.geometry,s=n.attributes.position,o=n.morphAttributes.position,r=n.morphTargetsRelative;i.fromBufferAttribute(s,t);let l=this.morphTargetInfluences;if(o&&l){wW.set(0,0,0);for(let d=0,h=o.length;d<h;d++){let p=l[d],I=o[d];p!==0&&(kee.fromBufferAttribute(I,t),r?wW.addScaledVector(kee,p):wW.addScaledVector(kee.sub(i),p))}i.add(wW)}return i}raycast(t,i){let n=this.geometry,s=this.material,o=this.matrixWorld;s!==void 0&&(n.boundingSphere===null&&n.computeBoundingSphere(),yW.copy(n.boundingSphere),yW.applyMatrix4(o),jD.copy(t.ray).recast(t.near),!(yW.containsPoint(jD.origin)===!1&&(jD.intersectSphere(yW,lhe)===null||jD.origin.distanceToSquared(lhe)>(t.far-t.near)**2))&&(rhe.copy(o).invert(),jD.copy(t.ray).applyMatrix4(rhe),!(n.boundingBox!==null&&jD.intersectsBox(n.boundingBox)===!1)&&this._computeIntersections(t,i,jD)))}_computeIntersections(t,i,n){let s,o=this.geometry,r=this.material,l=o.index,d=o.attributes.position,h=o.attributes.uv,p=o.attributes.uv1,I=o.attributes.normal,m=o.groups,y=o.drawRange;if(l!==null)if(Array.isArray(r))for(let T=0,R=m.length;T<R;T++){let b=m[T],A=r[b.materialIndex],O=Math.max(b.start,y.start),P=Math.min(l.count,Math.min(b.start+b.count,y.start+y.count));for(let U=O,Z=P;U<Z;U+=3){let ne=l.getX(U),K=l.getX(U+1),oe=l.getX(U+2);s=RW(this,A,t,n,h,p,I,ne,K,oe),s&&(s.faceIndex=Math.floor(U/3),s.face.materialIndex=b.materialIndex,i.push(s))}}else{let T=Math.max(0,y.start),R=Math.min(l.count,y.start+y.count);for(let b=T,A=R;b<A;b+=3){let O=l.getX(b),P=l.getX(b+1),U=l.getX(b+2);s=RW(this,r,t,n,h,p,I,O,P,U),s&&(s.faceIndex=Math.floor(b/3),i.push(s))}}else if(d!==void 0)if(Array.isArray(r))for(let T=0,R=m.length;T<R;T++){let b=m[T],A=r[b.materialIndex],O=Math.max(b.start,y.start),P=Math.min(d.count,Math.min(b.start+b.count,y.start+y.count));for(let U=O,Z=P;U<Z;U+=3){let ne=U,K=U+1,oe=U+2;s=RW(this,A,t,n,h,p,I,ne,K,oe),s&&(s.faceIndex=Math.floor(U/3),s.face.materialIndex=b.materialIndex,i.push(s))}}else{let T=Math.max(0,y.start),R=Math.min(d.count,y.start+y.count);for(let b=T,A=R;b<A;b+=3){let O=b,P=b+1,U=b+2;s=RW(this,r,t,n,h,p,I,O,P,U),s&&(s.faceIndex=Math.floor(b/3),i.push(s))}}}};function u5e(e,t,i,n,s,o,r,l){let d;if(t.side===Js?d=n.intersectTriangle(r,o,s,!0,l):d=n.intersectTriangle(s,o,r,t.side===$l,l),d===null)return null;vW.copy(l),vW.applyMatrix4(e.matrixWorld);let h=i.ray.origin.distanceTo(vW);return h<i.near||h>i.far?null:{distance:h,point:vW.clone(),object:e}}function RW(e,t,i,n,s,o,r,l,d,h){e.getVertexPosition(l,EW),e.getVertexPosition(d,TW),e.getVertexPosition(h,gW);let p=u5e(e,t,i,n,EW,TW,gW,ahe);if(p){let I=new ye;fr.getBarycoord(ahe,EW,TW,gW,I),s&&(p.uv=fr.getInterpolatedAttribute(s,l,d,h,I,new hi)),o&&(p.uv1=fr.getInterpolatedAttribute(o,l,d,h,I,new hi)),r&&(p.normal=fr.getInterpolatedAttribute(r,l,d,h,I,new ye),p.normal.dot(n.direction)>0&&p.normal.multiplyScalar(-1));let m={a:l,b:d,c:h,normal:new ye,materialIndex:0};fr.getNormal(EW,TW,gW,m.normal),p.face=m,p.barycoord=I}return p}var tH=new xn,uhe=new xn,che=new xn,c5e=new xn,dhe=new Ai,SW=new ye,zee=new no,hhe=new Ai,Wee=new Wa,EH=class extends _i{constructor(t,i){super(t,i),this.isSkinnedMesh=!0,this.type="SkinnedMesh",this.bindMode=qW,this.bindMatrix=new Ai,this.bindMatrixInverse=new Ai,this.boundingBox=null,this.boundingSphere=null}computeBoundingBox(){let t=this.geometry;this.boundingBox===null&&(this.boundingBox=new kn),this.boundingBox.makeEmpty();let i=t.getAttribute("position");for(let n=0;n<i.count;n++)this.getVertexPosition(n,SW),this.boundingBox.expandByPoint(SW)}computeBoundingSphere(){let t=this.geometry;this.boundingSphere===null&&(this.boundingSphere=new no),this.boundingSphere.makeEmpty();let i=t.getAttribute("position");for(let n=0;n<i.count;n++)this.getVertexPosition(n,SW),this.boundingSphere.expandByPoint(SW)}copy(t,i){return super.copy(t,i),this.bindMode=t.bindMode,this.bindMatrix.copy(t.bindMatrix),this.bindMatrixInverse.copy(t.bindMatrixInverse),this.skeleton=t.skeleton,t.boundingBox!==null&&(this.boundingBox=t.boundingBox.clone()),t.boundingSphere!==null&&(this.boundingSphere=t.boundingSphere.clone()),this}raycast(t,i){let n=this.material,s=this.matrixWorld;n!==void 0&&(this.boundingSphere===null&&this.computeBoundingSphere(),zee.copy(this.boundingSphere),zee.applyMatrix4(s),t.ray.intersectsSphere(zee)!==!1&&(hhe.copy(s).invert(),Wee.copy(t.ray).applyMatrix4(hhe),!(this.boundingBox!==null&&Wee.intersectsBox(this.boundingBox)===!1)&&this._computeIntersections(t,i,Wee)))}getVertexPosition(t,i){return super.getVertexPosition(t,i),this.applyBoneTransform(t,i),i}bind(t,i){this.skeleton=t,i===void 0&&(this.updateMatrixWorld(!0),this.skeleton.calculateInverses(),i=this.matrixWorld),this.bindMatrix.copy(i),this.bindMatrixInverse.copy(i).invert()}pose(){this.skeleton.pose()}normalizeSkinWeights(){let t=new xn,i=this.geometry.attributes.skinWeight;for(let n=0,s=i.count;n<s;n++){t.fromBufferAttribute(i,n);let o=1/t.manhattanLength();o!==1/0?t.multiplyScalar(o):t.set(1,0,0,0),i.setXYZW(n,t.x,t.y,t.z,t.w)}}updateMatrixWorld(t){super.updateMatrixWorld(t),this.bindMode===qW?this.bindMatrixInverse.copy(this.matrixWorld).invert():this.bindMode===vte?this.bindMatrixInverse.copy(this.bindMatrix).invert():ci("SkinnedMesh: Unrecognized bindMode: "+this.bindMode)}applyBoneTransform(t,i){let n=this.skeleton,s=this.geometry;uhe.fromBufferAttribute(s.attributes.skinIndex,t),che.fromBufferAttribute(s.attributes.skinWeight,t),i.isVector4?(tH.copy(i),i.set(0,0,0,0)):(tH.set(...i,1),i.set(0,0,0)),tH.applyMatrix4(this.bindMatrix);for(let o=0;o<4;o++){let r=che.getComponent(o);if(r!==0){let l=uhe.getComponent(o);dhe.multiplyMatrices(n.bones[l].matrixWorld,n.boneInverses[l]),i.addScaledVector(c5e.copy(tH).applyMatrix4(dhe),r)}}return i.isVector4&&(i.w=tH.w),i.applyMatrix4(this.bindMatrixInverse)}},uP=class extends ps{constructor(){super(),this.isBone=!0,this.type="Bone"}},Ih=class extends wr{constructor(t=null,i=1,n=1,s,o,r,l,d,h=Vs,p=Vs,I,m){super(null,r,l,d,h,p,s,o,I,m),this.isDataTexture=!0,this.image={data:t,width:i,height:n},this.generateMipmaps=!1,this.flipY=!1,this.unpackAlignment=1}},fhe=new Ai,d5e=new Ai,TH=class e{constructor(t=[],i=[]){this.uuid=bm(),this.bones=t.slice(0),this.boneInverses=i,this.boneMatrices=null,this.previousBoneMatrices=null,this.boneTexture=null,this.init()}init(){let t=this.bones,i=this.boneInverses;if(this.boneMatrices=new Float32Array(t.length*16),i.length===0)this.calculateInverses();else if(t.length!==i.length){ci("Skeleton: Number of inverse bone matrices does not match amount of bones."),this.boneInverses=[];for(let n=0,s=this.bones.length;n<s;n++)this.boneInverses.push(new Ai)}}calculateInverses(){this.boneInverses.length=0;for(let t=0,i=this.bones.length;t<i;t++){let n=new Ai;this.bones[t]&&n.copy(this.bones[t].matrixWorld).invert(),this.boneInverses.push(n)}}pose(){for(let t=0,i=this.bones.length;t<i;t++){let n=this.bones[t];n&&n.matrixWorld.copy(this.boneInverses[t]).invert()}for(let t=0,i=this.bones.length;t<i;t++){let n=this.bones[t];n&&(n.parent&&n.parent.isBone?(n.matrix.copy(n.parent.matrixWorld).invert(),n.matrix.multiply(n.matrixWorld)):n.matrix.copy(n.matrixWorld),n.matrix.decompose(n.position,n.quaternion,n.scale))}}update(){let t=this.bones,i=this.boneInverses,n=this.boneMatrices,s=this.boneTexture;for(let o=0,r=t.length;o<r;o++){let l=t[o]?t[o].matrixWorld:d5e;fhe.multiplyMatrices(l,i[o]),fhe.toArray(n,o*16)}s!==null&&(s.needsUpdate=!0)}clone(){return new e(this.bones,this.boneInverses)}computeBoneTexture(){let t=Math.sqrt(this.bones.length*4);t=Math.ceil(t/4)*4,t=Math.max(t,4);let i=new Float32Array(t*t*4);i.set(this.boneMatrices);let n=new Ih(i,t,t,Ko,Ro);return n.needsUpdate=!0,this.boneMatrices=i,this.boneTexture=n,this}getBoneByName(t){for(let i=0,n=this.bones.length;i<n;i++){let s=this.bones[i];if(s.name===t)return s}}dispose(){this.boneTexture!==null&&(this.boneTexture.dispose(),this.boneTexture=null)}fromJSON(t,i){this.uuid=t.uuid;for(let n=0,s=t.bones.length;n<s;n++){let o=t.bones[n],r=i[o];r===void 0&&(ci("Skeleton: No bone found with UUID:",o),r=new uP),this.bones.push(r),this.boneInverses.push(new Ai().fromArray(t.boneInverses[n]))}return this.init(),this}toJSON(){let t={metadata:{version:4.7,type:"Skeleton",generator:"Skeleton.toJSON"},bones:[],boneInverses:[]};t.uuid=this.uuid;let i=this.bones,n=this.boneInverses;for(let s=0,o=i.length;s<o;s++){let r=i[s];t.bones.push(r.uuid);let l=n[s];t.boneInverses.push(l.toArray())}return t}},B0=class extends Tn{constructor(t,i,n,s=1){super(t,i,n),this.isInstancedBufferAttribute=!0,this.meshPerAttribute=s}copy(t){return super.copy(t),this.meshPerAttribute=t.meshPerAttribute,this}toJSON(){let t=super.toJSON();return t.meshPerAttribute=this.meshPerAttribute,t.isInstancedBufferAttribute=!0,t}},KL=new Ai,phe=new Ai,AW=[],Ihe=new kn,h5e=new Ai,iH=new _i,nH=new no,Pb=class extends _i{constructor(t,i,n){super(t,i),this.isInstancedMesh=!0,this.instanceMatrix=new B0(new Float32Array(n*16),16),this.previousInstanceMatrix=null,this.instanceColor=null,this.morphTexture=null,this.count=n,this.boundingBox=null,this.boundingSphere=null;for(let s=0;s<n;s++)this.setMatrixAt(s,h5e)}computeBoundingBox(){let t=this.geometry,i=this.count;this.boundingBox===null&&(this.boundingBox=new kn),t.boundingBox===null&&t.computeBoundingBox(),this.boundingBox.makeEmpty();for(let n=0;n<i;n++)this.getMatrixAt(n,KL),Ihe.copy(t.boundingBox).applyMatrix4(KL),this.boundingBox.union(Ihe)}computeBoundingSphere(){let t=this.geometry,i=this.count;this.boundingSphere===null&&(this.boundingSphere=new no),t.boundingSphere===null&&t.computeBoundingSphere(),this.boundingSphere.makeEmpty();for(let n=0;n<i;n++)this.getMatrixAt(n,KL),nH.copy(t.boundingSphere).applyMatrix4(KL),this.boundingSphere.union(nH)}copy(t,i){return super.copy(t,i),this.instanceMatrix.copy(t.instanceMatrix),t.previousInstanceMatrix!==null&&(this.previousInstanceMatrix=t.previousInstanceMatrix.clone()),t.morphTexture!==null&&(this.morphTexture=t.morphTexture.clone()),t.instanceColor!==null&&(this.instanceColor=t.instanceColor.clone()),this.count=t.count,t.boundingBox!==null&&(this.boundingBox=t.boundingBox.clone()),t.boundingSphere!==null&&(this.boundingSphere=t.boundingSphere.clone()),this}getColorAt(t,i){return this.instanceColor===null?i.setRGB(1,1,1):i.fromArray(this.instanceColor.array,t*3)}getMatrixAt(t,i){return i.fromArray(this.instanceMatrix.array,t*16)}getMorphAt(t,i){let n=i.morphTargetInfluences,s=this.morphTexture.source.data.data,o=n.length+1,r=t*o+1;for(let l=0;l<n.length;l++)n[l]=s[r+l]}raycast(t,i){let n=this.matrixWorld,s=this.count;if(iH.geometry=this.geometry,iH.material=this.material,iH.material!==void 0&&(this.boundingSphere===null&&this.computeBoundingSphere(),nH.copy(this.boundingSphere),nH.applyMatrix4(n),t.ray.intersectsSphere(nH)!==!1))for(let o=0;o<s;o++){this.getMatrixAt(o,KL),phe.multiplyMatrices(n,KL),iH.matrixWorld=phe,iH.raycast(t,AW);for(let r=0,l=AW.length;r<l;r++){let d=AW[r];d.instanceId=o,d.object=this,i.push(d)}AW.length=0}}setColorAt(t,i){return this.instanceColor===null&&(this.instanceColor=new B0(new Float32Array(this.instanceMatrix.count*3).fill(1),3)),i.toArray(this.instanceColor.array,t*3),this}setMatrixAt(t,i){return i.toArray(this.instanceMatrix.array,t*16),this}setMorphAt(t,i){let n=i.morphTargetInfluences,s=n.length+1;this.morphTexture===null&&(this.morphTexture=new Ih(new Float32Array(s*this.count),s,this.count,uw,Ro));let o=this.morphTexture.source.data.data,r=0;for(let h=0;h<n.length;h++)r+=n[h];let l=this.geometry.morphTargetsRelative?1:1-r,d=s*t;return o[d]=l,o.set(n,d+1),this}updateMorphTargets(){}dispose(){this.dispatchEvent({type:"dispose"}),this.morphTexture!==null&&(this.morphTexture.dispose(),this.morphTexture=null)}},Yee=new ye,f5e=new ye,p5e=new Qn,es=class{constructor(t=new ye(1,0,0),i=0){this.isPlane=!0,this.normal=t,this.constant=i}set(t,i){return this.normal.copy(t),this.constant=i,this}setComponents(t,i,n,s){return this.normal.set(t,i,n),this.constant=s,this}setFromNormalAndCoplanarPoint(t,i){return this.normal.copy(t),this.constant=-i.dot(this.normal),this}setFromCoplanarPoints(t,i,n){let s=Yee.subVectors(n,i).cross(f5e.subVectors(t,i)).normalize();return this.setFromNormalAndCoplanarPoint(s,t),this}copy(t){return this.normal.copy(t.normal),this.constant=t.constant,this}normalize(){let t=1/this.normal.length();return this.normal.multiplyScalar(t),this.constant*=t,this}negate(){return this.constant*=-1,this.normal.negate(),this}distanceToPoint(t){return this.normal.dot(t)+this.constant}distanceToSphere(t){return this.distanceToPoint(t.center)-t.radius}projectPoint(t,i){return i.copy(t).addScaledVector(this.normal,-this.distanceToPoint(t))}intersectLine(t,i,n=!0){let s=t.delta(Yee),o=this.normal.dot(s);if(o===0)return this.distanceToPoint(t.start)===0?i.copy(t.start):null;let r=-(t.start.dot(this.normal)+this.constant)/o;return n===!0&&(r<0||r>1)?null:i.copy(t.start).addScaledVector(s,r)}intersectsLine(t){let i=this.distanceToPoint(t.start),n=this.distanceToPoint(t.end);return i<0&&n>0||n<0&&i>0}intersectsBox(t){return t.intersectsPlane(this)}intersectsSphere(t){return t.intersectsPlane(this)}coplanarPoint(t){return t.copy(this.normal).multiplyScalar(-this.constant)}applyMatrix4(t,i){let n=i||p5e.getNormalMatrix(t),s=this.coplanarPoint(Yee).applyMatrix4(t),o=this.normal.applyMatrix3(n).normalize();return this.constant=-s.dot(o),this}translate(t){return this.constant-=t.dot(this.normal),this}equals(t){return t.normal.equals(this.normal)&&t.constant===this.constant}clone(){return new this.constructor().copy(this)}},qD=new no,I5e=new hi(.5,.5),bW=new ye,F0=class{constructor(t=new es,i=new es,n=new es,s=new es,o=new es,r=new es){this.planes=[t,i,n,s,o,r]}set(t,i,n,s,o,r){let l=this.planes;return l[0].copy(t),l[1].copy(i),l[2].copy(n),l[3].copy(s),l[4].copy(o),l[5].copy(r),this}copy(t){let i=this.planes;for(let n=0;n<6;n++)i[n].copy(t.planes[n]);return this}setFromProjectionMatrix(t,i=Wc,n=!1){let s=this.planes,o=t.elements,r=o[0],l=o[1],d=o[2],h=o[3],p=o[4],I=o[5],m=o[6],y=o[7],T=o[8],R=o[9],b=o[10],A=o[11],O=o[12],P=o[13],U=o[14],Z=o[15];if(s[0].setComponents(h-r,y-p,A-T,Z-O).normalize(),s[1].setComponents(h+r,y+p,A+T,Z+O).normalize(),s[2].setComponents(h+l,y+I,A+R,Z+P).normalize(),s[3].setComponents(h-l,y-I,A-R,Z-P).normalize(),n)s[4].setComponents(d,m,b,U).normalize(),s[5].setComponents(h-d,y-m,A-b,Z-U).normalize();else if(s[4].setComponents(h-d,y-m,A-b,Z-U).normalize(),i===Wc)s[5].setComponents(h+d,y+m,A+b,Z+U).normalize();else if(i===mf)s[5].setComponents(d,m,b,U).normalize();else throw new Error("THREE.Frustum.setFromProjectionMatrix(): Invalid coordinate system: "+i);return this}intersectsObject(t){if(t.boundingSphere!==void 0)t.boundingSphere===null&&t.computeBoundingSphere(),qD.copy(t.boundingSphere).applyMatrix4(t.matrixWorld);else{let i=t.geometry;i.boundingSphere===null&&i.computeBoundingSphere(),qD.copy(i.boundingSphere).applyMatrix4(t.matrixWorld)}return this.intersectsSphere(qD)}intersectsSprite(t){qD.center.set(0,0,0);let i=I5e.distanceTo(t.center);return qD.radius=.7071067811865476+i,qD.applyMatrix4(t.matrixWorld),this.intersectsSphere(qD)}intersectsSphere(t){let i=this.planes,n=t.center,s=-t.radius;for(let o=0;o<6;o++)if(i[o].distanceToPoint(n)<s)return!1;return!0}intersectsBox(t){let i=this.planes;for(let n=0;n<6;n++){let s=i[n];if(bW.x=s.normal.x>0?t.max.x:t.min.x,bW.y=s.normal.y>0?t.max.y:t.min.y,bW.z=s.normal.z>0?t.max.z:t.min.z,s.distanceToPoint(bW)<0)return!1}return!0}containsPoint(t){let i=this.planes;for(let n=0;n<6;n++)if(i[n].distanceToPoint(t)<0)return!1;return!0}clone(){return new this.constructor().copy(this)}},$g=new Ai,Zg=new F0,lC=class e{constructor(){this.coordinateSystem=Wc}intersectsObject(t,i){if(!i.isArrayCamera||i.cameras.length===0)return!1;for(let n=0;n<i.cameras.length;n++){let s=i.cameras[n];if($g.multiplyMatrices(s.projectionMatrix,s.matrixWorldInverse),Zg.setFromProjectionMatrix($g,s.coordinateSystem,s.reversedDepth),Zg.intersectsObject(t))return!0}return!1}intersectsSprite(t,i){if(!i||!i.cameras||i.cameras.length===0)return!1;for(let n=0;n<i.cameras.length;n++){let s=i.cameras[n];if($g.multiplyMatrices(s.projectionMatrix,s.matrixWorldInverse),Zg.setFromProjectionMatrix($g,s.coordinateSystem,s.reversedDepth),Zg.intersectsSprite(t))return!0}return!1}intersectsSphere(t,i){if(!i||!i.cameras||i.cameras.length===0)return!1;for(let n=0;n<i.cameras.length;n++){let s=i.cameras[n];if($g.multiplyMatrices(s.projectionMatrix,s.matrixWorldInverse),Zg.setFromProjectionMatrix($g,s.coordinateSystem,s.reversedDepth),Zg.intersectsSphere(t))return!0}return!1}intersectsBox(t,i){if(!i||!i.cameras||i.cameras.length===0)return!1;for(let n=0;n<i.cameras.length;n++){let s=i.cameras[n];if($g.multiplyMatrices(s.projectionMatrix,s.matrixWorldInverse),Zg.setFromProjectionMatrix($g,s.coordinateSystem,s.reversedDepth),Zg.intersectsBox(t))return!0}return!1}containsPoint(t,i){if(!i||!i.cameras||i.cameras.length===0)return!1;for(let n=0;n<i.cameras.length;n++){let s=i.cameras[n];if($g.multiplyMatrices(s.projectionMatrix,s.matrixWorldInverse),Zg.setFromProjectionMatrix($g,s.coordinateSystem,s.reversedDepth),Zg.containsPoint(t))return!0}return!1}clone(){return new e}};function jee(e,t){return e-t}function m5e(e,t){return e.z-t.z}function y5e(e,t){return t.z-e.z}var rte=class{constructor(){this.index=0,this.pool=[],this.list=[]}push(t,i,n,s){let o=this.pool,r=this.list;this.index>=o.length&&o.push({start:-1,count:-1,z:-1,index:-1});let l=o[this.index];r.push(l),this.index++,l.start=t,l.count=i,l.z=n,l.index=s}reset(){this.list.length=0,this.index=0}},BI=new Ai,E5e=new Oi(1,1,1),mhe=new F0,T5e=new lC,NW=new kn,$D=new no,sH=new ye,yhe=new ye,g5e=new ye,qee=new rte,If=new _i,_W=[];function w5e(e,t,i=0){let n=t.itemSize;if(e.isInterleavedBufferAttribute||e.array.constructor!==t.array.constructor){let s=e.count;for(let o=0;o<s;o++)for(let r=0;r<n;r++)t.setComponent(o+i,r,e.getComponent(o,r))}else t.array.set(e.array,i*n);t.needsUpdate=!0}function ZD(e,t){if(e.constructor!==t.constructor){let i=Math.min(e.length,t.length);for(let n=0;n<i;n++)t[n]=e[n]}else{let i=Math.min(e.length,t.length);t.set(new e.constructor(e.buffer,0,i))}}var $v=class extends _i{constructor(t,i,n=i*2,s){super(new nn,s),this.isBatchedMesh=!0,this.perObjectFrustumCulled=!0,this.sortObjects=!0,this.boundingBox=null,this.boundingSphere=null,this.customSort=null,this._instanceInfo=[],this._geometryInfo=[],this._availableInstanceIds=[],this._availableGeometryIds=[],this._nextIndexStart=0,this._nextVertexStart=0,this._geometryCount=0,this._visibilityChanged=!0,this._geometryInitialized=!1,this._maxInstanceCount=t,this._maxVertexCount=i,this._maxIndexCount=n,this._multiDrawCounts=new Int32Array(t),this._multiDrawStarts=new Int32Array(t),this._multiDrawCount=0,this._matricesTexture=null,this._indirectTexture=null,this._colorsTexture=null,this._initMatricesTexture(),this._initIndirectTexture()}get maxInstanceCount(){return this._maxInstanceCount}get instanceCount(){return this._instanceInfo.length-this._availableInstanceIds.length}get unusedVertexCount(){return this._maxVertexCount-this._nextVertexStart}get unusedIndexCount(){return this._maxIndexCount-this._nextIndexStart}_initMatricesTexture(){let t=Math.sqrt(this._maxInstanceCount*4);t=Math.ceil(t/4)*4,t=Math.max(t,4);let i=new Float32Array(t*t*4),n=new Ih(i,t,t,Ko,Ro);this._matricesTexture=n}_initIndirectTexture(){let t=Math.sqrt(this._maxInstanceCount);t=Math.ceil(t);let i=new Uint32Array(t*t),n=new Ih(i,t,t,HT,co);this._indirectTexture=n}_initColorsTexture(){let t=Math.sqrt(this._maxInstanceCount);t=Math.ceil(t);let i=new Float32Array(t*t*4).fill(1),n=new Ih(i,t,t,Ko,Ro);n.colorSpace=Hn.workingColorSpace,this._colorsTexture=n}_initializeGeometry(t){let i=this.geometry,n=this._maxVertexCount,s=this._maxIndexCount;if(this._geometryInitialized===!1){for(let o in t.attributes){let r=t.getAttribute(o),{array:l,itemSize:d,normalized:h}=r,p=new l.constructor(n*d),I=new Tn(p,d,h);i.setAttribute(o,I)}if(t.getIndex()!==null){let o=n>65535?new Uint32Array(s):new Uint16Array(s);i.setIndex(new Tn(o,1))}this._geometryInitialized=!0}}_validateGeometry(t){let i=this.geometry;if(!!t.getIndex()!=!!i.getIndex())throw new Error('THREE.BatchedMesh: All geometries must consistently have "index".');for(let n in i.attributes){if(!t.hasAttribute(n))throw new Error(`THREE.BatchedMesh: Added geometry missing "${n}". All geometries must have consistent attributes.`);let s=t.getAttribute(n),o=i.getAttribute(n);if(s.itemSize!==o.itemSize||s.normalized!==o.normalized)throw new Error("THREE.BatchedMesh: All attributes must have a consistent itemSize and normalized value.")}}validateInstanceId(t){let i=this._instanceInfo;if(t<0||t>=i.length||i[t].active===!1)throw new Error(`THREE.BatchedMesh: Invalid instanceId ${t}. Instance is either out of range or has been deleted.`)}validateGeometryId(t){let i=this._geometryInfo;if(t<0||t>=i.length||i[t].active===!1)throw new Error(`THREE.BatchedMesh: Invalid geometryId ${t}. Geometry is either out of range or has been deleted.`)}setCustomSort(t){return this.customSort=t,this}computeBoundingBox(){this.boundingBox===null&&(this.boundingBox=new kn);let t=this.boundingBox,i=this._instanceInfo;t.makeEmpty();for(let n=0,s=i.length;n<s;n++){if(i[n].active===!1)continue;let o=i[n].geometryIndex;this.getMatrixAt(n,BI),this.getBoundingBoxAt(o,NW).applyMatrix4(BI),t.union(NW)}}computeBoundingSphere(){this.boundingSphere===null&&(this.boundingSphere=new no);let t=this.boundingSphere,i=this._instanceInfo;t.makeEmpty();for(let n=0,s=i.length;n<s;n++){if(i[n].active===!1)continue;let o=i[n].geometryIndex;this.getMatrixAt(n,BI),this.getBoundingSphereAt(o,$D).applyMatrix4(BI),t.union($D)}}addInstance(t){if(this._instanceInfo.length>=this.maxInstanceCount&&this._availableInstanceIds.length===0)throw new Error("THREE.BatchedMesh: Maximum item count reached.");let n={visible:!0,active:!0,geometryIndex:t},s=null;this._availableInstanceIds.length>0?(this._availableInstanceIds.sort(jee),s=this._availableInstanceIds.shift(),this._instanceInfo[s]=n):(s=this._instanceInfo.length,this._instanceInfo.push(n));let o=this._matricesTexture;BI.identity().toArray(o.image.data,s*16),o.needsUpdate=!0;let r=this._colorsTexture;return r&&(E5e.toArray(r.image.data,s*4),r.needsUpdate=!0),this._visibilityChanged=!0,s}addGeometry(t,i=-1,n=-1){this._initializeGeometry(t),this._validateGeometry(t);let s={vertexStart:-1,vertexCount:-1,reservedVertexCount:-1,indexStart:-1,indexCount:-1,reservedIndexCount:-1,start:-1,count:-1,boundingBox:null,boundingSphere:null,active:!0},o=this._geometryInfo;s.vertexStart=this._nextVertexStart,s.reservedVertexCount=i===-1?t.getAttribute("position").count:i;let r=t.getIndex();if(r!==null&&(s.indexStart=this._nextIndexStart,s.reservedIndexCount=n===-1?r.count:n),s.indexStart!==-1&&s.indexStart+s.reservedIndexCount>this._maxIndexCount||s.vertexStart+s.reservedVertexCount>this._maxVertexCount)throw new Error("THREE.BatchedMesh: Reserved space request exceeds the maximum buffer size.");let d;return this._availableGeometryIds.length>0?(this._availableGeometryIds.sort(jee),d=this._availableGeometryIds.shift(),o[d]=s):(d=this._geometryCount,this._geometryCount++,o.push(s)),this.setGeometryAt(d,t),this._nextIndexStart=s.indexStart+s.reservedIndexCount,this._nextVertexStart=s.vertexStart+s.reservedVertexCount,d}setGeometryAt(t,i){if(t>=this._geometryCount)throw new Error("THREE.BatchedMesh: Maximum geometry count reached.");this._validateGeometry(i);let n=this.geometry,s=n.getIndex()!==null,o=n.getIndex(),r=i.getIndex(),l=this._geometryInfo[t];if(s&&r.count>l.reservedIndexCount||i.attributes.position.count>l.reservedVertexCount)throw new Error("THREE.BatchedMesh: Reserved space not large enough for provided geometry.");let d=l.vertexStart,h=l.reservedVertexCount;l.vertexCount=i.getAttribute("position").count;for(let p in n.attributes){let I=i.getAttribute(p),m=n.getAttribute(p);w5e(I,m,d);let y=I.itemSize;for(let T=I.count,R=h;T<R;T++){let b=d+T;for(let A=0;A<y;A++)m.setComponent(b,A,0)}m.needsUpdate=!0,m.addUpdateRange(d*y,h*y)}if(s){let p=l.indexStart,I=l.reservedIndexCount;l.indexCount=i.getIndex().count;for(let m=0;m<r.count;m++)o.setX(p+m,d+r.getX(m));for(let m=r.count,y=I;m<y;m++)o.setX(p+m,d);o.needsUpdate=!0,o.addUpdateRange(p,l.reservedIndexCount)}return l.start=s?l.indexStart:l.vertexStart,l.count=s?l.indexCount:l.vertexCount,l.boundingBox=null,i.boundingBox!==null&&(l.boundingBox=i.boundingBox.clone()),l.boundingSphere=null,i.boundingSphere!==null&&(l.boundingSphere=i.boundingSphere.clone()),this._visibilityChanged=!0,t}deleteGeometry(t){let i=this._geometryInfo;if(t>=i.length||i[t].active===!1)return this;let n=this._instanceInfo;for(let s=0,o=n.length;s<o;s++)n[s].active&&n[s].geometryIndex===t&&this.deleteInstance(s);return i[t].active=!1,this._availableGeometryIds.push(t),this._visibilityChanged=!0,this}deleteInstance(t){return this.validateInstanceId(t),this._instanceInfo[t].active=!1,this._availableInstanceIds.push(t),this._visibilityChanged=!0,this}optimize(){let t=0,i=0,n=this._geometryInfo,s=n.map((r,l)=>l).sort((r,l)=>n[r].vertexStart-n[l].vertexStart),o=this.geometry;for(let r=0,l=n.length;r<l;r++){let d=s[r],h=n[d];if(h.active!==!1){if(o.index!==null){if(h.indexStart!==i){let{indexStart:p,vertexStart:I,reservedIndexCount:m}=h,y=o.index,T=y.array,R=t-I;for(let b=p;b<p+m;b++)T[b]=T[b]+R;y.array.copyWithin(i,p,p+m),y.addUpdateRange(i,m),y.needsUpdate=!0,h.indexStart=i}i+=h.reservedIndexCount}if(h.vertexStart!==t){let{vertexStart:p,reservedVertexCount:I}=h,m=o.attributes;for(let y in m){let T=m[y],{array:R,itemSize:b}=T;R.copyWithin(t*b,p*b,(p+I)*b),T.addUpdateRange(t*b,I*b),T.needsUpdate=!0}h.vertexStart=t}t+=h.reservedVertexCount,h.start=o.index?h.indexStart:h.vertexStart}}return this._nextIndexStart=i,this._nextVertexStart=t,this._visibilityChanged=!0,this}getBoundingBoxAt(t,i){if(t>=this._geometryCount)return null;let n=this.geometry,s=this._geometryInfo[t];if(s.boundingBox===null){let o=new kn,r=n.index,l=n.attributes.position;for(let d=s.start,h=s.start+s.count;d<h;d++){let p=d;r&&(p=r.getX(p)),o.expandByPoint(sH.fromBufferAttribute(l,p))}s.boundingBox=o}return i.copy(s.boundingBox),i}getBoundingSphereAt(t,i){if(t>=this._geometryCount)return null;let n=this.geometry,s=this._geometryInfo[t];if(s.boundingSphere===null){let o=new no;this.getBoundingBoxAt(t,NW),NW.getCenter(o.center);let r=n.index,l=n.attributes.position,d=0;for(let h=s.start,p=s.start+s.count;h<p;h++){let I=h;r&&(I=r.getX(I)),sH.fromBufferAttribute(l,I),d=Math.max(d,o.center.distanceToSquared(sH))}o.radius=Math.sqrt(d),s.boundingSphere=o}return i.copy(s.boundingSphere),i}setMatrixAt(t,i){this.validateInstanceId(t);let n=this._matricesTexture,s=this._matricesTexture.image.data;return i.toArray(s,t*16),n.needsUpdate=!0,this}getMatrixAt(t,i){return this.validateInstanceId(t),i.fromArray(this._matricesTexture.image.data,t*16)}setColorAt(t,i){return this.validateInstanceId(t),this._colorsTexture===null&&this._initColorsTexture(),i.toArray(this._colorsTexture.image.data,t*4),this._colorsTexture.needsUpdate=!0,this}getColorAt(t,i){return this.validateInstanceId(t),this._colorsTexture===null?i.isVector4?i.set(1,1,1,1):i.setRGB(1,1,1):i.fromArray(this._colorsTexture.image.data,t*4)}setVisibleAt(t,i){return this.validateInstanceId(t),this._instanceInfo[t].visible===i?this:(this._instanceInfo[t].visible=i,this._visibilityChanged=!0,this)}getVisibleAt(t){return this.validateInstanceId(t),this._instanceInfo[t].visible}setGeometryIdAt(t,i){return this.validateInstanceId(t),this.validateGeometryId(i),this._instanceInfo[t].geometryIndex=i,this}getGeometryIdAt(t){return this.validateInstanceId(t),this._instanceInfo[t].geometryIndex}getGeometryRangeAt(t,i={}){this.validateGeometryId(t);let n=this._geometryInfo[t];return i.vertexStart=n.vertexStart,i.vertexCount=n.vertexCount,i.reservedVertexCount=n.reservedVertexCount,i.indexStart=n.indexStart,i.indexCount=n.indexCount,i.reservedIndexCount=n.reservedIndexCount,i.start=n.start,i.count=n.count,i}setInstanceCount(t){let i=this._availableInstanceIds,n=this._instanceInfo;for(i.sort(jee);i[i.length-1]===n.length-1;)n.pop(),i.pop();if(t<n.length)throw new Error(`BatchedMesh: Instance ids outside the range ${t} are being used. Cannot shrink instance count.`);let s=new Int32Array(t),o=new Int32Array(t);ZD(this._multiDrawCounts,s),ZD(this._multiDrawStarts,o),this._multiDrawCounts=s,this._multiDrawStarts=o,this._maxInstanceCount=t;let r=this._indirectTexture,l=this._matricesTexture,d=this._colorsTexture;r.dispose(),this._initIndirectTexture(),ZD(r.image.data,this._indirectTexture.image.data),l.dispose(),this._initMatricesTexture(),ZD(l.image.data,this._matricesTexture.image.data),d&&(d.dispose(),this._initColorsTexture(),ZD(d.image.data,this._colorsTexture.image.data))}setGeometrySize(t,i){let n=[...this._geometryInfo].filter(l=>l.active);if(Math.max(...n.map(l=>l.vertexStart+l.reservedVertexCount))>t)throw new Error(`BatchedMesh: Geometry vertex values are being used outside the range ${i}. Cannot shrink further.`);if(this.geometry.index&&Math.max(...n.map(d=>d.indexStart+d.reservedIndexCount))>i)throw new Error(`BatchedMesh: Geometry index values are being used outside the range ${i}. Cannot shrink further.`);let o=this.geometry;o.dispose(),this._maxVertexCount=t,this._maxIndexCount=i,this._geometryInitialized&&(this._geometryInitialized=!1,this.geometry=new nn,this._initializeGeometry(o));let r=this.geometry;o.index&&ZD(o.index.array,r.index.array);for(let l in o.attributes)ZD(o.attributes[l].array,r.attributes[l].array)}raycast(t,i){let n=this._instanceInfo,s=this._geometryInfo,o=this.matrixWorld,r=this.geometry;If.material=this.material,If.geometry.index=r.index,If.geometry.attributes=r.attributes,If.geometry.boundingBox===null&&(If.geometry.boundingBox=new kn),If.geometry.boundingSphere===null&&(If.geometry.boundingSphere=new no);for(let l=0,d=n.length;l<d;l++){if(!n[l].visible||!n[l].active)continue;let h=n[l].geometryIndex,p=s[h];If.geometry.setDrawRange(p.start,p.count),this.getMatrixAt(l,If.matrixWorld).premultiply(o),this.getBoundingBoxAt(h,If.geometry.boundingBox),this.getBoundingSphereAt(h,If.geometry.boundingSphere),If.raycast(t,_W);for(let I=0,m=_W.length;I<m;I++){let y=_W[I];y.object=this,y.batchId=l,i.push(y)}_W.length=0}If.material=null,If.geometry.index=null,If.geometry.attributes={},If.geometry.setDrawRange(0,1/0)}copy(t){return super.copy(t),this.geometry=t.geometry.clone(),this.perObjectFrustumCulled=t.perObjectFrustumCulled,this.sortObjects=t.sortObjects,this.boundingBox=t.boundingBox!==null?t.boundingBox.clone():null,this.boundingSphere=t.boundingSphere!==null?t.boundingSphere.clone():null,this._geometryInfo=t._geometryInfo.map(i=>({...i,boundingBox:i.boundingBox!==null?i.boundingBox.clone():null,boundingSphere:i.boundingSphere!==null?i.boundingSphere.clone():null})),this._instanceInfo=t._instanceInfo.map(i=>({...i})),this._availableInstanceIds=t._availableInstanceIds.slice(),this._availableGeometryIds=t._availableGeometryIds.slice(),this._nextIndexStart=t._nextIndexStart,this._nextVertexStart=t._nextVertexStart,this._geometryCount=t._geometryCount,this._maxInstanceCount=t._maxInstanceCount,this._maxVertexCount=t._maxVertexCount,this._maxIndexCount=t._maxIndexCount,this._geometryInitialized=t._geometryInitialized,this._multiDrawCounts=t._multiDrawCounts.slice(),this._multiDrawStarts=t._multiDrawStarts.slice(),this._indirectTexture=t._indirectTexture.clone(),this._indirectTexture.image.data=this._indirectTexture.image.data.slice(),this._matricesTexture=t._matricesTexture.clone(),this._matricesTexture.image.data=this._matricesTexture.image.data.slice(),this._colorsTexture!==null&&(this._colorsTexture=t._colorsTexture.clone(),this._colorsTexture.image.data=this._colorsTexture.image.data.slice()),this}dispose(){this.geometry.dispose(),this._matricesTexture.dispose(),this._matricesTexture=null,this._indirectTexture.dispose(),this._indirectTexture=null,this._colorsTexture!==null&&(this._colorsTexture.dispose(),this._colorsTexture=null)}onBeforeRender(t,i,n,s,o){if(!this._visibilityChanged&&!this.perObjectFrustumCulled&&!this.sortObjects)return;let r=s.getIndex(),l=r===null?1:r.array.BYTES_PER_ELEMENT,d=1;o.wireframe&&(d=2,l=s.attributes.position.count>65535?4:2);let h=this._instanceInfo,p=this._multiDrawStarts,I=this._multiDrawCounts,m=this._geometryInfo,y=this.perObjectFrustumCulled,T=this._indirectTexture,R=T.image.data,b=n.isArrayCamera?T5e:mhe;y&&!n.isArrayCamera&&(BI.multiplyMatrices(n.projectionMatrix,n.matrixWorldInverse).multiply(this.matrixWorld),mhe.setFromProjectionMatrix(BI,n.coordinateSystem,n.reversedDepth));let A=0;if(this.sortObjects){BI.copy(this.matrixWorld).invert(),sH.setFromMatrixPosition(n.matrixWorld).applyMatrix4(BI),yhe.set(0,0,-1).transformDirection(n.matrixWorld).transformDirection(BI);for(let U=0,Z=h.length;U<Z;U++)if(h[U].visible&&h[U].active){let ne=h[U].geometryIndex;this.getMatrixAt(U,BI),this.getBoundingSphereAt(ne,$D).applyMatrix4(BI);let K=!1;if(y&&(K=!b.intersectsSphere($D,n)),!K){let oe=m[ne],se=g5e.subVectors($D.center,sH).dot(yhe);qee.push(oe.start,oe.count,se,U)}}let O=qee.list,P=this.customSort;P===null?O.sort(o.transparent?y5e:m5e):P.call(this,O,n);for(let U=0,Z=O.length;U<Z;U++){let ne=O[U];p[A]=ne.start*l*d,I[A]=ne.count*d,R[A]=ne.index,A++}qee.reset()}else for(let O=0,P=h.length;O<P;O++)if(h[O].visible&&h[O].active){let U=h[O].geometryIndex,Z=!1;if(y&&(this.getMatrixAt(O,BI),this.getBoundingSphereAt(U,$D).applyMatrix4(BI),Z=!b.intersectsSphere($D,n)),!Z){let ne=m[U];p[A]=ne.start*l*d,I[A]=ne.count*d,R[A]=O,A++}}T.needsUpdate=!0,this._multiDrawCount=A,this._visibilityChanged=!1}onBeforeShadow(t,i,n,s,o,r){this.onBeforeRender(t,null,s,o,r)}},Qo=class extends za{constructor(t){super(),this.isLineBasicMaterial=!0,this.type="LineBasicMaterial",this.color=new Oi(16777215),this.map=null,this.linewidth=1,this.linecap="round",this.linejoin="round",this.fog=!0,this.setValues(t)}copy(t){return super.copy(t),this.color.copy(t.color),this.map=t.map,this.linewidth=t.linewidth,this.linecap=t.linecap,this.linejoin=t.linejoin,this.fog=t.fog,this}},iY=new ye,nY=new ye,Ehe=new Ai,oH=new Wa,DW=new no,$ee=new ye,The=new ye,nr=class extends ps{constructor(t=new nn,i=new Qo){super(),this.isLine=!0,this.type="Line",this.geometry=t,this.material=i,this.morphTargetDictionary=void 0,this.morphTargetInfluences=void 0,this.updateMorphTargets()}copy(t,i){return super.copy(t,i),this.material=Array.isArray(t.material)?t.material.slice():t.material,this.geometry=t.geometry,this}computeLineDistances(){let t=this.geometry;if(t.index===null){let i=t.attributes.position,n=[0];for(let s=1,o=i.count;s<o;s++)iY.fromBufferAttribute(i,s-1),nY.fromBufferAttribute(i,s),n[s]=n[s-1],n[s]+=iY.distanceTo(nY);t.setAttribute("lineDistance",new ln(n,1))}else ci("Line.computeLineDistances(): Computation only possible with non-indexed BufferGeometry.");return this}raycast(t,i){let n=this.geometry,s=this.matrixWorld,o=t.params.Line.threshold,r=n.drawRange;if(n.boundingSphere===null&&n.computeBoundingSphere(),DW.copy(n.boundingSphere),DW.applyMatrix4(s),DW.radius+=o,t.ray.intersectsSphere(DW)===!1)return;Ehe.copy(s).invert(),oH.copy(t.ray).applyMatrix4(Ehe);let l=o/((this.scale.x+this.scale.y+this.scale.z)/3),d=l*l,h=this.isLineSegments?2:1,p=n.index,m=n.attributes.position;if(p!==null){let y=Math.max(0,r.start),T=Math.min(p.count,r.start+r.count);for(let R=y,b=T-1;R<b;R+=h){let A=p.getX(R),O=p.getX(R+1),P=CW(this,t,oH,d,A,O,R);P&&i.push(P)}if(this.isLineLoop){let R=p.getX(T-1),b=p.getX(y),A=CW(this,t,oH,d,R,b,T-1);A&&i.push(A)}}else{let y=Math.max(0,r.start),T=Math.min(m.count,r.start+r.count);for(let R=y,b=T-1;R<b;R+=h){let A=CW(this,t,oH,d,R,R+1,R);A&&i.push(A)}if(this.isLineLoop){let R=CW(this,t,oH,d,T-1,y,T-1);R&&i.push(R)}}}updateMorphTargets(){let i=this.geometry.morphAttributes,n=Object.keys(i);if(n.length>0){let s=i[n[0]];if(s!==void 0){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let o=0,r=s.length;o<r;o++){let l=s[o].name||String(o);this.morphTargetInfluences.push(0),this.morphTargetDictionary[l]=o}}}}};function CW(e,t,i,n,s,o,r){let l=e.geometry.attributes.position;if(iY.fromBufferAttribute(l,s),nY.fromBufferAttribute(l,o),i.distanceSqToSegment(iY,nY,$ee,The)>n)return;$ee.applyMatrix4(e.matrixWorld);let h=t.ray.origin.distanceTo($ee);if(!(h<t.near||h>t.far))return{distance:h,point:The.clone().applyMatrix4(e.matrixWorld),index:r,face:null,faceIndex:null,barycoord:null,object:e}}var ghe=new ye,whe=new ye,xs=class extends nr{constructor(t,i){super(t,i),this.isLineSegments=!0,this.type="LineSegments"}computeLineDistances(){let t=this.geometry;if(t.index===null){let i=t.attributes.position,n=[];for(let s=0,o=i.count;s<o;s+=2)ghe.fromBufferAttribute(i,s),whe.fromBufferAttribute(i,s+1),n[s]=s===0?0:n[s-1],n[s+1]=n[s]+ghe.distanceTo(whe);t.setAttribute("lineDistance",new ln(n,1))}else ci("LineSegments.computeLineDistances(): Computation only possible with non-indexed BufferGeometry.");return this}},ew=class extends nr{constructor(t,i){super(t,i),this.isLineLoop=!0,this.type="LineLoop"}},_T=class extends za{constructor(t){super(),this.isPointsMaterial=!0,this.type="PointsMaterial",this.color=new Oi(16777215),this.map=null,this.alphaMap=null,this.size=1,this.sizeAttenuation=!0,this.fog=!0,this.setValues(t)}copy(t){return super.copy(t),this.color.copy(t.color),this.map=t.map,this.alphaMap=t.alphaMap,this.size=t.size,this.sizeAttenuation=t.sizeAttenuation,this.fog=t.fog,this}},vhe=new Ai,lte=new Wa,xW=new no,OW=new ye,my=class extends ps{constructor(t=new nn,i=new _T){super(),this.isPoints=!0,this.type="Points",this.geometry=t,this.material=i,this.morphTargetDictionary=void 0,this.morphTargetInfluences=void 0,this.updateMorphTargets()}copy(t,i){return super.copy(t,i),this.material=Array.isArray(t.material)?t.material.slice():t.material,this.geometry=t.geometry,this}raycast(t,i){let n=this.geometry,s=this.matrixWorld,o=t.params.Points.threshold,r=n.drawRange;if(n.boundingSphere===null&&n.computeBoundingSphere(),xW.copy(n.boundingSphere),xW.applyMatrix4(s),xW.radius+=o,t.ray.intersectsSphere(xW)===!1)return;vhe.copy(s).invert(),lte.copy(t.ray).applyMatrix4(vhe);let l=o/((this.scale.x+this.scale.y+this.scale.z)/3),d=l*l,h=n.index,I=n.attributes.position;if(h!==null){let m=Math.max(0,r.start),y=Math.min(h.count,r.start+r.count);for(let T=m,R=y;T<R;T++){let b=h.getX(T);OW.fromBufferAttribute(I,b),Rhe(OW,b,d,s,t,i,this)}}else{let m=Math.max(0,r.start),y=Math.min(I.count,r.start+r.count);for(let T=m,R=y;T<R;T++)OW.fromBufferAttribute(I,T),Rhe(OW,T,d,s,t,i,this)}}updateMorphTargets(){let i=this.geometry.morphAttributes,n=Object.keys(i);if(n.length>0){let s=i[n[0]];if(s!==void 0){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let o=0,r=s.length;o<r;o++){let l=s[o].name||String(o);this.morphTargetInfluences.push(0),this.morphTargetDictionary[l]=o}}}}};function Rhe(e,t,i,n,s,o,r){let l=lte.distanceSqToPoint(e);if(l<i){let d=new ye;lte.closestPointToPoint(e,d),d.applyMatrix4(n);let h=s.ray.origin.distanceTo(d);if(h<s.near||h>s.far)return;o.push({distance:h,distanceToRay:Math.sqrt(l),point:d,index:t,face:null,faceIndex:null,barycoord:null,object:r})}}var gH=class extends wr{constructor(t,i,n,s,o=Us,r=Us,l,d,h){super(t,i,n,s,o,r,l,d,h),this.isVideoTexture=!0,this.generateMipmaps=!1,this._requestVideoFrameCallbackId=0;let p=this;function I(){p.needsUpdate=!0,p._requestVideoFrameCallbackId=t.requestVideoFrameCallback(I)}"requestVideoFrameCallback"in t&&(this._requestVideoFrameCallbackId=t.requestVideoFrameCallback(I))}clone(){return new this.constructor(this.image).copy(this)}update(){let t=this.image;"requestVideoFrameCallback"in t===!1&&t.readyState>=t.HAVE_CURRENT_DATA&&(this.needsUpdate=!0)}dispose(){this._requestVideoFrameCallbackId!==0&&(this.source.data.cancelVideoFrameCallback(this._requestVideoFrameCallbackId),this._requestVideoFrameCallbackId=0),super.dispose()}},sY=class extends gH{constructor(t,i,n,s,o,r,l,d){super({},t,i,n,s,o,r,l,d),this.isVideoFrameTexture=!0}update(){}clone(){return new this.constructor().copy(this)}setFrame(t){this.image=t,this.needsUpdate=!0}},Mb=class extends wr{constructor(t,i){super({width:t,height:i}),this.isFramebufferTexture=!0,this.magFilter=Vs,this.minFilter=Vs,this.generateMipmaps=!1,this.needsUpdate=!0}},aC=class extends wr{constructor(t,i,n,s,o,r,l,d,h,p,I,m){super(null,r,l,d,h,p,s,o,I,m),this.isCompressedTexture=!0,this.image={width:i,height:n},this.mipmaps=t,this.flipY=!1,this.generateMipmaps=!1}},oY=class extends aC{constructor(t,i,n,s,o,r){super(t,i,n,o,r),this.isCompressedArrayTexture=!0,this.image.depth=s,this.wrapR=_u,this.layerUpdates=new Set}addLayerUpdate(t){this.layerUpdates.add(t)}clearLayerUpdates(){this.layerUpdates.clear()}},rY=class extends aC{constructor(t,i,n){super(void 0,t[0].width,t[0].height,i,n,Ef),this.isCompressedCubeTexture=!0,this.isCubeTexture=!0,this.image=t}},Nm=class extends wr{constructor(t=[],i=Ef,n,s,o,r,l,d,h,p){super(t,i,n,s,o,r,l,d,h,p),this.isCubeTexture=!0,this.flipY=!1}get images(){return this.image}set images(t){this.image=t}},lY=class extends wr{constructor(t,i,n,s,o,r,l,d,h){super(t,i,n,s,o,r,l,d,h),this.isCanvasTexture=!0,this.needsUpdate=!0}},aY=class extends wr{constructor(t,i,n,s,o,r,l,d,h){super(t,i,n,s,o,r,l,d,h),this.isHTMLTexture=!0,this.generateMipmaps=!1,this.needsUpdate=!0;let p=t?t.parentNode:null;p!==null&&"requestPaint"in p&&(p.onpaint=()=>{this.needsUpdate=!0},p.requestPaint())}dispose(){let t=this.image?this.image.parentNode:null;t!==null&&"onpaint"in t&&(t.onpaint=null),super.dispose()}},Zl=class extends wr{constructor(t,i,n=co,s,o,r,l=Vs,d=Vs,h,p=Aa,I=1){if(p!==Aa&&p!==$c)throw new Error("DepthTexture format must be either THREE.DepthFormat or THREE.DepthStencilFormat");let m={width:t,height:i,depth:I};super(m,s,o,r,l,d,p,n,h),this.isDepthTexture=!0,this.flipY=!1,this.generateMipmaps=!1,this.compareFunction=null}copy(t){return super.copy(t),this.source=new RT(Object.assign({},t.image)),this.compareFunction=t.compareFunction,this}toJSON(t){let i=super.toJSON(t);return this.compareFunction!==null&&(i.compareFunction=this.compareFunction),i}},uC=class extends Zl{constructor(t,i=co,n=Ef,s,o,r=Vs,l=Vs,d,h=Aa){let p={width:t,height:t,depth:1},I=[p,p,p,p,p,p];super(t,t,i,n,s,o,r,l,d,h),this.image=I,this.isCubeDepthTexture=!0,this.isCubeTexture=!0}get images(){return this.image}set images(t){this.image=t}},cP=class extends wr{constructor(t=null){super(),this.sourceTexture=t,this.isExternalTexture=!0}copy(t){return super.copy(t),this.sourceTexture=t.sourceTexture,this}},pr=class e extends nn{constructor(t=1,i=1,n=1,s=1,o=1,r=1){super(),this.type="BoxGeometry",this.parameters={width:t,height:i,depth:n,widthSegments:s,heightSegments:o,depthSegments:r};let l=this;s=Math.floor(s),o=Math.floor(o),r=Math.floor(r);let d=[],h=[],p=[],I=[],m=0,y=0;T("z","y","x",-1,-1,n,i,t,r,o,0),T("z","y","x",1,-1,n,i,-t,r,o,1),T("x","z","y",1,1,t,n,i,s,r,2),T("x","z","y",1,-1,t,n,-i,s,r,3),T("x","y","z",1,-1,t,i,n,s,o,4),T("x","y","z",-1,-1,t,i,-n,s,o,5),this.setIndex(d),this.setAttribute("position",new ln(h,3)),this.setAttribute("normal",new ln(p,3)),this.setAttribute("uv",new ln(I,2));function T(R,b,A,O,P,U,Z,ne,K,oe,se){let he=U/K,Re=Z/oe,ee=U/2,Ae=Z/2,Ee=ne/2,Ce=K+1,Qe=oe+1,qe=0,St=0,$e=new ye;for(let ke=0;ke<Qe;ke++){let It=ke*Re-Ae;for(let ft=0;ft<Ce;ft++){let Dt=ft*he-ee;$e[R]=Dt*O,$e[b]=It*P,$e[A]=Ee,h.push($e.x,$e.y,$e.z),$e[R]=0,$e[b]=0,$e[A]=ne>0?1:-1,p.push($e.x,$e.y,$e.z),I.push(ft/K),I.push(1-ke/oe),qe+=1}}for(let ke=0;ke<oe;ke++)for(let It=0;It<K;It++){let ft=m+It+Ce*ke,Dt=m+It+Ce*(ke+1),Zt=m+(It+1)+Ce*(ke+1),Ct=m+(It+1)+Ce*ke;d.push(ft,Dt,Ct),d.push(Dt,Zt,Ct),St+=6}l.addGroup(y,St,se),y+=St,m+=qe}}copy(t){return super.copy(t),this.parameters=Object.assign({},t.parameters),this}static fromJSON(t){return new e(t.width,t.height,t.depth,t.widthSegments,t.heightSegments,t.depthSegments)}},wH=class e extends nn{constructor(t=1,i=1,n=4,s=8,o=1){super(),this.type="CapsuleGeometry",this.parameters={radius:t,height:i,capSegments:n,radialSegments:s,heightSegments:o},i=Math.max(0,i),n=Math.max(1,Math.floor(n)),s=Math.max(3,Math.floor(s)),o=Math.max(1,Math.floor(o));let r=[],l=[],d=[],h=[],p=i/2,I=Math.PI/2*t,m=i,y=2*I+m,T=n*2+o,R=s+1,b=new ye,A=new ye;for(let O=0;O<=T;O++){let P=0,U=0,Z=0,ne=0;if(O<=n){let se=O/n,he=se*Math.PI/2;U=-p-t*Math.cos(he),Z=t*Math.sin(he),ne=-t*Math.cos(he),P=se*I}else if(O<=n+o){let se=(O-n)/o;U=-p+se*i,Z=t,ne=0,P=I+se*m}else{let se=(O-n-o)/n,he=se*Math.PI/2;U=p+t*Math.sin(he),Z=t*Math.cos(he),ne=t*Math.sin(he),P=I+m+se*I}let K=Math.max(0,Math.min(1,P/y)),oe=0;O===0?oe=.5/s:O===T&&(oe=-.5/s);for(let se=0;se<=s;se++){let he=se/s,Re=he*Math.PI*2,ee=Math.sin(Re),Ae=Math.cos(Re);A.x=-Z*Ae,A.y=U,A.z=Z*ee,l.push(A.x,A.y,A.z),b.set(-Z*Ae,ne,Z*ee),b.normalize(),d.push(b.x,b.y,b.z),h.push(he+oe,K)}if(O>0){let se=(O-1)*R;for(let he=0;he<s;he++){let Re=se+he,ee=se+he+1,Ae=O*R+he,Ee=O*R+he+1;r.push(Re,ee,Ae),r.push(ee,Ee,Ae)}}}this.setIndex(r),this.setAttribute("position",new ln(l,3)),this.setAttribute("normal",new ln(d,3)),this.setAttribute("uv",new ln(h,2))}copy(t){return super.copy(t),this.parameters=Object.assign({},t.parameters),this}static fromJSON(t){return new e(t.radius,t.height,t.capSegments,t.radialSegments,t.heightSegments)}},vH=class e extends nn{constructor(t=1,i=32,n=0,s=Math.PI*2){super(),this.type="CircleGeometry",this.parameters={radius:t,segments:i,thetaStart:n,thetaLength:s},i=Math.max(3,i);let o=[],r=[],l=[],d=[],h=new ye,p=new hi;r.push(0,0,0),l.push(0,0,1),d.push(.5,.5);for(let I=0,m=3;I<=i;I++,m+=3){let y=n+I/i*s;h.x=t*Math.cos(y),h.y=t*Math.sin(y),r.push(h.x,h.y,h.z),l.push(0,0,1),p.x=(r[m]/t+1)/2,p.y=(r[m+1]/t+1)/2,d.push(p.x,p.y)}for(let I=1;I<=i;I++)o.push(I,I+1,0);this.setIndex(o),this.setAttribute("position",new ln(r,3)),this.setAttribute("normal",new ln(l,3)),this.setAttribute("uv",new ln(d,2))}copy(t){return super.copy(t),this.parameters=Object.assign({},t.parameters),this}static fromJSON(t){return new e(t.radius,t.segments,t.thetaStart,t.thetaLength)}},Lr=class e extends nn{constructor(t=1,i=1,n=1,s=32,o=1,r=!1,l=0,d=Math.PI*2){super(),this.type="CylinderGeometry",this.parameters={radiusTop:t,radiusBottom:i,height:n,radialSegments:s,heightSegments:o,openEnded:r,thetaStart:l,thetaLength:d};let h=this;s=Math.floor(s),o=Math.floor(o);let p=[],I=[],m=[],y=[],T=0,R=[],b=n/2,A=0;O(),r===!1&&(t>0&&P(!0),i>0&&P(!1)),this.setIndex(p),this.setAttribute("position",new ln(I,3)),this.setAttribute("normal",new ln(m,3)),this.setAttribute("uv",new ln(y,2));function O(){let U=new ye,Z=new ye,ne=0,K=(i-t)/n;for(let oe=0;oe<=o;oe++){let se=[],he=oe/o,Re=he*(i-t)+t;for(let ee=0;ee<=s;ee++){let Ae=ee/s,Ee=Ae*d+l,Ce=Math.sin(Ee),Qe=Math.cos(Ee);Z.x=Re*Ce,Z.y=-he*n+b,Z.z=Re*Qe,I.push(Z.x,Z.y,Z.z),U.set(Ce,K,Qe).normalize(),m.push(U.x,U.y,U.z),y.push(Ae,1-he),se.push(T++)}R.push(se)}for(let oe=0;oe<s;oe++)for(let se=0;se<o;se++){let he=R[se][oe],Re=R[se+1][oe],ee=R[se+1][oe+1],Ae=R[se][oe+1];(t>0||se!==0)&&(p.push(he,Re,Ae),ne+=3),(i>0||se!==o-1)&&(p.push(Re,ee,Ae),ne+=3)}h.addGroup(A,ne,0),A+=ne}function P(U){let Z=T,ne=new hi,K=new ye,oe=0,se=U===!0?t:i,he=U===!0?1:-1;for(let ee=1;ee<=s;ee++)I.push(0,b*he,0),m.push(0,he,0),y.push(.5,.5),T++;let Re=T;for(let ee=0;ee<=s;ee++){let Ee=ee/s*d+l,Ce=Math.cos(Ee),Qe=Math.sin(Ee);K.x=se*Qe,K.y=b*he,K.z=se*Ce,I.push(K.x,K.y,K.z),m.push(0,he,0),ne.x=Ce*.5+.5,ne.y=Qe*.5*he+.5,y.push(ne.x,ne.y),T++}for(let ee=0;ee<s;ee++){let Ae=Z+ee,Ee=Re+ee;U===!0?p.push(Ee,Ee+1,Ae):p.push(Ee+1,Ee,Ae),oe+=3}h.addGroup(A,oe,U===!0?1:2),A+=oe}}copy(t){return super.copy(t),this.parameters=Object.assign({},t.parameters),this}static fromJSON(t){return new e(t.radiusTop,t.radiusBottom,t.height,t.radialSegments,t.heightSegments,t.openEnded,t.thetaStart,t.thetaLength)}},dP=class e extends Lr{constructor(t=1,i=1,n=32,s=1,o=!1,r=0,l=Math.PI*2){super(0,t,i,n,s,o,r,l),this.type="ConeGeometry",this.parameters={radius:t,height:i,radialSegments:n,heightSegments:s,openEnded:o,thetaStart:r,thetaLength:l}}static fromJSON(t){return new e(t.radius,t.height,t.radialSegments,t.heightSegments,t.openEnded,t.thetaStart,t.thetaLength)}},Zv=class e extends nn{constructor(t=[],i=[],n=1,s=0){super(),this.type="PolyhedronGeometry",this.parameters={vertices:t,indices:i,radius:n,detail:s};let o=[],r=[];l(s),h(n),p(),this.setAttribute("position",new ln(o,3)),this.setAttribute("normal",new ln(o.slice(),3)),this.setAttribute("uv",new ln(r,2)),s===0?this.computeVertexNormals():this.normalizeNormals();function l(O){let P=new ye,U=new ye,Z=new ye;for(let ne=0;ne<i.length;ne+=3)y(i[ne+0],P),y(i[ne+1],U),y(i[ne+2],Z),d(P,U,Z,O)}function d(O,P,U,Z){let ne=Z+1,K=[];for(let oe=0;oe<=ne;oe++){K[oe]=[];let se=O.clone().lerp(U,oe/ne),he=P.clone().lerp(U,oe/ne),Re=ne-oe;for(let ee=0;ee<=Re;ee++)ee===0&&oe===ne?K[oe][ee]=se:K[oe][ee]=se.clone().lerp(he,ee/Re)}for(let oe=0;oe<ne;oe++)for(let se=0;se<2*(ne-oe)-1;se++){let he=Math.floor(se/2);se%2===0?(m(K[oe][he+1]),m(K[oe+1][he]),m(K[oe][he])):(m(K[oe][he+1]),m(K[oe+1][he+1]),m(K[oe+1][he]))}}function h(O){let P=new ye;for(let U=0;U<o.length;U+=3)P.x=o[U+0],P.y=o[U+1],P.z=o[U+2],P.normalize().multiplyScalar(O),o[U+0]=P.x,o[U+1]=P.y,o[U+2]=P.z}function p(){let O=new ye;for(let P=0;P<o.length;P+=3){O.x=o[P+0],O.y=o[P+1],O.z=o[P+2];let U=b(O)/2/Math.PI+.5,Z=A(O)/Math.PI+.5;r.push(U,1-Z)}T(),I()}function I(){for(let O=0;O<r.length;O+=6){let P=r[O+0],U=r[O+2],Z=r[O+4],ne=Math.max(P,U,Z),K=Math.min(P,U,Z);ne>.9&&K<.1&&(P<.2&&(r[O+0]+=1),U<.2&&(r[O+2]+=1),Z<.2&&(r[O+4]+=1))}}function m(O){o.push(O.x,O.y,O.z)}function y(O,P){let U=O*3;P.x=t[U+0],P.y=t[U+1],P.z=t[U+2]}function T(){let O=new ye,P=new ye,U=new ye,Z=new ye,ne=new hi,K=new hi,oe=new hi;for(let se=0,he=0;se<o.length;se+=9,he+=6){O.set(o[se+0],o[se+1],o[se+2]),P.set(o[se+3],o[se+4],o[se+5]),U.set(o[se+6],o[se+7],o[se+8]),ne.set(r[he+0],r[he+1]),K.set(r[he+2],r[he+3]),oe.set(r[he+4],r[he+5]),Z.copy(O).add(P).add(U).divideScalar(3);let Re=b(Z);R(ne,he+0,O,Re),R(K,he+2,P,Re),R(oe,he+4,U,Re)}}function R(O,P,U,Z){Z<0&&O.x===1&&(r[P]=O.x-1),U.x===0&&U.z===0&&(r[P]=Z/2/Math.PI+.5)}function b(O){return Math.atan2(O.z,-O.x)}function A(O){return Math.atan2(-O.y,Math.sqrt(O.x*O.x+O.z*O.z))}}copy(t){return super.copy(t),this.parameters=Object.assign({},t.parameters),this}static fromJSON(t){return new e(t.vertices,t.indices,t.radius,t.detail)}},RH=class e extends Zv{constructor(t=1,i=0){let n=(1+Math.sqrt(5))/2,s=1/n,o=[-1,-1,-1,-1,-1,1,-1,1,-1,-1,1,1,1,-1,-1,1,-1,1,1,1,-1,1,1,1,0,-s,-n,0,-s,n,0,s,-n,0,s,n,-s,-n,0,-s,n,0,s,-n,0,s,n,0,-n,0,-s,n,0,-s,-n,0,s,n,0,s],r=[3,11,7,3,7,15,3,15,13,7,19,17,7,17,6,7,6,15,17,4,8,17,8,10,17,10,6,8,0,16,8,16,2,8,2,10,0,12,1,0,1,18,0,18,16,6,10,2,6,2,13,6,13,15,2,16,18,2,18,3,2,3,13,18,1,9,18,9,11,18,11,3,4,14,12,4,12,0,4,0,8,11,9,5,11,5,19,11,19,7,19,5,14,19,14,4,19,4,17,1,12,14,1,14,5,1,5,9];super(o,r,t,i),this.type="DodecahedronGeometry",this.parameters={radius:t,detail:i}}static fromJSON(t){return new e(t.radius,t.detail)}},LW=new ye,PW=new ye,Zee=new ye,MW=new fr,SH=class extends nn{constructor(t=null,i=1){if(super(),this.type="EdgesGeometry",this.parameters={geometry:t,thresholdAngle:i},t!==null){let s=Math.pow(10,4),o=Math.cos(nC*i),r=t.getIndex(),l=t.getAttribute("position"),d=r?r.count:l.count,h=[0,0,0],p=["a","b","c"],I=new Array(3),m={},y=[];for(let T=0;T<d;T+=3){r?(h[0]=r.getX(T),h[1]=r.getX(T+1),h[2]=r.getX(T+2)):(h[0]=T,h[1]=T+1,h[2]=T+2);let{a:R,b,c:A}=MW;if(R.fromBufferAttribute(l,h[0]),b.fromBufferAttribute(l,h[1]),A.fromBufferAttribute(l,h[2]),MW.getNormal(Zee),I[0]=`${Math.round(R.x*s)},${Math.round(R.y*s)},${Math.round(R.z*s)}`,I[1]=`${Math.round(b.x*s)},${Math.round(b.y*s)},${Math.round(b.z*s)}`,I[2]=`${Math.round(A.x*s)},${Math.round(A.y*s)},${Math.round(A.z*s)}`,!(I[0]===I[1]||I[1]===I[2]||I[2]===I[0]))for(let O=0;O<3;O++){let P=(O+1)%3,U=I[O],Z=I[P],ne=MW[p[O]],K=MW[p[P]],oe=`${U}_${Z}`,se=`${Z}_${U}`;se in m&&m[se]?(Zee.dot(m[se].normal)<=o&&(y.push(ne.x,ne.y,ne.z),y.push(K.x,K.y,K.z)),m[se]=null):oe in m||(m[oe]={index0:h[O],index1:h[P],normal:Zee.clone()})}}for(let T in m)if(m[T]){let{index0:R,index1:b}=m[T];LW.fromBufferAttribute(l,R),PW.fromBufferAttribute(l,b),y.push(LW.x,LW.y,LW.z),y.push(PW.x,PW.y,PW.z)}this.setAttribute("position",new ln(y,3))}}copy(t){return super.copy(t),this.parameters=Object.assign({},t.parameters),this}},GI=class{constructor(){this.type="Curve",this.arcLengthDivisions=200,this.needsUpdate=!1,this.cacheArcLengths=null}getPoint(){ci("Curve: .getPoint() not implemented.")}getPointAt(t,i){let n=this.getUtoTmapping(t);return this.getPoint(n,i)}getPoints(t=5){let i=[];for(let n=0;n<=t;n++)i.push(this.getPoint(n/t));return i}getSpacedPoints(t=5){let i=[];for(let n=0;n<=t;n++)i.push(this.getPointAt(n/t));return i}getLength(){let t=this.getLengths();return t[t.length-1]}getLengths(t=this.arcLengthDivisions){if(this.cacheArcLengths&&this.cacheArcLengths.length===t+1&&!this.needsUpdate)return this.cacheArcLengths;this.needsUpdate=!1;let i=[],n,s=this.getPoint(0),o=0;i.push(0);for(let r=1;r<=t;r++)n=this.getPoint(r/t),o+=n.distanceTo(s),i.push(o),s=n;return this.cacheArcLengths=i,i}updateArcLengths(){this.needsUpdate=!0,this.getLengths()}getUtoTmapping(t,i=null){let n=this.getLengths(),s=0,o=n.length,r;i?r=i:r=t*n[o-1];let l=0,d=o-1,h;for(;l<=d;)if(s=Math.floor(l+(d-l)/2),h=n[s]-r,h<0)l=s+1;else if(h>0)d=s-1;else{d=s;break}if(s=d,n[s]===r)return s/(o-1);let p=n[s],m=n[s+1]-p,y=(r-p)/m;return(s+y)/(o-1)}getTangent(t,i){let s=t-1e-4,o=t+1e-4;s<0&&(s=0),o>1&&(o=1);let r=this.getPoint(s),l=this.getPoint(o),d=i||(r.isVector2?new hi:new ye);return d.copy(l).sub(r).normalize(),d}getTangentAt(t,i){let n=this.getUtoTmapping(t);return this.getTangent(n,i)}computeFrenetFrames(t,i=!1){let n=new ye,s=[],o=[],r=[],l=new ye,d=new Ai;for(let y=0;y<=t;y++){let T=y/t;s[y]=this.getTangentAt(T,new ye)}o[0]=new ye,r[0]=new ye;let h=Number.MAX_VALUE,p=Math.abs(s[0].x),I=Math.abs(s[0].y),m=Math.abs(s[0].z);p<=h&&(h=p,n.set(1,0,0)),I<=h&&(h=I,n.set(0,1,0)),m<=h&&n.set(0,0,1),l.crossVectors(s[0],n).normalize(),o[0].crossVectors(s[0],l),r[0].crossVectors(s[0],o[0]);for(let y=1;y<=t;y++){if(o[y]=o[y-1].clone(),r[y]=r[y-1].clone(),l.crossVectors(s[y-1],s[y]),l.length()>Number.EPSILON){l.normalize();let T=Math.acos(cs(s[y-1].dot(s[y]),-1,1));o[y].applyMatrix4(d.makeRotationAxis(l,T))}r[y].crossVectors(s[y],o[y])}if(i===!0){let y=Math.acos(cs(o[0].dot(o[t]),-1,1));y/=t,s[0].dot(l.crossVectors(o[0],o[t]))>0&&(y=-y);for(let T=1;T<=t;T++)o[T].applyMatrix4(d.makeRotationAxis(s[T],y*T)),r[T].crossVectors(s[T],o[T])}return{tangents:s,normals:o,binormals:r}}clone(){return new this.constructor().copy(this)}copy(t){return this.arcLengthDivisions=t.arcLengthDivisions,this}toJSON(){let t={metadata:{version:4.7,type:"Curve",generator:"Curve.toJSON"}};return t.arcLengthDivisions=this.arcLengthDivisions,t.type=this.type,t}fromJSON(t){return this.arcLengthDivisions=t.arcLengthDivisions,this}},cC=class extends GI{constructor(t=0,i=0,n=1,s=1,o=0,r=Math.PI*2,l=!1,d=0){super(),this.isEllipseCurve=!0,this.type="EllipseCurve",this.aX=t,this.aY=i,this.xRadius=n,this.yRadius=s,this.aStartAngle=o,this.aEndAngle=r,this.aClockwise=l,this.aRotation=d}getPoint(t,i=new hi){let n=i,s=Math.PI*2,o=this.aEndAngle-this.aStartAngle,r=Math.abs(o)<Number.EPSILON;for(;o<0;)o+=s;for(;o>s;)o-=s;o<Number.EPSILON&&(r?o=0:o=s),this.aClockwise===!0&&!r&&(o===s?o=-s:o=o-s);let l=this.aStartAngle+t*o,d=this.aX+this.xRadius*Math.cos(l),h=this.aY+this.yRadius*Math.sin(l);if(this.aRotation!==0){let p=Math.cos(this.aRotation),I=Math.sin(this.aRotation),m=d-this.aX,y=h-this.aY;d=m*p-y*I+this.aX,h=m*I+y*p+this.aY}return n.set(d,h)}copy(t){return super.copy(t),this.aX=t.aX,this.aY=t.aY,this.xRadius=t.xRadius,this.yRadius=t.yRadius,this.aStartAngle=t.aStartAngle,this.aEndAngle=t.aEndAngle,this.aClockwise=t.aClockwise,this.aRotation=t.aRotation,this}toJSON(){let t=super.toJSON();return t.aX=this.aX,t.aY=this.aY,t.xRadius=this.xRadius,t.yRadius=this.yRadius,t.aStartAngle=this.aStartAngle,t.aEndAngle=this.aEndAngle,t.aClockwise=this.aClockwise,t.aRotation=this.aRotation,t}fromJSON(t){return super.fromJSON(t),this.aX=t.aX,this.aY=t.aY,this.xRadius=t.xRadius,this.yRadius=t.yRadius,this.aStartAngle=t.aStartAngle,this.aEndAngle=t.aEndAngle,this.aClockwise=t.aClockwise,this.aRotation=t.aRotation,this}},AH=class extends cC{constructor(t,i,n,s,o,r){super(t,i,n,n,s,o,r),this.isArcCurve=!0,this.type="ArcCurve"}};function Dte(){let e=0,t=0,i=0,n=0;function s(o,r,l,d){e=o,t=l,i=-3*o+3*r-2*l-d,n=2*o-2*r+l+d}return{initCatmullRom:function(o,r,l,d,h){s(r,l,h*(l-o),h*(d-r))},initNonuniformCatmullRom:function(o,r,l,d,h,p,I){let m=(r-o)/h-(l-o)/(h+p)+(l-r)/p,y=(l-r)/p-(d-r)/(p+I)+(d-l)/I;m*=p,y*=p,s(r,l,m,y)},calc:function(o){let r=o*o,l=r*o;return e+t*o+i*r+n*l}}}var She=new ye,Ahe=new ye,Kee=new Dte,Qee=new Dte,Jee=new Dte,bH=class extends GI{constructor(t=[],i=!1,n="centripetal",s=.5){super(),this.isCatmullRomCurve3=!0,this.type="CatmullRomCurve3",this.points=t,this.closed=i,this.curveType=n,this.tension=s}getPoint(t,i=new ye){let n=i,s=this.points,o=s.length,r=(o-(this.closed?0:1))*t,l=Math.floor(r),d=r-l;this.closed?l+=l>0?0:(Math.floor(Math.abs(l)/o)+1)*o:d===0&&l===o-1&&(l=o-2,d=1);let h,p;this.closed||l>0?h=s[(l-1)%o]:(Ahe.subVectors(s[0],s[1]).add(s[0]),h=Ahe);let I=s[l%o],m=s[(l+1)%o];if(this.closed||l+2<o?p=s[(l+2)%o]:(She.subVectors(s[o-1],s[o-2]).add(s[o-1]),p=She),this.curveType==="centripetal"||this.curveType==="chordal"){let y=this.curveType==="chordal"?.5:.25,T=Math.pow(h.distanceToSquared(I),y),R=Math.pow(I.distanceToSquared(m),y),b=Math.pow(m.distanceToSquared(p),y);R<1e-4&&(R=1),T<1e-4&&(T=R),b<1e-4&&(b=R),Kee.initNonuniformCatmullRom(h.x,I.x,m.x,p.x,T,R,b),Qee.initNonuniformCatmullRom(h.y,I.y,m.y,p.y,T,R,b),Jee.initNonuniformCatmullRom(h.z,I.z,m.z,p.z,T,R,b)}else this.curveType==="catmullrom"&&(Kee.initCatmullRom(h.x,I.x,m.x,p.x,this.tension),Qee.initCatmullRom(h.y,I.y,m.y,p.y,this.tension),Jee.initCatmullRom(h.z,I.z,m.z,p.z,this.tension));return n.set(Kee.calc(d),Qee.calc(d),Jee.calc(d)),n}copy(t){super.copy(t),this.points=[];for(let i=0,n=t.points.length;i<n;i++){let s=t.points[i];this.points.push(s.clone())}return this.closed=t.closed,this.curveType=t.curveType,this.tension=t.tension,this}toJSON(){let t=super.toJSON();t.points=[];for(let i=0,n=this.points.length;i<n;i++){let s=this.points[i];t.points.push(s.toArray())}return t.closed=this.closed,t.curveType=this.curveType,t.tension=this.tension,t}fromJSON(t){super.fromJSON(t),this.points=[];for(let i=0,n=t.points.length;i<n;i++){let s=t.points[i];this.points.push(new ye().fromArray(s))}return this.closed=t.closed,this.curveType=t.curveType,this.tension=t.tension,this}};function bhe(e,t,i,n,s){let o=(n-t)*.5,r=(s-i)*.5,l=e*e,d=e*l;return(2*i-2*n+o+r)*d+(-3*i+3*n-2*o-r)*l+o*e+i}function v5e(e,t){let i=1-e;return i*i*t}function R5e(e,t){return 2*(1-e)*e*t}function S5e(e,t){return e*e*t}function cH(e,t,i,n){return v5e(e,t)+R5e(e,i)+S5e(e,n)}function A5e(e,t){let i=1-e;return i*i*i*t}function b5e(e,t){let i=1-e;return 3*i*i*e*t}function N5e(e,t){return 3*(1-e)*e*e*t}function _5e(e,t){return e*e*e*t}function dH(e,t,i,n,s){return A5e(e,t)+b5e(e,i)+N5e(e,n)+_5e(e,s)}var hP=class extends GI{constructor(t=new hi,i=new hi,n=new hi,s=new hi){super(),this.isCubicBezierCurve=!0,this.type="CubicBezierCurve",this.v0=t,this.v1=i,this.v2=n,this.v3=s}getPoint(t,i=new hi){let n=i,s=this.v0,o=this.v1,r=this.v2,l=this.v3;return n.set(dH(t,s.x,o.x,r.x,l.x),dH(t,s.y,o.y,r.y,l.y)),n}copy(t){return super.copy(t),this.v0.copy(t.v0),this.v1.copy(t.v1),this.v2.copy(t.v2),this.v3.copy(t.v3),this}toJSON(){let t=super.toJSON();return t.v0=this.v0.toArray(),t.v1=this.v1.toArray(),t.v2=this.v2.toArray(),t.v3=this.v3.toArray(),t}fromJSON(t){return super.fromJSON(t),this.v0.fromArray(t.v0),this.v1.fromArray(t.v1),this.v2.fromArray(t.v2),this.v3.fromArray(t.v3),this}},NH=class extends GI{constructor(t=new ye,i=new ye,n=new ye,s=new ye){super(),this.isCubicBezierCurve3=!0,this.type="CubicBezierCurve3",this.v0=t,this.v1=i,this.v2=n,this.v3=s}getPoint(t,i=new ye){let n=i,s=this.v0,o=this.v1,r=this.v2,l=this.v3;return n.set(dH(t,s.x,o.x,r.x,l.x),dH(t,s.y,o.y,r.y,l.y),dH(t,s.z,o.z,r.z,l.z)),n}copy(t){return super.copy(t),this.v0.copy(t.v0),this.v1.copy(t.v1),this.v2.copy(t.v2),this.v3.copy(t.v3),this}toJSON(){let t=super.toJSON();return t.v0=this.v0.toArray(),t.v1=this.v1.toArray(),t.v2=this.v2.toArray(),t.v3=this.v3.toArray(),t}fromJSON(t){return super.fromJSON(t),this.v0.fromArray(t.v0),this.v1.fromArray(t.v1),this.v2.fromArray(t.v2),this.v3.fromArray(t.v3),this}},fP=class extends GI{constructor(t=new hi,i=new hi){super(),this.isLineCurve=!0,this.type="LineCurve",this.v1=t,this.v2=i}getPoint(t,i=new hi){let n=i;return t===1?n.copy(this.v2):(n.copy(this.v2).sub(this.v1),n.multiplyScalar(t).add(this.v1)),n}getPointAt(t,i){return this.getPoint(t,i)}getTangent(t,i=new hi){return i.subVectors(this.v2,this.v1).normalize()}getTangentAt(t,i){return this.getTangent(t,i)}copy(t){return super.copy(t),this.v1.copy(t.v1),this.v2.copy(t.v2),this}toJSON(){let t=super.toJSON();return t.v1=this.v1.toArray(),t.v2=this.v2.toArray(),t}fromJSON(t){return super.fromJSON(t),this.v1.fromArray(t.v1),this.v2.fromArray(t.v2),this}},_H=class extends GI{constructor(t=new ye,i=new ye){super(),this.isLineCurve3=!0,this.type="LineCurve3",this.v1=t,this.v2=i}getPoint(t,i=new ye){let n=i;return t===1?n.copy(this.v2):(n.copy(this.v2).sub(this.v1),n.multiplyScalar(t).add(this.v1)),n}getPointAt(t,i){return this.getPoint(t,i)}getTangent(t,i=new ye){return i.subVectors(this.v2,this.v1).normalize()}getTangentAt(t,i){return this.getTangent(t,i)}copy(t){return super.copy(t),this.v1.copy(t.v1),this.v2.copy(t.v2),this}toJSON(){let t=super.toJSON();return t.v1=this.v1.toArray(),t.v2=this.v2.toArray(),t}fromJSON(t){return super.fromJSON(t),this.v1.fromArray(t.v1),this.v2.fromArray(t.v2),this}},pP=class extends GI{constructor(t=new hi,i=new hi,n=new hi){super(),this.isQuadraticBezierCurve=!0,this.type="QuadraticBezierCurve",this.v0=t,this.v1=i,this.v2=n}getPoint(t,i=new hi){let n=i,s=this.v0,o=this.v1,r=this.v2;return n.set(cH(t,s.x,o.x,r.x),cH(t,s.y,o.y,r.y)),n}copy(t){return super.copy(t),this.v0.copy(t.v0),this.v1.copy(t.v1),this.v2.copy(t.v2),this}toJSON(){let t=super.toJSON();return t.v0=this.v0.toArray(),t.v1=this.v1.toArray(),t.v2=this.v2.toArray(),t}fromJSON(t){return super.fromJSON(t),this.v0.fromArray(t.v0),this.v1.fromArray(t.v1),this.v2.fromArray(t.v2),this}},Bb=class extends GI{constructor(t=new ye,i=new ye,n=new ye){super(),this.isQuadraticBezierCurve3=!0,this.type="QuadraticBezierCurve3",this.v0=t,this.v1=i,this.v2=n}getPoint(t,i=new ye){let n=i,s=this.v0,o=this.v1,r=this.v2;return n.set(cH(t,s.x,o.x,r.x),cH(t,s.y,o.y,r.y),cH(t,s.z,o.z,r.z)),n}copy(t){return super.copy(t),this.v0.copy(t.v0),this.v1.copy(t.v1),this.v2.copy(t.v2),this}toJSON(){let t=super.toJSON();return t.v0=this.v0.toArray(),t.v1=this.v1.toArray(),t.v2=this.v2.toArray(),t}fromJSON(t){return super.fromJSON(t),this.v0.fromArray(t.v0),this.v1.fromArray(t.v1),this.v2.fromArray(t.v2),this}},IP=class extends GI{constructor(t=[]){super(),this.isSplineCurve=!0,this.type="SplineCurve",this.points=t}getPoint(t,i=new hi){let n=i,s=this.points,o=(s.length-1)*t,r=Math.floor(o),l=o-r,d=s[r===0?r:r-1],h=s[r],p=s[r>s.length-2?s.length-1:r+1],I=s[r>s.length-3?s.length-1:r+2];return n.set(bhe(l,d.x,h.x,p.x,I.x),bhe(l,d.y,h.y,p.y,I.y)),n}copy(t){super.copy(t),this.points=[];for(let i=0,n=t.points.length;i<n;i++){let s=t.points[i];this.points.push(s.clone())}return this}toJSON(){let t=super.toJSON();t.points=[];for(let i=0,n=this.points.length;i<n;i++){let s=this.points[i];t.points.push(s.toArray())}return t}fromJSON(t){super.fromJSON(t),this.points=[];for(let i=0,n=t.points.length;i<n;i++){let s=t.points[i];this.points.push(new hi().fromArray(s))}return this}},uY=Object.freeze({__proto__:null,ArcCurve:AH,CatmullRomCurve3:bH,CubicBezierCurve:hP,CubicBezierCurve3:NH,EllipseCurve:cC,LineCurve:fP,LineCurve3:_H,QuadraticBezierCurve:pP,QuadraticBezierCurve3:Bb,SplineCurve:IP}),DH=class extends GI{constructor(){super(),this.type="CurvePath",this.curves=[],this.autoClose=!1}add(t){this.curves.push(t)}closePath(){let t=this.curves[0].getPoint(0),i=this.curves[this.curves.length-1].getPoint(1);if(!t.equals(i)){let n=t.isVector2===!0?"LineCurve":"LineCurve3";this.curves.push(new uY[n](i,t))}return this}getPoint(t,i){let n=t*this.getLength(),s=this.getCurveLengths(),o=0;for(;o<s.length;){if(s[o]>=n){let r=s[o]-n,l=this.curves[o],d=l.getLength(),h=d===0?0:1-r/d;return l.getPointAt(h,i)}o++}return null}getLength(){let t=this.getCurveLengths();return t[t.length-1]}updateArcLengths(){this.needsUpdate=!0,this.cacheLengths=null,this.getCurveLengths()}getCurveLengths(){if(this.cacheLengths&&this.cacheLengths.length===this.curves.length)return this.cacheLengths;let t=[],i=0;for(let n=0,s=this.curves.length;n<s;n++)i+=this.curves[n].getLength(),t.push(i);return this.cacheLengths=t,t}getSpacedPoints(t=40){let i=[];for(let n=0;n<=t;n++)i.push(this.getPoint(n/t));return this.autoClose&&i.push(i[0]),i}getPoints(t=12){let i=[],n;for(let s=0,o=this.curves;s<o.length;s++){let r=o[s],l=r.isEllipseCurve?t*2:r.isLineCurve||r.isLineCurve3?1:r.isSplineCurve?t*r.points.length:t,d=r.getPoints(l);for(let h=0;h<d.length;h++){let p=d[h];n&&n.equals(p)||(i.push(p),n=p)}}return this.autoClose&&i.length>1&&!i[i.length-1].equals(i[0])&&i.push(i[0]),i}copy(t){super.copy(t),this.curves=[];for(let i=0,n=t.curves.length;i<n;i++){let s=t.curves[i];this.curves.push(s.clone())}return this.autoClose=t.autoClose,this}toJSON(){let t=super.toJSON();t.autoClose=this.autoClose,t.curves=[];for(let i=0,n=this.curves.length;i<n;i++){let s=this.curves[i];t.curves.push(s.toJSON())}return t}fromJSON(t){super.fromJSON(t),this.autoClose=t.autoClose,this.curves=[];for(let i=0,n=t.curves.length;i<n;i++){let s=t.curves[i];this.curves.push(new uY[s.type]().fromJSON(s))}return this}},dC=class extends DH{constructor(t){super(),this.type="Path",this.currentPoint=new hi,t&&this.setFromPoints(t)}setFromPoints(t){this.moveTo(t[0].x,t[0].y);for(let i=1,n=t.length;i<n;i++)this.lineTo(t[i].x,t[i].y);return this}moveTo(t,i){return this.currentPoint.set(t,i),this}lineTo(t,i){let n=new fP(this.currentPoint.clone(),new hi(t,i));return this.curves.push(n),this.currentPoint.set(t,i),this}quadraticCurveTo(t,i,n,s){let o=new pP(this.currentPoint.clone(),new hi(t,i),new hi(n,s));return this.curves.push(o),this.currentPoint.set(n,s),this}bezierCurveTo(t,i,n,s,o,r){let l=new hP(this.currentPoint.clone(),new hi(t,i),new hi(n,s),new hi(o,r));return this.curves.push(l),this.currentPoint.set(o,r),this}splineThru(t){let i=[this.currentPoint.clone()].concat(t),n=new IP(i);return this.curves.push(n),this.currentPoint.copy(t[t.length-1]),this}arc(t,i,n,s,o,r){let l=this.currentPoint.x,d=this.currentPoint.y;return this.absarc(t+l,i+d,n,s,o,r),this}absarc(t,i,n,s,o,r){return this.absellipse(t,i,n,n,s,o,r),this}ellipse(t,i,n,s,o,r,l,d){let h=this.currentPoint.x,p=this.currentPoint.y;return this.absellipse(t+h,i+p,n,s,o,r,l,d),this}absellipse(t,i,n,s,o,r,l,d){let h=new cC(t,i,n,s,o,r,l,d);if(this.curves.length>0){let I=h.getPoint(0);I.equals(this.currentPoint)||this.lineTo(I.x,I.y)}this.curves.push(h);let p=h.getPoint(1);return this.currentPoint.copy(p),this}copy(t){return super.copy(t),this.currentPoint.copy(t.currentPoint),this}toJSON(){let t=super.toJSON();return t.currentPoint=this.currentPoint.toArray(),t}fromJSON(t){return super.fromJSON(t),this.currentPoint.fromArray(t.currentPoint),this}},Jg=class extends dC{constructor(t){super(t),this.uuid=bm(),this.type="Shape",this.holes=[]}getPointsHoles(t){let i=[];for(let n=0,s=this.holes.length;n<s;n++)i[n]=this.holes[n].getPoints(t);return i}extractPoints(t){return{shape:this.getPoints(t),holes:this.getPointsHoles(t)}}copy(t){super.copy(t),this.holes=[];for(let i=0,n=t.holes.length;i<n;i++){let s=t.holes[i];this.holes.push(s.clone())}return this}toJSON(){let t=super.toJSON();t.uuid=this.uuid,t.holes=[];for(let i=0,n=this.holes.length;i<n;i++){let s=this.holes[i];t.holes.push(s.toJSON())}return t}fromJSON(t){super.fromJSON(t),this.uuid=t.uuid,this.holes=[];for(let i=0,n=t.holes.length;i<n;i++){let s=t.holes[i];this.holes.push(new dC().fromJSON(s))}return this}};function D5e(e,t,i=2){let n=t&&t.length,s=n?t[0]*i:e.length,o=bfe(e,0,s,i,!0),r=[];if(!o||o.next===o.prev)return r;let l,d,h;if(n&&(o=P5e(e,t,o,i)),e.length>80*i){l=e[0],d=e[1];let p=l,I=d;for(let m=i;m<s;m+=i){let y=e[m],T=e[m+1];y<l&&(l=y),T<d&&(d=T),y>p&&(p=y),T>I&&(I=T)}h=Math.max(p-l,I-d),h=h!==0?32767/h:0}return CH(o,r,i,l,d,h,0),r}function bfe(e,t,i,n,s){let o;if(s===Y5e(e,t,i,n)>0)for(let r=t;r<i;r+=n)o=Nhe(r/n|0,e[r],e[r+1],o);else for(let r=i-n;r>=t;r-=n)o=Nhe(r/n|0,e[r],e[r+1],o);return o&&mP(o,o.next)&&(OH(o),o=o.next),o}function hC(e,t){if(!e)return e;t||(t=e);let i=e,n;do if(n=!1,!i.steiner&&(mP(i,i.next)||Sa(i.prev,i,i.next)===0)){if(OH(i),i=t=i.prev,i===i.next)break;n=!0}else i=i.next;while(n||i!==t);return t}function CH(e,t,i,n,s,o,r){if(!e)return;!r&&o&&H5e(e,n,s,o);let l=e;for(;e.prev!==e.next;){let d=e.prev,h=e.next;if(o?x5e(e,n,s,o):C5e(e)){t.push(d.i,e.i,h.i),OH(e),e=h.next,l=h.next;continue}if(e=h,e===l){r?r===1?(e=O5e(hC(e),t),CH(e,t,i,n,s,o,2)):r===2&&L5e(e,t,i,n,s,o):CH(hC(e),t,i,n,s,o,1);break}}}function C5e(e){let t=e.prev,i=e,n=e.next;if(Sa(t,i,n)>=0)return!1;let s=t.x,o=i.x,r=n.x,l=t.y,d=i.y,h=n.y,p=Math.min(s,o,r),I=Math.min(l,d,h),m=Math.max(s,o,r),y=Math.max(l,d,h),T=n.next;for(;T!==t;){if(T.x>=p&&T.x<=m&&T.y>=I&&T.y<=y&&lH(s,l,o,d,r,h,T.x,T.y)&&Sa(T.prev,T,T.next)>=0)return!1;T=T.next}return!0}function x5e(e,t,i,n){let s=e.prev,o=e,r=e.next;if(Sa(s,o,r)>=0)return!1;let l=s.x,d=o.x,h=r.x,p=s.y,I=o.y,m=r.y,y=Math.min(l,d,h),T=Math.min(p,I,m),R=Math.max(l,d,h),b=Math.max(p,I,m),A=ate(y,T,t,i,n),O=ate(R,b,t,i,n),P=e.prevZ,U=e.nextZ;for(;P&&P.z>=A&&U&&U.z<=O;){if(P.x>=y&&P.x<=R&&P.y>=T&&P.y<=b&&P!==s&&P!==r&&lH(l,p,d,I,h,m,P.x,P.y)&&Sa(P.prev,P,P.next)>=0||(P=P.prevZ,U.x>=y&&U.x<=R&&U.y>=T&&U.y<=b&&U!==s&&U!==r&&lH(l,p,d,I,h,m,U.x,U.y)&&Sa(U.prev,U,U.next)>=0))return!1;U=U.nextZ}for(;P&&P.z>=A;){if(P.x>=y&&P.x<=R&&P.y>=T&&P.y<=b&&P!==s&&P!==r&&lH(l,p,d,I,h,m,P.x,P.y)&&Sa(P.prev,P,P.next)>=0)return!1;P=P.prevZ}for(;U&&U.z<=O;){if(U.x>=y&&U.x<=R&&U.y>=T&&U.y<=b&&U!==s&&U!==r&&lH(l,p,d,I,h,m,U.x,U.y)&&Sa(U.prev,U,U.next)>=0)return!1;U=U.nextZ}return!0}function O5e(e,t){let i=e;do{let n=i.prev,s=i.next.next;!mP(n,s)&&_fe(n,i,i.next,s)&&xH(n,s)&&xH(s,n)&&(t.push(n.i,i.i,s.i),OH(i),OH(i.next),i=e=s),i=i.next}while(i!==e);return hC(i)}function L5e(e,t,i,n,s,o){let r=e;do{let l=r.next.next;for(;l!==r.prev;){if(r.i!==l.i&&k5e(r,l)){let d=Dfe(r,l);r=hC(r,r.next),d=hC(d,d.next),CH(r,t,i,n,s,o,0),CH(d,t,i,n,s,o,0);return}l=l.next}r=r.next}while(r!==e)}function P5e(e,t,i,n){let s=[];for(let o=0,r=t.length;o<r;o++){let l=t[o]*n,d=o<r-1?t[o+1]*n:e.length,h=bfe(e,l,d,n,!1);h===h.next&&(h.steiner=!0),s.push(V5e(h))}s.sort(M5e);for(let o=0;o<s.length;o++)i=B5e(s[o],i);return i}function M5e(e,t){let i=e.x-t.x;if(i===0&&(i=e.y-t.y,i===0)){let n=(e.next.y-e.y)/(e.next.x-e.x),s=(t.next.y-t.y)/(t.next.x-t.x);i=n-s}return i}function B5e(e,t){let i=F5e(e,t);if(!i)return t;let n=Dfe(i,e);return hC(n,n.next),hC(i,i.next)}function F5e(e,t){let i=t,n=e.x,s=e.y,o=-1/0,r;if(mP(e,i))return i;do{if(mP(e,i.next))return i.next;if(s<=i.y&&s>=i.next.y&&i.next.y!==i.y){let I=i.x+(s-i.y)*(i.next.x-i.x)/(i.next.y-i.y);if(I<=n&&I>o&&(o=I,r=i.x<i.next.x?i:i.next,I===n))return r}i=i.next}while(i!==t);if(!r)return null;let l=r,d=r.x,h=r.y,p=1/0;i=r;do{if(n>=i.x&&i.x>=d&&n!==i.x&&Nfe(s<h?n:o,s,d,h,s<h?o:n,s,i.x,i.y)){let I=Math.abs(s-i.y)/(n-i.x);xH(i,e)&&(I<p||I===p&&(i.x>r.x||i.x===r.x&&U5e(r,i)))&&(r=i,p=I)}i=i.next}while(i!==l);return r}function U5e(e,t){return Sa(e.prev,e,t.prev)<0&&Sa(t.next,e,e.next)<0}function H5e(e,t,i,n){let s=e;do s.z===0&&(s.z=ate(s.x,s.y,t,i,n)),s.prevZ=s.prev,s.nextZ=s.next,s=s.next;while(s!==e);s.prevZ.nextZ=null,s.prevZ=null,G5e(s)}function G5e(e){let t,i=1;do{let n=e,s;e=null;let o=null;for(t=0;n;){t++;let r=n,l=0;for(let h=0;h<i&&(l++,r=r.nextZ,!!r);h++);let d=i;for(;l>0||d>0&&r;)l!==0&&(d===0||!r||n.z<=r.z)?(s=n,n=n.nextZ,l--):(s=r,r=r.nextZ,d--),o?o.nextZ=s:e=s,s.prevZ=o,o=s;n=r}o.nextZ=null,i*=2}while(t>1);return e}function ate(e,t,i,n,s){return e=(e-i)*s|0,t=(t-n)*s|0,e=(e|e<<8)&16711935,e=(e|e<<4)&252645135,e=(e|e<<2)&858993459,e=(e|e<<1)&1431655765,t=(t|t<<8)&16711935,t=(t|t<<4)&252645135,t=(t|t<<2)&858993459,t=(t|t<<1)&1431655765,e|t<<1}function V5e(e){let t=e,i=e;do(t.x<i.x||t.x===i.x&&t.y<i.y)&&(i=t),t=t.next;while(t!==e);return i}function Nfe(e,t,i,n,s,o,r,l){return(s-r)*(t-l)>=(e-r)*(o-l)&&(e-r)*(n-l)>=(i-r)*(t-l)&&(i-r)*(o-l)>=(s-r)*(n-l)}function lH(e,t,i,n,s,o,r,l){return!(e===r&&t===l)&&Nfe(e,t,i,n,s,o,r,l)}function k5e(e,t){return e.next.i!==t.i&&e.prev.i!==t.i&&!z5e(e,t)&&(xH(e,t)&&xH(t,e)&&W5e(e,t)&&(Sa(e.prev,e,t.prev)||Sa(e,t.prev,t))||mP(e,t)&&Sa(e.prev,e,e.next)>0&&Sa(t.prev,t,t.next)>0)}function Sa(e,t,i){return(t.y-e.y)*(i.x-t.x)-(t.x-e.x)*(i.y-t.y)}function mP(e,t){return e.x===t.x&&e.y===t.y}function _fe(e,t,i,n){let s=FW(Sa(e,t,i)),o=FW(Sa(e,t,n)),r=FW(Sa(i,n,e)),l=FW(Sa(i,n,t));return!!(s!==o&&r!==l||s===0&&BW(e,i,t)||o===0&&BW(e,n,t)||r===0&&BW(i,e,n)||l===0&&BW(i,t,n))}function BW(e,t,i){return t.x<=Math.max(e.x,i.x)&&t.x>=Math.min(e.x,i.x)&&t.y<=Math.max(e.y,i.y)&&t.y>=Math.min(e.y,i.y)}function FW(e){return e>0?1:e<0?-1:0}function z5e(e,t){let i=e;do{if(i.i!==e.i&&i.next.i!==e.i&&i.i!==t.i&&i.next.i!==t.i&&_fe(i,i.next,e,t))return!0;i=i.next}while(i!==e);return!1}function xH(e,t){return Sa(e.prev,e,e.next)<0?Sa(e,t,e.next)>=0&&Sa(e,e.prev,t)>=0:Sa(e,t,e.prev)<0||Sa(e,e.next,t)<0}function W5e(e,t){let i=e,n=!1,s=(e.x+t.x)/2,o=(e.y+t.y)/2;do i.y>o!=i.next.y>o&&i.next.y!==i.y&&s<(i.next.x-i.x)*(o-i.y)/(i.next.y-i.y)+i.x&&(n=!n),i=i.next;while(i!==e);return n}function Dfe(e,t){let i=ute(e.i,e.x,e.y),n=ute(t.i,t.x,t.y),s=e.next,o=t.prev;return e.next=t,t.prev=e,i.next=s,s.prev=i,n.next=i,i.prev=n,o.next=n,n.prev=o,n}function Nhe(e,t,i,n){let s=ute(e,t,i);return n?(s.next=n.next,s.prev=n,n.next.prev=s,n.next=s):(s.prev=s,s.next=s),s}function OH(e){e.next.prev=e.prev,e.prev.next=e.next,e.prevZ&&(e.prevZ.nextZ=e.nextZ),e.nextZ&&(e.nextZ.prevZ=e.prevZ)}function ute(e,t,i){return{i:e,x:t,y:i,prev:null,next:null,z:0,prevZ:null,nextZ:null,steiner:!1}}function Y5e(e,t,i,n){let s=0;for(let o=t,r=i-n;o<i;o+=n)s+=(e[r]-e[o])*(e[o+1]+e[r+1]),r=o;return s}var cte=class{static triangulate(t,i,n=2){return D5e(t,i,n)}},Iy=class e{static area(t){let i=t.length,n=0;for(let s=i-1,o=0;o<i;s=o++)n+=t[s].x*t[o].y-t[o].x*t[s].y;return n*.5}static isClockWise(t){return e.area(t)<0}static triangulateShape(t,i){let n=[],s=[],o=[];_he(t),Dhe(n,t);let r=t.length;i.forEach(_he);for(let d=0;d<i.length;d++)s.push(r),r+=i[d].length,Dhe(n,i[d]);let l=cte.triangulate(n,s);for(let d=0;d<l.length;d+=3)o.push(l.slice(d,d+3));return o}};function _he(e){let t=e.length;t>2&&e[t-1].equals(e[0])&&e.pop()}function Dhe(e,t){for(let i=0;i<t.length;i++)e.push(t[i].x),e.push(t[i].y)}var LH=class e extends nn{constructor(t=new Jg([new hi(.5,.5),new hi(-.5,.5),new hi(-.5,-.5),new hi(.5,-.5)]),i={}){super(),this.type="ExtrudeGeometry",this.parameters={shapes:t,options:i},t=Array.isArray(t)?t:[t];let n=this,s=[],o=[];for(let l=0,d=t.length;l<d;l++){let h=t[l];r(h)}this.setAttribute("position",new ln(s,3)),this.setAttribute("uv",new ln(o,2)),this.computeVertexNormals();function r(l){let d=[],h=i.curveSegments!==void 0?i.curveSegments:12,p=i.steps!==void 0?i.steps:1,I=i.depth!==void 0?i.depth:1,m=i.bevelEnabled!==void 0?i.bevelEnabled:!0,y=i.bevelThickness!==void 0?i.bevelThickness:.2,T=i.bevelSize!==void 0?i.bevelSize:y-.1,R=i.bevelOffset!==void 0?i.bevelOffset:0,b=i.bevelSegments!==void 0?i.bevelSegments:3,A=i.extrudePath,O=i.UVGenerator!==void 0?i.UVGenerator:j5e,P,U=!1,Z,ne,K,oe;if(A){P=A.getSpacedPoints(p),U=!0,m=!1;let ge=A.isCatmullRomCurve3?A.closed:!1;Z=A.computeFrenetFrames(p,ge),ne=new ye,K=new ye,oe=new ye}m||(b=0,y=0,T=0,R=0);let se=l.extractPoints(h),he=se.shape,Re=se.holes;if(!Iy.isClockWise(he)){he=he.reverse();for(let ge=0,Ue=Re.length;ge<Ue;ge++){let Pe=Re[ge];Iy.isClockWise(Pe)&&(Re[ge]=Pe.reverse())}}function Ae(ge){let Pe=10000000000000001e-36,Me=ge[0];for(let ze=1;ze<=ge.length;ze++){let pt=ze%ge.length,He=ge[pt],At=He.x-Me.x,Tt=He.y-Me.y,Lt=At*At+Tt*Tt,Ht=Math.max(Math.abs(He.x),Math.abs(He.y),Math.abs(Me.x),Math.abs(Me.y)),ri=Pe*Ht*Ht;if(Lt<=ri){ge.splice(pt,1),ze--;continue}Me=He}}Ae(he),Re.forEach(Ae);let Ee=Re.length,Ce=he;for(let ge=0;ge<Ee;ge++){let Ue=Re[ge];he=he.concat(Ue)}function Qe(ge,Ue,Pe){return Ue||yi("ExtrudeGeometry: vec does not exist"),ge.clone().addScaledVector(Ue,Pe)}let qe=he.length;function St(ge,Ue,Pe){let Me,ze,pt,He=ge.x-Ue.x,At=ge.y-Ue.y,Tt=Pe.x-ge.x,Lt=Pe.y-ge.y,Ht=He*He+At*At,ri=He*Lt-At*Tt;if(Math.abs(ri)>Number.EPSILON){let Xe=Math.sqrt(Ht),We=Math.sqrt(Tt*Tt+Lt*Lt),Mt=Ue.x-At/Xe,si=Ue.y+He/Xe,gi=Pe.x-Lt/We,mi=Pe.y+Tt/We,bi=((gi-Mt)*Lt-(mi-si)*Tt)/(He*Lt-At*Tt);Me=Mt+He*bi-ge.x,ze=si+At*bi-ge.y;let Qt=Me*Me+ze*ze;if(Qt<=2)return new hi(Me,ze);pt=Math.sqrt(Qt/2)}else{let Xe=!1;He>Number.EPSILON?Tt>Number.EPSILON&&(Xe=!0):He<-Number.EPSILON?Tt<-Number.EPSILON&&(Xe=!0):Math.sign(At)===Math.sign(Lt)&&(Xe=!0),Xe?(Me=-At,ze=He,pt=Math.sqrt(Ht)):(Me=He,ze=At,pt=Math.sqrt(Ht/2))}return new hi(Me/pt,ze/pt)}let $e=[];for(let ge=0,Ue=Ce.length,Pe=Ue-1,Me=ge+1;ge<Ue;ge++,Pe++,Me++)Pe===Ue&&(Pe=0),Me===Ue&&(Me=0),$e[ge]=St(Ce[ge],Ce[Pe],Ce[Me]);let ke=[],It,ft=$e.concat();for(let ge=0,Ue=Ee;ge<Ue;ge++){let Pe=Re[ge];It=[];for(let Me=0,ze=Pe.length,pt=ze-1,He=Me+1;Me<ze;Me++,pt++,He++)pt===ze&&(pt=0),He===ze&&(He=0),It[Me]=St(Pe[Me],Pe[pt],Pe[He]);ke.push(It),ft=ft.concat(It)}let Dt;if(b===0)Dt=Iy.triangulateShape(Ce,Re);else{let ge=[],Ue=[];for(let Pe=0;Pe<b;Pe++){let Me=Pe/b,ze=y*Math.cos(Me*Math.PI/2),pt=T*Math.sin(Me*Math.PI/2)+R;for(let He=0,At=Ce.length;He<At;He++){let Tt=Qe(Ce[He],$e[He],pt);Kt(Tt.x,Tt.y,-ze),Me===0&&ge.push(Tt)}for(let He=0,At=Ee;He<At;He++){let Tt=Re[He];It=ke[He];let Lt=[];for(let Ht=0,ri=Tt.length;Ht<ri;Ht++){let Xe=Qe(Tt[Ht],It[Ht],pt);Kt(Xe.x,Xe.y,-ze),Me===0&&Lt.push(Xe)}Me===0&&Ue.push(Lt)}}Dt=Iy.triangulateShape(ge,Ue)}let Zt=Dt.length,Ct=T+R;for(let ge=0;ge<qe;ge++){let Ue=m?Qe(he[ge],ft[ge],Ct):he[ge];U?(K.copy(Z.normals[0]).multiplyScalar(Ue.x),ne.copy(Z.binormals[0]).multiplyScalar(Ue.y),oe.copy(P[0]).add(K).add(ne),Kt(oe.x,oe.y,oe.z)):Kt(Ue.x,Ue.y,0)}for(let ge=1;ge<=p;ge++)for(let Ue=0;Ue<qe;Ue++){let Pe=m?Qe(he[Ue],ft[Ue],Ct):he[Ue];U?(K.copy(Z.normals[ge]).multiplyScalar(Pe.x),ne.copy(Z.binormals[ge]).multiplyScalar(Pe.y),oe.copy(P[ge]).add(K).add(ne),Kt(oe.x,oe.y,oe.z)):Kt(Pe.x,Pe.y,I/p*ge)}for(let ge=b-1;ge>=0;ge--){let Ue=ge/b,Pe=y*Math.cos(Ue*Math.PI/2),Me=T*Math.sin(Ue*Math.PI/2)+R;for(let ze=0,pt=Ce.length;ze<pt;ze++){let He=Qe(Ce[ze],$e[ze],Me);Kt(He.x,He.y,I+Pe)}for(let ze=0,pt=Re.length;ze<pt;ze++){let He=Re[ze];It=ke[ze];for(let At=0,Tt=He.length;At<Tt;At++){let Lt=Qe(He[At],It[At],Me);U?Kt(Lt.x,Lt.y+P[p-1].y,P[p-1].x+Pe):Kt(Lt.x,Lt.y,I+Pe)}}}Ut(),ii();function Ut(){let ge=s.length/3;if(m){let Ue=0,Pe=qe*Ue;for(let Me=0;Me<Zt;Me++){let ze=Dt[Me];ui(ze[2]+Pe,ze[1]+Pe,ze[0]+Pe)}Ue=p+b*2,Pe=qe*Ue;for(let Me=0;Me<Zt;Me++){let ze=Dt[Me];ui(ze[0]+Pe,ze[1]+Pe,ze[2]+Pe)}}else{for(let Ue=0;Ue<Zt;Ue++){let Pe=Dt[Ue];ui(Pe[2],Pe[1],Pe[0])}for(let Ue=0;Ue<Zt;Ue++){let Pe=Dt[Ue];ui(Pe[0]+qe*p,Pe[1]+qe*p,Pe[2]+qe*p)}}n.addGroup(ge,s.length/3-ge,0)}function ii(){let ge=s.length/3,Ue=0;Vt(Ce,Ue),Ue+=Ce.length;for(let Pe=0,Me=Re.length;Pe<Me;Pe++){let ze=Re[Pe];Vt(ze,Ue),Ue+=ze.length}n.addGroup(ge,s.length/3-ge,1)}function Vt(ge,Ue){let Pe=ge.length;for(;--Pe>=0;){let Me=Pe,ze=Pe-1;ze<0&&(ze=ge.length-1);for(let pt=0,He=p+b*2;pt<He;pt++){let At=qe*pt,Tt=qe*(pt+1),Lt=Ue+Me+At,Ht=Ue+ze+At,ri=Ue+ze+Tt,Xe=Ue+Me+Tt;jt(Lt,Ht,ri,Xe)}}}function Kt(ge,Ue,Pe){d.push(ge),d.push(Ue),d.push(Pe)}function ui(ge,Ue,Pe){Oe(ge),Oe(Ue),Oe(Pe);let Me=s.length/3,ze=O.generateTopUV(n,s,Me-3,Me-2,Me-1);Ft(ze[0]),Ft(ze[1]),Ft(ze[2])}function jt(ge,Ue,Pe,Me){Oe(ge),Oe(Ue),Oe(Me),Oe(Ue),Oe(Pe),Oe(Me);let ze=s.length/3,pt=O.generateSideWallUV(n,s,ze-6,ze-3,ze-2,ze-1);Ft(pt[0]),Ft(pt[1]),Ft(pt[3]),Ft(pt[1]),Ft(pt[2]),Ft(pt[3])}function Oe(ge){s.push(d[ge*3+0]),s.push(d[ge*3+1]),s.push(d[ge*3+2])}function Ft(ge){o.push(ge.x),o.push(ge.y)}}}copy(t){return super.copy(t),this.parameters=Object.assign({},t.parameters),this}toJSON(){let t=super.toJSON(),i=this.parameters.shapes,n=this.parameters.options;return q5e(i,n,t)}static fromJSON(t,i){let n=[];for(let o=0,r=t.shapes.length;o<r;o++){let l=i[t.shapes[o]];n.push(l)}let s=t.options.extrudePath;return s!==void 0&&(t.options.extrudePath=new uY[s.type]().fromJSON(s)),new e(n,t.options)}},j5e={generateTopUV:function(e,t,i,n,s){let o=t[i*3],r=t[i*3+1],l=t[n*3],d=t[n*3+1],h=t[s*3],p=t[s*3+1];return[new hi(o,r),new hi(l,d),new hi(h,p)]},generateSideWallUV:function(e,t,i,n,s,o){let r=t[i*3],l=t[i*3+1],d=t[i*3+2],h=t[n*3],p=t[n*3+1],I=t[n*3+2],m=t[s*3],y=t[s*3+1],T=t[s*3+2],R=t[o*3],b=t[o*3+1],A=t[o*3+2];return Math.abs(l-p)<Math.abs(r-h)?[new hi(r,1-d),new hi(h,1-I),new hi(m,1-T),new hi(R,1-A)]:[new hi(l,1-d),new hi(p,1-I),new hi(y,1-T),new hi(b,1-A)]}};function q5e(e,t,i){if(i.shapes=[],Array.isArray(e))for(let n=0,s=e.length;n<s;n++){let o=e[n];i.shapes.push(o.uuid)}else i.shapes.push(e.uuid);return i.options=Object.assign({},t),t.extrudePath!==void 0&&(i.options.extrudePath=t.extrudePath.toJSON()),i}var PH=class e extends Zv{constructor(t=1,i=0){let n=(1+Math.sqrt(5))/2,s=[-1,n,0,1,n,0,-1,-n,0,1,-n,0,0,-1,n,0,1,n,0,-1,-n,0,1,-n,n,0,-1,n,0,1,-n,0,-1,-n,0,1],o=[0,11,5,0,5,1,0,1,7,0,7,10,0,10,11,1,5,9,5,11,4,11,10,2,10,7,6,7,1,8,3,9,4,3,4,2,3,2,6,3,6,8,3,8,9,4,9,5,2,4,11,6,2,10,8,6,7,9,8,1];super(s,o,t,i),this.type="IcosahedronGeometry",this.parameters={radius:t,detail:i}}static fromJSON(t){return new e(t.radius,t.detail)}},MH=class e extends nn{constructor(t=[new hi(0,-.5),new hi(.5,0),new hi(0,.5)],i=12,n=0,s=Math.PI*2){super(),this.type="LatheGeometry",this.parameters={points:t,segments:i,phiStart:n,phiLength:s},i=Math.floor(i),s=cs(s,0,Math.PI*2);let o=[],r=[],l=[],d=[],h=[],p=1/i,I=new ye,m=new hi,y=new ye,T=new ye,R=new ye,b=0,A=0;for(let O=0;O<=t.length-1;O++)switch(O){case 0:b=t[O+1].x-t[O].x,A=t[O+1].y-t[O].y,y.x=A*1,y.y=-b,y.z=A*0,R.copy(y),y.normalize(),d.push(y.x,y.y,y.z);break;case t.length-1:d.push(R.x,R.y,R.z);break;default:b=t[O+1].x-t[O].x,A=t[O+1].y-t[O].y,y.x=A*1,y.y=-b,y.z=A*0,T.copy(y),y.x+=R.x,y.y+=R.y,y.z+=R.z,y.normalize(),d.push(y.x,y.y,y.z),R.copy(T)}for(let O=0;O<=i;O++){let P=n+O*p*s,U=Math.sin(P),Z=Math.cos(P);for(let ne=0;ne<=t.length-1;ne++){I.x=t[ne].x*U,I.y=t[ne].y,I.z=t[ne].x*Z,r.push(I.x,I.y,I.z),m.x=O/i,m.y=ne/(t.length-1),l.push(m.x,m.y);let K=d[3*ne+0]*U,oe=d[3*ne+1],se=d[3*ne+0]*Z;h.push(K,oe,se)}}for(let O=0;O<i;O++)for(let P=0;P<t.length-1;P++){let U=P+O*t.length,Z=U,ne=U+t.length,K=U+t.length+1,oe=U+1;o.push(Z,ne,oe),o.push(K,oe,ne)}this.setIndex(o),this.setAttribute("position",new ln(r,3)),this.setAttribute("uv",new ln(l,2)),this.setAttribute("normal",new ln(h,3))}copy(t){return super.copy(t),this.parameters=Object.assign({},t.parameters),this}static fromJSON(t){return new e(t.points,t.segments,t.phiStart,t.phiLength)}},DT=class e extends Zv{constructor(t=1,i=0){let n=[1,0,0,-1,0,0,0,1,0,0,-1,0,0,0,1,0,0,-1],s=[0,2,4,0,4,3,0,3,5,0,5,2,1,2,5,1,5,3,1,3,4,1,4,2];super(n,s,t,i),this.type="OctahedronGeometry",this.parameters={radius:t,detail:i}}static fromJSON(t){return new e(t.radius,t.detail)}},dp=class e extends nn{constructor(t=1,i=1,n=1,s=1){super(),this.type="PlaneGeometry",this.parameters={width:t,height:i,widthSegments:n,heightSegments:s};let o=t/2,r=i/2,l=Math.floor(n),d=Math.floor(s),h=l+1,p=d+1,I=t/l,m=i/d,y=[],T=[],R=[],b=[];for(let A=0;A<p;A++){let O=A*m-r;for(let P=0;P<h;P++){let U=P*I-o;T.push(U,-O,0),R.push(0,0,1),b.push(P/l),b.push(1-A/d)}}for(let A=0;A<d;A++)for(let O=0;O<l;O++){let P=O+h*A,U=O+h*(A+1),Z=O+1+h*(A+1),ne=O+1+h*A;y.push(P,U,ne),y.push(U,Z,ne)}this.setIndex(y),this.setAttribute("position",new ln(T,3)),this.setAttribute("normal",new ln(R,3)),this.setAttribute("uv",new ln(b,2))}copy(t){return super.copy(t),this.parameters=Object.assign({},t.parameters),this}static fromJSON(t){return new e(t.width,t.height,t.widthSegments,t.heightSegments)}},BH=class e extends nn{constructor(t=.5,i=1,n=32,s=1,o=0,r=Math.PI*2){super(),this.type="RingGeometry",this.parameters={innerRadius:t,outerRadius:i,thetaSegments:n,phiSegments:s,thetaStart:o,thetaLength:r},n=Math.max(3,n),s=Math.max(1,s);let l=[],d=[],h=[],p=[],I=t,m=(i-t)/s,y=new ye,T=new hi;for(let R=0;R<=s;R++){for(let b=0;b<=n;b++){let A=o+b/n*r;y.x=I*Math.cos(A),y.y=I*Math.sin(A),d.push(y.x,y.y,y.z),h.push(0,0,1),T.x=(y.x/i+1)/2,T.y=(y.y/i+1)/2,p.push(T.x,T.y)}I+=m}for(let R=0;R<s;R++){let b=R*(n+1);for(let A=0;A<n;A++){let O=A+b,P=O,U=O+n+1,Z=O+n+2,ne=O+1;l.push(P,U,ne),l.push(U,Z,ne)}}this.setIndex(l),this.setAttribute("position",new ln(d,3)),this.setAttribute("normal",new ln(h,3)),this.setAttribute("uv",new ln(p,2))}copy(t){return super.copy(t),this.parameters=Object.assign({},t.parameters),this}static fromJSON(t){return new e(t.innerRadius,t.outerRadius,t.thetaSegments,t.phiSegments,t.thetaStart,t.thetaLength)}},FH=class e extends nn{constructor(t=new Jg([new hi(0,.5),new hi(-.5,-.5),new hi(.5,-.5)]),i=12){super(),this.type="ShapeGeometry",this.parameters={shapes:t,curveSegments:i};let n=[],s=[],o=[],r=[],l=0,d=0;if(Array.isArray(t)===!1)h(t);else for(let p=0;p<t.length;p++)h(t[p]),this.addGroup(l,d,p),l+=d,d=0;this.setIndex(n),this.setAttribute("position",new ln(s,3)),this.setAttribute("normal",new ln(o,3)),this.setAttribute("uv",new ln(r,2));function h(p){let I=s.length/3,m=p.extractPoints(i),y=m.shape,T=m.holes;Iy.isClockWise(y)===!1&&(y=y.reverse());for(let b=0,A=T.length;b<A;b++){let O=T[b];Iy.isClockWise(O)===!0&&(T[b]=O.reverse())}let R=Iy.triangulateShape(y,T);for(let b=0,A=T.length;b<A;b++){let O=T[b];y=y.concat(O)}for(let b=0,A=y.length;b<A;b++){let O=y[b];s.push(O.x,O.y,0),o.push(0,0,1),r.push(O.x,O.y)}for(let b=0,A=R.length;b<A;b++){let O=R[b],P=O[0]+I,U=O[1]+I,Z=O[2]+I;n.push(P,U,Z),d+=3}}}copy(t){return super.copy(t),this.parameters=Object.assign({},t.parameters),this}toJSON(){let t=super.toJSON(),i=this.parameters.shapes;return $5e(i,t)}static fromJSON(t,i){let n=[];for(let s=0,o=t.shapes.length;s<o;s++){let r=i[t.shapes[s]];n.push(r)}return new e(n,t.curveSegments)}};function $5e(e,t){if(t.shapes=[],Array.isArray(e))for(let i=0,n=e.length;i<n;i++){let s=e[i];t.shapes.push(s.uuid)}else t.shapes.push(e.uuid);return t}var yy=class e extends nn{constructor(t=1,i=32,n=16,s=0,o=Math.PI*2,r=0,l=Math.PI){super(),this.type="SphereGeometry",this.parameters={radius:t,widthSegments:i,heightSegments:n,phiStart:s,phiLength:o,thetaStart:r,thetaLength:l},i=Math.max(3,Math.floor(i)),n=Math.max(2,Math.floor(n));let d=Math.min(r+l,Math.PI),h=0,p=[],I=new ye,m=new ye,y=[],T=[],R=[],b=[];for(let A=0;A<=n;A++){let O=[],P=A/n,U=0;A===0&&r===0?U=.5/i:A===n&&d===Math.PI&&(U=-.5/i);for(let Z=0;Z<=i;Z++){let ne=Z/i;I.x=-t*Math.cos(s+ne*o)*Math.sin(r+P*l),I.y=t*Math.cos(r+P*l),I.z=t*Math.sin(s+ne*o)*Math.sin(r+P*l),T.push(I.x,I.y,I.z),m.copy(I).normalize(),R.push(m.x,m.y,m.z),b.push(ne+U,1-P),O.push(h++)}p.push(O)}for(let A=0;A<n;A++)for(let O=0;O<i;O++){let P=p[A][O+1],U=p[A][O],Z=p[A+1][O],ne=p[A+1][O+1];(A!==0||r>0)&&y.push(P,U,ne),(A!==n-1||d<Math.PI)&&y.push(U,Z,ne)}this.setIndex(y),this.setAttribute("position",new ln(T,3)),this.setAttribute("normal",new ln(R,3)),this.setAttribute("uv",new ln(b,2))}copy(t){return super.copy(t),this.parameters=Object.assign({},t.parameters),this}static fromJSON(t){return new e(t.radius,t.widthSegments,t.heightSegments,t.phiStart,t.phiLength,t.thetaStart,t.thetaLength)}},UH=class e extends Zv{constructor(t=1,i=0){let n=[1,1,1,-1,-1,1,-1,1,-1,1,-1,-1],s=[2,1,0,0,3,2,1,3,0,2,3,1];super(n,s,t,i),this.type="TetrahedronGeometry",this.parameters={radius:t,detail:i}}static fromJSON(t){return new e(t.radius,t.detail)}},CT=class e extends nn{constructor(t=1,i=.4,n=12,s=48,o=Math.PI*2,r=0,l=Math.PI*2){super(),this.type="TorusGeometry",this.parameters={radius:t,tube:i,radialSegments:n,tubularSegments:s,arc:o,thetaStart:r,thetaLength:l},n=Math.floor(n),s=Math.floor(s);let d=[],h=[],p=[],I=[],m=new ye,y=new ye,T=new ye;for(let R=0;R<=n;R++){let b=r+R/n*l;for(let A=0;A<=s;A++){let O=A/s*o;y.x=(t+i*Math.cos(b))*Math.cos(O),y.y=(t+i*Math.cos(b))*Math.sin(O),y.z=i*Math.sin(b),h.push(y.x,y.y,y.z),m.x=t*Math.cos(O),m.y=t*Math.sin(O),T.subVectors(y,m).normalize(),p.push(T.x,T.y,T.z),I.push(A/s),I.push(R/n)}}for(let R=1;R<=n;R++)for(let b=1;b<=s;b++){let A=(s+1)*R+b-1,O=(s+1)*(R-1)+b-1,P=(s+1)*(R-1)+b,U=(s+1)*R+b;d.push(A,O,U),d.push(O,P,U)}this.setIndex(d),this.setAttribute("position",new ln(h,3)),this.setAttribute("normal",new ln(p,3)),this.setAttribute("uv",new ln(I,2))}copy(t){return super.copy(t),this.parameters=Object.assign({},t.parameters),this}static fromJSON(t){return new e(t.radius,t.tube,t.radialSegments,t.tubularSegments,t.arc)}},HH=class e extends nn{constructor(t=1,i=.4,n=64,s=8,o=2,r=3){super(),this.type="TorusKnotGeometry",this.parameters={radius:t,tube:i,tubularSegments:n,radialSegments:s,p:o,q:r},n=Math.floor(n),s=Math.floor(s);let l=[],d=[],h=[],p=[],I=new ye,m=new ye,y=new ye,T=new ye,R=new ye,b=new ye,A=new ye;for(let P=0;P<=n;++P){let U=P/n*o*Math.PI*2;O(U,o,r,t,y),O(U+.01,o,r,t,T),b.subVectors(T,y),A.addVectors(T,y),R.crossVectors(b,A),A.crossVectors(R,b),R.normalize(),A.normalize();for(let Z=0;Z<=s;++Z){let ne=Z/s*Math.PI*2,K=-i*Math.cos(ne),oe=i*Math.sin(ne);I.x=y.x+(K*A.x+oe*R.x),I.y=y.y+(K*A.y+oe*R.y),I.z=y.z+(K*A.z+oe*R.z),d.push(I.x,I.y,I.z),m.subVectors(I,y).normalize(),h.push(m.x,m.y,m.z),p.push(P/n),p.push(Z/s)}}for(let P=1;P<=n;P++)for(let U=1;U<=s;U++){let Z=(s+1)*(P-1)+(U-1),ne=(s+1)*P+(U-1),K=(s+1)*P+U,oe=(s+1)*(P-1)+U;l.push(Z,ne,oe),l.push(ne,K,oe)}this.setIndex(l),this.setAttribute("position",new ln(d,3)),this.setAttribute("normal",new ln(h,3)),this.setAttribute("uv",new ln(p,2));function O(P,U,Z,ne,K){let oe=Math.cos(P),se=Math.sin(P),he=Z/U*P,Re=Math.cos(he);K.x=ne*(2+Re)*.5*oe,K.y=ne*(2+Re)*se*.5,K.z=ne*Math.sin(he)*.5}}copy(t){return super.copy(t),this.parameters=Object.assign({},t.parameters),this}static fromJSON(t){return new e(t.radius,t.tube,t.tubularSegments,t.radialSegments,t.p,t.q)}},GH=class e extends nn{constructor(t=new Bb(new ye(-1,-1,0),new ye(-1,1,0),new ye(1,1,0)),i=64,n=1,s=8,o=!1){super(),this.type="TubeGeometry",this.parameters={path:t,tubularSegments:i,radius:n,radialSegments:s,closed:o};let r=t.computeFrenetFrames(i,o);this.tangents=r.tangents,this.normals=r.normals,this.binormals=r.binormals;let l=new ye,d=new ye,h=new hi,p=new ye,I=[],m=[],y=[],T=[];R(),this.setIndex(T),this.setAttribute("position",new ln(I,3)),this.setAttribute("normal",new ln(m,3)),this.setAttribute("uv",new ln(y,2));function R(){for(let P=0;P<i;P++)b(P);b(o===!1?i:0),O(),A()}function b(P){p=t.getPointAt(P/i,p);let U=r.normals[P],Z=r.binormals[P];for(let ne=0;ne<=s;ne++){let K=ne/s*Math.PI*2,oe=Math.sin(K),se=-Math.cos(K);d.x=se*U.x+oe*Z.x,d.y=se*U.y+oe*Z.y,d.z=se*U.z+oe*Z.z,d.normalize(),m.push(d.x,d.y,d.z),l.x=p.x+n*d.x,l.y=p.y+n*d.y,l.z=p.z+n*d.z,I.push(l.x,l.y,l.z)}}function A(){for(let P=1;P<=i;P++)for(let U=1;U<=s;U++){let Z=(s+1)*(P-1)+(U-1),ne=(s+1)*P+(U-1),K=(s+1)*P+U,oe=(s+1)*(P-1)+U;T.push(Z,ne,oe),T.push(ne,K,oe)}}function O(){for(let P=0;P<=i;P++)for(let U=0;U<=s;U++)h.x=P/i,h.y=U/s,y.push(h.x,h.y)}}copy(t){return super.copy(t),this.parameters=Object.assign({},t.parameters),this}toJSON(){let t=super.toJSON();return t.path=this.parameters.path.toJSON(),t}static fromJSON(t){return new e(new uY[t.path.type]().fromJSON(t.path),t.tubularSegments,t.radius,t.radialSegments,t.closed)}},fC=class extends nn{constructor(t=null){if(super(),this.type="WireframeGeometry",this.parameters={geometry:t},t!==null){let i=[],n=new Set,s=new ye,o=new ye;if(t.index!==null){let r=t.attributes.position,l=t.index,d=t.groups;d.length===0&&(d=[{start:0,count:l.count,materialIndex:0}]);for(let h=0,p=d.length;h<p;++h){let I=d[h],m=I.start,y=I.count;for(let T=m,R=m+y;T<R;T+=3)for(let b=0;b<3;b++){let A=l.getX(T+b),O=l.getX(T+(b+1)%3);s.fromBufferAttribute(r,A),o.fromBufferAttribute(r,O),Che(s,o,n)===!0&&(i.push(s.x,s.y,s.z),i.push(o.x,o.y,o.z))}}}else{let r=t.attributes.position;for(let l=0,d=r.count/3;l<d;l++)for(let h=0;h<3;h++){let p=3*l+h,I=3*l+(h+1)%3;s.fromBufferAttribute(r,p),o.fromBufferAttribute(r,I),Che(s,o,n)===!0&&(i.push(s.x,s.y,s.z),i.push(o.x,o.y,o.z))}}this.setAttribute("position",new ln(i,3))}}copy(t){return super.copy(t),this.parameters=Object.assign({},t.parameters),this}};function Che(e,t,i){let n=`${e.x},${e.y},${e.z}-${t.x},${t.y},${t.z}`,s=`${t.x},${t.y},${t.z}-${e.x},${e.y},${e.z}`;return i.has(n)===!0||i.has(s)===!0?!1:(i.add(n),i.add(s),!0)}var xhe=Object.freeze({__proto__:null,BoxGeometry:pr,CapsuleGeometry:wH,CircleGeometry:vH,ConeGeometry:dP,CylinderGeometry:Lr,DodecahedronGeometry:RH,EdgesGeometry:SH,ExtrudeGeometry:LH,IcosahedronGeometry:PH,LatheGeometry:MH,OctahedronGeometry:DT,PlaneGeometry:dp,PolyhedronGeometry:Zv,RingGeometry:BH,ShapeGeometry:FH,SphereGeometry:yy,TetrahedronGeometry:UH,TorusGeometry:CT,TorusKnotGeometry:HH,TubeGeometry:GH,WireframeGeometry:fC}),pC=class extends za{constructor(t){super(),this.isShadowMaterial=!0,this.type="ShadowMaterial",this.color=new Oi(0),this.transparent=!0,this.fog=!0,this.setValues(t)}copy(t){return super.copy(t),this.color.copy(t.color),this.fog=t.fog,this}};function PC(e){let t={};for(let i in e){t[i]={};for(let n in e[i]){let s=e[i][n];if(Ohe(s))s.isRenderTargetTexture?(ci("UniformsUtils: Textures of render targets cannot be cloned via cloneUniforms() or mergeUniforms()."),t[i][n]=null):t[i][n]=s.clone();else if(Array.isArray(s))if(Ohe(s[0])){let o=[];for(let r=0,l=s.length;r<l;r++)o[r]=s[r].clone();t[i][n]=o}else t[i][n]=s.slice();else t[i][n]=s}}return t}function Tf(e){let t={};for(let i=0;i<e.length;i++){let n=PC(e[i]);for(let s in n)t[s]=n[s]}return t}function Ohe(e){return e&&(e.isColor||e.isMatrix3||e.isMatrix4||e.isVector2||e.isVector3||e.isVector4||e.isTexture||e.isQuaternion)}function Z5e(e){let t=[];for(let i=0;i<e.length;i++)t.push(e[i].clone());return t}function Cte(e){let t=e.getRenderTarget();return t===null?e.outputColorSpace:t.isXRRenderTarget===!0?t.texture.colorSpace:Hn.workingColorSpace}var eN={clone:PC,merge:Tf},K5e=`void main() {
|
||
gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );
|
||
}`,Q5e=`void main() {
|
||
gl_FragColor = vec4( 1.0, 0.0, 0.0, 1.0 );
|
||
}`,Kl=class extends za{constructor(t){super(),this.isShaderMaterial=!0,this.type="ShaderMaterial",this.defines={},this.uniforms={},this.uniformsGroups=[],this.vertexShader=K5e,this.fragmentShader=Q5e,this.linewidth=1,this.wireframe=!1,this.wireframeLinewidth=1,this.fog=!1,this.lights=!1,this.clipping=!1,this.forceSinglePass=!0,this.extensions={clipCullDistance:!1,multiDraw:!1},this.defaultAttributeValues={color:[1,1,1],uv:[0,0],uv1:[0,0]},this.index0AttributeName=void 0,this.uniformsNeedUpdate=!1,this.glslVersion=null,t!==void 0&&this.setValues(t)}copy(t){return super.copy(t),this.fragmentShader=t.fragmentShader,this.vertexShader=t.vertexShader,this.uniforms=PC(t.uniforms),this.uniformsGroups=Z5e(t.uniformsGroups),this.defines=Object.assign({},t.defines),this.wireframe=t.wireframe,this.wireframeLinewidth=t.wireframeLinewidth,this.fog=t.fog,this.lights=t.lights,this.clipping=t.clipping,this.extensions=Object.assign({},t.extensions),this.glslVersion=t.glslVersion,this.defaultAttributeValues=Object.assign({},t.defaultAttributeValues),this.index0AttributeName=t.index0AttributeName,this.uniformsNeedUpdate=t.uniformsNeedUpdate,this}toJSON(t){let i=super.toJSON(t);i.glslVersion=this.glslVersion,i.uniforms={};for(let s in this.uniforms){let r=this.uniforms[s].value;r&&r.isTexture?i.uniforms[s]={type:"t",value:r.toJSON(t).uuid}:r&&r.isColor?i.uniforms[s]={type:"c",value:r.getHex()}:r&&r.isVector2?i.uniforms[s]={type:"v2",value:r.toArray()}:r&&r.isVector3?i.uniforms[s]={type:"v3",value:r.toArray()}:r&&r.isVector4?i.uniforms[s]={type:"v4",value:r.toArray()}:r&&r.isMatrix3?i.uniforms[s]={type:"m3",value:r.toArray()}:r&&r.isMatrix4?i.uniforms[s]={type:"m4",value:r.toArray()}:i.uniforms[s]={value:r}}Object.keys(this.defines).length>0&&(i.defines=this.defines),i.vertexShader=this.vertexShader,i.fragmentShader=this.fragmentShader,i.lights=this.lights,i.clipping=this.clipping;let n={};for(let s in this.extensions)this.extensions[s]===!0&&(n[s]=!0);return Object.keys(n).length>0&&(i.extensions=n),i}},yP=class extends Kl{constructor(t){super(t),this.isRawShaderMaterial=!0,this.type="RawShaderMaterial"}},Fb=class extends za{constructor(t){super(),this.isMeshStandardMaterial=!0,this.type="MeshStandardMaterial",this.defines={STANDARD:""},this.color=new Oi(16777215),this.roughness=1,this.metalness=0,this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.emissive=new Oi(0),this.emissiveIntensity=1,this.emissiveMap=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=kI,this.normalScale=new hi(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.roughnessMap=null,this.metalnessMap=null,this.alphaMap=null,this.envMap=null,this.envMapRotation=new UI,this.envMapIntensity=1,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.flatShading=!1,this.fog=!0,this.setValues(t)}copy(t){return super.copy(t),this.defines={STANDARD:""},this.color.copy(t.color),this.roughness=t.roughness,this.metalness=t.metalness,this.map=t.map,this.lightMap=t.lightMap,this.lightMapIntensity=t.lightMapIntensity,this.aoMap=t.aoMap,this.aoMapIntensity=t.aoMapIntensity,this.emissive.copy(t.emissive),this.emissiveMap=t.emissiveMap,this.emissiveIntensity=t.emissiveIntensity,this.bumpMap=t.bumpMap,this.bumpScale=t.bumpScale,this.normalMap=t.normalMap,this.normalMapType=t.normalMapType,this.normalScale.copy(t.normalScale),this.displacementMap=t.displacementMap,this.displacementScale=t.displacementScale,this.displacementBias=t.displacementBias,this.roughnessMap=t.roughnessMap,this.metalnessMap=t.metalnessMap,this.alphaMap=t.alphaMap,this.envMap=t.envMap,this.envMapRotation.copy(t.envMapRotation),this.envMapIntensity=t.envMapIntensity,this.wireframe=t.wireframe,this.wireframeLinewidth=t.wireframeLinewidth,this.wireframeLinecap=t.wireframeLinecap,this.wireframeLinejoin=t.wireframeLinejoin,this.flatShading=t.flatShading,this.fog=t.fog,this}},IC=class extends Fb{constructor(t){super(),this.isMeshPhysicalMaterial=!0,this.defines={STANDARD:"",PHYSICAL:""},this.type="MeshPhysicalMaterial",this.anisotropyRotation=0,this.anisotropyMap=null,this.clearcoatMap=null,this.clearcoatRoughness=0,this.clearcoatRoughnessMap=null,this.clearcoatNormalScale=new hi(1,1),this.clearcoatNormalMap=null,this.ior=1.5,Object.defineProperty(this,"reflectivity",{get:function(){return cs(2.5*(this.ior-1)/(this.ior+1),0,1)},set:function(i){this.ior=(1+.4*i)/(1-.4*i)}}),this.iridescenceMap=null,this.iridescenceIOR=1.3,this.iridescenceThicknessRange=[100,400],this.iridescenceThicknessMap=null,this.sheenColor=new Oi(0),this.sheenColorMap=null,this.sheenRoughness=1,this.sheenRoughnessMap=null,this.transmissionMap=null,this.thickness=0,this.thicknessMap=null,this.attenuationDistance=1/0,this.attenuationColor=new Oi(1,1,1),this.specularIntensity=1,this.specularIntensityMap=null,this.specularColor=new Oi(1,1,1),this.specularColorMap=null,this._anisotropy=0,this._clearcoat=0,this._dispersion=0,this._iridescence=0,this._sheen=0,this._transmission=0,this.setValues(t)}get anisotropy(){return this._anisotropy}set anisotropy(t){this._anisotropy>0!=t>0&&this.version++,this._anisotropy=t}get clearcoat(){return this._clearcoat}set clearcoat(t){this._clearcoat>0!=t>0&&this.version++,this._clearcoat=t}get iridescence(){return this._iridescence}set iridescence(t){this._iridescence>0!=t>0&&this.version++,this._iridescence=t}get dispersion(){return this._dispersion}set dispersion(t){this._dispersion>0!=t>0&&this.version++,this._dispersion=t}get sheen(){return this._sheen}set sheen(t){this._sheen>0!=t>0&&this.version++,this._sheen=t}get transmission(){return this._transmission}set transmission(t){this._transmission>0!=t>0&&this.version++,this._transmission=t}copy(t){return super.copy(t),this.defines={STANDARD:"",PHYSICAL:""},this.anisotropy=t.anisotropy,this.anisotropyRotation=t.anisotropyRotation,this.anisotropyMap=t.anisotropyMap,this.clearcoat=t.clearcoat,this.clearcoatMap=t.clearcoatMap,this.clearcoatRoughness=t.clearcoatRoughness,this.clearcoatRoughnessMap=t.clearcoatRoughnessMap,this.clearcoatNormalMap=t.clearcoatNormalMap,this.clearcoatNormalScale.copy(t.clearcoatNormalScale),this.dispersion=t.dispersion,this.ior=t.ior,this.iridescence=t.iridescence,this.iridescenceMap=t.iridescenceMap,this.iridescenceIOR=t.iridescenceIOR,this.iridescenceThicknessRange=[...t.iridescenceThicknessRange],this.iridescenceThicknessMap=t.iridescenceThicknessMap,this.sheen=t.sheen,this.sheenColor.copy(t.sheenColor),this.sheenColorMap=t.sheenColorMap,this.sheenRoughness=t.sheenRoughness,this.sheenRoughnessMap=t.sheenRoughnessMap,this.transmission=t.transmission,this.transmissionMap=t.transmissionMap,this.thickness=t.thickness,this.thicknessMap=t.thicknessMap,this.attenuationDistance=t.attenuationDistance,this.attenuationColor.copy(t.attenuationColor),this.specularIntensity=t.specularIntensity,this.specularIntensityMap=t.specularIntensityMap,this.specularColor.copy(t.specularColor),this.specularColorMap=t.specularColorMap,this}},mC=class extends za{constructor(t){super(),this.isMeshPhongMaterial=!0,this.type="MeshPhongMaterial",this.color=new Oi(16777215),this.specular=new Oi(1118481),this.shininess=30,this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.emissive=new Oi(0),this.emissiveIntensity=1,this.emissiveMap=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=kI,this.normalScale=new hi(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.specularMap=null,this.alphaMap=null,this.envMap=null,this.envMapRotation=new UI,this.combine=zb,this.reflectivity=1,this.envMapIntensity=1,this.refractionRatio=.98,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.flatShading=!1,this.fog=!0,this.setValues(t)}copy(t){return super.copy(t),this.color.copy(t.color),this.specular.copy(t.specular),this.shininess=t.shininess,this.map=t.map,this.lightMap=t.lightMap,this.lightMapIntensity=t.lightMapIntensity,this.aoMap=t.aoMap,this.aoMapIntensity=t.aoMapIntensity,this.emissive.copy(t.emissive),this.emissiveMap=t.emissiveMap,this.emissiveIntensity=t.emissiveIntensity,this.bumpMap=t.bumpMap,this.bumpScale=t.bumpScale,this.normalMap=t.normalMap,this.normalMapType=t.normalMapType,this.normalScale.copy(t.normalScale),this.displacementMap=t.displacementMap,this.displacementScale=t.displacementScale,this.displacementBias=t.displacementBias,this.specularMap=t.specularMap,this.alphaMap=t.alphaMap,this.envMap=t.envMap,this.envMapRotation.copy(t.envMapRotation),this.combine=t.combine,this.reflectivity=t.reflectivity,this.envMapIntensity=t.envMapIntensity,this.refractionRatio=t.refractionRatio,this.wireframe=t.wireframe,this.wireframeLinewidth=t.wireframeLinewidth,this.wireframeLinecap=t.wireframeLinecap,this.wireframeLinejoin=t.wireframeLinejoin,this.flatShading=t.flatShading,this.fog=t.fog,this}},yC=class extends za{constructor(t){super(),this.isMeshToonMaterial=!0,this.defines={TOON:""},this.type="MeshToonMaterial",this.color=new Oi(16777215),this.map=null,this.gradientMap=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.emissive=new Oi(0),this.emissiveIntensity=1,this.emissiveMap=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=kI,this.normalScale=new hi(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.alphaMap=null,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.fog=!0,this.setValues(t)}copy(t){return super.copy(t),this.color.copy(t.color),this.map=t.map,this.gradientMap=t.gradientMap,this.lightMap=t.lightMap,this.lightMapIntensity=t.lightMapIntensity,this.aoMap=t.aoMap,this.aoMapIntensity=t.aoMapIntensity,this.emissive.copy(t.emissive),this.emissiveMap=t.emissiveMap,this.emissiveIntensity=t.emissiveIntensity,this.bumpMap=t.bumpMap,this.bumpScale=t.bumpScale,this.normalMap=t.normalMap,this.normalMapType=t.normalMapType,this.normalScale.copy(t.normalScale),this.displacementMap=t.displacementMap,this.displacementScale=t.displacementScale,this.displacementBias=t.displacementBias,this.alphaMap=t.alphaMap,this.wireframe=t.wireframe,this.wireframeLinewidth=t.wireframeLinewidth,this.wireframeLinecap=t.wireframeLinecap,this.wireframeLinejoin=t.wireframeLinejoin,this.fog=t.fog,this}},EC=class extends za{constructor(t){super(),this.isMeshNormalMaterial=!0,this.type="MeshNormalMaterial",this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=kI,this.normalScale=new hi(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.wireframe=!1,this.wireframeLinewidth=1,this.flatShading=!1,this.setValues(t)}copy(t){return super.copy(t),this.bumpMap=t.bumpMap,this.bumpScale=t.bumpScale,this.normalMap=t.normalMap,this.normalMapType=t.normalMapType,this.normalScale.copy(t.normalScale),this.displacementMap=t.displacementMap,this.displacementScale=t.displacementScale,this.displacementBias=t.displacementBias,this.wireframe=t.wireframe,this.wireframeLinewidth=t.wireframeLinewidth,this.flatShading=t.flatShading,this}},tw=class extends za{constructor(t){super(),this.isMeshLambertMaterial=!0,this.type="MeshLambertMaterial",this.color=new Oi(16777215),this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.emissive=new Oi(0),this.emissiveIntensity=1,this.emissiveMap=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=kI,this.normalScale=new hi(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.specularMap=null,this.alphaMap=null,this.envMap=null,this.envMapRotation=new UI,this.combine=zb,this.reflectivity=1,this.envMapIntensity=1,this.refractionRatio=.98,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.flatShading=!1,this.fog=!0,this.setValues(t)}copy(t){return super.copy(t),this.color.copy(t.color),this.map=t.map,this.lightMap=t.lightMap,this.lightMapIntensity=t.lightMapIntensity,this.aoMap=t.aoMap,this.aoMapIntensity=t.aoMapIntensity,this.emissive.copy(t.emissive),this.emissiveMap=t.emissiveMap,this.emissiveIntensity=t.emissiveIntensity,this.bumpMap=t.bumpMap,this.bumpScale=t.bumpScale,this.normalMap=t.normalMap,this.normalMapType=t.normalMapType,this.normalScale.copy(t.normalScale),this.displacementMap=t.displacementMap,this.displacementScale=t.displacementScale,this.displacementBias=t.displacementBias,this.specularMap=t.specularMap,this.alphaMap=t.alphaMap,this.envMap=t.envMap,this.envMapRotation.copy(t.envMapRotation),this.combine=t.combine,this.reflectivity=t.reflectivity,this.envMapIntensity=t.envMapIntensity,this.refractionRatio=t.refractionRatio,this.wireframe=t.wireframe,this.wireframeLinewidth=t.wireframeLinewidth,this.wireframeLinecap=t.wireframeLinecap,this.wireframeLinejoin=t.wireframeLinejoin,this.flatShading=t.flatShading,this.fog=t.fog,this}},EP=class extends za{constructor(t){super(),this.isMeshDepthMaterial=!0,this.type="MeshDepthMaterial",this.depthPacking=bte,this.map=null,this.alphaMap=null,this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.wireframe=!1,this.wireframeLinewidth=1,this.setValues(t)}copy(t){return super.copy(t),this.depthPacking=t.depthPacking,this.map=t.map,this.alphaMap=t.alphaMap,this.displacementMap=t.displacementMap,this.displacementScale=t.displacementScale,this.displacementBias=t.displacementBias,this.wireframe=t.wireframe,this.wireframeLinewidth=t.wireframeLinewidth,this}},TP=class extends za{constructor(t){super(),this.isMeshDistanceMaterial=!0,this.type="MeshDistanceMaterial",this.map=null,this.alphaMap=null,this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.setValues(t)}copy(t){return super.copy(t),this.map=t.map,this.alphaMap=t.alphaMap,this.displacementMap=t.displacementMap,this.displacementScale=t.displacementScale,this.displacementBias=t.displacementBias,this}},TC=class extends za{constructor(t){super(),this.isMeshMatcapMaterial=!0,this.defines={MATCAP:""},this.type="MeshMatcapMaterial",this.color=new Oi(16777215),this.matcap=null,this.map=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=kI,this.normalScale=new hi(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.alphaMap=null,this.wireframe=!1,this.wireframeLinewidth=1,this.flatShading=!1,this.fog=!0,this.setValues(t)}copy(t){return super.copy(t),this.defines={MATCAP:""},this.color.copy(t.color),this.matcap=t.matcap,this.map=t.map,this.bumpMap=t.bumpMap,this.bumpScale=t.bumpScale,this.normalMap=t.normalMap,this.normalMapType=t.normalMapType,this.normalScale.copy(t.normalScale),this.displacementMap=t.displacementMap,this.displacementScale=t.displacementScale,this.displacementBias=t.displacementBias,this.alphaMap=t.alphaMap,this.wireframe=t.wireframe,this.wireframeLinewidth=t.wireframeLinewidth,this.flatShading=t.flatShading,this.fog=t.fog,this}},xT=class extends Qo{constructor(t){super(),this.isLineDashedMaterial=!0,this.type="LineDashedMaterial",this.scale=1,this.dashSize=3,this.gapSize=1,this.setValues(t)}copy(t){return super.copy(t),this.scale=t.scale,this.dashSize=t.dashSize,this.gapSize=t.gapSize,this}};function iC(e,t){return!e||e.constructor===t?e:typeof t.BYTES_PER_ELEMENT=="number"?new t(e):Array.prototype.slice.call(e)}function Cfe(e){function t(s,o){return e[s]-e[o]}let i=e.length,n=new Array(i);for(let s=0;s!==i;++s)n[s]=s;return n.sort(t),n}function dte(e,t,i){let n=e.length,s=new e.constructor(n);for(let o=0,r=0;r!==n;++o){let l=i[o]*t;for(let d=0;d!==t;++d)s[r++]=e[l+d]}return s}function xte(e,t,i,n){let s=1,o=e[0];for(;o!==void 0&&o[n]===void 0;)o=e[s++];if(o===void 0)return;let r=o[n];if(r!==void 0)if(Array.isArray(r))do r=o[n],r!==void 0&&(t.push(o.time),i.push(...r)),o=e[s++];while(o!==void 0);else if(r.toArray!==void 0)do r=o[n],r!==void 0&&(t.push(o.time),r.toArray(i,i.length)),o=e[s++];while(o!==void 0);else do r=o[n],r!==void 0&&(t.push(o.time),i.push(r)),o=e[s++];while(o!==void 0)}function J5e(e,t,i,n,s=30){let o=e.clone();o.name=t;let r=[];for(let d=0;d<o.tracks.length;++d){let h=o.tracks[d],p=h.getValueSize(),I=[],m=[];for(let y=0;y<h.times.length;++y){let T=h.times[y]*s;if(!(T<i||T>=n)){I.push(h.times[y]);for(let R=0;R<p;++R)m.push(h.values[y*p+R])}}I.length!==0&&(h.times=iC(I,h.times.constructor),h.values=iC(m,h.values.constructor),r.push(h))}o.tracks=r;let l=1/0;for(let d=0;d<o.tracks.length;++d)l>o.tracks[d].times[0]&&(l=o.tracks[d].times[0]);for(let d=0;d<o.tracks.length;++d)o.tracks[d].shift(-1*l);return o.resetDuration(),o}function X5e(e,t=0,i=e,n=30){n<=0&&(n=30);let s=i.tracks.length,o=t/n;for(let r=0;r<s;++r){let l=i.tracks[r],d=l.ValueTypeName;if(d==="bool"||d==="string")continue;let h=e.tracks.find(function(A){return A.name===l.name&&A.ValueTypeName===d});if(h===void 0)continue;let p=0,I=l.getValueSize();l.createInterpolant.isInterpolantFactoryMethodGLTFCubicSpline&&(p=I/3);let m=0,y=h.getValueSize();h.createInterpolant.isInterpolantFactoryMethodGLTFCubicSpline&&(m=y/3);let T=l.times.length-1,R;if(o<=l.times[0]){let A=p,O=I-p;R=l.values.slice(A,O)}else if(o>=l.times[T]){let A=T*I+p,O=A+I-p;R=l.values.slice(A,O)}else{let A=l.createInterpolant(),O=p,P=I-p;A.evaluate(o),R=A.resultBuffer.slice(O,P)}d==="quaternion"&&new Gs().fromArray(R).normalize().conjugate().toArray(R);let b=h.times.length;for(let A=0;A<b;++A){let O=A*y+m;if(d==="quaternion")Gs.multiplyQuaternionsFlat(h.values,O,R,0,h.values,O);else{let P=y-m*2;for(let U=0;U<P;++U)h.values[O+U]-=R[U]}}}return e.blendMode=qY,e}var cY=class{static convertArray(t,i){return iC(t,i)}static isTypedArray(t){return LC(t)}static getKeyframeOrder(t){return Cfe(t)}static sortedArray(t,i,n){return dte(t,i,n)}static flattenJSON(t,i,n,s){xte(t,i,n,s)}static subclip(t,i,n,s,o=30){return J5e(t,i,n,s,o)}static makeClipAdditive(t,i=0,n=t,s=30){return X5e(t,i,n,s)}},Kv=class{constructor(t,i,n,s){this.parameterPositions=t,this._cachedIndex=0,this.resultBuffer=s!==void 0?s:new i.constructor(n),this.sampleValues=i,this.valueSize=n,this.settings=null,this.DefaultSettings_={}}evaluate(t){let i=this.parameterPositions,n=this._cachedIndex,s=i[n],o=i[n-1];e:{t:{let r;i:{n:if(!(t<s)){for(let l=n+2;;){if(s===void 0){if(t<o)break n;return n=i.length,this._cachedIndex=n,this.copySampleValue_(n-1)}if(n===l)break;if(o=s,s=i[++n],t<s)break t}r=i.length;break i}if(!(t>=o)){let l=i[1];t<l&&(n=2,o=l);for(let d=n-2;;){if(o===void 0)return this._cachedIndex=0,this.copySampleValue_(0);if(n===d)break;if(s=o,o=i[--n-1],t>=o)break t}r=n,n=0;break i}break e}for(;n<r;){let l=n+r>>>1;t<i[l]?r=l:n=l+1}if(s=i[n],o=i[n-1],o===void 0)return this._cachedIndex=0,this.copySampleValue_(0);if(s===void 0)return n=i.length,this._cachedIndex=n,this.copySampleValue_(n-1)}this._cachedIndex=n,this.intervalChanged_(n,o,s)}return this.interpolate_(n,o,t,s)}getSettings_(){return this.settings||this.DefaultSettings_}copySampleValue_(t){let i=this.resultBuffer,n=this.sampleValues,s=this.valueSize,o=t*s;for(let r=0;r!==s;++r)i[r]=n[o+r];return i}interpolate_(){throw new Error("call to abstract method")}intervalChanged_(){}},VH=class extends Kv{constructor(t,i,n,s){super(t,i,n,s),this._weightPrev=-0,this._offsetPrev=-0,this._weightNext=-0,this._offsetNext=-0,this.DefaultSettings_={endingStart:gb,endingEnd:gb}}intervalChanged_(t,i,n){let s=this.parameterPositions,o=t-2,r=t+1,l=s[o],d=s[r];if(l===void 0)switch(this.getSettings_().endingStart){case wb:o=t,l=2*i-n;break;case oP:o=s.length-2,l=i+s[o]-s[o+1];break;default:o=t,l=n}if(d===void 0)switch(this.getSettings_().endingEnd){case wb:r=t,d=2*n-i;break;case oP:r=1,d=n+s[1]-s[0];break;default:r=t-1,d=i}let h=(n-i)*.5,p=this.valueSize;this._weightPrev=h/(i-l),this._weightNext=h/(d-n),this._offsetPrev=o*p,this._offsetNext=r*p}interpolate_(t,i,n,s){let o=this.resultBuffer,r=this.sampleValues,l=this.valueSize,d=t*l,h=d-l,p=this._offsetPrev,I=this._offsetNext,m=this._weightPrev,y=this._weightNext,T=(n-i)/(s-i),R=T*T,b=R*T,A=-m*b+2*m*R-m*T,O=(1+m)*b+(-1.5-2*m)*R+(-.5+m)*T+1,P=(-1-y)*b+(1.5+y)*R+.5*T,U=y*b-y*R;for(let Z=0;Z!==l;++Z)o[Z]=A*r[p+Z]+O*r[h+Z]+P*r[d+Z]+U*r[I+Z];return o}},gP=class extends Kv{constructor(t,i,n,s){super(t,i,n,s)}interpolate_(t,i,n,s){let o=this.resultBuffer,r=this.sampleValues,l=this.valueSize,d=t*l,h=d-l,p=(n-i)/(s-i),I=1-p;for(let m=0;m!==l;++m)o[m]=r[h+m]*I+r[d+m]*p;return o}},kH=class extends Kv{constructor(t,i,n,s){super(t,i,n,s)}interpolate_(t){return this.copySampleValue_(t-1)}},zH=class extends Kv{interpolate_(t,i,n,s){let o=this.resultBuffer,r=this.sampleValues,l=this.valueSize,d=t*l,h=d-l,p=this.settings||this.DefaultSettings_,I=p.inTangents,m=p.outTangents;if(!I||!m){let R=(n-i)/(s-i),b=1-R;for(let A=0;A!==l;++A)o[A]=r[h+A]*b+r[d+A]*R;return o}let y=l*2,T=t-1;for(let R=0;R!==l;++R){let b=r[h+R],A=r[d+R],O=T*y+R*2,P=m[O],U=m[O+1],Z=t*y+R*2,ne=I[Z],K=I[Z+1],oe=(n-i)/(s-i),se,he,Re,ee,Ae;for(let Ee=0;Ee<8;Ee++){se=oe*oe,he=se*oe,Re=1-oe,ee=Re*Re,Ae=ee*Re;let Qe=Ae*i+3*ee*oe*P+3*Re*se*ne+he*s-n;if(Math.abs(Qe)<1e-10)break;let qe=3*ee*(P-i)+6*Re*oe*(ne-P)+3*se*(s-ne);if(Math.abs(qe)<1e-10)break;oe=oe-Qe/qe,oe=Math.max(0,Math.min(1,oe))}o[R]=Ae*b+3*ee*oe*U+3*Re*se*K+he*A}return o}},hp=class{constructor(t,i,n,s){if(t===void 0)throw new Error("THREE.KeyframeTrack: track name is undefined");if(i===void 0||i.length===0)throw new Error("THREE.KeyframeTrack: no keyframes in track named "+t);this.name=t,this.times=iC(i,this.TimeBufferType),this.values=iC(n,this.ValueBufferType),this.setInterpolation(s||this.DefaultInterpolation)}static toJSON(t){let i=t.constructor,n;if(i.toJSON!==this.toJSON)n=i.toJSON(t);else{n={name:t.name,times:iC(t.times,Array),values:iC(t.values,Array)};let s=t.getInterpolation();s!==t.DefaultInterpolation&&(n.interpolation=s)}return n.type=t.ValueTypeName,n}InterpolantFactoryMethodDiscrete(t){return new kH(this.times,this.values,this.getValueSize(),t)}InterpolantFactoryMethodLinear(t){return new gP(this.times,this.values,this.getValueSize(),t)}InterpolantFactoryMethodSmooth(t){return new VH(this.times,this.values,this.getValueSize(),t)}InterpolantFactoryMethodBezier(t){let i=new zH(this.times,this.values,this.getValueSize(),t);return this.settings&&(i.settings=this.settings),i}setInterpolation(t){let i;switch(t){case sP:i=this.InterpolantFactoryMethodDiscrete;break;case hH:i=this.InterpolantFactoryMethodLinear;break;case aH:i=this.InterpolantFactoryMethodSmooth;break;case $W:i=this.InterpolantFactoryMethodBezier;break}if(i===void 0){let n="unsupported interpolation for "+this.ValueTypeName+" keyframe track named "+this.name;if(this.createInterpolant===void 0)if(t!==this.DefaultInterpolation)this.setInterpolation(this.DefaultInterpolation);else throw new Error(n);return ci("KeyframeTrack:",n),this}return this.createInterpolant=i,this}getInterpolation(){switch(this.createInterpolant){case this.InterpolantFactoryMethodDiscrete:return sP;case this.InterpolantFactoryMethodLinear:return hH;case this.InterpolantFactoryMethodSmooth:return aH;case this.InterpolantFactoryMethodBezier:return $W}}getValueSize(){return this.values.length/this.times.length}shift(t){if(t!==0){let i=this.times;for(let n=0,s=i.length;n!==s;++n)i[n]+=t}return this}scale(t){if(t!==1){let i=this.times;for(let n=0,s=i.length;n!==s;++n)i[n]*=t}return this}trim(t,i){let n=this.times,s=n.length,o=0,r=s-1;for(;o!==s&&n[o]<t;)++o;for(;r!==-1&&n[r]>i;)--r;if(++r,o!==0||r!==s){o>=r&&(r=Math.max(r,1),o=r-1);let l=this.getValueSize();this.times=n.slice(o,r),this.values=this.values.slice(o*l,r*l)}return this}validate(){let t=!0,i=this.getValueSize();i-Math.floor(i)!==0&&(yi("KeyframeTrack: Invalid value size in track.",this),t=!1);let n=this.times,s=this.values,o=n.length;o===0&&(yi("KeyframeTrack: Track is empty.",this),t=!1);let r=null;for(let l=0;l!==o;l++){let d=n[l];if(typeof d=="number"&&isNaN(d)){yi("KeyframeTrack: Time is not a valid number.",this,l,d),t=!1;break}if(r!==null&&r>d){yi("KeyframeTrack: Out of order keys.",this,l,d,r),t=!1;break}r=d}if(s!==void 0&&LC(s))for(let l=0,d=s.length;l!==d;++l){let h=s[l];if(isNaN(h)){yi("KeyframeTrack: Value is not a valid number.",this,l,h),t=!1;break}}return t}optimize(){let t=this.times.slice(),i=this.values.slice(),n=this.getValueSize(),s=this.getInterpolation()===aH,o=t.length-1,r=1;for(let l=1;l<o;++l){let d=!1,h=t[l],p=t[l+1];if(h!==p&&(l!==1||h!==t[0]))if(s)d=!0;else{let I=l*n,m=I-n,y=I+n;for(let T=0;T!==n;++T){let R=i[I+T];if(R!==i[m+T]||R!==i[y+T]){d=!0;break}}}if(d){if(l!==r){t[r]=t[l];let I=l*n,m=r*n;for(let y=0;y!==n;++y)i[m+y]=i[I+y]}++r}}if(o>0){t[r]=t[o];for(let l=o*n,d=r*n,h=0;h!==n;++h)i[d+h]=i[l+h];++r}return r!==t.length?(this.times=t.slice(0,r),this.values=i.slice(0,r*n)):(this.times=t,this.values=i),this}clone(){let t=this.times.slice(),i=this.values.slice(),n=this.constructor,s=new n(this.name,t,i);return s.createInterpolant=this.createInterpolant,s}};hp.prototype.ValueTypeName="";hp.prototype.TimeBufferType=Float32Array;hp.prototype.ValueBufferType=Float32Array;hp.prototype.DefaultInterpolation=hH;var iw=class extends hp{constructor(t,i,n){super(t,i,n)}};iw.prototype.ValueTypeName="bool";iw.prototype.ValueBufferType=Array;iw.prototype.DefaultInterpolation=sP;iw.prototype.InterpolantFactoryMethodLinear=void 0;iw.prototype.InterpolantFactoryMethodSmooth=void 0;var wP=class extends hp{constructor(t,i,n,s){super(t,i,n,s)}};wP.prototype.ValueTypeName="color";var Ub=class extends hp{constructor(t,i,n,s){super(t,i,n,s)}};Ub.prototype.ValueTypeName="number";var WH=class extends Kv{constructor(t,i,n,s){super(t,i,n,s)}interpolate_(t,i,n,s){let o=this.resultBuffer,r=this.sampleValues,l=this.valueSize,d=(n-i)/(s-i),h=t*l;for(let p=h+l;h!==p;h+=4)Gs.slerpFlat(o,0,r,h-l,r,h,d);return o}},Hb=class extends hp{constructor(t,i,n,s){super(t,i,n,s)}InterpolantFactoryMethodLinear(t){return new WH(this.times,this.values,this.getValueSize(),t)}};Hb.prototype.ValueTypeName="quaternion";Hb.prototype.InterpolantFactoryMethodSmooth=void 0;var nw=class extends hp{constructor(t,i,n){super(t,i,n)}};nw.prototype.ValueTypeName="string";nw.prototype.ValueBufferType=Array;nw.prototype.DefaultInterpolation=sP;nw.prototype.InterpolantFactoryMethodLinear=void 0;nw.prototype.InterpolantFactoryMethodSmooth=void 0;var Gb=class extends hp{constructor(t,i,n,s){super(t,i,n,s)}};Gb.prototype.ValueTypeName="vector";var Vb=class{constructor(t="",i=-1,n=[],s=aG){this.name=t,this.tracks=n,this.duration=i,this.blendMode=s,this.uuid=bm(),this.userData={},this.duration<0&&this.resetDuration()}static parse(t){let i=[],n=t.tracks,s=1/(t.fps||1);for(let r=0,l=n.length;r!==l;++r)i.push(tSe(n[r]).scale(s));let o=new this(t.name,t.duration,i,t.blendMode);return o.uuid=t.uuid,o.userData=JSON.parse(t.userData||"{}"),o}static toJSON(t){let i=[],n=t.tracks,s={name:t.name,duration:t.duration,tracks:i,uuid:t.uuid,blendMode:t.blendMode,userData:JSON.stringify(t.userData)};for(let o=0,r=n.length;o!==r;++o)i.push(hp.toJSON(n[o]));return s}static CreateFromMorphTargetSequence(t,i,n,s){let o=i.length,r=[];for(let l=0;l<o;l++){let d=[],h=[];d.push((l+o-1)%o,l,(l+1)%o),h.push(0,1,0);let p=Cfe(d);d=dte(d,1,p),h=dte(h,1,p),!s&&d[0]===0&&(d.push(o),h.push(h[0])),r.push(new Ub(".morphTargetInfluences["+i[l].name+"]",d,h).scale(1/n))}return new this(t,-1,r)}static findByName(t,i){let n=t;if(!Array.isArray(t)){let s=t;n=s.geometry&&s.geometry.animations||s.animations}for(let s=0;s<n.length;s++)if(n[s].name===i)return n[s];return null}static CreateClipsFromMorphTargetSequences(t,i,n){let s={},o=/^([\w-]*?)([\d]+)$/;for(let l=0,d=t.length;l<d;l++){let h=t[l],p=h.name.match(o);if(p&&p.length>1){let I=p[1],m=s[I];m||(s[I]=m=[]),m.push(h)}}let r=[];for(let l in s)r.push(this.CreateFromMorphTargetSequence(l,s[l],i,n));return r}static parseAnimation(t,i){if(ci("AnimationClip: parseAnimation() is deprecated and will be removed with r185"),!t)return yi("AnimationClip: No animation in JSONLoader data."),null;let n=function(I,m,y,T,R){if(y.length!==0){let b=[],A=[];xte(y,b,A,T),b.length!==0&&R.push(new I(m,b,A))}},s=[],o=t.name||"default",r=t.fps||30,l=t.blendMode,d=t.length||-1,h=t.hierarchy||[];for(let I=0;I<h.length;I++){let m=h[I].keys;if(!(!m||m.length===0))if(m[0].morphTargets){let y={},T;for(T=0;T<m.length;T++)if(m[T].morphTargets)for(let R=0;R<m[T].morphTargets.length;R++)y[m[T].morphTargets[R]]=-1;for(let R in y){let b=[],A=[];for(let O=0;O!==m[T].morphTargets.length;++O){let P=m[T];b.push(P.time),A.push(P.morphTarget===R?1:0)}s.push(new Ub(".morphTargetInfluence["+R+"]",b,A))}d=y.length*r}else{let y=".bones["+i[I].name+"]";n(Gb,y+".position",m,"pos",s),n(Hb,y+".quaternion",m,"rot",s),n(Gb,y+".scale",m,"scl",s)}}return s.length===0?null:new this(o,d,s,l)}resetDuration(){let t=this.tracks,i=0;for(let n=0,s=t.length;n!==s;++n){let o=this.tracks[n];i=Math.max(i,o.times[o.times.length-1])}return this.duration=i,this}trim(){for(let t=0;t<this.tracks.length;t++)this.tracks[t].trim(0,this.duration);return this}validate(){let t=!0;for(let i=0;i<this.tracks.length;i++)t=t&&this.tracks[i].validate();return t}optimize(){for(let t=0;t<this.tracks.length;t++)this.tracks[t].optimize();return this}clone(){let t=[];for(let n=0;n<this.tracks.length;n++)t.push(this.tracks[n].clone());let i=new this.constructor(this.name,this.duration,t,this.blendMode);return i.userData=JSON.parse(JSON.stringify(this.userData)),i}toJSON(){return this.constructor.toJSON(this)}};function eSe(e){switch(e.toLowerCase()){case"scalar":case"double":case"float":case"number":case"integer":return Ub;case"vector":case"vector2":case"vector3":case"vector4":return Gb;case"color":return wP;case"quaternion":return Hb;case"bool":case"boolean":return iw;case"string":return nw}throw new Error("THREE.KeyframeTrack: Unsupported typeName: "+e)}function tSe(e){if(e.type===void 0)throw new Error("THREE.KeyframeTrack: track type undefined, can not parse");let t=eSe(e.type);if(e.times===void 0){let i=[],n=[];xte(e.keys,i,n,"value"),e.times=i,e.values=n}return t.parse!==void 0?t.parse(e):new t(e.name,e.times,e.values,e.interpolation)}var ST={enabled:!1,files:{},add:function(e,t){this.enabled!==!1&&(Lhe(e)||(this.files[e]=t))},get:function(e){if(this.enabled!==!1&&!Lhe(e))return this.files[e]},remove:function(e){delete this.files[e]},clear:function(){this.files={}}};function Lhe(e){try{let t=e.slice(e.indexOf(":")+1);return new URL(t).protocol==="blob:"}catch{return!1}}var vP=class{constructor(t,i,n){let s=this,o=!1,r=0,l=0,d,h=[];this.onStart=void 0,this.onLoad=t,this.onProgress=i,this.onError=n,this._abortController=null,this.itemStart=function(p){l++,o===!1&&s.onStart!==void 0&&s.onStart(p,r,l),o=!0},this.itemEnd=function(p){r++,s.onProgress!==void 0&&s.onProgress(p,r,l),r===l&&(o=!1,s.onLoad!==void 0&&s.onLoad())},this.itemError=function(p){s.onError!==void 0&&s.onError(p)},this.resolveURL=function(p){return d?d(p):p},this.setURLModifier=function(p){return d=p,this},this.addHandler=function(p,I){return h.push(p,I),this},this.removeHandler=function(p){let I=h.indexOf(p);return I!==-1&&h.splice(I,2),this},this.getHandler=function(p){for(let I=0,m=h.length;I<m;I+=2){let y=h[I],T=h[I+1];if(y.global&&(y.lastIndex=0),y.test(p))return T}return null},this.abort=function(){return this.abortController.abort(),this._abortController=null,this}}get abortController(){return this._abortController||(this._abortController=new AbortController),this._abortController}},Ote=new vP,U0=class{constructor(t){this.manager=t!==void 0?t:Ote,this.crossOrigin="anonymous",this.withCredentials=!1,this.path="",this.resourcePath="",this.requestHeader={},typeof __THREE_DEVTOOLS__<"u"&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("observe",{detail:this}))}load(){}loadAsync(t,i){let n=this;return new Promise(function(s,o){n.load(t,s,i,o)})}parse(){}setCrossOrigin(t){return this.crossOrigin=t,this}setWithCredentials(t){return this.withCredentials=t,this}setPath(t){return this.path=t,this}setResourcePath(t){return this.resourcePath=t,this}setRequestHeader(t){return this.requestHeader=t,this}abort(){return this}};U0.DEFAULT_MATERIAL_NAME="__DEFAULT";var Fv={},hte=class extends Error{constructor(t,i){super(t),this.response=i}},_m=class extends U0{constructor(t){super(t),this.mimeType="",this.responseType="",this._abortController=new AbortController}load(t,i,n,s){t===void 0&&(t=""),this.path!==void 0&&(t=this.path+t),t=this.manager.resolveURL(t);let o=ST.get(`file:${t}`);if(o!==void 0){this.manager.itemStart(t),setTimeout(()=>{i&&i(o),this.manager.itemEnd(t)},0);return}if(Fv[t]!==void 0){Fv[t].push({onLoad:i,onProgress:n,onError:s});return}Fv[t]=[],Fv[t].push({onLoad:i,onProgress:n,onError:s});let r=new Request(t,{headers:new Headers(this.requestHeader),credentials:this.withCredentials?"include":"same-origin",signal:typeof AbortSignal.any=="function"?AbortSignal.any([this._abortController.signal,this.manager.abortController.signal]):this._abortController.signal}),l=this.mimeType,d=this.responseType;fetch(r).then(h=>{if(h.status===200||h.status===0){if(h.status===0&&ci("FileLoader: HTTP Status 0 received."),typeof ReadableStream>"u"||h.body===void 0||h.body.getReader===void 0)return h;let p=Fv[t],I=h.body.getReader(),m=h.headers.get("X-File-Size")||h.headers.get("Content-Length"),y=m?parseInt(m):0,T=y!==0,R=0,b=new ReadableStream({start(A){O();function O(){I.read().then(({done:P,value:U})=>{if(P)A.close();else{R+=U.byteLength;let Z=new ProgressEvent("progress",{lengthComputable:T,loaded:R,total:y});for(let ne=0,K=p.length;ne<K;ne++){let oe=p[ne];oe.onProgress&&oe.onProgress(Z)}A.enqueue(U),O()}},P=>{A.error(P)})}}});return new Response(b)}else throw new hte(`fetch for "${h.url}" responded with ${h.status}: ${h.statusText}`,h)}).then(h=>{switch(d){case"arraybuffer":return h.arrayBuffer();case"blob":return h.blob();case"document":return h.text().then(p=>new DOMParser().parseFromString(p,l));case"json":return h.json();default:if(l==="")return h.text();{let I=/charset="?([^;"\s]*)"?/i.exec(l),m=I&&I[1]?I[1].toLowerCase():void 0,y=new TextDecoder(m);return h.arrayBuffer().then(T=>y.decode(T))}}}).then(h=>{ST.add(`file:${t}`,h);let p=Fv[t];delete Fv[t];for(let I=0,m=p.length;I<m;I++){let y=p[I];y.onLoad&&y.onLoad(h)}}).catch(h=>{let p=Fv[t];if(p===void 0)throw this.manager.itemError(t),h;delete Fv[t];for(let I=0,m=p.length;I<m;I++){let y=p[I];y.onError&&y.onError(h)}this.manager.itemError(t)}).finally(()=>{this.manager.itemEnd(t)}),this.manager.itemStart(t)}setResponseType(t){return this.responseType=t,this}setMimeType(t){return this.mimeType=t,this}abort(){return this._abortController.abort(),this._abortController=new AbortController,this}},dY=class extends U0{constructor(t){super(t)}load(t,i,n,s){let o=this,r=new _m(this.manager);r.setPath(this.path),r.setRequestHeader(this.requestHeader),r.setWithCredentials(this.withCredentials),r.load(t,function(l){try{i(o.parse(JSON.parse(l)))}catch(d){s?s(d):yi(d),o.manager.itemError(t)}},n,s)}parse(t){let i=[];for(let n=0;n<t.length;n++){let s=Vb.parse(t[n]);i.push(s)}return i}},hY=class extends U0{constructor(t){super(t)}load(t,i,n,s){let o=this,r=[],l=new aC,d=new _m(this.manager);d.setPath(this.path),d.setResponseType("arraybuffer"),d.setRequestHeader(this.requestHeader),d.setWithCredentials(o.withCredentials);let h=0;function p(I){d.load(t[I],function(m){let y=o.parse(m,!0);r[I]={width:y.width,height:y.height,format:y.format,mipmaps:y.mipmaps},h+=1,h===6&&(y.mipmapCount===1&&(l.minFilter=Us),l.image=r,l.format=y.format,l.needsUpdate=!0,i&&i(l))},n,s)}if(Array.isArray(t))for(let I=0,m=t.length;I<m;++I)p(I);else d.load(t,function(I){let m=o.parse(I,!0);if(m.isCubemap){let y=m.mipmaps.length/m.mipmapCount;for(let T=0;T<y;T++){r[T]={mipmaps:[]};for(let R=0;R<m.mipmapCount;R++)r[T].mipmaps.push(m.mipmaps[T*m.mipmapCount+R]),r[T].format=m.format,r[T].width=m.width,r[T].height=m.height}l.image=r}else l.image.width=m.width,l.image.height=m.height,l.mipmaps=m.mipmaps;m.mipmapCount===1&&(l.minFilter=Us),l.format=m.format,l.needsUpdate=!0,i&&i(l)},n,s);return l}},QL=new WeakMap,kb=class extends U0{constructor(t){super(t)}load(t,i,n,s){this.path!==void 0&&(t=this.path+t),t=this.manager.resolveURL(t);let o=this,r=ST.get(`image:${t}`);if(r!==void 0){if(r.complete===!0)o.manager.itemStart(t),setTimeout(function(){i&&i(r),o.manager.itemEnd(t)},0);else{let I=QL.get(r);I===void 0&&(I=[],QL.set(r,I)),I.push({onLoad:i,onError:s})}return r}let l=lP("img");function d(){p(),i&&i(this);let I=QL.get(this)||[];for(let m=0;m<I.length;m++){let y=I[m];y.onLoad&&y.onLoad(this)}QL.delete(this),o.manager.itemEnd(t)}function h(I){p(),s&&s(I),ST.remove(`image:${t}`);let m=QL.get(this)||[];for(let y=0;y<m.length;y++){let T=m[y];T.onError&&T.onError(I)}QL.delete(this),o.manager.itemError(t),o.manager.itemEnd(t)}function p(){l.removeEventListener("load",d,!1),l.removeEventListener("error",h,!1)}return l.addEventListener("load",d,!1),l.addEventListener("error",h,!1),t.slice(0,5)!=="data:"&&this.crossOrigin!==void 0&&(l.crossOrigin=this.crossOrigin),ST.add(`image:${t}`,l),o.manager.itemStart(t),l.src=t,l}},fY=class extends U0{constructor(t){super(t)}load(t,i,n,s){let o=new Nm;o.colorSpace=Va;let r=new kb(this.manager);r.setCrossOrigin(this.crossOrigin),r.setPath(this.path);let l=0;function d(h){r.load(t[h],function(p){o.images[h]=p,l++,l===6&&(o.needsUpdate=!0,i&&i(o))},void 0,s)}for(let h=0;h<t.length;++h)d(h);return o}},pY=class extends U0{constructor(t){super(t)}load(t,i,n,s){let o=this,r=new Ih,l=new _m(this.manager);return l.setResponseType("arraybuffer"),l.setRequestHeader(this.requestHeader),l.setPath(this.path),l.setWithCredentials(o.withCredentials),l.load(t,function(d){let h;try{h=o.parse(d)}catch(p){s!==void 0?s(p):yi(p);return}h.image!==void 0?r.image=h.image:h.data!==void 0&&(r.image.width=h.width,r.image.height=h.height,r.image.data=h.data),r.wrapS=h.wrapS!==void 0?h.wrapS:_u,r.wrapT=h.wrapT!==void 0?h.wrapT:_u,r.magFilter=h.magFilter!==void 0?h.magFilter:Us,r.minFilter=h.minFilter!==void 0?h.minFilter:Us,r.anisotropy=h.anisotropy!==void 0?h.anisotropy:1,h.colorSpace!==void 0&&(r.colorSpace=h.colorSpace),h.flipY!==void 0&&(r.flipY=h.flipY),h.format!==void 0&&(r.format=h.format),h.type!==void 0&&(r.type=h.type),h.mipmaps!==void 0&&(r.mipmaps=h.mipmaps,r.minFilter=qc),h.mipmapCount===1&&(r.minFilter=Us),h.generateMipmaps!==void 0&&(r.generateMipmaps=h.generateMipmaps),r.needsUpdate=!0,i&&i(r,h)},n,s),r}},IY=class extends U0{constructor(t){super(t)}load(t,i,n,s){let o=new wr,r=new kb(this.manager);return r.setCrossOrigin(this.crossOrigin),r.setPath(this.path),r.load(t,function(l){o.image=l,o.needsUpdate=!0,i!==void 0&&i(o)},n,s),o}},OT=class extends ps{constructor(t,i=1){super(),this.isLight=!0,this.type="Light",this.color=new Oi(t),this.intensity=i}dispose(){this.dispatchEvent({type:"dispose"})}copy(t,i){return super.copy(t,i),this.color.copy(t.color),this.intensity=t.intensity,this}toJSON(t){let i=super.toJSON(t);return i.object.color=this.color.getHex(),i.object.intensity=this.intensity,i}},gC=class extends OT{constructor(t,i,n){super(t,n),this.isHemisphereLight=!0,this.type="HemisphereLight",this.position.copy(ps.DEFAULT_UP),this.updateMatrix(),this.groundColor=new Oi(i)}copy(t,i){return super.copy(t,i),this.groundColor.copy(t.groundColor),this}toJSON(t){let i=super.toJSON(t);return i.object.groundColor=this.groundColor.getHex(),i}},Xee=new Ai,Phe=new ye,Mhe=new ye,YH=class{constructor(t){this.camera=t,this.intensity=1,this.bias=0,this.biasNode=null,this.normalBias=0,this.radius=1,this.blurSamples=8,this.mapSize=new hi(512,512),this.mapType=Lo,this.map=null,this.mapPass=null,this.matrix=new Ai,this.autoUpdate=!0,this.needsUpdate=!1,this._frustum=new F0,this._frameExtents=new hi(1,1),this._viewportCount=1,this._viewports=[new xn(0,0,1,1)]}getViewportCount(){return this._viewportCount}getFrustum(){return this._frustum}updateMatrices(t){let i=this.camera,n=this.matrix;Phe.setFromMatrixPosition(t.matrixWorld),i.position.copy(Phe),Mhe.setFromMatrixPosition(t.target.matrixWorld),i.lookAt(Mhe),i.updateMatrixWorld(),Xee.multiplyMatrices(i.projectionMatrix,i.matrixWorldInverse),this._frustum.setFromProjectionMatrix(Xee,i.coordinateSystem,i.reversedDepth),i.coordinateSystem===mf||i.reversedDepth?n.set(.5,0,0,.5,0,.5,0,.5,0,0,1,0,0,0,0,1):n.set(.5,0,0,.5,0,.5,0,.5,0,0,.5,.5,0,0,0,1),n.multiply(Xee)}getViewport(t){return this._viewports[t]}getFrameExtents(){return this._frameExtents}dispose(){this.map&&this.map.dispose(),this.mapPass&&this.mapPass.dispose()}copy(t){return this.camera=t.camera.clone(),this.intensity=t.intensity,this.bias=t.bias,this.radius=t.radius,this.autoUpdate=t.autoUpdate,this.needsUpdate=t.needsUpdate,this.normalBias=t.normalBias,this.blurSamples=t.blurSamples,this.mapSize.copy(t.mapSize),this.biasNode=t.biasNode,this}clone(){return new this.constructor().copy(this)}toJSON(){let t={};return this.intensity!==1&&(t.intensity=this.intensity),this.bias!==0&&(t.bias=this.bias),this.normalBias!==0&&(t.normalBias=this.normalBias),this.radius!==1&&(t.radius=this.radius),(this.mapSize.x!==512||this.mapSize.y!==512)&&(t.mapSize=this.mapSize.toArray()),t.camera=this.camera.toJSON(!1).object,delete t.camera.matrix,t}},UW=new ye,HW=new Gs,Kg=new ye,wC=class extends ps{constructor(){super(),this.isCamera=!0,this.type="Camera",this.matrixWorldInverse=new Ai,this.projectionMatrix=new Ai,this.projectionMatrixInverse=new Ai,this.coordinateSystem=Wc,this._reversedDepth=!1}get reversedDepth(){return this._reversedDepth}copy(t,i){return super.copy(t,i),this.matrixWorldInverse.copy(t.matrixWorldInverse),this.projectionMatrix.copy(t.projectionMatrix),this.projectionMatrixInverse.copy(t.projectionMatrixInverse),this.coordinateSystem=t.coordinateSystem,this}getWorldDirection(t){return super.getWorldDirection(t).negate()}updateMatrixWorld(t){super.updateMatrixWorld(t),this.matrixWorld.decompose(UW,HW,Kg),Kg.x===1&&Kg.y===1&&Kg.z===1?this.matrixWorldInverse.copy(this.matrixWorld).invert():this.matrixWorldInverse.compose(UW,HW,Kg.set(1,1,1)).invert()}updateWorldMatrix(t,i){super.updateWorldMatrix(t,i),this.matrixWorld.decompose(UW,HW,Kg),Kg.x===1&&Kg.y===1&&Kg.z===1?this.matrixWorldInverse.copy(this.matrixWorld).invert():this.matrixWorldInverse.compose(UW,HW,Kg.set(1,1,1)).invert()}clone(){return new this.constructor().copy(this)}},Eb=new ye,Bhe=new hi,Fhe=new hi,xo=class extends wC{constructor(t=50,i=1,n=.1,s=2e3){super(),this.isPerspectiveCamera=!0,this.type="PerspectiveCamera",this.fov=t,this.zoom=1,this.near=n,this.far=s,this.focus=10,this.aspect=i,this.view=null,this.filmGauge=35,this.filmOffset=0,this.updateProjectionMatrix()}copy(t,i){return super.copy(t,i),this.fov=t.fov,this.zoom=t.zoom,this.near=t.near,this.far=t.far,this.focus=t.focus,this.aspect=t.aspect,this.view=t.view===null?null:Object.assign({},t.view),this.filmGauge=t.filmGauge,this.filmOffset=t.filmOffset,this}setFocalLength(t){let i=.5*this.getFilmHeight()/t;this.fov=Wv*2*Math.atan(i),this.updateProjectionMatrix()}getFocalLength(){let t=Math.tan(nC*.5*this.fov);return .5*this.getFilmHeight()/t}getEffectiveFOV(){return Wv*2*Math.atan(Math.tan(nC*.5*this.fov)/this.zoom)}getFilmWidth(){return this.filmGauge*Math.min(this.aspect,1)}getFilmHeight(){return this.filmGauge/Math.max(this.aspect,1)}getViewBounds(t,i,n){Eb.set(-1,-1,.5).applyMatrix4(this.projectionMatrixInverse),i.set(Eb.x,Eb.y).multiplyScalar(-t/Eb.z),Eb.set(1,1,.5).applyMatrix4(this.projectionMatrixInverse),n.set(Eb.x,Eb.y).multiplyScalar(-t/Eb.z)}getViewSize(t,i){return this.getViewBounds(t,Bhe,Fhe),i.subVectors(Fhe,Bhe)}setViewOffset(t,i,n,s,o,r){this.aspect=t/i,this.view===null&&(this.view={enabled:!0,fullWidth:1,fullHeight:1,offsetX:0,offsetY:0,width:1,height:1}),this.view.enabled=!0,this.view.fullWidth=t,this.view.fullHeight=i,this.view.offsetX=n,this.view.offsetY=s,this.view.width=o,this.view.height=r,this.updateProjectionMatrix()}clearViewOffset(){this.view!==null&&(this.view.enabled=!1),this.updateProjectionMatrix()}updateProjectionMatrix(){let t=this.near,i=t*Math.tan(nC*.5*this.fov)/this.zoom,n=2*i,s=this.aspect*n,o=-.5*s,r=this.view;if(this.view!==null&&this.view.enabled){let d=r.fullWidth,h=r.fullHeight;o+=r.offsetX*s/d,i-=r.offsetY*n/h,s*=r.width/d,n*=r.height/h}let l=this.filmOffset;l!==0&&(o+=t*l/this.getFilmWidth()),this.projectionMatrix.makePerspective(o,o+s,i,i-n,t,this.far,this.coordinateSystem,this.reversedDepth),this.projectionMatrixInverse.copy(this.projectionMatrix).invert()}toJSON(t){let i=super.toJSON(t);return i.object.fov=this.fov,i.object.zoom=this.zoom,i.object.near=this.near,i.object.far=this.far,i.object.focus=this.focus,i.object.aspect=this.aspect,this.view!==null&&(i.object.view=Object.assign({},this.view)),i.object.filmGauge=this.filmGauge,i.object.filmOffset=this.filmOffset,i}},fte=class extends YH{constructor(){super(new xo(50,1,.5,500)),this.isSpotLightShadow=!0,this.focus=1,this.aspect=1}updateMatrices(t){let i=this.camera,n=Wv*2*t.angle*this.focus,s=this.mapSize.width/this.mapSize.height*this.aspect,o=t.distance||i.far;(n!==i.fov||s!==i.aspect||o!==i.far)&&(i.fov=n,i.aspect=s,i.far=o,i.updateProjectionMatrix()),super.updateMatrices(t)}copy(t){return super.copy(t),this.focus=t.focus,this}},Qv=class extends OT{constructor(t,i,n=0,s=Math.PI/3,o=0,r=2){super(t,i),this.isSpotLight=!0,this.type="SpotLight",this.position.copy(ps.DEFAULT_UP),this.updateMatrix(),this.target=new ps,this.distance=n,this.angle=s,this.penumbra=o,this.decay=r,this.map=null,this.shadow=new fte}get power(){return this.intensity*Math.PI}set power(t){this.intensity=t/Math.PI}dispose(){super.dispose(),this.shadow.dispose()}copy(t,i){return super.copy(t,i),this.distance=t.distance,this.angle=t.angle,this.penumbra=t.penumbra,this.decay=t.decay,this.target=t.target.clone(),this.map=t.map,this.shadow=t.shadow.clone(),this}toJSON(t){let i=super.toJSON(t);return i.object.distance=this.distance,i.object.angle=this.angle,i.object.decay=this.decay,i.object.penumbra=this.penumbra,i.object.target=this.target.uuid,this.map&&this.map.isTexture&&(i.object.map=this.map.toJSON(t).uuid),i.object.shadow=this.shadow.toJSON(),i}},pte=class extends YH{constructor(){super(new xo(90,1,.5,500)),this.isPointLightShadow=!0}},vC=class extends OT{constructor(t,i,n=0,s=2){super(t,i),this.isPointLight=!0,this.type="PointLight",this.distance=n,this.decay=s,this.shadow=new pte}get power(){return this.intensity*4*Math.PI}set power(t){this.intensity=t/(4*Math.PI)}dispose(){super.dispose(),this.shadow.dispose()}copy(t,i){return super.copy(t,i),this.distance=t.distance,this.decay=t.decay,this.shadow=t.shadow.clone(),this}toJSON(t){let i=super.toJSON(t);return i.object.distance=this.distance,i.object.decay=this.decay,i.object.shadow=this.shadow.toJSON(),i}},ba=class extends wC{constructor(t=-1,i=1,n=1,s=-1,o=.1,r=2e3){super(),this.isOrthographicCamera=!0,this.type="OrthographicCamera",this.zoom=1,this.view=null,this.left=t,this.right=i,this.top=n,this.bottom=s,this.near=o,this.far=r,this.updateProjectionMatrix()}copy(t,i){return super.copy(t,i),this.left=t.left,this.right=t.right,this.top=t.top,this.bottom=t.bottom,this.near=t.near,this.far=t.far,this.zoom=t.zoom,this.view=t.view===null?null:Object.assign({},t.view),this}setViewOffset(t,i,n,s,o,r){this.view===null&&(this.view={enabled:!0,fullWidth:1,fullHeight:1,offsetX:0,offsetY:0,width:1,height:1}),this.view.enabled=!0,this.view.fullWidth=t,this.view.fullHeight=i,this.view.offsetX=n,this.view.offsetY=s,this.view.width=o,this.view.height=r,this.updateProjectionMatrix()}clearViewOffset(){this.view!==null&&(this.view.enabled=!1),this.updateProjectionMatrix()}updateProjectionMatrix(){let t=(this.right-this.left)/(2*this.zoom),i=(this.top-this.bottom)/(2*this.zoom),n=(this.right+this.left)/2,s=(this.top+this.bottom)/2,o=n-t,r=n+t,l=s+i,d=s-i;if(this.view!==null&&this.view.enabled){let h=(this.right-this.left)/this.view.fullWidth/this.zoom,p=(this.top-this.bottom)/this.view.fullHeight/this.zoom;o+=h*this.view.offsetX,r=o+h*this.view.width,l-=p*this.view.offsetY,d=l-p*this.view.height}this.projectionMatrix.makeOrthographic(o,r,l,d,this.near,this.far,this.coordinateSystem,this.reversedDepth),this.projectionMatrixInverse.copy(this.projectionMatrix).invert()}toJSON(t){let i=super.toJSON(t);return i.object.zoom=this.zoom,i.object.left=this.left,i.object.right=this.right,i.object.top=this.top,i.object.bottom=this.bottom,i.object.near=this.near,i.object.far=this.far,this.view!==null&&(i.object.view=Object.assign({},this.view)),i}},Ite=class extends YH{constructor(){super(new ba(-5,5,5,-5,.5,500)),this.isDirectionalLightShadow=!0}},sw=class extends OT{constructor(t,i){super(t,i),this.isDirectionalLight=!0,this.type="DirectionalLight",this.position.copy(ps.DEFAULT_UP),this.updateMatrix(),this.target=new ps,this.shadow=new Ite}dispose(){super.dispose(),this.shadow.dispose()}copy(t){return super.copy(t),this.target=t.target.clone(),this.shadow=t.shadow.clone(),this}toJSON(t){let i=super.toJSON(t);return i.object.shadow=this.shadow.toJSON(),i.object.target=this.target.uuid,i}},Jv=class extends OT{constructor(t,i){super(t,i),this.isAmbientLight=!0,this.type="AmbientLight"}},RC=class extends OT{constructor(t,i,n=10,s=10){super(t,i),this.isRectAreaLight=!0,this.type="RectAreaLight",this.width=n,this.height=s}get power(){return this.intensity*this.width*this.height*Math.PI}set power(t){this.intensity=t/(this.width*this.height*Math.PI)}copy(t){return super.copy(t),this.width=t.width,this.height=t.height,this}toJSON(t){let i=super.toJSON(t);return i.object.width=this.width,i.object.height=this.height,i}},RP=class{constructor(){this.isSphericalHarmonics3=!0,this.coefficients=[];for(let t=0;t<9;t++)this.coefficients.push(new ye)}set(t){for(let i=0;i<9;i++)this.coefficients[i].copy(t[i]);return this}zero(){for(let t=0;t<9;t++)this.coefficients[t].set(0,0,0);return this}getAt(t,i){let n=t.x,s=t.y,o=t.z,r=this.coefficients;return i.copy(r[0]).multiplyScalar(.282095),i.addScaledVector(r[1],.488603*s),i.addScaledVector(r[2],.488603*o),i.addScaledVector(r[3],.488603*n),i.addScaledVector(r[4],1.092548*(n*s)),i.addScaledVector(r[5],1.092548*(s*o)),i.addScaledVector(r[6],.315392*(3*o*o-1)),i.addScaledVector(r[7],1.092548*(n*o)),i.addScaledVector(r[8],.546274*(n*n-s*s)),i}getIrradianceAt(t,i){let n=t.x,s=t.y,o=t.z,r=this.coefficients;return i.copy(r[0]).multiplyScalar(.886227),i.addScaledVector(r[1],2*.511664*s),i.addScaledVector(r[2],2*.511664*o),i.addScaledVector(r[3],2*.511664*n),i.addScaledVector(r[4],2*.429043*n*s),i.addScaledVector(r[5],2*.429043*s*o),i.addScaledVector(r[6],.743125*o*o-.247708),i.addScaledVector(r[7],2*.429043*n*o),i.addScaledVector(r[8],.429043*(n*n-s*s)),i}add(t){for(let i=0;i<9;i++)this.coefficients[i].add(t.coefficients[i]);return this}addScaledSH(t,i){for(let n=0;n<9;n++)this.coefficients[n].addScaledVector(t.coefficients[n],i);return this}scale(t){for(let i=0;i<9;i++)this.coefficients[i].multiplyScalar(t);return this}lerp(t,i){for(let n=0;n<9;n++)this.coefficients[n].lerp(t.coefficients[n],i);return this}equals(t){for(let i=0;i<9;i++)if(!this.coefficients[i].equals(t.coefficients[i]))return!1;return!0}copy(t){return this.set(t.coefficients)}clone(){return new this.constructor().copy(this)}fromArray(t,i=0){let n=this.coefficients;for(let s=0;s<9;s++)n[s].fromArray(t,i+s*3);return this}toArray(t=[],i=0){let n=this.coefficients;for(let s=0;s<9;s++)n[s].toArray(t,i+s*3);return t}static getBasisAt(t,i){let n=t.x,s=t.y,o=t.z;i[0]=.282095,i[1]=.488603*s,i[2]=.488603*o,i[3]=.488603*n,i[4]=1.092548*n*s,i[5]=1.092548*s*o,i[6]=.315392*(3*o*o-1),i[7]=1.092548*n*o,i[8]=.546274*(n*n-s*s)}},SC=class extends OT{constructor(t=new RP,i=1){super(void 0,i),this.isLightProbe=!0,this.sh=t}copy(t){return super.copy(t),this.sh.copy(t.sh),this}toJSON(t){let i=super.toJSON(t);return i.object.sh=this.sh.toArray(),i}},SP=class e extends U0{constructor(t){super(t),this.textures={}}load(t,i,n,s){let o=this,r=new _m(o.manager);r.setPath(o.path),r.setRequestHeader(o.requestHeader),r.setWithCredentials(o.withCredentials),r.load(t,function(l){try{i(o.parse(JSON.parse(l)))}catch(d){s?s(d):yi(d),o.manager.itemError(t)}},n,s)}parse(t){let i=this.textures;function n(o){return i[o]===void 0&&ci("MaterialLoader: Undefined texture",o),i[o]}let s=this.createMaterialFromType(t.type);if(t.uuid!==void 0&&(s.uuid=t.uuid),t.name!==void 0&&(s.name=t.name),t.color!==void 0&&s.color!==void 0&&s.color.setHex(t.color),t.roughness!==void 0&&(s.roughness=t.roughness),t.metalness!==void 0&&(s.metalness=t.metalness),t.sheen!==void 0&&(s.sheen=t.sheen),t.sheenColor!==void 0&&(s.sheenColor=new Oi().setHex(t.sheenColor)),t.sheenRoughness!==void 0&&(s.sheenRoughness=t.sheenRoughness),t.emissive!==void 0&&s.emissive!==void 0&&s.emissive.setHex(t.emissive),t.specular!==void 0&&s.specular!==void 0&&s.specular.setHex(t.specular),t.specularIntensity!==void 0&&(s.specularIntensity=t.specularIntensity),t.specularColor!==void 0&&s.specularColor!==void 0&&s.specularColor.setHex(t.specularColor),t.shininess!==void 0&&(s.shininess=t.shininess),t.clearcoat!==void 0&&(s.clearcoat=t.clearcoat),t.clearcoatRoughness!==void 0&&(s.clearcoatRoughness=t.clearcoatRoughness),t.dispersion!==void 0&&(s.dispersion=t.dispersion),t.iridescence!==void 0&&(s.iridescence=t.iridescence),t.iridescenceIOR!==void 0&&(s.iridescenceIOR=t.iridescenceIOR),t.iridescenceThicknessRange!==void 0&&(s.iridescenceThicknessRange=t.iridescenceThicknessRange),t.transmission!==void 0&&(s.transmission=t.transmission),t.thickness!==void 0&&(s.thickness=t.thickness),t.attenuationDistance!==void 0&&(s.attenuationDistance=t.attenuationDistance),t.attenuationColor!==void 0&&s.attenuationColor!==void 0&&s.attenuationColor.setHex(t.attenuationColor),t.anisotropy!==void 0&&(s.anisotropy=t.anisotropy),t.anisotropyRotation!==void 0&&(s.anisotropyRotation=t.anisotropyRotation),t.fog!==void 0&&(s.fog=t.fog),t.flatShading!==void 0&&(s.flatShading=t.flatShading),t.blending!==void 0&&(s.blending=t.blending),t.combine!==void 0&&(s.combine=t.combine),t.side!==void 0&&(s.side=t.side),t.shadowSide!==void 0&&(s.shadowSide=t.shadowSide),t.opacity!==void 0&&(s.opacity=t.opacity),t.transparent!==void 0&&(s.transparent=t.transparent),t.alphaTest!==void 0&&(s.alphaTest=t.alphaTest),t.alphaHash!==void 0&&(s.alphaHash=t.alphaHash),t.depthFunc!==void 0&&(s.depthFunc=t.depthFunc),t.depthTest!==void 0&&(s.depthTest=t.depthTest),t.depthWrite!==void 0&&(s.depthWrite=t.depthWrite),t.colorWrite!==void 0&&(s.colorWrite=t.colorWrite),t.blendSrc!==void 0&&(s.blendSrc=t.blendSrc),t.blendDst!==void 0&&(s.blendDst=t.blendDst),t.blendEquation!==void 0&&(s.blendEquation=t.blendEquation),t.blendSrcAlpha!==void 0&&(s.blendSrcAlpha=t.blendSrcAlpha),t.blendDstAlpha!==void 0&&(s.blendDstAlpha=t.blendDstAlpha),t.blendEquationAlpha!==void 0&&(s.blendEquationAlpha=t.blendEquationAlpha),t.blendColor!==void 0&&s.blendColor!==void 0&&s.blendColor.setHex(t.blendColor),t.blendAlpha!==void 0&&(s.blendAlpha=t.blendAlpha),t.stencilWriteMask!==void 0&&(s.stencilWriteMask=t.stencilWriteMask),t.stencilFunc!==void 0&&(s.stencilFunc=t.stencilFunc),t.stencilRef!==void 0&&(s.stencilRef=t.stencilRef),t.stencilFuncMask!==void 0&&(s.stencilFuncMask=t.stencilFuncMask),t.stencilFail!==void 0&&(s.stencilFail=t.stencilFail),t.stencilZFail!==void 0&&(s.stencilZFail=t.stencilZFail),t.stencilZPass!==void 0&&(s.stencilZPass=t.stencilZPass),t.stencilWrite!==void 0&&(s.stencilWrite=t.stencilWrite),t.wireframe!==void 0&&(s.wireframe=t.wireframe),t.wireframeLinewidth!==void 0&&(s.wireframeLinewidth=t.wireframeLinewidth),t.wireframeLinecap!==void 0&&(s.wireframeLinecap=t.wireframeLinecap),t.wireframeLinejoin!==void 0&&(s.wireframeLinejoin=t.wireframeLinejoin),t.rotation!==void 0&&(s.rotation=t.rotation),t.linewidth!==void 0&&(s.linewidth=t.linewidth),t.dashSize!==void 0&&(s.dashSize=t.dashSize),t.gapSize!==void 0&&(s.gapSize=t.gapSize),t.scale!==void 0&&(s.scale=t.scale),t.polygonOffset!==void 0&&(s.polygonOffset=t.polygonOffset),t.polygonOffsetFactor!==void 0&&(s.polygonOffsetFactor=t.polygonOffsetFactor),t.polygonOffsetUnits!==void 0&&(s.polygonOffsetUnits=t.polygonOffsetUnits),t.dithering!==void 0&&(s.dithering=t.dithering),t.alphaToCoverage!==void 0&&(s.alphaToCoverage=t.alphaToCoverage),t.premultipliedAlpha!==void 0&&(s.premultipliedAlpha=t.premultipliedAlpha),t.forceSinglePass!==void 0&&(s.forceSinglePass=t.forceSinglePass),t.allowOverride!==void 0&&(s.allowOverride=t.allowOverride),t.visible!==void 0&&(s.visible=t.visible),t.toneMapped!==void 0&&(s.toneMapped=t.toneMapped),t.userData!==void 0&&(s.userData=t.userData),t.vertexColors!==void 0&&(typeof t.vertexColors=="number"?s.vertexColors=t.vertexColors>0:s.vertexColors=t.vertexColors),t.uniforms!==void 0)for(let o in t.uniforms){let r=t.uniforms[o];switch(s.uniforms[o]={},r.type){case"t":s.uniforms[o].value=n(r.value);break;case"c":s.uniforms[o].value=new Oi().setHex(r.value);break;case"v2":s.uniforms[o].value=new hi().fromArray(r.value);break;case"v3":s.uniforms[o].value=new ye().fromArray(r.value);break;case"v4":s.uniforms[o].value=new xn().fromArray(r.value);break;case"m3":s.uniforms[o].value=new Qn().fromArray(r.value);break;case"m4":s.uniforms[o].value=new Ai().fromArray(r.value);break;default:s.uniforms[o].value=r.value}}if(t.defines!==void 0&&(s.defines=t.defines),t.vertexShader!==void 0&&(s.vertexShader=t.vertexShader),t.fragmentShader!==void 0&&(s.fragmentShader=t.fragmentShader),t.glslVersion!==void 0&&(s.glslVersion=t.glslVersion),t.extensions!==void 0)for(let o in t.extensions)s.extensions[o]=t.extensions[o];if(t.lights!==void 0&&(s.lights=t.lights),t.clipping!==void 0&&(s.clipping=t.clipping),t.size!==void 0&&(s.size=t.size),t.sizeAttenuation!==void 0&&(s.sizeAttenuation=t.sizeAttenuation),t.map!==void 0&&(s.map=n(t.map)),t.matcap!==void 0&&(s.matcap=n(t.matcap)),t.alphaMap!==void 0&&(s.alphaMap=n(t.alphaMap)),t.bumpMap!==void 0&&(s.bumpMap=n(t.bumpMap)),t.bumpScale!==void 0&&(s.bumpScale=t.bumpScale),t.normalMap!==void 0&&(s.normalMap=n(t.normalMap)),t.normalMapType!==void 0&&(s.normalMapType=t.normalMapType),t.normalScale!==void 0){let o=t.normalScale;Array.isArray(o)===!1&&(o=[o,o]),s.normalScale=new hi().fromArray(o)}return t.displacementMap!==void 0&&(s.displacementMap=n(t.displacementMap)),t.displacementScale!==void 0&&(s.displacementScale=t.displacementScale),t.displacementBias!==void 0&&(s.displacementBias=t.displacementBias),t.roughnessMap!==void 0&&(s.roughnessMap=n(t.roughnessMap)),t.metalnessMap!==void 0&&(s.metalnessMap=n(t.metalnessMap)),t.emissiveMap!==void 0&&(s.emissiveMap=n(t.emissiveMap)),t.emissiveIntensity!==void 0&&(s.emissiveIntensity=t.emissiveIntensity),t.specularMap!==void 0&&(s.specularMap=n(t.specularMap)),t.specularIntensityMap!==void 0&&(s.specularIntensityMap=n(t.specularIntensityMap)),t.specularColorMap!==void 0&&(s.specularColorMap=n(t.specularColorMap)),t.envMap!==void 0&&(s.envMap=n(t.envMap)),t.envMapRotation!==void 0&&s.envMapRotation.fromArray(t.envMapRotation),t.envMapIntensity!==void 0&&(s.envMapIntensity=t.envMapIntensity),t.reflectivity!==void 0&&(s.reflectivity=t.reflectivity),t.refractionRatio!==void 0&&(s.refractionRatio=t.refractionRatio),t.lightMap!==void 0&&(s.lightMap=n(t.lightMap)),t.lightMapIntensity!==void 0&&(s.lightMapIntensity=t.lightMapIntensity),t.aoMap!==void 0&&(s.aoMap=n(t.aoMap)),t.aoMapIntensity!==void 0&&(s.aoMapIntensity=t.aoMapIntensity),t.gradientMap!==void 0&&(s.gradientMap=n(t.gradientMap)),t.clearcoatMap!==void 0&&(s.clearcoatMap=n(t.clearcoatMap)),t.clearcoatRoughnessMap!==void 0&&(s.clearcoatRoughnessMap=n(t.clearcoatRoughnessMap)),t.clearcoatNormalMap!==void 0&&(s.clearcoatNormalMap=n(t.clearcoatNormalMap)),t.clearcoatNormalScale!==void 0&&(s.clearcoatNormalScale=new hi().fromArray(t.clearcoatNormalScale)),t.iridescenceMap!==void 0&&(s.iridescenceMap=n(t.iridescenceMap)),t.iridescenceThicknessMap!==void 0&&(s.iridescenceThicknessMap=n(t.iridescenceThicknessMap)),t.transmissionMap!==void 0&&(s.transmissionMap=n(t.transmissionMap)),t.thicknessMap!==void 0&&(s.thicknessMap=n(t.thicknessMap)),t.anisotropyMap!==void 0&&(s.anisotropyMap=n(t.anisotropyMap)),t.sheenColorMap!==void 0&&(s.sheenColorMap=n(t.sheenColorMap)),t.sheenRoughnessMap!==void 0&&(s.sheenRoughnessMap=n(t.sheenRoughnessMap)),s}setTextures(t){return this.textures=t,this}createMaterialFromType(t){return e.createMaterialFromType(t)}static createMaterialFromType(t){let i={ShadowMaterial:pC,SpriteMaterial:Lb,RawShaderMaterial:yP,ShaderMaterial:Kl,PointsMaterial:_T,MeshPhysicalMaterial:IC,MeshStandardMaterial:Fb,MeshPhongMaterial:mC,MeshToonMaterial:yC,MeshNormalMaterial:EC,MeshLambertMaterial:tw,MeshDepthMaterial:EP,MeshDistanceMaterial:TP,MeshBasicMaterial:Ho,MeshMatcapMaterial:TC,LineDashedMaterial:xT,LineBasicMaterial:Qo,Material:za};return new i[t]}},AP=class{static extractUrlBase(t){let i=t.lastIndexOf("/");return i===-1?"./":t.slice(0,i+1)}static resolveURL(t,i){return typeof t!="string"||t===""?"":(/^https?:\/\//i.test(i)&&/^\//.test(t)&&(i=i.replace(/(^https?:\/\/[^\/]+).*/i,"$1")),/^(https?:)?\/\//i.test(t)||/^data:.*,.*$/i.test(t)||/^blob:.*$/i.test(t)?t:i+t)}},Xv=class extends nn{constructor(){super(),this.isInstancedBufferGeometry=!0,this.type="InstancedBufferGeometry",this.instanceCount=1/0}copy(t){return super.copy(t),this.instanceCount=t.instanceCount,this}toJSON(){let t=super.toJSON();return t.instanceCount=this.instanceCount,t.isInstancedBufferGeometry=!0,t}},jH=class extends U0{constructor(t){super(t)}load(t,i,n,s){let o=this,r=new _m(o.manager);r.setPath(o.path),r.setRequestHeader(o.requestHeader),r.setWithCredentials(o.withCredentials),r.load(t,function(l){try{i(o.parse(JSON.parse(l)))}catch(d){s?s(d):yi(d),o.manager.itemError(t)}},n,s)}parse(t){let i={},n={};function s(y,T){if(i[T]!==void 0)return i[T];let b=y.interleavedBuffers[T],A=o(y,b.buffer),O=iP(b.type,A),P=new qv(O,b.stride);return P.uuid=b.uuid,i[T]=P,P}function o(y,T){if(n[T]!==void 0)return n[T];let b=y.arrayBuffers[T],A=new Uint32Array(b).buffer;return n[T]=A,A}let r=t.isInstancedBufferGeometry?new Xv:new nn,l=t.data.index;if(l!==void 0){let y=iP(l.type,l.array);r.setIndex(new Tn(y,1))}let d=t.data.attributes;for(let y in d){let T=d[y],R;if(T.isInterleavedBufferAttribute){let b=s(t.data,T.data);R=new Du(b,T.itemSize,T.offset,T.normalized)}else{let b=iP(T.type,T.array),A=T.isInstancedBufferAttribute?B0:Tn;R=new A(b,T.itemSize,T.normalized)}T.name!==void 0&&(R.name=T.name),T.usage!==void 0&&R.setUsage(T.usage),r.setAttribute(y,R)}let h=t.data.morphAttributes;if(h)for(let y in h){let T=h[y],R=[];for(let b=0,A=T.length;b<A;b++){let O=T[b],P;if(O.isInterleavedBufferAttribute){let U=s(t.data,O.data);P=new Du(U,O.itemSize,O.offset,O.normalized)}else{let U=iP(O.type,O.array);P=new Tn(U,O.itemSize,O.normalized)}O.name!==void 0&&(P.name=O.name),R.push(P)}r.morphAttributes[y]=R}t.data.morphTargetsRelative&&(r.morphTargetsRelative=!0);let I=t.data.groups||t.data.drawcalls||t.data.offsets;if(I!==void 0)for(let y=0,T=I.length;y!==T;++y){let R=I[y];r.addGroup(R.start,R.count,R.materialIndex)}let m=t.data.boundingSphere;return m!==void 0&&(r.boundingSphere=new no().fromJSON(m)),t.name&&(r.name=t.name),t.userData&&(r.userData=t.userData),r}},ete={},qH=class extends U0{constructor(t){super(t)}load(t,i,n,s){let o=this,r=this.path===""?AP.extractUrlBase(t):this.path;this.resourcePath=this.resourcePath||r;let l=new _m(this.manager);l.setPath(this.path),l.setRequestHeader(this.requestHeader),l.setWithCredentials(this.withCredentials),l.load(t,function(d){let h=null;try{h=JSON.parse(d)}catch(I){s!==void 0&&s(I),yi("ObjectLoader: Can't parse "+t+".",I.message);return}let p=h.metadata;if(p===void 0||p.type===void 0||p.type.toLowerCase()==="geometry"){s!==void 0&&s(new Error("THREE.ObjectLoader: Can't load "+t)),yi("ObjectLoader: Can't load "+t);return}o.parse(h,i)},n,s)}async loadAsync(t,i){let n=this,s=this.path===""?AP.extractUrlBase(t):this.path;this.resourcePath=this.resourcePath||s;let o=new _m(this.manager);o.setPath(this.path),o.setRequestHeader(this.requestHeader),o.setWithCredentials(this.withCredentials);let r=await o.loadAsync(t,i),l;try{l=JSON.parse(r)}catch(h){throw new Error("ObjectLoader: Can't parse "+t+". "+h.message)}let d=l.metadata;if(d===void 0||d.type===void 0||d.type.toLowerCase()==="geometry")throw new Error("THREE.ObjectLoader: Can't load "+t);return await n.parseAsync(l)}parse(t,i){let n=this.parseAnimations(t.animations),s=this.parseShapes(t.shapes),o=this.parseGeometries(t.geometries,s),r=this.parseImages(t.images,function(){i!==void 0&&i(h)}),l=this.parseTextures(t.textures,r),d=this.parseMaterials(t.materials,l),h=this.parseObject(t.object,o,d,l,n),p=this.parseSkeletons(t.skeletons,h);if(this.bindSkeletons(h,p),this.bindLightTargets(h),i!==void 0){let I=!1;for(let m in r)if(r[m].data instanceof HTMLImageElement){I=!0;break}I===!1&&i(h)}return h}async parseAsync(t){let i=this.parseAnimations(t.animations),n=this.parseShapes(t.shapes),s=this.parseGeometries(t.geometries,n),o=await this.parseImagesAsync(t.images),r=this.parseTextures(t.textures,o),l=this.parseMaterials(t.materials,r),d=this.parseObject(t.object,s,l,r,i),h=this.parseSkeletons(t.skeletons,d);return this.bindSkeletons(d,h),this.bindLightTargets(d),d}static registerGeometry(t,i){ete[t]=i}parseShapes(t){let i={};if(t!==void 0)for(let n=0,s=t.length;n<s;n++){let o=new Jg().fromJSON(t[n]);i[o.uuid]=o}return i}parseSkeletons(t,i){let n={},s={};if(i.traverse(function(o){o.isBone&&(s[o.uuid]=o)}),t!==void 0)for(let o=0,r=t.length;o<r;o++){let l=new TH().fromJSON(t[o],s);n[l.uuid]=l}return n}parseGeometries(t,i){let n={};if(t!==void 0){let s=new jH;for(let o=0,r=t.length;o<r;o++){let l,d=t[o];switch(d.type){case"BufferGeometry":case"InstancedBufferGeometry":l=s.parse(d);break;default:d.type in xhe?l=xhe[d.type].fromJSON(d,i):d.type in ete?l=ete[d.type].fromJSON(d,i):ci(`ObjectLoader: Unknown geometry type "${d.type}". Use .registerGeometry() before starting the deserialization process.`)}l.uuid=d.uuid,d.name!==void 0&&(l.name=d.name),d.userData!==void 0&&(l.userData=d.userData),n[d.uuid]=l}}return n}parseMaterials(t,i){let n={},s={};if(t!==void 0){let o=new SP;o.setTextures(i);for(let r=0,l=t.length;r<l;r++){let d=t[r];n[d.uuid]===void 0&&(n[d.uuid]=o.parse(d)),s[d.uuid]=n[d.uuid]}}return s}parseAnimations(t){let i={};if(t!==void 0)for(let n=0;n<t.length;n++){let s=t[n],o=Vb.parse(s);i[o.uuid]=o}return i}parseImages(t,i){let n=this,s={},o;function r(d){return n.manager.itemStart(d),o.load(d,function(){n.manager.itemEnd(d)},void 0,function(){n.manager.itemError(d),n.manager.itemEnd(d)})}function l(d){if(typeof d=="string"){let h=d,p=/^(\/\/)|([a-z]+:(\/\/)?)/i.test(h)?h:n.resourcePath+h;return r(p)}else return d.data?{data:iP(d.type,d.data),width:d.width,height:d.height}:null}if(t!==void 0&&t.length>0){let d=new vP(i);o=new kb(d),o.setCrossOrigin(this.crossOrigin);for(let h=0,p=t.length;h<p;h++){let I=t[h],m=I.url;if(Array.isArray(m)){let y=[];for(let T=0,R=m.length;T<R;T++){let b=m[T],A=l(b);A!==null&&(A instanceof HTMLImageElement?y.push(A):y.push(new Ih(A.data,A.width,A.height)))}s[I.uuid]=new RT(y)}else{let y=l(I.url);s[I.uuid]=new RT(y)}}}return s}async parseImagesAsync(t){let i=this,n={},s;async function o(r){if(typeof r=="string"){let l=r,d=/^(\/\/)|([a-z]+:(\/\/)?)/i.test(l)?l:i.resourcePath+l;return await s.loadAsync(d)}else return r.data?{data:iP(r.type,r.data),width:r.width,height:r.height}:null}if(t!==void 0&&t.length>0){s=new kb(this.manager),s.setCrossOrigin(this.crossOrigin);for(let r=0,l=t.length;r<l;r++){let d=t[r],h=d.url;if(Array.isArray(h)){let p=[];for(let I=0,m=h.length;I<m;I++){let y=h[I],T=await o(y);T!==null&&(T instanceof HTMLImageElement?p.push(T):p.push(new Ih(T.data,T.width,T.height)))}n[d.uuid]=new RT(p)}else{let p=await o(d.url);n[d.uuid]=new RT(p)}}}return n}parseTextures(t,i){function n(o,r){return typeof o=="number"?o:(ci("ObjectLoader.parseTexture: Constant should be in numeric form.",o),r[o])}let s={};if(t!==void 0)for(let o=0,r=t.length;o<r;o++){let l=t[o];l.image===void 0&&ci('ObjectLoader: No "image" specified for',l.uuid),i[l.image]===void 0&&ci("ObjectLoader: Undefined image",l.image);let d=i[l.image],h=d.data,p;Array.isArray(h)?(p=new Nm,h.length===6&&(p.needsUpdate=!0)):(h&&h.data?p=new Ih:p=new wr,h&&(p.needsUpdate=!0)),p.source=d,p.uuid=l.uuid,l.name!==void 0&&(p.name=l.name),l.mapping!==void 0&&(p.mapping=n(l.mapping,iSe)),l.channel!==void 0&&(p.channel=l.channel),l.offset!==void 0&&p.offset.fromArray(l.offset),l.repeat!==void 0&&p.repeat.fromArray(l.repeat),l.center!==void 0&&p.center.fromArray(l.center),l.rotation!==void 0&&(p.rotation=l.rotation),l.wrap!==void 0&&(p.wrapS=n(l.wrap[0],Uhe),p.wrapT=n(l.wrap[1],Uhe)),l.format!==void 0&&(p.format=l.format),l.internalFormat!==void 0&&(p.internalFormat=l.internalFormat),l.type!==void 0&&(p.type=l.type),l.colorSpace!==void 0&&(p.colorSpace=l.colorSpace),l.minFilter!==void 0&&(p.minFilter=n(l.minFilter,Hhe)),l.magFilter!==void 0&&(p.magFilter=n(l.magFilter,Hhe)),l.anisotropy!==void 0&&(p.anisotropy=l.anisotropy),l.flipY!==void 0&&(p.flipY=l.flipY),l.generateMipmaps!==void 0&&(p.generateMipmaps=l.generateMipmaps),l.premultiplyAlpha!==void 0&&(p.premultiplyAlpha=l.premultiplyAlpha),l.unpackAlignment!==void 0&&(p.unpackAlignment=l.unpackAlignment),l.compareFunction!==void 0&&(p.compareFunction=l.compareFunction),l.normalized!==void 0&&(p.normalized=l.normalized),l.userData!==void 0&&(p.userData=l.userData),s[l.uuid]=p}return s}parseObject(t,i,n,s,o){let r;function l(m){return i[m]===void 0&&ci("ObjectLoader: Undefined geometry",m),i[m]}function d(m){if(m!==void 0){if(Array.isArray(m)){let y=[];for(let T=0,R=m.length;T<R;T++){let b=m[T];n[b]===void 0&&ci("ObjectLoader: Undefined material",b),y.push(n[b])}return y}return n[m]===void 0&&ci("ObjectLoader: Undefined material",m),n[m]}}function h(m){return s[m]===void 0&&ci("ObjectLoader: Undefined texture",m),s[m]}let p,I;switch(t.type){case"Scene":r=new HI,t.background!==void 0&&(Number.isInteger(t.background)?r.background=new Oi(t.background):r.background=h(t.background)),t.environment!==void 0&&(r.environment=h(t.environment)),t.fog!==void 0&&(t.fog.type==="Fog"?r.fog=new IH(t.fog.color,t.fog.near,t.fog.far):t.fog.type==="FogExp2"&&(r.fog=new pH(t.fog.color,t.fog.density)),t.fog.name!==""&&(r.fog.name=t.fog.name)),t.backgroundBlurriness!==void 0&&(r.backgroundBlurriness=t.backgroundBlurriness),t.backgroundIntensity!==void 0&&(r.backgroundIntensity=t.backgroundIntensity),t.backgroundRotation!==void 0&&r.backgroundRotation.fromArray(t.backgroundRotation),t.environmentIntensity!==void 0&&(r.environmentIntensity=t.environmentIntensity),t.environmentRotation!==void 0&&r.environmentRotation.fromArray(t.environmentRotation);break;case"PerspectiveCamera":r=new xo(t.fov,t.aspect,t.near,t.far),t.focus!==void 0&&(r.focus=t.focus),t.zoom!==void 0&&(r.zoom=t.zoom),t.filmGauge!==void 0&&(r.filmGauge=t.filmGauge),t.filmOffset!==void 0&&(r.filmOffset=t.filmOffset),t.view!==void 0&&(r.view=Object.assign({},t.view));break;case"OrthographicCamera":r=new ba(t.left,t.right,t.top,t.bottom,t.near,t.far),t.zoom!==void 0&&(r.zoom=t.zoom),t.view!==void 0&&(r.view=Object.assign({},t.view));break;case"AmbientLight":r=new Jv(t.color,t.intensity);break;case"DirectionalLight":r=new sw(t.color,t.intensity),r.target=t.target||"";break;case"PointLight":r=new vC(t.color,t.intensity,t.distance,t.decay);break;case"RectAreaLight":r=new RC(t.color,t.intensity,t.width,t.height);break;case"SpotLight":r=new Qv(t.color,t.intensity,t.distance,t.angle,t.penumbra,t.decay),r.target=t.target||"";break;case"HemisphereLight":r=new gC(t.color,t.groundColor,t.intensity);break;case"LightProbe":let m=new RP().fromArray(t.sh);r=new SC(m,t.intensity);break;case"SkinnedMesh":p=l(t.geometry),I=d(t.material),r=new EH(p,I),t.bindMode!==void 0&&(r.bindMode=t.bindMode),t.bindMatrix!==void 0&&r.bindMatrix.fromArray(t.bindMatrix),t.skeleton!==void 0&&(r.skeleton=t.skeleton);break;case"Mesh":p=l(t.geometry),I=d(t.material),r=new _i(p,I);break;case"InstancedMesh":p=l(t.geometry),I=d(t.material);let y=t.count,T=t.instanceMatrix,R=t.instanceColor;r=new Pb(p,I,y),r.instanceMatrix=new B0(new Float32Array(T.array),16),R!==void 0&&(r.instanceColor=new B0(new Float32Array(R.array),R.itemSize));break;case"BatchedMesh":p=l(t.geometry),I=d(t.material),r=new $v(t.maxInstanceCount,t.maxVertexCount,t.maxIndexCount,I),r.geometry=p,r.perObjectFrustumCulled=t.perObjectFrustumCulled,r.sortObjects=t.sortObjects,r._drawRanges=t.drawRanges,r._reservedRanges=t.reservedRanges,r._geometryInfo=t.geometryInfo.map(b=>{let A=null,O=null;return b.boundingBox!==void 0&&(A=new kn().fromJSON(b.boundingBox)),b.boundingSphere!==void 0&&(O=new no().fromJSON(b.boundingSphere)),{...b,boundingBox:A,boundingSphere:O}}),r._instanceInfo=t.instanceInfo,r._availableInstanceIds=t._availableInstanceIds,r._availableGeometryIds=t._availableGeometryIds,r._nextIndexStart=t.nextIndexStart,r._nextVertexStart=t.nextVertexStart,r._geometryCount=t.geometryCount,r._maxInstanceCount=t.maxInstanceCount,r._maxVertexCount=t.maxVertexCount,r._maxIndexCount=t.maxIndexCount,r._geometryInitialized=t.geometryInitialized,r._matricesTexture=h(t.matricesTexture.uuid),r._indirectTexture=h(t.indirectTexture.uuid),t.colorsTexture!==void 0&&(r._colorsTexture=h(t.colorsTexture.uuid)),t.boundingSphere!==void 0&&(r.boundingSphere=new no().fromJSON(t.boundingSphere)),t.boundingBox!==void 0&&(r.boundingBox=new kn().fromJSON(t.boundingBox));break;case"LOD":r=new yH;break;case"Line":r=new nr(l(t.geometry),d(t.material));break;case"LineLoop":r=new ew(l(t.geometry),d(t.material));break;case"LineSegments":r=new xs(l(t.geometry),d(t.material));break;case"PointCloud":case"Points":r=new my(l(t.geometry),d(t.material));break;case"Sprite":r=new mH(d(t.material));break;case"Group":r=new Zo;break;case"Bone":r=new uP;break;default:r=new ps}if(r.uuid=t.uuid,t.name!==void 0&&(r.name=t.name),t.matrix!==void 0?(r.matrix.fromArray(t.matrix),t.matrixAutoUpdate!==void 0&&(r.matrixAutoUpdate=t.matrixAutoUpdate),r.matrixAutoUpdate&&r.matrix.decompose(r.position,r.quaternion,r.scale)):(t.position!==void 0&&r.position.fromArray(t.position),t.rotation!==void 0&&r.rotation.fromArray(t.rotation),t.quaternion!==void 0&&r.quaternion.fromArray(t.quaternion),t.scale!==void 0&&r.scale.fromArray(t.scale)),t.up!==void 0&&r.up.fromArray(t.up),t.pivot!==void 0&&(r.pivot=new ye().fromArray(t.pivot)),t.morphTargetDictionary!==void 0&&(r.morphTargetDictionary=Object.assign({},t.morphTargetDictionary)),t.morphTargetInfluences!==void 0&&(r.morphTargetInfluences=t.morphTargetInfluences.slice()),t.castShadow!==void 0&&(r.castShadow=t.castShadow),t.receiveShadow!==void 0&&(r.receiveShadow=t.receiveShadow),t.shadow&&(t.shadow.intensity!==void 0&&(r.shadow.intensity=t.shadow.intensity),t.shadow.bias!==void 0&&(r.shadow.bias=t.shadow.bias),t.shadow.normalBias!==void 0&&(r.shadow.normalBias=t.shadow.normalBias),t.shadow.radius!==void 0&&(r.shadow.radius=t.shadow.radius),t.shadow.mapSize!==void 0&&r.shadow.mapSize.fromArray(t.shadow.mapSize),t.shadow.camera!==void 0&&(r.shadow.camera=this.parseObject(t.shadow.camera))),t.visible!==void 0&&(r.visible=t.visible),t.frustumCulled!==void 0&&(r.frustumCulled=t.frustumCulled),t.renderOrder!==void 0&&(r.renderOrder=t.renderOrder),t.static!==void 0&&(r.static=t.static),t.userData!==void 0&&(r.userData=t.userData),t.layers!==void 0&&(r.layers.mask=t.layers),t.children!==void 0){let m=t.children;for(let y=0;y<m.length;y++)r.add(this.parseObject(m[y],i,n,s,o))}if(t.animations!==void 0){let m=t.animations;for(let y=0;y<m.length;y++){let T=m[y];r.animations.push(o[T])}}if(t.type==="LOD"){t.autoUpdate!==void 0&&(r.autoUpdate=t.autoUpdate);let m=t.levels;for(let y=0;y<m.length;y++){let T=m[y],R=r.getObjectByProperty("uuid",T.object);R!==void 0&&r.addLevel(R,T.distance,T.hysteresis)}}return r}bindSkeletons(t,i){Object.keys(i).length!==0&&t.traverse(function(n){if(n.isSkinnedMesh===!0&&n.skeleton!==void 0){let s=i[n.skeleton];s===void 0?ci("ObjectLoader: No skeleton found with UUID:",n.skeleton):n.bind(s,n.bindMatrix)}})}bindLightTargets(t){t.traverse(function(i){if(i.isDirectionalLight||i.isSpotLight){let n=i.target,s=t.getObjectByProperty("uuid",n);s!==void 0?i.target=s:i.target=new ps}})}},iSe={UVMapping:DC,CubeReflectionMapping:Ef,CubeRefractionMapping:VI,EquirectangularReflectionMapping:rw,EquirectangularRefractionMapping:lw,CubeUVReflectionMapping:BT},Uhe={RepeatWrapping:bT,ClampToEdgeWrapping:_u,MirroredRepeatWrapping:NT},Hhe={NearestFilter:Vs,NearestMipmapNearestFilter:CC,NearestMipmapLinearFilter:Om,LinearFilter:Us,LinearMipmapNearestFilter:aw,LinearMipmapLinearFilter:qc},tte=new WeakMap,mY=class extends U0{constructor(t){super(t),this.isImageBitmapLoader=!0,typeof createImageBitmap>"u"&&ci("ImageBitmapLoader: createImageBitmap() not supported."),typeof fetch>"u"&&ci("ImageBitmapLoader: fetch() not supported."),this.options={premultiplyAlpha:"none"},this._abortController=new AbortController}setOptions(t){return this.options=t,this}load(t,i,n,s){t===void 0&&(t=""),this.path!==void 0&&(t=this.path+t),t=this.manager.resolveURL(t);let o=this,r=ST.get(`image-bitmap:${t}`);if(r!==void 0){if(o.manager.itemStart(t),r.then){r.then(h=>{tte.has(r)===!0?(s&&s(tte.get(r)),o.manager.itemError(t),o.manager.itemEnd(t)):(i&&i(h),o.manager.itemEnd(t))});return}setTimeout(function(){i&&i(r),o.manager.itemEnd(t)},0);return}let l={};l.credentials=this.crossOrigin==="anonymous"?"same-origin":"include",l.headers=this.requestHeader,l.signal=typeof AbortSignal.any=="function"?AbortSignal.any([this._abortController.signal,this.manager.abortController.signal]):this._abortController.signal;let d=fetch(t,l).then(function(h){return h.blob()}).then(function(h){return createImageBitmap(h,Object.assign(o.options,{colorSpaceConversion:"none"}))}).then(function(h){ST.add(`image-bitmap:${t}`,h),i&&i(h),o.manager.itemEnd(t)}).catch(function(h){s&&s(h),tte.set(d,h),ST.remove(`image-bitmap:${t}`),o.manager.itemError(t),o.manager.itemEnd(t)});ST.add(`image-bitmap:${t}`,d),o.manager.itemStart(t)}abort(){return this._abortController.abort(),this._abortController=new AbortController,this}},GW,bP=class{static getContext(){return GW===void 0&&(GW=new(window.AudioContext||window.webkitAudioContext)),GW}static setContext(t){GW=t}},yY=class extends U0{constructor(t){super(t)}load(t,i,n,s){let o=this,r=new _m(this.manager);r.setResponseType("arraybuffer"),r.setPath(this.path),r.setRequestHeader(this.requestHeader),r.setWithCredentials(this.withCredentials),r.load(t,function(d){try{let h=d.slice(0),p=bP.getContext(),I=t+"#decode";o.manager.itemStart(I),p.decodeAudioData(h,function(m){i(m),o.manager.itemEnd(I)}).catch(function(m){l(m),o.manager.itemEnd(I)})}catch(h){l(h)}},n,s);function l(d){s?s(d):yi(d),o.manager.itemError(t)}}},Ghe=new Ai,Vhe=new Ai,KD=new Ai,EY=class{constructor(){this.type="StereoCamera",this.aspect=1,this.eyeSep=.064,this.cameraL=new xo,this.cameraL.layers.enable(1),this.cameraL.matrixAutoUpdate=!1,this.cameraR=new xo,this.cameraR.layers.enable(2),this.cameraR.matrixAutoUpdate=!1,this._cache={focus:null,fov:null,aspect:null,near:null,far:null,zoom:null,eyeSep:null}}update(t){let i=this._cache;if(i.focus!==t.focus||i.fov!==t.fov||i.aspect!==t.aspect*this.aspect||i.near!==t.near||i.far!==t.far||i.zoom!==t.zoom||i.eyeSep!==this.eyeSep){i.focus=t.focus,i.fov=t.fov,i.aspect=t.aspect*this.aspect,i.near=t.near,i.far=t.far,i.zoom=t.zoom,i.eyeSep=this.eyeSep,KD.copy(t.projectionMatrix);let s=i.eyeSep/2,o=s*i.near/i.focus,r=i.near*Math.tan(nC*i.fov*.5)/i.zoom,l,d;Vhe.elements[12]=-s,Ghe.elements[12]=s,l=-r*i.aspect+o,d=r*i.aspect+o,KD.elements[0]=2*i.near/(d-l),KD.elements[8]=(d+l)/(d-l),this.cameraL.projectionMatrix.copy(KD),l=-r*i.aspect-o,d=r*i.aspect-o,KD.elements[0]=2*i.near/(d-l),KD.elements[8]=(d+l)/(d-l),this.cameraR.projectionMatrix.copy(KD)}this.cameraL.matrixWorld.copy(t.matrixWorld).multiply(Vhe),this.cameraR.matrixWorld.copy(t.matrixWorld).multiply(Ghe)}},JL=-90,XL=1,AC=class extends ps{constructor(t,i,n){super(),this.type="CubeCamera",this.renderTarget=n,this.coordinateSystem=null,this.activeMipmapLevel=0;let s=new xo(JL,XL,t,i);s.layers=this.layers,this.add(s);let o=new xo(JL,XL,t,i);o.layers=this.layers,this.add(o);let r=new xo(JL,XL,t,i);r.layers=this.layers,this.add(r);let l=new xo(JL,XL,t,i);l.layers=this.layers,this.add(l);let d=new xo(JL,XL,t,i);d.layers=this.layers,this.add(d);let h=new xo(JL,XL,t,i);h.layers=this.layers,this.add(h)}updateCoordinateSystem(){let t=this.coordinateSystem,i=this.children.concat(),[n,s,o,r,l,d]=i;for(let h of i)this.remove(h);if(t===Wc)n.up.set(0,1,0),n.lookAt(1,0,0),s.up.set(0,1,0),s.lookAt(-1,0,0),o.up.set(0,0,-1),o.lookAt(0,1,0),r.up.set(0,0,1),r.lookAt(0,-1,0),l.up.set(0,1,0),l.lookAt(0,0,1),d.up.set(0,1,0),d.lookAt(0,0,-1);else if(t===mf)n.up.set(0,-1,0),n.lookAt(-1,0,0),s.up.set(0,-1,0),s.lookAt(1,0,0),o.up.set(0,0,1),o.lookAt(0,1,0),r.up.set(0,0,-1),r.lookAt(0,-1,0),l.up.set(0,-1,0),l.lookAt(0,0,1),d.up.set(0,-1,0),d.lookAt(0,0,-1);else throw new Error("THREE.CubeCamera.updateCoordinateSystem(): Invalid coordinate system: "+t);for(let h of i)this.add(h),h.updateMatrixWorld()}update(t,i){this.parent===null&&this.updateMatrixWorld();let{renderTarget:n,activeMipmapLevel:s}=this;this.coordinateSystem!==t.coordinateSystem&&(this.coordinateSystem=t.coordinateSystem,this.updateCoordinateSystem());let[o,r,l,d,h,p]=this.children,I=t.getRenderTarget(),m=t.getActiveCubeFace(),y=t.getActiveMipmapLevel(),T=t.xr.enabled;t.xr.enabled=!1;let R=n.texture.generateMipmaps;n.texture.generateMipmaps=!1;let b=!1;t.isWebGLRenderer===!0?b=t.state.buffers.depth.getReversed():b=t.reversedDepthBuffer,t.setRenderTarget(n,0,s),b&&t.autoClear===!1&&t.clearDepth(),t.render(i,o),t.setRenderTarget(n,1,s),b&&t.autoClear===!1&&t.clearDepth(),t.render(i,r),t.setRenderTarget(n,2,s),b&&t.autoClear===!1&&t.clearDepth(),t.render(i,l),t.setRenderTarget(n,3,s),b&&t.autoClear===!1&&t.clearDepth(),t.render(i,d),t.setRenderTarget(n,4,s),b&&t.autoClear===!1&&t.clearDepth(),t.render(i,h),n.texture.generateMipmaps=R,t.setRenderTarget(n,5,s),b&&t.autoClear===!1&&t.clearDepth(),t.render(i,p),t.setRenderTarget(I,m,y),t.xr.enabled=T,n.texture.needsPMREMUpdate=!0}},bC=class extends xo{constructor(t=[]){super(),this.isArrayCamera=!0,this.isMultiViewCamera=!1,this.cameras=t}},$H=class{constructor(){this._previousTime=0,this._currentTime=0,this._startTime=performance.now(),this._delta=0,this._elapsed=0,this._timescale=1,this._document=null,this._pageVisibilityHandler=null}connect(t){this._document=t,t.hidden!==void 0&&(this._pageVisibilityHandler=nSe.bind(this),t.addEventListener("visibilitychange",this._pageVisibilityHandler,!1))}disconnect(){this._pageVisibilityHandler!==null&&(this._document.removeEventListener("visibilitychange",this._pageVisibilityHandler),this._pageVisibilityHandler=null),this._document=null}getDelta(){return this._delta/1e3}getElapsed(){return this._elapsed/1e3}getTimescale(){return this._timescale}setTimescale(t){return this._timescale=t,this}reset(){return this._currentTime=performance.now()-this._startTime,this}dispose(){this.disconnect()}update(t){return this._pageVisibilityHandler!==null&&this._document.hidden===!0?this._delta=0:(this._previousTime=this._currentTime,this._currentTime=(t!==void 0?t:performance.now())-this._startTime,this._delta=(this._currentTime-this._previousTime)*this._timescale,this._elapsed+=this._delta),this}};function nSe(){this._document.hidden===!1&&this.reset()}var QD=new ye,ite=new Gs,sSe=new ye,JD=new ye,XD=new ye,TY=class extends ps{constructor(){super(),this.type="AudioListener",this.context=bP.getContext(),this.gain=this.context.createGain(),this.gain.connect(this.context.destination),this.filter=null,this.timeDelta=0,this._timer=new $H}getInput(){return this.gain}removeFilter(){return this.filter!==null&&(this.gain.disconnect(this.filter),this.filter.disconnect(this.context.destination),this.gain.connect(this.context.destination),this.filter=null),this}getFilter(){return this.filter}setFilter(t){return this.filter!==null?(this.gain.disconnect(this.filter),this.filter.disconnect(this.context.destination)):this.gain.disconnect(this.context.destination),this.filter=t,this.gain.connect(this.filter),this.filter.connect(this.context.destination),this}getMasterVolume(){return this.gain.gain.value}setMasterVolume(t){return this.gain.gain.setTargetAtTime(t,this.context.currentTime,.01),this}updateMatrixWorld(t){super.updateMatrixWorld(t),this._timer.update();let i=this.context.listener;if(this.timeDelta=this._timer.getDelta(),this.matrixWorld.decompose(QD,ite,sSe),JD.set(0,0,-1).applyQuaternion(ite),XD.set(0,1,0).applyQuaternion(ite),i.positionX){let n=this.context.currentTime+this.timeDelta;i.positionX.linearRampToValueAtTime(QD.x,n),i.positionY.linearRampToValueAtTime(QD.y,n),i.positionZ.linearRampToValueAtTime(QD.z,n),i.forwardX.linearRampToValueAtTime(JD.x,n),i.forwardY.linearRampToValueAtTime(JD.y,n),i.forwardZ.linearRampToValueAtTime(JD.z,n),i.upX.linearRampToValueAtTime(XD.x,n),i.upY.linearRampToValueAtTime(XD.y,n),i.upZ.linearRampToValueAtTime(XD.z,n)}else i.setPosition(QD.x,QD.y,QD.z),i.setOrientation(JD.x,JD.y,JD.z,XD.x,XD.y,XD.z)}},ZH=class extends ps{constructor(t){super(),this.type="Audio",this.listener=t,this.context=t.context,this.gain=this.context.createGain(),this.gain.connect(t.getInput()),this.autoplay=!1,this.buffer=null,this.detune=0,this.loop=!1,this.loopStart=0,this.loopEnd=0,this.offset=0,this.duration=void 0,this.playbackRate=1,this.isPlaying=!1,this.hasPlaybackControl=!0,this.source=null,this.sourceType="empty",this._startedAt=0,this._progress=0,this._connected=!1,this.filters=[]}getOutput(){return this.gain}setNodeSource(t){return this.hasPlaybackControl=!1,this.sourceType="audioNode",this.source=t,this.connect(),this}setMediaElementSource(t){return this.hasPlaybackControl=!1,this.sourceType="mediaNode",this.source=this.context.createMediaElementSource(t),this.connect(),this}setMediaStreamSource(t){return this.hasPlaybackControl=!1,this.sourceType="mediaStreamNode",this.source=this.context.createMediaStreamSource(t),this.connect(),this}setBuffer(t){return this.buffer=t,this.sourceType="buffer",this.autoplay&&this.play(),this}play(t=0){if(this.isPlaying===!0){ci("Audio: Audio is already playing.");return}if(this.hasPlaybackControl===!1){ci("Audio: this Audio has no playback control.");return}this._startedAt=this.context.currentTime+t;let i=this.context.createBufferSource();return i.buffer=this.buffer,i.loop=this.loop,i.loopStart=this.loopStart,i.loopEnd=this.loopEnd,i.onended=this.onEnded.bind(this),i.start(this._startedAt,this._progress+this.offset,this.duration),this.isPlaying=!0,this.source=i,this.setDetune(this.detune),this.setPlaybackRate(this.playbackRate),this.connect()}pause(){if(this.hasPlaybackControl===!1){ci("Audio: this Audio has no playback control.");return}return this.isPlaying===!0&&(this._progress+=Math.max(this.context.currentTime-this._startedAt,0)*this.playbackRate,this.loop===!0&&(this._progress=this._progress%(this.duration||this.buffer.duration)),this.source.stop(),this.source.onended=null,this.isPlaying=!1),this}stop(t=0){if(this.hasPlaybackControl===!1){ci("Audio: this Audio has no playback control.");return}return this._progress=0,this.source!==null&&(this.source.stop(this.context.currentTime+t),this.source.onended=null),this.isPlaying=!1,this}connect(){if(this.filters.length>0){this.source.connect(this.filters[0]);for(let t=1,i=this.filters.length;t<i;t++)this.filters[t-1].connect(this.filters[t]);this.filters[this.filters.length-1].connect(this.getOutput())}else this.source.connect(this.getOutput());return this._connected=!0,this}disconnect(){if(this._connected!==!1){if(this.filters.length>0){this.source.disconnect(this.filters[0]);for(let t=1,i=this.filters.length;t<i;t++)this.filters[t-1].disconnect(this.filters[t]);this.filters[this.filters.length-1].disconnect(this.getOutput())}else this.source.disconnect(this.getOutput());return this._connected=!1,this}}getFilters(){return this.filters}setFilters(t){return t||(t=[]),this._connected===!0?(this.disconnect(),this.filters=t.slice(),this.connect()):this.filters=t.slice(),this}setDetune(t){return this.detune=t,this.isPlaying===!0&&this.source.detune!==void 0&&this.source.detune.setTargetAtTime(this.detune,this.context.currentTime,.01),this}getDetune(){return this.detune}getFilter(){return this.getFilters()[0]}setFilter(t){return this.setFilters(t?[t]:[])}setPlaybackRate(t){if(this.hasPlaybackControl===!1){ci("Audio: this Audio has no playback control.");return}return this.playbackRate=t,this.isPlaying===!0&&this.source.playbackRate.setTargetAtTime(this.playbackRate,this.context.currentTime,.01),this}getPlaybackRate(){return this.playbackRate}onEnded(){this.isPlaying=!1,this._progress=0}getLoop(){return this.hasPlaybackControl===!1?(ci("Audio: this Audio has no playback control."),!1):this.loop}setLoop(t){if(this.hasPlaybackControl===!1){ci("Audio: this Audio has no playback control.");return}return this.loop=t,this.isPlaying===!0&&(this.source.loop=this.loop),this}setLoopStart(t){return this.loopStart=t,this}setLoopEnd(t){return this.loopEnd=t,this}getVolume(){return this.gain.gain.value}setVolume(t){return this.gain.gain.setTargetAtTime(t,this.context.currentTime,.01),this}copy(t,i){return super.copy(t,i),t.sourceType!=="buffer"?(ci("Audio: Audio source type cannot be copied."),this):(this.autoplay=t.autoplay,this.buffer=t.buffer,this.detune=t.detune,this.loop=t.loop,this.loopStart=t.loopStart,this.loopEnd=t.loopEnd,this.offset=t.offset,this.duration=t.duration,this.playbackRate=t.playbackRate,this.hasPlaybackControl=t.hasPlaybackControl,this.sourceType=t.sourceType,this.filters=t.filters.slice(),this)}clone(t){return new this.constructor(this.listener).copy(this,t)}},eC=new ye,khe=new Gs,oSe=new ye,tC=new ye,gY=class extends ZH{constructor(t){super(t),this.panner=this.context.createPanner(),this.panner.panningModel="HRTF",this.panner.connect(this.gain)}connect(){return super.connect(),this.panner.connect(this.gain),this}disconnect(){return super.disconnect(),this.panner.disconnect(this.gain),this}getOutput(){return this.panner}getRefDistance(){return this.panner.refDistance}setRefDistance(t){return this.panner.refDistance=t,this}getRolloffFactor(){return this.panner.rolloffFactor}setRolloffFactor(t){return this.panner.rolloffFactor=t,this}getDistanceModel(){return this.panner.distanceModel}setDistanceModel(t){return this.panner.distanceModel=t,this}getMaxDistance(){return this.panner.maxDistance}setMaxDistance(t){return this.panner.maxDistance=t,this}setDirectionalCone(t,i,n){return this.panner.coneInnerAngle=t,this.panner.coneOuterAngle=i,this.panner.coneOuterGain=n,this}updateMatrixWorld(t){if(super.updateMatrixWorld(t),this.hasPlaybackControl===!0&&this.isPlaying===!1)return;this.matrixWorld.decompose(eC,khe,oSe),tC.set(0,0,1).applyQuaternion(khe);let i=this.panner;if(i.positionX){let n=this.context.currentTime+this.listener.timeDelta;i.positionX.linearRampToValueAtTime(eC.x,n),i.positionY.linearRampToValueAtTime(eC.y,n),i.positionZ.linearRampToValueAtTime(eC.z,n),i.orientationX.linearRampToValueAtTime(tC.x,n),i.orientationY.linearRampToValueAtTime(tC.y,n),i.orientationZ.linearRampToValueAtTime(tC.z,n)}else i.setPosition(eC.x,eC.y,eC.z),i.setOrientation(tC.x,tC.y,tC.z)}},wY=class{constructor(t,i=2048){this.analyser=t.context.createAnalyser(),this.analyser.fftSize=i,this.data=new Uint8Array(this.analyser.frequencyBinCount),t.getOutput().connect(this.analyser)}getFrequencyData(){return this.analyser.getByteFrequencyData(this.data),this.data}getAverageFrequency(){let t=0,i=this.getFrequencyData();for(let n=0;n<i.length;n++)t+=i[n];return t/i.length}},KH=class{constructor(t,i,n){this.binding=t,this.valueSize=n;let s,o,r;switch(i){case"quaternion":s=this._slerp,o=this._slerpAdditive,r=this._setAdditiveIdentityQuaternion,this.buffer=new Float64Array(n*6),this._workIndex=5;break;case"string":case"bool":s=this._select,o=this._select,r=this._setAdditiveIdentityOther,this.buffer=new Array(n*5);break;default:s=this._lerp,o=this._lerpAdditive,r=this._setAdditiveIdentityNumeric,this.buffer=new Float64Array(n*5)}this._mixBufferRegion=s,this._mixBufferRegionAdditive=o,this._setIdentity=r,this._origIndex=3,this._addIndex=4,this.cumulativeWeight=0,this.cumulativeWeightAdditive=0,this.useCount=0,this.referenceCount=0}accumulate(t,i){let n=this.buffer,s=this.valueSize,o=t*s+s,r=this.cumulativeWeight;if(r===0){for(let l=0;l!==s;++l)n[o+l]=n[l];r=i}else{r+=i;let l=i/r;this._mixBufferRegion(n,o,0,l,s)}this.cumulativeWeight=r}accumulateAdditive(t){let i=this.buffer,n=this.valueSize,s=n*this._addIndex;this.cumulativeWeightAdditive===0&&this._setIdentity(),this._mixBufferRegionAdditive(i,s,0,t,n),this.cumulativeWeightAdditive+=t}apply(t){let i=this.valueSize,n=this.buffer,s=t*i+i,o=this.cumulativeWeight,r=this.cumulativeWeightAdditive,l=this.binding;if(this.cumulativeWeight=0,this.cumulativeWeightAdditive=0,o<1){let d=i*this._origIndex;this._mixBufferRegion(n,s,d,1-o,i)}r>0&&this._mixBufferRegionAdditive(n,s,this._addIndex*i,1,i);for(let d=i,h=i+i;d!==h;++d)if(n[d]!==n[d+i]){l.setValue(n,s);break}}saveOriginalState(){let t=this.binding,i=this.buffer,n=this.valueSize,s=n*this._origIndex;t.getValue(i,s);for(let o=n,r=s;o!==r;++o)i[o]=i[s+o%n];this._setIdentity(),this.cumulativeWeight=0,this.cumulativeWeightAdditive=0}restoreOriginalState(){let t=this.valueSize*3;this.binding.setValue(this.buffer,t)}_setAdditiveIdentityNumeric(){let t=this._addIndex*this.valueSize,i=t+this.valueSize;for(let n=t;n<i;n++)this.buffer[n]=0}_setAdditiveIdentityQuaternion(){this._setAdditiveIdentityNumeric(),this.buffer[this._addIndex*this.valueSize+3]=1}_setAdditiveIdentityOther(){let t=this._origIndex*this.valueSize,i=this._addIndex*this.valueSize;for(let n=0;n<this.valueSize;n++)this.buffer[i+n]=this.buffer[t+n]}_select(t,i,n,s,o){if(s>=.5)for(let r=0;r!==o;++r)t[i+r]=t[n+r]}_slerp(t,i,n,s){Gs.slerpFlat(t,i,t,i,t,n,s)}_slerpAdditive(t,i,n,s,o){let r=this._workIndex*o;Gs.multiplyQuaternionsFlat(t,r,t,i,t,n),Gs.slerpFlat(t,i,t,i,t,r,s)}_lerp(t,i,n,s,o){let r=1-s;for(let l=0;l!==o;++l){let d=i+l;t[d]=t[d]*r+t[n+l]*s}}_lerpAdditive(t,i,n,s,o){for(let r=0;r!==o;++r){let l=i+r;t[l]=t[l]+t[n+r]*s}}},Lte="\\[\\]\\.:\\/",rSe=new RegExp("["+Lte+"]","g"),Pte="[^"+Lte+"]",lSe="[^"+Lte.replace("\\.","")+"]",aSe=/((?:WC+[\/:])*)/.source.replace("WC",Pte),uSe=/(WCOD+)?/.source.replace("WCOD",lSe),cSe=/(?:\.(WC+)(?:\[(.+)\])?)?/.source.replace("WC",Pte),dSe=/\.(WC+)(?:\[(.+)\])?/.source.replace("WC",Pte),hSe=new RegExp("^"+aSe+uSe+cSe+dSe+"$"),fSe=["material","materials","bones","map"],mte=class{constructor(t,i,n){let s=n||$o.parseTrackName(i);this._targetGroup=t,this._bindings=t.subscribe_(i,s)}getValue(t,i){this.bind();let n=this._targetGroup.nCachedObjects_,s=this._bindings[n];s!==void 0&&s.getValue(t,i)}setValue(t,i){let n=this._bindings;for(let s=this._targetGroup.nCachedObjects_,o=n.length;s!==o;++s)n[s].setValue(t,i)}bind(){let t=this._bindings;for(let i=this._targetGroup.nCachedObjects_,n=t.length;i!==n;++i)t[i].bind()}unbind(){let t=this._bindings;for(let i=this._targetGroup.nCachedObjects_,n=t.length;i!==n;++i)t[i].unbind()}},$o=class e{constructor(t,i,n){this.path=i,this.parsedPath=n||e.parseTrackName(i),this.node=e.findNode(t,this.parsedPath.nodeName),this.rootNode=t,this.getValue=this._getValue_unbound,this.setValue=this._setValue_unbound}static create(t,i,n){return t&&t.isAnimationObjectGroup?new e.Composite(t,i,n):new e(t,i,n)}static sanitizeNodeName(t){return t.replace(/\s/g,"_").replace(rSe,"")}static parseTrackName(t){let i=hSe.exec(t);if(i===null)throw new Error("PropertyBinding: Cannot parse trackName: "+t);let n={nodeName:i[2],objectName:i[3],objectIndex:i[4],propertyName:i[5],propertyIndex:i[6]},s=n.nodeName&&n.nodeName.lastIndexOf(".");if(s!==void 0&&s!==-1){let o=n.nodeName.substring(s+1);fSe.indexOf(o)!==-1&&(n.nodeName=n.nodeName.substring(0,s),n.objectName=o)}if(n.propertyName===null||n.propertyName.length===0)throw new Error("PropertyBinding: can not parse propertyName from trackName: "+t);return n}static findNode(t,i){if(i===void 0||i===""||i==="."||i===-1||i===t.name||i===t.uuid)return t;if(t.skeleton){let n=t.skeleton.getBoneByName(i);if(n!==void 0)return n}if(t.children){let n=function(o){for(let r=0;r<o.length;r++){let l=o[r];if(l.name===i||l.uuid===i)return l;let d=n(l.children);if(d)return d}return null},s=n(t.children);if(s)return s}return null}_getValue_unavailable(){}_setValue_unavailable(){}_getValue_direct(t,i){t[i]=this.targetObject[this.propertyName]}_getValue_array(t,i){let n=this.resolvedProperty;for(let s=0,o=n.length;s!==o;++s)t[i++]=n[s]}_getValue_arrayElement(t,i){t[i]=this.resolvedProperty[this.propertyIndex]}_getValue_toArray(t,i){this.resolvedProperty.toArray(t,i)}_setValue_direct(t,i){this.targetObject[this.propertyName]=t[i]}_setValue_direct_setNeedsUpdate(t,i){this.targetObject[this.propertyName]=t[i],this.targetObject.needsUpdate=!0}_setValue_direct_setMatrixWorldNeedsUpdate(t,i){this.targetObject[this.propertyName]=t[i],this.targetObject.matrixWorldNeedsUpdate=!0}_setValue_array(t,i){let n=this.resolvedProperty;for(let s=0,o=n.length;s!==o;++s)n[s]=t[i++]}_setValue_array_setNeedsUpdate(t,i){let n=this.resolvedProperty;for(let s=0,o=n.length;s!==o;++s)n[s]=t[i++];this.targetObject.needsUpdate=!0}_setValue_array_setMatrixWorldNeedsUpdate(t,i){let n=this.resolvedProperty;for(let s=0,o=n.length;s!==o;++s)n[s]=t[i++];this.targetObject.matrixWorldNeedsUpdate=!0}_setValue_arrayElement(t,i){this.resolvedProperty[this.propertyIndex]=t[i]}_setValue_arrayElement_setNeedsUpdate(t,i){this.resolvedProperty[this.propertyIndex]=t[i],this.targetObject.needsUpdate=!0}_setValue_arrayElement_setMatrixWorldNeedsUpdate(t,i){this.resolvedProperty[this.propertyIndex]=t[i],this.targetObject.matrixWorldNeedsUpdate=!0}_setValue_fromArray(t,i){this.resolvedProperty.fromArray(t,i)}_setValue_fromArray_setNeedsUpdate(t,i){this.resolvedProperty.fromArray(t,i),this.targetObject.needsUpdate=!0}_setValue_fromArray_setMatrixWorldNeedsUpdate(t,i){this.resolvedProperty.fromArray(t,i),this.targetObject.matrixWorldNeedsUpdate=!0}_getValue_unbound(t,i){this.bind(),this.getValue(t,i)}_setValue_unbound(t,i){this.bind(),this.setValue(t,i)}bind(){let t=this.node,i=this.parsedPath,n=i.objectName,s=i.propertyName,o=i.propertyIndex;if(t||(t=e.findNode(this.rootNode,i.nodeName),this.node=t),this.getValue=this._getValue_unavailable,this.setValue=this._setValue_unavailable,!t){ci("PropertyBinding: No target node found for track: "+this.path+".");return}if(n){let h=i.objectIndex;switch(n){case"materials":if(!t.material){yi("PropertyBinding: Can not bind to material as node does not have a material.",this);return}if(!t.material.materials){yi("PropertyBinding: Can not bind to material.materials as node.material does not have a materials array.",this);return}t=t.material.materials;break;case"bones":if(!t.skeleton){yi("PropertyBinding: Can not bind to bones as node does not have a skeleton.",this);return}t=t.skeleton.bones;for(let p=0;p<t.length;p++)if(t[p].name===h){h=p;break}break;case"map":if("map"in t){t=t.map;break}if(!t.material){yi("PropertyBinding: Can not bind to material as node does not have a material.",this);return}if(!t.material.map){yi("PropertyBinding: Can not bind to material.map as node.material does not have a map.",this);return}t=t.material.map;break;default:if(t[n]===void 0){yi("PropertyBinding: Can not bind to objectName of node undefined.",this);return}t=t[n]}if(h!==void 0){if(t[h]===void 0){yi("PropertyBinding: Trying to bind to objectIndex of objectName, but is undefined.",this,t);return}t=t[h]}}let r=t[s];if(r===void 0){let h=i.nodeName;yi("PropertyBinding: Trying to update property for track: "+h+"."+s+" but it wasn't found.",t);return}let l=this.Versioning.None;this.targetObject=t,t.isMaterial===!0?l=this.Versioning.NeedsUpdate:t.isObject3D===!0&&(l=this.Versioning.MatrixWorldNeedsUpdate);let d=this.BindingType.Direct;if(o!==void 0){if(s==="morphTargetInfluences"){if(!t.geometry){yi("PropertyBinding: Can not bind to morphTargetInfluences because node does not have a geometry.",this);return}if(!t.geometry.morphAttributes){yi("PropertyBinding: Can not bind to morphTargetInfluences because node does not have a geometry.morphAttributes.",this);return}t.morphTargetDictionary[o]!==void 0&&(o=t.morphTargetDictionary[o])}d=this.BindingType.ArrayElement,this.resolvedProperty=r,this.propertyIndex=o}else r.fromArray!==void 0&&r.toArray!==void 0?(d=this.BindingType.HasFromToArray,this.resolvedProperty=r):Array.isArray(r)?(d=this.BindingType.EntireArray,this.resolvedProperty=r):this.propertyName=s;this.getValue=this.GetterByBindingType[d],this.setValue=this.SetterByBindingTypeAndVersioning[d][l]}unbind(){this.node=null,this.getValue=this._getValue_unbound,this.setValue=this._setValue_unbound}};$o.Composite=mte;$o.prototype.BindingType={Direct:0,EntireArray:1,ArrayElement:2,HasFromToArray:3};$o.prototype.Versioning={None:0,NeedsUpdate:1,MatrixWorldNeedsUpdate:2};$o.prototype.GetterByBindingType=[$o.prototype._getValue_direct,$o.prototype._getValue_array,$o.prototype._getValue_arrayElement,$o.prototype._getValue_toArray];$o.prototype.SetterByBindingTypeAndVersioning=[[$o.prototype._setValue_direct,$o.prototype._setValue_direct_setNeedsUpdate,$o.prototype._setValue_direct_setMatrixWorldNeedsUpdate],[$o.prototype._setValue_array,$o.prototype._setValue_array_setNeedsUpdate,$o.prototype._setValue_array_setMatrixWorldNeedsUpdate],[$o.prototype._setValue_arrayElement,$o.prototype._setValue_arrayElement_setNeedsUpdate,$o.prototype._setValue_arrayElement_setMatrixWorldNeedsUpdate],[$o.prototype._setValue_fromArray,$o.prototype._setValue_fromArray_setNeedsUpdate,$o.prototype._setValue_fromArray_setMatrixWorldNeedsUpdate]];var vY=class{constructor(){this.isAnimationObjectGroup=!0,this.uuid=bm(),this._objects=Array.prototype.slice.call(arguments),this.nCachedObjects_=0;let t={};this._indicesByUUID=t;for(let n=0,s=arguments.length;n!==s;++n)t[arguments[n].uuid]=n;this._paths=[],this._parsedPaths=[],this._bindings=[],this._bindingsIndicesByPath={};let i=this;this.stats={objects:{get total(){return i._objects.length},get inUse(){return this.total-i.nCachedObjects_}},get bindingsPerObject(){return i._bindings.length}}}add(){let t=this._objects,i=this._indicesByUUID,n=this._paths,s=this._parsedPaths,o=this._bindings,r=o.length,l,d=t.length,h=this.nCachedObjects_;for(let p=0,I=arguments.length;p!==I;++p){let m=arguments[p],y=m.uuid,T=i[y];if(T===void 0){T=d++,i[y]=T,t.push(m);for(let R=0,b=r;R!==b;++R)o[R].push(new $o(m,n[R],s[R]))}else if(T<h){l=t[T];let R=--h,b=t[R];i[b.uuid]=T,t[T]=b,i[y]=R,t[R]=m;for(let A=0,O=r;A!==O;++A){let P=o[A],U=P[R],Z=P[T];P[T]=U,Z===void 0&&(Z=new $o(m,n[A],s[A])),P[R]=Z}}else t[T]!==l&&yi("AnimationObjectGroup: Different objects with the same UUID detected. Clean the caches or recreate your infrastructure when reloading scenes.")}this.nCachedObjects_=h}remove(){let t=this._objects,i=this._indicesByUUID,n=this._bindings,s=n.length,o=this.nCachedObjects_;for(let r=0,l=arguments.length;r!==l;++r){let d=arguments[r],h=d.uuid,p=i[h];if(p!==void 0&&p>=o){let I=o++,m=t[I];i[m.uuid]=p,t[p]=m,i[h]=I,t[I]=d;for(let y=0,T=s;y!==T;++y){let R=n[y],b=R[I],A=R[p];R[p]=b,R[I]=A}}}this.nCachedObjects_=o}uncache(){let t=this._objects,i=this._indicesByUUID,n=this._bindings,s=n.length,o=this.nCachedObjects_,r=t.length;for(let l=0,d=arguments.length;l!==d;++l){let h=arguments[l],p=h.uuid,I=i[p];if(I!==void 0)if(delete i[p],I<o){let m=--o,y=t[m],T=--r,R=t[T];i[y.uuid]=I,t[I]=y,i[R.uuid]=m,t[m]=R,t.pop();for(let b=0,A=s;b!==A;++b){let O=n[b],P=O[m],U=O[T];O[I]=P,O[m]=U,O.pop()}}else{let m=--r,y=t[m];m>0&&(i[y.uuid]=I),t[I]=y,t.pop();for(let T=0,R=s;T!==R;++T){let b=n[T];b[I]=b[m],b.pop()}}}this.nCachedObjects_=o}subscribe_(t,i){let n=this._bindingsIndicesByPath,s=n[t],o=this._bindings;if(s!==void 0)return o[s];let r=this._paths,l=this._parsedPaths,d=this._objects,h=d.length,p=this.nCachedObjects_,I=new Array(h);s=o.length,n[t]=s,r.push(t),l.push(i),o.push(I);for(let m=p,y=d.length;m!==y;++m){let T=d[m];I[m]=new $o(T,t,i)}return I}unsubscribe_(t){let i=this._bindingsIndicesByPath,n=i[t];if(n!==void 0){let s=this._paths,o=this._parsedPaths,r=this._bindings,l=r.length-1,d=r[l],h=t[l];i[h]=n,r[n]=d,r.pop(),o[n]=o[l],o.pop(),s[n]=s[l],s.pop()}}},QH=class{constructor(t,i,n=null,s=i.blendMode){this._mixer=t,this._clip=i,this._localRoot=n,this.blendMode=s;let o=i.tracks,r=o.length,l=new Array(r),d={endingStart:gb,endingEnd:gb};for(let h=0;h!==r;++h){let p=o[h].createInterpolant(null);l[h]=p,p.settings&&Object.assign(d,p.settings),p.settings=d}this._interpolantSettings=d,this._interpolants=l,this._propertyBindings=new Array(r),this._cacheIndex=null,this._byClipCacheIndex=null,this._timeScaleInterpolant=null,this._weightInterpolant=null,this.loop=Ste,this._loopCount=-1,this._startTime=null,this.time=0,this.timeScale=1,this._effectiveTimeScale=1,this.weight=1,this._effectiveWeight=1,this.repetitions=1/0,this.paused=!1,this.enabled=!0,this.clampWhenFinished=!1,this.zeroSlopeAtStart=!0,this.zeroSlopeAtEnd=!0}play(){return this._mixer._activateAction(this),this}stop(){return this._mixer._deactivateAction(this),this.reset()}reset(){return this.paused=!1,this.enabled=!0,this.time=0,this._loopCount=-1,this._startTime=null,this.stopFading().stopWarping()}isRunning(){return this.enabled&&!this.paused&&this.timeScale!==0&&this._startTime===null&&this._mixer._isActiveAction(this)}isScheduled(){return this._mixer._isActiveAction(this)}startAt(t){return this._startTime=t,this}setLoop(t,i){return this.loop=t,this.repetitions=i,this}setEffectiveWeight(t){return this.weight=t,this._effectiveWeight=this.enabled?t:0,this.stopFading()}getEffectiveWeight(){return this._effectiveWeight}fadeIn(t){return this._scheduleFading(t,0,1)}fadeOut(t){return this._scheduleFading(t,1,0)}crossFadeFrom(t,i,n=!1){if(t.fadeOut(i),this.fadeIn(i),n===!0){let s=this._clip.duration,o=t._clip.duration,r=o/s,l=s/o;t.warp(1,r,i),this.warp(l,1,i)}return this}crossFadeTo(t,i,n=!1){return t.crossFadeFrom(this,i,n)}stopFading(){let t=this._weightInterpolant;return t!==null&&(this._weightInterpolant=null,this._mixer._takeBackControlInterpolant(t)),this}setEffectiveTimeScale(t){return this.timeScale=t,this._effectiveTimeScale=this.paused?0:t,this.stopWarping()}getEffectiveTimeScale(){return this._effectiveTimeScale}setDuration(t){return this.timeScale=this._clip.duration/t,this.stopWarping()}syncWith(t){return this.time=t.time,this.timeScale=t.timeScale,this.stopWarping()}halt(t){return this.warp(this._effectiveTimeScale,0,t)}warp(t,i,n){let s=this._mixer,o=s.time,r=this.timeScale,l=this._timeScaleInterpolant;l===null&&(l=s._lendControlInterpolant(),this._timeScaleInterpolant=l);let d=l.parameterPositions,h=l.sampleValues;return d[0]=o,d[1]=o+n,h[0]=t/r,h[1]=i/r,this}stopWarping(){let t=this._timeScaleInterpolant;return t!==null&&(this._timeScaleInterpolant=null,this._mixer._takeBackControlInterpolant(t)),this}getMixer(){return this._mixer}getClip(){return this._clip}getRoot(){return this._localRoot||this._mixer._root}_update(t,i,n,s){if(!this.enabled){this._updateWeight(t);return}let o=this._startTime;if(o!==null){let d=(t-o)*n;d<0||n===0?i=0:(this._startTime=null,i=n*d)}i*=this._updateTimeScale(t);let r=this._updateTime(i),l=this._updateWeight(t);if(l>0){let d=this._interpolants,h=this._propertyBindings;switch(this.blendMode){case qY:for(let p=0,I=d.length;p!==I;++p)d[p].evaluate(r),h[p].accumulateAdditive(l);break;case aG:default:for(let p=0,I=d.length;p!==I;++p)d[p].evaluate(r),h[p].accumulate(s,l)}}}_updateWeight(t){let i=0;if(this.enabled){i=this.weight;let n=this._weightInterpolant;if(n!==null){let s=n.evaluate(t)[0];i*=s,t>n.parameterPositions[1]&&(this.stopFading(),s===0&&(this.enabled=!1))}}return this._effectiveWeight=i,i}_updateTimeScale(t){let i=0;if(!this.paused){i=this.timeScale;let n=this._timeScaleInterpolant;if(n!==null){let s=n.evaluate(t)[0];i*=s,t>n.parameterPositions[1]&&(this.stopWarping(),i===0?this.paused=!0:this.timeScale=i)}}return this._effectiveTimeScale=i,i}_updateTime(t){let i=this._clip.duration,n=this.loop,s=this.time+t,o=this._loopCount,r=n===Ate;if(t===0)return o===-1?s:r&&(o&1)===1?i-s:s;if(n===Rte){o===-1&&(this._loopCount=0,this._setEndings(!0,!0,!1));e:{if(s>=i)s=i;else if(s<0)s=0;else{this.time=s;break e}this.clampWhenFinished?this.paused=!0:this.enabled=!1,this.time=s,this._mixer.dispatchEvent({type:"finished",action:this,direction:t<0?-1:1})}}else{if(o===-1&&(t>=0?(o=0,this._setEndings(!0,this.repetitions===0,r)):this._setEndings(this.repetitions===0,!0,r)),s>=i||s<0){let l=Math.floor(s/i);s-=i*l,o+=Math.abs(l);let d=this.repetitions-o;if(d<=0)this.clampWhenFinished?this.paused=!0:this.enabled=!1,s=t>0?i:0,this.time=s,this._mixer.dispatchEvent({type:"finished",action:this,direction:t>0?1:-1});else{if(d===1){let h=t<0;this._setEndings(h,!h,r)}else this._setEndings(!1,!1,r);this._loopCount=o,this.time=s,this._mixer.dispatchEvent({type:"loop",action:this,loopDelta:l})}}else this._loopCount=o,this.time=s;if(r&&(o&1)===1)return i-s}return s}_setEndings(t,i,n){let s=this._interpolantSettings;n?(s.endingStart=wb,s.endingEnd=wb):(t?s.endingStart=this.zeroSlopeAtStart?wb:gb:s.endingStart=oP,i?s.endingEnd=this.zeroSlopeAtEnd?wb:gb:s.endingEnd=oP)}_scheduleFading(t,i,n){let s=this._mixer,o=s.time,r=this._weightInterpolant;r===null&&(r=s._lendControlInterpolant(),this._weightInterpolant=r);let l=r.parameterPositions,d=r.sampleValues;return l[0]=o,d[0]=i,l[1]=o+t,d[1]=n,this}},pSe=new Float32Array(1),RY=class extends jc{constructor(t){super(),this._root=t,this._initMemoryManager(),this._accuIndex=0,this.time=0,this.timeScale=1,typeof __THREE_DEVTOOLS__<"u"&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("observe",{detail:this}))}_bindAction(t,i){let n=t._localRoot||this._root,s=t._clip.tracks,o=s.length,r=t._propertyBindings,l=t._interpolants,d=n.uuid,h=this._bindingsByRootAndName,p=h[d];p===void 0&&(p={},h[d]=p);for(let I=0;I!==o;++I){let m=s[I],y=m.name,T=p[y];if(T!==void 0)++T.referenceCount,r[I]=T;else{if(T=r[I],T!==void 0){T._cacheIndex===null&&(++T.referenceCount,this._addInactiveBinding(T,d,y));continue}let R=i&&i._propertyBindings[I].binding.parsedPath;T=new KH($o.create(n,y,R),m.ValueTypeName,m.getValueSize()),++T.referenceCount,this._addInactiveBinding(T,d,y),r[I]=T}l[I].resultBuffer=T.buffer}}_activateAction(t){if(!this._isActiveAction(t)){if(t._cacheIndex===null){let n=(t._localRoot||this._root).uuid,s=t._clip.uuid,o=this._actionsByClip[s];this._bindAction(t,o&&o.knownActions[0]),this._addInactiveAction(t,s,n)}let i=t._propertyBindings;for(let n=0,s=i.length;n!==s;++n){let o=i[n];o.useCount++===0&&(this._lendBinding(o),o.saveOriginalState())}this._lendAction(t)}}_deactivateAction(t){if(this._isActiveAction(t)){let i=t._propertyBindings;for(let n=0,s=i.length;n!==s;++n){let o=i[n];--o.useCount===0&&(o.restoreOriginalState(),this._takeBackBinding(o))}this._takeBackAction(t)}}_initMemoryManager(){this._actions=[],this._nActiveActions=0,this._actionsByClip={},this._bindings=[],this._nActiveBindings=0,this._bindingsByRootAndName={},this._controlInterpolants=[],this._nActiveControlInterpolants=0;let t=this;this.stats={actions:{get total(){return t._actions.length},get inUse(){return t._nActiveActions}},bindings:{get total(){return t._bindings.length},get inUse(){return t._nActiveBindings}},controlInterpolants:{get total(){return t._controlInterpolants.length},get inUse(){return t._nActiveControlInterpolants}}}}_isActiveAction(t){let i=t._cacheIndex;return i!==null&&i<this._nActiveActions}_addInactiveAction(t,i,n){let s=this._actions,o=this._actionsByClip,r=o[i];if(r===void 0)r={knownActions:[t],actionByRoot:{}},t._byClipCacheIndex=0,o[i]=r;else{let l=r.knownActions;t._byClipCacheIndex=l.length,l.push(t)}t._cacheIndex=s.length,s.push(t),r.actionByRoot[n]=t}_removeInactiveAction(t){let i=this._actions,n=i[i.length-1],s=t._cacheIndex;n._cacheIndex=s,i[s]=n,i.pop(),t._cacheIndex=null;let o=t._clip.uuid,r=this._actionsByClip,l=r[o],d=l.knownActions,h=d[d.length-1],p=t._byClipCacheIndex;h._byClipCacheIndex=p,d[p]=h,d.pop(),t._byClipCacheIndex=null;let I=l.actionByRoot,m=(t._localRoot||this._root).uuid;delete I[m],d.length===0&&delete r[o],this._removeInactiveBindingsForAction(t)}_removeInactiveBindingsForAction(t){let i=t._propertyBindings;for(let n=0,s=i.length;n!==s;++n){let o=i[n];--o.referenceCount===0&&this._removeInactiveBinding(o)}}_lendAction(t){let i=this._actions,n=t._cacheIndex,s=this._nActiveActions++,o=i[s];t._cacheIndex=s,i[s]=t,o._cacheIndex=n,i[n]=o}_takeBackAction(t){let i=this._actions,n=t._cacheIndex,s=--this._nActiveActions,o=i[s];t._cacheIndex=s,i[s]=t,o._cacheIndex=n,i[n]=o}_addInactiveBinding(t,i,n){let s=this._bindingsByRootAndName,o=this._bindings,r=s[i];r===void 0&&(r={},s[i]=r),r[n]=t,t._cacheIndex=o.length,o.push(t)}_removeInactiveBinding(t){let i=this._bindings,n=t.binding,s=n.rootNode.uuid,o=n.path,r=this._bindingsByRootAndName,l=r[s],d=i[i.length-1],h=t._cacheIndex;d._cacheIndex=h,i[h]=d,i.pop(),delete l[o],Object.keys(l).length===0&&delete r[s]}_lendBinding(t){let i=this._bindings,n=t._cacheIndex,s=this._nActiveBindings++,o=i[s];t._cacheIndex=s,i[s]=t,o._cacheIndex=n,i[n]=o}_takeBackBinding(t){let i=this._bindings,n=t._cacheIndex,s=--this._nActiveBindings,o=i[s];t._cacheIndex=s,i[s]=t,o._cacheIndex=n,i[n]=o}_lendControlInterpolant(){let t=this._controlInterpolants,i=this._nActiveControlInterpolants++,n=t[i];return n===void 0&&(n=new gP(new Float32Array(2),new Float32Array(2),1,pSe),n.__cacheIndex=i,t[i]=n),n}_takeBackControlInterpolant(t){let i=this._controlInterpolants,n=t.__cacheIndex,s=--this._nActiveControlInterpolants,o=i[s];t.__cacheIndex=s,i[s]=t,o.__cacheIndex=n,i[n]=o}clipAction(t,i,n){let s=i||this._root,o=s.uuid,r=typeof t=="string"?Vb.findByName(s,t):t,l=r!==null?r.uuid:t,d=this._actionsByClip[l],h=null;if(n===void 0&&(r!==null?n=r.blendMode:n=aG),d!==void 0){let I=d.actionByRoot[o];if(I!==void 0&&I.blendMode===n)return I;h=d.knownActions[0],r===null&&(r=h._clip)}if(r===null)return null;let p=new QH(this,r,i,n);return this._bindAction(p,h),this._addInactiveAction(p,l,o),p}existingAction(t,i){let n=i||this._root,s=n.uuid,o=typeof t=="string"?Vb.findByName(n,t):t,r=o?o.uuid:t,l=this._actionsByClip[r];return l!==void 0&&l.actionByRoot[s]||null}stopAllAction(){let t=this._actions,i=this._nActiveActions;for(let n=i-1;n>=0;--n)t[n].stop();return this}update(t){t*=this.timeScale;let i=this._actions,n=this._nActiveActions,s=this.time+=t,o=Math.sign(t),r=this._accuIndex^=1;for(let h=0;h!==n;++h)i[h]._update(s,t,o,r);let l=this._bindings,d=this._nActiveBindings;for(let h=0;h!==d;++h)l[h].apply(r);return this}setTime(t){this.time=0;for(let i=0;i<this._actions.length;i++)this._actions[i].time=0;return this.update(t)}getRoot(){return this._root}uncacheClip(t){let i=this._actions,n=t.uuid,s=this._actionsByClip,o=s[n];if(o!==void 0){let r=o.knownActions;for(let l=0,d=r.length;l!==d;++l){let h=r[l];this._deactivateAction(h);let p=h._cacheIndex,I=i[i.length-1];h._cacheIndex=null,h._byClipCacheIndex=null,I._cacheIndex=p,i[p]=I,i.pop(),this._removeInactiveBindingsForAction(h)}delete s[n]}}uncacheRoot(t){let i=t.uuid,n=this._actionsByClip;for(let r in n){let l=n[r].actionByRoot,d=l[i];d!==void 0&&(this._deactivateAction(d),this._removeInactiveAction(d))}let s=this._bindingsByRootAndName,o=s[i];if(o!==void 0)for(let r in o){let l=o[r];l.restoreOriginalState(),this._removeInactiveBinding(l)}}uncacheAction(t,i){let n=this.existingAction(t,i);n!==null&&(this._deactivateAction(n),this._removeInactiveAction(n))}},SY=class extends yf{constructor(t=1,i=1,n=1,s={}){super(t,i,s),this.isRenderTarget3D=!0,this.depth=n,this.texture=new sC(null,t,i,n),this._setTextureOptions(s),this.texture.isRenderTargetTexture=!0}},AY=class e{constructor(t){this.value=t}clone(){return new e(this.value.clone===void 0?this.value:this.value.clone())}},ISe=0,bY=class extends jc{constructor(){super(),this.isUniformsGroup=!0,Object.defineProperty(this,"id",{value:ISe++}),this.name="",this.usage=Xg,this.uniforms=[]}add(t){return this.uniforms.push(t),this}remove(t){let i=this.uniforms.indexOf(t);return i!==-1&&this.uniforms.splice(i,1),this}setName(t){return this.name=t,this}setUsage(t){return this.usage=t,this}dispose(){this.dispatchEvent({type:"dispose"})}copy(t){this.name=t.name,this.usage=t.usage;let i=t.uniforms;this.uniforms.length=0;for(let n=0,s=i.length;n<s;n++){let o=Array.isArray(i[n])?i[n]:[i[n]];for(let r=0;r<o.length;r++)this.uniforms.push(o[r].clone())}return this}clone(){return new this.constructor().copy(this)}},Dm=class extends qv{constructor(t,i,n=1){super(t,i),this.isInstancedInterleavedBuffer=!0,this.meshPerAttribute=n}copy(t){return super.copy(t),this.meshPerAttribute=t.meshPerAttribute,this}clone(t){let i=super.clone(t);return i.meshPerAttribute=this.meshPerAttribute,i}toJSON(t){let i=super.toJSON(t);return i.isInstancedInterleavedBuffer=!0,i.meshPerAttribute=this.meshPerAttribute,i}},NY=class{constructor(t,i,n,s,o,r=!1){this.isGLBufferAttribute=!0,this.name="",this.buffer=t,this.type=i,this.itemSize=n,this.elementSize=s,this.count=o,this.normalized=r,this.version=0}set needsUpdate(t){t===!0&&this.version++}setBuffer(t){return this.buffer=t,this}setType(t,i){return this.type=t,this.elementSize=i,this}setItemSize(t){return this.itemSize=t,this}setCount(t){return this.count=t,this}},zhe=new Ai,fp=class{constructor(t,i,n=0,s=1/0){this.ray=new Wa(t,i),this.near=n,this.far=s,this.camera=null,this.layers=new oC,this.params={Mesh:{},Line:{threshold:1},LOD:{},Points:{threshold:1},Sprite:{}}}set(t,i){this.ray.set(t,i)}setFromCamera(t,i){i.isPerspectiveCamera?(this.ray.origin.setFromMatrixPosition(i.matrixWorld),this.ray.direction.set(t.x,t.y,.5).unproject(i).sub(this.ray.origin).normalize(),this.camera=i):i.isOrthographicCamera?(this.ray.origin.set(t.x,t.y,(i.near+i.far)/(i.near-i.far)).unproject(i),this.ray.direction.set(0,0,-1).transformDirection(i.matrixWorld),this.camera=i):yi("Raycaster: Unsupported camera type: "+i.type)}setFromXRController(t){return zhe.identity().extractRotation(t.matrixWorld),this.ray.origin.setFromMatrixPosition(t.matrixWorld),this.ray.direction.set(0,0,-1).applyMatrix4(zhe),this}intersectObject(t,i=!0,n=[]){return yte(t,this,n,i),n.sort(Whe),n}intersectObjects(t,i=!0,n=[]){for(let s=0,o=t.length;s<o;s++)yte(t[s],this,n,i);return n.sort(Whe),n}};function Whe(e,t){return e.distance-t.distance}function yte(e,t,i,n){let s=!0;if(e.layers.test(t.layers)&&e.raycast(t,i)===!1&&(s=!1),s===!0&&n===!0){let o=e.children;for(let r=0,l=o.length;r<l;r++)yte(o[r],t,i,!0)}}var NP=class{constructor(t=!0){this.autoStart=t,this.startTime=0,this.oldTime=0,this.elapsedTime=0,this.running=!1,ci("Clock: This module has been deprecated. Please use THREE.Timer instead.")}start(){this.startTime=performance.now(),this.oldTime=this.startTime,this.elapsedTime=0,this.running=!0}stop(){this.getElapsedTime(),this.running=!1,this.autoStart=!1}getElapsedTime(){return this.getDelta(),this.elapsedTime}getDelta(){let t=0;if(this.autoStart&&!this.running)return this.start(),0;if(this.running){let i=performance.now();t=(i-this.oldTime)/1e3,this.oldTime=i,this.elapsedTime+=t}return t}},_P=class{constructor(t=1,i=0,n=0){this.radius=t,this.phi=i,this.theta=n}set(t,i,n){return this.radius=t,this.phi=i,this.theta=n,this}copy(t){return this.radius=t.radius,this.phi=t.phi,this.theta=t.theta,this}makeSafe(){return this.phi=cs(this.phi,1e-6,Math.PI-1e-6),this}setFromVector3(t){return this.setFromCartesianCoords(t.x,t.y,t.z)}setFromCartesianCoords(t,i,n){return this.radius=Math.sqrt(t*t+i*i+n*n),this.radius===0?(this.theta=0,this.phi=0):(this.theta=Math.atan2(t,n),this.phi=Math.acos(cs(i/this.radius,-1,1))),this}clone(){return new this.constructor().copy(this)}},_Y=class{constructor(t=1,i=0,n=0){this.radius=t,this.theta=i,this.y=n}set(t,i,n){return this.radius=t,this.theta=i,this.y=n,this}copy(t){return this.radius=t.radius,this.theta=t.theta,this.y=t.y,this}setFromVector3(t){return this.setFromCartesianCoords(t.x,t.y,t.z)}setFromCartesianCoords(t,i,n){return this.radius=Math.sqrt(t*t+n*n),this.theta=Math.atan2(t,n),this.y=i,this}clone(){return new this.constructor().copy(this)}},NC=class e{static{e.prototype.isMatrix2=!0}constructor(t,i,n,s){this.elements=[1,0,0,1],t!==void 0&&this.set(t,i,n,s)}identity(){return this.set(1,0,0,1),this}fromArray(t,i=0){for(let n=0;n<4;n++)this.elements[n]=t[n+i];return this}set(t,i,n,s){let o=this.elements;return o[0]=t,o[2]=i,o[1]=n,o[3]=s,this}},Yhe=new hi,DY=class{constructor(t=new hi(1/0,1/0),i=new hi(-1/0,-1/0)){this.isBox2=!0,this.min=t,this.max=i}set(t,i){return this.min.copy(t),this.max.copy(i),this}setFromPoints(t){this.makeEmpty();for(let i=0,n=t.length;i<n;i++)this.expandByPoint(t[i]);return this}setFromCenterAndSize(t,i){let n=Yhe.copy(i).multiplyScalar(.5);return this.min.copy(t).sub(n),this.max.copy(t).add(n),this}clone(){return new this.constructor().copy(this)}copy(t){return this.min.copy(t.min),this.max.copy(t.max),this}makeEmpty(){return this.min.x=this.min.y=1/0,this.max.x=this.max.y=-1/0,this}isEmpty(){return this.max.x<this.min.x||this.max.y<this.min.y}getCenter(t){return this.isEmpty()?t.set(0,0):t.addVectors(this.min,this.max).multiplyScalar(.5)}getSize(t){return this.isEmpty()?t.set(0,0):t.subVectors(this.max,this.min)}expandByPoint(t){return this.min.min(t),this.max.max(t),this}expandByVector(t){return this.min.sub(t),this.max.add(t),this}expandByScalar(t){return this.min.addScalar(-t),this.max.addScalar(t),this}containsPoint(t){return t.x>=this.min.x&&t.x<=this.max.x&&t.y>=this.min.y&&t.y<=this.max.y}containsBox(t){return this.min.x<=t.min.x&&t.max.x<=this.max.x&&this.min.y<=t.min.y&&t.max.y<=this.max.y}getParameter(t,i){return i.set((t.x-this.min.x)/(this.max.x-this.min.x),(t.y-this.min.y)/(this.max.y-this.min.y))}intersectsBox(t){return t.max.x>=this.min.x&&t.min.x<=this.max.x&&t.max.y>=this.min.y&&t.min.y<=this.max.y}clampPoint(t,i){return i.copy(t).clamp(this.min,this.max)}distanceToPoint(t){return this.clampPoint(t,Yhe).distanceTo(t)}intersect(t){return this.min.max(t.min),this.max.min(t.max),this.isEmpty()&&this.makeEmpty(),this}union(t){return this.min.min(t.min),this.max.max(t.max),this}translate(t){return this.min.add(t),this.max.add(t),this}equals(t){return t.min.equals(this.min)&&t.max.equals(this.max)}},jhe=new ye,VW=new ye,eP=new ye,tP=new ye,nte=new ye,mSe=new ye,ySe=new ye,ds=class{constructor(t=new ye,i=new ye){this.start=t,this.end=i}set(t,i){return this.start.copy(t),this.end.copy(i),this}copy(t){return this.start.copy(t.start),this.end.copy(t.end),this}getCenter(t){return t.addVectors(this.start,this.end).multiplyScalar(.5)}delta(t){return t.subVectors(this.end,this.start)}distanceSq(){return this.start.distanceToSquared(this.end)}distance(){return this.start.distanceTo(this.end)}at(t,i){return this.delta(i).multiplyScalar(t).add(this.start)}closestPointToPointParameter(t,i){jhe.subVectors(t,this.start),VW.subVectors(this.end,this.start);let n=VW.dot(VW);if(n===0)return 0;let o=VW.dot(jhe)/n;return i&&(o=cs(o,0,1)),o}closestPointToPoint(t,i,n){let s=this.closestPointToPointParameter(t,i);return this.delta(n).multiplyScalar(s).add(this.start)}distanceSqToLine3(t,i=mSe,n=ySe){let s=10000000000000001e-32,o,r,l=this.start,d=t.start,h=this.end,p=t.end;eP.subVectors(h,l),tP.subVectors(p,d),nte.subVectors(l,d);let I=eP.dot(eP),m=tP.dot(tP),y=tP.dot(nte);if(I<=s&&m<=s)return i.copy(l),n.copy(d),i.sub(n),i.dot(i);if(I<=s)o=0,r=y/m,r=cs(r,0,1);else{let T=eP.dot(nte);if(m<=s)r=0,o=cs(-T/I,0,1);else{let R=eP.dot(tP),b=I*m-R*R;b!==0?o=cs((R*y-T*m)/b,0,1):o=0,r=(R*o+y)/m,r<0?(r=0,o=cs(-T/I,0,1)):r>1&&(r=1,o=cs((R-T)/I,0,1))}}return i.copy(l).addScaledVector(eP,o),n.copy(d).addScaledVector(tP,r),i.distanceToSquared(n)}applyMatrix4(t){return this.start.applyMatrix4(t),this.end.applyMatrix4(t),this}equals(t){return t.start.equals(this.start)&&t.end.equals(this.end)}clone(){return new this.constructor().copy(this)}},qhe=new ye,CY=class extends ps{constructor(t,i){super(),this.light=t,this.matrixAutoUpdate=!1,this.color=i,this.type="SpotLightHelper";let n=new nn,s=[0,0,0,0,0,1,0,0,0,1,0,1,0,0,0,-1,0,1,0,0,0,0,1,1,0,0,0,0,-1,1];for(let r=0,l=1,d=32;r<d;r++,l++){let h=r/d*Math.PI*2,p=l/d*Math.PI*2;s.push(Math.cos(h),Math.sin(h),1,Math.cos(p),Math.sin(p),1)}n.setAttribute("position",new ln(s,3));let o=new Qo({fog:!1,toneMapped:!1});this.cone=new xs(n,o),this.add(this.cone),this.update()}dispose(){this.cone.geometry.dispose(),this.cone.material.dispose()}update(){this.light.updateWorldMatrix(!0,!1),this.light.target.updateWorldMatrix(!0,!1),this.parent?(this.parent.updateWorldMatrix(!0),this.matrix.copy(this.parent.matrixWorld).invert().multiply(this.light.matrixWorld)):this.matrix.copy(this.light.matrixWorld),this.matrixWorld.copy(this.light.matrixWorld);let t=this.light.distance?this.light.distance:1e3,i=t*Math.tan(this.light.angle);this.cone.scale.set(i,i,t),qhe.setFromMatrixPosition(this.light.target.matrixWorld),this.cone.lookAt(qhe),this.color!==void 0?this.cone.material.color.set(this.color):this.cone.material.color.copy(this.light.color)}},Tb=new ye,kW=new Ai,ste=new Ai,xY=class extends xs{constructor(t){let i=xfe(t),n=new nn,s=[],o=[];for(let h=0;h<i.length;h++){let p=i[h];p.parent&&p.parent.isBone&&(s.push(0,0,0),s.push(0,0,0),o.push(0,0,0),o.push(0,0,0))}n.setAttribute("position",new ln(s,3)),n.setAttribute("color",new ln(o,3));let r=new Qo({vertexColors:!0,depthTest:!1,depthWrite:!1,toneMapped:!1,transparent:!0});super(n,r),this.isSkeletonHelper=!0,this.type="SkeletonHelper",this.root=t,this.bones=i,this.matrix=t.matrixWorld,this.matrixAutoUpdate=!1;let l=new Oi(255),d=new Oi(65280);this.setColors(l,d)}updateMatrixWorld(t){let i=this.bones,n=this.geometry,s=n.getAttribute("position");ste.copy(this.root.matrixWorld).invert();for(let o=0,r=0;o<i.length;o++){let l=i[o];l.parent&&l.parent.isBone&&(kW.multiplyMatrices(ste,l.matrixWorld),Tb.setFromMatrixPosition(kW),s.setXYZ(r,Tb.x,Tb.y,Tb.z),kW.multiplyMatrices(ste,l.parent.matrixWorld),Tb.setFromMatrixPosition(kW),s.setXYZ(r+1,Tb.x,Tb.y,Tb.z),r+=2)}n.getAttribute("position").needsUpdate=!0,super.updateMatrixWorld(t)}setColors(t,i){let s=this.geometry.getAttribute("color");for(let o=0;o<s.count;o+=2)s.setXYZ(o,t.r,t.g,t.b),s.setXYZ(o+1,i.r,i.g,i.b);return s.needsUpdate=!0,this}dispose(){this.geometry.dispose(),this.material.dispose()}};function xfe(e){let t=[];e.isBone===!0&&t.push(e);for(let i=0;i<e.children.length;i++)t.push(...xfe(e.children[i]));return t}var OY=class extends _i{constructor(t,i,n){let s=new yy(i,4,2),o=new Ho({wireframe:!0,fog:!1,toneMapped:!1});super(s,o),this.light=t,this.color=n,this.type="PointLightHelper",this.matrix=this.light.matrixWorld,this.matrixAutoUpdate=!1,this.update()}dispose(){this.geometry.dispose(),this.material.dispose()}update(){this.light.updateWorldMatrix(!0,!1),this.color!==void 0?this.material.color.set(this.color):this.material.color.copy(this.light.color)}},ESe=new ye,$he=new Oi,Zhe=new Oi,LY=class extends ps{constructor(t,i,n){super(),this.light=t,this.matrix=t.matrixWorld,this.matrixAutoUpdate=!1,this.color=n,this.type="HemisphereLightHelper";let s=new DT(i);s.rotateY(Math.PI*.5),this.material=new Ho({wireframe:!0,fog:!1,toneMapped:!1}),this.color===void 0&&(this.material.vertexColors=!0);let o=s.getAttribute("position"),r=new Float32Array(o.count*3);s.setAttribute("color",new Tn(r,3)),this.add(new _i(s,this.material)),this.update()}dispose(){this.children[0].geometry.dispose(),this.children[0].material.dispose()}update(){let t=this.children[0];if(this.color!==void 0)this.material.color.set(this.color);else{let i=t.geometry.getAttribute("color");$he.copy(this.light.color),Zhe.copy(this.light.groundColor);for(let n=0,s=i.count;n<s;n++){let o=n<s/2?$he:Zhe;i.setXYZ(n,o.r,o.g,o.b)}i.needsUpdate=!0}this.light.updateWorldMatrix(!0,!1),t.lookAt(ESe.setFromMatrixPosition(this.light.matrixWorld).negate())}},PY=class extends xs{constructor(t=10,i=10,n=4473924,s=8947848){n=new Oi(n),s=new Oi(s);let o=i/2,r=t/i,l=t/2,d=[],h=[];for(let m=0,y=0,T=-l;m<=i;m++,T+=r){d.push(-l,0,T,l,0,T),d.push(T,0,-l,T,0,l);let R=m===o?n:s;R.toArray(h,y),y+=3,R.toArray(h,y),y+=3,R.toArray(h,y),y+=3,R.toArray(h,y),y+=3}let p=new nn;p.setAttribute("position",new ln(d,3)),p.setAttribute("color",new ln(h,3));let I=new Qo({vertexColors:!0,toneMapped:!1});super(p,I),this.type="GridHelper"}dispose(){this.geometry.dispose(),this.material.dispose()}},MY=class extends xs{constructor(t=10,i=16,n=8,s=64,o=4473924,r=8947848){o=new Oi(o),r=new Oi(r);let l=[],d=[];if(i>1)for(let I=0;I<i;I++){let m=I/i*(Math.PI*2),y=Math.sin(m)*t,T=Math.cos(m)*t;l.push(0,0,0),l.push(y,0,T);let R=I&1?o:r;d.push(R.r,R.g,R.b),d.push(R.r,R.g,R.b)}for(let I=0;I<n;I++){let m=I&1?o:r,y=t-t/n*I;for(let T=0;T<s;T++){let R=T/s*(Math.PI*2),b=Math.sin(R)*y,A=Math.cos(R)*y;l.push(b,0,A),d.push(m.r,m.g,m.b),R=(T+1)/s*(Math.PI*2),b=Math.sin(R)*y,A=Math.cos(R)*y,l.push(b,0,A),d.push(m.r,m.g,m.b)}}let h=new nn;h.setAttribute("position",new ln(l,3)),h.setAttribute("color",new ln(d,3));let p=new Qo({vertexColors:!0,toneMapped:!1});super(h,p),this.type="PolarGridHelper"}dispose(){this.geometry.dispose(),this.material.dispose()}},Khe=new ye,zW=new ye,Qhe=new ye,BY=class extends ps{constructor(t,i,n){super(),this.light=t,this.matrix=t.matrixWorld,this.matrixAutoUpdate=!1,this.color=n,this.type="DirectionalLightHelper",i===void 0&&(i=1);let s=new nn;s.setAttribute("position",new ln([-i,i,0,i,i,0,i,-i,0,-i,-i,0,-i,i,0],3));let o=new Qo({fog:!1,toneMapped:!1});this.lightPlane=new nr(s,o),this.add(this.lightPlane),s=new nn,s.setAttribute("position",new ln([0,0,0,0,0,1],3)),this.targetLine=new nr(s,o),this.add(this.targetLine),this.update()}dispose(){this.lightPlane.geometry.dispose(),this.lightPlane.material.dispose(),this.targetLine.geometry.dispose(),this.targetLine.material.dispose()}update(){this.light.updateWorldMatrix(!0,!1),this.light.target.updateWorldMatrix(!0,!1),Khe.setFromMatrixPosition(this.light.matrixWorld),zW.setFromMatrixPosition(this.light.target.matrixWorld),Qhe.subVectors(zW,Khe),this.lightPlane.lookAt(zW),this.color!==void 0?(this.lightPlane.material.color.set(this.color),this.targetLine.material.color.set(this.color)):(this.lightPlane.material.color.copy(this.light.color),this.targetLine.material.color.copy(this.light.color)),this.targetLine.lookAt(zW),this.targetLine.scale.z=Qhe.length()}},WW=new ye,Ga=new wC,DP=class extends xs{constructor(t){let i=new nn,n=new Qo({color:16777215,vertexColors:!0,toneMapped:!1}),s=[],o=[],r={};l("n1","n2"),l("n2","n4"),l("n4","n3"),l("n3","n1"),l("f1","f2"),l("f2","f4"),l("f4","f3"),l("f3","f1"),l("n1","f1"),l("n2","f2"),l("n3","f3"),l("n4","f4"),l("p","n1"),l("p","n2"),l("p","n3"),l("p","n4"),l("u1","u2"),l("u2","u3"),l("u3","u1"),l("c","t"),l("p","c"),l("cn1","cn2"),l("cn3","cn4"),l("cf1","cf2"),l("cf3","cf4");function l(T,R){d(T),d(R)}function d(T){s.push(0,0,0),o.push(0,0,0),r[T]===void 0&&(r[T]=[]),r[T].push(s.length/3-1)}i.setAttribute("position",new ln(s,3)),i.setAttribute("color",new ln(o,3)),super(i,n),this.type="CameraHelper",this.camera=t,this.camera.updateProjectionMatrix&&this.camera.updateProjectionMatrix(),this.matrix=t.matrixWorld,this.matrixAutoUpdate=!1,this.pointMap=r,this.update();let h=new Oi(16755200),p=new Oi(16711680),I=new Oi(43775),m=new Oi(16777215),y=new Oi(3355443);this.setColors(h,p,I,m,y)}setColors(t,i,n,s,o){let l=this.geometry.getAttribute("color");return l.setXYZ(0,t.r,t.g,t.b),l.setXYZ(1,t.r,t.g,t.b),l.setXYZ(2,t.r,t.g,t.b),l.setXYZ(3,t.r,t.g,t.b),l.setXYZ(4,t.r,t.g,t.b),l.setXYZ(5,t.r,t.g,t.b),l.setXYZ(6,t.r,t.g,t.b),l.setXYZ(7,t.r,t.g,t.b),l.setXYZ(8,t.r,t.g,t.b),l.setXYZ(9,t.r,t.g,t.b),l.setXYZ(10,t.r,t.g,t.b),l.setXYZ(11,t.r,t.g,t.b),l.setXYZ(12,t.r,t.g,t.b),l.setXYZ(13,t.r,t.g,t.b),l.setXYZ(14,t.r,t.g,t.b),l.setXYZ(15,t.r,t.g,t.b),l.setXYZ(16,t.r,t.g,t.b),l.setXYZ(17,t.r,t.g,t.b),l.setXYZ(18,t.r,t.g,t.b),l.setXYZ(19,t.r,t.g,t.b),l.setXYZ(20,t.r,t.g,t.b),l.setXYZ(21,t.r,t.g,t.b),l.setXYZ(22,t.r,t.g,t.b),l.setXYZ(23,t.r,t.g,t.b),l.setXYZ(24,i.r,i.g,i.b),l.setXYZ(25,i.r,i.g,i.b),l.setXYZ(26,i.r,i.g,i.b),l.setXYZ(27,i.r,i.g,i.b),l.setXYZ(28,i.r,i.g,i.b),l.setXYZ(29,i.r,i.g,i.b),l.setXYZ(30,i.r,i.g,i.b),l.setXYZ(31,i.r,i.g,i.b),l.setXYZ(32,n.r,n.g,n.b),l.setXYZ(33,n.r,n.g,n.b),l.setXYZ(34,n.r,n.g,n.b),l.setXYZ(35,n.r,n.g,n.b),l.setXYZ(36,n.r,n.g,n.b),l.setXYZ(37,n.r,n.g,n.b),l.setXYZ(38,s.r,s.g,s.b),l.setXYZ(39,s.r,s.g,s.b),l.setXYZ(40,o.r,o.g,o.b),l.setXYZ(41,o.r,o.g,o.b),l.setXYZ(42,o.r,o.g,o.b),l.setXYZ(43,o.r,o.g,o.b),l.setXYZ(44,o.r,o.g,o.b),l.setXYZ(45,o.r,o.g,o.b),l.setXYZ(46,o.r,o.g,o.b),l.setXYZ(47,o.r,o.g,o.b),l.setXYZ(48,o.r,o.g,o.b),l.setXYZ(49,o.r,o.g,o.b),l.needsUpdate=!0,this}update(){let t=this.geometry,i=this.pointMap,n=1,s=1,o,r;if(Ga.projectionMatrixInverse.copy(this.camera.projectionMatrixInverse),this.camera.reversedDepth===!0)o=1,r=0;else if(this.camera.coordinateSystem===Wc)o=-1,r=1;else if(this.camera.coordinateSystem===mf)o=0,r=1;else throw new Error("THREE.CameraHelper.update(): Invalid coordinate system: "+this.camera.coordinateSystem);Nu("c",i,t,Ga,0,0,o),Nu("t",i,t,Ga,0,0,r),Nu("n1",i,t,Ga,-n,-s,o),Nu("n2",i,t,Ga,n,-s,o),Nu("n3",i,t,Ga,-n,s,o),Nu("n4",i,t,Ga,n,s,o),Nu("f1",i,t,Ga,-n,-s,r),Nu("f2",i,t,Ga,n,-s,r),Nu("f3",i,t,Ga,-n,s,r),Nu("f4",i,t,Ga,n,s,r),Nu("u1",i,t,Ga,n*.7,s*1.1,o),Nu("u2",i,t,Ga,-n*.7,s*1.1,o),Nu("u3",i,t,Ga,0,s*2,o),Nu("cf1",i,t,Ga,-n,0,r),Nu("cf2",i,t,Ga,n,0,r),Nu("cf3",i,t,Ga,0,-s,r),Nu("cf4",i,t,Ga,0,s,r),Nu("cn1",i,t,Ga,-n,0,o),Nu("cn2",i,t,Ga,n,0,o),Nu("cn3",i,t,Ga,0,-s,o),Nu("cn4",i,t,Ga,0,s,o),t.getAttribute("position").needsUpdate=!0}dispose(){this.geometry.dispose(),this.material.dispose()}};function Nu(e,t,i,n,s,o,r){WW.set(s,o,r).unproject(n);let l=t[e];if(l!==void 0){let d=i.getAttribute("position");for(let h=0,p=l.length;h<p;h++)d.setXYZ(l[h],WW.x,WW.y,WW.z)}}var YW=new kn,FY=class extends xs{constructor(t,i=16776960){let n=new Uint16Array([0,1,1,2,2,3,3,0,4,5,5,6,6,7,7,4,0,4,1,5,2,6,3,7]),s=new Float32Array(24),o=new nn;o.setIndex(new Tn(n,1)),o.setAttribute("position",new Tn(s,3)),super(o,new Qo({color:i,toneMapped:!1})),this.object=t,this.type="BoxHelper",this.matrixAutoUpdate=!1,this.update()}update(){if(this.object!==void 0&&YW.setFromObject(this.object),YW.isEmpty())return;let t=YW.min,i=YW.max,n=this.geometry.attributes.position,s=n.array;s[0]=i.x,s[1]=i.y,s[2]=i.z,s[3]=t.x,s[4]=i.y,s[5]=i.z,s[6]=t.x,s[7]=t.y,s[8]=i.z,s[9]=i.x,s[10]=t.y,s[11]=i.z,s[12]=i.x,s[13]=i.y,s[14]=t.z,s[15]=t.x,s[16]=i.y,s[17]=t.z,s[18]=t.x,s[19]=t.y,s[20]=t.z,s[21]=i.x,s[22]=t.y,s[23]=t.z,n.needsUpdate=!0,this.geometry.computeBoundingSphere()}setFromObject(t){return this.object=t,this.update(),this}copy(t,i){return super.copy(t,i),this.object=t.object,this}dispose(){this.geometry.dispose(),this.material.dispose()}},UY=class extends xs{constructor(t,i=16776960){let n=new Uint16Array([0,1,1,2,2,3,3,0,4,5,5,6,6,7,7,4,0,4,1,5,2,6,3,7]),s=[1,1,1,-1,1,1,-1,-1,1,1,-1,1,1,1,-1,-1,1,-1,-1,-1,-1,1,-1,-1],o=new nn;o.setIndex(new Tn(n,1)),o.setAttribute("position",new ln(s,3)),super(o,new Qo({color:i,toneMapped:!1})),this.box=t,this.type="Box3Helper",this.geometry.computeBoundingSphere()}updateMatrixWorld(t){let i=this.box;i.isEmpty()||(i.getCenter(this.position),i.getSize(this.scale),this.scale.multiplyScalar(.5),super.updateMatrixWorld(t))}dispose(){this.geometry.dispose(),this.material.dispose()}},_C=class extends nr{constructor(t,i=1,n=16776960){let s=n,o=[1,-1,0,-1,1,0,-1,-1,0,1,1,0,-1,1,0,-1,-1,0,1,-1,0,1,1,0],r=new nn;r.setAttribute("position",new ln(o,3)),r.computeBoundingSphere(),super(r,new Qo({color:s,toneMapped:!1})),this.type="PlaneHelper",this.plane=t,this.size=i;let l=[1,1,0,-1,1,0,-1,-1,0,1,1,0,-1,-1,0,1,-1,0],d=new nn;d.setAttribute("position",new ln(l,3)),d.computeBoundingSphere(),this.add(new _i(d,new Ho({color:s,opacity:.2,transparent:!0,depthWrite:!1,toneMapped:!1})))}updateMatrixWorld(t){this.position.set(0,0,0),this.scale.set(.5*this.size,.5*this.size,1),this.lookAt(this.plane.normal),this.translateZ(-this.plane.constant),super.updateMatrixWorld(t)}dispose(){this.geometry.dispose(),this.material.dispose(),this.children[0].geometry.dispose(),this.children[0].material.dispose()}},Jhe=new ye,jW,ote,HY=class extends ps{constructor(t=new ye(0,0,1),i=new ye(0,0,0),n=1,s=16776960,o=n*.2,r=o*.2){super(),this.type="ArrowHelper",jW===void 0&&(jW=new nn,jW.setAttribute("position",new ln([0,0,0,0,1,0],3)),ote=new dP(.5,1,5,1),ote.translate(0,-.5,0)),this.position.copy(i),this.line=new nr(jW,new Qo({color:s,toneMapped:!1})),this.line.matrixAutoUpdate=!1,this.add(this.line),this.cone=new _i(ote,new Ho({color:s,toneMapped:!1})),this.cone.matrixAutoUpdate=!1,this.add(this.cone),this.setDirection(t),this.setLength(n,o,r)}setDirection(t){if(t.y>.99999)this.quaternion.set(0,0,0,1);else if(t.y<-.99999)this.quaternion.set(1,0,0,0);else{Jhe.set(t.z,0,-t.x).normalize();let i=Math.acos(t.y);this.quaternion.setFromAxisAngle(Jhe,i)}}setLength(t,i=t*.2,n=i*.2){this.line.scale.set(1,Math.max(1e-4,t-i),1),this.line.updateMatrix(),this.cone.scale.set(n,i,n),this.cone.position.y=t,this.cone.updateMatrix()}setColor(t){this.line.material.color.set(t),this.cone.material.color.set(t)}copy(t){return super.copy(t,!1),this.line.copy(t.line),this.cone.copy(t.cone),this}dispose(){this.line.geometry.dispose(),this.line.material.dispose(),this.cone.geometry.dispose(),this.cone.material.dispose()}},GY=class extends xs{constructor(t=1){let i=[0,0,0,t,0,0,0,0,0,0,t,0,0,0,0,0,0,t],n=[1,0,0,1,.6,0,0,1,0,.6,1,0,0,0,1,0,.6,1],s=new nn;s.setAttribute("position",new ln(i,3)),s.setAttribute("color",new ln(n,3));let o=new Qo({vertexColors:!0,toneMapped:!1});super(s,o),this.type="AxesHelper"}setColors(t,i,n){let s=new Oi,o=this.geometry.attributes.color.array;return s.set(t),s.toArray(o,0),s.toArray(o,3),s.set(i),s.toArray(o,6),s.toArray(o,9),s.set(n),s.toArray(o,12),s.toArray(o,15),this.geometry.attributes.color.needsUpdate=!0,this}dispose(){this.geometry.dispose(),this.material.dispose()}},VY=class{constructor(){this.type="ShapePath",this.color=new Oi,this.subPaths=[],this.currentPath=null}moveTo(t,i){return this.currentPath=new dC,this.subPaths.push(this.currentPath),this.currentPath.moveTo(t,i),this}lineTo(t,i){return this.currentPath.lineTo(t,i),this}quadraticCurveTo(t,i,n,s){return this.currentPath.quadraticCurveTo(t,i,n,s),this}bezierCurveTo(t,i,n,s,o,r){return this.currentPath.bezierCurveTo(t,i,n,s,o,r),this}splineThru(t){return this.currentPath.splineThru(t),this}toShapes(t){function i(A){let O=[];for(let P=0,U=A.length;P<U;P++){let Z=A[P],ne=new Jg;ne.curves=Z.curves,O.push(ne)}return O}function n(A,O){let P=O.length,U=!1;for(let Z=P-1,ne=0;ne<P;Z=ne++){let K=O[Z],oe=O[ne],se=oe.x-K.x,he=oe.y-K.y;if(Math.abs(he)>Number.EPSILON){if(he<0&&(K=O[ne],se=-se,oe=O[Z],he=-he),A.y<K.y||A.y>oe.y)continue;if(A.y===K.y){if(A.x===K.x)return!0}else{let Re=he*(A.x-K.x)-se*(A.y-K.y);if(Re===0)return!0;if(Re<0)continue;U=!U}}else{if(A.y!==K.y)continue;if(oe.x<=A.x&&A.x<=K.x||K.x<=A.x&&A.x<=oe.x)return!0}}return U}let s=Iy.isClockWise,o=this.subPaths;if(o.length===0)return[];let r,l,d,h=[];if(o.length===1)return l=o[0],d=new Jg,d.curves=l.curves,h.push(d),h;let p=!s(o[0].getPoints());p=t?!p:p;let I=[],m=[],y=[],T=0,R;m[T]=void 0,y[T]=[];for(let A=0,O=o.length;A<O;A++)l=o[A],R=l.getPoints(),r=s(R),r=t?!r:r,r?(!p&&m[T]&&T++,m[T]={s:new Jg,p:R},m[T].s.curves=l.curves,p&&T++,y[T]=[]):y[T].push({h:l,p:R[0]});if(!m[0])return i(o);if(m.length>1){let A=!1,O=0;for(let P=0,U=m.length;P<U;P++)I[P]=[];for(let P=0,U=m.length;P<U;P++){let Z=y[P];for(let ne=0;ne<Z.length;ne++){let K=Z[ne],oe=!0;for(let se=0;se<m.length;se++)n(K.p,m[se].p)&&(P!==se&&O++,oe?(oe=!1,I[se].push(K)):A=!0);oe&&I[P].push(K)}}O>0&&A===!1&&(y=I)}let b;for(let A=0,O=m.length;A<O;A++){d=m[A].s,h.push(d),b=y[A];for(let P=0,U=b.length;P<U;P++)d.holes.push(b[P].h)}return h}},CP=class extends jc{constructor(t,i=null){super(),this.object=t,this.domElement=i,this.enabled=!0,this.state=-1,this.keys={},this.mouseButtons={LEFT:null,MIDDLE:null,RIGHT:null},this.touches={ONE:null,TWO:null}}connect(t){if(t===void 0){ci("Controls: connect() now requires an element.");return}this.domElement!==null&&this.disconnect(),this.domElement=t}disconnect(){}dispose(){}update(){}};function TSe(e,t){let i=e.image&&e.image.width?e.image.width/e.image.height:1;return i>t?(e.repeat.x=1,e.repeat.y=i/t,e.offset.x=0,e.offset.y=(1-e.repeat.y)/2):(e.repeat.x=t/i,e.repeat.y=1,e.offset.x=(1-e.repeat.x)/2,e.offset.y=0),e}function gSe(e,t){let i=e.image&&e.image.width?e.image.width/e.image.height:1;return i>t?(e.repeat.x=t/i,e.repeat.y=1,e.offset.x=(1-e.repeat.x)/2,e.offset.y=0):(e.repeat.x=1,e.repeat.y=i/t,e.offset.x=0,e.offset.y=(1-e.repeat.y)/2),e}function wSe(e){return e.repeat.x=1,e.repeat.y=1,e.offset.x=0,e.offset.y=0,e}function t7(e,t,i,n){let s=vSe(n);switch(i){case xC:return e*t;case uw:return e*t/s.components*s.byteLength;case HT:return e*t/s.components*s.byteLength;case Dc:return e*t*2/s.components*s.byteLength;case cw:return e*t*2/s.components*s.byteLength;case tR:return e*t*3/s.components*s.byteLength;case Ko:return e*t*4/s.components*s.byteLength;case iR:return e*t*4/s.components*s.byteLength;case GT:case VT:return Math.floor((e+3)/4)*Math.floor((t+3)/4)*8;case kT:case zT:return Math.floor((e+3)/4)*Math.floor((t+3)/4)*16;case Zb:case Qb:return Math.max(e,16)*Math.max(t,8)/4;case $b:case Kb:return Math.max(e,8)*Math.max(t,8)/2;case nR:case sR:case rR:case lR:return Math.floor((e+3)/4)*Math.floor((t+3)/4)*8;case oR:case WT:case aR:return Math.floor((e+3)/4)*Math.floor((t+3)/4)*16;case uR:return Math.floor((e+3)/4)*Math.floor((t+3)/4)*16;case cR:return Math.floor((e+4)/5)*Math.floor((t+3)/4)*16;case dR:return Math.floor((e+4)/5)*Math.floor((t+4)/5)*16;case hR:return Math.floor((e+5)/6)*Math.floor((t+4)/5)*16;case fR:return Math.floor((e+5)/6)*Math.floor((t+5)/6)*16;case pR:return Math.floor((e+7)/8)*Math.floor((t+4)/5)*16;case IR:return Math.floor((e+7)/8)*Math.floor((t+5)/6)*16;case mR:return Math.floor((e+7)/8)*Math.floor((t+7)/8)*16;case yR:return Math.floor((e+9)/10)*Math.floor((t+4)/5)*16;case ER:return Math.floor((e+9)/10)*Math.floor((t+5)/6)*16;case TR:return Math.floor((e+9)/10)*Math.floor((t+7)/8)*16;case gR:return Math.floor((e+9)/10)*Math.floor((t+9)/10)*16;case wR:return Math.floor((e+11)/12)*Math.floor((t+9)/10)*16;case vR:return Math.floor((e+11)/12)*Math.floor((t+11)/12)*16;case RR:case rG:case lG:return Math.ceil(e/4)*Math.ceil(t/4)*16;case SR:case AR:return Math.ceil(e/4)*Math.ceil(t/4)*8;case YT:case bR:return Math.ceil(e/4)*Math.ceil(t/4)*16}throw new Error(`Unable to determine texture byte length for ${i} format.`)}function vSe(e){switch(e){case Lo:case FT:return{byteLength:1,components:1};case mh:case UT:case sr:return{byteLength:2,components:1};case Wb:case Yb:return{byteLength:2,components:4};case co:case Ya:case Ro:return{byteLength:4,components:1};case jb:case qb:return{byteLength:4,components:3}}throw new Error(`Unknown texture type ${e}.`)}var kY=class{static contain(t,i){return TSe(t,i)}static cover(t,i){return gSe(t,i)}static fill(t){return wSe(t)}static getByteLength(t,i,n,s){return t7(t,i,n,s)}};typeof __THREE_DEVTOOLS__<"u"&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("register",{detail:{revision:"184"}}));typeof window<"u"&&(window.__THREE__?ci("WARNING: Multiple instances of Three.js being imported."):window.__THREE__="184");function epe(){let e=null,t=!1,i=null,n=null;function s(o,r){i(o,r),n=e.requestAnimationFrame(s)}return{start:function(){t!==!0&&i!==null&&e!==null&&(n=e.requestAnimationFrame(s),t=!0)},stop:function(){e!==null&&e.cancelAnimationFrame(n),t=!1},setAnimationLoop:function(o){i=o},setContext:function(o){e=o}}}function RSe(e){let t=new WeakMap;function i(l,d){let h=l.array,p=l.usage,I=h.byteLength,m=e.createBuffer();e.bindBuffer(d,m),e.bufferData(d,h,p),l.onUploadCallback();let y;if(h instanceof Float32Array)y=e.FLOAT;else if(typeof Float16Array<"u"&&h instanceof Float16Array)y=e.HALF_FLOAT;else if(h instanceof Uint16Array)l.isFloat16BufferAttribute?y=e.HALF_FLOAT:y=e.UNSIGNED_SHORT;else if(h instanceof Int16Array)y=e.SHORT;else if(h instanceof Uint32Array)y=e.UNSIGNED_INT;else if(h instanceof Int32Array)y=e.INT;else if(h instanceof Int8Array)y=e.BYTE;else if(h instanceof Uint8Array)y=e.UNSIGNED_BYTE;else if(h instanceof Uint8ClampedArray)y=e.UNSIGNED_BYTE;else throw new Error("THREE.WebGLAttributes: Unsupported buffer data format: "+h);return{buffer:m,type:y,bytesPerElement:h.BYTES_PER_ELEMENT,version:l.version,size:I}}function n(l,d,h){let p=d.array,I=d.updateRanges;if(e.bindBuffer(h,l),I.length===0)e.bufferSubData(h,0,p);else{I.sort((y,T)=>y.start-T.start);let m=0;for(let y=1;y<I.length;y++){let T=I[m],R=I[y];R.start<=T.start+T.count+1?T.count=Math.max(T.count,R.start+R.count-T.start):(++m,I[m]=R)}I.length=m+1;for(let y=0,T=I.length;y<T;y++){let R=I[y];e.bufferSubData(h,R.start*p.BYTES_PER_ELEMENT,p,R.start,R.count)}d.clearUpdateRanges()}d.onUploadCallback()}function s(l){return l.isInterleavedBufferAttribute&&(l=l.data),t.get(l)}function o(l){l.isInterleavedBufferAttribute&&(l=l.data);let d=t.get(l);d&&(e.deleteBuffer(d.buffer),t.delete(l))}function r(l,d){if(l.isInterleavedBufferAttribute&&(l=l.data),l.isGLBufferAttribute){let p=t.get(l);(!p||p.version<l.version)&&t.set(l,{buffer:l.buffer,type:l.type,bytesPerElement:l.elementSize,version:l.version});return}let h=t.get(l);if(h===void 0)t.set(l,i(l,d));else if(h.version<l.version){if(h.size!==l.array.byteLength)throw new Error("THREE.WebGLAttributes: The size of the buffer attribute's array buffer does not match the original size. Resizing buffer attributes is not supported.");n(h.buffer,l,d),h.version=l.version}}return{get:s,remove:o,update:r}}var SSe=`#ifdef USE_ALPHAHASH
|
||
if ( diffuseColor.a < getAlphaHashThreshold( vPosition ) ) discard;
|
||
#endif`,ASe=`#ifdef USE_ALPHAHASH
|
||
const float ALPHA_HASH_SCALE = 0.05;
|
||
float hash2D( vec2 value ) {
|
||
return fract( 1.0e4 * sin( 17.0 * value.x + 0.1 * value.y ) * ( 0.1 + abs( sin( 13.0 * value.y + value.x ) ) ) );
|
||
}
|
||
float hash3D( vec3 value ) {
|
||
return hash2D( vec2( hash2D( value.xy ), value.z ) );
|
||
}
|
||
float getAlphaHashThreshold( vec3 position ) {
|
||
float maxDeriv = max(
|
||
length( dFdx( position.xyz ) ),
|
||
length( dFdy( position.xyz ) )
|
||
);
|
||
float pixScale = 1.0 / ( ALPHA_HASH_SCALE * maxDeriv );
|
||
vec2 pixScales = vec2(
|
||
exp2( floor( log2( pixScale ) ) ),
|
||
exp2( ceil( log2( pixScale ) ) )
|
||
);
|
||
vec2 alpha = vec2(
|
||
hash3D( floor( pixScales.x * position.xyz ) ),
|
||
hash3D( floor( pixScales.y * position.xyz ) )
|
||
);
|
||
float lerpFactor = fract( log2( pixScale ) );
|
||
float x = ( 1.0 - lerpFactor ) * alpha.x + lerpFactor * alpha.y;
|
||
float a = min( lerpFactor, 1.0 - lerpFactor );
|
||
vec3 cases = vec3(
|
||
x * x / ( 2.0 * a * ( 1.0 - a ) ),
|
||
( x - 0.5 * a ) / ( 1.0 - a ),
|
||
1.0 - ( ( 1.0 - x ) * ( 1.0 - x ) / ( 2.0 * a * ( 1.0 - a ) ) )
|
||
);
|
||
float threshold = ( x < ( 1.0 - a ) )
|
||
? ( ( x < a ) ? cases.x : cases.y )
|
||
: cases.z;
|
||
return clamp( threshold , 1.0e-6, 1.0 );
|
||
}
|
||
#endif`,bSe=`#ifdef USE_ALPHAMAP
|
||
diffuseColor.a *= texture2D( alphaMap, vAlphaMapUv ).g;
|
||
#endif`,NSe=`#ifdef USE_ALPHAMAP
|
||
uniform sampler2D alphaMap;
|
||
#endif`,_Se=`#ifdef USE_ALPHATEST
|
||
#ifdef ALPHA_TO_COVERAGE
|
||
diffuseColor.a = smoothstep( alphaTest, alphaTest + fwidth( diffuseColor.a ), diffuseColor.a );
|
||
if ( diffuseColor.a == 0.0 ) discard;
|
||
#else
|
||
if ( diffuseColor.a < alphaTest ) discard;
|
||
#endif
|
||
#endif`,DSe=`#ifdef USE_ALPHATEST
|
||
uniform float alphaTest;
|
||
#endif`,CSe=`#ifdef USE_AOMAP
|
||
float ambientOcclusion = ( texture2D( aoMap, vAoMapUv ).r - 1.0 ) * aoMapIntensity + 1.0;
|
||
reflectedLight.indirectDiffuse *= ambientOcclusion;
|
||
#if defined( USE_CLEARCOAT )
|
||
clearcoatSpecularIndirect *= ambientOcclusion;
|
||
#endif
|
||
#if defined( USE_SHEEN )
|
||
sheenSpecularIndirect *= ambientOcclusion;
|
||
#endif
|
||
#if defined( USE_ENVMAP ) && defined( STANDARD )
|
||
float dotNV = saturate( dot( geometryNormal, geometryViewDir ) );
|
||
reflectedLight.indirectSpecular *= computeSpecularOcclusion( dotNV, ambientOcclusion, material.roughness );
|
||
#endif
|
||
#endif`,xSe=`#ifdef USE_AOMAP
|
||
uniform sampler2D aoMap;
|
||
uniform float aoMapIntensity;
|
||
#endif`,OSe=`#ifdef USE_BATCHING
|
||
#if ! defined( GL_ANGLE_multi_draw )
|
||
#define gl_DrawID _gl_DrawID
|
||
uniform int _gl_DrawID;
|
||
#endif
|
||
uniform highp sampler2D batchingTexture;
|
||
uniform highp usampler2D batchingIdTexture;
|
||
mat4 getBatchingMatrix( const in float i ) {
|
||
int size = textureSize( batchingTexture, 0 ).x;
|
||
int j = int( i ) * 4;
|
||
int x = j % size;
|
||
int y = j / size;
|
||
vec4 v1 = texelFetch( batchingTexture, ivec2( x, y ), 0 );
|
||
vec4 v2 = texelFetch( batchingTexture, ivec2( x + 1, y ), 0 );
|
||
vec4 v3 = texelFetch( batchingTexture, ivec2( x + 2, y ), 0 );
|
||
vec4 v4 = texelFetch( batchingTexture, ivec2( x + 3, y ), 0 );
|
||
return mat4( v1, v2, v3, v4 );
|
||
}
|
||
float getIndirectIndex( const in int i ) {
|
||
int size = textureSize( batchingIdTexture, 0 ).x;
|
||
int x = i % size;
|
||
int y = i / size;
|
||
return float( texelFetch( batchingIdTexture, ivec2( x, y ), 0 ).r );
|
||
}
|
||
#endif
|
||
#ifdef USE_BATCHING_COLOR
|
||
uniform sampler2D batchingColorTexture;
|
||
vec4 getBatchingColor( const in float i ) {
|
||
int size = textureSize( batchingColorTexture, 0 ).x;
|
||
int j = int( i );
|
||
int x = j % size;
|
||
int y = j / size;
|
||
return texelFetch( batchingColorTexture, ivec2( x, y ), 0 );
|
||
}
|
||
#endif`,LSe=`#ifdef USE_BATCHING
|
||
mat4 batchingMatrix = getBatchingMatrix( getIndirectIndex( gl_DrawID ) );
|
||
#endif`,PSe=`vec3 transformed = vec3( position );
|
||
#ifdef USE_ALPHAHASH
|
||
vPosition = vec3( position );
|
||
#endif`,MSe=`vec3 objectNormal = vec3( normal );
|
||
#ifdef USE_TANGENT
|
||
vec3 objectTangent = vec3( tangent.xyz );
|
||
#endif`,BSe=`float G_BlinnPhong_Implicit( ) {
|
||
return 0.25;
|
||
}
|
||
float D_BlinnPhong( const in float shininess, const in float dotNH ) {
|
||
return RECIPROCAL_PI * ( shininess * 0.5 + 1.0 ) * pow( dotNH, shininess );
|
||
}
|
||
vec3 BRDF_BlinnPhong( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, const in vec3 specularColor, const in float shininess ) {
|
||
vec3 halfDir = normalize( lightDir + viewDir );
|
||
float dotNH = saturate( dot( normal, halfDir ) );
|
||
float dotVH = saturate( dot( viewDir, halfDir ) );
|
||
vec3 F = F_Schlick( specularColor, 1.0, dotVH );
|
||
float G = G_BlinnPhong_Implicit( );
|
||
float D = D_BlinnPhong( shininess, dotNH );
|
||
return F * ( G * D );
|
||
} // validated`,FSe=`#ifdef USE_IRIDESCENCE
|
||
const mat3 XYZ_TO_REC709 = mat3(
|
||
3.2404542, -0.9692660, 0.0556434,
|
||
-1.5371385, 1.8760108, -0.2040259,
|
||
-0.4985314, 0.0415560, 1.0572252
|
||
);
|
||
vec3 Fresnel0ToIor( vec3 fresnel0 ) {
|
||
vec3 sqrtF0 = sqrt( fresnel0 );
|
||
return ( vec3( 1.0 ) + sqrtF0 ) / ( vec3( 1.0 ) - sqrtF0 );
|
||
}
|
||
vec3 IorToFresnel0( vec3 transmittedIor, float incidentIor ) {
|
||
return pow2( ( transmittedIor - vec3( incidentIor ) ) / ( transmittedIor + vec3( incidentIor ) ) );
|
||
}
|
||
float IorToFresnel0( float transmittedIor, float incidentIor ) {
|
||
return pow2( ( transmittedIor - incidentIor ) / ( transmittedIor + incidentIor ));
|
||
}
|
||
vec3 evalSensitivity( float OPD, vec3 shift ) {
|
||
float phase = 2.0 * PI * OPD * 1.0e-9;
|
||
vec3 val = vec3( 5.4856e-13, 4.4201e-13, 5.2481e-13 );
|
||
vec3 pos = vec3( 1.6810e+06, 1.7953e+06, 2.2084e+06 );
|
||
vec3 var = vec3( 4.3278e+09, 9.3046e+09, 6.6121e+09 );
|
||
vec3 xyz = val * sqrt( 2.0 * PI * var ) * cos( pos * phase + shift ) * exp( - pow2( phase ) * var );
|
||
xyz.x += 9.7470e-14 * sqrt( 2.0 * PI * 4.5282e+09 ) * cos( 2.2399e+06 * phase + shift[ 0 ] ) * exp( - 4.5282e+09 * pow2( phase ) );
|
||
xyz /= 1.0685e-7;
|
||
vec3 rgb = XYZ_TO_REC709 * xyz;
|
||
return rgb;
|
||
}
|
||
vec3 evalIridescence( float outsideIOR, float eta2, float cosTheta1, float thinFilmThickness, vec3 baseF0 ) {
|
||
vec3 I;
|
||
float iridescenceIOR = mix( outsideIOR, eta2, smoothstep( 0.0, 0.03, thinFilmThickness ) );
|
||
float sinTheta2Sq = pow2( outsideIOR / iridescenceIOR ) * ( 1.0 - pow2( cosTheta1 ) );
|
||
float cosTheta2Sq = 1.0 - sinTheta2Sq;
|
||
if ( cosTheta2Sq < 0.0 ) {
|
||
return vec3( 1.0 );
|
||
}
|
||
float cosTheta2 = sqrt( cosTheta2Sq );
|
||
float R0 = IorToFresnel0( iridescenceIOR, outsideIOR );
|
||
float R12 = F_Schlick( R0, 1.0, cosTheta1 );
|
||
float T121 = 1.0 - R12;
|
||
float phi12 = 0.0;
|
||
if ( iridescenceIOR < outsideIOR ) phi12 = PI;
|
||
float phi21 = PI - phi12;
|
||
vec3 baseIOR = Fresnel0ToIor( clamp( baseF0, 0.0, 0.9999 ) ); vec3 R1 = IorToFresnel0( baseIOR, iridescenceIOR );
|
||
vec3 R23 = F_Schlick( R1, 1.0, cosTheta2 );
|
||
vec3 phi23 = vec3( 0.0 );
|
||
if ( baseIOR[ 0 ] < iridescenceIOR ) phi23[ 0 ] = PI;
|
||
if ( baseIOR[ 1 ] < iridescenceIOR ) phi23[ 1 ] = PI;
|
||
if ( baseIOR[ 2 ] < iridescenceIOR ) phi23[ 2 ] = PI;
|
||
float OPD = 2.0 * iridescenceIOR * thinFilmThickness * cosTheta2;
|
||
vec3 phi = vec3( phi21 ) + phi23;
|
||
vec3 R123 = clamp( R12 * R23, 1e-5, 0.9999 );
|
||
vec3 r123 = sqrt( R123 );
|
||
vec3 Rs = pow2( T121 ) * R23 / ( vec3( 1.0 ) - R123 );
|
||
vec3 C0 = R12 + Rs;
|
||
I = C0;
|
||
vec3 Cm = Rs - T121;
|
||
for ( int m = 1; m <= 2; ++ m ) {
|
||
Cm *= r123;
|
||
vec3 Sm = 2.0 * evalSensitivity( float( m ) * OPD, float( m ) * phi );
|
||
I += Cm * Sm;
|
||
}
|
||
return max( I, vec3( 0.0 ) );
|
||
}
|
||
#endif`,USe=`#ifdef USE_BUMPMAP
|
||
uniform sampler2D bumpMap;
|
||
uniform float bumpScale;
|
||
vec2 dHdxy_fwd() {
|
||
vec2 dSTdx = dFdx( vBumpMapUv );
|
||
vec2 dSTdy = dFdy( vBumpMapUv );
|
||
float Hll = bumpScale * texture2D( bumpMap, vBumpMapUv ).x;
|
||
float dBx = bumpScale * texture2D( bumpMap, vBumpMapUv + dSTdx ).x - Hll;
|
||
float dBy = bumpScale * texture2D( bumpMap, vBumpMapUv + dSTdy ).x - Hll;
|
||
return vec2( dBx, dBy );
|
||
}
|
||
vec3 perturbNormalArb( vec3 surf_pos, vec3 surf_norm, vec2 dHdxy, float faceDirection ) {
|
||
vec3 vSigmaX = normalize( dFdx( surf_pos.xyz ) );
|
||
vec3 vSigmaY = normalize( dFdy( surf_pos.xyz ) );
|
||
vec3 vN = surf_norm;
|
||
vec3 R1 = cross( vSigmaY, vN );
|
||
vec3 R2 = cross( vN, vSigmaX );
|
||
float fDet = dot( vSigmaX, R1 ) * faceDirection;
|
||
vec3 vGrad = sign( fDet ) * ( dHdxy.x * R1 + dHdxy.y * R2 );
|
||
return normalize( abs( fDet ) * surf_norm - vGrad );
|
||
}
|
||
#endif`,HSe=`#if NUM_CLIPPING_PLANES > 0
|
||
vec4 plane;
|
||
#ifdef ALPHA_TO_COVERAGE
|
||
float distanceToPlane, distanceGradient;
|
||
float clipOpacity = 1.0;
|
||
#pragma unroll_loop_start
|
||
for ( int i = 0; i < UNION_CLIPPING_PLANES; i ++ ) {
|
||
plane = clippingPlanes[ i ];
|
||
distanceToPlane = - dot( vClipPosition, plane.xyz ) + plane.w;
|
||
distanceGradient = fwidth( distanceToPlane ) / 2.0;
|
||
clipOpacity *= smoothstep( - distanceGradient, distanceGradient, distanceToPlane );
|
||
if ( clipOpacity == 0.0 ) discard;
|
||
}
|
||
#pragma unroll_loop_end
|
||
#if UNION_CLIPPING_PLANES < NUM_CLIPPING_PLANES
|
||
float unionClipOpacity = 1.0;
|
||
#pragma unroll_loop_start
|
||
for ( int i = UNION_CLIPPING_PLANES; i < NUM_CLIPPING_PLANES; i ++ ) {
|
||
plane = clippingPlanes[ i ];
|
||
distanceToPlane = - dot( vClipPosition, plane.xyz ) + plane.w;
|
||
distanceGradient = fwidth( distanceToPlane ) / 2.0;
|
||
unionClipOpacity *= 1.0 - smoothstep( - distanceGradient, distanceGradient, distanceToPlane );
|
||
}
|
||
#pragma unroll_loop_end
|
||
clipOpacity *= 1.0 - unionClipOpacity;
|
||
#endif
|
||
diffuseColor.a *= clipOpacity;
|
||
if ( diffuseColor.a == 0.0 ) discard;
|
||
#else
|
||
#pragma unroll_loop_start
|
||
for ( int i = 0; i < UNION_CLIPPING_PLANES; i ++ ) {
|
||
plane = clippingPlanes[ i ];
|
||
if ( dot( vClipPosition, plane.xyz ) > plane.w ) discard;
|
||
}
|
||
#pragma unroll_loop_end
|
||
#if UNION_CLIPPING_PLANES < NUM_CLIPPING_PLANES
|
||
bool clipped = true;
|
||
#pragma unroll_loop_start
|
||
for ( int i = UNION_CLIPPING_PLANES; i < NUM_CLIPPING_PLANES; i ++ ) {
|
||
plane = clippingPlanes[ i ];
|
||
clipped = ( dot( vClipPosition, plane.xyz ) > plane.w ) && clipped;
|
||
}
|
||
#pragma unroll_loop_end
|
||
if ( clipped ) discard;
|
||
#endif
|
||
#endif
|
||
#endif`,GSe=`#if NUM_CLIPPING_PLANES > 0
|
||
varying vec3 vClipPosition;
|
||
uniform vec4 clippingPlanes[ NUM_CLIPPING_PLANES ];
|
||
#endif`,VSe=`#if NUM_CLIPPING_PLANES > 0
|
||
varying vec3 vClipPosition;
|
||
#endif`,kSe=`#if NUM_CLIPPING_PLANES > 0
|
||
vClipPosition = - mvPosition.xyz;
|
||
#endif`,zSe=`#if defined( USE_COLOR ) || defined( USE_COLOR_ALPHA )
|
||
diffuseColor *= vColor;
|
||
#endif`,WSe=`#if defined( USE_COLOR ) || defined( USE_COLOR_ALPHA )
|
||
varying vec4 vColor;
|
||
#endif`,YSe=`#if defined( USE_COLOR ) || defined( USE_COLOR_ALPHA ) || defined( USE_INSTANCING_COLOR ) || defined( USE_BATCHING_COLOR )
|
||
varying vec4 vColor;
|
||
#endif`,jSe=`#if defined( USE_COLOR ) || defined( USE_COLOR_ALPHA ) || defined( USE_INSTANCING_COLOR ) || defined( USE_BATCHING_COLOR )
|
||
vColor = vec4( 1.0 );
|
||
#endif
|
||
#ifdef USE_COLOR_ALPHA
|
||
vColor *= color;
|
||
#elif defined( USE_COLOR )
|
||
vColor.rgb *= color;
|
||
#endif
|
||
#ifdef USE_INSTANCING_COLOR
|
||
vColor.rgb *= instanceColor.rgb;
|
||
#endif
|
||
#ifdef USE_BATCHING_COLOR
|
||
vColor *= getBatchingColor( getIndirectIndex( gl_DrawID ) );
|
||
#endif`,qSe=`#define PI 3.141592653589793
|
||
#define PI2 6.283185307179586
|
||
#define PI_HALF 1.5707963267948966
|
||
#define RECIPROCAL_PI 0.3183098861837907
|
||
#define RECIPROCAL_PI2 0.15915494309189535
|
||
#define EPSILON 1e-6
|
||
#ifndef saturate
|
||
#define saturate( a ) clamp( a, 0.0, 1.0 )
|
||
#endif
|
||
#define whiteComplement( a ) ( 1.0 - saturate( a ) )
|
||
float pow2( const in float x ) { return x*x; }
|
||
vec3 pow2( const in vec3 x ) { return x*x; }
|
||
float pow3( const in float x ) { return x*x*x; }
|
||
float pow4( const in float x ) { float x2 = x*x; return x2*x2; }
|
||
float max3( const in vec3 v ) { return max( max( v.x, v.y ), v.z ); }
|
||
float average( const in vec3 v ) { return dot( v, vec3( 0.3333333 ) ); }
|
||
highp float rand( const in vec2 uv ) {
|
||
const highp float a = 12.9898, b = 78.233, c = 43758.5453;
|
||
highp float dt = dot( uv.xy, vec2( a,b ) ), sn = mod( dt, PI );
|
||
return fract( sin( sn ) * c );
|
||
}
|
||
#ifdef HIGH_PRECISION
|
||
float precisionSafeLength( vec3 v ) { return length( v ); }
|
||
#else
|
||
float precisionSafeLength( vec3 v ) {
|
||
float maxComponent = max3( abs( v ) );
|
||
return length( v / maxComponent ) * maxComponent;
|
||
}
|
||
#endif
|
||
struct IncidentLight {
|
||
vec3 color;
|
||
vec3 direction;
|
||
bool visible;
|
||
};
|
||
struct ReflectedLight {
|
||
vec3 directDiffuse;
|
||
vec3 directSpecular;
|
||
vec3 indirectDiffuse;
|
||
vec3 indirectSpecular;
|
||
};
|
||
#ifdef USE_ALPHAHASH
|
||
varying vec3 vPosition;
|
||
#endif
|
||
vec3 transformDirection( in vec3 dir, in mat4 matrix ) {
|
||
return normalize( ( matrix * vec4( dir, 0.0 ) ).xyz );
|
||
}
|
||
vec3 inverseTransformDirection( in vec3 dir, in mat4 matrix ) {
|
||
return normalize( ( vec4( dir, 0.0 ) * matrix ).xyz );
|
||
}
|
||
bool isPerspectiveMatrix( mat4 m ) {
|
||
return m[ 2 ][ 3 ] == - 1.0;
|
||
}
|
||
vec2 equirectUv( in vec3 dir ) {
|
||
float u = atan( dir.z, dir.x ) * RECIPROCAL_PI2 + 0.5;
|
||
float v = asin( clamp( dir.y, - 1.0, 1.0 ) ) * RECIPROCAL_PI + 0.5;
|
||
return vec2( u, v );
|
||
}
|
||
vec3 BRDF_Lambert( const in vec3 diffuseColor ) {
|
||
return RECIPROCAL_PI * diffuseColor;
|
||
}
|
||
vec3 F_Schlick( const in vec3 f0, const in float f90, const in float dotVH ) {
|
||
float fresnel = exp2( ( - 5.55473 * dotVH - 6.98316 ) * dotVH );
|
||
return f0 * ( 1.0 - fresnel ) + ( f90 * fresnel );
|
||
}
|
||
float F_Schlick( const in float f0, const in float f90, const in float dotVH ) {
|
||
float fresnel = exp2( ( - 5.55473 * dotVH - 6.98316 ) * dotVH );
|
||
return f0 * ( 1.0 - fresnel ) + ( f90 * fresnel );
|
||
} // validated`,$Se=`#ifdef ENVMAP_TYPE_CUBE_UV
|
||
#define cubeUV_minMipLevel 4.0
|
||
#define cubeUV_minTileSize 16.0
|
||
float getFace( vec3 direction ) {
|
||
vec3 absDirection = abs( direction );
|
||
float face = - 1.0;
|
||
if ( absDirection.x > absDirection.z ) {
|
||
if ( absDirection.x > absDirection.y )
|
||
face = direction.x > 0.0 ? 0.0 : 3.0;
|
||
else
|
||
face = direction.y > 0.0 ? 1.0 : 4.0;
|
||
} else {
|
||
if ( absDirection.z > absDirection.y )
|
||
face = direction.z > 0.0 ? 2.0 : 5.0;
|
||
else
|
||
face = direction.y > 0.0 ? 1.0 : 4.0;
|
||
}
|
||
return face;
|
||
}
|
||
vec2 getUV( vec3 direction, float face ) {
|
||
vec2 uv;
|
||
if ( face == 0.0 ) {
|
||
uv = vec2( direction.z, direction.y ) / abs( direction.x );
|
||
} else if ( face == 1.0 ) {
|
||
uv = vec2( - direction.x, - direction.z ) / abs( direction.y );
|
||
} else if ( face == 2.0 ) {
|
||
uv = vec2( - direction.x, direction.y ) / abs( direction.z );
|
||
} else if ( face == 3.0 ) {
|
||
uv = vec2( - direction.z, direction.y ) / abs( direction.x );
|
||
} else if ( face == 4.0 ) {
|
||
uv = vec2( - direction.x, direction.z ) / abs( direction.y );
|
||
} else {
|
||
uv = vec2( direction.x, direction.y ) / abs( direction.z );
|
||
}
|
||
return 0.5 * ( uv + 1.0 );
|
||
}
|
||
vec3 bilinearCubeUV( sampler2D envMap, vec3 direction, float mipInt ) {
|
||
float face = getFace( direction );
|
||
float filterInt = max( cubeUV_minMipLevel - mipInt, 0.0 );
|
||
mipInt = max( mipInt, cubeUV_minMipLevel );
|
||
float faceSize = exp2( mipInt );
|
||
highp vec2 uv = getUV( direction, face ) * ( faceSize - 2.0 ) + 1.0;
|
||
if ( face > 2.0 ) {
|
||
uv.y += faceSize;
|
||
face -= 3.0;
|
||
}
|
||
uv.x += face * faceSize;
|
||
uv.x += filterInt * 3.0 * cubeUV_minTileSize;
|
||
uv.y += 4.0 * ( exp2( CUBEUV_MAX_MIP ) - faceSize );
|
||
uv.x *= CUBEUV_TEXEL_WIDTH;
|
||
uv.y *= CUBEUV_TEXEL_HEIGHT;
|
||
#ifdef texture2DGradEXT
|
||
return texture2DGradEXT( envMap, uv, vec2( 0.0 ), vec2( 0.0 ) ).rgb;
|
||
#else
|
||
return texture2D( envMap, uv ).rgb;
|
||
#endif
|
||
}
|
||
#define cubeUV_r0 1.0
|
||
#define cubeUV_m0 - 2.0
|
||
#define cubeUV_r1 0.8
|
||
#define cubeUV_m1 - 1.0
|
||
#define cubeUV_r4 0.4
|
||
#define cubeUV_m4 2.0
|
||
#define cubeUV_r5 0.305
|
||
#define cubeUV_m5 3.0
|
||
#define cubeUV_r6 0.21
|
||
#define cubeUV_m6 4.0
|
||
float roughnessToMip( float roughness ) {
|
||
float mip = 0.0;
|
||
if ( roughness >= cubeUV_r1 ) {
|
||
mip = ( cubeUV_r0 - roughness ) * ( cubeUV_m1 - cubeUV_m0 ) / ( cubeUV_r0 - cubeUV_r1 ) + cubeUV_m0;
|
||
} else if ( roughness >= cubeUV_r4 ) {
|
||
mip = ( cubeUV_r1 - roughness ) * ( cubeUV_m4 - cubeUV_m1 ) / ( cubeUV_r1 - cubeUV_r4 ) + cubeUV_m1;
|
||
} else if ( roughness >= cubeUV_r5 ) {
|
||
mip = ( cubeUV_r4 - roughness ) * ( cubeUV_m5 - cubeUV_m4 ) / ( cubeUV_r4 - cubeUV_r5 ) + cubeUV_m4;
|
||
} else if ( roughness >= cubeUV_r6 ) {
|
||
mip = ( cubeUV_r5 - roughness ) * ( cubeUV_m6 - cubeUV_m5 ) / ( cubeUV_r5 - cubeUV_r6 ) + cubeUV_m5;
|
||
} else {
|
||
mip = - 2.0 * log2( 1.16 * roughness ); }
|
||
return mip;
|
||
}
|
||
vec4 textureCubeUV( sampler2D envMap, vec3 sampleDir, float roughness ) {
|
||
float mip = clamp( roughnessToMip( roughness ), cubeUV_m0, CUBEUV_MAX_MIP );
|
||
float mipF = fract( mip );
|
||
float mipInt = floor( mip );
|
||
vec3 color0 = bilinearCubeUV( envMap, sampleDir, mipInt );
|
||
if ( mipF == 0.0 ) {
|
||
return vec4( color0, 1.0 );
|
||
} else {
|
||
vec3 color1 = bilinearCubeUV( envMap, sampleDir, mipInt + 1.0 );
|
||
return vec4( mix( color0, color1, mipF ), 1.0 );
|
||
}
|
||
}
|
||
#endif`,ZSe=`vec3 transformedNormal = objectNormal;
|
||
#ifdef USE_TANGENT
|
||
vec3 transformedTangent = objectTangent;
|
||
#endif
|
||
#ifdef USE_BATCHING
|
||
mat3 bm = mat3( batchingMatrix );
|
||
transformedNormal /= vec3( dot( bm[ 0 ], bm[ 0 ] ), dot( bm[ 1 ], bm[ 1 ] ), dot( bm[ 2 ], bm[ 2 ] ) );
|
||
transformedNormal = bm * transformedNormal;
|
||
#ifdef USE_TANGENT
|
||
transformedTangent = bm * transformedTangent;
|
||
#endif
|
||
#endif
|
||
#ifdef USE_INSTANCING
|
||
mat3 im = mat3( instanceMatrix );
|
||
transformedNormal /= vec3( dot( im[ 0 ], im[ 0 ] ), dot( im[ 1 ], im[ 1 ] ), dot( im[ 2 ], im[ 2 ] ) );
|
||
transformedNormal = im * transformedNormal;
|
||
#ifdef USE_TANGENT
|
||
transformedTangent = im * transformedTangent;
|
||
#endif
|
||
#endif
|
||
transformedNormal = normalMatrix * transformedNormal;
|
||
#ifdef FLIP_SIDED
|
||
transformedNormal = - transformedNormal;
|
||
#endif
|
||
#ifdef USE_TANGENT
|
||
transformedTangent = ( modelViewMatrix * vec4( transformedTangent, 0.0 ) ).xyz;
|
||
#ifdef FLIP_SIDED
|
||
transformedTangent = - transformedTangent;
|
||
#endif
|
||
#endif`,KSe=`#ifdef USE_DISPLACEMENTMAP
|
||
uniform sampler2D displacementMap;
|
||
uniform float displacementScale;
|
||
uniform float displacementBias;
|
||
#endif`,QSe=`#ifdef USE_DISPLACEMENTMAP
|
||
transformed += normalize( objectNormal ) * ( texture2D( displacementMap, vDisplacementMapUv ).x * displacementScale + displacementBias );
|
||
#endif`,JSe=`#ifdef USE_EMISSIVEMAP
|
||
vec4 emissiveColor = texture2D( emissiveMap, vEmissiveMapUv );
|
||
#ifdef DECODE_VIDEO_TEXTURE_EMISSIVE
|
||
emissiveColor = sRGBTransferEOTF( emissiveColor );
|
||
#endif
|
||
totalEmissiveRadiance *= emissiveColor.rgb;
|
||
#endif`,XSe=`#ifdef USE_EMISSIVEMAP
|
||
uniform sampler2D emissiveMap;
|
||
#endif`,eAe="gl_FragColor = linearToOutputTexel( gl_FragColor );",tAe=`vec4 LinearTransferOETF( in vec4 value ) {
|
||
return value;
|
||
}
|
||
vec4 sRGBTransferEOTF( in vec4 value ) {
|
||
return vec4( mix( pow( value.rgb * 0.9478672986 + vec3( 0.0521327014 ), vec3( 2.4 ) ), value.rgb * 0.0773993808, vec3( lessThanEqual( value.rgb, vec3( 0.04045 ) ) ) ), value.a );
|
||
}
|
||
vec4 sRGBTransferOETF( in vec4 value ) {
|
||
return vec4( mix( pow( value.rgb, vec3( 0.41666 ) ) * 1.055 - vec3( 0.055 ), value.rgb * 12.92, vec3( lessThanEqual( value.rgb, vec3( 0.0031308 ) ) ) ), value.a );
|
||
}`,iAe=`#ifdef USE_ENVMAP
|
||
#ifdef ENV_WORLDPOS
|
||
vec3 cameraToFrag;
|
||
if ( isOrthographic ) {
|
||
cameraToFrag = normalize( vec3( - viewMatrix[ 0 ][ 2 ], - viewMatrix[ 1 ][ 2 ], - viewMatrix[ 2 ][ 2 ] ) );
|
||
} else {
|
||
cameraToFrag = normalize( vWorldPosition - cameraPosition );
|
||
}
|
||
vec3 worldNormal = inverseTransformDirection( normal, viewMatrix );
|
||
#ifdef ENVMAP_MODE_REFLECTION
|
||
vec3 reflectVec = reflect( cameraToFrag, worldNormal );
|
||
#else
|
||
vec3 reflectVec = refract( cameraToFrag, worldNormal, refractionRatio );
|
||
#endif
|
||
#else
|
||
vec3 reflectVec = vReflect;
|
||
#endif
|
||
#ifdef ENVMAP_TYPE_CUBE
|
||
vec4 envColor = textureCube( envMap, envMapRotation * reflectVec );
|
||
#ifdef ENVMAP_BLENDING_MULTIPLY
|
||
outgoingLight = mix( outgoingLight, outgoingLight * envColor.xyz, specularStrength * reflectivity );
|
||
#elif defined( ENVMAP_BLENDING_MIX )
|
||
outgoingLight = mix( outgoingLight, envColor.xyz, specularStrength * reflectivity );
|
||
#elif defined( ENVMAP_BLENDING_ADD )
|
||
outgoingLight += envColor.xyz * specularStrength * reflectivity;
|
||
#endif
|
||
#endif
|
||
#endif`,nAe=`#ifdef USE_ENVMAP
|
||
uniform float envMapIntensity;
|
||
uniform mat3 envMapRotation;
|
||
#ifdef ENVMAP_TYPE_CUBE
|
||
uniform samplerCube envMap;
|
||
#else
|
||
uniform sampler2D envMap;
|
||
#endif
|
||
#endif`,sAe=`#ifdef USE_ENVMAP
|
||
uniform float reflectivity;
|
||
#if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) || defined( PHONG ) || defined( LAMBERT )
|
||
#define ENV_WORLDPOS
|
||
#endif
|
||
#ifdef ENV_WORLDPOS
|
||
varying vec3 vWorldPosition;
|
||
uniform float refractionRatio;
|
||
#else
|
||
varying vec3 vReflect;
|
||
#endif
|
||
#endif`,oAe=`#ifdef USE_ENVMAP
|
||
#if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) || defined( PHONG ) || defined( LAMBERT )
|
||
#define ENV_WORLDPOS
|
||
#endif
|
||
#ifdef ENV_WORLDPOS
|
||
|
||
varying vec3 vWorldPosition;
|
||
#else
|
||
varying vec3 vReflect;
|
||
uniform float refractionRatio;
|
||
#endif
|
||
#endif`,rAe=`#ifdef USE_ENVMAP
|
||
#ifdef ENV_WORLDPOS
|
||
vWorldPosition = worldPosition.xyz;
|
||
#else
|
||
vec3 cameraToVertex;
|
||
if ( isOrthographic ) {
|
||
cameraToVertex = normalize( vec3( - viewMatrix[ 0 ][ 2 ], - viewMatrix[ 1 ][ 2 ], - viewMatrix[ 2 ][ 2 ] ) );
|
||
} else {
|
||
cameraToVertex = normalize( worldPosition.xyz - cameraPosition );
|
||
}
|
||
vec3 worldNormal = inverseTransformDirection( transformedNormal, viewMatrix );
|
||
#ifdef ENVMAP_MODE_REFLECTION
|
||
vReflect = reflect( cameraToVertex, worldNormal );
|
||
#else
|
||
vReflect = refract( cameraToVertex, worldNormal, refractionRatio );
|
||
#endif
|
||
#endif
|
||
#endif`,lAe=`#ifdef USE_FOG
|
||
vFogDepth = - mvPosition.z;
|
||
#endif`,aAe=`#ifdef USE_FOG
|
||
varying float vFogDepth;
|
||
#endif`,uAe=`#ifdef USE_FOG
|
||
#ifdef FOG_EXP2
|
||
float fogFactor = 1.0 - exp( - fogDensity * fogDensity * vFogDepth * vFogDepth );
|
||
#else
|
||
float fogFactor = smoothstep( fogNear, fogFar, vFogDepth );
|
||
#endif
|
||
gl_FragColor.rgb = mix( gl_FragColor.rgb, fogColor, fogFactor );
|
||
#endif`,cAe=`#ifdef USE_FOG
|
||
uniform vec3 fogColor;
|
||
varying float vFogDepth;
|
||
#ifdef FOG_EXP2
|
||
uniform float fogDensity;
|
||
#else
|
||
uniform float fogNear;
|
||
uniform float fogFar;
|
||
#endif
|
||
#endif`,dAe=`#ifdef USE_GRADIENTMAP
|
||
uniform sampler2D gradientMap;
|
||
#endif
|
||
vec3 getGradientIrradiance( vec3 normal, vec3 lightDirection ) {
|
||
float dotNL = dot( normal, lightDirection );
|
||
vec2 coord = vec2( dotNL * 0.5 + 0.5, 0.0 );
|
||
#ifdef USE_GRADIENTMAP
|
||
return vec3( texture2D( gradientMap, coord ).r );
|
||
#else
|
||
vec2 fw = fwidth( coord ) * 0.5;
|
||
return mix( vec3( 0.7 ), vec3( 1.0 ), smoothstep( 0.7 - fw.x, 0.7 + fw.x, coord.x ) );
|
||
#endif
|
||
}`,hAe=`#ifdef USE_LIGHTMAP
|
||
uniform sampler2D lightMap;
|
||
uniform float lightMapIntensity;
|
||
#endif`,fAe=`LambertMaterial material;
|
||
material.diffuseColor = diffuseColor.rgb;
|
||
material.specularStrength = specularStrength;`,pAe=`varying vec3 vViewPosition;
|
||
struct LambertMaterial {
|
||
vec3 diffuseColor;
|
||
float specularStrength;
|
||
};
|
||
void RE_Direct_Lambert( const in IncidentLight directLight, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in LambertMaterial material, inout ReflectedLight reflectedLight ) {
|
||
float dotNL = saturate( dot( geometryNormal, directLight.direction ) );
|
||
vec3 irradiance = dotNL * directLight.color;
|
||
reflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );
|
||
}
|
||
void RE_IndirectDiffuse_Lambert( const in vec3 irradiance, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in LambertMaterial material, inout ReflectedLight reflectedLight ) {
|
||
reflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );
|
||
}
|
||
#define RE_Direct RE_Direct_Lambert
|
||
#define RE_IndirectDiffuse RE_IndirectDiffuse_Lambert`,IAe=`uniform bool receiveShadow;
|
||
uniform vec3 ambientLightColor;
|
||
#if defined( USE_LIGHT_PROBES )
|
||
uniform vec3 lightProbe[ 9 ];
|
||
#endif
|
||
vec3 shGetIrradianceAt( in vec3 normal, in vec3 shCoefficients[ 9 ] ) {
|
||
float x = normal.x, y = normal.y, z = normal.z;
|
||
vec3 result = shCoefficients[ 0 ] * 0.886227;
|
||
result += shCoefficients[ 1 ] * 2.0 * 0.511664 * y;
|
||
result += shCoefficients[ 2 ] * 2.0 * 0.511664 * z;
|
||
result += shCoefficients[ 3 ] * 2.0 * 0.511664 * x;
|
||
result += shCoefficients[ 4 ] * 2.0 * 0.429043 * x * y;
|
||
result += shCoefficients[ 5 ] * 2.0 * 0.429043 * y * z;
|
||
result += shCoefficients[ 6 ] * ( 0.743125 * z * z - 0.247708 );
|
||
result += shCoefficients[ 7 ] * 2.0 * 0.429043 * x * z;
|
||
result += shCoefficients[ 8 ] * 0.429043 * ( x * x - y * y );
|
||
return result;
|
||
}
|
||
vec3 getLightProbeIrradiance( const in vec3 lightProbe[ 9 ], const in vec3 normal ) {
|
||
vec3 worldNormal = inverseTransformDirection( normal, viewMatrix );
|
||
vec3 irradiance = shGetIrradianceAt( worldNormal, lightProbe );
|
||
return irradiance;
|
||
}
|
||
vec3 getAmbientLightIrradiance( const in vec3 ambientLightColor ) {
|
||
vec3 irradiance = ambientLightColor;
|
||
return irradiance;
|
||
}
|
||
float getDistanceAttenuation( const in float lightDistance, const in float cutoffDistance, const in float decayExponent ) {
|
||
float distanceFalloff = 1.0 / max( pow( lightDistance, decayExponent ), 0.01 );
|
||
if ( cutoffDistance > 0.0 ) {
|
||
distanceFalloff *= pow2( saturate( 1.0 - pow4( lightDistance / cutoffDistance ) ) );
|
||
}
|
||
return distanceFalloff;
|
||
}
|
||
float getSpotAttenuation( const in float coneCosine, const in float penumbraCosine, const in float angleCosine ) {
|
||
return smoothstep( coneCosine, penumbraCosine, angleCosine );
|
||
}
|
||
#if NUM_DIR_LIGHTS > 0
|
||
struct DirectionalLight {
|
||
vec3 direction;
|
||
vec3 color;
|
||
};
|
||
uniform DirectionalLight directionalLights[ NUM_DIR_LIGHTS ];
|
||
void getDirectionalLightInfo( const in DirectionalLight directionalLight, out IncidentLight light ) {
|
||
light.color = directionalLight.color;
|
||
light.direction = directionalLight.direction;
|
||
light.visible = true;
|
||
}
|
||
#endif
|
||
#if NUM_POINT_LIGHTS > 0
|
||
struct PointLight {
|
||
vec3 position;
|
||
vec3 color;
|
||
float distance;
|
||
float decay;
|
||
};
|
||
uniform PointLight pointLights[ NUM_POINT_LIGHTS ];
|
||
void getPointLightInfo( const in PointLight pointLight, const in vec3 geometryPosition, out IncidentLight light ) {
|
||
vec3 lVector = pointLight.position - geometryPosition;
|
||
light.direction = normalize( lVector );
|
||
float lightDistance = length( lVector );
|
||
light.color = pointLight.color;
|
||
light.color *= getDistanceAttenuation( lightDistance, pointLight.distance, pointLight.decay );
|
||
light.visible = ( light.color != vec3( 0.0 ) );
|
||
}
|
||
#endif
|
||
#if NUM_SPOT_LIGHTS > 0
|
||
struct SpotLight {
|
||
vec3 position;
|
||
vec3 direction;
|
||
vec3 color;
|
||
float distance;
|
||
float decay;
|
||
float coneCos;
|
||
float penumbraCos;
|
||
};
|
||
uniform SpotLight spotLights[ NUM_SPOT_LIGHTS ];
|
||
void getSpotLightInfo( const in SpotLight spotLight, const in vec3 geometryPosition, out IncidentLight light ) {
|
||
vec3 lVector = spotLight.position - geometryPosition;
|
||
light.direction = normalize( lVector );
|
||
float angleCos = dot( light.direction, spotLight.direction );
|
||
float spotAttenuation = getSpotAttenuation( spotLight.coneCos, spotLight.penumbraCos, angleCos );
|
||
if ( spotAttenuation > 0.0 ) {
|
||
float lightDistance = length( lVector );
|
||
light.color = spotLight.color * spotAttenuation;
|
||
light.color *= getDistanceAttenuation( lightDistance, spotLight.distance, spotLight.decay );
|
||
light.visible = ( light.color != vec3( 0.0 ) );
|
||
} else {
|
||
light.color = vec3( 0.0 );
|
||
light.visible = false;
|
||
}
|
||
}
|
||
#endif
|
||
#if NUM_RECT_AREA_LIGHTS > 0
|
||
struct RectAreaLight {
|
||
vec3 color;
|
||
vec3 position;
|
||
vec3 halfWidth;
|
||
vec3 halfHeight;
|
||
};
|
||
uniform sampler2D ltc_1; uniform sampler2D ltc_2;
|
||
uniform RectAreaLight rectAreaLights[ NUM_RECT_AREA_LIGHTS ];
|
||
#endif
|
||
#if NUM_HEMI_LIGHTS > 0
|
||
struct HemisphereLight {
|
||
vec3 direction;
|
||
vec3 skyColor;
|
||
vec3 groundColor;
|
||
};
|
||
uniform HemisphereLight hemisphereLights[ NUM_HEMI_LIGHTS ];
|
||
vec3 getHemisphereLightIrradiance( const in HemisphereLight hemiLight, const in vec3 normal ) {
|
||
float dotNL = dot( normal, hemiLight.direction );
|
||
float hemiDiffuseWeight = 0.5 * dotNL + 0.5;
|
||
vec3 irradiance = mix( hemiLight.groundColor, hemiLight.skyColor, hemiDiffuseWeight );
|
||
return irradiance;
|
||
}
|
||
#endif
|
||
#include <lightprobes_pars_fragment>`,mAe=`#ifdef USE_ENVMAP
|
||
vec3 getIBLIrradiance( const in vec3 normal ) {
|
||
#ifdef ENVMAP_TYPE_CUBE_UV
|
||
vec3 worldNormal = inverseTransformDirection( normal, viewMatrix );
|
||
vec4 envMapColor = textureCubeUV( envMap, envMapRotation * worldNormal, 1.0 );
|
||
return PI * envMapColor.rgb * envMapIntensity;
|
||
#else
|
||
return vec3( 0.0 );
|
||
#endif
|
||
}
|
||
vec3 getIBLRadiance( const in vec3 viewDir, const in vec3 normal, const in float roughness ) {
|
||
#ifdef ENVMAP_TYPE_CUBE_UV
|
||
vec3 reflectVec = reflect( - viewDir, normal );
|
||
reflectVec = normalize( mix( reflectVec, normal, pow4( roughness ) ) );
|
||
reflectVec = inverseTransformDirection( reflectVec, viewMatrix );
|
||
vec4 envMapColor = textureCubeUV( envMap, envMapRotation * reflectVec, roughness );
|
||
return envMapColor.rgb * envMapIntensity;
|
||
#else
|
||
return vec3( 0.0 );
|
||
#endif
|
||
}
|
||
#ifdef USE_ANISOTROPY
|
||
vec3 getIBLAnisotropyRadiance( const in vec3 viewDir, const in vec3 normal, const in float roughness, const in vec3 bitangent, const in float anisotropy ) {
|
||
#ifdef ENVMAP_TYPE_CUBE_UV
|
||
vec3 bentNormal = cross( bitangent, viewDir );
|
||
bentNormal = normalize( cross( bentNormal, bitangent ) );
|
||
bentNormal = normalize( mix( bentNormal, normal, pow2( pow2( 1.0 - anisotropy * ( 1.0 - roughness ) ) ) ) );
|
||
return getIBLRadiance( viewDir, bentNormal, roughness );
|
||
#else
|
||
return vec3( 0.0 );
|
||
#endif
|
||
}
|
||
#endif
|
||
#endif`,yAe=`ToonMaterial material;
|
||
material.diffuseColor = diffuseColor.rgb;`,EAe=`varying vec3 vViewPosition;
|
||
struct ToonMaterial {
|
||
vec3 diffuseColor;
|
||
};
|
||
void RE_Direct_Toon( const in IncidentLight directLight, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in ToonMaterial material, inout ReflectedLight reflectedLight ) {
|
||
vec3 irradiance = getGradientIrradiance( geometryNormal, directLight.direction ) * directLight.color;
|
||
reflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );
|
||
}
|
||
void RE_IndirectDiffuse_Toon( const in vec3 irradiance, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in ToonMaterial material, inout ReflectedLight reflectedLight ) {
|
||
reflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );
|
||
}
|
||
#define RE_Direct RE_Direct_Toon
|
||
#define RE_IndirectDiffuse RE_IndirectDiffuse_Toon`,TAe=`BlinnPhongMaterial material;
|
||
material.diffuseColor = diffuseColor.rgb;
|
||
material.specularColor = specular;
|
||
material.specularShininess = shininess;
|
||
material.specularStrength = specularStrength;`,gAe=`varying vec3 vViewPosition;
|
||
struct BlinnPhongMaterial {
|
||
vec3 diffuseColor;
|
||
vec3 specularColor;
|
||
float specularShininess;
|
||
float specularStrength;
|
||
};
|
||
void RE_Direct_BlinnPhong( const in IncidentLight directLight, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in BlinnPhongMaterial material, inout ReflectedLight reflectedLight ) {
|
||
float dotNL = saturate( dot( geometryNormal, directLight.direction ) );
|
||
vec3 irradiance = dotNL * directLight.color;
|
||
reflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );
|
||
reflectedLight.directSpecular += irradiance * BRDF_BlinnPhong( directLight.direction, geometryViewDir, geometryNormal, material.specularColor, material.specularShininess ) * material.specularStrength;
|
||
}
|
||
void RE_IndirectDiffuse_BlinnPhong( const in vec3 irradiance, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in BlinnPhongMaterial material, inout ReflectedLight reflectedLight ) {
|
||
reflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );
|
||
}
|
||
#define RE_Direct RE_Direct_BlinnPhong
|
||
#define RE_IndirectDiffuse RE_IndirectDiffuse_BlinnPhong`,wAe=`PhysicalMaterial material;
|
||
material.diffuseColor = diffuseColor.rgb;
|
||
material.diffuseContribution = diffuseColor.rgb * ( 1.0 - metalnessFactor );
|
||
material.metalness = metalnessFactor;
|
||
vec3 dxy = max( abs( dFdx( nonPerturbedNormal ) ), abs( dFdy( nonPerturbedNormal ) ) );
|
||
float geometryRoughness = max( max( dxy.x, dxy.y ), dxy.z );
|
||
material.roughness = max( roughnessFactor, 0.0525 );material.roughness += geometryRoughness;
|
||
material.roughness = min( material.roughness, 1.0 );
|
||
#ifdef IOR
|
||
material.ior = ior;
|
||
#ifdef USE_SPECULAR
|
||
float specularIntensityFactor = specularIntensity;
|
||
vec3 specularColorFactor = specularColor;
|
||
#ifdef USE_SPECULAR_COLORMAP
|
||
specularColorFactor *= texture2D( specularColorMap, vSpecularColorMapUv ).rgb;
|
||
#endif
|
||
#ifdef USE_SPECULAR_INTENSITYMAP
|
||
specularIntensityFactor *= texture2D( specularIntensityMap, vSpecularIntensityMapUv ).a;
|
||
#endif
|
||
material.specularF90 = mix( specularIntensityFactor, 1.0, metalnessFactor );
|
||
#else
|
||
float specularIntensityFactor = 1.0;
|
||
vec3 specularColorFactor = vec3( 1.0 );
|
||
material.specularF90 = 1.0;
|
||
#endif
|
||
material.specularColor = min( pow2( ( material.ior - 1.0 ) / ( material.ior + 1.0 ) ) * specularColorFactor, vec3( 1.0 ) ) * specularIntensityFactor;
|
||
material.specularColorBlended = mix( material.specularColor, diffuseColor.rgb, metalnessFactor );
|
||
#else
|
||
material.specularColor = vec3( 0.04 );
|
||
material.specularColorBlended = mix( material.specularColor, diffuseColor.rgb, metalnessFactor );
|
||
material.specularF90 = 1.0;
|
||
#endif
|
||
#ifdef USE_CLEARCOAT
|
||
material.clearcoat = clearcoat;
|
||
material.clearcoatRoughness = clearcoatRoughness;
|
||
material.clearcoatF0 = vec3( 0.04 );
|
||
material.clearcoatF90 = 1.0;
|
||
#ifdef USE_CLEARCOATMAP
|
||
material.clearcoat *= texture2D( clearcoatMap, vClearcoatMapUv ).x;
|
||
#endif
|
||
#ifdef USE_CLEARCOAT_ROUGHNESSMAP
|
||
material.clearcoatRoughness *= texture2D( clearcoatRoughnessMap, vClearcoatRoughnessMapUv ).y;
|
||
#endif
|
||
material.clearcoat = saturate( material.clearcoat ); material.clearcoatRoughness = max( material.clearcoatRoughness, 0.0525 );
|
||
material.clearcoatRoughness += geometryRoughness;
|
||
material.clearcoatRoughness = min( material.clearcoatRoughness, 1.0 );
|
||
#endif
|
||
#ifdef USE_DISPERSION
|
||
material.dispersion = dispersion;
|
||
#endif
|
||
#ifdef USE_IRIDESCENCE
|
||
material.iridescence = iridescence;
|
||
material.iridescenceIOR = iridescenceIOR;
|
||
#ifdef USE_IRIDESCENCEMAP
|
||
material.iridescence *= texture2D( iridescenceMap, vIridescenceMapUv ).r;
|
||
#endif
|
||
#ifdef USE_IRIDESCENCE_THICKNESSMAP
|
||
material.iridescenceThickness = (iridescenceThicknessMaximum - iridescenceThicknessMinimum) * texture2D( iridescenceThicknessMap, vIridescenceThicknessMapUv ).g + iridescenceThicknessMinimum;
|
||
#else
|
||
material.iridescenceThickness = iridescenceThicknessMaximum;
|
||
#endif
|
||
#endif
|
||
#ifdef USE_SHEEN
|
||
material.sheenColor = sheenColor;
|
||
#ifdef USE_SHEEN_COLORMAP
|
||
material.sheenColor *= texture2D( sheenColorMap, vSheenColorMapUv ).rgb;
|
||
#endif
|
||
material.sheenRoughness = clamp( sheenRoughness, 0.0001, 1.0 );
|
||
#ifdef USE_SHEEN_ROUGHNESSMAP
|
||
material.sheenRoughness *= texture2D( sheenRoughnessMap, vSheenRoughnessMapUv ).a;
|
||
#endif
|
||
#endif
|
||
#ifdef USE_ANISOTROPY
|
||
#ifdef USE_ANISOTROPYMAP
|
||
mat2 anisotropyMat = mat2( anisotropyVector.x, anisotropyVector.y, - anisotropyVector.y, anisotropyVector.x );
|
||
vec3 anisotropyPolar = texture2D( anisotropyMap, vAnisotropyMapUv ).rgb;
|
||
vec2 anisotropyV = anisotropyMat * normalize( 2.0 * anisotropyPolar.rg - vec2( 1.0 ) ) * anisotropyPolar.b;
|
||
#else
|
||
vec2 anisotropyV = anisotropyVector;
|
||
#endif
|
||
material.anisotropy = length( anisotropyV );
|
||
if( material.anisotropy == 0.0 ) {
|
||
anisotropyV = vec2( 1.0, 0.0 );
|
||
} else {
|
||
anisotropyV /= material.anisotropy;
|
||
material.anisotropy = saturate( material.anisotropy );
|
||
}
|
||
material.alphaT = mix( pow2( material.roughness ), 1.0, pow2( material.anisotropy ) );
|
||
material.anisotropyT = tbn[ 0 ] * anisotropyV.x + tbn[ 1 ] * anisotropyV.y;
|
||
material.anisotropyB = tbn[ 1 ] * anisotropyV.x - tbn[ 0 ] * anisotropyV.y;
|
||
#endif`,vAe=`uniform sampler2D dfgLUT;
|
||
struct PhysicalMaterial {
|
||
vec3 diffuseColor;
|
||
vec3 diffuseContribution;
|
||
vec3 specularColor;
|
||
vec3 specularColorBlended;
|
||
float roughness;
|
||
float metalness;
|
||
float specularF90;
|
||
float dispersion;
|
||
#ifdef USE_CLEARCOAT
|
||
float clearcoat;
|
||
float clearcoatRoughness;
|
||
vec3 clearcoatF0;
|
||
float clearcoatF90;
|
||
#endif
|
||
#ifdef USE_IRIDESCENCE
|
||
float iridescence;
|
||
float iridescenceIOR;
|
||
float iridescenceThickness;
|
||
vec3 iridescenceFresnel;
|
||
vec3 iridescenceF0;
|
||
vec3 iridescenceFresnelDielectric;
|
||
vec3 iridescenceFresnelMetallic;
|
||
#endif
|
||
#ifdef USE_SHEEN
|
||
vec3 sheenColor;
|
||
float sheenRoughness;
|
||
#endif
|
||
#ifdef IOR
|
||
float ior;
|
||
#endif
|
||
#ifdef USE_TRANSMISSION
|
||
float transmission;
|
||
float transmissionAlpha;
|
||
float thickness;
|
||
float attenuationDistance;
|
||
vec3 attenuationColor;
|
||
#endif
|
||
#ifdef USE_ANISOTROPY
|
||
float anisotropy;
|
||
float alphaT;
|
||
vec3 anisotropyT;
|
||
vec3 anisotropyB;
|
||
#endif
|
||
};
|
||
vec3 clearcoatSpecularDirect = vec3( 0.0 );
|
||
vec3 clearcoatSpecularIndirect = vec3( 0.0 );
|
||
vec3 sheenSpecularDirect = vec3( 0.0 );
|
||
vec3 sheenSpecularIndirect = vec3(0.0 );
|
||
vec3 Schlick_to_F0( const in vec3 f, const in float f90, const in float dotVH ) {
|
||
float x = clamp( 1.0 - dotVH, 0.0, 1.0 );
|
||
float x2 = x * x;
|
||
float x5 = clamp( x * x2 * x2, 0.0, 0.9999 );
|
||
return ( f - vec3( f90 ) * x5 ) / ( 1.0 - x5 );
|
||
}
|
||
float V_GGX_SmithCorrelated( const in float alpha, const in float dotNL, const in float dotNV ) {
|
||
float a2 = pow2( alpha );
|
||
float gv = dotNL * sqrt( a2 + ( 1.0 - a2 ) * pow2( dotNV ) );
|
||
float gl = dotNV * sqrt( a2 + ( 1.0 - a2 ) * pow2( dotNL ) );
|
||
return 0.5 / max( gv + gl, EPSILON );
|
||
}
|
||
float D_GGX( const in float alpha, const in float dotNH ) {
|
||
float a2 = pow2( alpha );
|
||
float denom = pow2( dotNH ) * ( a2 - 1.0 ) + 1.0;
|
||
return RECIPROCAL_PI * a2 / pow2( denom );
|
||
}
|
||
#ifdef USE_ANISOTROPY
|
||
float V_GGX_SmithCorrelated_Anisotropic( const in float alphaT, const in float alphaB, const in float dotTV, const in float dotBV, const in float dotTL, const in float dotBL, const in float dotNV, const in float dotNL ) {
|
||
float gv = dotNL * length( vec3( alphaT * dotTV, alphaB * dotBV, dotNV ) );
|
||
float gl = dotNV * length( vec3( alphaT * dotTL, alphaB * dotBL, dotNL ) );
|
||
return 0.5 / max( gv + gl, EPSILON );
|
||
}
|
||
float D_GGX_Anisotropic( const in float alphaT, const in float alphaB, const in float dotNH, const in float dotTH, const in float dotBH ) {
|
||
float a2 = alphaT * alphaB;
|
||
highp vec3 v = vec3( alphaB * dotTH, alphaT * dotBH, a2 * dotNH );
|
||
highp float v2 = dot( v, v );
|
||
float w2 = a2 / v2;
|
||
return RECIPROCAL_PI * a2 * pow2 ( w2 );
|
||
}
|
||
#endif
|
||
#ifdef USE_CLEARCOAT
|
||
vec3 BRDF_GGX_Clearcoat( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, const in PhysicalMaterial material) {
|
||
vec3 f0 = material.clearcoatF0;
|
||
float f90 = material.clearcoatF90;
|
||
float roughness = material.clearcoatRoughness;
|
||
float alpha = pow2( roughness );
|
||
vec3 halfDir = normalize( lightDir + viewDir );
|
||
float dotNL = saturate( dot( normal, lightDir ) );
|
||
float dotNV = saturate( dot( normal, viewDir ) );
|
||
float dotNH = saturate( dot( normal, halfDir ) );
|
||
float dotVH = saturate( dot( viewDir, halfDir ) );
|
||
vec3 F = F_Schlick( f0, f90, dotVH );
|
||
float V = V_GGX_SmithCorrelated( alpha, dotNL, dotNV );
|
||
float D = D_GGX( alpha, dotNH );
|
||
return F * ( V * D );
|
||
}
|
||
#endif
|
||
vec3 BRDF_GGX( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, const in PhysicalMaterial material ) {
|
||
vec3 f0 = material.specularColorBlended;
|
||
float f90 = material.specularF90;
|
||
float roughness = material.roughness;
|
||
float alpha = pow2( roughness );
|
||
vec3 halfDir = normalize( lightDir + viewDir );
|
||
float dotNL = saturate( dot( normal, lightDir ) );
|
||
float dotNV = saturate( dot( normal, viewDir ) );
|
||
float dotNH = saturate( dot( normal, halfDir ) );
|
||
float dotVH = saturate( dot( viewDir, halfDir ) );
|
||
vec3 F = F_Schlick( f0, f90, dotVH );
|
||
#ifdef USE_IRIDESCENCE
|
||
F = mix( F, material.iridescenceFresnel, material.iridescence );
|
||
#endif
|
||
#ifdef USE_ANISOTROPY
|
||
float dotTL = dot( material.anisotropyT, lightDir );
|
||
float dotTV = dot( material.anisotropyT, viewDir );
|
||
float dotTH = dot( material.anisotropyT, halfDir );
|
||
float dotBL = dot( material.anisotropyB, lightDir );
|
||
float dotBV = dot( material.anisotropyB, viewDir );
|
||
float dotBH = dot( material.anisotropyB, halfDir );
|
||
float V = V_GGX_SmithCorrelated_Anisotropic( material.alphaT, alpha, dotTV, dotBV, dotTL, dotBL, dotNV, dotNL );
|
||
float D = D_GGX_Anisotropic( material.alphaT, alpha, dotNH, dotTH, dotBH );
|
||
#else
|
||
float V = V_GGX_SmithCorrelated( alpha, dotNL, dotNV );
|
||
float D = D_GGX( alpha, dotNH );
|
||
#endif
|
||
return F * ( V * D );
|
||
}
|
||
vec2 LTC_Uv( const in vec3 N, const in vec3 V, const in float roughness ) {
|
||
const float LUT_SIZE = 64.0;
|
||
const float LUT_SCALE = ( LUT_SIZE - 1.0 ) / LUT_SIZE;
|
||
const float LUT_BIAS = 0.5 / LUT_SIZE;
|
||
float dotNV = saturate( dot( N, V ) );
|
||
vec2 uv = vec2( roughness, sqrt( 1.0 - dotNV ) );
|
||
uv = uv * LUT_SCALE + LUT_BIAS;
|
||
return uv;
|
||
}
|
||
float LTC_ClippedSphereFormFactor( const in vec3 f ) {
|
||
float l = length( f );
|
||
return max( ( l * l + f.z ) / ( l + 1.0 ), 0.0 );
|
||
}
|
||
vec3 LTC_EdgeVectorFormFactor( const in vec3 v1, const in vec3 v2 ) {
|
||
float x = dot( v1, v2 );
|
||
float y = abs( x );
|
||
float a = 0.8543985 + ( 0.4965155 + 0.0145206 * y ) * y;
|
||
float b = 3.4175940 + ( 4.1616724 + y ) * y;
|
||
float v = a / b;
|
||
float theta_sintheta = ( x > 0.0 ) ? v : 0.5 * inversesqrt( max( 1.0 - x * x, 1e-7 ) ) - v;
|
||
return cross( v1, v2 ) * theta_sintheta;
|
||
}
|
||
vec3 LTC_Evaluate( const in vec3 N, const in vec3 V, const in vec3 P, const in mat3 mInv, const in vec3 rectCoords[ 4 ] ) {
|
||
vec3 v1 = rectCoords[ 1 ] - rectCoords[ 0 ];
|
||
vec3 v2 = rectCoords[ 3 ] - rectCoords[ 0 ];
|
||
vec3 lightNormal = cross( v1, v2 );
|
||
if( dot( lightNormal, P - rectCoords[ 0 ] ) < 0.0 ) return vec3( 0.0 );
|
||
vec3 T1, T2;
|
||
T1 = normalize( V - N * dot( V, N ) );
|
||
T2 = - cross( N, T1 );
|
||
mat3 mat = mInv * transpose( mat3( T1, T2, N ) );
|
||
vec3 coords[ 4 ];
|
||
coords[ 0 ] = mat * ( rectCoords[ 0 ] - P );
|
||
coords[ 1 ] = mat * ( rectCoords[ 1 ] - P );
|
||
coords[ 2 ] = mat * ( rectCoords[ 2 ] - P );
|
||
coords[ 3 ] = mat * ( rectCoords[ 3 ] - P );
|
||
coords[ 0 ] = normalize( coords[ 0 ] );
|
||
coords[ 1 ] = normalize( coords[ 1 ] );
|
||
coords[ 2 ] = normalize( coords[ 2 ] );
|
||
coords[ 3 ] = normalize( coords[ 3 ] );
|
||
vec3 vectorFormFactor = vec3( 0.0 );
|
||
vectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 0 ], coords[ 1 ] );
|
||
vectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 1 ], coords[ 2 ] );
|
||
vectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 2 ], coords[ 3 ] );
|
||
vectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 3 ], coords[ 0 ] );
|
||
float result = LTC_ClippedSphereFormFactor( vectorFormFactor );
|
||
return vec3( result );
|
||
}
|
||
#if defined( USE_SHEEN )
|
||
float D_Charlie( float roughness, float dotNH ) {
|
||
float alpha = pow2( roughness );
|
||
float invAlpha = 1.0 / alpha;
|
||
float cos2h = dotNH * dotNH;
|
||
float sin2h = max( 1.0 - cos2h, 0.0078125 );
|
||
return ( 2.0 + invAlpha ) * pow( sin2h, invAlpha * 0.5 ) / ( 2.0 * PI );
|
||
}
|
||
float V_Neubelt( float dotNV, float dotNL ) {
|
||
return saturate( 1.0 / ( 4.0 * ( dotNL + dotNV - dotNL * dotNV ) ) );
|
||
}
|
||
vec3 BRDF_Sheen( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, vec3 sheenColor, const in float sheenRoughness ) {
|
||
vec3 halfDir = normalize( lightDir + viewDir );
|
||
float dotNL = saturate( dot( normal, lightDir ) );
|
||
float dotNV = saturate( dot( normal, viewDir ) );
|
||
float dotNH = saturate( dot( normal, halfDir ) );
|
||
float D = D_Charlie( sheenRoughness, dotNH );
|
||
float V = V_Neubelt( dotNV, dotNL );
|
||
return sheenColor * ( D * V );
|
||
}
|
||
#endif
|
||
float IBLSheenBRDF( const in vec3 normal, const in vec3 viewDir, const in float roughness ) {
|
||
float dotNV = saturate( dot( normal, viewDir ) );
|
||
float r2 = roughness * roughness;
|
||
float rInv = 1.0 / ( roughness + 0.1 );
|
||
float a = -1.9362 + 1.0678 * roughness + 0.4573 * r2 - 0.8469 * rInv;
|
||
float b = -0.6014 + 0.5538 * roughness - 0.4670 * r2 - 0.1255 * rInv;
|
||
float DG = exp( a * dotNV + b );
|
||
return saturate( DG );
|
||
}
|
||
vec3 EnvironmentBRDF( const in vec3 normal, const in vec3 viewDir, const in vec3 specularColor, const in float specularF90, const in float roughness ) {
|
||
float dotNV = saturate( dot( normal, viewDir ) );
|
||
vec2 fab = texture2D( dfgLUT, vec2( roughness, dotNV ) ).rg;
|
||
return specularColor * fab.x + specularF90 * fab.y;
|
||
}
|
||
#ifdef USE_IRIDESCENCE
|
||
void computeMultiscatteringIridescence( const in vec3 normal, const in vec3 viewDir, const in vec3 specularColor, const in float specularF90, const in float iridescence, const in vec3 iridescenceF0, const in float roughness, inout vec3 singleScatter, inout vec3 multiScatter ) {
|
||
#else
|
||
void computeMultiscattering( const in vec3 normal, const in vec3 viewDir, const in vec3 specularColor, const in float specularF90, const in float roughness, inout vec3 singleScatter, inout vec3 multiScatter ) {
|
||
#endif
|
||
float dotNV = saturate( dot( normal, viewDir ) );
|
||
vec2 fab = texture2D( dfgLUT, vec2( roughness, dotNV ) ).rg;
|
||
#ifdef USE_IRIDESCENCE
|
||
vec3 Fr = mix( specularColor, iridescenceF0, iridescence );
|
||
#else
|
||
vec3 Fr = specularColor;
|
||
#endif
|
||
vec3 FssEss = Fr * fab.x + specularF90 * fab.y;
|
||
float Ess = fab.x + fab.y;
|
||
float Ems = 1.0 - Ess;
|
||
vec3 Favg = Fr + ( 1.0 - Fr ) * 0.047619; vec3 Fms = FssEss * Favg / ( 1.0 - Ems * Favg );
|
||
singleScatter += FssEss;
|
||
multiScatter += Fms * Ems;
|
||
}
|
||
vec3 BRDF_GGX_Multiscatter( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, const in PhysicalMaterial material ) {
|
||
vec3 singleScatter = BRDF_GGX( lightDir, viewDir, normal, material );
|
||
float dotNL = saturate( dot( normal, lightDir ) );
|
||
float dotNV = saturate( dot( normal, viewDir ) );
|
||
vec2 dfgV = texture2D( dfgLUT, vec2( material.roughness, dotNV ) ).rg;
|
||
vec2 dfgL = texture2D( dfgLUT, vec2( material.roughness, dotNL ) ).rg;
|
||
vec3 FssEss_V = material.specularColorBlended * dfgV.x + material.specularF90 * dfgV.y;
|
||
vec3 FssEss_L = material.specularColorBlended * dfgL.x + material.specularF90 * dfgL.y;
|
||
float Ess_V = dfgV.x + dfgV.y;
|
||
float Ess_L = dfgL.x + dfgL.y;
|
||
float Ems_V = 1.0 - Ess_V;
|
||
float Ems_L = 1.0 - Ess_L;
|
||
vec3 Favg = material.specularColorBlended + ( 1.0 - material.specularColorBlended ) * 0.047619;
|
||
vec3 Fms = FssEss_V * FssEss_L * Favg / ( 1.0 - Ems_V * Ems_L * Favg + EPSILON );
|
||
float compensationFactor = Ems_V * Ems_L;
|
||
vec3 multiScatter = Fms * compensationFactor;
|
||
return singleScatter + multiScatter;
|
||
}
|
||
#if NUM_RECT_AREA_LIGHTS > 0
|
||
void RE_Direct_RectArea_Physical( const in RectAreaLight rectAreaLight, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) {
|
||
vec3 normal = geometryNormal;
|
||
vec3 viewDir = geometryViewDir;
|
||
vec3 position = geometryPosition;
|
||
vec3 lightPos = rectAreaLight.position;
|
||
vec3 halfWidth = rectAreaLight.halfWidth;
|
||
vec3 halfHeight = rectAreaLight.halfHeight;
|
||
vec3 lightColor = rectAreaLight.color;
|
||
float roughness = material.roughness;
|
||
vec3 rectCoords[ 4 ];
|
||
rectCoords[ 0 ] = lightPos + halfWidth - halfHeight; rectCoords[ 1 ] = lightPos - halfWidth - halfHeight;
|
||
rectCoords[ 2 ] = lightPos - halfWidth + halfHeight;
|
||
rectCoords[ 3 ] = lightPos + halfWidth + halfHeight;
|
||
vec2 uv = LTC_Uv( normal, viewDir, roughness );
|
||
vec4 t1 = texture2D( ltc_1, uv );
|
||
vec4 t2 = texture2D( ltc_2, uv );
|
||
mat3 mInv = mat3(
|
||
vec3( t1.x, 0, t1.y ),
|
||
vec3( 0, 1, 0 ),
|
||
vec3( t1.z, 0, t1.w )
|
||
);
|
||
vec3 fresnel = ( material.specularColorBlended * t2.x + ( material.specularF90 - material.specularColorBlended ) * t2.y );
|
||
reflectedLight.directSpecular += lightColor * fresnel * LTC_Evaluate( normal, viewDir, position, mInv, rectCoords );
|
||
reflectedLight.directDiffuse += lightColor * material.diffuseContribution * LTC_Evaluate( normal, viewDir, position, mat3( 1.0 ), rectCoords );
|
||
#ifdef USE_CLEARCOAT
|
||
vec3 Ncc = geometryClearcoatNormal;
|
||
vec2 uvClearcoat = LTC_Uv( Ncc, viewDir, material.clearcoatRoughness );
|
||
vec4 t1Clearcoat = texture2D( ltc_1, uvClearcoat );
|
||
vec4 t2Clearcoat = texture2D( ltc_2, uvClearcoat );
|
||
mat3 mInvClearcoat = mat3(
|
||
vec3( t1Clearcoat.x, 0, t1Clearcoat.y ),
|
||
vec3( 0, 1, 0 ),
|
||
vec3( t1Clearcoat.z, 0, t1Clearcoat.w )
|
||
);
|
||
vec3 fresnelClearcoat = material.clearcoatF0 * t2Clearcoat.x + ( material.clearcoatF90 - material.clearcoatF0 ) * t2Clearcoat.y;
|
||
clearcoatSpecularDirect += lightColor * fresnelClearcoat * LTC_Evaluate( Ncc, viewDir, position, mInvClearcoat, rectCoords );
|
||
#endif
|
||
}
|
||
#endif
|
||
void RE_Direct_Physical( const in IncidentLight directLight, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) {
|
||
float dotNL = saturate( dot( geometryNormal, directLight.direction ) );
|
||
vec3 irradiance = dotNL * directLight.color;
|
||
#ifdef USE_CLEARCOAT
|
||
float dotNLcc = saturate( dot( geometryClearcoatNormal, directLight.direction ) );
|
||
vec3 ccIrradiance = dotNLcc * directLight.color;
|
||
clearcoatSpecularDirect += ccIrradiance * BRDF_GGX_Clearcoat( directLight.direction, geometryViewDir, geometryClearcoatNormal, material );
|
||
#endif
|
||
#ifdef USE_SHEEN
|
||
|
||
sheenSpecularDirect += irradiance * BRDF_Sheen( directLight.direction, geometryViewDir, geometryNormal, material.sheenColor, material.sheenRoughness );
|
||
|
||
float sheenAlbedoV = IBLSheenBRDF( geometryNormal, geometryViewDir, material.sheenRoughness );
|
||
float sheenAlbedoL = IBLSheenBRDF( geometryNormal, directLight.direction, material.sheenRoughness );
|
||
|
||
float sheenEnergyComp = 1.0 - max3( material.sheenColor ) * max( sheenAlbedoV, sheenAlbedoL );
|
||
|
||
irradiance *= sheenEnergyComp;
|
||
|
||
#endif
|
||
reflectedLight.directSpecular += irradiance * BRDF_GGX_Multiscatter( directLight.direction, geometryViewDir, geometryNormal, material );
|
||
reflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseContribution );
|
||
}
|
||
void RE_IndirectDiffuse_Physical( const in vec3 irradiance, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) {
|
||
vec3 diffuse = irradiance * BRDF_Lambert( material.diffuseContribution );
|
||
#ifdef USE_SHEEN
|
||
float sheenAlbedo = IBLSheenBRDF( geometryNormal, geometryViewDir, material.sheenRoughness );
|
||
float sheenEnergyComp = 1.0 - max3( material.sheenColor ) * sheenAlbedo;
|
||
diffuse *= sheenEnergyComp;
|
||
#endif
|
||
reflectedLight.indirectDiffuse += diffuse;
|
||
}
|
||
void RE_IndirectSpecular_Physical( const in vec3 radiance, const in vec3 irradiance, const in vec3 clearcoatRadiance, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in PhysicalMaterial material, inout ReflectedLight reflectedLight) {
|
||
#ifdef USE_CLEARCOAT
|
||
clearcoatSpecularIndirect += clearcoatRadiance * EnvironmentBRDF( geometryClearcoatNormal, geometryViewDir, material.clearcoatF0, material.clearcoatF90, material.clearcoatRoughness );
|
||
#endif
|
||
#ifdef USE_SHEEN
|
||
sheenSpecularIndirect += irradiance * material.sheenColor * IBLSheenBRDF( geometryNormal, geometryViewDir, material.sheenRoughness ) * RECIPROCAL_PI;
|
||
#endif
|
||
vec3 singleScatteringDielectric = vec3( 0.0 );
|
||
vec3 multiScatteringDielectric = vec3( 0.0 );
|
||
vec3 singleScatteringMetallic = vec3( 0.0 );
|
||
vec3 multiScatteringMetallic = vec3( 0.0 );
|
||
#ifdef USE_IRIDESCENCE
|
||
computeMultiscatteringIridescence( geometryNormal, geometryViewDir, material.specularColor, material.specularF90, material.iridescence, material.iridescenceFresnelDielectric, material.roughness, singleScatteringDielectric, multiScatteringDielectric );
|
||
computeMultiscatteringIridescence( geometryNormal, geometryViewDir, material.diffuseColor, material.specularF90, material.iridescence, material.iridescenceFresnelMetallic, material.roughness, singleScatteringMetallic, multiScatteringMetallic );
|
||
#else
|
||
computeMultiscattering( geometryNormal, geometryViewDir, material.specularColor, material.specularF90, material.roughness, singleScatteringDielectric, multiScatteringDielectric );
|
||
computeMultiscattering( geometryNormal, geometryViewDir, material.diffuseColor, material.specularF90, material.roughness, singleScatteringMetallic, multiScatteringMetallic );
|
||
#endif
|
||
vec3 singleScattering = mix( singleScatteringDielectric, singleScatteringMetallic, material.metalness );
|
||
vec3 multiScattering = mix( multiScatteringDielectric, multiScatteringMetallic, material.metalness );
|
||
vec3 totalScatteringDielectric = singleScatteringDielectric + multiScatteringDielectric;
|
||
vec3 diffuse = material.diffuseContribution * ( 1.0 - totalScatteringDielectric );
|
||
vec3 cosineWeightedIrradiance = irradiance * RECIPROCAL_PI;
|
||
vec3 indirectSpecular = radiance * singleScattering;
|
||
indirectSpecular += multiScattering * cosineWeightedIrradiance;
|
||
vec3 indirectDiffuse = diffuse * cosineWeightedIrradiance;
|
||
#ifdef USE_SHEEN
|
||
float sheenAlbedo = IBLSheenBRDF( geometryNormal, geometryViewDir, material.sheenRoughness );
|
||
float sheenEnergyComp = 1.0 - max3( material.sheenColor ) * sheenAlbedo;
|
||
indirectSpecular *= sheenEnergyComp;
|
||
indirectDiffuse *= sheenEnergyComp;
|
||
#endif
|
||
reflectedLight.indirectSpecular += indirectSpecular;
|
||
reflectedLight.indirectDiffuse += indirectDiffuse;
|
||
}
|
||
#define RE_Direct RE_Direct_Physical
|
||
#define RE_Direct_RectArea RE_Direct_RectArea_Physical
|
||
#define RE_IndirectDiffuse RE_IndirectDiffuse_Physical
|
||
#define RE_IndirectSpecular RE_IndirectSpecular_Physical
|
||
float computeSpecularOcclusion( const in float dotNV, const in float ambientOcclusion, const in float roughness ) {
|
||
return saturate( pow( dotNV + ambientOcclusion, exp2( - 16.0 * roughness - 1.0 ) ) - 1.0 + ambientOcclusion );
|
||
}`,RAe=`
|
||
vec3 geometryPosition = - vViewPosition;
|
||
vec3 geometryNormal = normal;
|
||
vec3 geometryViewDir = ( isOrthographic ) ? vec3( 0, 0, 1 ) : normalize( vViewPosition );
|
||
vec3 geometryClearcoatNormal = vec3( 0.0 );
|
||
#ifdef USE_CLEARCOAT
|
||
geometryClearcoatNormal = clearcoatNormal;
|
||
#endif
|
||
#ifdef USE_IRIDESCENCE
|
||
float dotNVi = saturate( dot( normal, geometryViewDir ) );
|
||
if ( material.iridescenceThickness == 0.0 ) {
|
||
material.iridescence = 0.0;
|
||
} else {
|
||
material.iridescence = saturate( material.iridescence );
|
||
}
|
||
if ( material.iridescence > 0.0 ) {
|
||
material.iridescenceFresnelDielectric = evalIridescence( 1.0, material.iridescenceIOR, dotNVi, material.iridescenceThickness, material.specularColor );
|
||
material.iridescenceFresnelMetallic = evalIridescence( 1.0, material.iridescenceIOR, dotNVi, material.iridescenceThickness, material.diffuseColor );
|
||
material.iridescenceFresnel = mix( material.iridescenceFresnelDielectric, material.iridescenceFresnelMetallic, material.metalness );
|
||
material.iridescenceF0 = Schlick_to_F0( material.iridescenceFresnel, 1.0, dotNVi );
|
||
}
|
||
#endif
|
||
IncidentLight directLight;
|
||
#if ( NUM_POINT_LIGHTS > 0 ) && defined( RE_Direct )
|
||
PointLight pointLight;
|
||
#if defined( USE_SHADOWMAP ) && NUM_POINT_LIGHT_SHADOWS > 0
|
||
PointLightShadow pointLightShadow;
|
||
#endif
|
||
#pragma unroll_loop_start
|
||
for ( int i = 0; i < NUM_POINT_LIGHTS; i ++ ) {
|
||
pointLight = pointLights[ i ];
|
||
getPointLightInfo( pointLight, geometryPosition, directLight );
|
||
#if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_POINT_LIGHT_SHADOWS ) && ( defined( SHADOWMAP_TYPE_PCF ) || defined( SHADOWMAP_TYPE_BASIC ) )
|
||
pointLightShadow = pointLightShadows[ i ];
|
||
directLight.color *= ( directLight.visible && receiveShadow ) ? getPointShadow( pointShadowMap[ i ], pointLightShadow.shadowMapSize, pointLightShadow.shadowIntensity, pointLightShadow.shadowBias, pointLightShadow.shadowRadius, vPointShadowCoord[ i ], pointLightShadow.shadowCameraNear, pointLightShadow.shadowCameraFar ) : 1.0;
|
||
#endif
|
||
RE_Direct( directLight, geometryPosition, geometryNormal, geometryViewDir, geometryClearcoatNormal, material, reflectedLight );
|
||
}
|
||
#pragma unroll_loop_end
|
||
#endif
|
||
#if ( NUM_SPOT_LIGHTS > 0 ) && defined( RE_Direct )
|
||
SpotLight spotLight;
|
||
vec4 spotColor;
|
||
vec3 spotLightCoord;
|
||
bool inSpotLightMap;
|
||
#if defined( USE_SHADOWMAP ) && NUM_SPOT_LIGHT_SHADOWS > 0
|
||
SpotLightShadow spotLightShadow;
|
||
#endif
|
||
#pragma unroll_loop_start
|
||
for ( int i = 0; i < NUM_SPOT_LIGHTS; i ++ ) {
|
||
spotLight = spotLights[ i ];
|
||
getSpotLightInfo( spotLight, geometryPosition, directLight );
|
||
#if ( UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS_WITH_MAPS )
|
||
#define SPOT_LIGHT_MAP_INDEX UNROLLED_LOOP_INDEX
|
||
#elif ( UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS )
|
||
#define SPOT_LIGHT_MAP_INDEX NUM_SPOT_LIGHT_MAPS
|
||
#else
|
||
#define SPOT_LIGHT_MAP_INDEX ( UNROLLED_LOOP_INDEX - NUM_SPOT_LIGHT_SHADOWS + NUM_SPOT_LIGHT_SHADOWS_WITH_MAPS )
|
||
#endif
|
||
#if ( SPOT_LIGHT_MAP_INDEX < NUM_SPOT_LIGHT_MAPS )
|
||
spotLightCoord = vSpotLightCoord[ i ].xyz / vSpotLightCoord[ i ].w;
|
||
inSpotLightMap = all( lessThan( abs( spotLightCoord * 2. - 1. ), vec3( 1.0 ) ) );
|
||
spotColor = texture2D( spotLightMap[ SPOT_LIGHT_MAP_INDEX ], spotLightCoord.xy );
|
||
directLight.color = inSpotLightMap ? directLight.color * spotColor.rgb : directLight.color;
|
||
#endif
|
||
#undef SPOT_LIGHT_MAP_INDEX
|
||
#if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS )
|
||
spotLightShadow = spotLightShadows[ i ];
|
||
directLight.color *= ( directLight.visible && receiveShadow ) ? getShadow( spotShadowMap[ i ], spotLightShadow.shadowMapSize, spotLightShadow.shadowIntensity, spotLightShadow.shadowBias, spotLightShadow.shadowRadius, vSpotLightCoord[ i ] ) : 1.0;
|
||
#endif
|
||
RE_Direct( directLight, geometryPosition, geometryNormal, geometryViewDir, geometryClearcoatNormal, material, reflectedLight );
|
||
}
|
||
#pragma unroll_loop_end
|
||
#endif
|
||
#if ( NUM_DIR_LIGHTS > 0 ) && defined( RE_Direct )
|
||
DirectionalLight directionalLight;
|
||
#if defined( USE_SHADOWMAP ) && NUM_DIR_LIGHT_SHADOWS > 0
|
||
DirectionalLightShadow directionalLightShadow;
|
||
#endif
|
||
#pragma unroll_loop_start
|
||
for ( int i = 0; i < NUM_DIR_LIGHTS; i ++ ) {
|
||
directionalLight = directionalLights[ i ];
|
||
getDirectionalLightInfo( directionalLight, directLight );
|
||
#if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_DIR_LIGHT_SHADOWS )
|
||
directionalLightShadow = directionalLightShadows[ i ];
|
||
directLight.color *= ( directLight.visible && receiveShadow ) ? getShadow( directionalShadowMap[ i ], directionalLightShadow.shadowMapSize, directionalLightShadow.shadowIntensity, directionalLightShadow.shadowBias, directionalLightShadow.shadowRadius, vDirectionalShadowCoord[ i ] ) : 1.0;
|
||
#endif
|
||
RE_Direct( directLight, geometryPosition, geometryNormal, geometryViewDir, geometryClearcoatNormal, material, reflectedLight );
|
||
}
|
||
#pragma unroll_loop_end
|
||
#endif
|
||
#if ( NUM_RECT_AREA_LIGHTS > 0 ) && defined( RE_Direct_RectArea )
|
||
RectAreaLight rectAreaLight;
|
||
#pragma unroll_loop_start
|
||
for ( int i = 0; i < NUM_RECT_AREA_LIGHTS; i ++ ) {
|
||
rectAreaLight = rectAreaLights[ i ];
|
||
RE_Direct_RectArea( rectAreaLight, geometryPosition, geometryNormal, geometryViewDir, geometryClearcoatNormal, material, reflectedLight );
|
||
}
|
||
#pragma unroll_loop_end
|
||
#endif
|
||
#if defined( RE_IndirectDiffuse )
|
||
vec3 iblIrradiance = vec3( 0.0 );
|
||
vec3 irradiance = getAmbientLightIrradiance( ambientLightColor );
|
||
#if defined( USE_LIGHT_PROBES )
|
||
irradiance += getLightProbeIrradiance( lightProbe, geometryNormal );
|
||
#endif
|
||
#if ( NUM_HEMI_LIGHTS > 0 )
|
||
#pragma unroll_loop_start
|
||
for ( int i = 0; i < NUM_HEMI_LIGHTS; i ++ ) {
|
||
irradiance += getHemisphereLightIrradiance( hemisphereLights[ i ], geometryNormal );
|
||
}
|
||
#pragma unroll_loop_end
|
||
#endif
|
||
#ifdef USE_LIGHT_PROBES_GRID
|
||
vec3 probeWorldPos = ( ( vec4( geometryPosition, 1.0 ) - viewMatrix[ 3 ] ) * viewMatrix ).xyz;
|
||
vec3 probeWorldNormal = inverseTransformDirection( geometryNormal, viewMatrix );
|
||
irradiance += getLightProbeGridIrradiance( probeWorldPos, probeWorldNormal );
|
||
#endif
|
||
#endif
|
||
#if defined( RE_IndirectSpecular )
|
||
vec3 radiance = vec3( 0.0 );
|
||
vec3 clearcoatRadiance = vec3( 0.0 );
|
||
#endif`,SAe=`#if defined( RE_IndirectDiffuse )
|
||
#ifdef USE_LIGHTMAP
|
||
vec4 lightMapTexel = texture2D( lightMap, vLightMapUv );
|
||
vec3 lightMapIrradiance = lightMapTexel.rgb * lightMapIntensity;
|
||
irradiance += lightMapIrradiance;
|
||
#endif
|
||
#if defined( USE_ENVMAP ) && defined( ENVMAP_TYPE_CUBE_UV )
|
||
#if defined( STANDARD ) || defined( LAMBERT ) || defined( PHONG )
|
||
iblIrradiance += getIBLIrradiance( geometryNormal );
|
||
#endif
|
||
#endif
|
||
#endif
|
||
#if defined( USE_ENVMAP ) && defined( RE_IndirectSpecular )
|
||
#ifdef USE_ANISOTROPY
|
||
radiance += getIBLAnisotropyRadiance( geometryViewDir, geometryNormal, material.roughness, material.anisotropyB, material.anisotropy );
|
||
#else
|
||
radiance += getIBLRadiance( geometryViewDir, geometryNormal, material.roughness );
|
||
#endif
|
||
#ifdef USE_CLEARCOAT
|
||
clearcoatRadiance += getIBLRadiance( geometryViewDir, geometryClearcoatNormal, material.clearcoatRoughness );
|
||
#endif
|
||
#endif`,AAe=`#if defined( RE_IndirectDiffuse )
|
||
#if defined( LAMBERT ) || defined( PHONG )
|
||
irradiance += iblIrradiance;
|
||
#endif
|
||
RE_IndirectDiffuse( irradiance, geometryPosition, geometryNormal, geometryViewDir, geometryClearcoatNormal, material, reflectedLight );
|
||
#endif
|
||
#if defined( RE_IndirectSpecular )
|
||
RE_IndirectSpecular( radiance, iblIrradiance, clearcoatRadiance, geometryPosition, geometryNormal, geometryViewDir, geometryClearcoatNormal, material, reflectedLight );
|
||
#endif`,bAe=`#ifdef USE_LIGHT_PROBES_GRID
|
||
uniform highp sampler3D probesSH;
|
||
uniform vec3 probesMin;
|
||
uniform vec3 probesMax;
|
||
uniform vec3 probesResolution;
|
||
vec3 getLightProbeGridIrradiance( vec3 worldPos, vec3 worldNormal ) {
|
||
vec3 res = probesResolution;
|
||
vec3 gridRange = probesMax - probesMin;
|
||
vec3 resMinusOne = res - 1.0;
|
||
vec3 probeSpacing = gridRange / resMinusOne;
|
||
vec3 samplePos = worldPos + worldNormal * probeSpacing * 0.5;
|
||
vec3 uvw = clamp( ( samplePos - probesMin ) / gridRange, 0.0, 1.0 );
|
||
uvw = uvw * resMinusOne / res + 0.5 / res;
|
||
float nz = res.z;
|
||
float paddedSlices = nz + 2.0;
|
||
float atlasDepth = 7.0 * paddedSlices;
|
||
float uvZBase = uvw.z * nz + 1.0;
|
||
vec4 s0 = texture( probesSH, vec3( uvw.xy, ( uvZBase ) / atlasDepth ) );
|
||
vec4 s1 = texture( probesSH, vec3( uvw.xy, ( uvZBase + paddedSlices ) / atlasDepth ) );
|
||
vec4 s2 = texture( probesSH, vec3( uvw.xy, ( uvZBase + 2.0 * paddedSlices ) / atlasDepth ) );
|
||
vec4 s3 = texture( probesSH, vec3( uvw.xy, ( uvZBase + 3.0 * paddedSlices ) / atlasDepth ) );
|
||
vec4 s4 = texture( probesSH, vec3( uvw.xy, ( uvZBase + 4.0 * paddedSlices ) / atlasDepth ) );
|
||
vec4 s5 = texture( probesSH, vec3( uvw.xy, ( uvZBase + 5.0 * paddedSlices ) / atlasDepth ) );
|
||
vec4 s6 = texture( probesSH, vec3( uvw.xy, ( uvZBase + 6.0 * paddedSlices ) / atlasDepth ) );
|
||
vec3 c0 = s0.xyz;
|
||
vec3 c1 = vec3( s0.w, s1.xy );
|
||
vec3 c2 = vec3( s1.zw, s2.x );
|
||
vec3 c3 = s2.yzw;
|
||
vec3 c4 = s3.xyz;
|
||
vec3 c5 = vec3( s3.w, s4.xy );
|
||
vec3 c6 = vec3( s4.zw, s5.x );
|
||
vec3 c7 = s5.yzw;
|
||
vec3 c8 = s6.xyz;
|
||
float x = worldNormal.x, y = worldNormal.y, z = worldNormal.z;
|
||
vec3 result = c0 * 0.886227;
|
||
result += c1 * 2.0 * 0.511664 * y;
|
||
result += c2 * 2.0 * 0.511664 * z;
|
||
result += c3 * 2.0 * 0.511664 * x;
|
||
result += c4 * 2.0 * 0.429043 * x * y;
|
||
result += c5 * 2.0 * 0.429043 * y * z;
|
||
result += c6 * ( 0.743125 * z * z - 0.247708 );
|
||
result += c7 * 2.0 * 0.429043 * x * z;
|
||
result += c8 * 0.429043 * ( x * x - y * y );
|
||
return max( result, vec3( 0.0 ) );
|
||
}
|
||
#endif`,NAe=`#if defined( USE_LOGARITHMIC_DEPTH_BUFFER )
|
||
gl_FragDepth = vIsPerspective == 0.0 ? gl_FragCoord.z : log2( vFragDepth ) * logDepthBufFC * 0.5;
|
||
#endif`,_Ae=`#if defined( USE_LOGARITHMIC_DEPTH_BUFFER )
|
||
uniform float logDepthBufFC;
|
||
varying float vFragDepth;
|
||
varying float vIsPerspective;
|
||
#endif`,DAe=`#ifdef USE_LOGARITHMIC_DEPTH_BUFFER
|
||
varying float vFragDepth;
|
||
varying float vIsPerspective;
|
||
#endif`,CAe=`#ifdef USE_LOGARITHMIC_DEPTH_BUFFER
|
||
vFragDepth = 1.0 + gl_Position.w;
|
||
vIsPerspective = float( isPerspectiveMatrix( projectionMatrix ) );
|
||
#endif`,xAe=`#ifdef USE_MAP
|
||
vec4 sampledDiffuseColor = texture2D( map, vMapUv );
|
||
#ifdef DECODE_VIDEO_TEXTURE
|
||
sampledDiffuseColor = sRGBTransferEOTF( sampledDiffuseColor );
|
||
#endif
|
||
diffuseColor *= sampledDiffuseColor;
|
||
#endif`,OAe=`#ifdef USE_MAP
|
||
uniform sampler2D map;
|
||
#endif`,LAe=`#if defined( USE_MAP ) || defined( USE_ALPHAMAP )
|
||
#if defined( USE_POINTS_UV )
|
||
vec2 uv = vUv;
|
||
#else
|
||
vec2 uv = ( uvTransform * vec3( gl_PointCoord.x, 1.0 - gl_PointCoord.y, 1 ) ).xy;
|
||
#endif
|
||
#endif
|
||
#ifdef USE_MAP
|
||
diffuseColor *= texture2D( map, uv );
|
||
#endif
|
||
#ifdef USE_ALPHAMAP
|
||
diffuseColor.a *= texture2D( alphaMap, uv ).g;
|
||
#endif`,PAe=`#if defined( USE_POINTS_UV )
|
||
varying vec2 vUv;
|
||
#else
|
||
#if defined( USE_MAP ) || defined( USE_ALPHAMAP )
|
||
uniform mat3 uvTransform;
|
||
#endif
|
||
#endif
|
||
#ifdef USE_MAP
|
||
uniform sampler2D map;
|
||
#endif
|
||
#ifdef USE_ALPHAMAP
|
||
uniform sampler2D alphaMap;
|
||
#endif`,MAe=`float metalnessFactor = metalness;
|
||
#ifdef USE_METALNESSMAP
|
||
vec4 texelMetalness = texture2D( metalnessMap, vMetalnessMapUv );
|
||
metalnessFactor *= texelMetalness.b;
|
||
#endif`,BAe=`#ifdef USE_METALNESSMAP
|
||
uniform sampler2D metalnessMap;
|
||
#endif`,FAe=`#ifdef USE_INSTANCING_MORPH
|
||
float morphTargetInfluences[ MORPHTARGETS_COUNT ];
|
||
float morphTargetBaseInfluence = texelFetch( morphTexture, ivec2( 0, gl_InstanceID ), 0 ).r;
|
||
for ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) {
|
||
morphTargetInfluences[i] = texelFetch( morphTexture, ivec2( i + 1, gl_InstanceID ), 0 ).r;
|
||
}
|
||
#endif`,UAe=`#if defined( USE_MORPHCOLORS )
|
||
vColor *= morphTargetBaseInfluence;
|
||
for ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) {
|
||
#if defined( USE_COLOR_ALPHA )
|
||
if ( morphTargetInfluences[ i ] != 0.0 ) vColor += getMorph( gl_VertexID, i, 2 ) * morphTargetInfluences[ i ];
|
||
#elif defined( USE_COLOR )
|
||
if ( morphTargetInfluences[ i ] != 0.0 ) vColor += getMorph( gl_VertexID, i, 2 ).rgb * morphTargetInfluences[ i ];
|
||
#endif
|
||
}
|
||
#endif`,HAe=`#ifdef USE_MORPHNORMALS
|
||
objectNormal *= morphTargetBaseInfluence;
|
||
for ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) {
|
||
if ( morphTargetInfluences[ i ] != 0.0 ) objectNormal += getMorph( gl_VertexID, i, 1 ).xyz * morphTargetInfluences[ i ];
|
||
}
|
||
#endif`,GAe=`#ifdef USE_MORPHTARGETS
|
||
#ifndef USE_INSTANCING_MORPH
|
||
uniform float morphTargetBaseInfluence;
|
||
uniform float morphTargetInfluences[ MORPHTARGETS_COUNT ];
|
||
#endif
|
||
uniform sampler2DArray morphTargetsTexture;
|
||
uniform ivec2 morphTargetsTextureSize;
|
||
vec4 getMorph( const in int vertexIndex, const in int morphTargetIndex, const in int offset ) {
|
||
int texelIndex = vertexIndex * MORPHTARGETS_TEXTURE_STRIDE + offset;
|
||
int y = texelIndex / morphTargetsTextureSize.x;
|
||
int x = texelIndex - y * morphTargetsTextureSize.x;
|
||
ivec3 morphUV = ivec3( x, y, morphTargetIndex );
|
||
return texelFetch( morphTargetsTexture, morphUV, 0 );
|
||
}
|
||
#endif`,VAe=`#ifdef USE_MORPHTARGETS
|
||
transformed *= morphTargetBaseInfluence;
|
||
for ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) {
|
||
if ( morphTargetInfluences[ i ] != 0.0 ) transformed += getMorph( gl_VertexID, i, 0 ).xyz * morphTargetInfluences[ i ];
|
||
}
|
||
#endif`,kAe=`float faceDirection = gl_FrontFacing ? 1.0 : - 1.0;
|
||
#ifdef FLAT_SHADED
|
||
vec3 fdx = dFdx( vViewPosition );
|
||
vec3 fdy = dFdy( vViewPosition );
|
||
vec3 normal = normalize( cross( fdx, fdy ) );
|
||
#else
|
||
vec3 normal = normalize( vNormal );
|
||
#ifdef DOUBLE_SIDED
|
||
normal *= faceDirection;
|
||
#endif
|
||
#endif
|
||
#if defined( USE_NORMALMAP_TANGENTSPACE ) || defined( USE_CLEARCOAT_NORMALMAP ) || defined( USE_ANISOTROPY )
|
||
#ifdef USE_TANGENT
|
||
mat3 tbn = mat3( normalize( vTangent ), normalize( vBitangent ), normal );
|
||
#else
|
||
mat3 tbn = getTangentFrame( - vViewPosition, normal,
|
||
#if defined( USE_NORMALMAP )
|
||
vNormalMapUv
|
||
#elif defined( USE_CLEARCOAT_NORMALMAP )
|
||
vClearcoatNormalMapUv
|
||
#else
|
||
vUv
|
||
#endif
|
||
);
|
||
#endif
|
||
#if defined( DOUBLE_SIDED ) && ! defined( FLAT_SHADED )
|
||
tbn[0] *= faceDirection;
|
||
tbn[1] *= faceDirection;
|
||
#endif
|
||
#endif
|
||
#ifdef USE_CLEARCOAT_NORMALMAP
|
||
#ifdef USE_TANGENT
|
||
mat3 tbn2 = mat3( normalize( vTangent ), normalize( vBitangent ), normal );
|
||
#else
|
||
mat3 tbn2 = getTangentFrame( - vViewPosition, normal, vClearcoatNormalMapUv );
|
||
#endif
|
||
#if defined( DOUBLE_SIDED ) && ! defined( FLAT_SHADED )
|
||
tbn2[0] *= faceDirection;
|
||
tbn2[1] *= faceDirection;
|
||
#endif
|
||
#endif
|
||
vec3 nonPerturbedNormal = normal;`,zAe=`#ifdef USE_NORMALMAP_OBJECTSPACE
|
||
normal = texture2D( normalMap, vNormalMapUv ).xyz * 2.0 - 1.0;
|
||
#ifdef FLIP_SIDED
|
||
normal = - normal;
|
||
#endif
|
||
#ifdef DOUBLE_SIDED
|
||
normal = normal * faceDirection;
|
||
#endif
|
||
normal = normalize( normalMatrix * normal );
|
||
#elif defined( USE_NORMALMAP_TANGENTSPACE )
|
||
vec3 mapN = texture2D( normalMap, vNormalMapUv ).xyz * 2.0 - 1.0;
|
||
#if defined( USE_PACKED_NORMALMAP )
|
||
mapN = vec3( mapN.xy, sqrt( saturate( 1.0 - dot( mapN.xy, mapN.xy ) ) ) );
|
||
#endif
|
||
mapN.xy *= normalScale;
|
||
normal = normalize( tbn * mapN );
|
||
#elif defined( USE_BUMPMAP )
|
||
normal = perturbNormalArb( - vViewPosition, normal, dHdxy_fwd(), faceDirection );
|
||
#endif`,WAe=`#ifndef FLAT_SHADED
|
||
varying vec3 vNormal;
|
||
#ifdef USE_TANGENT
|
||
varying vec3 vTangent;
|
||
varying vec3 vBitangent;
|
||
#endif
|
||
#endif`,YAe=`#ifndef FLAT_SHADED
|
||
varying vec3 vNormal;
|
||
#ifdef USE_TANGENT
|
||
varying vec3 vTangent;
|
||
varying vec3 vBitangent;
|
||
#endif
|
||
#endif`,jAe=`#ifndef FLAT_SHADED
|
||
vNormal = normalize( transformedNormal );
|
||
#ifdef USE_TANGENT
|
||
vTangent = normalize( transformedTangent );
|
||
vBitangent = normalize( cross( vNormal, vTangent ) * tangent.w );
|
||
#endif
|
||
#endif`,qAe=`#ifdef USE_NORMALMAP
|
||
uniform sampler2D normalMap;
|
||
uniform vec2 normalScale;
|
||
#endif
|
||
#ifdef USE_NORMALMAP_OBJECTSPACE
|
||
uniform mat3 normalMatrix;
|
||
#endif
|
||
#if ! defined ( USE_TANGENT ) && ( defined ( USE_NORMALMAP_TANGENTSPACE ) || defined ( USE_CLEARCOAT_NORMALMAP ) || defined( USE_ANISOTROPY ) )
|
||
mat3 getTangentFrame( vec3 eye_pos, vec3 surf_norm, vec2 uv ) {
|
||
vec3 q0 = dFdx( eye_pos.xyz );
|
||
vec3 q1 = dFdy( eye_pos.xyz );
|
||
vec2 st0 = dFdx( uv.st );
|
||
vec2 st1 = dFdy( uv.st );
|
||
vec3 N = surf_norm;
|
||
vec3 q1perp = cross( q1, N );
|
||
vec3 q0perp = cross( N, q0 );
|
||
vec3 T = q1perp * st0.x + q0perp * st1.x;
|
||
vec3 B = q1perp * st0.y + q0perp * st1.y;
|
||
float det = max( dot( T, T ), dot( B, B ) );
|
||
float scale = ( det == 0.0 ) ? 0.0 : inversesqrt( det );
|
||
return mat3( T * scale, B * scale, N );
|
||
}
|
||
#endif`,$Ae=`#ifdef USE_CLEARCOAT
|
||
vec3 clearcoatNormal = nonPerturbedNormal;
|
||
#endif`,ZAe=`#ifdef USE_CLEARCOAT_NORMALMAP
|
||
vec3 clearcoatMapN = texture2D( clearcoatNormalMap, vClearcoatNormalMapUv ).xyz * 2.0 - 1.0;
|
||
clearcoatMapN.xy *= clearcoatNormalScale;
|
||
clearcoatNormal = normalize( tbn2 * clearcoatMapN );
|
||
#endif`,KAe=`#ifdef USE_CLEARCOATMAP
|
||
uniform sampler2D clearcoatMap;
|
||
#endif
|
||
#ifdef USE_CLEARCOAT_NORMALMAP
|
||
uniform sampler2D clearcoatNormalMap;
|
||
uniform vec2 clearcoatNormalScale;
|
||
#endif
|
||
#ifdef USE_CLEARCOAT_ROUGHNESSMAP
|
||
uniform sampler2D clearcoatRoughnessMap;
|
||
#endif`,QAe=`#ifdef USE_IRIDESCENCEMAP
|
||
uniform sampler2D iridescenceMap;
|
||
#endif
|
||
#ifdef USE_IRIDESCENCE_THICKNESSMAP
|
||
uniform sampler2D iridescenceThicknessMap;
|
||
#endif`,JAe=`#ifdef OPAQUE
|
||
diffuseColor.a = 1.0;
|
||
#endif
|
||
#ifdef USE_TRANSMISSION
|
||
diffuseColor.a *= material.transmissionAlpha;
|
||
#endif
|
||
gl_FragColor = vec4( outgoingLight, diffuseColor.a );`,XAe=`vec3 packNormalToRGB( const in vec3 normal ) {
|
||
return normalize( normal ) * 0.5 + 0.5;
|
||
}
|
||
vec3 unpackRGBToNormal( const in vec3 rgb ) {
|
||
return 2.0 * rgb.xyz - 1.0;
|
||
}
|
||
const float PackUpscale = 256. / 255.;const float UnpackDownscale = 255. / 256.;const float ShiftRight8 = 1. / 256.;
|
||
const float Inv255 = 1. / 255.;
|
||
const vec4 PackFactors = vec4( 1.0, 256.0, 256.0 * 256.0, 256.0 * 256.0 * 256.0 );
|
||
const vec2 UnpackFactors2 = vec2( UnpackDownscale, 1.0 / PackFactors.g );
|
||
const vec3 UnpackFactors3 = vec3( UnpackDownscale / PackFactors.rg, 1.0 / PackFactors.b );
|
||
const vec4 UnpackFactors4 = vec4( UnpackDownscale / PackFactors.rgb, 1.0 / PackFactors.a );
|
||
vec4 packDepthToRGBA( const in float v ) {
|
||
if( v <= 0.0 )
|
||
return vec4( 0., 0., 0., 0. );
|
||
if( v >= 1.0 )
|
||
return vec4( 1., 1., 1., 1. );
|
||
float vuf;
|
||
float af = modf( v * PackFactors.a, vuf );
|
||
float bf = modf( vuf * ShiftRight8, vuf );
|
||
float gf = modf( vuf * ShiftRight8, vuf );
|
||
return vec4( vuf * Inv255, gf * PackUpscale, bf * PackUpscale, af );
|
||
}
|
||
vec3 packDepthToRGB( const in float v ) {
|
||
if( v <= 0.0 )
|
||
return vec3( 0., 0., 0. );
|
||
if( v >= 1.0 )
|
||
return vec3( 1., 1., 1. );
|
||
float vuf;
|
||
float bf = modf( v * PackFactors.b, vuf );
|
||
float gf = modf( vuf * ShiftRight8, vuf );
|
||
return vec3( vuf * Inv255, gf * PackUpscale, bf );
|
||
}
|
||
vec2 packDepthToRG( const in float v ) {
|
||
if( v <= 0.0 )
|
||
return vec2( 0., 0. );
|
||
if( v >= 1.0 )
|
||
return vec2( 1., 1. );
|
||
float vuf;
|
||
float gf = modf( v * 256., vuf );
|
||
return vec2( vuf * Inv255, gf );
|
||
}
|
||
float unpackRGBAToDepth( const in vec4 v ) {
|
||
return dot( v, UnpackFactors4 );
|
||
}
|
||
float unpackRGBToDepth( const in vec3 v ) {
|
||
return dot( v, UnpackFactors3 );
|
||
}
|
||
float unpackRGToDepth( const in vec2 v ) {
|
||
return v.r * UnpackFactors2.r + v.g * UnpackFactors2.g;
|
||
}
|
||
vec4 pack2HalfToRGBA( const in vec2 v ) {
|
||
vec4 r = vec4( v.x, fract( v.x * 255.0 ), v.y, fract( v.y * 255.0 ) );
|
||
return vec4( r.x - r.y / 255.0, r.y, r.z - r.w / 255.0, r.w );
|
||
}
|
||
vec2 unpackRGBATo2Half( const in vec4 v ) {
|
||
return vec2( v.x + ( v.y / 255.0 ), v.z + ( v.w / 255.0 ) );
|
||
}
|
||
float viewZToOrthographicDepth( const in float viewZ, const in float near, const in float far ) {
|
||
return ( viewZ + near ) / ( near - far );
|
||
}
|
||
float orthographicDepthToViewZ( const in float depth, const in float near, const in float far ) {
|
||
#ifdef USE_REVERSED_DEPTH_BUFFER
|
||
|
||
return depth * ( far - near ) - far;
|
||
#else
|
||
return depth * ( near - far ) - near;
|
||
#endif
|
||
}
|
||
float viewZToPerspectiveDepth( const in float viewZ, const in float near, const in float far ) {
|
||
return ( ( near + viewZ ) * far ) / ( ( far - near ) * viewZ );
|
||
}
|
||
float perspectiveDepthToViewZ( const in float depth, const in float near, const in float far ) {
|
||
|
||
#ifdef USE_REVERSED_DEPTH_BUFFER
|
||
return ( near * far ) / ( ( near - far ) * depth - near );
|
||
#else
|
||
return ( near * far ) / ( ( far - near ) * depth - far );
|
||
#endif
|
||
}`,ebe=`#ifdef PREMULTIPLIED_ALPHA
|
||
gl_FragColor.rgb *= gl_FragColor.a;
|
||
#endif`,tbe=`vec4 mvPosition = vec4( transformed, 1.0 );
|
||
#ifdef USE_BATCHING
|
||
mvPosition = batchingMatrix * mvPosition;
|
||
#endif
|
||
#ifdef USE_INSTANCING
|
||
mvPosition = instanceMatrix * mvPosition;
|
||
#endif
|
||
mvPosition = modelViewMatrix * mvPosition;
|
||
gl_Position = projectionMatrix * mvPosition;`,ibe=`#ifdef DITHERING
|
||
gl_FragColor.rgb = dithering( gl_FragColor.rgb );
|
||
#endif`,nbe=`#ifdef DITHERING
|
||
vec3 dithering( vec3 color ) {
|
||
float grid_position = rand( gl_FragCoord.xy );
|
||
vec3 dither_shift_RGB = vec3( 0.25 / 255.0, -0.25 / 255.0, 0.25 / 255.0 );
|
||
dither_shift_RGB = mix( 2.0 * dither_shift_RGB, -2.0 * dither_shift_RGB, grid_position );
|
||
return color + dither_shift_RGB;
|
||
}
|
||
#endif`,sbe=`float roughnessFactor = roughness;
|
||
#ifdef USE_ROUGHNESSMAP
|
||
vec4 texelRoughness = texture2D( roughnessMap, vRoughnessMapUv );
|
||
roughnessFactor *= texelRoughness.g;
|
||
#endif`,obe=`#ifdef USE_ROUGHNESSMAP
|
||
uniform sampler2D roughnessMap;
|
||
#endif`,rbe=`#if NUM_SPOT_LIGHT_COORDS > 0
|
||
varying vec4 vSpotLightCoord[ NUM_SPOT_LIGHT_COORDS ];
|
||
#endif
|
||
#if NUM_SPOT_LIGHT_MAPS > 0
|
||
uniform sampler2D spotLightMap[ NUM_SPOT_LIGHT_MAPS ];
|
||
#endif
|
||
#ifdef USE_SHADOWMAP
|
||
#if NUM_DIR_LIGHT_SHADOWS > 0
|
||
#if defined( SHADOWMAP_TYPE_PCF )
|
||
uniform sampler2DShadow directionalShadowMap[ NUM_DIR_LIGHT_SHADOWS ];
|
||
#else
|
||
uniform sampler2D directionalShadowMap[ NUM_DIR_LIGHT_SHADOWS ];
|
||
#endif
|
||
varying vec4 vDirectionalShadowCoord[ NUM_DIR_LIGHT_SHADOWS ];
|
||
struct DirectionalLightShadow {
|
||
float shadowIntensity;
|
||
float shadowBias;
|
||
float shadowNormalBias;
|
||
float shadowRadius;
|
||
vec2 shadowMapSize;
|
||
};
|
||
uniform DirectionalLightShadow directionalLightShadows[ NUM_DIR_LIGHT_SHADOWS ];
|
||
#endif
|
||
#if NUM_SPOT_LIGHT_SHADOWS > 0
|
||
#if defined( SHADOWMAP_TYPE_PCF )
|
||
uniform sampler2DShadow spotShadowMap[ NUM_SPOT_LIGHT_SHADOWS ];
|
||
#else
|
||
uniform sampler2D spotShadowMap[ NUM_SPOT_LIGHT_SHADOWS ];
|
||
#endif
|
||
struct SpotLightShadow {
|
||
float shadowIntensity;
|
||
float shadowBias;
|
||
float shadowNormalBias;
|
||
float shadowRadius;
|
||
vec2 shadowMapSize;
|
||
};
|
||
uniform SpotLightShadow spotLightShadows[ NUM_SPOT_LIGHT_SHADOWS ];
|
||
#endif
|
||
#if NUM_POINT_LIGHT_SHADOWS > 0
|
||
#if defined( SHADOWMAP_TYPE_PCF )
|
||
uniform samplerCubeShadow pointShadowMap[ NUM_POINT_LIGHT_SHADOWS ];
|
||
#elif defined( SHADOWMAP_TYPE_BASIC )
|
||
uniform samplerCube pointShadowMap[ NUM_POINT_LIGHT_SHADOWS ];
|
||
#endif
|
||
varying vec4 vPointShadowCoord[ NUM_POINT_LIGHT_SHADOWS ];
|
||
struct PointLightShadow {
|
||
float shadowIntensity;
|
||
float shadowBias;
|
||
float shadowNormalBias;
|
||
float shadowRadius;
|
||
vec2 shadowMapSize;
|
||
float shadowCameraNear;
|
||
float shadowCameraFar;
|
||
};
|
||
uniform PointLightShadow pointLightShadows[ NUM_POINT_LIGHT_SHADOWS ];
|
||
#endif
|
||
#if defined( SHADOWMAP_TYPE_PCF )
|
||
float interleavedGradientNoise( vec2 position ) {
|
||
return fract( 52.9829189 * fract( dot( position, vec2( 0.06711056, 0.00583715 ) ) ) );
|
||
}
|
||
vec2 vogelDiskSample( int sampleIndex, int samplesCount, float phi ) {
|
||
const float goldenAngle = 2.399963229728653;
|
||
float r = sqrt( ( float( sampleIndex ) + 0.5 ) / float( samplesCount ) );
|
||
float theta = float( sampleIndex ) * goldenAngle + phi;
|
||
return vec2( cos( theta ), sin( theta ) ) * r;
|
||
}
|
||
#endif
|
||
#if defined( SHADOWMAP_TYPE_PCF )
|
||
float getShadow( sampler2DShadow shadowMap, vec2 shadowMapSize, float shadowIntensity, float shadowBias, float shadowRadius, vec4 shadowCoord ) {
|
||
float shadow = 1.0;
|
||
shadowCoord.xyz /= shadowCoord.w;
|
||
shadowCoord.z += shadowBias;
|
||
bool inFrustum = shadowCoord.x >= 0.0 && shadowCoord.x <= 1.0 && shadowCoord.y >= 0.0 && shadowCoord.y <= 1.0;
|
||
bool frustumTest = inFrustum && shadowCoord.z <= 1.0;
|
||
if ( frustumTest ) {
|
||
vec2 texelSize = vec2( 1.0 ) / shadowMapSize;
|
||
float radius = shadowRadius * texelSize.x;
|
||
float phi = interleavedGradientNoise( gl_FragCoord.xy ) * PI2;
|
||
shadow = (
|
||
texture( shadowMap, vec3( shadowCoord.xy + vogelDiskSample( 0, 5, phi ) * radius, shadowCoord.z ) ) +
|
||
texture( shadowMap, vec3( shadowCoord.xy + vogelDiskSample( 1, 5, phi ) * radius, shadowCoord.z ) ) +
|
||
texture( shadowMap, vec3( shadowCoord.xy + vogelDiskSample( 2, 5, phi ) * radius, shadowCoord.z ) ) +
|
||
texture( shadowMap, vec3( shadowCoord.xy + vogelDiskSample( 3, 5, phi ) * radius, shadowCoord.z ) ) +
|
||
texture( shadowMap, vec3( shadowCoord.xy + vogelDiskSample( 4, 5, phi ) * radius, shadowCoord.z ) )
|
||
) * 0.2;
|
||
}
|
||
return mix( 1.0, shadow, shadowIntensity );
|
||
}
|
||
#elif defined( SHADOWMAP_TYPE_VSM )
|
||
float getShadow( sampler2D shadowMap, vec2 shadowMapSize, float shadowIntensity, float shadowBias, float shadowRadius, vec4 shadowCoord ) {
|
||
float shadow = 1.0;
|
||
shadowCoord.xyz /= shadowCoord.w;
|
||
#ifdef USE_REVERSED_DEPTH_BUFFER
|
||
shadowCoord.z -= shadowBias;
|
||
#else
|
||
shadowCoord.z += shadowBias;
|
||
#endif
|
||
bool inFrustum = shadowCoord.x >= 0.0 && shadowCoord.x <= 1.0 && shadowCoord.y >= 0.0 && shadowCoord.y <= 1.0;
|
||
bool frustumTest = inFrustum && shadowCoord.z <= 1.0;
|
||
if ( frustumTest ) {
|
||
vec2 distribution = texture2D( shadowMap, shadowCoord.xy ).rg;
|
||
float mean = distribution.x;
|
||
float variance = distribution.y * distribution.y;
|
||
#ifdef USE_REVERSED_DEPTH_BUFFER
|
||
float hard_shadow = step( mean, shadowCoord.z );
|
||
#else
|
||
float hard_shadow = step( shadowCoord.z, mean );
|
||
#endif
|
||
|
||
if ( hard_shadow == 1.0 ) {
|
||
shadow = 1.0;
|
||
} else {
|
||
variance = max( variance, 0.0000001 );
|
||
float d = shadowCoord.z - mean;
|
||
float p_max = variance / ( variance + d * d );
|
||
p_max = clamp( ( p_max - 0.3 ) / 0.65, 0.0, 1.0 );
|
||
shadow = max( hard_shadow, p_max );
|
||
}
|
||
}
|
||
return mix( 1.0, shadow, shadowIntensity );
|
||
}
|
||
#else
|
||
float getShadow( sampler2D shadowMap, vec2 shadowMapSize, float shadowIntensity, float shadowBias, float shadowRadius, vec4 shadowCoord ) {
|
||
float shadow = 1.0;
|
||
shadowCoord.xyz /= shadowCoord.w;
|
||
#ifdef USE_REVERSED_DEPTH_BUFFER
|
||
shadowCoord.z -= shadowBias;
|
||
#else
|
||
shadowCoord.z += shadowBias;
|
||
#endif
|
||
bool inFrustum = shadowCoord.x >= 0.0 && shadowCoord.x <= 1.0 && shadowCoord.y >= 0.0 && shadowCoord.y <= 1.0;
|
||
bool frustumTest = inFrustum && shadowCoord.z <= 1.0;
|
||
if ( frustumTest ) {
|
||
float depth = texture2D( shadowMap, shadowCoord.xy ).r;
|
||
#ifdef USE_REVERSED_DEPTH_BUFFER
|
||
shadow = step( depth, shadowCoord.z );
|
||
#else
|
||
shadow = step( shadowCoord.z, depth );
|
||
#endif
|
||
}
|
||
return mix( 1.0, shadow, shadowIntensity );
|
||
}
|
||
#endif
|
||
#if NUM_POINT_LIGHT_SHADOWS > 0
|
||
#if defined( SHADOWMAP_TYPE_PCF )
|
||
float getPointShadow( samplerCubeShadow shadowMap, vec2 shadowMapSize, float shadowIntensity, float shadowBias, float shadowRadius, vec4 shadowCoord, float shadowCameraNear, float shadowCameraFar ) {
|
||
float shadow = 1.0;
|
||
vec3 lightToPosition = shadowCoord.xyz;
|
||
vec3 bd3D = normalize( lightToPosition );
|
||
vec3 absVec = abs( lightToPosition );
|
||
float viewSpaceZ = max( max( absVec.x, absVec.y ), absVec.z );
|
||
if ( viewSpaceZ - shadowCameraFar <= 0.0 && viewSpaceZ - shadowCameraNear >= 0.0 ) {
|
||
#ifdef USE_REVERSED_DEPTH_BUFFER
|
||
float dp = ( shadowCameraNear * ( shadowCameraFar - viewSpaceZ ) ) / ( viewSpaceZ * ( shadowCameraFar - shadowCameraNear ) );
|
||
dp -= shadowBias;
|
||
#else
|
||
float dp = ( shadowCameraFar * ( viewSpaceZ - shadowCameraNear ) ) / ( viewSpaceZ * ( shadowCameraFar - shadowCameraNear ) );
|
||
dp += shadowBias;
|
||
#endif
|
||
float texelSize = shadowRadius / shadowMapSize.x;
|
||
vec3 absDir = abs( bd3D );
|
||
vec3 tangent = absDir.x > absDir.z ? vec3( 0.0, 1.0, 0.0 ) : vec3( 1.0, 0.0, 0.0 );
|
||
tangent = normalize( cross( bd3D, tangent ) );
|
||
vec3 bitangent = cross( bd3D, tangent );
|
||
float phi = interleavedGradientNoise( gl_FragCoord.xy ) * PI2;
|
||
vec2 sample0 = vogelDiskSample( 0, 5, phi );
|
||
vec2 sample1 = vogelDiskSample( 1, 5, phi );
|
||
vec2 sample2 = vogelDiskSample( 2, 5, phi );
|
||
vec2 sample3 = vogelDiskSample( 3, 5, phi );
|
||
vec2 sample4 = vogelDiskSample( 4, 5, phi );
|
||
shadow = (
|
||
texture( shadowMap, vec4( bd3D + ( tangent * sample0.x + bitangent * sample0.y ) * texelSize, dp ) ) +
|
||
texture( shadowMap, vec4( bd3D + ( tangent * sample1.x + bitangent * sample1.y ) * texelSize, dp ) ) +
|
||
texture( shadowMap, vec4( bd3D + ( tangent * sample2.x + bitangent * sample2.y ) * texelSize, dp ) ) +
|
||
texture( shadowMap, vec4( bd3D + ( tangent * sample3.x + bitangent * sample3.y ) * texelSize, dp ) ) +
|
||
texture( shadowMap, vec4( bd3D + ( tangent * sample4.x + bitangent * sample4.y ) * texelSize, dp ) )
|
||
) * 0.2;
|
||
}
|
||
return mix( 1.0, shadow, shadowIntensity );
|
||
}
|
||
#elif defined( SHADOWMAP_TYPE_BASIC )
|
||
float getPointShadow( samplerCube shadowMap, vec2 shadowMapSize, float shadowIntensity, float shadowBias, float shadowRadius, vec4 shadowCoord, float shadowCameraNear, float shadowCameraFar ) {
|
||
float shadow = 1.0;
|
||
vec3 lightToPosition = shadowCoord.xyz;
|
||
vec3 absVec = abs( lightToPosition );
|
||
float viewSpaceZ = max( max( absVec.x, absVec.y ), absVec.z );
|
||
if ( viewSpaceZ - shadowCameraFar <= 0.0 && viewSpaceZ - shadowCameraNear >= 0.0 ) {
|
||
float dp = ( shadowCameraFar * ( viewSpaceZ - shadowCameraNear ) ) / ( viewSpaceZ * ( shadowCameraFar - shadowCameraNear ) );
|
||
dp += shadowBias;
|
||
vec3 bd3D = normalize( lightToPosition );
|
||
float depth = textureCube( shadowMap, bd3D ).r;
|
||
#ifdef USE_REVERSED_DEPTH_BUFFER
|
||
depth = 1.0 - depth;
|
||
#endif
|
||
shadow = step( dp, depth );
|
||
}
|
||
return mix( 1.0, shadow, shadowIntensity );
|
||
}
|
||
#endif
|
||
#endif
|
||
#endif`,lbe=`#if NUM_SPOT_LIGHT_COORDS > 0
|
||
uniform mat4 spotLightMatrix[ NUM_SPOT_LIGHT_COORDS ];
|
||
varying vec4 vSpotLightCoord[ NUM_SPOT_LIGHT_COORDS ];
|
||
#endif
|
||
#ifdef USE_SHADOWMAP
|
||
#if NUM_DIR_LIGHT_SHADOWS > 0
|
||
uniform mat4 directionalShadowMatrix[ NUM_DIR_LIGHT_SHADOWS ];
|
||
varying vec4 vDirectionalShadowCoord[ NUM_DIR_LIGHT_SHADOWS ];
|
||
struct DirectionalLightShadow {
|
||
float shadowIntensity;
|
||
float shadowBias;
|
||
float shadowNormalBias;
|
||
float shadowRadius;
|
||
vec2 shadowMapSize;
|
||
};
|
||
uniform DirectionalLightShadow directionalLightShadows[ NUM_DIR_LIGHT_SHADOWS ];
|
||
#endif
|
||
#if NUM_SPOT_LIGHT_SHADOWS > 0
|
||
struct SpotLightShadow {
|
||
float shadowIntensity;
|
||
float shadowBias;
|
||
float shadowNormalBias;
|
||
float shadowRadius;
|
||
vec2 shadowMapSize;
|
||
};
|
||
uniform SpotLightShadow spotLightShadows[ NUM_SPOT_LIGHT_SHADOWS ];
|
||
#endif
|
||
#if NUM_POINT_LIGHT_SHADOWS > 0
|
||
uniform mat4 pointShadowMatrix[ NUM_POINT_LIGHT_SHADOWS ];
|
||
varying vec4 vPointShadowCoord[ NUM_POINT_LIGHT_SHADOWS ];
|
||
struct PointLightShadow {
|
||
float shadowIntensity;
|
||
float shadowBias;
|
||
float shadowNormalBias;
|
||
float shadowRadius;
|
||
vec2 shadowMapSize;
|
||
float shadowCameraNear;
|
||
float shadowCameraFar;
|
||
};
|
||
uniform PointLightShadow pointLightShadows[ NUM_POINT_LIGHT_SHADOWS ];
|
||
#endif
|
||
#endif`,abe=`#if ( defined( USE_SHADOWMAP ) && ( NUM_DIR_LIGHT_SHADOWS > 0 || NUM_POINT_LIGHT_SHADOWS > 0 ) ) || ( NUM_SPOT_LIGHT_COORDS > 0 )
|
||
#ifdef HAS_NORMAL
|
||
vec3 shadowWorldNormal = inverseTransformDirection( transformedNormal, viewMatrix );
|
||
#else
|
||
vec3 shadowWorldNormal = vec3( 0.0 );
|
||
#endif
|
||
vec4 shadowWorldPosition;
|
||
#endif
|
||
#if defined( USE_SHADOWMAP )
|
||
#if NUM_DIR_LIGHT_SHADOWS > 0
|
||
#pragma unroll_loop_start
|
||
for ( int i = 0; i < NUM_DIR_LIGHT_SHADOWS; i ++ ) {
|
||
shadowWorldPosition = worldPosition + vec4( shadowWorldNormal * directionalLightShadows[ i ].shadowNormalBias, 0 );
|
||
vDirectionalShadowCoord[ i ] = directionalShadowMatrix[ i ] * shadowWorldPosition;
|
||
}
|
||
#pragma unroll_loop_end
|
||
#endif
|
||
#if NUM_POINT_LIGHT_SHADOWS > 0
|
||
#pragma unroll_loop_start
|
||
for ( int i = 0; i < NUM_POINT_LIGHT_SHADOWS; i ++ ) {
|
||
shadowWorldPosition = worldPosition + vec4( shadowWorldNormal * pointLightShadows[ i ].shadowNormalBias, 0 );
|
||
vPointShadowCoord[ i ] = pointShadowMatrix[ i ] * shadowWorldPosition;
|
||
}
|
||
#pragma unroll_loop_end
|
||
#endif
|
||
#endif
|
||
#if NUM_SPOT_LIGHT_COORDS > 0
|
||
#pragma unroll_loop_start
|
||
for ( int i = 0; i < NUM_SPOT_LIGHT_COORDS; i ++ ) {
|
||
shadowWorldPosition = worldPosition;
|
||
#if ( defined( USE_SHADOWMAP ) && UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS )
|
||
shadowWorldPosition.xyz += shadowWorldNormal * spotLightShadows[ i ].shadowNormalBias;
|
||
#endif
|
||
vSpotLightCoord[ i ] = spotLightMatrix[ i ] * shadowWorldPosition;
|
||
}
|
||
#pragma unroll_loop_end
|
||
#endif`,ube=`float getShadowMask() {
|
||
float shadow = 1.0;
|
||
#ifdef USE_SHADOWMAP
|
||
#if NUM_DIR_LIGHT_SHADOWS > 0
|
||
DirectionalLightShadow directionalLight;
|
||
#pragma unroll_loop_start
|
||
for ( int i = 0; i < NUM_DIR_LIGHT_SHADOWS; i ++ ) {
|
||
directionalLight = directionalLightShadows[ i ];
|
||
shadow *= receiveShadow ? getShadow( directionalShadowMap[ i ], directionalLight.shadowMapSize, directionalLight.shadowIntensity, directionalLight.shadowBias, directionalLight.shadowRadius, vDirectionalShadowCoord[ i ] ) : 1.0;
|
||
}
|
||
#pragma unroll_loop_end
|
||
#endif
|
||
#if NUM_SPOT_LIGHT_SHADOWS > 0
|
||
SpotLightShadow spotLight;
|
||
#pragma unroll_loop_start
|
||
for ( int i = 0; i < NUM_SPOT_LIGHT_SHADOWS; i ++ ) {
|
||
spotLight = spotLightShadows[ i ];
|
||
shadow *= receiveShadow ? getShadow( spotShadowMap[ i ], spotLight.shadowMapSize, spotLight.shadowIntensity, spotLight.shadowBias, spotLight.shadowRadius, vSpotLightCoord[ i ] ) : 1.0;
|
||
}
|
||
#pragma unroll_loop_end
|
||
#endif
|
||
#if NUM_POINT_LIGHT_SHADOWS > 0 && ( defined( SHADOWMAP_TYPE_PCF ) || defined( SHADOWMAP_TYPE_BASIC ) )
|
||
PointLightShadow pointLight;
|
||
#pragma unroll_loop_start
|
||
for ( int i = 0; i < NUM_POINT_LIGHT_SHADOWS; i ++ ) {
|
||
pointLight = pointLightShadows[ i ];
|
||
shadow *= receiveShadow ? getPointShadow( pointShadowMap[ i ], pointLight.shadowMapSize, pointLight.shadowIntensity, pointLight.shadowBias, pointLight.shadowRadius, vPointShadowCoord[ i ], pointLight.shadowCameraNear, pointLight.shadowCameraFar ) : 1.0;
|
||
}
|
||
#pragma unroll_loop_end
|
||
#endif
|
||
#endif
|
||
return shadow;
|
||
}`,cbe=`#ifdef USE_SKINNING
|
||
mat4 boneMatX = getBoneMatrix( skinIndex.x );
|
||
mat4 boneMatY = getBoneMatrix( skinIndex.y );
|
||
mat4 boneMatZ = getBoneMatrix( skinIndex.z );
|
||
mat4 boneMatW = getBoneMatrix( skinIndex.w );
|
||
#endif`,dbe=`#ifdef USE_SKINNING
|
||
uniform mat4 bindMatrix;
|
||
uniform mat4 bindMatrixInverse;
|
||
uniform highp sampler2D boneTexture;
|
||
mat4 getBoneMatrix( const in float i ) {
|
||
int size = textureSize( boneTexture, 0 ).x;
|
||
int j = int( i ) * 4;
|
||
int x = j % size;
|
||
int y = j / size;
|
||
vec4 v1 = texelFetch( boneTexture, ivec2( x, y ), 0 );
|
||
vec4 v2 = texelFetch( boneTexture, ivec2( x + 1, y ), 0 );
|
||
vec4 v3 = texelFetch( boneTexture, ivec2( x + 2, y ), 0 );
|
||
vec4 v4 = texelFetch( boneTexture, ivec2( x + 3, y ), 0 );
|
||
return mat4( v1, v2, v3, v4 );
|
||
}
|
||
#endif`,hbe=`#ifdef USE_SKINNING
|
||
vec4 skinVertex = bindMatrix * vec4( transformed, 1.0 );
|
||
vec4 skinned = vec4( 0.0 );
|
||
skinned += boneMatX * skinVertex * skinWeight.x;
|
||
skinned += boneMatY * skinVertex * skinWeight.y;
|
||
skinned += boneMatZ * skinVertex * skinWeight.z;
|
||
skinned += boneMatW * skinVertex * skinWeight.w;
|
||
transformed = ( bindMatrixInverse * skinned ).xyz;
|
||
#endif`,fbe=`#ifdef USE_SKINNING
|
||
mat4 skinMatrix = mat4( 0.0 );
|
||
skinMatrix += skinWeight.x * boneMatX;
|
||
skinMatrix += skinWeight.y * boneMatY;
|
||
skinMatrix += skinWeight.z * boneMatZ;
|
||
skinMatrix += skinWeight.w * boneMatW;
|
||
skinMatrix = bindMatrixInverse * skinMatrix * bindMatrix;
|
||
objectNormal = vec4( skinMatrix * vec4( objectNormal, 0.0 ) ).xyz;
|
||
#ifdef USE_TANGENT
|
||
objectTangent = vec4( skinMatrix * vec4( objectTangent, 0.0 ) ).xyz;
|
||
#endif
|
||
#endif`,pbe=`float specularStrength;
|
||
#ifdef USE_SPECULARMAP
|
||
vec4 texelSpecular = texture2D( specularMap, vSpecularMapUv );
|
||
specularStrength = texelSpecular.r;
|
||
#else
|
||
specularStrength = 1.0;
|
||
#endif`,Ibe=`#ifdef USE_SPECULARMAP
|
||
uniform sampler2D specularMap;
|
||
#endif`,mbe=`#if defined( TONE_MAPPING )
|
||
gl_FragColor.rgb = toneMapping( gl_FragColor.rgb );
|
||
#endif`,ybe=`#ifndef saturate
|
||
#define saturate( a ) clamp( a, 0.0, 1.0 )
|
||
#endif
|
||
uniform float toneMappingExposure;
|
||
vec3 LinearToneMapping( vec3 color ) {
|
||
return saturate( toneMappingExposure * color );
|
||
}
|
||
vec3 ReinhardToneMapping( vec3 color ) {
|
||
color *= toneMappingExposure;
|
||
return saturate( color / ( vec3( 1.0 ) + color ) );
|
||
}
|
||
vec3 CineonToneMapping( vec3 color ) {
|
||
color *= toneMappingExposure;
|
||
color = max( vec3( 0.0 ), color - 0.004 );
|
||
return pow( ( color * ( 6.2 * color + 0.5 ) ) / ( color * ( 6.2 * color + 1.7 ) + 0.06 ), vec3( 2.2 ) );
|
||
}
|
||
vec3 RRTAndODTFit( vec3 v ) {
|
||
vec3 a = v * ( v + 0.0245786 ) - 0.000090537;
|
||
vec3 b = v * ( 0.983729 * v + 0.4329510 ) + 0.238081;
|
||
return a / b;
|
||
}
|
||
vec3 ACESFilmicToneMapping( vec3 color ) {
|
||
const mat3 ACESInputMat = mat3(
|
||
vec3( 0.59719, 0.07600, 0.02840 ), vec3( 0.35458, 0.90834, 0.13383 ),
|
||
vec3( 0.04823, 0.01566, 0.83777 )
|
||
);
|
||
const mat3 ACESOutputMat = mat3(
|
||
vec3( 1.60475, -0.10208, -0.00327 ), vec3( -0.53108, 1.10813, -0.07276 ),
|
||
vec3( -0.07367, -0.00605, 1.07602 )
|
||
);
|
||
color *= toneMappingExposure / 0.6;
|
||
color = ACESInputMat * color;
|
||
color = RRTAndODTFit( color );
|
||
color = ACESOutputMat * color;
|
||
return saturate( color );
|
||
}
|
||
const mat3 LINEAR_REC2020_TO_LINEAR_SRGB = mat3(
|
||
vec3( 1.6605, - 0.1246, - 0.0182 ),
|
||
vec3( - 0.5876, 1.1329, - 0.1006 ),
|
||
vec3( - 0.0728, - 0.0083, 1.1187 )
|
||
);
|
||
const mat3 LINEAR_SRGB_TO_LINEAR_REC2020 = mat3(
|
||
vec3( 0.6274, 0.0691, 0.0164 ),
|
||
vec3( 0.3293, 0.9195, 0.0880 ),
|
||
vec3( 0.0433, 0.0113, 0.8956 )
|
||
);
|
||
vec3 agxDefaultContrastApprox( vec3 x ) {
|
||
vec3 x2 = x * x;
|
||
vec3 x4 = x2 * x2;
|
||
return + 15.5 * x4 * x2
|
||
- 40.14 * x4 * x
|
||
+ 31.96 * x4
|
||
- 6.868 * x2 * x
|
||
+ 0.4298 * x2
|
||
+ 0.1191 * x
|
||
- 0.00232;
|
||
}
|
||
vec3 AgXToneMapping( vec3 color ) {
|
||
const mat3 AgXInsetMatrix = mat3(
|
||
vec3( 0.856627153315983, 0.137318972929847, 0.11189821299995 ),
|
||
vec3( 0.0951212405381588, 0.761241990602591, 0.0767994186031903 ),
|
||
vec3( 0.0482516061458583, 0.101439036467562, 0.811302368396859 )
|
||
);
|
||
const mat3 AgXOutsetMatrix = mat3(
|
||
vec3( 1.1271005818144368, - 0.1413297634984383, - 0.14132976349843826 ),
|
||
vec3( - 0.11060664309660323, 1.157823702216272, - 0.11060664309660294 ),
|
||
vec3( - 0.016493938717834573, - 0.016493938717834257, 1.2519364065950405 )
|
||
);
|
||
const float AgxMinEv = - 12.47393; const float AgxMaxEv = 4.026069;
|
||
color *= toneMappingExposure;
|
||
color = LINEAR_SRGB_TO_LINEAR_REC2020 * color;
|
||
color = AgXInsetMatrix * color;
|
||
color = max( color, 1e-10 ); color = log2( color );
|
||
color = ( color - AgxMinEv ) / ( AgxMaxEv - AgxMinEv );
|
||
color = clamp( color, 0.0, 1.0 );
|
||
color = agxDefaultContrastApprox( color );
|
||
color = AgXOutsetMatrix * color;
|
||
color = pow( max( vec3( 0.0 ), color ), vec3( 2.2 ) );
|
||
color = LINEAR_REC2020_TO_LINEAR_SRGB * color;
|
||
color = clamp( color, 0.0, 1.0 );
|
||
return color;
|
||
}
|
||
vec3 NeutralToneMapping( vec3 color ) {
|
||
const float StartCompression = 0.8 - 0.04;
|
||
const float Desaturation = 0.15;
|
||
color *= toneMappingExposure;
|
||
float x = min( color.r, min( color.g, color.b ) );
|
||
float offset = x < 0.08 ? x - 6.25 * x * x : 0.04;
|
||
color -= offset;
|
||
float peak = max( color.r, max( color.g, color.b ) );
|
||
if ( peak < StartCompression ) return color;
|
||
float d = 1. - StartCompression;
|
||
float newPeak = 1. - d * d / ( peak + d - StartCompression );
|
||
color *= newPeak / peak;
|
||
float g = 1. - 1. / ( Desaturation * ( peak - newPeak ) + 1. );
|
||
return mix( color, vec3( newPeak ), g );
|
||
}
|
||
vec3 CustomToneMapping( vec3 color ) { return color; }`,Ebe=`#ifdef USE_TRANSMISSION
|
||
material.transmission = transmission;
|
||
material.transmissionAlpha = 1.0;
|
||
material.thickness = thickness;
|
||
material.attenuationDistance = attenuationDistance;
|
||
material.attenuationColor = attenuationColor;
|
||
#ifdef USE_TRANSMISSIONMAP
|
||
material.transmission *= texture2D( transmissionMap, vTransmissionMapUv ).r;
|
||
#endif
|
||
#ifdef USE_THICKNESSMAP
|
||
material.thickness *= texture2D( thicknessMap, vThicknessMapUv ).g;
|
||
#endif
|
||
vec3 pos = vWorldPosition;
|
||
vec3 v = normalize( cameraPosition - pos );
|
||
vec3 n = inverseTransformDirection( normal, viewMatrix );
|
||
vec4 transmitted = getIBLVolumeRefraction(
|
||
n, v, material.roughness, material.diffuseContribution, material.specularColorBlended, material.specularF90,
|
||
pos, modelMatrix, viewMatrix, projectionMatrix, material.dispersion, material.ior, material.thickness,
|
||
material.attenuationColor, material.attenuationDistance );
|
||
material.transmissionAlpha = mix( material.transmissionAlpha, transmitted.a, material.transmission );
|
||
totalDiffuse = mix( totalDiffuse, transmitted.rgb, material.transmission );
|
||
#endif`,Tbe=`#ifdef USE_TRANSMISSION
|
||
uniform float transmission;
|
||
uniform float thickness;
|
||
uniform float attenuationDistance;
|
||
uniform vec3 attenuationColor;
|
||
#ifdef USE_TRANSMISSIONMAP
|
||
uniform sampler2D transmissionMap;
|
||
#endif
|
||
#ifdef USE_THICKNESSMAP
|
||
uniform sampler2D thicknessMap;
|
||
#endif
|
||
uniform vec2 transmissionSamplerSize;
|
||
uniform sampler2D transmissionSamplerMap;
|
||
uniform mat4 modelMatrix;
|
||
uniform mat4 projectionMatrix;
|
||
varying vec3 vWorldPosition;
|
||
float w0( float a ) {
|
||
return ( 1.0 / 6.0 ) * ( a * ( a * ( - a + 3.0 ) - 3.0 ) + 1.0 );
|
||
}
|
||
float w1( float a ) {
|
||
return ( 1.0 / 6.0 ) * ( a * a * ( 3.0 * a - 6.0 ) + 4.0 );
|
||
}
|
||
float w2( float a ){
|
||
return ( 1.0 / 6.0 ) * ( a * ( a * ( - 3.0 * a + 3.0 ) + 3.0 ) + 1.0 );
|
||
}
|
||
float w3( float a ) {
|
||
return ( 1.0 / 6.0 ) * ( a * a * a );
|
||
}
|
||
float g0( float a ) {
|
||
return w0( a ) + w1( a );
|
||
}
|
||
float g1( float a ) {
|
||
return w2( a ) + w3( a );
|
||
}
|
||
float h0( float a ) {
|
||
return - 1.0 + w1( a ) / ( w0( a ) + w1( a ) );
|
||
}
|
||
float h1( float a ) {
|
||
return 1.0 + w3( a ) / ( w2( a ) + w3( a ) );
|
||
}
|
||
vec4 bicubic( sampler2D tex, vec2 uv, vec4 texelSize, float lod ) {
|
||
uv = uv * texelSize.zw + 0.5;
|
||
vec2 iuv = floor( uv );
|
||
vec2 fuv = fract( uv );
|
||
float g0x = g0( fuv.x );
|
||
float g1x = g1( fuv.x );
|
||
float h0x = h0( fuv.x );
|
||
float h1x = h1( fuv.x );
|
||
float h0y = h0( fuv.y );
|
||
float h1y = h1( fuv.y );
|
||
vec2 p0 = ( vec2( iuv.x + h0x, iuv.y + h0y ) - 0.5 ) * texelSize.xy;
|
||
vec2 p1 = ( vec2( iuv.x + h1x, iuv.y + h0y ) - 0.5 ) * texelSize.xy;
|
||
vec2 p2 = ( vec2( iuv.x + h0x, iuv.y + h1y ) - 0.5 ) * texelSize.xy;
|
||
vec2 p3 = ( vec2( iuv.x + h1x, iuv.y + h1y ) - 0.5 ) * texelSize.xy;
|
||
return g0( fuv.y ) * ( g0x * textureLod( tex, p0, lod ) + g1x * textureLod( tex, p1, lod ) ) +
|
||
g1( fuv.y ) * ( g0x * textureLod( tex, p2, lod ) + g1x * textureLod( tex, p3, lod ) );
|
||
}
|
||
vec4 textureBicubic( sampler2D sampler, vec2 uv, float lod ) {
|
||
vec2 fLodSize = vec2( textureSize( sampler, int( lod ) ) );
|
||
vec2 cLodSize = vec2( textureSize( sampler, int( lod + 1.0 ) ) );
|
||
vec2 fLodSizeInv = 1.0 / fLodSize;
|
||
vec2 cLodSizeInv = 1.0 / cLodSize;
|
||
vec4 fSample = bicubic( sampler, uv, vec4( fLodSizeInv, fLodSize ), floor( lod ) );
|
||
vec4 cSample = bicubic( sampler, uv, vec4( cLodSizeInv, cLodSize ), ceil( lod ) );
|
||
return mix( fSample, cSample, fract( lod ) );
|
||
}
|
||
vec3 getVolumeTransmissionRay( const in vec3 n, const in vec3 v, const in float thickness, const in float ior, const in mat4 modelMatrix ) {
|
||
vec3 refractionVector = refract( - v, normalize( n ), 1.0 / ior );
|
||
vec3 modelScale;
|
||
modelScale.x = length( vec3( modelMatrix[ 0 ].xyz ) );
|
||
modelScale.y = length( vec3( modelMatrix[ 1 ].xyz ) );
|
||
modelScale.z = length( vec3( modelMatrix[ 2 ].xyz ) );
|
||
return normalize( refractionVector ) * thickness * modelScale;
|
||
}
|
||
float applyIorToRoughness( const in float roughness, const in float ior ) {
|
||
return roughness * clamp( ior * 2.0 - 2.0, 0.0, 1.0 );
|
||
}
|
||
vec4 getTransmissionSample( const in vec2 fragCoord, const in float roughness, const in float ior ) {
|
||
float lod = log2( transmissionSamplerSize.x ) * applyIorToRoughness( roughness, ior );
|
||
return textureBicubic( transmissionSamplerMap, fragCoord.xy, lod );
|
||
}
|
||
vec3 volumeAttenuation( const in float transmissionDistance, const in vec3 attenuationColor, const in float attenuationDistance ) {
|
||
if ( isinf( attenuationDistance ) ) {
|
||
return vec3( 1.0 );
|
||
} else {
|
||
vec3 attenuationCoefficient = -log( attenuationColor ) / attenuationDistance;
|
||
vec3 transmittance = exp( - attenuationCoefficient * transmissionDistance ); return transmittance;
|
||
}
|
||
}
|
||
vec4 getIBLVolumeRefraction( const in vec3 n, const in vec3 v, const in float roughness, const in vec3 diffuseColor,
|
||
const in vec3 specularColor, const in float specularF90, const in vec3 position, const in mat4 modelMatrix,
|
||
const in mat4 viewMatrix, const in mat4 projMatrix, const in float dispersion, const in float ior, const in float thickness,
|
||
const in vec3 attenuationColor, const in float attenuationDistance ) {
|
||
vec4 transmittedLight;
|
||
vec3 transmittance;
|
||
#ifdef USE_DISPERSION
|
||
float halfSpread = ( ior - 1.0 ) * 0.025 * dispersion;
|
||
vec3 iors = vec3( ior - halfSpread, ior, ior + halfSpread );
|
||
for ( int i = 0; i < 3; i ++ ) {
|
||
vec3 transmissionRay = getVolumeTransmissionRay( n, v, thickness, iors[ i ], modelMatrix );
|
||
vec3 refractedRayExit = position + transmissionRay;
|
||
vec4 ndcPos = projMatrix * viewMatrix * vec4( refractedRayExit, 1.0 );
|
||
vec2 refractionCoords = ndcPos.xy / ndcPos.w;
|
||
refractionCoords += 1.0;
|
||
refractionCoords /= 2.0;
|
||
vec4 transmissionSample = getTransmissionSample( refractionCoords, roughness, iors[ i ] );
|
||
transmittedLight[ i ] = transmissionSample[ i ];
|
||
transmittedLight.a += transmissionSample.a;
|
||
transmittance[ i ] = diffuseColor[ i ] * volumeAttenuation( length( transmissionRay ), attenuationColor, attenuationDistance )[ i ];
|
||
}
|
||
transmittedLight.a /= 3.0;
|
||
#else
|
||
vec3 transmissionRay = getVolumeTransmissionRay( n, v, thickness, ior, modelMatrix );
|
||
vec3 refractedRayExit = position + transmissionRay;
|
||
vec4 ndcPos = projMatrix * viewMatrix * vec4( refractedRayExit, 1.0 );
|
||
vec2 refractionCoords = ndcPos.xy / ndcPos.w;
|
||
refractionCoords += 1.0;
|
||
refractionCoords /= 2.0;
|
||
transmittedLight = getTransmissionSample( refractionCoords, roughness, ior );
|
||
transmittance = diffuseColor * volumeAttenuation( length( transmissionRay ), attenuationColor, attenuationDistance );
|
||
#endif
|
||
vec3 attenuatedColor = transmittance * transmittedLight.rgb;
|
||
vec3 F = EnvironmentBRDF( n, v, specularColor, specularF90, roughness );
|
||
float transmittanceFactor = ( transmittance.r + transmittance.g + transmittance.b ) / 3.0;
|
||
return vec4( ( 1.0 - F ) * attenuatedColor, 1.0 - ( 1.0 - transmittedLight.a ) * transmittanceFactor );
|
||
}
|
||
#endif`,gbe=`#if defined( USE_UV ) || defined( USE_ANISOTROPY )
|
||
varying vec2 vUv;
|
||
#endif
|
||
#ifdef USE_MAP
|
||
varying vec2 vMapUv;
|
||
#endif
|
||
#ifdef USE_ALPHAMAP
|
||
varying vec2 vAlphaMapUv;
|
||
#endif
|
||
#ifdef USE_LIGHTMAP
|
||
varying vec2 vLightMapUv;
|
||
#endif
|
||
#ifdef USE_AOMAP
|
||
varying vec2 vAoMapUv;
|
||
#endif
|
||
#ifdef USE_BUMPMAP
|
||
varying vec2 vBumpMapUv;
|
||
#endif
|
||
#ifdef USE_NORMALMAP
|
||
varying vec2 vNormalMapUv;
|
||
#endif
|
||
#ifdef USE_EMISSIVEMAP
|
||
varying vec2 vEmissiveMapUv;
|
||
#endif
|
||
#ifdef USE_METALNESSMAP
|
||
varying vec2 vMetalnessMapUv;
|
||
#endif
|
||
#ifdef USE_ROUGHNESSMAP
|
||
varying vec2 vRoughnessMapUv;
|
||
#endif
|
||
#ifdef USE_ANISOTROPYMAP
|
||
varying vec2 vAnisotropyMapUv;
|
||
#endif
|
||
#ifdef USE_CLEARCOATMAP
|
||
varying vec2 vClearcoatMapUv;
|
||
#endif
|
||
#ifdef USE_CLEARCOAT_NORMALMAP
|
||
varying vec2 vClearcoatNormalMapUv;
|
||
#endif
|
||
#ifdef USE_CLEARCOAT_ROUGHNESSMAP
|
||
varying vec2 vClearcoatRoughnessMapUv;
|
||
#endif
|
||
#ifdef USE_IRIDESCENCEMAP
|
||
varying vec2 vIridescenceMapUv;
|
||
#endif
|
||
#ifdef USE_IRIDESCENCE_THICKNESSMAP
|
||
varying vec2 vIridescenceThicknessMapUv;
|
||
#endif
|
||
#ifdef USE_SHEEN_COLORMAP
|
||
varying vec2 vSheenColorMapUv;
|
||
#endif
|
||
#ifdef USE_SHEEN_ROUGHNESSMAP
|
||
varying vec2 vSheenRoughnessMapUv;
|
||
#endif
|
||
#ifdef USE_SPECULARMAP
|
||
varying vec2 vSpecularMapUv;
|
||
#endif
|
||
#ifdef USE_SPECULAR_COLORMAP
|
||
varying vec2 vSpecularColorMapUv;
|
||
#endif
|
||
#ifdef USE_SPECULAR_INTENSITYMAP
|
||
varying vec2 vSpecularIntensityMapUv;
|
||
#endif
|
||
#ifdef USE_TRANSMISSIONMAP
|
||
uniform mat3 transmissionMapTransform;
|
||
varying vec2 vTransmissionMapUv;
|
||
#endif
|
||
#ifdef USE_THICKNESSMAP
|
||
uniform mat3 thicknessMapTransform;
|
||
varying vec2 vThicknessMapUv;
|
||
#endif`,wbe=`#if defined( USE_UV ) || defined( USE_ANISOTROPY )
|
||
varying vec2 vUv;
|
||
#endif
|
||
#ifdef USE_MAP
|
||
uniform mat3 mapTransform;
|
||
varying vec2 vMapUv;
|
||
#endif
|
||
#ifdef USE_ALPHAMAP
|
||
uniform mat3 alphaMapTransform;
|
||
varying vec2 vAlphaMapUv;
|
||
#endif
|
||
#ifdef USE_LIGHTMAP
|
||
uniform mat3 lightMapTransform;
|
||
varying vec2 vLightMapUv;
|
||
#endif
|
||
#ifdef USE_AOMAP
|
||
uniform mat3 aoMapTransform;
|
||
varying vec2 vAoMapUv;
|
||
#endif
|
||
#ifdef USE_BUMPMAP
|
||
uniform mat3 bumpMapTransform;
|
||
varying vec2 vBumpMapUv;
|
||
#endif
|
||
#ifdef USE_NORMALMAP
|
||
uniform mat3 normalMapTransform;
|
||
varying vec2 vNormalMapUv;
|
||
#endif
|
||
#ifdef USE_DISPLACEMENTMAP
|
||
uniform mat3 displacementMapTransform;
|
||
varying vec2 vDisplacementMapUv;
|
||
#endif
|
||
#ifdef USE_EMISSIVEMAP
|
||
uniform mat3 emissiveMapTransform;
|
||
varying vec2 vEmissiveMapUv;
|
||
#endif
|
||
#ifdef USE_METALNESSMAP
|
||
uniform mat3 metalnessMapTransform;
|
||
varying vec2 vMetalnessMapUv;
|
||
#endif
|
||
#ifdef USE_ROUGHNESSMAP
|
||
uniform mat3 roughnessMapTransform;
|
||
varying vec2 vRoughnessMapUv;
|
||
#endif
|
||
#ifdef USE_ANISOTROPYMAP
|
||
uniform mat3 anisotropyMapTransform;
|
||
varying vec2 vAnisotropyMapUv;
|
||
#endif
|
||
#ifdef USE_CLEARCOATMAP
|
||
uniform mat3 clearcoatMapTransform;
|
||
varying vec2 vClearcoatMapUv;
|
||
#endif
|
||
#ifdef USE_CLEARCOAT_NORMALMAP
|
||
uniform mat3 clearcoatNormalMapTransform;
|
||
varying vec2 vClearcoatNormalMapUv;
|
||
#endif
|
||
#ifdef USE_CLEARCOAT_ROUGHNESSMAP
|
||
uniform mat3 clearcoatRoughnessMapTransform;
|
||
varying vec2 vClearcoatRoughnessMapUv;
|
||
#endif
|
||
#ifdef USE_SHEEN_COLORMAP
|
||
uniform mat3 sheenColorMapTransform;
|
||
varying vec2 vSheenColorMapUv;
|
||
#endif
|
||
#ifdef USE_SHEEN_ROUGHNESSMAP
|
||
uniform mat3 sheenRoughnessMapTransform;
|
||
varying vec2 vSheenRoughnessMapUv;
|
||
#endif
|
||
#ifdef USE_IRIDESCENCEMAP
|
||
uniform mat3 iridescenceMapTransform;
|
||
varying vec2 vIridescenceMapUv;
|
||
#endif
|
||
#ifdef USE_IRIDESCENCE_THICKNESSMAP
|
||
uniform mat3 iridescenceThicknessMapTransform;
|
||
varying vec2 vIridescenceThicknessMapUv;
|
||
#endif
|
||
#ifdef USE_SPECULARMAP
|
||
uniform mat3 specularMapTransform;
|
||
varying vec2 vSpecularMapUv;
|
||
#endif
|
||
#ifdef USE_SPECULAR_COLORMAP
|
||
uniform mat3 specularColorMapTransform;
|
||
varying vec2 vSpecularColorMapUv;
|
||
#endif
|
||
#ifdef USE_SPECULAR_INTENSITYMAP
|
||
uniform mat3 specularIntensityMapTransform;
|
||
varying vec2 vSpecularIntensityMapUv;
|
||
#endif
|
||
#ifdef USE_TRANSMISSIONMAP
|
||
uniform mat3 transmissionMapTransform;
|
||
varying vec2 vTransmissionMapUv;
|
||
#endif
|
||
#ifdef USE_THICKNESSMAP
|
||
uniform mat3 thicknessMapTransform;
|
||
varying vec2 vThicknessMapUv;
|
||
#endif`,vbe=`#if defined( USE_UV ) || defined( USE_ANISOTROPY )
|
||
vUv = vec3( uv, 1 ).xy;
|
||
#endif
|
||
#ifdef USE_MAP
|
||
vMapUv = ( mapTransform * vec3( MAP_UV, 1 ) ).xy;
|
||
#endif
|
||
#ifdef USE_ALPHAMAP
|
||
vAlphaMapUv = ( alphaMapTransform * vec3( ALPHAMAP_UV, 1 ) ).xy;
|
||
#endif
|
||
#ifdef USE_LIGHTMAP
|
||
vLightMapUv = ( lightMapTransform * vec3( LIGHTMAP_UV, 1 ) ).xy;
|
||
#endif
|
||
#ifdef USE_AOMAP
|
||
vAoMapUv = ( aoMapTransform * vec3( AOMAP_UV, 1 ) ).xy;
|
||
#endif
|
||
#ifdef USE_BUMPMAP
|
||
vBumpMapUv = ( bumpMapTransform * vec3( BUMPMAP_UV, 1 ) ).xy;
|
||
#endif
|
||
#ifdef USE_NORMALMAP
|
||
vNormalMapUv = ( normalMapTransform * vec3( NORMALMAP_UV, 1 ) ).xy;
|
||
#endif
|
||
#ifdef USE_DISPLACEMENTMAP
|
||
vDisplacementMapUv = ( displacementMapTransform * vec3( DISPLACEMENTMAP_UV, 1 ) ).xy;
|
||
#endif
|
||
#ifdef USE_EMISSIVEMAP
|
||
vEmissiveMapUv = ( emissiveMapTransform * vec3( EMISSIVEMAP_UV, 1 ) ).xy;
|
||
#endif
|
||
#ifdef USE_METALNESSMAP
|
||
vMetalnessMapUv = ( metalnessMapTransform * vec3( METALNESSMAP_UV, 1 ) ).xy;
|
||
#endif
|
||
#ifdef USE_ROUGHNESSMAP
|
||
vRoughnessMapUv = ( roughnessMapTransform * vec3( ROUGHNESSMAP_UV, 1 ) ).xy;
|
||
#endif
|
||
#ifdef USE_ANISOTROPYMAP
|
||
vAnisotropyMapUv = ( anisotropyMapTransform * vec3( ANISOTROPYMAP_UV, 1 ) ).xy;
|
||
#endif
|
||
#ifdef USE_CLEARCOATMAP
|
||
vClearcoatMapUv = ( clearcoatMapTransform * vec3( CLEARCOATMAP_UV, 1 ) ).xy;
|
||
#endif
|
||
#ifdef USE_CLEARCOAT_NORMALMAP
|
||
vClearcoatNormalMapUv = ( clearcoatNormalMapTransform * vec3( CLEARCOAT_NORMALMAP_UV, 1 ) ).xy;
|
||
#endif
|
||
#ifdef USE_CLEARCOAT_ROUGHNESSMAP
|
||
vClearcoatRoughnessMapUv = ( clearcoatRoughnessMapTransform * vec3( CLEARCOAT_ROUGHNESSMAP_UV, 1 ) ).xy;
|
||
#endif
|
||
#ifdef USE_IRIDESCENCEMAP
|
||
vIridescenceMapUv = ( iridescenceMapTransform * vec3( IRIDESCENCEMAP_UV, 1 ) ).xy;
|
||
#endif
|
||
#ifdef USE_IRIDESCENCE_THICKNESSMAP
|
||
vIridescenceThicknessMapUv = ( iridescenceThicknessMapTransform * vec3( IRIDESCENCE_THICKNESSMAP_UV, 1 ) ).xy;
|
||
#endif
|
||
#ifdef USE_SHEEN_COLORMAP
|
||
vSheenColorMapUv = ( sheenColorMapTransform * vec3( SHEEN_COLORMAP_UV, 1 ) ).xy;
|
||
#endif
|
||
#ifdef USE_SHEEN_ROUGHNESSMAP
|
||
vSheenRoughnessMapUv = ( sheenRoughnessMapTransform * vec3( SHEEN_ROUGHNESSMAP_UV, 1 ) ).xy;
|
||
#endif
|
||
#ifdef USE_SPECULARMAP
|
||
vSpecularMapUv = ( specularMapTransform * vec3( SPECULARMAP_UV, 1 ) ).xy;
|
||
#endif
|
||
#ifdef USE_SPECULAR_COLORMAP
|
||
vSpecularColorMapUv = ( specularColorMapTransform * vec3( SPECULAR_COLORMAP_UV, 1 ) ).xy;
|
||
#endif
|
||
#ifdef USE_SPECULAR_INTENSITYMAP
|
||
vSpecularIntensityMapUv = ( specularIntensityMapTransform * vec3( SPECULAR_INTENSITYMAP_UV, 1 ) ).xy;
|
||
#endif
|
||
#ifdef USE_TRANSMISSIONMAP
|
||
vTransmissionMapUv = ( transmissionMapTransform * vec3( TRANSMISSIONMAP_UV, 1 ) ).xy;
|
||
#endif
|
||
#ifdef USE_THICKNESSMAP
|
||
vThicknessMapUv = ( thicknessMapTransform * vec3( THICKNESSMAP_UV, 1 ) ).xy;
|
||
#endif`,Rbe=`#if defined( USE_ENVMAP ) || defined( DISTANCE ) || defined ( USE_SHADOWMAP ) || defined ( USE_TRANSMISSION ) || NUM_SPOT_LIGHT_COORDS > 0
|
||
vec4 worldPosition = vec4( transformed, 1.0 );
|
||
#ifdef USE_BATCHING
|
||
worldPosition = batchingMatrix * worldPosition;
|
||
#endif
|
||
#ifdef USE_INSTANCING
|
||
worldPosition = instanceMatrix * worldPosition;
|
||
#endif
|
||
worldPosition = modelMatrix * worldPosition;
|
||
#endif`,Sbe=`varying vec2 vUv;
|
||
uniform mat3 uvTransform;
|
||
void main() {
|
||
vUv = ( uvTransform * vec3( uv, 1 ) ).xy;
|
||
gl_Position = vec4( position.xy, 1.0, 1.0 );
|
||
}`,Abe=`uniform sampler2D t2D;
|
||
uniform float backgroundIntensity;
|
||
varying vec2 vUv;
|
||
void main() {
|
||
vec4 texColor = texture2D( t2D, vUv );
|
||
#ifdef DECODE_VIDEO_TEXTURE
|
||
texColor = vec4( mix( pow( texColor.rgb * 0.9478672986 + vec3( 0.0521327014 ), vec3( 2.4 ) ), texColor.rgb * 0.0773993808, vec3( lessThanEqual( texColor.rgb, vec3( 0.04045 ) ) ) ), texColor.w );
|
||
#endif
|
||
texColor.rgb *= backgroundIntensity;
|
||
gl_FragColor = texColor;
|
||
#include <tonemapping_fragment>
|
||
#include <colorspace_fragment>
|
||
}`,bbe=`varying vec3 vWorldDirection;
|
||
#include <common>
|
||
void main() {
|
||
vWorldDirection = transformDirection( position, modelMatrix );
|
||
#include <begin_vertex>
|
||
#include <project_vertex>
|
||
gl_Position.z = gl_Position.w;
|
||
}`,Nbe=`#ifdef ENVMAP_TYPE_CUBE
|
||
uniform samplerCube envMap;
|
||
#elif defined( ENVMAP_TYPE_CUBE_UV )
|
||
uniform sampler2D envMap;
|
||
#endif
|
||
uniform float backgroundBlurriness;
|
||
uniform float backgroundIntensity;
|
||
uniform mat3 backgroundRotation;
|
||
varying vec3 vWorldDirection;
|
||
#include <cube_uv_reflection_fragment>
|
||
void main() {
|
||
#ifdef ENVMAP_TYPE_CUBE
|
||
vec4 texColor = textureCube( envMap, backgroundRotation * vWorldDirection );
|
||
#elif defined( ENVMAP_TYPE_CUBE_UV )
|
||
vec4 texColor = textureCubeUV( envMap, backgroundRotation * vWorldDirection, backgroundBlurriness );
|
||
#else
|
||
vec4 texColor = vec4( 0.0, 0.0, 0.0, 1.0 );
|
||
#endif
|
||
texColor.rgb *= backgroundIntensity;
|
||
gl_FragColor = texColor;
|
||
#include <tonemapping_fragment>
|
||
#include <colorspace_fragment>
|
||
}`,_be=`varying vec3 vWorldDirection;
|
||
#include <common>
|
||
void main() {
|
||
vWorldDirection = transformDirection( position, modelMatrix );
|
||
#include <begin_vertex>
|
||
#include <project_vertex>
|
||
gl_Position.z = gl_Position.w;
|
||
}`,Dbe=`uniform samplerCube tCube;
|
||
uniform float tFlip;
|
||
uniform float opacity;
|
||
varying vec3 vWorldDirection;
|
||
void main() {
|
||
vec4 texColor = textureCube( tCube, vec3( tFlip * vWorldDirection.x, vWorldDirection.yz ) );
|
||
gl_FragColor = texColor;
|
||
gl_FragColor.a *= opacity;
|
||
#include <tonemapping_fragment>
|
||
#include <colorspace_fragment>
|
||
}`,Cbe=`#include <common>
|
||
#include <batching_pars_vertex>
|
||
#include <uv_pars_vertex>
|
||
#include <displacementmap_pars_vertex>
|
||
#include <morphtarget_pars_vertex>
|
||
#include <skinning_pars_vertex>
|
||
#include <logdepthbuf_pars_vertex>
|
||
#include <clipping_planes_pars_vertex>
|
||
varying vec2 vHighPrecisionZW;
|
||
void main() {
|
||
#include <uv_vertex>
|
||
#include <batching_vertex>
|
||
#include <skinbase_vertex>
|
||
#include <morphinstance_vertex>
|
||
#ifdef USE_DISPLACEMENTMAP
|
||
#include <beginnormal_vertex>
|
||
#include <morphnormal_vertex>
|
||
#include <skinnormal_vertex>
|
||
#endif
|
||
#include <begin_vertex>
|
||
#include <morphtarget_vertex>
|
||
#include <skinning_vertex>
|
||
#include <displacementmap_vertex>
|
||
#include <project_vertex>
|
||
#include <logdepthbuf_vertex>
|
||
#include <clipping_planes_vertex>
|
||
vHighPrecisionZW = gl_Position.zw;
|
||
}`,xbe=`#if DEPTH_PACKING == 3200
|
||
uniform float opacity;
|
||
#endif
|
||
#include <common>
|
||
#include <packing>
|
||
#include <uv_pars_fragment>
|
||
#include <map_pars_fragment>
|
||
#include <alphamap_pars_fragment>
|
||
#include <alphatest_pars_fragment>
|
||
#include <alphahash_pars_fragment>
|
||
#include <logdepthbuf_pars_fragment>
|
||
#include <clipping_planes_pars_fragment>
|
||
varying vec2 vHighPrecisionZW;
|
||
void main() {
|
||
vec4 diffuseColor = vec4( 1.0 );
|
||
#include <clipping_planes_fragment>
|
||
#if DEPTH_PACKING == 3200
|
||
diffuseColor.a = opacity;
|
||
#endif
|
||
#include <map_fragment>
|
||
#include <alphamap_fragment>
|
||
#include <alphatest_fragment>
|
||
#include <alphahash_fragment>
|
||
#include <logdepthbuf_fragment>
|
||
#ifdef USE_REVERSED_DEPTH_BUFFER
|
||
float fragCoordZ = vHighPrecisionZW[ 0 ] / vHighPrecisionZW[ 1 ];
|
||
#else
|
||
float fragCoordZ = 0.5 * vHighPrecisionZW[ 0 ] / vHighPrecisionZW[ 1 ] + 0.5;
|
||
#endif
|
||
#if DEPTH_PACKING == 3200
|
||
gl_FragColor = vec4( vec3( 1.0 - fragCoordZ ), opacity );
|
||
#elif DEPTH_PACKING == 3201
|
||
gl_FragColor = packDepthToRGBA( fragCoordZ );
|
||
#elif DEPTH_PACKING == 3202
|
||
gl_FragColor = vec4( packDepthToRGB( fragCoordZ ), 1.0 );
|
||
#elif DEPTH_PACKING == 3203
|
||
gl_FragColor = vec4( packDepthToRG( fragCoordZ ), 0.0, 1.0 );
|
||
#endif
|
||
}`,Obe=`#define DISTANCE
|
||
varying vec3 vWorldPosition;
|
||
#include <common>
|
||
#include <batching_pars_vertex>
|
||
#include <uv_pars_vertex>
|
||
#include <displacementmap_pars_vertex>
|
||
#include <morphtarget_pars_vertex>
|
||
#include <skinning_pars_vertex>
|
||
#include <clipping_planes_pars_vertex>
|
||
void main() {
|
||
#include <uv_vertex>
|
||
#include <batching_vertex>
|
||
#include <skinbase_vertex>
|
||
#include <morphinstance_vertex>
|
||
#ifdef USE_DISPLACEMENTMAP
|
||
#include <beginnormal_vertex>
|
||
#include <morphnormal_vertex>
|
||
#include <skinnormal_vertex>
|
||
#endif
|
||
#include <begin_vertex>
|
||
#include <morphtarget_vertex>
|
||
#include <skinning_vertex>
|
||
#include <displacementmap_vertex>
|
||
#include <project_vertex>
|
||
#include <worldpos_vertex>
|
||
#include <clipping_planes_vertex>
|
||
vWorldPosition = worldPosition.xyz;
|
||
}`,Lbe=`#define DISTANCE
|
||
uniform vec3 referencePosition;
|
||
uniform float nearDistance;
|
||
uniform float farDistance;
|
||
varying vec3 vWorldPosition;
|
||
#include <common>
|
||
#include <uv_pars_fragment>
|
||
#include <map_pars_fragment>
|
||
#include <alphamap_pars_fragment>
|
||
#include <alphatest_pars_fragment>
|
||
#include <alphahash_pars_fragment>
|
||
#include <clipping_planes_pars_fragment>
|
||
void main () {
|
||
vec4 diffuseColor = vec4( 1.0 );
|
||
#include <clipping_planes_fragment>
|
||
#include <map_fragment>
|
||
#include <alphamap_fragment>
|
||
#include <alphatest_fragment>
|
||
#include <alphahash_fragment>
|
||
float dist = length( vWorldPosition - referencePosition );
|
||
dist = ( dist - nearDistance ) / ( farDistance - nearDistance );
|
||
dist = saturate( dist );
|
||
gl_FragColor = vec4( dist, 0.0, 0.0, 1.0 );
|
||
}`,Pbe=`varying vec3 vWorldDirection;
|
||
#include <common>
|
||
void main() {
|
||
vWorldDirection = transformDirection( position, modelMatrix );
|
||
#include <begin_vertex>
|
||
#include <project_vertex>
|
||
}`,Mbe=`uniform sampler2D tEquirect;
|
||
varying vec3 vWorldDirection;
|
||
#include <common>
|
||
void main() {
|
||
vec3 direction = normalize( vWorldDirection );
|
||
vec2 sampleUV = equirectUv( direction );
|
||
gl_FragColor = texture2D( tEquirect, sampleUV );
|
||
#include <tonemapping_fragment>
|
||
#include <colorspace_fragment>
|
||
}`,Bbe=`uniform float scale;
|
||
attribute float lineDistance;
|
||
varying float vLineDistance;
|
||
#include <common>
|
||
#include <uv_pars_vertex>
|
||
#include <color_pars_vertex>
|
||
#include <fog_pars_vertex>
|
||
#include <morphtarget_pars_vertex>
|
||
#include <logdepthbuf_pars_vertex>
|
||
#include <clipping_planes_pars_vertex>
|
||
void main() {
|
||
vLineDistance = scale * lineDistance;
|
||
#include <uv_vertex>
|
||
#include <color_vertex>
|
||
#include <morphinstance_vertex>
|
||
#include <morphcolor_vertex>
|
||
#include <begin_vertex>
|
||
#include <morphtarget_vertex>
|
||
#include <project_vertex>
|
||
#include <logdepthbuf_vertex>
|
||
#include <clipping_planes_vertex>
|
||
#include <fog_vertex>
|
||
}`,Fbe=`uniform vec3 diffuse;
|
||
uniform float opacity;
|
||
uniform float dashSize;
|
||
uniform float totalSize;
|
||
varying float vLineDistance;
|
||
#include <common>
|
||
#include <color_pars_fragment>
|
||
#include <uv_pars_fragment>
|
||
#include <map_pars_fragment>
|
||
#include <fog_pars_fragment>
|
||
#include <logdepthbuf_pars_fragment>
|
||
#include <clipping_planes_pars_fragment>
|
||
void main() {
|
||
vec4 diffuseColor = vec4( diffuse, opacity );
|
||
#include <clipping_planes_fragment>
|
||
if ( mod( vLineDistance, totalSize ) > dashSize ) {
|
||
discard;
|
||
}
|
||
vec3 outgoingLight = vec3( 0.0 );
|
||
#include <logdepthbuf_fragment>
|
||
#include <map_fragment>
|
||
#include <color_fragment>
|
||
outgoingLight = diffuseColor.rgb;
|
||
#include <opaque_fragment>
|
||
#include <tonemapping_fragment>
|
||
#include <colorspace_fragment>
|
||
#include <fog_fragment>
|
||
#include <premultiplied_alpha_fragment>
|
||
}`,Ube=`#include <common>
|
||
#include <batching_pars_vertex>
|
||
#include <uv_pars_vertex>
|
||
#include <envmap_pars_vertex>
|
||
#include <color_pars_vertex>
|
||
#include <fog_pars_vertex>
|
||
#include <morphtarget_pars_vertex>
|
||
#include <skinning_pars_vertex>
|
||
#include <logdepthbuf_pars_vertex>
|
||
#include <clipping_planes_pars_vertex>
|
||
void main() {
|
||
#include <uv_vertex>
|
||
#include <color_vertex>
|
||
#include <morphinstance_vertex>
|
||
#include <morphcolor_vertex>
|
||
#include <batching_vertex>
|
||
#if defined ( USE_ENVMAP ) || defined ( USE_SKINNING )
|
||
#include <beginnormal_vertex>
|
||
#include <morphnormal_vertex>
|
||
#include <skinbase_vertex>
|
||
#include <skinnormal_vertex>
|
||
#include <defaultnormal_vertex>
|
||
#endif
|
||
#include <begin_vertex>
|
||
#include <morphtarget_vertex>
|
||
#include <skinning_vertex>
|
||
#include <project_vertex>
|
||
#include <logdepthbuf_vertex>
|
||
#include <clipping_planes_vertex>
|
||
#include <worldpos_vertex>
|
||
#include <envmap_vertex>
|
||
#include <fog_vertex>
|
||
}`,Hbe=`uniform vec3 diffuse;
|
||
uniform float opacity;
|
||
#ifndef FLAT_SHADED
|
||
varying vec3 vNormal;
|
||
#endif
|
||
#include <common>
|
||
#include <dithering_pars_fragment>
|
||
#include <color_pars_fragment>
|
||
#include <uv_pars_fragment>
|
||
#include <map_pars_fragment>
|
||
#include <alphamap_pars_fragment>
|
||
#include <alphatest_pars_fragment>
|
||
#include <alphahash_pars_fragment>
|
||
#include <aomap_pars_fragment>
|
||
#include <lightmap_pars_fragment>
|
||
#include <envmap_common_pars_fragment>
|
||
#include <envmap_pars_fragment>
|
||
#include <fog_pars_fragment>
|
||
#include <specularmap_pars_fragment>
|
||
#include <logdepthbuf_pars_fragment>
|
||
#include <clipping_planes_pars_fragment>
|
||
void main() {
|
||
vec4 diffuseColor = vec4( diffuse, opacity );
|
||
#include <clipping_planes_fragment>
|
||
#include <logdepthbuf_fragment>
|
||
#include <map_fragment>
|
||
#include <color_fragment>
|
||
#include <alphamap_fragment>
|
||
#include <alphatest_fragment>
|
||
#include <alphahash_fragment>
|
||
#include <specularmap_fragment>
|
||
ReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );
|
||
#ifdef USE_LIGHTMAP
|
||
vec4 lightMapTexel = texture2D( lightMap, vLightMapUv );
|
||
reflectedLight.indirectDiffuse += lightMapTexel.rgb * lightMapIntensity * RECIPROCAL_PI;
|
||
#else
|
||
reflectedLight.indirectDiffuse += vec3( 1.0 );
|
||
#endif
|
||
#include <aomap_fragment>
|
||
reflectedLight.indirectDiffuse *= diffuseColor.rgb;
|
||
vec3 outgoingLight = reflectedLight.indirectDiffuse;
|
||
#include <envmap_fragment>
|
||
#include <opaque_fragment>
|
||
#include <tonemapping_fragment>
|
||
#include <colorspace_fragment>
|
||
#include <fog_fragment>
|
||
#include <premultiplied_alpha_fragment>
|
||
#include <dithering_fragment>
|
||
}`,Gbe=`#define LAMBERT
|
||
varying vec3 vViewPosition;
|
||
#include <common>
|
||
#include <batching_pars_vertex>
|
||
#include <uv_pars_vertex>
|
||
#include <displacementmap_pars_vertex>
|
||
#include <envmap_pars_vertex>
|
||
#include <color_pars_vertex>
|
||
#include <fog_pars_vertex>
|
||
#include <normal_pars_vertex>
|
||
#include <morphtarget_pars_vertex>
|
||
#include <skinning_pars_vertex>
|
||
#include <shadowmap_pars_vertex>
|
||
#include <logdepthbuf_pars_vertex>
|
||
#include <clipping_planes_pars_vertex>
|
||
void main() {
|
||
#include <uv_vertex>
|
||
#include <color_vertex>
|
||
#include <morphinstance_vertex>
|
||
#include <morphcolor_vertex>
|
||
#include <batching_vertex>
|
||
#include <beginnormal_vertex>
|
||
#include <morphnormal_vertex>
|
||
#include <skinbase_vertex>
|
||
#include <skinnormal_vertex>
|
||
#include <defaultnormal_vertex>
|
||
#include <normal_vertex>
|
||
#include <begin_vertex>
|
||
#include <morphtarget_vertex>
|
||
#include <skinning_vertex>
|
||
#include <displacementmap_vertex>
|
||
#include <project_vertex>
|
||
#include <logdepthbuf_vertex>
|
||
#include <clipping_planes_vertex>
|
||
vViewPosition = - mvPosition.xyz;
|
||
#include <worldpos_vertex>
|
||
#include <envmap_vertex>
|
||
#include <shadowmap_vertex>
|
||
#include <fog_vertex>
|
||
}`,Vbe=`#define LAMBERT
|
||
uniform vec3 diffuse;
|
||
uniform vec3 emissive;
|
||
uniform float opacity;
|
||
#include <common>
|
||
#include <dithering_pars_fragment>
|
||
#include <color_pars_fragment>
|
||
#include <uv_pars_fragment>
|
||
#include <map_pars_fragment>
|
||
#include <alphamap_pars_fragment>
|
||
#include <alphatest_pars_fragment>
|
||
#include <alphahash_pars_fragment>
|
||
#include <aomap_pars_fragment>
|
||
#include <lightmap_pars_fragment>
|
||
#include <emissivemap_pars_fragment>
|
||
#include <cube_uv_reflection_fragment>
|
||
#include <envmap_common_pars_fragment>
|
||
#include <envmap_pars_fragment>
|
||
#include <envmap_physical_pars_fragment>
|
||
#include <fog_pars_fragment>
|
||
#include <bsdfs>
|
||
#include <lights_pars_begin>
|
||
#include <normal_pars_fragment>
|
||
#include <lights_lambert_pars_fragment>
|
||
#include <shadowmap_pars_fragment>
|
||
#include <bumpmap_pars_fragment>
|
||
#include <normalmap_pars_fragment>
|
||
#include <specularmap_pars_fragment>
|
||
#include <logdepthbuf_pars_fragment>
|
||
#include <clipping_planes_pars_fragment>
|
||
void main() {
|
||
vec4 diffuseColor = vec4( diffuse, opacity );
|
||
#include <clipping_planes_fragment>
|
||
ReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );
|
||
vec3 totalEmissiveRadiance = emissive;
|
||
#include <logdepthbuf_fragment>
|
||
#include <map_fragment>
|
||
#include <color_fragment>
|
||
#include <alphamap_fragment>
|
||
#include <alphatest_fragment>
|
||
#include <alphahash_fragment>
|
||
#include <specularmap_fragment>
|
||
#include <normal_fragment_begin>
|
||
#include <normal_fragment_maps>
|
||
#include <emissivemap_fragment>
|
||
#include <lights_lambert_fragment>
|
||
#include <lights_fragment_begin>
|
||
#include <lights_fragment_maps>
|
||
#include <lights_fragment_end>
|
||
#include <aomap_fragment>
|
||
vec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + totalEmissiveRadiance;
|
||
#include <envmap_fragment>
|
||
#include <opaque_fragment>
|
||
#include <tonemapping_fragment>
|
||
#include <colorspace_fragment>
|
||
#include <fog_fragment>
|
||
#include <premultiplied_alpha_fragment>
|
||
#include <dithering_fragment>
|
||
}`,kbe=`#define MATCAP
|
||
varying vec3 vViewPosition;
|
||
#include <common>
|
||
#include <batching_pars_vertex>
|
||
#include <uv_pars_vertex>
|
||
#include <color_pars_vertex>
|
||
#include <displacementmap_pars_vertex>
|
||
#include <fog_pars_vertex>
|
||
#include <normal_pars_vertex>
|
||
#include <morphtarget_pars_vertex>
|
||
#include <skinning_pars_vertex>
|
||
#include <logdepthbuf_pars_vertex>
|
||
#include <clipping_planes_pars_vertex>
|
||
void main() {
|
||
#include <uv_vertex>
|
||
#include <color_vertex>
|
||
#include <morphinstance_vertex>
|
||
#include <morphcolor_vertex>
|
||
#include <batching_vertex>
|
||
#include <beginnormal_vertex>
|
||
#include <morphnormal_vertex>
|
||
#include <skinbase_vertex>
|
||
#include <skinnormal_vertex>
|
||
#include <defaultnormal_vertex>
|
||
#include <normal_vertex>
|
||
#include <begin_vertex>
|
||
#include <morphtarget_vertex>
|
||
#include <skinning_vertex>
|
||
#include <displacementmap_vertex>
|
||
#include <project_vertex>
|
||
#include <logdepthbuf_vertex>
|
||
#include <clipping_planes_vertex>
|
||
#include <fog_vertex>
|
||
vViewPosition = - mvPosition.xyz;
|
||
}`,zbe=`#define MATCAP
|
||
uniform vec3 diffuse;
|
||
uniform float opacity;
|
||
uniform sampler2D matcap;
|
||
varying vec3 vViewPosition;
|
||
#include <common>
|
||
#include <dithering_pars_fragment>
|
||
#include <color_pars_fragment>
|
||
#include <uv_pars_fragment>
|
||
#include <map_pars_fragment>
|
||
#include <alphamap_pars_fragment>
|
||
#include <alphatest_pars_fragment>
|
||
#include <alphahash_pars_fragment>
|
||
#include <fog_pars_fragment>
|
||
#include <normal_pars_fragment>
|
||
#include <bumpmap_pars_fragment>
|
||
#include <normalmap_pars_fragment>
|
||
#include <logdepthbuf_pars_fragment>
|
||
#include <clipping_planes_pars_fragment>
|
||
void main() {
|
||
vec4 diffuseColor = vec4( diffuse, opacity );
|
||
#include <clipping_planes_fragment>
|
||
#include <logdepthbuf_fragment>
|
||
#include <map_fragment>
|
||
#include <color_fragment>
|
||
#include <alphamap_fragment>
|
||
#include <alphatest_fragment>
|
||
#include <alphahash_fragment>
|
||
#include <normal_fragment_begin>
|
||
#include <normal_fragment_maps>
|
||
vec3 viewDir = normalize( vViewPosition );
|
||
vec3 x = normalize( vec3( viewDir.z, 0.0, - viewDir.x ) );
|
||
vec3 y = cross( viewDir, x );
|
||
vec2 uv = vec2( dot( x, normal ), dot( y, normal ) ) * 0.495 + 0.5;
|
||
#ifdef USE_MATCAP
|
||
vec4 matcapColor = texture2D( matcap, uv );
|
||
#else
|
||
vec4 matcapColor = vec4( vec3( mix( 0.2, 0.8, uv.y ) ), 1.0 );
|
||
#endif
|
||
vec3 outgoingLight = diffuseColor.rgb * matcapColor.rgb;
|
||
#include <opaque_fragment>
|
||
#include <tonemapping_fragment>
|
||
#include <colorspace_fragment>
|
||
#include <fog_fragment>
|
||
#include <premultiplied_alpha_fragment>
|
||
#include <dithering_fragment>
|
||
}`,Wbe=`#define NORMAL
|
||
#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( USE_NORMALMAP_TANGENTSPACE )
|
||
varying vec3 vViewPosition;
|
||
#endif
|
||
#include <common>
|
||
#include <batching_pars_vertex>
|
||
#include <uv_pars_vertex>
|
||
#include <displacementmap_pars_vertex>
|
||
#include <normal_pars_vertex>
|
||
#include <morphtarget_pars_vertex>
|
||
#include <skinning_pars_vertex>
|
||
#include <logdepthbuf_pars_vertex>
|
||
#include <clipping_planes_pars_vertex>
|
||
void main() {
|
||
#include <uv_vertex>
|
||
#include <batching_vertex>
|
||
#include <beginnormal_vertex>
|
||
#include <morphinstance_vertex>
|
||
#include <morphnormal_vertex>
|
||
#include <skinbase_vertex>
|
||
#include <skinnormal_vertex>
|
||
#include <defaultnormal_vertex>
|
||
#include <normal_vertex>
|
||
#include <begin_vertex>
|
||
#include <morphtarget_vertex>
|
||
#include <skinning_vertex>
|
||
#include <displacementmap_vertex>
|
||
#include <project_vertex>
|
||
#include <logdepthbuf_vertex>
|
||
#include <clipping_planes_vertex>
|
||
#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( USE_NORMALMAP_TANGENTSPACE )
|
||
vViewPosition = - mvPosition.xyz;
|
||
#endif
|
||
}`,Ybe=`#define NORMAL
|
||
uniform float opacity;
|
||
#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( USE_NORMALMAP_TANGENTSPACE )
|
||
varying vec3 vViewPosition;
|
||
#endif
|
||
#include <uv_pars_fragment>
|
||
#include <normal_pars_fragment>
|
||
#include <bumpmap_pars_fragment>
|
||
#include <normalmap_pars_fragment>
|
||
#include <logdepthbuf_pars_fragment>
|
||
#include <clipping_planes_pars_fragment>
|
||
void main() {
|
||
vec4 diffuseColor = vec4( 0.0, 0.0, 0.0, opacity );
|
||
#include <clipping_planes_fragment>
|
||
#include <logdepthbuf_fragment>
|
||
#include <normal_fragment_begin>
|
||
#include <normal_fragment_maps>
|
||
gl_FragColor = vec4( normalize( normal ) * 0.5 + 0.5, diffuseColor.a );
|
||
#ifdef OPAQUE
|
||
gl_FragColor.a = 1.0;
|
||
#endif
|
||
}`,jbe=`#define PHONG
|
||
varying vec3 vViewPosition;
|
||
#include <common>
|
||
#include <batching_pars_vertex>
|
||
#include <uv_pars_vertex>
|
||
#include <displacementmap_pars_vertex>
|
||
#include <envmap_pars_vertex>
|
||
#include <color_pars_vertex>
|
||
#include <fog_pars_vertex>
|
||
#include <normal_pars_vertex>
|
||
#include <morphtarget_pars_vertex>
|
||
#include <skinning_pars_vertex>
|
||
#include <shadowmap_pars_vertex>
|
||
#include <logdepthbuf_pars_vertex>
|
||
#include <clipping_planes_pars_vertex>
|
||
void main() {
|
||
#include <uv_vertex>
|
||
#include <color_vertex>
|
||
#include <morphcolor_vertex>
|
||
#include <batching_vertex>
|
||
#include <beginnormal_vertex>
|
||
#include <morphinstance_vertex>
|
||
#include <morphnormal_vertex>
|
||
#include <skinbase_vertex>
|
||
#include <skinnormal_vertex>
|
||
#include <defaultnormal_vertex>
|
||
#include <normal_vertex>
|
||
#include <begin_vertex>
|
||
#include <morphtarget_vertex>
|
||
#include <skinning_vertex>
|
||
#include <displacementmap_vertex>
|
||
#include <project_vertex>
|
||
#include <logdepthbuf_vertex>
|
||
#include <clipping_planes_vertex>
|
||
vViewPosition = - mvPosition.xyz;
|
||
#include <worldpos_vertex>
|
||
#include <envmap_vertex>
|
||
#include <shadowmap_vertex>
|
||
#include <fog_vertex>
|
||
}`,qbe=`#define PHONG
|
||
uniform vec3 diffuse;
|
||
uniform vec3 emissive;
|
||
uniform vec3 specular;
|
||
uniform float shininess;
|
||
uniform float opacity;
|
||
#include <common>
|
||
#include <dithering_pars_fragment>
|
||
#include <color_pars_fragment>
|
||
#include <uv_pars_fragment>
|
||
#include <map_pars_fragment>
|
||
#include <alphamap_pars_fragment>
|
||
#include <alphatest_pars_fragment>
|
||
#include <alphahash_pars_fragment>
|
||
#include <aomap_pars_fragment>
|
||
#include <lightmap_pars_fragment>
|
||
#include <emissivemap_pars_fragment>
|
||
#include <cube_uv_reflection_fragment>
|
||
#include <envmap_common_pars_fragment>
|
||
#include <envmap_pars_fragment>
|
||
#include <envmap_physical_pars_fragment>
|
||
#include <fog_pars_fragment>
|
||
#include <bsdfs>
|
||
#include <lights_pars_begin>
|
||
#include <normal_pars_fragment>
|
||
#include <lights_phong_pars_fragment>
|
||
#include <shadowmap_pars_fragment>
|
||
#include <bumpmap_pars_fragment>
|
||
#include <normalmap_pars_fragment>
|
||
#include <specularmap_pars_fragment>
|
||
#include <logdepthbuf_pars_fragment>
|
||
#include <clipping_planes_pars_fragment>
|
||
void main() {
|
||
vec4 diffuseColor = vec4( diffuse, opacity );
|
||
#include <clipping_planes_fragment>
|
||
ReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );
|
||
vec3 totalEmissiveRadiance = emissive;
|
||
#include <logdepthbuf_fragment>
|
||
#include <map_fragment>
|
||
#include <color_fragment>
|
||
#include <alphamap_fragment>
|
||
#include <alphatest_fragment>
|
||
#include <alphahash_fragment>
|
||
#include <specularmap_fragment>
|
||
#include <normal_fragment_begin>
|
||
#include <normal_fragment_maps>
|
||
#include <emissivemap_fragment>
|
||
#include <lights_phong_fragment>
|
||
#include <lights_fragment_begin>
|
||
#include <lights_fragment_maps>
|
||
#include <lights_fragment_end>
|
||
#include <aomap_fragment>
|
||
vec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + reflectedLight.directSpecular + reflectedLight.indirectSpecular + totalEmissiveRadiance;
|
||
#include <envmap_fragment>
|
||
#include <opaque_fragment>
|
||
#include <tonemapping_fragment>
|
||
#include <colorspace_fragment>
|
||
#include <fog_fragment>
|
||
#include <premultiplied_alpha_fragment>
|
||
#include <dithering_fragment>
|
||
}`,$be=`#define STANDARD
|
||
varying vec3 vViewPosition;
|
||
#ifdef USE_TRANSMISSION
|
||
varying vec3 vWorldPosition;
|
||
#endif
|
||
#include <common>
|
||
#include <batching_pars_vertex>
|
||
#include <uv_pars_vertex>
|
||
#include <displacementmap_pars_vertex>
|
||
#include <color_pars_vertex>
|
||
#include <fog_pars_vertex>
|
||
#include <normal_pars_vertex>
|
||
#include <morphtarget_pars_vertex>
|
||
#include <skinning_pars_vertex>
|
||
#include <shadowmap_pars_vertex>
|
||
#include <logdepthbuf_pars_vertex>
|
||
#include <clipping_planes_pars_vertex>
|
||
void main() {
|
||
#include <uv_vertex>
|
||
#include <color_vertex>
|
||
#include <morphinstance_vertex>
|
||
#include <morphcolor_vertex>
|
||
#include <batching_vertex>
|
||
#include <beginnormal_vertex>
|
||
#include <morphnormal_vertex>
|
||
#include <skinbase_vertex>
|
||
#include <skinnormal_vertex>
|
||
#include <defaultnormal_vertex>
|
||
#include <normal_vertex>
|
||
#include <begin_vertex>
|
||
#include <morphtarget_vertex>
|
||
#include <skinning_vertex>
|
||
#include <displacementmap_vertex>
|
||
#include <project_vertex>
|
||
#include <logdepthbuf_vertex>
|
||
#include <clipping_planes_vertex>
|
||
vViewPosition = - mvPosition.xyz;
|
||
#include <worldpos_vertex>
|
||
#include <shadowmap_vertex>
|
||
#include <fog_vertex>
|
||
#ifdef USE_TRANSMISSION
|
||
vWorldPosition = worldPosition.xyz;
|
||
#endif
|
||
}`,Zbe=`#define STANDARD
|
||
#ifdef PHYSICAL
|
||
#define IOR
|
||
#define USE_SPECULAR
|
||
#endif
|
||
uniform vec3 diffuse;
|
||
uniform vec3 emissive;
|
||
uniform float roughness;
|
||
uniform float metalness;
|
||
uniform float opacity;
|
||
#ifdef IOR
|
||
uniform float ior;
|
||
#endif
|
||
#ifdef USE_SPECULAR
|
||
uniform float specularIntensity;
|
||
uniform vec3 specularColor;
|
||
#ifdef USE_SPECULAR_COLORMAP
|
||
uniform sampler2D specularColorMap;
|
||
#endif
|
||
#ifdef USE_SPECULAR_INTENSITYMAP
|
||
uniform sampler2D specularIntensityMap;
|
||
#endif
|
||
#endif
|
||
#ifdef USE_CLEARCOAT
|
||
uniform float clearcoat;
|
||
uniform float clearcoatRoughness;
|
||
#endif
|
||
#ifdef USE_DISPERSION
|
||
uniform float dispersion;
|
||
#endif
|
||
#ifdef USE_IRIDESCENCE
|
||
uniform float iridescence;
|
||
uniform float iridescenceIOR;
|
||
uniform float iridescenceThicknessMinimum;
|
||
uniform float iridescenceThicknessMaximum;
|
||
#endif
|
||
#ifdef USE_SHEEN
|
||
uniform vec3 sheenColor;
|
||
uniform float sheenRoughness;
|
||
#ifdef USE_SHEEN_COLORMAP
|
||
uniform sampler2D sheenColorMap;
|
||
#endif
|
||
#ifdef USE_SHEEN_ROUGHNESSMAP
|
||
uniform sampler2D sheenRoughnessMap;
|
||
#endif
|
||
#endif
|
||
#ifdef USE_ANISOTROPY
|
||
uniform vec2 anisotropyVector;
|
||
#ifdef USE_ANISOTROPYMAP
|
||
uniform sampler2D anisotropyMap;
|
||
#endif
|
||
#endif
|
||
varying vec3 vViewPosition;
|
||
#include <common>
|
||
#include <dithering_pars_fragment>
|
||
#include <color_pars_fragment>
|
||
#include <uv_pars_fragment>
|
||
#include <map_pars_fragment>
|
||
#include <alphamap_pars_fragment>
|
||
#include <alphatest_pars_fragment>
|
||
#include <alphahash_pars_fragment>
|
||
#include <aomap_pars_fragment>
|
||
#include <lightmap_pars_fragment>
|
||
#include <emissivemap_pars_fragment>
|
||
#include <iridescence_fragment>
|
||
#include <cube_uv_reflection_fragment>
|
||
#include <envmap_common_pars_fragment>
|
||
#include <envmap_physical_pars_fragment>
|
||
#include <fog_pars_fragment>
|
||
#include <lights_pars_begin>
|
||
#include <normal_pars_fragment>
|
||
#include <lights_physical_pars_fragment>
|
||
#include <transmission_pars_fragment>
|
||
#include <shadowmap_pars_fragment>
|
||
#include <bumpmap_pars_fragment>
|
||
#include <normalmap_pars_fragment>
|
||
#include <clearcoat_pars_fragment>
|
||
#include <iridescence_pars_fragment>
|
||
#include <roughnessmap_pars_fragment>
|
||
#include <metalnessmap_pars_fragment>
|
||
#include <logdepthbuf_pars_fragment>
|
||
#include <clipping_planes_pars_fragment>
|
||
void main() {
|
||
vec4 diffuseColor = vec4( diffuse, opacity );
|
||
#include <clipping_planes_fragment>
|
||
ReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );
|
||
vec3 totalEmissiveRadiance = emissive;
|
||
#include <logdepthbuf_fragment>
|
||
#include <map_fragment>
|
||
#include <color_fragment>
|
||
#include <alphamap_fragment>
|
||
#include <alphatest_fragment>
|
||
#include <alphahash_fragment>
|
||
#include <roughnessmap_fragment>
|
||
#include <metalnessmap_fragment>
|
||
#include <normal_fragment_begin>
|
||
#include <normal_fragment_maps>
|
||
#include <clearcoat_normal_fragment_begin>
|
||
#include <clearcoat_normal_fragment_maps>
|
||
#include <emissivemap_fragment>
|
||
#include <lights_physical_fragment>
|
||
#include <lights_fragment_begin>
|
||
#include <lights_fragment_maps>
|
||
#include <lights_fragment_end>
|
||
#include <aomap_fragment>
|
||
vec3 totalDiffuse = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse;
|
||
vec3 totalSpecular = reflectedLight.directSpecular + reflectedLight.indirectSpecular;
|
||
#include <transmission_fragment>
|
||
vec3 outgoingLight = totalDiffuse + totalSpecular + totalEmissiveRadiance;
|
||
#ifdef USE_SHEEN
|
||
|
||
outgoingLight = outgoingLight + sheenSpecularDirect + sheenSpecularIndirect;
|
||
|
||
#endif
|
||
#ifdef USE_CLEARCOAT
|
||
float dotNVcc = saturate( dot( geometryClearcoatNormal, geometryViewDir ) );
|
||
vec3 Fcc = F_Schlick( material.clearcoatF0, material.clearcoatF90, dotNVcc );
|
||
outgoingLight = outgoingLight * ( 1.0 - material.clearcoat * Fcc ) + ( clearcoatSpecularDirect + clearcoatSpecularIndirect ) * material.clearcoat;
|
||
#endif
|
||
#include <opaque_fragment>
|
||
#include <tonemapping_fragment>
|
||
#include <colorspace_fragment>
|
||
#include <fog_fragment>
|
||
#include <premultiplied_alpha_fragment>
|
||
#include <dithering_fragment>
|
||
}`,Kbe=`#define TOON
|
||
varying vec3 vViewPosition;
|
||
#include <common>
|
||
#include <batching_pars_vertex>
|
||
#include <uv_pars_vertex>
|
||
#include <displacementmap_pars_vertex>
|
||
#include <color_pars_vertex>
|
||
#include <fog_pars_vertex>
|
||
#include <normal_pars_vertex>
|
||
#include <morphtarget_pars_vertex>
|
||
#include <skinning_pars_vertex>
|
||
#include <shadowmap_pars_vertex>
|
||
#include <logdepthbuf_pars_vertex>
|
||
#include <clipping_planes_pars_vertex>
|
||
void main() {
|
||
#include <uv_vertex>
|
||
#include <color_vertex>
|
||
#include <morphinstance_vertex>
|
||
#include <morphcolor_vertex>
|
||
#include <batching_vertex>
|
||
#include <beginnormal_vertex>
|
||
#include <morphnormal_vertex>
|
||
#include <skinbase_vertex>
|
||
#include <skinnormal_vertex>
|
||
#include <defaultnormal_vertex>
|
||
#include <normal_vertex>
|
||
#include <begin_vertex>
|
||
#include <morphtarget_vertex>
|
||
#include <skinning_vertex>
|
||
#include <displacementmap_vertex>
|
||
#include <project_vertex>
|
||
#include <logdepthbuf_vertex>
|
||
#include <clipping_planes_vertex>
|
||
vViewPosition = - mvPosition.xyz;
|
||
#include <worldpos_vertex>
|
||
#include <shadowmap_vertex>
|
||
#include <fog_vertex>
|
||
}`,Qbe=`#define TOON
|
||
uniform vec3 diffuse;
|
||
uniform vec3 emissive;
|
||
uniform float opacity;
|
||
#include <common>
|
||
#include <dithering_pars_fragment>
|
||
#include <color_pars_fragment>
|
||
#include <uv_pars_fragment>
|
||
#include <map_pars_fragment>
|
||
#include <alphamap_pars_fragment>
|
||
#include <alphatest_pars_fragment>
|
||
#include <alphahash_pars_fragment>
|
||
#include <aomap_pars_fragment>
|
||
#include <lightmap_pars_fragment>
|
||
#include <emissivemap_pars_fragment>
|
||
#include <gradientmap_pars_fragment>
|
||
#include <fog_pars_fragment>
|
||
#include <bsdfs>
|
||
#include <lights_pars_begin>
|
||
#include <normal_pars_fragment>
|
||
#include <lights_toon_pars_fragment>
|
||
#include <shadowmap_pars_fragment>
|
||
#include <bumpmap_pars_fragment>
|
||
#include <normalmap_pars_fragment>
|
||
#include <logdepthbuf_pars_fragment>
|
||
#include <clipping_planes_pars_fragment>
|
||
void main() {
|
||
vec4 diffuseColor = vec4( diffuse, opacity );
|
||
#include <clipping_planes_fragment>
|
||
ReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );
|
||
vec3 totalEmissiveRadiance = emissive;
|
||
#include <logdepthbuf_fragment>
|
||
#include <map_fragment>
|
||
#include <color_fragment>
|
||
#include <alphamap_fragment>
|
||
#include <alphatest_fragment>
|
||
#include <alphahash_fragment>
|
||
#include <normal_fragment_begin>
|
||
#include <normal_fragment_maps>
|
||
#include <emissivemap_fragment>
|
||
#include <lights_toon_fragment>
|
||
#include <lights_fragment_begin>
|
||
#include <lights_fragment_maps>
|
||
#include <lights_fragment_end>
|
||
#include <aomap_fragment>
|
||
vec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + totalEmissiveRadiance;
|
||
#include <opaque_fragment>
|
||
#include <tonemapping_fragment>
|
||
#include <colorspace_fragment>
|
||
#include <fog_fragment>
|
||
#include <premultiplied_alpha_fragment>
|
||
#include <dithering_fragment>
|
||
}`,Jbe=`uniform float size;
|
||
uniform float scale;
|
||
#include <common>
|
||
#include <color_pars_vertex>
|
||
#include <fog_pars_vertex>
|
||
#include <morphtarget_pars_vertex>
|
||
#include <logdepthbuf_pars_vertex>
|
||
#include <clipping_planes_pars_vertex>
|
||
#ifdef USE_POINTS_UV
|
||
varying vec2 vUv;
|
||
uniform mat3 uvTransform;
|
||
#endif
|
||
void main() {
|
||
#ifdef USE_POINTS_UV
|
||
vUv = ( uvTransform * vec3( uv, 1 ) ).xy;
|
||
#endif
|
||
#include <color_vertex>
|
||
#include <morphinstance_vertex>
|
||
#include <morphcolor_vertex>
|
||
#include <begin_vertex>
|
||
#include <morphtarget_vertex>
|
||
#include <project_vertex>
|
||
gl_PointSize = size;
|
||
#ifdef USE_SIZEATTENUATION
|
||
bool isPerspective = isPerspectiveMatrix( projectionMatrix );
|
||
if ( isPerspective ) gl_PointSize *= ( scale / - mvPosition.z );
|
||
#endif
|
||
#include <logdepthbuf_vertex>
|
||
#include <clipping_planes_vertex>
|
||
#include <worldpos_vertex>
|
||
#include <fog_vertex>
|
||
}`,Xbe=`uniform vec3 diffuse;
|
||
uniform float opacity;
|
||
#include <common>
|
||
#include <color_pars_fragment>
|
||
#include <map_particle_pars_fragment>
|
||
#include <alphatest_pars_fragment>
|
||
#include <alphahash_pars_fragment>
|
||
#include <fog_pars_fragment>
|
||
#include <logdepthbuf_pars_fragment>
|
||
#include <clipping_planes_pars_fragment>
|
||
void main() {
|
||
vec4 diffuseColor = vec4( diffuse, opacity );
|
||
#include <clipping_planes_fragment>
|
||
vec3 outgoingLight = vec3( 0.0 );
|
||
#include <logdepthbuf_fragment>
|
||
#include <map_particle_fragment>
|
||
#include <color_fragment>
|
||
#include <alphatest_fragment>
|
||
#include <alphahash_fragment>
|
||
outgoingLight = diffuseColor.rgb;
|
||
#include <opaque_fragment>
|
||
#include <tonemapping_fragment>
|
||
#include <colorspace_fragment>
|
||
#include <fog_fragment>
|
||
#include <premultiplied_alpha_fragment>
|
||
}`,eNe=`#include <common>
|
||
#include <batching_pars_vertex>
|
||
#include <fog_pars_vertex>
|
||
#include <morphtarget_pars_vertex>
|
||
#include <skinning_pars_vertex>
|
||
#include <logdepthbuf_pars_vertex>
|
||
#include <shadowmap_pars_vertex>
|
||
void main() {
|
||
#include <batching_vertex>
|
||
#include <beginnormal_vertex>
|
||
#include <morphinstance_vertex>
|
||
#include <morphnormal_vertex>
|
||
#include <skinbase_vertex>
|
||
#include <skinnormal_vertex>
|
||
#include <defaultnormal_vertex>
|
||
#include <begin_vertex>
|
||
#include <morphtarget_vertex>
|
||
#include <skinning_vertex>
|
||
#include <project_vertex>
|
||
#include <logdepthbuf_vertex>
|
||
#include <worldpos_vertex>
|
||
#include <shadowmap_vertex>
|
||
#include <fog_vertex>
|
||
}`,tNe=`uniform vec3 color;
|
||
uniform float opacity;
|
||
#include <common>
|
||
#include <fog_pars_fragment>
|
||
#include <bsdfs>
|
||
#include <lights_pars_begin>
|
||
#include <logdepthbuf_pars_fragment>
|
||
#include <shadowmap_pars_fragment>
|
||
#include <shadowmask_pars_fragment>
|
||
void main() {
|
||
#include <logdepthbuf_fragment>
|
||
gl_FragColor = vec4( color, opacity * ( 1.0 - getShadowMask() ) );
|
||
#include <tonemapping_fragment>
|
||
#include <colorspace_fragment>
|
||
#include <fog_fragment>
|
||
#include <premultiplied_alpha_fragment>
|
||
}`,iNe=`uniform float rotation;
|
||
uniform vec2 center;
|
||
#include <common>
|
||
#include <uv_pars_vertex>
|
||
#include <fog_pars_vertex>
|
||
#include <logdepthbuf_pars_vertex>
|
||
#include <clipping_planes_pars_vertex>
|
||
void main() {
|
||
#include <uv_vertex>
|
||
vec4 mvPosition = modelViewMatrix[ 3 ];
|
||
vec2 scale = vec2( length( modelMatrix[ 0 ].xyz ), length( modelMatrix[ 1 ].xyz ) );
|
||
#ifndef USE_SIZEATTENUATION
|
||
bool isPerspective = isPerspectiveMatrix( projectionMatrix );
|
||
if ( isPerspective ) scale *= - mvPosition.z;
|
||
#endif
|
||
vec2 alignedPosition = ( position.xy - ( center - vec2( 0.5 ) ) ) * scale;
|
||
vec2 rotatedPosition;
|
||
rotatedPosition.x = cos( rotation ) * alignedPosition.x - sin( rotation ) * alignedPosition.y;
|
||
rotatedPosition.y = sin( rotation ) * alignedPosition.x + cos( rotation ) * alignedPosition.y;
|
||
mvPosition.xy += rotatedPosition;
|
||
gl_Position = projectionMatrix * mvPosition;
|
||
#include <logdepthbuf_vertex>
|
||
#include <clipping_planes_vertex>
|
||
#include <fog_vertex>
|
||
}`,nNe=`uniform vec3 diffuse;
|
||
uniform float opacity;
|
||
#include <common>
|
||
#include <uv_pars_fragment>
|
||
#include <map_pars_fragment>
|
||
#include <alphamap_pars_fragment>
|
||
#include <alphatest_pars_fragment>
|
||
#include <alphahash_pars_fragment>
|
||
#include <fog_pars_fragment>
|
||
#include <logdepthbuf_pars_fragment>
|
||
#include <clipping_planes_pars_fragment>
|
||
void main() {
|
||
vec4 diffuseColor = vec4( diffuse, opacity );
|
||
#include <clipping_planes_fragment>
|
||
vec3 outgoingLight = vec3( 0.0 );
|
||
#include <logdepthbuf_fragment>
|
||
#include <map_fragment>
|
||
#include <alphamap_fragment>
|
||
#include <alphatest_fragment>
|
||
#include <alphahash_fragment>
|
||
outgoingLight = diffuseColor.rgb;
|
||
#include <opaque_fragment>
|
||
#include <tonemapping_fragment>
|
||
#include <colorspace_fragment>
|
||
#include <fog_fragment>
|
||
}`,Ps={alphahash_fragment:SSe,alphahash_pars_fragment:ASe,alphamap_fragment:bSe,alphamap_pars_fragment:NSe,alphatest_fragment:_Se,alphatest_pars_fragment:DSe,aomap_fragment:CSe,aomap_pars_fragment:xSe,batching_pars_vertex:OSe,batching_vertex:LSe,begin_vertex:PSe,beginnormal_vertex:MSe,bsdfs:BSe,iridescence_fragment:FSe,bumpmap_pars_fragment:USe,clipping_planes_fragment:HSe,clipping_planes_pars_fragment:GSe,clipping_planes_pars_vertex:VSe,clipping_planes_vertex:kSe,color_fragment:zSe,color_pars_fragment:WSe,color_pars_vertex:YSe,color_vertex:jSe,common:qSe,cube_uv_reflection_fragment:$Se,defaultnormal_vertex:ZSe,displacementmap_pars_vertex:KSe,displacementmap_vertex:QSe,emissivemap_fragment:JSe,emissivemap_pars_fragment:XSe,colorspace_fragment:eAe,colorspace_pars_fragment:tAe,envmap_fragment:iAe,envmap_common_pars_fragment:nAe,envmap_pars_fragment:sAe,envmap_pars_vertex:oAe,envmap_physical_pars_fragment:mAe,envmap_vertex:rAe,fog_vertex:lAe,fog_pars_vertex:aAe,fog_fragment:uAe,fog_pars_fragment:cAe,gradientmap_pars_fragment:dAe,lightmap_pars_fragment:hAe,lights_lambert_fragment:fAe,lights_lambert_pars_fragment:pAe,lights_pars_begin:IAe,lights_toon_fragment:yAe,lights_toon_pars_fragment:EAe,lights_phong_fragment:TAe,lights_phong_pars_fragment:gAe,lights_physical_fragment:wAe,lights_physical_pars_fragment:vAe,lights_fragment_begin:RAe,lights_fragment_maps:SAe,lights_fragment_end:AAe,lightprobes_pars_fragment:bAe,logdepthbuf_fragment:NAe,logdepthbuf_pars_fragment:_Ae,logdepthbuf_pars_vertex:DAe,logdepthbuf_vertex:CAe,map_fragment:xAe,map_pars_fragment:OAe,map_particle_fragment:LAe,map_particle_pars_fragment:PAe,metalnessmap_fragment:MAe,metalnessmap_pars_fragment:BAe,morphinstance_vertex:FAe,morphcolor_vertex:UAe,morphnormal_vertex:HAe,morphtarget_pars_vertex:GAe,morphtarget_vertex:VAe,normal_fragment_begin:kAe,normal_fragment_maps:zAe,normal_pars_fragment:WAe,normal_pars_vertex:YAe,normal_vertex:jAe,normalmap_pars_fragment:qAe,clearcoat_normal_fragment_begin:$Ae,clearcoat_normal_fragment_maps:ZAe,clearcoat_pars_fragment:KAe,iridescence_pars_fragment:QAe,opaque_fragment:JAe,packing:XAe,premultiplied_alpha_fragment:ebe,project_vertex:tbe,dithering_fragment:ibe,dithering_pars_fragment:nbe,roughnessmap_fragment:sbe,roughnessmap_pars_fragment:obe,shadowmap_pars_fragment:rbe,shadowmap_pars_vertex:lbe,shadowmap_vertex:abe,shadowmask_pars_fragment:ube,skinbase_vertex:cbe,skinning_pars_vertex:dbe,skinning_vertex:hbe,skinnormal_vertex:fbe,specularmap_fragment:pbe,specularmap_pars_fragment:Ibe,tonemapping_fragment:mbe,tonemapping_pars_fragment:ybe,transmission_fragment:Ebe,transmission_pars_fragment:Tbe,uv_pars_fragment:gbe,uv_pars_vertex:wbe,uv_vertex:vbe,worldpos_vertex:Rbe,background_vert:Sbe,background_frag:Abe,backgroundCube_vert:bbe,backgroundCube_frag:Nbe,cube_vert:_be,cube_frag:Dbe,depth_vert:Cbe,depth_frag:xbe,distance_vert:Obe,distance_frag:Lbe,equirect_vert:Pbe,equirect_frag:Mbe,linedashed_vert:Bbe,linedashed_frag:Fbe,meshbasic_vert:Ube,meshbasic_frag:Hbe,meshlambert_vert:Gbe,meshlambert_frag:Vbe,meshmatcap_vert:kbe,meshmatcap_frag:zbe,meshnormal_vert:Wbe,meshnormal_frag:Ybe,meshphong_vert:jbe,meshphong_frag:qbe,meshphysical_vert:$be,meshphysical_frag:Zbe,meshtoon_vert:Kbe,meshtoon_frag:Qbe,points_vert:Jbe,points_frag:Xbe,shadow_vert:eNe,shadow_frag:tNe,sprite_vert:iNe,sprite_frag:nNe},an={common:{diffuse:{value:new Oi(16777215)},opacity:{value:1},map:{value:null},mapTransform:{value:new Qn},alphaMap:{value:null},alphaMapTransform:{value:new Qn},alphaTest:{value:0}},specularmap:{specularMap:{value:null},specularMapTransform:{value:new Qn}},envmap:{envMap:{value:null},envMapRotation:{value:new Qn},reflectivity:{value:1},ior:{value:1.5},refractionRatio:{value:.98},dfgLUT:{value:null}},aomap:{aoMap:{value:null},aoMapIntensity:{value:1},aoMapTransform:{value:new Qn}},lightmap:{lightMap:{value:null},lightMapIntensity:{value:1},lightMapTransform:{value:new Qn}},bumpmap:{bumpMap:{value:null},bumpMapTransform:{value:new Qn},bumpScale:{value:1}},normalmap:{normalMap:{value:null},normalMapTransform:{value:new Qn},normalScale:{value:new hi(1,1)}},displacementmap:{displacementMap:{value:null},displacementMapTransform:{value:new Qn},displacementScale:{value:1},displacementBias:{value:0}},emissivemap:{emissiveMap:{value:null},emissiveMapTransform:{value:new Qn}},metalnessmap:{metalnessMap:{value:null},metalnessMapTransform:{value:new Qn}},roughnessmap:{roughnessMap:{value:null},roughnessMapTransform:{value:new Qn}},gradientmap:{gradientMap:{value:null}},fog:{fogDensity:{value:25e-5},fogNear:{value:1},fogFar:{value:2e3},fogColor:{value:new Oi(16777215)}},lights:{ambientLightColor:{value:[]},lightProbe:{value:[]},directionalLights:{value:[],properties:{direction:{},color:{}}},directionalLightShadows:{value:[],properties:{shadowIntensity:1,shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{}}},directionalShadowMatrix:{value:[]},spotLights:{value:[],properties:{color:{},position:{},direction:{},distance:{},coneCos:{},penumbraCos:{},decay:{}}},spotLightShadows:{value:[],properties:{shadowIntensity:1,shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{}}},spotLightMap:{value:[]},spotLightMatrix:{value:[]},pointLights:{value:[],properties:{color:{},position:{},decay:{},distance:{}}},pointLightShadows:{value:[],properties:{shadowIntensity:1,shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{},shadowCameraNear:{},shadowCameraFar:{}}},pointShadowMatrix:{value:[]},hemisphereLights:{value:[],properties:{direction:{},skyColor:{},groundColor:{}}},rectAreaLights:{value:[],properties:{color:{},position:{},width:{},height:{}}},ltc_1:{value:null},ltc_2:{value:null},probesSH:{value:null},probesMin:{value:new ye},probesMax:{value:new ye},probesResolution:{value:new ye}},points:{diffuse:{value:new Oi(16777215)},opacity:{value:1},size:{value:1},scale:{value:1},map:{value:null},alphaMap:{value:null},alphaMapTransform:{value:new Qn},alphaTest:{value:0},uvTransform:{value:new Qn}},sprite:{diffuse:{value:new Oi(16777215)},opacity:{value:1},center:{value:new hi(.5,.5)},rotation:{value:0},map:{value:null},mapTransform:{value:new Qn},alphaMap:{value:null},alphaMapTransform:{value:new Qn},alphaTest:{value:0}}},gf={basic:{uniforms:Tf([an.common,an.specularmap,an.envmap,an.aomap,an.lightmap,an.fog]),vertexShader:Ps.meshbasic_vert,fragmentShader:Ps.meshbasic_frag},lambert:{uniforms:Tf([an.common,an.specularmap,an.envmap,an.aomap,an.lightmap,an.emissivemap,an.bumpmap,an.normalmap,an.displacementmap,an.fog,an.lights,{emissive:{value:new Oi(0)},envMapIntensity:{value:1}}]),vertexShader:Ps.meshlambert_vert,fragmentShader:Ps.meshlambert_frag},phong:{uniforms:Tf([an.common,an.specularmap,an.envmap,an.aomap,an.lightmap,an.emissivemap,an.bumpmap,an.normalmap,an.displacementmap,an.fog,an.lights,{emissive:{value:new Oi(0)},specular:{value:new Oi(1118481)},shininess:{value:30},envMapIntensity:{value:1}}]),vertexShader:Ps.meshphong_vert,fragmentShader:Ps.meshphong_frag},standard:{uniforms:Tf([an.common,an.envmap,an.aomap,an.lightmap,an.emissivemap,an.bumpmap,an.normalmap,an.displacementmap,an.roughnessmap,an.metalnessmap,an.fog,an.lights,{emissive:{value:new Oi(0)},roughness:{value:1},metalness:{value:0},envMapIntensity:{value:1}}]),vertexShader:Ps.meshphysical_vert,fragmentShader:Ps.meshphysical_frag},toon:{uniforms:Tf([an.common,an.aomap,an.lightmap,an.emissivemap,an.bumpmap,an.normalmap,an.displacementmap,an.gradientmap,an.fog,an.lights,{emissive:{value:new Oi(0)}}]),vertexShader:Ps.meshtoon_vert,fragmentShader:Ps.meshtoon_frag},matcap:{uniforms:Tf([an.common,an.bumpmap,an.normalmap,an.displacementmap,an.fog,{matcap:{value:null}}]),vertexShader:Ps.meshmatcap_vert,fragmentShader:Ps.meshmatcap_frag},points:{uniforms:Tf([an.points,an.fog]),vertexShader:Ps.points_vert,fragmentShader:Ps.points_frag},dashed:{uniforms:Tf([an.common,an.fog,{scale:{value:1},dashSize:{value:1},totalSize:{value:2}}]),vertexShader:Ps.linedashed_vert,fragmentShader:Ps.linedashed_frag},depth:{uniforms:Tf([an.common,an.displacementmap]),vertexShader:Ps.depth_vert,fragmentShader:Ps.depth_frag},normal:{uniforms:Tf([an.common,an.bumpmap,an.normalmap,an.displacementmap,{opacity:{value:1}}]),vertexShader:Ps.meshnormal_vert,fragmentShader:Ps.meshnormal_frag},sprite:{uniforms:Tf([an.sprite,an.fog]),vertexShader:Ps.sprite_vert,fragmentShader:Ps.sprite_frag},background:{uniforms:{uvTransform:{value:new Qn},t2D:{value:null},backgroundIntensity:{value:1}},vertexShader:Ps.background_vert,fragmentShader:Ps.background_frag},backgroundCube:{uniforms:{envMap:{value:null},backgroundBlurriness:{value:0},backgroundIntensity:{value:1},backgroundRotation:{value:new Qn}},vertexShader:Ps.backgroundCube_vert,fragmentShader:Ps.backgroundCube_frag},cube:{uniforms:{tCube:{value:null},tFlip:{value:-1},opacity:{value:1}},vertexShader:Ps.cube_vert,fragmentShader:Ps.cube_frag},equirect:{uniforms:{tEquirect:{value:null}},vertexShader:Ps.equirect_vert,fragmentShader:Ps.equirect_frag},distance:{uniforms:Tf([an.common,an.displacementmap,{referencePosition:{value:new ye},nearDistance:{value:1},farDistance:{value:1e3}}]),vertexShader:Ps.distance_vert,fragmentShader:Ps.distance_frag},shadow:{uniforms:Tf([an.lights,an.fog,{color:{value:new Oi(0)},opacity:{value:1}}]),vertexShader:Ps.shadow_vert,fragmentShader:Ps.shadow_frag}};gf.physical={uniforms:Tf([gf.standard.uniforms,{clearcoat:{value:0},clearcoatMap:{value:null},clearcoatMapTransform:{value:new Qn},clearcoatNormalMap:{value:null},clearcoatNormalMapTransform:{value:new Qn},clearcoatNormalScale:{value:new hi(1,1)},clearcoatRoughness:{value:0},clearcoatRoughnessMap:{value:null},clearcoatRoughnessMapTransform:{value:new Qn},dispersion:{value:0},iridescence:{value:0},iridescenceMap:{value:null},iridescenceMapTransform:{value:new Qn},iridescenceIOR:{value:1.3},iridescenceThicknessMinimum:{value:100},iridescenceThicknessMaximum:{value:400},iridescenceThicknessMap:{value:null},iridescenceThicknessMapTransform:{value:new Qn},sheen:{value:0},sheenColor:{value:new Oi(0)},sheenColorMap:{value:null},sheenColorMapTransform:{value:new Qn},sheenRoughness:{value:1},sheenRoughnessMap:{value:null},sheenRoughnessMapTransform:{value:new Qn},transmission:{value:0},transmissionMap:{value:null},transmissionMapTransform:{value:new Qn},transmissionSamplerSize:{value:new hi},transmissionSamplerMap:{value:null},thickness:{value:0},thicknessMap:{value:null},thicknessMapTransform:{value:new Qn},attenuationDistance:{value:0},attenuationColor:{value:new Oi(0)},specularColor:{value:new Oi(1,1,1)},specularColorMap:{value:null},specularColorMapTransform:{value:new Qn},specularIntensity:{value:1},specularIntensityMap:{value:null},specularIntensityMapTransform:{value:new Qn},anisotropyVector:{value:new hi},anisotropyMap:{value:null},anisotropyMapTransform:{value:new Qn}}]),vertexShader:Ps.meshphysical_vert,fragmentShader:Ps.meshphysical_frag};var uj={r:0,b:0,g:0},sNe=new Ai,tpe=new Qn;tpe.set(-1,0,0,0,1,0,0,0,1);function oNe(e,t,i,n,s,o){let r=new Oi(0),l=s===!0?0:1,d,h,p=null,I=0,m=null;function y(O){let P=O.isScene===!0?O.background:null;if(P&&P.isTexture){let U=O.backgroundBlurriness>0;P=t.get(P,U)}return P}function T(O){let P=!1,U=y(O);U===null?b(r,l):U&&U.isColor&&(b(U,1),P=!0);let Z=e.xr.getEnvironmentBlendMode();Z==="additive"?i.buffers.color.setClear(0,0,0,1,o):Z==="alpha-blend"&&i.buffers.color.setClear(0,0,0,0,o),(e.autoClear||P)&&(i.buffers.depth.setTest(!0),i.buffers.depth.setMask(!0),i.buffers.color.setMask(!0),e.clear(e.autoClearColor,e.autoClearDepth,e.autoClearStencil))}function R(O,P){let U=y(P);U&&(U.isCubeTexture||U.mapping===BT)?(h===void 0&&(h=new _i(new pr(1,1,1),new Kl({name:"BackgroundCubeMaterial",uniforms:PC(gf.backgroundCube.uniforms),vertexShader:gf.backgroundCube.vertexShader,fragmentShader:gf.backgroundCube.fragmentShader,side:Js,depthTest:!1,depthWrite:!1,fog:!1,allowOverride:!1})),h.geometry.deleteAttribute("normal"),h.geometry.deleteAttribute("uv"),h.onBeforeRender=function(Z,ne,K){this.matrixWorld.copyPosition(K.matrixWorld)},Object.defineProperty(h.material,"envMap",{get:function(){return this.uniforms.envMap.value}}),n.update(h)),h.material.uniforms.envMap.value=U,h.material.uniforms.backgroundBlurriness.value=P.backgroundBlurriness,h.material.uniforms.backgroundIntensity.value=P.backgroundIntensity,h.material.uniforms.backgroundRotation.value.setFromMatrix4(sNe.makeRotationFromEuler(P.backgroundRotation)).transpose(),U.isCubeTexture&&U.isRenderTargetTexture===!1&&h.material.uniforms.backgroundRotation.value.premultiply(tpe),h.material.toneMapped=Hn.getTransfer(U.colorSpace)!==pn,(p!==U||I!==U.version||m!==e.toneMapping)&&(h.material.needsUpdate=!0,p=U,I=U.version,m=e.toneMapping),h.layers.enableAll(),O.unshift(h,h.geometry,h.material,0,0,null)):U&&U.isTexture&&(d===void 0&&(d=new _i(new dp(2,2),new Kl({name:"BackgroundMaterial",uniforms:PC(gf.background.uniforms),vertexShader:gf.background.vertexShader,fragmentShader:gf.background.fragmentShader,side:$l,depthTest:!1,depthWrite:!1,fog:!1,allowOverride:!1})),d.geometry.deleteAttribute("normal"),Object.defineProperty(d.material,"map",{get:function(){return this.uniforms.t2D.value}}),n.update(d)),d.material.uniforms.t2D.value=U,d.material.uniforms.backgroundIntensity.value=P.backgroundIntensity,d.material.toneMapped=Hn.getTransfer(U.colorSpace)!==pn,U.matrixAutoUpdate===!0&&U.updateMatrix(),d.material.uniforms.uvTransform.value.copy(U.matrix),(p!==U||I!==U.version||m!==e.toneMapping)&&(d.material.needsUpdate=!0,p=U,I=U.version,m=e.toneMapping),d.layers.enableAll(),O.unshift(d,d.geometry,d.material,0,0,null))}function b(O,P){O.getRGB(uj,Cte(e)),i.buffers.color.setClear(uj.r,uj.g,uj.b,P,o)}function A(){h!==void 0&&(h.geometry.dispose(),h.material.dispose(),h=void 0),d!==void 0&&(d.geometry.dispose(),d.material.dispose(),d=void 0)}return{getClearColor:function(){return r},setClearColor:function(O,P=1){r.set(O),l=P,b(r,l)},getClearAlpha:function(){return l},setClearAlpha:function(O){l=O,b(r,l)},render:T,addToRenderList:R,dispose:A}}function rNe(e,t){let i=e.getParameter(e.MAX_VERTEX_ATTRIBS),n={},s=m(null),o=s,r=!1;function l(Re,ee,Ae,Ee,Ce){let Qe=!1,qe=I(Re,Ee,Ae,ee);o!==qe&&(o=qe,h(o.object)),Qe=y(Re,Ee,Ae,Ce),Qe&&T(Re,Ee,Ae,Ce),Ce!==null&&t.update(Ce,e.ELEMENT_ARRAY_BUFFER),(Qe||r)&&(r=!1,U(Re,ee,Ae,Ee),Ce!==null&&e.bindBuffer(e.ELEMENT_ARRAY_BUFFER,t.get(Ce).buffer))}function d(){return e.createVertexArray()}function h(Re){return e.bindVertexArray(Re)}function p(Re){return e.deleteVertexArray(Re)}function I(Re,ee,Ae,Ee){let Ce=Ee.wireframe===!0,Qe=n[ee.id];Qe===void 0&&(Qe={},n[ee.id]=Qe);let qe=Re.isInstancedMesh===!0?Re.id:0,St=Qe[qe];St===void 0&&(St={},Qe[qe]=St);let $e=St[Ae.id];$e===void 0&&($e={},St[Ae.id]=$e);let ke=$e[Ce];return ke===void 0&&(ke=m(d()),$e[Ce]=ke),ke}function m(Re){let ee=[],Ae=[],Ee=[];for(let Ce=0;Ce<i;Ce++)ee[Ce]=0,Ae[Ce]=0,Ee[Ce]=0;return{geometry:null,program:null,wireframe:!1,newAttributes:ee,enabledAttributes:Ae,attributeDivisors:Ee,object:Re,attributes:{},index:null}}function y(Re,ee,Ae,Ee){let Ce=o.attributes,Qe=ee.attributes,qe=0,St=Ae.getAttributes();for(let $e in St)if(St[$e].location>=0){let It=Ce[$e],ft=Qe[$e];if(ft===void 0&&($e==="instanceMatrix"&&Re.instanceMatrix&&(ft=Re.instanceMatrix),$e==="instanceColor"&&Re.instanceColor&&(ft=Re.instanceColor)),It===void 0||It.attribute!==ft||ft&&It.data!==ft.data)return!0;qe++}return o.attributesNum!==qe||o.index!==Ee}function T(Re,ee,Ae,Ee){let Ce={},Qe=ee.attributes,qe=0,St=Ae.getAttributes();for(let $e in St)if(St[$e].location>=0){let It=Qe[$e];It===void 0&&($e==="instanceMatrix"&&Re.instanceMatrix&&(It=Re.instanceMatrix),$e==="instanceColor"&&Re.instanceColor&&(It=Re.instanceColor));let ft={};ft.attribute=It,It&&It.data&&(ft.data=It.data),Ce[$e]=ft,qe++}o.attributes=Ce,o.attributesNum=qe,o.index=Ee}function R(){let Re=o.newAttributes;for(let ee=0,Ae=Re.length;ee<Ae;ee++)Re[ee]=0}function b(Re){A(Re,0)}function A(Re,ee){let Ae=o.newAttributes,Ee=o.enabledAttributes,Ce=o.attributeDivisors;Ae[Re]=1,Ee[Re]===0&&(e.enableVertexAttribArray(Re),Ee[Re]=1),Ce[Re]!==ee&&(e.vertexAttribDivisor(Re,ee),Ce[Re]=ee)}function O(){let Re=o.newAttributes,ee=o.enabledAttributes;for(let Ae=0,Ee=ee.length;Ae<Ee;Ae++)ee[Ae]!==Re[Ae]&&(e.disableVertexAttribArray(Ae),ee[Ae]=0)}function P(Re,ee,Ae,Ee,Ce,Qe,qe){qe===!0?e.vertexAttribIPointer(Re,ee,Ae,Ce,Qe):e.vertexAttribPointer(Re,ee,Ae,Ee,Ce,Qe)}function U(Re,ee,Ae,Ee){R();let Ce=Ee.attributes,Qe=Ae.getAttributes(),qe=ee.defaultAttributeValues;for(let St in Qe){let $e=Qe[St];if($e.location>=0){let ke=Ce[St];if(ke===void 0&&(St==="instanceMatrix"&&Re.instanceMatrix&&(ke=Re.instanceMatrix),St==="instanceColor"&&Re.instanceColor&&(ke=Re.instanceColor)),ke!==void 0){let It=ke.normalized,ft=ke.itemSize,Dt=t.get(ke);if(Dt===void 0)continue;let Zt=Dt.buffer,Ct=Dt.type,Ut=Dt.bytesPerElement,ii=Ct===e.INT||Ct===e.UNSIGNED_INT||ke.gpuType===Ya;if(ke.isInterleavedBufferAttribute){let Vt=ke.data,Kt=Vt.stride,ui=ke.offset;if(Vt.isInstancedInterleavedBuffer){for(let jt=0;jt<$e.locationSize;jt++)A($e.location+jt,Vt.meshPerAttribute);Re.isInstancedMesh!==!0&&Ee._maxInstanceCount===void 0&&(Ee._maxInstanceCount=Vt.meshPerAttribute*Vt.count)}else for(let jt=0;jt<$e.locationSize;jt++)b($e.location+jt);e.bindBuffer(e.ARRAY_BUFFER,Zt);for(let jt=0;jt<$e.locationSize;jt++)P($e.location+jt,ft/$e.locationSize,Ct,It,Kt*Ut,(ui+ft/$e.locationSize*jt)*Ut,ii)}else{if(ke.isInstancedBufferAttribute){for(let Vt=0;Vt<$e.locationSize;Vt++)A($e.location+Vt,ke.meshPerAttribute);Re.isInstancedMesh!==!0&&Ee._maxInstanceCount===void 0&&(Ee._maxInstanceCount=ke.meshPerAttribute*ke.count)}else for(let Vt=0;Vt<$e.locationSize;Vt++)b($e.location+Vt);e.bindBuffer(e.ARRAY_BUFFER,Zt);for(let Vt=0;Vt<$e.locationSize;Vt++)P($e.location+Vt,ft/$e.locationSize,Ct,It,ft*Ut,ft/$e.locationSize*Vt*Ut,ii)}}else if(qe!==void 0){let It=qe[St];if(It!==void 0)switch(It.length){case 2:e.vertexAttrib2fv($e.location,It);break;case 3:e.vertexAttrib3fv($e.location,It);break;case 4:e.vertexAttrib4fv($e.location,It);break;default:e.vertexAttrib1fv($e.location,It)}}}}O()}function Z(){se();for(let Re in n){let ee=n[Re];for(let Ae in ee){let Ee=ee[Ae];for(let Ce in Ee){let Qe=Ee[Ce];for(let qe in Qe)p(Qe[qe].object),delete Qe[qe];delete Ee[Ce]}}delete n[Re]}}function ne(Re){if(n[Re.id]===void 0)return;let ee=n[Re.id];for(let Ae in ee){let Ee=ee[Ae];for(let Ce in Ee){let Qe=Ee[Ce];for(let qe in Qe)p(Qe[qe].object),delete Qe[qe];delete Ee[Ce]}}delete n[Re.id]}function K(Re){for(let ee in n){let Ae=n[ee];for(let Ee in Ae){let Ce=Ae[Ee];if(Ce[Re.id]===void 0)continue;let Qe=Ce[Re.id];for(let qe in Qe)p(Qe[qe].object),delete Qe[qe];delete Ce[Re.id]}}}function oe(Re){for(let ee in n){let Ae=n[ee],Ee=Re.isInstancedMesh===!0?Re.id:0,Ce=Ae[Ee];if(Ce!==void 0){for(let Qe in Ce){let qe=Ce[Qe];for(let St in qe)p(qe[St].object),delete qe[St];delete Ce[Qe]}delete Ae[Ee],Object.keys(Ae).length===0&&delete n[ee]}}}function se(){he(),r=!0,o!==s&&(o=s,h(o.object))}function he(){s.geometry=null,s.program=null,s.wireframe=!1}return{setup:l,reset:se,resetDefaultState:he,dispose:Z,releaseStatesOfGeometry:ne,releaseStatesOfObject:oe,releaseStatesOfProgram:K,initAttributes:R,enableAttribute:b,disableUnusedAttributes:O}}function lNe(e,t,i){let n;function s(d){n=d}function o(d,h){e.drawArrays(n,d,h),i.update(h,n,1)}function r(d,h,p){p!==0&&(e.drawArraysInstanced(n,d,h,p),i.update(h,n,p))}function l(d,h,p){if(p===0)return;t.get("WEBGL_multi_draw").multiDrawArraysWEBGL(n,d,0,h,0,p);let m=0;for(let y=0;y<p;y++)m+=h[y];i.update(m,n,1)}this.setMode=s,this.render=o,this.renderInstances=r,this.renderMultiDraw=l}function aNe(e,t,i,n){let s;function o(){if(s!==void 0)return s;if(t.has("EXT_texture_filter_anisotropic")===!0){let K=t.get("EXT_texture_filter_anisotropic");s=e.getParameter(K.MAX_TEXTURE_MAX_ANISOTROPY_EXT)}else s=0;return s}function r(K){return!(K!==Ko&&n.convert(K)!==e.getParameter(e.IMPLEMENTATION_COLOR_READ_FORMAT))}function l(K){let oe=K===sr&&(t.has("EXT_color_buffer_half_float")||t.has("EXT_color_buffer_float"));return!(K!==Lo&&n.convert(K)!==e.getParameter(e.IMPLEMENTATION_COLOR_READ_TYPE)&&K!==Ro&&!oe)}function d(K){if(K==="highp"){if(e.getShaderPrecisionFormat(e.VERTEX_SHADER,e.HIGH_FLOAT).precision>0&&e.getShaderPrecisionFormat(e.FRAGMENT_SHADER,e.HIGH_FLOAT).precision>0)return"highp";K="mediump"}return K==="mediump"&&e.getShaderPrecisionFormat(e.VERTEX_SHADER,e.MEDIUM_FLOAT).precision>0&&e.getShaderPrecisionFormat(e.FRAGMENT_SHADER,e.MEDIUM_FLOAT).precision>0?"mediump":"lowp"}let h=i.precision!==void 0?i.precision:"highp",p=d(h);p!==h&&(ci("WebGLRenderer:",h,"not supported, using",p,"instead."),h=p);let I=i.logarithmicDepthBuffer===!0,m=i.reversedDepthBuffer===!0&&t.has("EXT_clip_control");i.reversedDepthBuffer===!0&&m===!1&&ci("WebGLRenderer: Unable to use reversed depth buffer due to missing EXT_clip_control extension. Fallback to default depth buffer.");let y=e.getParameter(e.MAX_TEXTURE_IMAGE_UNITS),T=e.getParameter(e.MAX_VERTEX_TEXTURE_IMAGE_UNITS),R=e.getParameter(e.MAX_TEXTURE_SIZE),b=e.getParameter(e.MAX_CUBE_MAP_TEXTURE_SIZE),A=e.getParameter(e.MAX_VERTEX_ATTRIBS),O=e.getParameter(e.MAX_VERTEX_UNIFORM_VECTORS),P=e.getParameter(e.MAX_VARYING_VECTORS),U=e.getParameter(e.MAX_FRAGMENT_UNIFORM_VECTORS),Z=e.getParameter(e.MAX_SAMPLES),ne=e.getParameter(e.SAMPLES);return{isWebGL2:!0,getMaxAnisotropy:o,getMaxPrecision:d,textureFormatReadable:r,textureTypeReadable:l,precision:h,logarithmicDepthBuffer:I,reversedDepthBuffer:m,maxTextures:y,maxVertexTextures:T,maxTextureSize:R,maxCubemapSize:b,maxAttributes:A,maxVertexUniforms:O,maxVaryings:P,maxFragmentUniforms:U,maxSamples:Z,samples:ne}}function uNe(e){let t=this,i=null,n=0,s=!1,o=!1,r=new es,l=new Qn,d={value:null,needsUpdate:!1};this.uniform=d,this.numPlanes=0,this.numIntersection=0,this.init=function(I,m){let y=I.length!==0||m||n!==0||s;return s=m,n=I.length,y},this.beginShadows=function(){o=!0,p(null)},this.endShadows=function(){o=!1},this.setGlobalState=function(I,m){i=p(I,m,0)},this.setState=function(I,m,y){let T=I.clippingPlanes,R=I.clipIntersection,b=I.clipShadows,A=e.get(I);if(!s||T===null||T.length===0||o&&!b)o?p(null):h();else{let O=o?0:n,P=O*4,U=A.clippingState||null;d.value=U,U=p(T,m,P,y);for(let Z=0;Z!==P;++Z)U[Z]=i[Z];A.clippingState=U,this.numIntersection=R?this.numPlanes:0,this.numPlanes+=O}};function h(){d.value!==i&&(d.value=i,d.needsUpdate=n>0),t.numPlanes=n,t.numIntersection=0}function p(I,m,y,T){let R=I!==null?I.length:0,b=null;if(R!==0){if(b=d.value,T!==!0||b===null){let A=y+R*4,O=m.matrixWorldInverse;l.getNormalMatrix(O),(b===null||b.length<A)&&(b=new Float32Array(A));for(let P=0,U=y;P!==R;++P,U+=4)r.copy(I[P]).applyMatrix4(O,l),r.normal.toArray(b,U),b[U+3]=r.constant}d.value=b,d.needsUpdate=!0}return t.numPlanes=R,t.numIntersection=0,b}}var tN=4,Ofe=[.125,.215,.35,.446,.526,.582],MC=20,cNe=256,fG=new ba,Lfe=new Oi,Mte=null,Bte=0,Fte=0,Ute=!1,dNe=new ye,mG=class{constructor(t){this._renderer=t,this._pingPongRenderTarget=null,this._lodMax=0,this._cubeSize=0,this._sizeLods=[],this._sigmas=[],this._lodMeshes=[],this._backgroundBox=null,this._cubemapMaterial=null,this._equirectMaterial=null,this._blurMaterial=null,this._ggxMaterial=null}fromScene(t,i=0,n=.1,s=100,o={}){let{size:r=256,position:l=dNe}=o;Mte=this._renderer.getRenderTarget(),Bte=this._renderer.getActiveCubeFace(),Fte=this._renderer.getActiveMipmapLevel(),Ute=this._renderer.xr.enabled,this._renderer.xr.enabled=!1,this._setSize(r);let d=this._allocateTargets();return d.depthBuffer=!0,this._sceneToCubeUV(t,n,s,d,l),i>0&&this._blur(d,0,0,i),this._applyPMREM(d),this._cleanup(d),d}fromEquirectangular(t,i=null){return this._fromTexture(t,i)}fromCubemap(t,i=null){return this._fromTexture(t,i)}compileCubemapShader(){this._cubemapMaterial===null&&(this._cubemapMaterial=Bfe(),this._compileMaterial(this._cubemapMaterial))}compileEquirectangularShader(){this._equirectMaterial===null&&(this._equirectMaterial=Mfe(),this._compileMaterial(this._equirectMaterial))}dispose(){this._dispose(),this._cubemapMaterial!==null&&this._cubemapMaterial.dispose(),this._equirectMaterial!==null&&this._equirectMaterial.dispose(),this._backgroundBox!==null&&(this._backgroundBox.geometry.dispose(),this._backgroundBox.material.dispose())}_setSize(t){this._lodMax=Math.floor(Math.log2(t)),this._cubeSize=Math.pow(2,this._lodMax)}_dispose(){this._blurMaterial!==null&&this._blurMaterial.dispose(),this._ggxMaterial!==null&&this._ggxMaterial.dispose(),this._pingPongRenderTarget!==null&&this._pingPongRenderTarget.dispose();for(let t=0;t<this._lodMeshes.length;t++)this._lodMeshes[t].geometry.dispose()}_cleanup(t){this._renderer.setRenderTarget(Mte,Bte,Fte),this._renderer.xr.enabled=Ute,t.scissorTest=!1,i7(t,0,0,t.width,t.height)}_fromTexture(t,i){t.mapping===Ef||t.mapping===VI?this._setSize(t.image.length===0?16:t.image[0].width||t.image[0].image.width):this._setSize(t.image.width/4),Mte=this._renderer.getRenderTarget(),Bte=this._renderer.getActiveCubeFace(),Fte=this._renderer.getActiveMipmapLevel(),Ute=this._renderer.xr.enabled,this._renderer.xr.enabled=!1;let n=i||this._allocateTargets();return this._textureToCubeUV(t,n),this._applyPMREM(n),this._cleanup(n),n}_allocateTargets(){let t=3*Math.max(this._cubeSize,112),i=4*this._cubeSize,n={magFilter:Us,minFilter:Us,generateMipmaps:!1,type:sr,format:Ko,colorSpace:kv,depthBuffer:!1},s=Pfe(t,i,n);if(this._pingPongRenderTarget===null||this._pingPongRenderTarget.width!==t||this._pingPongRenderTarget.height!==i){this._pingPongRenderTarget!==null&&this._dispose(),this._pingPongRenderTarget=Pfe(t,i,n);let{_lodMax:o}=this;({lodMeshes:this._lodMeshes,sizeLods:this._sizeLods,sigmas:this._sigmas}=hNe(o)),this._blurMaterial=pNe(o,t,i),this._ggxMaterial=fNe(o,t,i)}return s}_compileMaterial(t){let i=new _i(new nn,t);this._renderer.compile(i,fG)}_sceneToCubeUV(t,i,n,s,o){let d=new xo(90,1,i,n),h=[1,-1,1,1,1,1],p=[1,1,1,-1,-1,-1],I=this._renderer,m=I.autoClear,y=I.toneMapping;I.getClearColor(Lfe),I.toneMapping=_c,I.autoClear=!1,I.state.buffers.depth.getReversed()&&(I.setRenderTarget(s),I.clearDepth(),I.setRenderTarget(null)),this._backgroundBox===null&&(this._backgroundBox=new _i(new pr,new Ho({name:"PMREM.Background",side:Js,depthWrite:!1,depthTest:!1})));let R=this._backgroundBox,b=R.material,A=!1,O=t.background;O?O.isColor&&(b.color.copy(O),t.background=null,A=!0):(b.color.copy(Lfe),A=!0);for(let P=0;P<6;P++){let U=P%3;U===0?(d.up.set(0,h[P],0),d.position.set(o.x,o.y,o.z),d.lookAt(o.x+p[P],o.y,o.z)):U===1?(d.up.set(0,0,h[P]),d.position.set(o.x,o.y,o.z),d.lookAt(o.x,o.y+p[P],o.z)):(d.up.set(0,h[P],0),d.position.set(o.x,o.y,o.z),d.lookAt(o.x,o.y,o.z+p[P]));let Z=this._cubeSize;i7(s,U*Z,P>2?Z:0,Z,Z),I.setRenderTarget(s),A&&I.render(R,d),I.render(t,d)}I.toneMapping=y,I.autoClear=m,t.background=O}_textureToCubeUV(t,i){let n=this._renderer,s=t.mapping===Ef||t.mapping===VI;s?(this._cubemapMaterial===null&&(this._cubemapMaterial=Bfe()),this._cubemapMaterial.uniforms.flipEnvMap.value=t.isRenderTargetTexture===!1?-1:1):this._equirectMaterial===null&&(this._equirectMaterial=Mfe());let o=s?this._cubemapMaterial:this._equirectMaterial,r=this._lodMeshes[0];r.material=o;let l=o.uniforms;l.envMap.value=t;let d=this._cubeSize;i7(i,0,0,3*d,2*d),n.setRenderTarget(i),n.render(r,fG)}_applyPMREM(t){let i=this._renderer,n=i.autoClear;i.autoClear=!1;let s=this._lodMeshes.length;for(let o=1;o<s;o++)this._applyGGXFilter(t,o-1,o);i.autoClear=n}_applyGGXFilter(t,i,n){let s=this._renderer,o=this._pingPongRenderTarget,r=this._ggxMaterial,l=this._lodMeshes[n];l.material=r;let d=r.uniforms,h=n/(this._lodMeshes.length-1),p=i/(this._lodMeshes.length-1),I=Math.sqrt(h*h-p*p),m=0+h*1.25,y=I*m,{_lodMax:T}=this,R=this._sizeLods[n],b=3*R*(n>T-tN?n-T+tN:0),A=4*(this._cubeSize-R);d.envMap.value=t.texture,d.roughness.value=y,d.mipInt.value=T-i,i7(o,b,A,3*R,2*R),s.setRenderTarget(o),s.render(l,fG),d.envMap.value=o.texture,d.roughness.value=0,d.mipInt.value=T-n,i7(t,b,A,3*R,2*R),s.setRenderTarget(t),s.render(l,fG)}_blur(t,i,n,s,o){let r=this._pingPongRenderTarget;this._halfBlur(t,r,i,n,s,"latitudinal",o),this._halfBlur(r,t,n,n,s,"longitudinal",o)}_halfBlur(t,i,n,s,o,r,l){let d=this._renderer,h=this._blurMaterial;r!=="latitudinal"&&r!=="longitudinal"&&yi("blur direction must be either latitudinal or longitudinal!");let p=3,I=this._lodMeshes[s];I.material=h;let m=h.uniforms,y=this._sizeLods[n]-1,T=isFinite(o)?Math.PI/(2*y):2*Math.PI/(2*MC-1),R=o/T,b=isFinite(o)?1+Math.floor(p*R):MC;b>MC&&ci(`sigmaRadians, ${o}, is too large and will clip, as it requested ${b} samples when the maximum is set to ${MC}`);let A=[],O=0;for(let K=0;K<MC;++K){let oe=K/R,se=Math.exp(-oe*oe/2);A.push(se),K===0?O+=se:K<b&&(O+=2*se)}for(let K=0;K<A.length;K++)A[K]=A[K]/O;m.envMap.value=t.texture,m.samples.value=b,m.weights.value=A,m.latitudinal.value=r==="latitudinal",l&&(m.poleAxis.value=l);let{_lodMax:P}=this;m.dTheta.value=T,m.mipInt.value=P-n;let U=this._sizeLods[s],Z=3*U*(s>P-tN?s-P+tN:0),ne=4*(this._cubeSize-U);i7(i,Z,ne,3*U,2*U),d.setRenderTarget(i),d.render(I,fG)}};function hNe(e){let t=[],i=[],n=[],s=e,o=e-tN+1+Ofe.length;for(let r=0;r<o;r++){let l=Math.pow(2,s);t.push(l);let d=1/l;r>e-tN?d=Ofe[r-e+tN-1]:r===0&&(d=0),i.push(d);let h=1/(l-2),p=-h,I=1+h,m=[p,p,I,p,I,I,p,p,I,I,p,I],y=6,T=6,R=3,b=2,A=1,O=new Float32Array(R*T*y),P=new Float32Array(b*T*y),U=new Float32Array(A*T*y);for(let ne=0;ne<y;ne++){let K=ne%3*2/3-1,oe=ne>2?0:-1,se=[K,oe,0,K+2/3,oe,0,K+2/3,oe+1,0,K,oe,0,K+2/3,oe+1,0,K,oe+1,0];O.set(se,R*T*ne),P.set(m,b*T*ne);let he=[ne,ne,ne,ne,ne,ne];U.set(he,A*T*ne)}let Z=new nn;Z.setAttribute("position",new Tn(O,R)),Z.setAttribute("uv",new Tn(P,b)),Z.setAttribute("faceIndex",new Tn(U,A)),n.push(new _i(Z,null)),s>tN&&s--}return{lodMeshes:n,sizeLods:t,sigmas:i}}function Pfe(e,t,i){let n=new ka(e,t,i);return n.texture.mapping=BT,n.texture.name="PMREM.cubeUv",n.scissorTest=!0,n}function i7(e,t,i,n,s){e.viewport.set(t,i,n,s),e.scissor.set(t,i,n,s)}function fNe(e,t,i){return new Kl({name:"PMREMGGXConvolution",defines:{GGX_SAMPLES:cNe,CUBEUV_TEXEL_WIDTH:1/t,CUBEUV_TEXEL_HEIGHT:1/i,CUBEUV_MAX_MIP:`${e}.0`},uniforms:{envMap:{value:null},roughness:{value:0},mipInt:{value:0}},vertexShader:dj(),fragmentShader:`
|
||
|
||
precision highp float;
|
||
precision highp int;
|
||
|
||
varying vec3 vOutputDirection;
|
||
|
||
uniform sampler2D envMap;
|
||
uniform float roughness;
|
||
uniform float mipInt;
|
||
|
||
#define ENVMAP_TYPE_CUBE_UV
|
||
#include <cube_uv_reflection_fragment>
|
||
|
||
#define PI 3.14159265359
|
||
|
||
// Van der Corput radical inverse
|
||
float radicalInverse_VdC(uint bits) {
|
||
bits = (bits << 16u) | (bits >> 16u);
|
||
bits = ((bits & 0x55555555u) << 1u) | ((bits & 0xAAAAAAAAu) >> 1u);
|
||
bits = ((bits & 0x33333333u) << 2u) | ((bits & 0xCCCCCCCCu) >> 2u);
|
||
bits = ((bits & 0x0F0F0F0Fu) << 4u) | ((bits & 0xF0F0F0F0u) >> 4u);
|
||
bits = ((bits & 0x00FF00FFu) << 8u) | ((bits & 0xFF00FF00u) >> 8u);
|
||
return float(bits) * 2.3283064365386963e-10; // / 0x100000000
|
||
}
|
||
|
||
// Hammersley sequence
|
||
vec2 hammersley(uint i, uint N) {
|
||
return vec2(float(i) / float(N), radicalInverse_VdC(i));
|
||
}
|
||
|
||
// GGX VNDF importance sampling (Eric Heitz 2018)
|
||
// "Sampling the GGX Distribution of Visible Normals"
|
||
// https://jcgt.org/published/0007/04/01/
|
||
vec3 importanceSampleGGX_VNDF(vec2 Xi, vec3 V, float roughness) {
|
||
float alpha = roughness * roughness;
|
||
|
||
// Section 4.1: Orthonormal basis
|
||
vec3 T1 = vec3(1.0, 0.0, 0.0);
|
||
vec3 T2 = cross(V, T1);
|
||
|
||
// Section 4.2: Parameterization of projected area
|
||
float r = sqrt(Xi.x);
|
||
float phi = 2.0 * PI * Xi.y;
|
||
float t1 = r * cos(phi);
|
||
float t2 = r * sin(phi);
|
||
float s = 0.5 * (1.0 + V.z);
|
||
t2 = (1.0 - s) * sqrt(1.0 - t1 * t1) + s * t2;
|
||
|
||
// Section 4.3: Reprojection onto hemisphere
|
||
vec3 Nh = t1 * T1 + t2 * T2 + sqrt(max(0.0, 1.0 - t1 * t1 - t2 * t2)) * V;
|
||
|
||
// Section 3.4: Transform back to ellipsoid configuration
|
||
return normalize(vec3(alpha * Nh.x, alpha * Nh.y, max(0.0, Nh.z)));
|
||
}
|
||
|
||
void main() {
|
||
vec3 N = normalize(vOutputDirection);
|
||
vec3 V = N; // Assume view direction equals normal for pre-filtering
|
||
|
||
vec3 prefilteredColor = vec3(0.0);
|
||
float totalWeight = 0.0;
|
||
|
||
// For very low roughness, just sample the environment directly
|
||
if (roughness < 0.001) {
|
||
gl_FragColor = vec4(bilinearCubeUV(envMap, N, mipInt), 1.0);
|
||
return;
|
||
}
|
||
|
||
// Tangent space basis for VNDF sampling
|
||
vec3 up = abs(N.z) < 0.999 ? vec3(0.0, 0.0, 1.0) : vec3(1.0, 0.0, 0.0);
|
||
vec3 tangent = normalize(cross(up, N));
|
||
vec3 bitangent = cross(N, tangent);
|
||
|
||
for(uint i = 0u; i < uint(GGX_SAMPLES); i++) {
|
||
vec2 Xi = hammersley(i, uint(GGX_SAMPLES));
|
||
|
||
// For PMREM, V = N, so in tangent space V is always (0, 0, 1)
|
||
vec3 H_tangent = importanceSampleGGX_VNDF(Xi, vec3(0.0, 0.0, 1.0), roughness);
|
||
|
||
// Transform H back to world space
|
||
vec3 H = normalize(tangent * H_tangent.x + bitangent * H_tangent.y + N * H_tangent.z);
|
||
vec3 L = normalize(2.0 * dot(V, H) * H - V);
|
||
|
||
float NdotL = max(dot(N, L), 0.0);
|
||
|
||
if(NdotL > 0.0) {
|
||
// Sample environment at fixed mip level
|
||
// VNDF importance sampling handles the distribution filtering
|
||
vec3 sampleColor = bilinearCubeUV(envMap, L, mipInt);
|
||
|
||
// Weight by NdotL for the split-sum approximation
|
||
// VNDF PDF naturally accounts for the visible microfacet distribution
|
||
prefilteredColor += sampleColor * NdotL;
|
||
totalWeight += NdotL;
|
||
}
|
||
}
|
||
|
||
if (totalWeight > 0.0) {
|
||
prefilteredColor = prefilteredColor / totalWeight;
|
||
}
|
||
|
||
gl_FragColor = vec4(prefilteredColor, 1.0);
|
||
}
|
||
`,blending:Na,depthTest:!1,depthWrite:!1})}function pNe(e,t,i){let n=new Float32Array(MC),s=new ye(0,1,0);return new Kl({name:"SphericalGaussianBlur",defines:{n:MC,CUBEUV_TEXEL_WIDTH:1/t,CUBEUV_TEXEL_HEIGHT:1/i,CUBEUV_MAX_MIP:`${e}.0`},uniforms:{envMap:{value:null},samples:{value:1},weights:{value:n},latitudinal:{value:!1},dTheta:{value:0},mipInt:{value:0},poleAxis:{value:s}},vertexShader:dj(),fragmentShader:`
|
||
|
||
precision mediump float;
|
||
precision mediump int;
|
||
|
||
varying vec3 vOutputDirection;
|
||
|
||
uniform sampler2D envMap;
|
||
uniform int samples;
|
||
uniform float weights[ n ];
|
||
uniform bool latitudinal;
|
||
uniform float dTheta;
|
||
uniform float mipInt;
|
||
uniform vec3 poleAxis;
|
||
|
||
#define ENVMAP_TYPE_CUBE_UV
|
||
#include <cube_uv_reflection_fragment>
|
||
|
||
vec3 getSample( float theta, vec3 axis ) {
|
||
|
||
float cosTheta = cos( theta );
|
||
// Rodrigues' axis-angle rotation
|
||
vec3 sampleDirection = vOutputDirection * cosTheta
|
||
+ cross( axis, vOutputDirection ) * sin( theta )
|
||
+ axis * dot( axis, vOutputDirection ) * ( 1.0 - cosTheta );
|
||
|
||
return bilinearCubeUV( envMap, sampleDirection, mipInt );
|
||
|
||
}
|
||
|
||
void main() {
|
||
|
||
vec3 axis = latitudinal ? poleAxis : cross( poleAxis, vOutputDirection );
|
||
|
||
if ( all( equal( axis, vec3( 0.0 ) ) ) ) {
|
||
|
||
axis = vec3( vOutputDirection.z, 0.0, - vOutputDirection.x );
|
||
|
||
}
|
||
|
||
axis = normalize( axis );
|
||
|
||
gl_FragColor = vec4( 0.0, 0.0, 0.0, 1.0 );
|
||
gl_FragColor.rgb += weights[ 0 ] * getSample( 0.0, axis );
|
||
|
||
for ( int i = 1; i < n; i++ ) {
|
||
|
||
if ( i >= samples ) {
|
||
|
||
break;
|
||
|
||
}
|
||
|
||
float theta = dTheta * float( i );
|
||
gl_FragColor.rgb += weights[ i ] * getSample( -1.0 * theta, axis );
|
||
gl_FragColor.rgb += weights[ i ] * getSample( theta, axis );
|
||
|
||
}
|
||
|
||
}
|
||
`,blending:Na,depthTest:!1,depthWrite:!1})}function Mfe(){return new Kl({name:"EquirectangularToCubeUV",uniforms:{envMap:{value:null}},vertexShader:dj(),fragmentShader:`
|
||
|
||
precision mediump float;
|
||
precision mediump int;
|
||
|
||
varying vec3 vOutputDirection;
|
||
|
||
uniform sampler2D envMap;
|
||
|
||
#include <common>
|
||
|
||
void main() {
|
||
|
||
vec3 outputDirection = normalize( vOutputDirection );
|
||
vec2 uv = equirectUv( outputDirection );
|
||
|
||
gl_FragColor = vec4( texture2D ( envMap, uv ).rgb, 1.0 );
|
||
|
||
}
|
||
`,blending:Na,depthTest:!1,depthWrite:!1})}function Bfe(){return new Kl({name:"CubemapToCubeUV",uniforms:{envMap:{value:null},flipEnvMap:{value:-1}},vertexShader:dj(),fragmentShader:`
|
||
|
||
precision mediump float;
|
||
precision mediump int;
|
||
|
||
uniform float flipEnvMap;
|
||
|
||
varying vec3 vOutputDirection;
|
||
|
||
uniform samplerCube envMap;
|
||
|
||
void main() {
|
||
|
||
gl_FragColor = textureCube( envMap, vec3( flipEnvMap * vOutputDirection.x, vOutputDirection.yz ) );
|
||
|
||
}
|
||
`,blending:Na,depthTest:!1,depthWrite:!1})}function dj(){return`
|
||
|
||
precision mediump float;
|
||
precision mediump int;
|
||
|
||
attribute float faceIndex;
|
||
|
||
varying vec3 vOutputDirection;
|
||
|
||
// RH coordinate system; PMREM face-indexing convention
|
||
vec3 getDirection( vec2 uv, float face ) {
|
||
|
||
uv = 2.0 * uv - 1.0;
|
||
|
||
vec3 direction = vec3( uv, 1.0 );
|
||
|
||
if ( face == 0.0 ) {
|
||
|
||
direction = direction.zyx; // ( 1, v, u ) pos x
|
||
|
||
} else if ( face == 1.0 ) {
|
||
|
||
direction = direction.xzy;
|
||
direction.xz *= -1.0; // ( -u, 1, -v ) pos y
|
||
|
||
} else if ( face == 2.0 ) {
|
||
|
||
direction.x *= -1.0; // ( -u, v, 1 ) pos z
|
||
|
||
} else if ( face == 3.0 ) {
|
||
|
||
direction = direction.zyx;
|
||
direction.xz *= -1.0; // ( -1, v, -u ) neg x
|
||
|
||
} else if ( face == 4.0 ) {
|
||
|
||
direction = direction.xzy;
|
||
direction.xy *= -1.0; // ( -u, -1, v ) neg y
|
||
|
||
} else if ( face == 5.0 ) {
|
||
|
||
direction.z *= -1.0; // ( u, v, -1 ) neg z
|
||
|
||
}
|
||
|
||
return direction;
|
||
|
||
}
|
||
|
||
void main() {
|
||
|
||
vOutputDirection = getDirection( uv, faceIndex );
|
||
gl_Position = vec4( position, 1.0 );
|
||
|
||
}
|
||
`}var yG=class extends ka{constructor(t=1,i={}){super(t,t,i),this.isWebGLCubeRenderTarget=!0;let n={width:t,height:t,depth:1},s=[n,n,n,n,n,n];this.texture=new Nm(s),this._setTextureOptions(i),this.texture.isRenderTargetTexture=!0}fromEquirectangularTexture(t,i){this.texture.type=i.type,this.texture.colorSpace=i.colorSpace,this.texture.generateMipmaps=i.generateMipmaps,this.texture.minFilter=i.minFilter,this.texture.magFilter=i.magFilter;let n={uniforms:{tEquirect:{value:null}},vertexShader:`
|
||
|
||
varying vec3 vWorldDirection;
|
||
|
||
vec3 transformDirection( in vec3 dir, in mat4 matrix ) {
|
||
|
||
return normalize( ( matrix * vec4( dir, 0.0 ) ).xyz );
|
||
|
||
}
|
||
|
||
void main() {
|
||
|
||
vWorldDirection = transformDirection( position, modelMatrix );
|
||
|
||
#include <begin_vertex>
|
||
#include <project_vertex>
|
||
|
||
}
|
||
`,fragmentShader:`
|
||
|
||
uniform sampler2D tEquirect;
|
||
|
||
varying vec3 vWorldDirection;
|
||
|
||
#include <common>
|
||
|
||
void main() {
|
||
|
||
vec3 direction = normalize( vWorldDirection );
|
||
|
||
vec2 sampleUV = equirectUv( direction );
|
||
|
||
gl_FragColor = texture2D( tEquirect, sampleUV );
|
||
|
||
}
|
||
`},s=new pr(5,5,5),o=new Kl({name:"CubemapFromEquirect",uniforms:PC(n.uniforms),vertexShader:n.vertexShader,fragmentShader:n.fragmentShader,side:Js,blending:Na});o.uniforms.tEquirect.value=i;let r=new _i(s,o),l=i.minFilter;return i.minFilter===qc&&(i.minFilter=Us),new AC(1,10,this).update(t,r),i.minFilter=l,r.geometry.dispose(),r.material.dispose(),this}clear(t,i=!0,n=!0,s=!0){let o=t.getRenderTarget();for(let r=0;r<6;r++)t.setRenderTarget(this,r),t.clear(i,n,s);t.setRenderTarget(o)}};function INe(e){let t=new WeakMap,i=new WeakMap,n=null;function s(m,y=!1){return m==null?null:y?r(m):o(m)}function o(m){if(m&&m.isTexture){let y=m.mapping;if(y===rw||y===lw)if(t.has(m)){let T=t.get(m).texture;return l(T,m.mapping)}else{let T=m.image;if(T&&T.height>0){let R=new yG(T.height);return R.fromEquirectangularTexture(e,m),t.set(m,R),m.addEventListener("dispose",h),l(R.texture,m.mapping)}else return null}}return m}function r(m){if(m&&m.isTexture){let y=m.mapping,T=y===rw||y===lw,R=y===Ef||y===VI;if(T||R){let b=i.get(m),A=b!==void 0?b.texture.pmremVersion:0;if(m.isRenderTargetTexture&&m.pmremVersion!==A)return n===null&&(n=new mG(e)),b=T?n.fromEquirectangular(m,b):n.fromCubemap(m,b),b.texture.pmremVersion=m.pmremVersion,i.set(m,b),b.texture;if(b!==void 0)return b.texture;{let O=m.image;return T&&O&&O.height>0||R&&O&&d(O)?(n===null&&(n=new mG(e)),b=T?n.fromEquirectangular(m):n.fromCubemap(m),b.texture.pmremVersion=m.pmremVersion,i.set(m,b),m.addEventListener("dispose",p),b.texture):null}}}return m}function l(m,y){return y===rw?m.mapping=Ef:y===lw&&(m.mapping=VI),m}function d(m){let y=0,T=6;for(let R=0;R<T;R++)m[R]!==void 0&&y++;return y===T}function h(m){let y=m.target;y.removeEventListener("dispose",h);let T=t.get(y);T!==void 0&&(t.delete(y),T.dispose())}function p(m){let y=m.target;y.removeEventListener("dispose",p);let T=i.get(y);T!==void 0&&(i.delete(y),T.dispose())}function I(){t=new WeakMap,i=new WeakMap,n!==null&&(n.dispose(),n=null)}return{get:s,dispose:I}}function mNe(e){let t={};function i(n){if(t[n]!==void 0)return t[n];let s=e.getExtension(n);return t[n]=s,s}return{has:function(n){return i(n)!==null},init:function(){i("EXT_color_buffer_float"),i("WEBGL_clip_cull_distance"),i("OES_texture_float_linear"),i("EXT_color_buffer_half_float"),i("WEBGL_multisampled_render_to_texture"),i("WEBGL_render_shared_exponent")},get:function(n){let s=i(n);return s===null&&Oo("WebGLRenderer: "+n+" extension not supported."),s}}}function yNe(e,t,i,n){let s={},o=new WeakMap;function r(I){let m=I.target;m.index!==null&&t.remove(m.index);for(let T in m.attributes)t.remove(m.attributes[T]);m.removeEventListener("dispose",r),delete s[m.id];let y=o.get(m);y&&(t.remove(y),o.delete(m)),n.releaseStatesOfGeometry(m),m.isInstancedBufferGeometry===!0&&delete m._maxInstanceCount,i.memory.geometries--}function l(I,m){return s[m.id]===!0||(m.addEventListener("dispose",r),s[m.id]=!0,i.memory.geometries++),m}function d(I){let m=I.attributes;for(let y in m)t.update(m[y],e.ARRAY_BUFFER)}function h(I){let m=[],y=I.index,T=I.attributes.position,R=0;if(T===void 0)return;if(y!==null){let O=y.array;R=y.version;for(let P=0,U=O.length;P<U;P+=3){let Z=O[P+0],ne=O[P+1],K=O[P+2];m.push(Z,ne,ne,K,K,Z)}}else{let O=T.array;R=T.version;for(let P=0,U=O.length/3-1;P<U;P+=3){let Z=P+0,ne=P+1,K=P+2;m.push(Z,ne,ne,K,K,Z)}}let b=new(T.count>=65535?Ob:xb)(m,1);b.version=R;let A=o.get(I);A&&t.remove(A),o.set(I,b)}function p(I){let m=o.get(I);if(m){let y=I.index;y!==null&&m.version<y.version&&h(I)}else h(I);return o.get(I)}return{get:l,update:d,getWireframeAttribute:p}}function ENe(e,t,i){let n;function s(I){n=I}let o,r;function l(I){o=I.type,r=I.bytesPerElement}function d(I,m){e.drawElements(n,m,o,I*r),i.update(m,n,1)}function h(I,m,y){y!==0&&(e.drawElementsInstanced(n,m,o,I*r,y),i.update(m,n,y))}function p(I,m,y){if(y===0)return;t.get("WEBGL_multi_draw").multiDrawElementsWEBGL(n,m,0,o,I,0,y);let R=0;for(let b=0;b<y;b++)R+=m[b];i.update(R,n,1)}this.setMode=s,this.setIndex=l,this.render=d,this.renderInstances=h,this.renderMultiDraw=p}function TNe(e){let t={geometries:0,textures:0},i={frame:0,calls:0,triangles:0,points:0,lines:0};function n(o,r,l){switch(i.calls++,r){case e.TRIANGLES:i.triangles+=l*(o/3);break;case e.LINES:i.lines+=l*(o/2);break;case e.LINE_STRIP:i.lines+=l*(o-1);break;case e.LINE_LOOP:i.lines+=l*o;break;case e.POINTS:i.points+=l*o;break;default:yi("WebGLInfo: Unknown draw mode:",r);break}}function s(){i.calls=0,i.triangles=0,i.points=0,i.lines=0}return{memory:t,render:i,programs:null,autoReset:!0,reset:s,update:n}}function gNe(e,t,i){let n=new WeakMap,s=new xn;function o(r,l,d){let h=r.morphTargetInfluences,p=l.morphAttributes.position||l.morphAttributes.normal||l.morphAttributes.color,I=p!==void 0?p.length:0,m=n.get(l);if(m===void 0||m.count!==I){let se=function(){K.dispose(),n.delete(l),l.removeEventListener("dispose",se)};m!==void 0&&m.texture.dispose();let y=l.morphAttributes.position!==void 0,T=l.morphAttributes.normal!==void 0,R=l.morphAttributes.color!==void 0,b=l.morphAttributes.position||[],A=l.morphAttributes.normal||[],O=l.morphAttributes.color||[],P=0;y===!0&&(P=1),T===!0&&(P=2),R===!0&&(P=3);let U=l.attributes.position.count*P,Z=1;U>t.maxTextureSize&&(Z=Math.ceil(U/t.maxTextureSize),U=t.maxTextureSize);let ne=new Float32Array(U*Z*4*I),K=new Yv(ne,U,Z,I);K.type=Ro,K.needsUpdate=!0;let oe=P*4;for(let he=0;he<I;he++){let Re=b[he],ee=A[he],Ae=O[he],Ee=U*Z*4*he;for(let Ce=0;Ce<Re.count;Ce++){let Qe=Ce*oe;y===!0&&(s.fromBufferAttribute(Re,Ce),ne[Ee+Qe+0]=s.x,ne[Ee+Qe+1]=s.y,ne[Ee+Qe+2]=s.z,ne[Ee+Qe+3]=0),T===!0&&(s.fromBufferAttribute(ee,Ce),ne[Ee+Qe+4]=s.x,ne[Ee+Qe+5]=s.y,ne[Ee+Qe+6]=s.z,ne[Ee+Qe+7]=0),R===!0&&(s.fromBufferAttribute(Ae,Ce),ne[Ee+Qe+8]=s.x,ne[Ee+Qe+9]=s.y,ne[Ee+Qe+10]=s.z,ne[Ee+Qe+11]=Ae.itemSize===4?s.w:1)}}m={count:I,texture:K,size:new hi(U,Z)},n.set(l,m),l.addEventListener("dispose",se)}if(r.isInstancedMesh===!0&&r.morphTexture!==null)d.getUniforms().setValue(e,"morphTexture",r.morphTexture,i);else{let y=0;for(let R=0;R<h.length;R++)y+=h[R];let T=l.morphTargetsRelative?1:1-y;d.getUniforms().setValue(e,"morphTargetBaseInfluence",T),d.getUniforms().setValue(e,"morphTargetInfluences",h)}d.getUniforms().setValue(e,"morphTargetsTexture",m.texture,i),d.getUniforms().setValue(e,"morphTargetsTextureSize",m.size)}return{update:o}}function wNe(e,t,i,n,s){let o=new WeakMap;function r(h){let p=s.render.frame,I=h.geometry,m=t.get(h,I);if(o.get(m)!==p&&(t.update(m),o.set(m,p)),h.isInstancedMesh&&(h.hasEventListener("dispose",d)===!1&&h.addEventListener("dispose",d),o.get(h)!==p&&(i.update(h.instanceMatrix,e.ARRAY_BUFFER),h.instanceColor!==null&&i.update(h.instanceColor,e.ARRAY_BUFFER),o.set(h,p))),h.isSkinnedMesh){let y=h.skeleton;o.get(y)!==p&&(y.update(),o.set(y,p))}return m}function l(){o=new WeakMap}function d(h){let p=h.target;p.removeEventListener("dispose",d),n.releaseStatesOfObject(p),i.remove(p.instanceMatrix),p.instanceColor!==null&&i.remove(p.instanceColor)}return{update:r,dispose:l}}var vNe={[zP]:"LINEAR_TONE_MAPPING",[WP]:"REINHARD_TONE_MAPPING",[YP]:"CINEON_TONE_MAPPING",[jP]:"ACES_FILMIC_TONE_MAPPING",[qP]:"AGX_TONE_MAPPING",[$P]:"NEUTRAL_TONE_MAPPING",[YY]:"CUSTOM_TONE_MAPPING"};function RNe(e,t,i,n,s){let o=new ka(t,i,{type:e,depthBuffer:n,stencilBuffer:s,depthTexture:n?new Zl(t,i):void 0}),r=new ka(t,i,{type:sr,depthBuffer:!1,stencilBuffer:!1}),l=new nn;l.setAttribute("position",new ln([-1,3,0,-1,-1,0,3,-1,0],3)),l.setAttribute("uv",new ln([0,2,0,0,2,0],2));let d=new yP({uniforms:{tDiffuse:{value:null}},vertexShader:`
|
||
precision highp float;
|
||
|
||
uniform mat4 modelViewMatrix;
|
||
uniform mat4 projectionMatrix;
|
||
|
||
attribute vec3 position;
|
||
attribute vec2 uv;
|
||
|
||
varying vec2 vUv;
|
||
|
||
void main() {
|
||
vUv = uv;
|
||
gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );
|
||
}`,fragmentShader:`
|
||
precision highp float;
|
||
|
||
uniform sampler2D tDiffuse;
|
||
|
||
varying vec2 vUv;
|
||
|
||
#include <tonemapping_pars_fragment>
|
||
#include <colorspace_pars_fragment>
|
||
|
||
void main() {
|
||
gl_FragColor = texture2D( tDiffuse, vUv );
|
||
|
||
#ifdef LINEAR_TONE_MAPPING
|
||
gl_FragColor.rgb = LinearToneMapping( gl_FragColor.rgb );
|
||
#elif defined( REINHARD_TONE_MAPPING )
|
||
gl_FragColor.rgb = ReinhardToneMapping( gl_FragColor.rgb );
|
||
#elif defined( CINEON_TONE_MAPPING )
|
||
gl_FragColor.rgb = CineonToneMapping( gl_FragColor.rgb );
|
||
#elif defined( ACES_FILMIC_TONE_MAPPING )
|
||
gl_FragColor.rgb = ACESFilmicToneMapping( gl_FragColor.rgb );
|
||
#elif defined( AGX_TONE_MAPPING )
|
||
gl_FragColor.rgb = AgXToneMapping( gl_FragColor.rgb );
|
||
#elif defined( NEUTRAL_TONE_MAPPING )
|
||
gl_FragColor.rgb = NeutralToneMapping( gl_FragColor.rgb );
|
||
#elif defined( CUSTOM_TONE_MAPPING )
|
||
gl_FragColor.rgb = CustomToneMapping( gl_FragColor.rgb );
|
||
#endif
|
||
|
||
#ifdef SRGB_TRANSFER
|
||
gl_FragColor = sRGBTransferOETF( gl_FragColor );
|
||
#endif
|
||
}`,depthTest:!1,depthWrite:!1}),h=new _i(l,d),p=new ba(-1,1,1,-1,0,1),I=null,m=null,y=!1,T,R=null,b=[],A=!1;this.setSize=function(O,P){o.setSize(O,P),r.setSize(O,P);for(let U=0;U<b.length;U++){let Z=b[U];Z.setSize&&Z.setSize(O,P)}},this.setEffects=function(O){b=O,A=b.length>0&&b[0].isRenderPass===!0;let P=o.width,U=o.height;for(let Z=0;Z<b.length;Z++){let ne=b[Z];ne.setSize&&ne.setSize(P,U)}},this.begin=function(O,P){if(y||O.toneMapping===_c&&b.length===0)return!1;if(R=P,P!==null){let U=P.width,Z=P.height;(o.width!==U||o.height!==Z)&&this.setSize(U,Z)}return A===!1&&O.setRenderTarget(o),T=O.toneMapping,O.toneMapping=_c,!0},this.hasRenderPass=function(){return A},this.end=function(O,P){O.toneMapping=T,y=!0;let U=o,Z=r;for(let ne=0;ne<b.length;ne++){let K=b[ne];if(K.enabled!==!1&&(K.render(O,Z,U,P),K.needsSwap!==!1)){let oe=U;U=Z,Z=oe}}if(I!==O.outputColorSpace||m!==O.toneMapping){I=O.outputColorSpace,m=O.toneMapping,d.defines={},Hn.getTransfer(I)===pn&&(d.defines.SRGB_TRANSFER="");let ne=vNe[m];ne&&(d.defines[ne]=""),d.needsUpdate=!0}d.uniforms.tDiffuse.value=U.texture,O.setRenderTarget(R),O.render(h,p),R=null,y=!1},this.isCompositing=function(){return y},this.dispose=function(){o.depthTexture&&o.depthTexture.dispose(),o.dispose(),r.dispose(),l.dispose(),d.dispose()}}var ipe=new wr,Vte=new Zl(1,1),npe=new Yv,spe=new sC,ope=new Nm,Ffe=[],Ufe=[],Hfe=new Float32Array(16),Gfe=new Float32Array(9),Vfe=new Float32Array(4);function o7(e,t,i){let n=e[0];if(n<=0||n>0)return e;let s=t*i,o=Ffe[s];if(o===void 0&&(o=new Float32Array(s),Ffe[s]=o),t!==0){n.toArray(o,0);for(let r=1,l=0;r!==t;++r)l+=i,e[r].toArray(o,l)}return o}function Zc(e,t){if(e.length!==t.length)return!1;for(let i=0,n=e.length;i<n;i++)if(e[i]!==t[i])return!1;return!0}function Kc(e,t){for(let i=0,n=t.length;i<n;i++)e[i]=t[i]}function hj(e,t){let i=Ufe[t];i===void 0&&(i=new Int32Array(t),Ufe[t]=i);for(let n=0;n!==t;++n)i[n]=e.allocateTextureUnit();return i}function SNe(e,t){let i=this.cache;i[0]!==t&&(e.uniform1f(this.addr,t),i[0]=t)}function ANe(e,t){let i=this.cache;if(t.x!==void 0)(i[0]!==t.x||i[1]!==t.y)&&(e.uniform2f(this.addr,t.x,t.y),i[0]=t.x,i[1]=t.y);else{if(Zc(i,t))return;e.uniform2fv(this.addr,t),Kc(i,t)}}function bNe(e,t){let i=this.cache;if(t.x!==void 0)(i[0]!==t.x||i[1]!==t.y||i[2]!==t.z)&&(e.uniform3f(this.addr,t.x,t.y,t.z),i[0]=t.x,i[1]=t.y,i[2]=t.z);else if(t.r!==void 0)(i[0]!==t.r||i[1]!==t.g||i[2]!==t.b)&&(e.uniform3f(this.addr,t.r,t.g,t.b),i[0]=t.r,i[1]=t.g,i[2]=t.b);else{if(Zc(i,t))return;e.uniform3fv(this.addr,t),Kc(i,t)}}function NNe(e,t){let i=this.cache;if(t.x!==void 0)(i[0]!==t.x||i[1]!==t.y||i[2]!==t.z||i[3]!==t.w)&&(e.uniform4f(this.addr,t.x,t.y,t.z,t.w),i[0]=t.x,i[1]=t.y,i[2]=t.z,i[3]=t.w);else{if(Zc(i,t))return;e.uniform4fv(this.addr,t),Kc(i,t)}}function _Ne(e,t){let i=this.cache,n=t.elements;if(n===void 0){if(Zc(i,t))return;e.uniformMatrix2fv(this.addr,!1,t),Kc(i,t)}else{if(Zc(i,n))return;Vfe.set(n),e.uniformMatrix2fv(this.addr,!1,Vfe),Kc(i,n)}}function DNe(e,t){let i=this.cache,n=t.elements;if(n===void 0){if(Zc(i,t))return;e.uniformMatrix3fv(this.addr,!1,t),Kc(i,t)}else{if(Zc(i,n))return;Gfe.set(n),e.uniformMatrix3fv(this.addr,!1,Gfe),Kc(i,n)}}function CNe(e,t){let i=this.cache,n=t.elements;if(n===void 0){if(Zc(i,t))return;e.uniformMatrix4fv(this.addr,!1,t),Kc(i,t)}else{if(Zc(i,n))return;Hfe.set(n),e.uniformMatrix4fv(this.addr,!1,Hfe),Kc(i,n)}}function xNe(e,t){let i=this.cache;i[0]!==t&&(e.uniform1i(this.addr,t),i[0]=t)}function ONe(e,t){let i=this.cache;if(t.x!==void 0)(i[0]!==t.x||i[1]!==t.y)&&(e.uniform2i(this.addr,t.x,t.y),i[0]=t.x,i[1]=t.y);else{if(Zc(i,t))return;e.uniform2iv(this.addr,t),Kc(i,t)}}function LNe(e,t){let i=this.cache;if(t.x!==void 0)(i[0]!==t.x||i[1]!==t.y||i[2]!==t.z)&&(e.uniform3i(this.addr,t.x,t.y,t.z),i[0]=t.x,i[1]=t.y,i[2]=t.z);else{if(Zc(i,t))return;e.uniform3iv(this.addr,t),Kc(i,t)}}function PNe(e,t){let i=this.cache;if(t.x!==void 0)(i[0]!==t.x||i[1]!==t.y||i[2]!==t.z||i[3]!==t.w)&&(e.uniform4i(this.addr,t.x,t.y,t.z,t.w),i[0]=t.x,i[1]=t.y,i[2]=t.z,i[3]=t.w);else{if(Zc(i,t))return;e.uniform4iv(this.addr,t),Kc(i,t)}}function MNe(e,t){let i=this.cache;i[0]!==t&&(e.uniform1ui(this.addr,t),i[0]=t)}function BNe(e,t){let i=this.cache;if(t.x!==void 0)(i[0]!==t.x||i[1]!==t.y)&&(e.uniform2ui(this.addr,t.x,t.y),i[0]=t.x,i[1]=t.y);else{if(Zc(i,t))return;e.uniform2uiv(this.addr,t),Kc(i,t)}}function FNe(e,t){let i=this.cache;if(t.x!==void 0)(i[0]!==t.x||i[1]!==t.y||i[2]!==t.z)&&(e.uniform3ui(this.addr,t.x,t.y,t.z),i[0]=t.x,i[1]=t.y,i[2]=t.z);else{if(Zc(i,t))return;e.uniform3uiv(this.addr,t),Kc(i,t)}}function UNe(e,t){let i=this.cache;if(t.x!==void 0)(i[0]!==t.x||i[1]!==t.y||i[2]!==t.z||i[3]!==t.w)&&(e.uniform4ui(this.addr,t.x,t.y,t.z,t.w),i[0]=t.x,i[1]=t.y,i[2]=t.z,i[3]=t.w);else{if(Zc(i,t))return;e.uniform4uiv(this.addr,t),Kc(i,t)}}function HNe(e,t,i){let n=this.cache,s=i.allocateTextureUnit();n[0]!==s&&(e.uniform1i(this.addr,s),n[0]=s);let o;this.type===e.SAMPLER_2D_SHADOW?(Vte.compareFunction=i.isReversedDepthBuffer()?Ty:jT,o=Vte):o=ipe,i.setTexture2D(t||o,s)}function GNe(e,t,i){let n=this.cache,s=i.allocateTextureUnit();n[0]!==s&&(e.uniform1i(this.addr,s),n[0]=s),i.setTexture3D(t||spe,s)}function VNe(e,t,i){let n=this.cache,s=i.allocateTextureUnit();n[0]!==s&&(e.uniform1i(this.addr,s),n[0]=s),i.setTextureCube(t||ope,s)}function kNe(e,t,i){let n=this.cache,s=i.allocateTextureUnit();n[0]!==s&&(e.uniform1i(this.addr,s),n[0]=s),i.setTexture2DArray(t||npe,s)}function zNe(e){switch(e){case 5126:return SNe;case 35664:return ANe;case 35665:return bNe;case 35666:return NNe;case 35674:return _Ne;case 35675:return DNe;case 35676:return CNe;case 5124:case 35670:return xNe;case 35667:case 35671:return ONe;case 35668:case 35672:return LNe;case 35669:case 35673:return PNe;case 5125:return MNe;case 36294:return BNe;case 36295:return FNe;case 36296:return UNe;case 35678:case 36198:case 36298:case 36306:case 35682:return HNe;case 35679:case 36299:case 36307:return GNe;case 35680:case 36300:case 36308:case 36293:return VNe;case 36289:case 36303:case 36311:case 36292:return kNe}}function WNe(e,t){e.uniform1fv(this.addr,t)}function YNe(e,t){let i=o7(t,this.size,2);e.uniform2fv(this.addr,i)}function jNe(e,t){let i=o7(t,this.size,3);e.uniform3fv(this.addr,i)}function qNe(e,t){let i=o7(t,this.size,4);e.uniform4fv(this.addr,i)}function $Ne(e,t){let i=o7(t,this.size,4);e.uniformMatrix2fv(this.addr,!1,i)}function ZNe(e,t){let i=o7(t,this.size,9);e.uniformMatrix3fv(this.addr,!1,i)}function KNe(e,t){let i=o7(t,this.size,16);e.uniformMatrix4fv(this.addr,!1,i)}function QNe(e,t){e.uniform1iv(this.addr,t)}function JNe(e,t){e.uniform2iv(this.addr,t)}function XNe(e,t){e.uniform3iv(this.addr,t)}function e_e(e,t){e.uniform4iv(this.addr,t)}function t_e(e,t){e.uniform1uiv(this.addr,t)}function i_e(e,t){e.uniform2uiv(this.addr,t)}function n_e(e,t){e.uniform3uiv(this.addr,t)}function s_e(e,t){e.uniform4uiv(this.addr,t)}function o_e(e,t,i){let n=this.cache,s=t.length,o=hj(i,s);Zc(n,o)||(e.uniform1iv(this.addr,o),Kc(n,o));let r;this.type===e.SAMPLER_2D_SHADOW?r=Vte:r=ipe;for(let l=0;l!==s;++l)i.setTexture2D(t[l]||r,o[l])}function r_e(e,t,i){let n=this.cache,s=t.length,o=hj(i,s);Zc(n,o)||(e.uniform1iv(this.addr,o),Kc(n,o));for(let r=0;r!==s;++r)i.setTexture3D(t[r]||spe,o[r])}function l_e(e,t,i){let n=this.cache,s=t.length,o=hj(i,s);Zc(n,o)||(e.uniform1iv(this.addr,o),Kc(n,o));for(let r=0;r!==s;++r)i.setTextureCube(t[r]||ope,o[r])}function a_e(e,t,i){let n=this.cache,s=t.length,o=hj(i,s);Zc(n,o)||(e.uniform1iv(this.addr,o),Kc(n,o));for(let r=0;r!==s;++r)i.setTexture2DArray(t[r]||npe,o[r])}function u_e(e){switch(e){case 5126:return WNe;case 35664:return YNe;case 35665:return jNe;case 35666:return qNe;case 35674:return $Ne;case 35675:return ZNe;case 35676:return KNe;case 5124:case 35670:return QNe;case 35667:case 35671:return JNe;case 35668:case 35672:return XNe;case 35669:case 35673:return e_e;case 5125:return t_e;case 36294:return i_e;case 36295:return n_e;case 36296:return s_e;case 35678:case 36198:case 36298:case 36306:case 35682:return o_e;case 35679:case 36299:case 36307:return r_e;case 35680:case 36300:case 36308:case 36293:return l_e;case 36289:case 36303:case 36311:case 36292:return a_e}}var kte=class{constructor(t,i,n){this.id=t,this.addr=n,this.cache=[],this.type=i.type,this.setValue=zNe(i.type)}},zte=class{constructor(t,i,n){this.id=t,this.addr=n,this.cache=[],this.type=i.type,this.size=i.size,this.setValue=u_e(i.type)}},Wte=class{constructor(t){this.id=t,this.seq=[],this.map={}}setValue(t,i,n){let s=this.seq;for(let o=0,r=s.length;o!==r;++o){let l=s[o];l.setValue(t,i[l.id],n)}}},Hte=/(\w+)(\])?(\[|\.)?/g;function kfe(e,t){e.seq.push(t),e.map[t.id]=t}function c_e(e,t,i){let n=e.name,s=n.length;for(Hte.lastIndex=0;;){let o=Hte.exec(n),r=Hte.lastIndex,l=o[1],d=o[2]==="]",h=o[3];if(d&&(l=l|0),h===void 0||h==="["&&r+2===s){kfe(i,h===void 0?new kte(l,e,t):new zte(l,e,t));break}else{let I=i.map[l];I===void 0&&(I=new Wte(l),kfe(i,I)),i=I}}}var n7=class{constructor(t,i){this.seq=[],this.map={};let n=t.getProgramParameter(i,t.ACTIVE_UNIFORMS);for(let r=0;r<n;++r){let l=t.getActiveUniform(i,r),d=t.getUniformLocation(i,l.name);c_e(l,d,this)}let s=[],o=[];for(let r of this.seq)r.type===t.SAMPLER_2D_SHADOW||r.type===t.SAMPLER_CUBE_SHADOW||r.type===t.SAMPLER_2D_ARRAY_SHADOW?s.push(r):o.push(r);s.length>0&&(this.seq=s.concat(o))}setValue(t,i,n,s){let o=this.map[i];o!==void 0&&o.setValue(t,n,s)}setOptional(t,i,n){let s=i[n];s!==void 0&&this.setValue(t,n,s)}static upload(t,i,n,s){for(let o=0,r=i.length;o!==r;++o){let l=i[o],d=n[l.id];d.needsUpdate!==!1&&l.setValue(t,d.value,s)}}static seqWithValue(t,i){let n=[];for(let s=0,o=t.length;s!==o;++s){let r=t[s];r.id in i&&n.push(r)}return n}};function zfe(e,t,i){let n=e.createShader(t);return e.shaderSource(n,i),e.compileShader(n),n}var d_e=37297,h_e=0;function f_e(e,t){let i=e.split(`
|
||
`),n=[],s=Math.max(t-6,0),o=Math.min(t+6,i.length);for(let r=s;r<o;r++){let l=r+1;n.push(`${l===t?">":" "} ${l}: ${i[r]}`)}return n.join(`
|
||
`)}var Wfe=new Qn;function p_e(e){Hn._getMatrix(Wfe,Hn.workingColorSpace,e);let t=`mat3( ${Wfe.elements.map(i=>i.toFixed(4))} )`;switch(Hn.getTransfer(e)){case zv:return[t,"LinearTransferOETF"];case pn:return[t,"sRGBTransferOETF"];default:return ci("WebGLProgram: Unsupported color space: ",e),[t,"LinearTransferOETF"]}}function Yfe(e,t,i){let n=e.getShaderParameter(t,e.COMPILE_STATUS),o=(e.getShaderInfoLog(t)||"").trim();if(n&&o==="")return"";let r=/ERROR: 0:(\d+)/.exec(o);if(r){let l=parseInt(r[1]);return i.toUpperCase()+`
|
||
|
||
`+o+`
|
||
|
||
`+f_e(e.getShaderSource(t),l)}else return o}function I_e(e,t){let i=p_e(t);return[`vec4 ${e}( vec4 value ) {`,` return ${i[1]}( vec4( value.rgb * ${i[0]}, value.a ) );`,"}"].join(`
|
||
`)}var m_e={[zP]:"Linear",[WP]:"Reinhard",[YP]:"Cineon",[jP]:"ACESFilmic",[qP]:"AgX",[$P]:"Neutral",[YY]:"Custom"};function y_e(e,t){let i=m_e[t];return i===void 0?(ci("WebGLProgram: Unsupported toneMapping:",t),"vec3 "+e+"( vec3 color ) { return LinearToneMapping( color ); }"):"vec3 "+e+"( vec3 color ) { return "+i+"ToneMapping( color ); }"}var cj=new ye;function E_e(){Hn.getLuminanceCoefficients(cj);let e=cj.x.toFixed(4),t=cj.y.toFixed(4),i=cj.z.toFixed(4);return["float luminance( const in vec3 rgb ) {",` const vec3 weights = vec3( ${e}, ${t}, ${i} );`," return dot( weights, rgb );","}"].join(`
|
||
`)}function T_e(e){return[e.extensionClipCullDistance?"#extension GL_ANGLE_clip_cull_distance : require":"",e.extensionMultiDraw?"#extension GL_ANGLE_multi_draw : require":""].filter(IG).join(`
|
||
`)}function g_e(e){let t=[];for(let i in e){let n=e[i];n!==!1&&t.push("#define "+i+" "+n)}return t.join(`
|
||
`)}function w_e(e,t){let i={},n=e.getProgramParameter(t,e.ACTIVE_ATTRIBUTES);for(let s=0;s<n;s++){let o=e.getActiveAttrib(t,s),r=o.name,l=1;o.type===e.FLOAT_MAT2&&(l=2),o.type===e.FLOAT_MAT3&&(l=3),o.type===e.FLOAT_MAT4&&(l=4),i[r]={type:o.type,location:e.getAttribLocation(t,r),locationSize:l}}return i}function IG(e){return e!==""}function jfe(e,t){let i=t.numSpotLightShadows+t.numSpotLightMaps-t.numSpotLightShadowsWithMaps;return e.replace(/NUM_DIR_LIGHTS/g,t.numDirLights).replace(/NUM_SPOT_LIGHTS/g,t.numSpotLights).replace(/NUM_SPOT_LIGHT_MAPS/g,t.numSpotLightMaps).replace(/NUM_SPOT_LIGHT_COORDS/g,i).replace(/NUM_RECT_AREA_LIGHTS/g,t.numRectAreaLights).replace(/NUM_POINT_LIGHTS/g,t.numPointLights).replace(/NUM_HEMI_LIGHTS/g,t.numHemiLights).replace(/NUM_DIR_LIGHT_SHADOWS/g,t.numDirLightShadows).replace(/NUM_SPOT_LIGHT_SHADOWS_WITH_MAPS/g,t.numSpotLightShadowsWithMaps).replace(/NUM_SPOT_LIGHT_SHADOWS/g,t.numSpotLightShadows).replace(/NUM_POINT_LIGHT_SHADOWS/g,t.numPointLightShadows)}function qfe(e,t){return e.replace(/NUM_CLIPPING_PLANES/g,t.numClippingPlanes).replace(/UNION_CLIPPING_PLANES/g,t.numClippingPlanes-t.numClipIntersection)}var v_e=/^[ \t]*#include +<([\w\d./]+)>/gm;function Yte(e){return e.replace(v_e,S_e)}var R_e=new Map;function S_e(e,t){let i=Ps[t];if(i===void 0){let n=R_e.get(t);if(n!==void 0)i=Ps[n],ci('WebGLRenderer: Shader chunk "%s" has been deprecated. Use "%s" instead.',t,n);else throw new Error("Can not resolve #include <"+t+">")}return Yte(i)}var A_e=/#pragma unroll_loop_start\s+for\s*\(\s*int\s+i\s*=\s*(\d+)\s*;\s*i\s*<\s*(\d+)\s*;\s*i\s*\+\+\s*\)\s*{([\s\S]+?)}\s+#pragma unroll_loop_end/g;function $fe(e){return e.replace(A_e,b_e)}function b_e(e,t,i,n){let s="";for(let o=parseInt(t);o<parseInt(i);o++)s+=n.replace(/\[\s*i\s*\]/g,"[ "+o+" ]").replace(/UNROLLED_LOOP_INDEX/g,o);return s}function Zfe(e){let t=`precision ${e.precision} float;
|
||
precision ${e.precision} int;
|
||
precision ${e.precision} sampler2D;
|
||
precision ${e.precision} samplerCube;
|
||
precision ${e.precision} sampler3D;
|
||
precision ${e.precision} sampler2DArray;
|
||
precision ${e.precision} sampler2DShadow;
|
||
precision ${e.precision} samplerCubeShadow;
|
||
precision ${e.precision} sampler2DArrayShadow;
|
||
precision ${e.precision} isampler2D;
|
||
precision ${e.precision} isampler3D;
|
||
precision ${e.precision} isamplerCube;
|
||
precision ${e.precision} isampler2DArray;
|
||
precision ${e.precision} usampler2D;
|
||
precision ${e.precision} usampler3D;
|
||
precision ${e.precision} usamplerCube;
|
||
precision ${e.precision} usampler2DArray;
|
||
`;return e.precision==="highp"?t+=`
|
||
#define HIGH_PRECISION`:e.precision==="mediump"?t+=`
|
||
#define MEDIUM_PRECISION`:e.precision==="lowp"&&(t+=`
|
||
#define LOW_PRECISION`),t}var N_e={[eR]:"SHADOWMAP_TYPE_PCF",[xm]:"SHADOWMAP_TYPE_VSM"};function __e(e){return N_e[e.shadowMapType]||"SHADOWMAP_TYPE_BASIC"}var D_e={[Ef]:"ENVMAP_TYPE_CUBE",[VI]:"ENVMAP_TYPE_CUBE",[BT]:"ENVMAP_TYPE_CUBE_UV"};function C_e(e){return e.envMap===!1?"ENVMAP_TYPE_CUBE":D_e[e.envMapMode]||"ENVMAP_TYPE_CUBE"}var x_e={[VI]:"ENVMAP_MODE_REFRACTION"};function O_e(e){return e.envMap===!1?"ENVMAP_MODE_REFLECTION":x_e[e.envMapMode]||"ENVMAP_MODE_REFLECTION"}var L_e={[zb]:"ENVMAP_BLENDING_MULTIPLY",[nG]:"ENVMAP_BLENDING_MIX",[sG]:"ENVMAP_BLENDING_ADD"};function P_e(e){return e.envMap===!1?"ENVMAP_BLENDING_NONE":L_e[e.combine]||"ENVMAP_BLENDING_NONE"}function M_e(e){let t=e.envMapCubeUVHeight;if(t===null)return null;let i=Math.log2(t)-2,n=1/t;return{texelWidth:1/(3*Math.max(Math.pow(2,i),112)),texelHeight:n,maxMip:i}}function B_e(e,t,i,n){let s=e.getContext(),o=i.defines,r=i.vertexShader,l=i.fragmentShader,d=__e(i),h=C_e(i),p=O_e(i),I=P_e(i),m=M_e(i),y=T_e(i),T=g_e(o),R=s.createProgram(),b,A,O=i.glslVersion?"#version "+i.glslVersion+`
|
||
`:"";i.isRawShaderMaterial?(b=["#define SHADER_TYPE "+i.shaderType,"#define SHADER_NAME "+i.shaderName,T].filter(IG).join(`
|
||
`),b.length>0&&(b+=`
|
||
`),A=["#define SHADER_TYPE "+i.shaderType,"#define SHADER_NAME "+i.shaderName,T].filter(IG).join(`
|
||
`),A.length>0&&(A+=`
|
||
`)):(b=[Zfe(i),"#define SHADER_TYPE "+i.shaderType,"#define SHADER_NAME "+i.shaderName,T,i.extensionClipCullDistance?"#define USE_CLIP_DISTANCE":"",i.batching?"#define USE_BATCHING":"",i.batchingColor?"#define USE_BATCHING_COLOR":"",i.instancing?"#define USE_INSTANCING":"",i.instancingColor?"#define USE_INSTANCING_COLOR":"",i.instancingMorph?"#define USE_INSTANCING_MORPH":"",i.useFog&&i.fog?"#define USE_FOG":"",i.useFog&&i.fogExp2?"#define FOG_EXP2":"",i.map?"#define USE_MAP":"",i.envMap?"#define USE_ENVMAP":"",i.envMap?"#define "+p:"",i.lightMap?"#define USE_LIGHTMAP":"",i.aoMap?"#define USE_AOMAP":"",i.bumpMap?"#define USE_BUMPMAP":"",i.normalMap?"#define USE_NORMALMAP":"",i.normalMapObjectSpace?"#define USE_NORMALMAP_OBJECTSPACE":"",i.normalMapTangentSpace?"#define USE_NORMALMAP_TANGENTSPACE":"",i.displacementMap?"#define USE_DISPLACEMENTMAP":"",i.emissiveMap?"#define USE_EMISSIVEMAP":"",i.anisotropy?"#define USE_ANISOTROPY":"",i.anisotropyMap?"#define USE_ANISOTROPYMAP":"",i.clearcoatMap?"#define USE_CLEARCOATMAP":"",i.clearcoatRoughnessMap?"#define USE_CLEARCOAT_ROUGHNESSMAP":"",i.clearcoatNormalMap?"#define USE_CLEARCOAT_NORMALMAP":"",i.iridescenceMap?"#define USE_IRIDESCENCEMAP":"",i.iridescenceThicknessMap?"#define USE_IRIDESCENCE_THICKNESSMAP":"",i.specularMap?"#define USE_SPECULARMAP":"",i.specularColorMap?"#define USE_SPECULAR_COLORMAP":"",i.specularIntensityMap?"#define USE_SPECULAR_INTENSITYMAP":"",i.roughnessMap?"#define USE_ROUGHNESSMAP":"",i.metalnessMap?"#define USE_METALNESSMAP":"",i.alphaMap?"#define USE_ALPHAMAP":"",i.alphaHash?"#define USE_ALPHAHASH":"",i.transmission?"#define USE_TRANSMISSION":"",i.transmissionMap?"#define USE_TRANSMISSIONMAP":"",i.thicknessMap?"#define USE_THICKNESSMAP":"",i.sheenColorMap?"#define USE_SHEEN_COLORMAP":"",i.sheenRoughnessMap?"#define USE_SHEEN_ROUGHNESSMAP":"",i.mapUv?"#define MAP_UV "+i.mapUv:"",i.alphaMapUv?"#define ALPHAMAP_UV "+i.alphaMapUv:"",i.lightMapUv?"#define LIGHTMAP_UV "+i.lightMapUv:"",i.aoMapUv?"#define AOMAP_UV "+i.aoMapUv:"",i.emissiveMapUv?"#define EMISSIVEMAP_UV "+i.emissiveMapUv:"",i.bumpMapUv?"#define BUMPMAP_UV "+i.bumpMapUv:"",i.normalMapUv?"#define NORMALMAP_UV "+i.normalMapUv:"",i.displacementMapUv?"#define DISPLACEMENTMAP_UV "+i.displacementMapUv:"",i.metalnessMapUv?"#define METALNESSMAP_UV "+i.metalnessMapUv:"",i.roughnessMapUv?"#define ROUGHNESSMAP_UV "+i.roughnessMapUv:"",i.anisotropyMapUv?"#define ANISOTROPYMAP_UV "+i.anisotropyMapUv:"",i.clearcoatMapUv?"#define CLEARCOATMAP_UV "+i.clearcoatMapUv:"",i.clearcoatNormalMapUv?"#define CLEARCOAT_NORMALMAP_UV "+i.clearcoatNormalMapUv:"",i.clearcoatRoughnessMapUv?"#define CLEARCOAT_ROUGHNESSMAP_UV "+i.clearcoatRoughnessMapUv:"",i.iridescenceMapUv?"#define IRIDESCENCEMAP_UV "+i.iridescenceMapUv:"",i.iridescenceThicknessMapUv?"#define IRIDESCENCE_THICKNESSMAP_UV "+i.iridescenceThicknessMapUv:"",i.sheenColorMapUv?"#define SHEEN_COLORMAP_UV "+i.sheenColorMapUv:"",i.sheenRoughnessMapUv?"#define SHEEN_ROUGHNESSMAP_UV "+i.sheenRoughnessMapUv:"",i.specularMapUv?"#define SPECULARMAP_UV "+i.specularMapUv:"",i.specularColorMapUv?"#define SPECULAR_COLORMAP_UV "+i.specularColorMapUv:"",i.specularIntensityMapUv?"#define SPECULAR_INTENSITYMAP_UV "+i.specularIntensityMapUv:"",i.transmissionMapUv?"#define TRANSMISSIONMAP_UV "+i.transmissionMapUv:"",i.thicknessMapUv?"#define THICKNESSMAP_UV "+i.thicknessMapUv:"",i.vertexTangents&&i.flatShading===!1?"#define USE_TANGENT":"",i.vertexNormals?"#define HAS_NORMAL":"",i.vertexColors?"#define USE_COLOR":"",i.vertexAlphas?"#define USE_COLOR_ALPHA":"",i.vertexUv1s?"#define USE_UV1":"",i.vertexUv2s?"#define USE_UV2":"",i.vertexUv3s?"#define USE_UV3":"",i.pointsUvs?"#define USE_POINTS_UV":"",i.flatShading?"#define FLAT_SHADED":"",i.skinning?"#define USE_SKINNING":"",i.morphTargets?"#define USE_MORPHTARGETS":"",i.morphNormals&&i.flatShading===!1?"#define USE_MORPHNORMALS":"",i.morphColors?"#define USE_MORPHCOLORS":"",i.morphTargetsCount>0?"#define MORPHTARGETS_TEXTURE_STRIDE "+i.morphTextureStride:"",i.morphTargetsCount>0?"#define MORPHTARGETS_COUNT "+i.morphTargetsCount:"",i.doubleSided?"#define DOUBLE_SIDED":"",i.flipSided?"#define FLIP_SIDED":"",i.shadowMapEnabled?"#define USE_SHADOWMAP":"",i.shadowMapEnabled?"#define "+d:"",i.sizeAttenuation?"#define USE_SIZEATTENUATION":"",i.numLightProbes>0?"#define USE_LIGHT_PROBES":"",i.logarithmicDepthBuffer?"#define USE_LOGARITHMIC_DEPTH_BUFFER":"",i.reversedDepthBuffer?"#define USE_REVERSED_DEPTH_BUFFER":"","uniform mat4 modelMatrix;","uniform mat4 modelViewMatrix;","uniform mat4 projectionMatrix;","uniform mat4 viewMatrix;","uniform mat3 normalMatrix;","uniform vec3 cameraPosition;","uniform bool isOrthographic;","#ifdef USE_INSTANCING"," attribute mat4 instanceMatrix;","#endif","#ifdef USE_INSTANCING_COLOR"," attribute vec3 instanceColor;","#endif","#ifdef USE_INSTANCING_MORPH"," uniform sampler2D morphTexture;","#endif","attribute vec3 position;","attribute vec3 normal;","attribute vec2 uv;","#ifdef USE_UV1"," attribute vec2 uv1;","#endif","#ifdef USE_UV2"," attribute vec2 uv2;","#endif","#ifdef USE_UV3"," attribute vec2 uv3;","#endif","#ifdef USE_TANGENT"," attribute vec4 tangent;","#endif","#if defined( USE_COLOR_ALPHA )"," attribute vec4 color;","#elif defined( USE_COLOR )"," attribute vec3 color;","#endif","#ifdef USE_SKINNING"," attribute vec4 skinIndex;"," attribute vec4 skinWeight;","#endif",`
|
||
`].filter(IG).join(`
|
||
`),A=[Zfe(i),"#define SHADER_TYPE "+i.shaderType,"#define SHADER_NAME "+i.shaderName,T,i.useFog&&i.fog?"#define USE_FOG":"",i.useFog&&i.fogExp2?"#define FOG_EXP2":"",i.alphaToCoverage?"#define ALPHA_TO_COVERAGE":"",i.map?"#define USE_MAP":"",i.matcap?"#define USE_MATCAP":"",i.envMap?"#define USE_ENVMAP":"",i.envMap?"#define "+h:"",i.envMap?"#define "+p:"",i.envMap?"#define "+I:"",m?"#define CUBEUV_TEXEL_WIDTH "+m.texelWidth:"",m?"#define CUBEUV_TEXEL_HEIGHT "+m.texelHeight:"",m?"#define CUBEUV_MAX_MIP "+m.maxMip+".0":"",i.lightMap?"#define USE_LIGHTMAP":"",i.aoMap?"#define USE_AOMAP":"",i.bumpMap?"#define USE_BUMPMAP":"",i.normalMap?"#define USE_NORMALMAP":"",i.normalMapObjectSpace?"#define USE_NORMALMAP_OBJECTSPACE":"",i.normalMapTangentSpace?"#define USE_NORMALMAP_TANGENTSPACE":"",i.packedNormalMap?"#define USE_PACKED_NORMALMAP":"",i.emissiveMap?"#define USE_EMISSIVEMAP":"",i.anisotropy?"#define USE_ANISOTROPY":"",i.anisotropyMap?"#define USE_ANISOTROPYMAP":"",i.clearcoat?"#define USE_CLEARCOAT":"",i.clearcoatMap?"#define USE_CLEARCOATMAP":"",i.clearcoatRoughnessMap?"#define USE_CLEARCOAT_ROUGHNESSMAP":"",i.clearcoatNormalMap?"#define USE_CLEARCOAT_NORMALMAP":"",i.dispersion?"#define USE_DISPERSION":"",i.iridescence?"#define USE_IRIDESCENCE":"",i.iridescenceMap?"#define USE_IRIDESCENCEMAP":"",i.iridescenceThicknessMap?"#define USE_IRIDESCENCE_THICKNESSMAP":"",i.specularMap?"#define USE_SPECULARMAP":"",i.specularColorMap?"#define USE_SPECULAR_COLORMAP":"",i.specularIntensityMap?"#define USE_SPECULAR_INTENSITYMAP":"",i.roughnessMap?"#define USE_ROUGHNESSMAP":"",i.metalnessMap?"#define USE_METALNESSMAP":"",i.alphaMap?"#define USE_ALPHAMAP":"",i.alphaTest?"#define USE_ALPHATEST":"",i.alphaHash?"#define USE_ALPHAHASH":"",i.sheen?"#define USE_SHEEN":"",i.sheenColorMap?"#define USE_SHEEN_COLORMAP":"",i.sheenRoughnessMap?"#define USE_SHEEN_ROUGHNESSMAP":"",i.transmission?"#define USE_TRANSMISSION":"",i.transmissionMap?"#define USE_TRANSMISSIONMAP":"",i.thicknessMap?"#define USE_THICKNESSMAP":"",i.vertexTangents&&i.flatShading===!1?"#define USE_TANGENT":"",i.vertexColors||i.instancingColor?"#define USE_COLOR":"",i.vertexAlphas||i.batchingColor?"#define USE_COLOR_ALPHA":"",i.vertexUv1s?"#define USE_UV1":"",i.vertexUv2s?"#define USE_UV2":"",i.vertexUv3s?"#define USE_UV3":"",i.pointsUvs?"#define USE_POINTS_UV":"",i.gradientMap?"#define USE_GRADIENTMAP":"",i.flatShading?"#define FLAT_SHADED":"",i.doubleSided?"#define DOUBLE_SIDED":"",i.flipSided?"#define FLIP_SIDED":"",i.shadowMapEnabled?"#define USE_SHADOWMAP":"",i.shadowMapEnabled?"#define "+d:"",i.premultipliedAlpha?"#define PREMULTIPLIED_ALPHA":"",i.numLightProbes>0?"#define USE_LIGHT_PROBES":"",i.numLightProbeGrids>0?"#define USE_LIGHT_PROBES_GRID":"",i.decodeVideoTexture?"#define DECODE_VIDEO_TEXTURE":"",i.decodeVideoTextureEmissive?"#define DECODE_VIDEO_TEXTURE_EMISSIVE":"",i.logarithmicDepthBuffer?"#define USE_LOGARITHMIC_DEPTH_BUFFER":"",i.reversedDepthBuffer?"#define USE_REVERSED_DEPTH_BUFFER":"","uniform mat4 viewMatrix;","uniform vec3 cameraPosition;","uniform bool isOrthographic;",i.toneMapping!==_c?"#define TONE_MAPPING":"",i.toneMapping!==_c?Ps.tonemapping_pars_fragment:"",i.toneMapping!==_c?y_e("toneMapping",i.toneMapping):"",i.dithering?"#define DITHERING":"",i.opaque?"#define OPAQUE":"",Ps.colorspace_pars_fragment,I_e("linearToOutputTexel",i.outputColorSpace),E_e(),i.useDepthPacking?"#define DEPTH_PACKING "+i.depthPacking:"",`
|
||
`].filter(IG).join(`
|
||
`)),r=Yte(r),r=jfe(r,i),r=qfe(r,i),l=Yte(l),l=jfe(l,i),l=qfe(l,i),r=$fe(r),l=$fe(l),i.isRawShaderMaterial!==!0&&(O=`#version 300 es
|
||
`,b=[y,"#define attribute in","#define varying out","#define texture2D texture"].join(`
|
||
`)+`
|
||
`+b,A=["#define varying in",i.glslVersion===e7?"":"layout(location = 0) out highp vec4 pc_fragColor;",i.glslVersion===e7?"":"#define gl_FragColor pc_fragColor","#define gl_FragDepthEXT gl_FragDepth","#define texture2D texture","#define textureCube texture","#define texture2DProj textureProj","#define texture2DLodEXT textureLod","#define texture2DProjLodEXT textureProjLod","#define textureCubeLodEXT textureLod","#define texture2DGradEXT textureGrad","#define texture2DProjGradEXT textureProjGrad","#define textureCubeGradEXT textureGrad"].join(`
|
||
`)+`
|
||
`+A);let P=O+b+r,U=O+A+l,Z=zfe(s,s.VERTEX_SHADER,P),ne=zfe(s,s.FRAGMENT_SHADER,U);s.attachShader(R,Z),s.attachShader(R,ne),i.index0AttributeName!==void 0?s.bindAttribLocation(R,0,i.index0AttributeName):i.morphTargets===!0&&s.bindAttribLocation(R,0,"position"),s.linkProgram(R);function K(Re){if(e.debug.checkShaderErrors){let ee=s.getProgramInfoLog(R)||"",Ae=s.getShaderInfoLog(Z)||"",Ee=s.getShaderInfoLog(ne)||"",Ce=ee.trim(),Qe=Ae.trim(),qe=Ee.trim(),St=!0,$e=!0;if(s.getProgramParameter(R,s.LINK_STATUS)===!1)if(St=!1,typeof e.debug.onShaderError=="function")e.debug.onShaderError(s,R,Z,ne);else{let ke=Yfe(s,Z,"vertex"),It=Yfe(s,ne,"fragment");yi("THREE.WebGLProgram: Shader Error "+s.getError()+" - VALIDATE_STATUS "+s.getProgramParameter(R,s.VALIDATE_STATUS)+`
|
||
|
||
Material Name: `+Re.name+`
|
||
Material Type: `+Re.type+`
|
||
|
||
Program Info Log: `+Ce+`
|
||
`+ke+`
|
||
`+It)}else Ce!==""?ci("WebGLProgram: Program Info Log:",Ce):(Qe===""||qe==="")&&($e=!1);$e&&(Re.diagnostics={runnable:St,programLog:Ce,vertexShader:{log:Qe,prefix:b},fragmentShader:{log:qe,prefix:A}})}s.deleteShader(Z),s.deleteShader(ne),oe=new n7(s,R),se=w_e(s,R)}let oe;this.getUniforms=function(){return oe===void 0&&K(this),oe};let se;this.getAttributes=function(){return se===void 0&&K(this),se};let he=i.rendererExtensionParallelShaderCompile===!1;return this.isReady=function(){return he===!1&&(he=s.getProgramParameter(R,d_e)),he},this.destroy=function(){n.releaseStatesOfProgram(this),s.deleteProgram(R),this.program=void 0},this.type=i.shaderType,this.name=i.shaderName,this.id=h_e++,this.cacheKey=t,this.usedTimes=1,this.program=R,this.vertexShader=Z,this.fragmentShader=ne,this}var F_e=0,jte=class{constructor(){this.shaderCache=new Map,this.materialCache=new Map}update(t){let i=t.vertexShader,n=t.fragmentShader,s=this._getShaderStage(i),o=this._getShaderStage(n),r=this._getShaderCacheForMaterial(t);return r.has(s)===!1&&(r.add(s),s.usedTimes++),r.has(o)===!1&&(r.add(o),o.usedTimes++),this}remove(t){let i=this.materialCache.get(t);for(let n of i)n.usedTimes--,n.usedTimes===0&&this.shaderCache.delete(n.code);return this.materialCache.delete(t),this}getVertexShaderID(t){return this._getShaderStage(t.vertexShader).id}getFragmentShaderID(t){return this._getShaderStage(t.fragmentShader).id}dispose(){this.shaderCache.clear(),this.materialCache.clear()}_getShaderCacheForMaterial(t){let i=this.materialCache,n=i.get(t);return n===void 0&&(n=new Set,i.set(t,n)),n}_getShaderStage(t){let i=this.shaderCache,n=i.get(t);return n===void 0&&(n=new qte(t),i.set(t,n)),n}},qte=class{constructor(t){this.id=F_e++,this.code=t,this.usedTimes=0}};function U_e(e){return e===Dc||e===WT||e===YT}function H_e(e,t,i,n,s,o){let r=new oC,l=new jte,d=new Set,h=[],p=new Map,I=n.logarithmicDepthBuffer,m=n.precision,y={MeshDepthMaterial:"depth",MeshDistanceMaterial:"distance",MeshNormalMaterial:"normal",MeshBasicMaterial:"basic",MeshLambertMaterial:"lambert",MeshPhongMaterial:"phong",MeshToonMaterial:"toon",MeshStandardMaterial:"physical",MeshPhysicalMaterial:"physical",MeshMatcapMaterial:"matcap",LineBasicMaterial:"basic",LineDashedMaterial:"dashed",PointsMaterial:"points",ShadowMaterial:"shadow",SpriteMaterial:"sprite"};function T(oe){return d.add(oe),oe===0?"uv":`uv${oe}`}function R(oe,se,he,Re,ee,Ae){let Ee=Re.fog,Ce=ee.geometry,Qe=oe.isMeshStandardMaterial||oe.isMeshLambertMaterial||oe.isMeshPhongMaterial?Re.environment:null,qe=oe.isMeshStandardMaterial||oe.isMeshLambertMaterial&&!oe.envMap||oe.isMeshPhongMaterial&&!oe.envMap,St=t.get(oe.envMap||Qe,qe),$e=St&&St.mapping===BT?St.image.height:null,ke=y[oe.type];oe.precision!==null&&(m=n.getMaxPrecision(oe.precision),m!==oe.precision&&ci("WebGLProgram.getParameters:",oe.precision,"not supported, using",m,"instead."));let It=Ce.morphAttributes.position||Ce.morphAttributes.normal||Ce.morphAttributes.color,ft=It!==void 0?It.length:0,Dt=0;Ce.morphAttributes.position!==void 0&&(Dt=1),Ce.morphAttributes.normal!==void 0&&(Dt=2),Ce.morphAttributes.color!==void 0&&(Dt=3);let Zt,Ct,Ut,ii;if(ke){let Un=gf[ke];Zt=Un.vertexShader,Ct=Un.fragmentShader}else Zt=oe.vertexShader,Ct=oe.fragmentShader,l.update(oe),Ut=l.getVertexShaderID(oe),ii=l.getFragmentShaderID(oe);let Vt=e.getRenderTarget(),Kt=e.state.buffers.depth.getReversed(),ui=ee.isInstancedMesh===!0,jt=ee.isBatchedMesh===!0,Oe=!!oe.map,Ft=!!oe.matcap,ge=!!St,Ue=!!oe.aoMap,Pe=!!oe.lightMap,Me=!!oe.bumpMap,ze=!!oe.normalMap,pt=!!oe.displacementMap,He=!!oe.emissiveMap,At=!!oe.metalnessMap,Tt=!!oe.roughnessMap,Lt=oe.anisotropy>0,Ht=oe.clearcoat>0,ri=oe.dispersion>0,Xe=oe.iridescence>0,We=oe.sheen>0,Mt=oe.transmission>0,si=Lt&&!!oe.anisotropyMap,gi=Ht&&!!oe.clearcoatMap,mi=Ht&&!!oe.clearcoatNormalMap,bi=Ht&&!!oe.clearcoatRoughnessMap,Qt=Xe&&!!oe.iridescenceMap,di=Xe&&!!oe.iridescenceThicknessMap,Wi=We&&!!oe.sheenColorMap,ki=We&&!!oe.sheenRoughnessMap,Pi=!!oe.specularMap,Di=!!oe.specularColorMap,dn=!!oe.specularIntensityMap,Ln=Mt&&!!oe.transmissionMap,Zi=Mt&&!!oe.thicknessMap,kt=!!oe.gradientMap,Gi=!!oe.alphaMap,wi=oe.alphaTest>0,Qi=!!oe.alphaHash,Fi=!!oe.extensions,Ci=_c;oe.toneMapped&&(Vt===null||Vt.isXRRenderTarget===!0)&&(Ci=e.toneMapping);let cn={shaderID:ke,shaderType:oe.type,shaderName:oe.name,vertexShader:Zt,fragmentShader:Ct,defines:oe.defines,customVertexShaderID:Ut,customFragmentShaderID:ii,isRawShaderMaterial:oe.isRawShaderMaterial===!0,glslVersion:oe.glslVersion,precision:m,batching:jt,batchingColor:jt&&ee._colorsTexture!==null,instancing:ui,instancingColor:ui&&ee.instanceColor!==null,instancingMorph:ui&&ee.morphTexture!==null,outputColorSpace:Vt===null?e.outputColorSpace:Vt.isXRRenderTarget===!0?Vt.texture.colorSpace:Hn.workingColorSpace,alphaToCoverage:!!oe.alphaToCoverage,map:Oe,matcap:Ft,envMap:ge,envMapMode:ge&&St.mapping,envMapCubeUVHeight:$e,aoMap:Ue,lightMap:Pe,bumpMap:Me,normalMap:ze,displacementMap:pt,emissiveMap:He,normalMapObjectSpace:ze&&oe.normalMapType===uG,normalMapTangentSpace:ze&&oe.normalMapType===kI,packedNormalMap:ze&&oe.normalMapType===kI&&U_e(oe.normalMap.format),metalnessMap:At,roughnessMap:Tt,anisotropy:Lt,anisotropyMap:si,clearcoat:Ht,clearcoatMap:gi,clearcoatNormalMap:mi,clearcoatRoughnessMap:bi,dispersion:ri,iridescence:Xe,iridescenceMap:Qt,iridescenceThicknessMap:di,sheen:We,sheenColorMap:Wi,sheenRoughnessMap:ki,specularMap:Pi,specularColorMap:Di,specularIntensityMap:dn,transmission:Mt,transmissionMap:Ln,thicknessMap:Zi,gradientMap:kt,opaque:oe.transparent===!1&&oe.blending===Yc&&oe.alphaToCoverage===!1,alphaMap:Gi,alphaTest:wi,alphaHash:Qi,combine:oe.combine,mapUv:Oe&&T(oe.map.channel),aoMapUv:Ue&&T(oe.aoMap.channel),lightMapUv:Pe&&T(oe.lightMap.channel),bumpMapUv:Me&&T(oe.bumpMap.channel),normalMapUv:ze&&T(oe.normalMap.channel),displacementMapUv:pt&&T(oe.displacementMap.channel),emissiveMapUv:He&&T(oe.emissiveMap.channel),metalnessMapUv:At&&T(oe.metalnessMap.channel),roughnessMapUv:Tt&&T(oe.roughnessMap.channel),anisotropyMapUv:si&&T(oe.anisotropyMap.channel),clearcoatMapUv:gi&&T(oe.clearcoatMap.channel),clearcoatNormalMapUv:mi&&T(oe.clearcoatNormalMap.channel),clearcoatRoughnessMapUv:bi&&T(oe.clearcoatRoughnessMap.channel),iridescenceMapUv:Qt&&T(oe.iridescenceMap.channel),iridescenceThicknessMapUv:di&&T(oe.iridescenceThicknessMap.channel),sheenColorMapUv:Wi&&T(oe.sheenColorMap.channel),sheenRoughnessMapUv:ki&&T(oe.sheenRoughnessMap.channel),specularMapUv:Pi&&T(oe.specularMap.channel),specularColorMapUv:Di&&T(oe.specularColorMap.channel),specularIntensityMapUv:dn&&T(oe.specularIntensityMap.channel),transmissionMapUv:Ln&&T(oe.transmissionMap.channel),thicknessMapUv:Zi&&T(oe.thicknessMap.channel),alphaMapUv:Gi&&T(oe.alphaMap.channel),vertexTangents:!!Ce.attributes.tangent&&(ze||Lt),vertexNormals:!!Ce.attributes.normal,vertexColors:oe.vertexColors,vertexAlphas:oe.vertexColors===!0&&!!Ce.attributes.color&&Ce.attributes.color.itemSize===4,pointsUvs:ee.isPoints===!0&&!!Ce.attributes.uv&&(Oe||Gi),fog:!!Ee,useFog:oe.fog===!0,fogExp2:!!Ee&&Ee.isFogExp2,flatShading:oe.wireframe===!1&&(oe.flatShading===!0||Ce.attributes.normal===void 0&&ze===!1&&(oe.isMeshLambertMaterial||oe.isMeshPhongMaterial||oe.isMeshStandardMaterial||oe.isMeshPhysicalMaterial)),sizeAttenuation:oe.sizeAttenuation===!0,logarithmicDepthBuffer:I,reversedDepthBuffer:Kt,skinning:ee.isSkinnedMesh===!0,morphTargets:Ce.morphAttributes.position!==void 0,morphNormals:Ce.morphAttributes.normal!==void 0,morphColors:Ce.morphAttributes.color!==void 0,morphTargetsCount:ft,morphTextureStride:Dt,numDirLights:se.directional.length,numPointLights:se.point.length,numSpotLights:se.spot.length,numSpotLightMaps:se.spotLightMap.length,numRectAreaLights:se.rectArea.length,numHemiLights:se.hemi.length,numDirLightShadows:se.directionalShadowMap.length,numPointLightShadows:se.pointShadowMap.length,numSpotLightShadows:se.spotShadowMap.length,numSpotLightShadowsWithMaps:se.numSpotLightShadowsWithMaps,numLightProbes:se.numLightProbes,numLightProbeGrids:Ae.length,numClippingPlanes:o.numPlanes,numClipIntersection:o.numIntersection,dithering:oe.dithering,shadowMapEnabled:e.shadowMap.enabled&&he.length>0,shadowMapType:e.shadowMap.type,toneMapping:Ci,decodeVideoTexture:Oe&&oe.map.isVideoTexture===!0&&Hn.getTransfer(oe.map.colorSpace)===pn,decodeVideoTextureEmissive:He&&oe.emissiveMap.isVideoTexture===!0&&Hn.getTransfer(oe.emissiveMap.colorSpace)===pn,premultipliedAlpha:oe.premultipliedAlpha,doubleSided:oe.side===so,flipSided:oe.side===Js,useDepthPacking:oe.depthPacking>=0,depthPacking:oe.depthPacking||0,index0AttributeName:oe.index0AttributeName,extensionClipCullDistance:Fi&&oe.extensions.clipCullDistance===!0&&i.has("WEBGL_clip_cull_distance"),extensionMultiDraw:(Fi&&oe.extensions.multiDraw===!0||jt)&&i.has("WEBGL_multi_draw"),rendererExtensionParallelShaderCompile:i.has("KHR_parallel_shader_compile"),customProgramCacheKey:oe.customProgramCacheKey()};return cn.vertexUv1s=d.has(1),cn.vertexUv2s=d.has(2),cn.vertexUv3s=d.has(3),d.clear(),cn}function b(oe){let se=[];if(oe.shaderID?se.push(oe.shaderID):(se.push(oe.customVertexShaderID),se.push(oe.customFragmentShaderID)),oe.defines!==void 0)for(let he in oe.defines)se.push(he),se.push(oe.defines[he]);return oe.isRawShaderMaterial===!1&&(A(se,oe),O(se,oe),se.push(e.outputColorSpace)),se.push(oe.customProgramCacheKey),se.join()}function A(oe,se){oe.push(se.precision),oe.push(se.outputColorSpace),oe.push(se.envMapMode),oe.push(se.envMapCubeUVHeight),oe.push(se.mapUv),oe.push(se.alphaMapUv),oe.push(se.lightMapUv),oe.push(se.aoMapUv),oe.push(se.bumpMapUv),oe.push(se.normalMapUv),oe.push(se.displacementMapUv),oe.push(se.emissiveMapUv),oe.push(se.metalnessMapUv),oe.push(se.roughnessMapUv),oe.push(se.anisotropyMapUv),oe.push(se.clearcoatMapUv),oe.push(se.clearcoatNormalMapUv),oe.push(se.clearcoatRoughnessMapUv),oe.push(se.iridescenceMapUv),oe.push(se.iridescenceThicknessMapUv),oe.push(se.sheenColorMapUv),oe.push(se.sheenRoughnessMapUv),oe.push(se.specularMapUv),oe.push(se.specularColorMapUv),oe.push(se.specularIntensityMapUv),oe.push(se.transmissionMapUv),oe.push(se.thicknessMapUv),oe.push(se.combine),oe.push(se.fogExp2),oe.push(se.sizeAttenuation),oe.push(se.morphTargetsCount),oe.push(se.morphAttributeCount),oe.push(se.numDirLights),oe.push(se.numPointLights),oe.push(se.numSpotLights),oe.push(se.numSpotLightMaps),oe.push(se.numHemiLights),oe.push(se.numRectAreaLights),oe.push(se.numDirLightShadows),oe.push(se.numPointLightShadows),oe.push(se.numSpotLightShadows),oe.push(se.numSpotLightShadowsWithMaps),oe.push(se.numLightProbes),oe.push(se.shadowMapType),oe.push(se.toneMapping),oe.push(se.numClippingPlanes),oe.push(se.numClipIntersection),oe.push(se.depthPacking)}function O(oe,se){r.disableAll(),se.instancing&&r.enable(0),se.instancingColor&&r.enable(1),se.instancingMorph&&r.enable(2),se.matcap&&r.enable(3),se.envMap&&r.enable(4),se.normalMapObjectSpace&&r.enable(5),se.normalMapTangentSpace&&r.enable(6),se.clearcoat&&r.enable(7),se.iridescence&&r.enable(8),se.alphaTest&&r.enable(9),se.vertexColors&&r.enable(10),se.vertexAlphas&&r.enable(11),se.vertexUv1s&&r.enable(12),se.vertexUv2s&&r.enable(13),se.vertexUv3s&&r.enable(14),se.vertexTangents&&r.enable(15),se.anisotropy&&r.enable(16),se.alphaHash&&r.enable(17),se.batching&&r.enable(18),se.dispersion&&r.enable(19),se.batchingColor&&r.enable(20),se.gradientMap&&r.enable(21),se.packedNormalMap&&r.enable(22),se.vertexNormals&&r.enable(23),oe.push(r.mask),r.disableAll(),se.fog&&r.enable(0),se.useFog&&r.enable(1),se.flatShading&&r.enable(2),se.logarithmicDepthBuffer&&r.enable(3),se.reversedDepthBuffer&&r.enable(4),se.skinning&&r.enable(5),se.morphTargets&&r.enable(6),se.morphNormals&&r.enable(7),se.morphColors&&r.enable(8),se.premultipliedAlpha&&r.enable(9),se.shadowMapEnabled&&r.enable(10),se.doubleSided&&r.enable(11),se.flipSided&&r.enable(12),se.useDepthPacking&&r.enable(13),se.dithering&&r.enable(14),se.transmission&&r.enable(15),se.sheen&&r.enable(16),se.opaque&&r.enable(17),se.pointsUvs&&r.enable(18),se.decodeVideoTexture&&r.enable(19),se.decodeVideoTextureEmissive&&r.enable(20),se.alphaToCoverage&&r.enable(21),se.numLightProbeGrids>0&&r.enable(22),oe.push(r.mask)}function P(oe){let se=y[oe.type],he;if(se){let Re=gf[se];he=eN.clone(Re.uniforms)}else he=oe.uniforms;return he}function U(oe,se){let he=p.get(se);return he!==void 0?++he.usedTimes:(he=new B_e(e,se,oe,s),h.push(he),p.set(se,he)),he}function Z(oe){if(--oe.usedTimes===0){let se=h.indexOf(oe);h[se]=h[h.length-1],h.pop(),p.delete(oe.cacheKey),oe.destroy()}}function ne(oe){l.remove(oe)}function K(){l.dispose()}return{getParameters:R,getProgramCacheKey:b,getUniforms:P,acquireProgram:U,releaseProgram:Z,releaseShaderCache:ne,programs:h,dispose:K}}function G_e(){let e=new WeakMap;function t(r){return e.has(r)}function i(r){let l=e.get(r);return l===void 0&&(l={},e.set(r,l)),l}function n(r){e.delete(r)}function s(r,l,d){e.get(r)[l]=d}function o(){e=new WeakMap}return{has:t,get:i,remove:n,update:s,dispose:o}}function V_e(e,t){return e.groupOrder!==t.groupOrder?e.groupOrder-t.groupOrder:e.renderOrder!==t.renderOrder?e.renderOrder-t.renderOrder:e.material.id!==t.material.id?e.material.id-t.material.id:e.materialVariant!==t.materialVariant?e.materialVariant-t.materialVariant:e.z!==t.z?e.z-t.z:e.id-t.id}function Kfe(e,t){return e.groupOrder!==t.groupOrder?e.groupOrder-t.groupOrder:e.renderOrder!==t.renderOrder?e.renderOrder-t.renderOrder:e.z!==t.z?t.z-e.z:e.id-t.id}function Qfe(){let e=[],t=0,i=[],n=[],s=[];function o(){t=0,i.length=0,n.length=0,s.length=0}function r(m){let y=0;return m.isInstancedMesh&&(y+=2),m.isSkinnedMesh&&(y+=1),y}function l(m,y,T,R,b,A){let O=e[t];return O===void 0?(O={id:m.id,object:m,geometry:y,material:T,materialVariant:r(m),groupOrder:R,renderOrder:m.renderOrder,z:b,group:A},e[t]=O):(O.id=m.id,O.object=m,O.geometry=y,O.material=T,O.materialVariant=r(m),O.groupOrder=R,O.renderOrder=m.renderOrder,O.z=b,O.group=A),t++,O}function d(m,y,T,R,b,A){let O=l(m,y,T,R,b,A);T.transmission>0?n.push(O):T.transparent===!0?s.push(O):i.push(O)}function h(m,y,T,R,b,A){let O=l(m,y,T,R,b,A);T.transmission>0?n.unshift(O):T.transparent===!0?s.unshift(O):i.unshift(O)}function p(m,y){i.length>1&&i.sort(m||V_e),n.length>1&&n.sort(y||Kfe),s.length>1&&s.sort(y||Kfe)}function I(){for(let m=t,y=e.length;m<y;m++){let T=e[m];if(T.id===null)break;T.id=null,T.object=null,T.geometry=null,T.material=null,T.group=null}}return{opaque:i,transmissive:n,transparent:s,init:o,push:d,unshift:h,finish:I,sort:p}}function k_e(){let e=new WeakMap;function t(n,s){let o=e.get(n),r;return o===void 0?(r=new Qfe,e.set(n,[r])):s>=o.length?(r=new Qfe,o.push(r)):r=o[s],r}function i(){e=new WeakMap}return{get:t,dispose:i}}function z_e(){let e={};return{get:function(t){if(e[t.id]!==void 0)return e[t.id];let i;switch(t.type){case"DirectionalLight":i={direction:new ye,color:new Oi};break;case"SpotLight":i={position:new ye,direction:new ye,color:new Oi,distance:0,coneCos:0,penumbraCos:0,decay:0};break;case"PointLight":i={position:new ye,color:new Oi,distance:0,decay:0};break;case"HemisphereLight":i={direction:new ye,skyColor:new Oi,groundColor:new Oi};break;case"RectAreaLight":i={color:new Oi,position:new ye,halfWidth:new ye,halfHeight:new ye};break}return e[t.id]=i,i}}}function W_e(){let e={};return{get:function(t){if(e[t.id]!==void 0)return e[t.id];let i;switch(t.type){case"DirectionalLight":i={shadowIntensity:1,shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new hi};break;case"SpotLight":i={shadowIntensity:1,shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new hi};break;case"PointLight":i={shadowIntensity:1,shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new hi,shadowCameraNear:1,shadowCameraFar:1e3};break}return e[t.id]=i,i}}}var Y_e=0;function j_e(e,t){return(t.castShadow?2:0)-(e.castShadow?2:0)+(t.map?1:0)-(e.map?1:0)}function q_e(e){let t=new z_e,i=W_e(),n={version:0,hash:{directionalLength:-1,pointLength:-1,spotLength:-1,rectAreaLength:-1,hemiLength:-1,numDirectionalShadows:-1,numPointShadows:-1,numSpotShadows:-1,numSpotMaps:-1,numLightProbes:-1},ambient:[0,0,0],probe:[],directional:[],directionalShadow:[],directionalShadowMap:[],directionalShadowMatrix:[],spot:[],spotLightMap:[],spotShadow:[],spotShadowMap:[],spotLightMatrix:[],rectArea:[],rectAreaLTC1:null,rectAreaLTC2:null,point:[],pointShadow:[],pointShadowMap:[],pointShadowMatrix:[],hemi:[],numSpotLightShadowsWithMaps:0,numLightProbes:0};for(let h=0;h<9;h++)n.probe.push(new ye);let s=new ye,o=new Ai,r=new Ai;function l(h){let p=0,I=0,m=0;for(let se=0;se<9;se++)n.probe[se].set(0,0,0);let y=0,T=0,R=0,b=0,A=0,O=0,P=0,U=0,Z=0,ne=0,K=0;h.sort(j_e);for(let se=0,he=h.length;se<he;se++){let Re=h[se],ee=Re.color,Ae=Re.intensity,Ee=Re.distance,Ce=null;if(Re.shadow&&Re.shadow.map&&(Re.shadow.map.texture.format===Dc?Ce=Re.shadow.map.texture:Ce=Re.shadow.map.depthTexture||Re.shadow.map.texture),Re.isAmbientLight)p+=ee.r*Ae,I+=ee.g*Ae,m+=ee.b*Ae;else if(Re.isLightProbe){for(let Qe=0;Qe<9;Qe++)n.probe[Qe].addScaledVector(Re.sh.coefficients[Qe],Ae);K++}else if(Re.isDirectionalLight){let Qe=t.get(Re);if(Qe.color.copy(Re.color).multiplyScalar(Re.intensity),Re.castShadow){let qe=Re.shadow,St=i.get(Re);St.shadowIntensity=qe.intensity,St.shadowBias=qe.bias,St.shadowNormalBias=qe.normalBias,St.shadowRadius=qe.radius,St.shadowMapSize=qe.mapSize,n.directionalShadow[y]=St,n.directionalShadowMap[y]=Ce,n.directionalShadowMatrix[y]=Re.shadow.matrix,O++}n.directional[y]=Qe,y++}else if(Re.isSpotLight){let Qe=t.get(Re);Qe.position.setFromMatrixPosition(Re.matrixWorld),Qe.color.copy(ee).multiplyScalar(Ae),Qe.distance=Ee,Qe.coneCos=Math.cos(Re.angle),Qe.penumbraCos=Math.cos(Re.angle*(1-Re.penumbra)),Qe.decay=Re.decay,n.spot[R]=Qe;let qe=Re.shadow;if(Re.map&&(n.spotLightMap[Z]=Re.map,Z++,qe.updateMatrices(Re),Re.castShadow&&ne++),n.spotLightMatrix[R]=qe.matrix,Re.castShadow){let St=i.get(Re);St.shadowIntensity=qe.intensity,St.shadowBias=qe.bias,St.shadowNormalBias=qe.normalBias,St.shadowRadius=qe.radius,St.shadowMapSize=qe.mapSize,n.spotShadow[R]=St,n.spotShadowMap[R]=Ce,U++}R++}else if(Re.isRectAreaLight){let Qe=t.get(Re);Qe.color.copy(ee).multiplyScalar(Ae),Qe.halfWidth.set(Re.width*.5,0,0),Qe.halfHeight.set(0,Re.height*.5,0),n.rectArea[b]=Qe,b++}else if(Re.isPointLight){let Qe=t.get(Re);if(Qe.color.copy(Re.color).multiplyScalar(Re.intensity),Qe.distance=Re.distance,Qe.decay=Re.decay,Re.castShadow){let qe=Re.shadow,St=i.get(Re);St.shadowIntensity=qe.intensity,St.shadowBias=qe.bias,St.shadowNormalBias=qe.normalBias,St.shadowRadius=qe.radius,St.shadowMapSize=qe.mapSize,St.shadowCameraNear=qe.camera.near,St.shadowCameraFar=qe.camera.far,n.pointShadow[T]=St,n.pointShadowMap[T]=Ce,n.pointShadowMatrix[T]=Re.shadow.matrix,P++}n.point[T]=Qe,T++}else if(Re.isHemisphereLight){let Qe=t.get(Re);Qe.skyColor.copy(Re.color).multiplyScalar(Ae),Qe.groundColor.copy(Re.groundColor).multiplyScalar(Ae),n.hemi[A]=Qe,A++}}b>0&&(e.has("OES_texture_float_linear")===!0?(n.rectAreaLTC1=an.LTC_FLOAT_1,n.rectAreaLTC2=an.LTC_FLOAT_2):(n.rectAreaLTC1=an.LTC_HALF_1,n.rectAreaLTC2=an.LTC_HALF_2)),n.ambient[0]=p,n.ambient[1]=I,n.ambient[2]=m;let oe=n.hash;(oe.directionalLength!==y||oe.pointLength!==T||oe.spotLength!==R||oe.rectAreaLength!==b||oe.hemiLength!==A||oe.numDirectionalShadows!==O||oe.numPointShadows!==P||oe.numSpotShadows!==U||oe.numSpotMaps!==Z||oe.numLightProbes!==K)&&(n.directional.length=y,n.spot.length=R,n.rectArea.length=b,n.point.length=T,n.hemi.length=A,n.directionalShadow.length=O,n.directionalShadowMap.length=O,n.pointShadow.length=P,n.pointShadowMap.length=P,n.spotShadow.length=U,n.spotShadowMap.length=U,n.directionalShadowMatrix.length=O,n.pointShadowMatrix.length=P,n.spotLightMatrix.length=U+Z-ne,n.spotLightMap.length=Z,n.numSpotLightShadowsWithMaps=ne,n.numLightProbes=K,oe.directionalLength=y,oe.pointLength=T,oe.spotLength=R,oe.rectAreaLength=b,oe.hemiLength=A,oe.numDirectionalShadows=O,oe.numPointShadows=P,oe.numSpotShadows=U,oe.numSpotMaps=Z,oe.numLightProbes=K,n.version=Y_e++)}function d(h,p){let I=0,m=0,y=0,T=0,R=0,b=p.matrixWorldInverse;for(let A=0,O=h.length;A<O;A++){let P=h[A];if(P.isDirectionalLight){let U=n.directional[I];U.direction.setFromMatrixPosition(P.matrixWorld),s.setFromMatrixPosition(P.target.matrixWorld),U.direction.sub(s),U.direction.transformDirection(b),I++}else if(P.isSpotLight){let U=n.spot[y];U.position.setFromMatrixPosition(P.matrixWorld),U.position.applyMatrix4(b),U.direction.setFromMatrixPosition(P.matrixWorld),s.setFromMatrixPosition(P.target.matrixWorld),U.direction.sub(s),U.direction.transformDirection(b),y++}else if(P.isRectAreaLight){let U=n.rectArea[T];U.position.setFromMatrixPosition(P.matrixWorld),U.position.applyMatrix4(b),r.identity(),o.copy(P.matrixWorld),o.premultiply(b),r.extractRotation(o),U.halfWidth.set(P.width*.5,0,0),U.halfHeight.set(0,P.height*.5,0),U.halfWidth.applyMatrix4(r),U.halfHeight.applyMatrix4(r),T++}else if(P.isPointLight){let U=n.point[m];U.position.setFromMatrixPosition(P.matrixWorld),U.position.applyMatrix4(b),m++}else if(P.isHemisphereLight){let U=n.hemi[R];U.direction.setFromMatrixPosition(P.matrixWorld),U.direction.transformDirection(b),R++}}}return{setup:l,setupView:d,state:n}}function Jfe(e){let t=new q_e(e),i=[],n=[],s=[];function o(m){I.camera=m,i.length=0,n.length=0,s.length=0}function r(m){i.push(m)}function l(m){n.push(m)}function d(m){s.push(m)}function h(){t.setup(i)}function p(m){t.setupView(i,m)}let I={lightsArray:i,shadowsArray:n,lightProbeGridArray:s,camera:null,lights:t,transmissionRenderTarget:{},textureUnits:0};return{init:o,state:I,setupLights:h,setupLightsView:p,pushLight:r,pushShadow:l,pushLightProbeGrid:d}}function $_e(e){let t=new WeakMap;function i(s,o=0){let r=t.get(s),l;return r===void 0?(l=new Jfe(e),t.set(s,[l])):o>=r.length?(l=new Jfe(e),r.push(l)):l=r[o],l}function n(){t=new WeakMap}return{get:i,dispose:n}}var Z_e=`void main() {
|
||
gl_Position = vec4( position, 1.0 );
|
||
}`,K_e=`uniform sampler2D shadow_pass;
|
||
uniform vec2 resolution;
|
||
uniform float radius;
|
||
void main() {
|
||
const float samples = float( VSM_SAMPLES );
|
||
float mean = 0.0;
|
||
float squared_mean = 0.0;
|
||
float uvStride = samples <= 1.0 ? 0.0 : 2.0 / ( samples - 1.0 );
|
||
float uvStart = samples <= 1.0 ? 0.0 : - 1.0;
|
||
for ( float i = 0.0; i < samples; i ++ ) {
|
||
float uvOffset = uvStart + i * uvStride;
|
||
#ifdef HORIZONTAL_PASS
|
||
vec2 distribution = texture2D( shadow_pass, ( gl_FragCoord.xy + vec2( uvOffset, 0.0 ) * radius ) / resolution ).rg;
|
||
mean += distribution.x;
|
||
squared_mean += distribution.y * distribution.y + distribution.x * distribution.x;
|
||
#else
|
||
float depth = texture2D( shadow_pass, ( gl_FragCoord.xy + vec2( 0.0, uvOffset ) * radius ) / resolution ).r;
|
||
mean += depth;
|
||
squared_mean += depth * depth;
|
||
#endif
|
||
}
|
||
mean = mean / samples;
|
||
squared_mean = squared_mean / samples;
|
||
float std_dev = sqrt( max( 0.0, squared_mean - mean * mean ) );
|
||
gl_FragColor = vec4( mean, std_dev, 0.0, 1.0 );
|
||
}`,Q_e=[new ye(1,0,0),new ye(-1,0,0),new ye(0,1,0),new ye(0,-1,0),new ye(0,0,1),new ye(0,0,-1)],J_e=[new ye(0,-1,0),new ye(0,-1,0),new ye(0,0,1),new ye(0,0,-1),new ye(0,-1,0),new ye(0,-1,0)],Xfe=new Ai,pG=new ye,Gte=new ye;function X_e(e,t,i){let n=new F0,s=new hi,o=new hi,r=new xn,l=new EP,d=new TP,h={},p=i.maxTextureSize,I={[$l]:Js,[Js]:$l,[so]:so},m=new Kl({defines:{VSM_SAMPLES:8},uniforms:{shadow_pass:{value:null},resolution:{value:new hi},radius:{value:4}},vertexShader:Z_e,fragmentShader:K_e}),y=m.clone();y.defines.HORIZONTAL_PASS=1;let T=new nn;T.setAttribute("position",new Tn(new Float32Array([-1,-1,.5,3,-1,.5,-1,3,.5]),3));let R=new _i(T,m),b=this;this.enabled=!1,this.autoUpdate=!0,this.needsUpdate=!1,this.type=eR;let A=this.type;this.render=function(ne,K,oe){if(b.enabled===!1||b.autoUpdate===!1&&b.needsUpdate===!1||ne.length===0)return;this.type===eG&&(ci("WebGLShadowMap: PCFSoftShadowMap has been deprecated. Using PCFShadowMap instead."),this.type=eR);let se=e.getRenderTarget(),he=e.getActiveCubeFace(),Re=e.getActiveMipmapLevel(),ee=e.state;ee.setBlending(Na),ee.buffers.depth.getReversed()===!0?ee.buffers.color.setClear(0,0,0,0):ee.buffers.color.setClear(1,1,1,1),ee.buffers.depth.setTest(!0),ee.setScissorTest(!1);let Ae=A!==this.type;Ae&&K.traverse(function(Ee){Ee.material&&(Array.isArray(Ee.material)?Ee.material.forEach(Ce=>Ce.needsUpdate=!0):Ee.material.needsUpdate=!0)});for(let Ee=0,Ce=ne.length;Ee<Ce;Ee++){let Qe=ne[Ee],qe=Qe.shadow;if(qe===void 0){ci("WebGLShadowMap:",Qe,"has no shadow.");continue}if(qe.autoUpdate===!1&&qe.needsUpdate===!1)continue;s.copy(qe.mapSize);let St=qe.getFrameExtents();s.multiply(St),o.copy(qe.mapSize),(s.x>p||s.y>p)&&(s.x>p&&(o.x=Math.floor(p/St.x),s.x=o.x*St.x,qe.mapSize.x=o.x),s.y>p&&(o.y=Math.floor(p/St.y),s.y=o.y*St.y,qe.mapSize.y=o.y));let $e=e.state.buffers.depth.getReversed();if(qe.camera._reversedDepth=$e,qe.map===null||Ae===!0){if(qe.map!==null&&(qe.map.depthTexture!==null&&(qe.map.depthTexture.dispose(),qe.map.depthTexture=null),qe.map.dispose()),this.type===xm){if(Qe.isPointLight){ci("WebGLShadowMap: VSM shadow maps are not supported for PointLights. Use PCF or BasicShadowMap instead.");continue}qe.map=new ka(s.x,s.y,{format:Dc,type:sr,minFilter:Us,magFilter:Us,generateMipmaps:!1}),qe.map.texture.name=Qe.name+".shadowMap",qe.map.depthTexture=new Zl(s.x,s.y,Ro),qe.map.depthTexture.name=Qe.name+".shadowMapDepth",qe.map.depthTexture.format=Aa,qe.map.depthTexture.compareFunction=null,qe.map.depthTexture.minFilter=Vs,qe.map.depthTexture.magFilter=Vs}else Qe.isPointLight?(qe.map=new yG(s.x),qe.map.depthTexture=new uC(s.x,co)):(qe.map=new ka(s.x,s.y),qe.map.depthTexture=new Zl(s.x,s.y,co)),qe.map.depthTexture.name=Qe.name+".shadowMap",qe.map.depthTexture.format=Aa,this.type===eR?(qe.map.depthTexture.compareFunction=$e?Ty:jT,qe.map.depthTexture.minFilter=Us,qe.map.depthTexture.magFilter=Us):(qe.map.depthTexture.compareFunction=null,qe.map.depthTexture.minFilter=Vs,qe.map.depthTexture.magFilter=Vs);qe.camera.updateProjectionMatrix()}let ke=qe.map.isWebGLCubeRenderTarget?6:1;for(let It=0;It<ke;It++){if(qe.map.isWebGLCubeRenderTarget)e.setRenderTarget(qe.map,It),e.clear();else{It===0&&(e.setRenderTarget(qe.map),e.clear());let ft=qe.getViewport(It);r.set(o.x*ft.x,o.y*ft.y,o.x*ft.z,o.y*ft.w),ee.viewport(r)}if(Qe.isPointLight){let ft=qe.camera,Dt=qe.matrix,Zt=Qe.distance||ft.far;Zt!==ft.far&&(ft.far=Zt,ft.updateProjectionMatrix()),pG.setFromMatrixPosition(Qe.matrixWorld),ft.position.copy(pG),Gte.copy(ft.position),Gte.add(Q_e[It]),ft.up.copy(J_e[It]),ft.lookAt(Gte),ft.updateMatrixWorld(),Dt.makeTranslation(-pG.x,-pG.y,-pG.z),Xfe.multiplyMatrices(ft.projectionMatrix,ft.matrixWorldInverse),qe._frustum.setFromProjectionMatrix(Xfe,ft.coordinateSystem,ft.reversedDepth)}else qe.updateMatrices(Qe);n=qe.getFrustum(),U(K,oe,qe.camera,Qe,this.type)}qe.isPointLightShadow!==!0&&this.type===xm&&O(qe,oe),qe.needsUpdate=!1}A=this.type,b.needsUpdate=!1,e.setRenderTarget(se,he,Re)};function O(ne,K){let oe=t.update(R);m.defines.VSM_SAMPLES!==ne.blurSamples&&(m.defines.VSM_SAMPLES=ne.blurSamples,y.defines.VSM_SAMPLES=ne.blurSamples,m.needsUpdate=!0,y.needsUpdate=!0),ne.mapPass===null&&(ne.mapPass=new ka(s.x,s.y,{format:Dc,type:sr})),m.uniforms.shadow_pass.value=ne.map.depthTexture,m.uniforms.resolution.value=ne.mapSize,m.uniforms.radius.value=ne.radius,e.setRenderTarget(ne.mapPass),e.clear(),e.renderBufferDirect(K,null,oe,m,R,null),y.uniforms.shadow_pass.value=ne.mapPass.texture,y.uniforms.resolution.value=ne.mapSize,y.uniforms.radius.value=ne.radius,e.setRenderTarget(ne.map),e.clear(),e.renderBufferDirect(K,null,oe,y,R,null)}function P(ne,K,oe,se){let he=null,Re=oe.isPointLight===!0?ne.customDistanceMaterial:ne.customDepthMaterial;if(Re!==void 0)he=Re;else if(he=oe.isPointLight===!0?d:l,e.localClippingEnabled&&K.clipShadows===!0&&Array.isArray(K.clippingPlanes)&&K.clippingPlanes.length!==0||K.displacementMap&&K.displacementScale!==0||K.alphaMap&&K.alphaTest>0||K.map&&K.alphaTest>0||K.alphaToCoverage===!0){let ee=he.uuid,Ae=K.uuid,Ee=h[ee];Ee===void 0&&(Ee={},h[ee]=Ee);let Ce=Ee[Ae];Ce===void 0&&(Ce=he.clone(),Ee[Ae]=Ce,K.addEventListener("dispose",Z)),he=Ce}if(he.visible=K.visible,he.wireframe=K.wireframe,se===xm?he.side=K.shadowSide!==null?K.shadowSide:K.side:he.side=K.shadowSide!==null?K.shadowSide:I[K.side],he.alphaMap=K.alphaMap,he.alphaTest=K.alphaToCoverage===!0?.5:K.alphaTest,he.map=K.map,he.clipShadows=K.clipShadows,he.clippingPlanes=K.clippingPlanes,he.clipIntersection=K.clipIntersection,he.displacementMap=K.displacementMap,he.displacementScale=K.displacementScale,he.displacementBias=K.displacementBias,he.wireframeLinewidth=K.wireframeLinewidth,he.linewidth=K.linewidth,oe.isPointLight===!0&&he.isMeshDistanceMaterial===!0){let ee=e.properties.get(he);ee.light=oe}return he}function U(ne,K,oe,se,he){if(ne.visible===!1)return;if(ne.layers.test(K.layers)&&(ne.isMesh||ne.isLine||ne.isPoints)&&(ne.castShadow||ne.receiveShadow&&he===xm)&&(!ne.frustumCulled||n.intersectsObject(ne))){ne.modelViewMatrix.multiplyMatrices(oe.matrixWorldInverse,ne.matrixWorld);let Ae=t.update(ne),Ee=ne.material;if(Array.isArray(Ee)){let Ce=Ae.groups;for(let Qe=0,qe=Ce.length;Qe<qe;Qe++){let St=Ce[Qe],$e=Ee[St.materialIndex];if($e&&$e.visible){let ke=P(ne,$e,se,he);ne.onBeforeShadow(e,ne,K,oe,Ae,ke,St),e.renderBufferDirect(oe,null,Ae,ke,ne,St),ne.onAfterShadow(e,ne,K,oe,Ae,ke,St)}}}else if(Ee.visible){let Ce=P(ne,Ee,se,he);ne.onBeforeShadow(e,ne,K,oe,Ae,Ce,null),e.renderBufferDirect(oe,null,Ae,Ce,ne,null),ne.onAfterShadow(e,ne,K,oe,Ae,Ce,null)}}let ee=ne.children;for(let Ae=0,Ee=ee.length;Ae<Ee;Ae++)U(ee[Ae],K,oe,se,he)}function Z(ne){ne.target.removeEventListener("dispose",Z);for(let oe in h){let se=h[oe],he=ne.target.uuid;he in se&&(se[he].dispose(),delete se[he])}}}function eDe(e,t){function i(){let kt=!1,Gi=new xn,wi=null,Qi=new xn(0,0,0,0);return{setMask:function(Fi){wi!==Fi&&!kt&&(e.colorMask(Fi,Fi,Fi,Fi),wi=Fi)},setLocked:function(Fi){kt=Fi},setClear:function(Fi,Ci,cn,Un,hn){hn===!0&&(Fi*=Un,Ci*=Un,cn*=Un),Gi.set(Fi,Ci,cn,Un),Qi.equals(Gi)===!1&&(e.clearColor(Fi,Ci,cn,Un),Qi.copy(Gi))},reset:function(){kt=!1,wi=null,Qi.set(-1,0,0,0)}}}function n(){let kt=!1,Gi=!1,wi=null,Qi=null,Fi=null;return{setReversed:function(Ci){if(Gi!==Ci){let cn=t.get("EXT_clip_control");Ci?cn.clipControlEXT(cn.LOWER_LEFT_EXT,cn.ZERO_TO_ONE_EXT):cn.clipControlEXT(cn.LOWER_LEFT_EXT,cn.NEGATIVE_ONE_TO_ONE_EXT),Gi=Ci;let Un=Fi;Fi=null,this.setClear(Un)}},getReversed:function(){return Gi},setTest:function(Ci){Ci?Vt(e.DEPTH_TEST):Kt(e.DEPTH_TEST)},setMask:function(Ci){wi!==Ci&&!kt&&(e.depthMask(Ci),wi=Ci)},setFunc:function(Ci){if(Gi&&(Ci=hG[Ci]),Qi!==Ci){switch(Ci){case vb:e.depthFunc(e.NEVER);break;case Rb:e.depthFunc(e.ALWAYS);break;case Sb:e.depthFunc(e.LESS);break;case AT:e.depthFunc(e.LEQUAL);break;case Ab:e.depthFunc(e.EQUAL);break;case bb:e.depthFunc(e.GEQUAL);break;case Nb:e.depthFunc(e.GREATER);break;case _b:e.depthFunc(e.NOTEQUAL);break;default:e.depthFunc(e.LEQUAL)}Qi=Ci}},setLocked:function(Ci){kt=Ci},setClear:function(Ci){Fi!==Ci&&(Fi=Ci,Gi&&(Ci=1-Ci),e.clearDepth(Ci))},reset:function(){kt=!1,wi=null,Qi=null,Fi=null,Gi=!1}}}function s(){let kt=!1,Gi=null,wi=null,Qi=null,Fi=null,Ci=null,cn=null,Un=null,hn=null;return{setTest:function(Rs){kt||(Rs?Vt(e.STENCIL_TEST):Kt(e.STENCIL_TEST))},setMask:function(Rs){Gi!==Rs&&!kt&&(e.stencilMask(Rs),Gi=Rs)},setFunc:function(Rs,Wo,Io){(wi!==Rs||Qi!==Wo||Fi!==Io)&&(e.stencilFunc(Rs,Wo,Io),wi=Rs,Qi=Wo,Fi=Io)},setOp:function(Rs,Wo,Io){(Ci!==Rs||cn!==Wo||Un!==Io)&&(e.stencilOp(Rs,Wo,Io),Ci=Rs,cn=Wo,Un=Io)},setLocked:function(Rs){kt=Rs},setClear:function(Rs){hn!==Rs&&(e.clearStencil(Rs),hn=Rs)},reset:function(){kt=!1,Gi=null,wi=null,Qi=null,Fi=null,Ci=null,cn=null,Un=null,hn=null}}}let o=new i,r=new n,l=new s,d=new WeakMap,h=new WeakMap,p={},I={},m={},y=new WeakMap,T=[],R=null,b=!1,A=null,O=null,P=null,U=null,Z=null,ne=null,K=null,oe=new Oi(0,0,0),se=0,he=!1,Re=null,ee=null,Ae=null,Ee=null,Ce=null,Qe=e.getParameter(e.MAX_COMBINED_TEXTURE_IMAGE_UNITS),qe=!1,St=0,$e=e.getParameter(e.VERSION);$e.indexOf("WebGL")!==-1?(St=parseFloat(/^WebGL (\d)/.exec($e)[1]),qe=St>=1):$e.indexOf("OpenGL ES")!==-1&&(St=parseFloat(/^OpenGL ES (\d)/.exec($e)[1]),qe=St>=2);let ke=null,It={},ft=e.getParameter(e.SCISSOR_BOX),Dt=e.getParameter(e.VIEWPORT),Zt=new xn().fromArray(ft),Ct=new xn().fromArray(Dt);function Ut(kt,Gi,wi,Qi){let Fi=new Uint8Array(4),Ci=e.createTexture();e.bindTexture(kt,Ci),e.texParameteri(kt,e.TEXTURE_MIN_FILTER,e.NEAREST),e.texParameteri(kt,e.TEXTURE_MAG_FILTER,e.NEAREST);for(let cn=0;cn<wi;cn++)kt===e.TEXTURE_3D||kt===e.TEXTURE_2D_ARRAY?e.texImage3D(Gi,0,e.RGBA,1,1,Qi,0,e.RGBA,e.UNSIGNED_BYTE,Fi):e.texImage2D(Gi+cn,0,e.RGBA,1,1,0,e.RGBA,e.UNSIGNED_BYTE,Fi);return Ci}let ii={};ii[e.TEXTURE_2D]=Ut(e.TEXTURE_2D,e.TEXTURE_2D,1),ii[e.TEXTURE_CUBE_MAP]=Ut(e.TEXTURE_CUBE_MAP,e.TEXTURE_CUBE_MAP_POSITIVE_X,6),ii[e.TEXTURE_2D_ARRAY]=Ut(e.TEXTURE_2D_ARRAY,e.TEXTURE_2D_ARRAY,1,1),ii[e.TEXTURE_3D]=Ut(e.TEXTURE_3D,e.TEXTURE_3D,1,1),o.setClear(0,0,0,1),r.setClear(1),l.setClear(0),Vt(e.DEPTH_TEST),r.setFunc(AT),Me(!1),ze(xP),Vt(e.CULL_FACE),Ue(Na);function Vt(kt){p[kt]!==!0&&(e.enable(kt),p[kt]=!0)}function Kt(kt){p[kt]!==!1&&(e.disable(kt),p[kt]=!1)}function ui(kt,Gi){return m[kt]!==Gi?(e.bindFramebuffer(kt,Gi),m[kt]=Gi,kt===e.DRAW_FRAMEBUFFER&&(m[e.FRAMEBUFFER]=Gi),kt===e.FRAMEBUFFER&&(m[e.DRAW_FRAMEBUFFER]=Gi),!0):!1}function jt(kt,Gi){let wi=T,Qi=!1;if(kt){wi=y.get(Gi),wi===void 0&&(wi=[],y.set(Gi,wi));let Fi=kt.textures;if(wi.length!==Fi.length||wi[0]!==e.COLOR_ATTACHMENT0){for(let Ci=0,cn=Fi.length;Ci<cn;Ci++)wi[Ci]=e.COLOR_ATTACHMENT0+Ci;wi.length=Fi.length,Qi=!0}}else wi[0]!==e.BACK&&(wi[0]=e.BACK,Qi=!0);Qi&&e.drawBuffers(wi)}function Oe(kt){return R!==kt?(e.useProgram(kt),R=kt,!0):!1}let Ft={[Nc]:e.FUNC_ADD,[LP]:e.FUNC_SUBTRACT,[PP]:e.FUNC_REVERSE_SUBTRACT};Ft[tG]=e.MIN,Ft[iG]=e.MAX;let ge={[Ey]:e.ZERO,[MP]:e.ONE,[BP]:e.SRC_COLOR,[Gv]:e.SRC_ALPHA,[kP]:e.SRC_ALPHA_SATURATE,[GP]:e.DST_COLOR,[UP]:e.DST_ALPHA,[FP]:e.ONE_MINUS_SRC_COLOR,[Vv]:e.ONE_MINUS_SRC_ALPHA,[VP]:e.ONE_MINUS_DST_COLOR,[HP]:e.ONE_MINUS_DST_ALPHA,[Ete]:e.CONSTANT_COLOR,[Tte]:e.ONE_MINUS_CONSTANT_COLOR,[gte]:e.CONSTANT_ALPHA,[wte]:e.ONE_MINUS_CONSTANT_ALPHA};function Ue(kt,Gi,wi,Qi,Fi,Ci,cn,Un,hn,Rs){if(kt===Na){b===!0&&(Kt(e.BLEND),b=!1);return}if(b===!1&&(Vt(e.BLEND),b=!0),kt!==ow){if(kt!==A||Rs!==he){if((O!==Nc||Z!==Nc)&&(e.blendEquation(e.FUNC_ADD),O=Nc,Z=Nc),Rs)switch(kt){case Yc:e.blendFuncSeparate(e.ONE,e.ONE_MINUS_SRC_ALPHA,e.ONE,e.ONE_MINUS_SRC_ALPHA);break;case LT:e.blendFunc(e.ONE,e.ONE);break;case PT:e.blendFuncSeparate(e.ZERO,e.ONE_MINUS_SRC_COLOR,e.ZERO,e.ONE);break;case MT:e.blendFuncSeparate(e.DST_COLOR,e.ONE_MINUS_SRC_ALPHA,e.ZERO,e.ONE);break;default:yi("WebGLState: Invalid blending: ",kt);break}else switch(kt){case Yc:e.blendFuncSeparate(e.SRC_ALPHA,e.ONE_MINUS_SRC_ALPHA,e.ONE,e.ONE_MINUS_SRC_ALPHA);break;case LT:e.blendFuncSeparate(e.SRC_ALPHA,e.ONE,e.ONE,e.ONE);break;case PT:yi("WebGLState: SubtractiveBlending requires material.premultipliedAlpha = true");break;case MT:yi("WebGLState: MultiplyBlending requires material.premultipliedAlpha = true");break;default:yi("WebGLState: Invalid blending: ",kt);break}P=null,U=null,ne=null,K=null,oe.set(0,0,0),se=0,A=kt,he=Rs}return}Fi=Fi||Gi,Ci=Ci||wi,cn=cn||Qi,(Gi!==O||Fi!==Z)&&(e.blendEquationSeparate(Ft[Gi],Ft[Fi]),O=Gi,Z=Fi),(wi!==P||Qi!==U||Ci!==ne||cn!==K)&&(e.blendFuncSeparate(ge[wi],ge[Qi],ge[Ci],ge[cn]),P=wi,U=Qi,ne=Ci,K=cn),(Un.equals(oe)===!1||hn!==se)&&(e.blendColor(Un.r,Un.g,Un.b,hn),oe.copy(Un),se=hn),A=kt,he=!1}function Pe(kt,Gi){kt.side===so?Kt(e.CULL_FACE):Vt(e.CULL_FACE);let wi=kt.side===Js;Gi&&(wi=!wi),Me(wi),kt.blending===Yc&&kt.transparent===!1?Ue(Na):Ue(kt.blending,kt.blendEquation,kt.blendSrc,kt.blendDst,kt.blendEquationAlpha,kt.blendSrcAlpha,kt.blendDstAlpha,kt.blendColor,kt.blendAlpha,kt.premultipliedAlpha),r.setFunc(kt.depthFunc),r.setTest(kt.depthTest),r.setMask(kt.depthWrite),o.setMask(kt.colorWrite);let Qi=kt.stencilWrite;l.setTest(Qi),Qi&&(l.setMask(kt.stencilWriteMask),l.setFunc(kt.stencilFunc,kt.stencilRef,kt.stencilFuncMask),l.setOp(kt.stencilFail,kt.stencilZFail,kt.stencilZPass)),He(kt.polygonOffset,kt.polygonOffsetFactor,kt.polygonOffsetUnits),kt.alphaToCoverage===!0?Vt(e.SAMPLE_ALPHA_TO_COVERAGE):Kt(e.SAMPLE_ALPHA_TO_COVERAGE)}function Me(kt){Re!==kt&&(kt?e.frontFace(e.CW):e.frontFace(e.CCW),Re=kt)}function ze(kt){kt!==JH?(Vt(e.CULL_FACE),kt!==ee&&(kt===xP?e.cullFace(e.BACK):kt===XH?e.cullFace(e.FRONT):e.cullFace(e.FRONT_AND_BACK))):Kt(e.CULL_FACE),ee=kt}function pt(kt){kt!==Ae&&(qe&&e.lineWidth(kt),Ae=kt)}function He(kt,Gi,wi){kt?(Vt(e.POLYGON_OFFSET_FILL),(Ee!==Gi||Ce!==wi)&&(Ee=Gi,Ce=wi,r.getReversed()&&(Gi=-Gi),e.polygonOffset(Gi,wi))):Kt(e.POLYGON_OFFSET_FILL)}function At(kt){kt?Vt(e.SCISSOR_TEST):Kt(e.SCISSOR_TEST)}function Tt(kt){kt===void 0&&(kt=e.TEXTURE0+Qe-1),ke!==kt&&(e.activeTexture(kt),ke=kt)}function Lt(kt,Gi,wi){wi===void 0&&(ke===null?wi=e.TEXTURE0+Qe-1:wi=ke);let Qi=It[wi];Qi===void 0&&(Qi={type:void 0,texture:void 0},It[wi]=Qi),(Qi.type!==kt||Qi.texture!==Gi)&&(ke!==wi&&(e.activeTexture(wi),ke=wi),e.bindTexture(kt,Gi||ii[kt]),Qi.type=kt,Qi.texture=Gi)}function Ht(){let kt=It[ke];kt!==void 0&&kt.type!==void 0&&(e.bindTexture(kt.type,null),kt.type=void 0,kt.texture=void 0)}function ri(){try{e.compressedTexImage2D(...arguments)}catch(kt){yi("WebGLState:",kt)}}function Xe(){try{e.compressedTexImage3D(...arguments)}catch(kt){yi("WebGLState:",kt)}}function We(){try{e.texSubImage2D(...arguments)}catch(kt){yi("WebGLState:",kt)}}function Mt(){try{e.texSubImage3D(...arguments)}catch(kt){yi("WebGLState:",kt)}}function si(){try{e.compressedTexSubImage2D(...arguments)}catch(kt){yi("WebGLState:",kt)}}function gi(){try{e.compressedTexSubImage3D(...arguments)}catch(kt){yi("WebGLState:",kt)}}function mi(){try{e.texStorage2D(...arguments)}catch(kt){yi("WebGLState:",kt)}}function bi(){try{e.texStorage3D(...arguments)}catch(kt){yi("WebGLState:",kt)}}function Qt(){try{e.texImage2D(...arguments)}catch(kt){yi("WebGLState:",kt)}}function di(){try{e.texImage3D(...arguments)}catch(kt){yi("WebGLState:",kt)}}function Wi(kt){return I[kt]!==void 0?I[kt]:e.getParameter(kt)}function ki(kt,Gi){I[kt]!==Gi&&(e.pixelStorei(kt,Gi),I[kt]=Gi)}function Pi(kt){Zt.equals(kt)===!1&&(e.scissor(kt.x,kt.y,kt.z,kt.w),Zt.copy(kt))}function Di(kt){Ct.equals(kt)===!1&&(e.viewport(kt.x,kt.y,kt.z,kt.w),Ct.copy(kt))}function dn(kt,Gi){let wi=h.get(Gi);wi===void 0&&(wi=new WeakMap,h.set(Gi,wi));let Qi=wi.get(kt);Qi===void 0&&(Qi=e.getUniformBlockIndex(Gi,kt.name),wi.set(kt,Qi))}function Ln(kt,Gi){let Qi=h.get(Gi).get(kt);d.get(Gi)!==Qi&&(e.uniformBlockBinding(Gi,Qi,kt.__bindingPointIndex),d.set(Gi,Qi))}function Zi(){e.disable(e.BLEND),e.disable(e.CULL_FACE),e.disable(e.DEPTH_TEST),e.disable(e.POLYGON_OFFSET_FILL),e.disable(e.SCISSOR_TEST),e.disable(e.STENCIL_TEST),e.disable(e.SAMPLE_ALPHA_TO_COVERAGE),e.blendEquation(e.FUNC_ADD),e.blendFunc(e.ONE,e.ZERO),e.blendFuncSeparate(e.ONE,e.ZERO,e.ONE,e.ZERO),e.blendColor(0,0,0,0),e.colorMask(!0,!0,!0,!0),e.clearColor(0,0,0,0),e.depthMask(!0),e.depthFunc(e.LESS),r.setReversed(!1),e.clearDepth(1),e.stencilMask(4294967295),e.stencilFunc(e.ALWAYS,0,4294967295),e.stencilOp(e.KEEP,e.KEEP,e.KEEP),e.clearStencil(0),e.cullFace(e.BACK),e.frontFace(e.CCW),e.polygonOffset(0,0),e.activeTexture(e.TEXTURE0),e.bindFramebuffer(e.FRAMEBUFFER,null),e.bindFramebuffer(e.DRAW_FRAMEBUFFER,null),e.bindFramebuffer(e.READ_FRAMEBUFFER,null),e.useProgram(null),e.lineWidth(1),e.scissor(0,0,e.canvas.width,e.canvas.height),e.viewport(0,0,e.canvas.width,e.canvas.height),e.pixelStorei(e.PACK_ALIGNMENT,4),e.pixelStorei(e.UNPACK_ALIGNMENT,4),e.pixelStorei(e.UNPACK_FLIP_Y_WEBGL,!1),e.pixelStorei(e.UNPACK_PREMULTIPLY_ALPHA_WEBGL,!1),e.pixelStorei(e.UNPACK_COLORSPACE_CONVERSION_WEBGL,e.BROWSER_DEFAULT_WEBGL),e.pixelStorei(e.PACK_ROW_LENGTH,0),e.pixelStorei(e.PACK_SKIP_PIXELS,0),e.pixelStorei(e.PACK_SKIP_ROWS,0),e.pixelStorei(e.UNPACK_ROW_LENGTH,0),e.pixelStorei(e.UNPACK_IMAGE_HEIGHT,0),e.pixelStorei(e.UNPACK_SKIP_PIXELS,0),e.pixelStorei(e.UNPACK_SKIP_ROWS,0),e.pixelStorei(e.UNPACK_SKIP_IMAGES,0),p={},I={},ke=null,It={},m={},y=new WeakMap,T=[],R=null,b=!1,A=null,O=null,P=null,U=null,Z=null,ne=null,K=null,oe=new Oi(0,0,0),se=0,he=!1,Re=null,ee=null,Ae=null,Ee=null,Ce=null,Zt.set(0,0,e.canvas.width,e.canvas.height),Ct.set(0,0,e.canvas.width,e.canvas.height),o.reset(),r.reset(),l.reset()}return{buffers:{color:o,depth:r,stencil:l},enable:Vt,disable:Kt,bindFramebuffer:ui,drawBuffers:jt,useProgram:Oe,setBlending:Ue,setMaterial:Pe,setFlipSided:Me,setCullFace:ze,setLineWidth:pt,setPolygonOffset:He,setScissorTest:At,activeTexture:Tt,bindTexture:Lt,unbindTexture:Ht,compressedTexImage2D:ri,compressedTexImage3D:Xe,texImage2D:Qt,texImage3D:di,pixelStorei:ki,getParameter:Wi,updateUBOMapping:dn,uniformBlockBinding:Ln,texStorage2D:mi,texStorage3D:bi,texSubImage2D:We,texSubImage3D:Mt,compressedTexSubImage2D:si,compressedTexSubImage3D:gi,scissor:Pi,viewport:Di,reset:Zi}}function tDe(e,t,i,n,s,o,r){let l=t.has("WEBGL_multisampled_render_to_texture")?t.get("WEBGL_multisampled_render_to_texture"):null,d=typeof navigator>"u"?!1:/OculusBrowser/g.test(navigator.userAgent),h=new hi,p=new WeakMap,I=new Set,m,y=new WeakMap,T=!1;try{T=typeof OffscreenCanvas<"u"&&new OffscreenCanvas(1,1).getContext("2d")!==null}catch{}function R(Xe,We){return T?new OffscreenCanvas(Xe,We):lP("canvas")}function b(Xe,We,Mt){let si=1,gi=ri(Xe);if((gi.width>Mt||gi.height>Mt)&&(si=Mt/Math.max(gi.width,gi.height)),si<1)if(typeof HTMLImageElement<"u"&&Xe instanceof HTMLImageElement||typeof HTMLCanvasElement<"u"&&Xe instanceof HTMLCanvasElement||typeof ImageBitmap<"u"&&Xe instanceof ImageBitmap||typeof VideoFrame<"u"&&Xe instanceof VideoFrame){let mi=Math.floor(si*gi.width),bi=Math.floor(si*gi.height);m===void 0&&(m=R(mi,bi));let Qt=We?R(mi,bi):m;return Qt.width=mi,Qt.height=bi,Qt.getContext("2d").drawImage(Xe,0,0,mi,bi),ci("WebGLRenderer: Texture has been resized from ("+gi.width+"x"+gi.height+") to ("+mi+"x"+bi+")."),Qt}else return"data"in Xe&&ci("WebGLRenderer: Image in DataTexture is too big ("+gi.width+"x"+gi.height+")."),Xe;return Xe}function A(Xe){return Xe.generateMipmaps}function O(Xe){e.generateMipmap(Xe)}function P(Xe){return Xe.isWebGLCubeRenderTarget?e.TEXTURE_CUBE_MAP:Xe.isWebGL3DRenderTarget?e.TEXTURE_3D:Xe.isWebGLArrayRenderTarget||Xe.isCompressedArrayTexture?e.TEXTURE_2D_ARRAY:e.TEXTURE_2D}function U(Xe,We,Mt,si,gi,mi=!1){if(Xe!==null){if(e[Xe]!==void 0)return e[Xe];ci("WebGLRenderer: Attempt to use non-existing WebGL internal format '"+Xe+"'")}let bi;si&&(bi=t.get("EXT_texture_norm16"),bi||ci("WebGLRenderer: Unable to use normalized textures without EXT_texture_norm16 extension"));let Qt=We;if(We===e.RED&&(Mt===e.FLOAT&&(Qt=e.R32F),Mt===e.HALF_FLOAT&&(Qt=e.R16F),Mt===e.UNSIGNED_BYTE&&(Qt=e.R8),Mt===e.UNSIGNED_SHORT&&bi&&(Qt=bi.R16_EXT),Mt===e.SHORT&&bi&&(Qt=bi.R16_SNORM_EXT)),We===e.RED_INTEGER&&(Mt===e.UNSIGNED_BYTE&&(Qt=e.R8UI),Mt===e.UNSIGNED_SHORT&&(Qt=e.R16UI),Mt===e.UNSIGNED_INT&&(Qt=e.R32UI),Mt===e.BYTE&&(Qt=e.R8I),Mt===e.SHORT&&(Qt=e.R16I),Mt===e.INT&&(Qt=e.R32I)),We===e.RG&&(Mt===e.FLOAT&&(Qt=e.RG32F),Mt===e.HALF_FLOAT&&(Qt=e.RG16F),Mt===e.UNSIGNED_BYTE&&(Qt=e.RG8),Mt===e.UNSIGNED_SHORT&&bi&&(Qt=bi.RG16_EXT),Mt===e.SHORT&&bi&&(Qt=bi.RG16_SNORM_EXT)),We===e.RG_INTEGER&&(Mt===e.UNSIGNED_BYTE&&(Qt=e.RG8UI),Mt===e.UNSIGNED_SHORT&&(Qt=e.RG16UI),Mt===e.UNSIGNED_INT&&(Qt=e.RG32UI),Mt===e.BYTE&&(Qt=e.RG8I),Mt===e.SHORT&&(Qt=e.RG16I),Mt===e.INT&&(Qt=e.RG32I)),We===e.RGB_INTEGER&&(Mt===e.UNSIGNED_BYTE&&(Qt=e.RGB8UI),Mt===e.UNSIGNED_SHORT&&(Qt=e.RGB16UI),Mt===e.UNSIGNED_INT&&(Qt=e.RGB32UI),Mt===e.BYTE&&(Qt=e.RGB8I),Mt===e.SHORT&&(Qt=e.RGB16I),Mt===e.INT&&(Qt=e.RGB32I)),We===e.RGBA_INTEGER&&(Mt===e.UNSIGNED_BYTE&&(Qt=e.RGBA8UI),Mt===e.UNSIGNED_SHORT&&(Qt=e.RGBA16UI),Mt===e.UNSIGNED_INT&&(Qt=e.RGBA32UI),Mt===e.BYTE&&(Qt=e.RGBA8I),Mt===e.SHORT&&(Qt=e.RGBA16I),Mt===e.INT&&(Qt=e.RGBA32I)),We===e.RGB&&(Mt===e.UNSIGNED_SHORT&&bi&&(Qt=bi.RGB16_EXT),Mt===e.SHORT&&bi&&(Qt=bi.RGB16_SNORM_EXT),Mt===e.UNSIGNED_INT_5_9_9_9_REV&&(Qt=e.RGB9_E5),Mt===e.UNSIGNED_INT_10F_11F_11F_REV&&(Qt=e.R11F_G11F_B10F)),We===e.RGBA){let di=mi?zv:Hn.getTransfer(gi);Mt===e.FLOAT&&(Qt=e.RGBA32F),Mt===e.HALF_FLOAT&&(Qt=e.RGBA16F),Mt===e.UNSIGNED_BYTE&&(Qt=di===pn?e.SRGB8_ALPHA8:e.RGBA8),Mt===e.UNSIGNED_SHORT&&bi&&(Qt=bi.RGBA16_EXT),Mt===e.SHORT&&bi&&(Qt=bi.RGBA16_SNORM_EXT),Mt===e.UNSIGNED_SHORT_4_4_4_4&&(Qt=e.RGBA4),Mt===e.UNSIGNED_SHORT_5_5_5_1&&(Qt=e.RGB5_A1)}return(Qt===e.R16F||Qt===e.R32F||Qt===e.RG16F||Qt===e.RG32F||Qt===e.RGBA16F||Qt===e.RGBA32F)&&t.get("EXT_color_buffer_float"),Qt}function Z(Xe,We){let Mt;return Xe?We===null||We===co||We===yh?Mt=e.DEPTH24_STENCIL8:We===Ro?Mt=e.DEPTH32F_STENCIL8:We===mh&&(Mt=e.DEPTH24_STENCIL8,ci("DepthTexture: 16 bit depth attachment is not supported with stencil. Using 24-bit attachment.")):We===null||We===co||We===yh?Mt=e.DEPTH_COMPONENT24:We===Ro?Mt=e.DEPTH_COMPONENT32F:We===mh&&(Mt=e.DEPTH_COMPONENT16),Mt}function ne(Xe,We){return A(Xe)===!0||Xe.isFramebufferTexture&&Xe.minFilter!==Vs&&Xe.minFilter!==Us?Math.log2(Math.max(We.width,We.height))+1:Xe.mipmaps!==void 0&&Xe.mipmaps.length>0?Xe.mipmaps.length:Xe.isCompressedTexture&&Array.isArray(Xe.image)?We.mipmaps.length:1}function K(Xe){let We=Xe.target;We.removeEventListener("dispose",K),se(We),We.isVideoTexture&&p.delete(We),We.isHTMLTexture&&I.delete(We)}function oe(Xe){let We=Xe.target;We.removeEventListener("dispose",oe),Re(We)}function se(Xe){let We=n.get(Xe);if(We.__webglInit===void 0)return;let Mt=Xe.source,si=y.get(Mt);if(si){let gi=si[We.__cacheKey];gi.usedTimes--,gi.usedTimes===0&&he(Xe),Object.keys(si).length===0&&y.delete(Mt)}n.remove(Xe)}function he(Xe){let We=n.get(Xe);e.deleteTexture(We.__webglTexture);let Mt=Xe.source,si=y.get(Mt);delete si[We.__cacheKey],r.memory.textures--}function Re(Xe){let We=n.get(Xe);if(Xe.depthTexture&&(Xe.depthTexture.dispose(),n.remove(Xe.depthTexture)),Xe.isWebGLCubeRenderTarget)for(let si=0;si<6;si++){if(Array.isArray(We.__webglFramebuffer[si]))for(let gi=0;gi<We.__webglFramebuffer[si].length;gi++)e.deleteFramebuffer(We.__webglFramebuffer[si][gi]);else e.deleteFramebuffer(We.__webglFramebuffer[si]);We.__webglDepthbuffer&&e.deleteRenderbuffer(We.__webglDepthbuffer[si])}else{if(Array.isArray(We.__webglFramebuffer))for(let si=0;si<We.__webglFramebuffer.length;si++)e.deleteFramebuffer(We.__webglFramebuffer[si]);else e.deleteFramebuffer(We.__webglFramebuffer);if(We.__webglDepthbuffer&&e.deleteRenderbuffer(We.__webglDepthbuffer),We.__webglMultisampledFramebuffer&&e.deleteFramebuffer(We.__webglMultisampledFramebuffer),We.__webglColorRenderbuffer)for(let si=0;si<We.__webglColorRenderbuffer.length;si++)We.__webglColorRenderbuffer[si]&&e.deleteRenderbuffer(We.__webglColorRenderbuffer[si]);We.__webglDepthRenderbuffer&&e.deleteRenderbuffer(We.__webglDepthRenderbuffer)}let Mt=Xe.textures;for(let si=0,gi=Mt.length;si<gi;si++){let mi=n.get(Mt[si]);mi.__webglTexture&&(e.deleteTexture(mi.__webglTexture),r.memory.textures--),n.remove(Mt[si])}n.remove(Xe)}let ee=0;function Ae(){ee=0}function Ee(){return ee}function Ce(Xe){ee=Xe}function Qe(){let Xe=ee;return Xe>=s.maxTextures&&ci("WebGLTextures: Trying to use "+Xe+" texture units while this GPU supports only "+s.maxTextures),ee+=1,Xe}function qe(Xe){let We=[];return We.push(Xe.wrapS),We.push(Xe.wrapT),We.push(Xe.wrapR||0),We.push(Xe.magFilter),We.push(Xe.minFilter),We.push(Xe.anisotropy),We.push(Xe.internalFormat),We.push(Xe.format),We.push(Xe.type),We.push(Xe.generateMipmaps),We.push(Xe.premultiplyAlpha),We.push(Xe.flipY),We.push(Xe.unpackAlignment),We.push(Xe.colorSpace),We.join()}function St(Xe,We){let Mt=n.get(Xe);if(Xe.isVideoTexture&&Lt(Xe),Xe.isRenderTargetTexture===!1&&Xe.isExternalTexture!==!0&&Xe.version>0&&Mt.__version!==Xe.version){let si=Xe.image;if(si===null)ci("WebGLRenderer: Texture marked for update but no image data found.");else if(si.complete===!1)ci("WebGLRenderer: Texture marked for update but image is incomplete");else{Kt(Mt,Xe,We);return}}else Xe.isExternalTexture&&(Mt.__webglTexture=Xe.sourceTexture?Xe.sourceTexture:null);i.bindTexture(e.TEXTURE_2D,Mt.__webglTexture,e.TEXTURE0+We)}function $e(Xe,We){let Mt=n.get(Xe);if(Xe.isRenderTargetTexture===!1&&Xe.version>0&&Mt.__version!==Xe.version){Kt(Mt,Xe,We);return}else Xe.isExternalTexture&&(Mt.__webglTexture=Xe.sourceTexture?Xe.sourceTexture:null);i.bindTexture(e.TEXTURE_2D_ARRAY,Mt.__webglTexture,e.TEXTURE0+We)}function ke(Xe,We){let Mt=n.get(Xe);if(Xe.isRenderTargetTexture===!1&&Xe.version>0&&Mt.__version!==Xe.version){Kt(Mt,Xe,We);return}i.bindTexture(e.TEXTURE_3D,Mt.__webglTexture,e.TEXTURE0+We)}function It(Xe,We){let Mt=n.get(Xe);if(Xe.isCubeDepthTexture!==!0&&Xe.version>0&&Mt.__version!==Xe.version){ui(Mt,Xe,We);return}i.bindTexture(e.TEXTURE_CUBE_MAP,Mt.__webglTexture,e.TEXTURE0+We)}let ft={[bT]:e.REPEAT,[_u]:e.CLAMP_TO_EDGE,[NT]:e.MIRRORED_REPEAT},Dt={[Vs]:e.NEAREST,[CC]:e.NEAREST_MIPMAP_NEAREST,[Om]:e.NEAREST_MIPMAP_LINEAR,[Us]:e.LINEAR,[aw]:e.LINEAR_MIPMAP_NEAREST,[qc]:e.LINEAR_MIPMAP_LINEAR},Zt={[KP]:e.NEVER,[XP]:e.ALWAYS,[OC]:e.LESS,[jT]:e.LEQUAL,[QP]:e.EQUAL,[Ty]:e.GEQUAL,[Jb]:e.GREATER,[JP]:e.NOTEQUAL};function Ct(Xe,We){if(We.type===Ro&&t.has("OES_texture_float_linear")===!1&&(We.magFilter===Us||We.magFilter===aw||We.magFilter===Om||We.magFilter===qc||We.minFilter===Us||We.minFilter===aw||We.minFilter===Om||We.minFilter===qc)&&ci("WebGLRenderer: Unable to use linear filtering with floating point textures. OES_texture_float_linear not supported on this device."),e.texParameteri(Xe,e.TEXTURE_WRAP_S,ft[We.wrapS]),e.texParameteri(Xe,e.TEXTURE_WRAP_T,ft[We.wrapT]),(Xe===e.TEXTURE_3D||Xe===e.TEXTURE_2D_ARRAY)&&e.texParameteri(Xe,e.TEXTURE_WRAP_R,ft[We.wrapR]),e.texParameteri(Xe,e.TEXTURE_MAG_FILTER,Dt[We.magFilter]),e.texParameteri(Xe,e.TEXTURE_MIN_FILTER,Dt[We.minFilter]),We.compareFunction&&(e.texParameteri(Xe,e.TEXTURE_COMPARE_MODE,e.COMPARE_REF_TO_TEXTURE),e.texParameteri(Xe,e.TEXTURE_COMPARE_FUNC,Zt[We.compareFunction])),t.has("EXT_texture_filter_anisotropic")===!0){if(We.magFilter===Vs||We.minFilter!==Om&&We.minFilter!==qc||We.type===Ro&&t.has("OES_texture_float_linear")===!1)return;if(We.anisotropy>1||n.get(We).__currentAnisotropy){let Mt=t.get("EXT_texture_filter_anisotropic");e.texParameterf(Xe,Mt.TEXTURE_MAX_ANISOTROPY_EXT,Math.min(We.anisotropy,s.getMaxAnisotropy())),n.get(We).__currentAnisotropy=We.anisotropy}}}function Ut(Xe,We){let Mt=!1;Xe.__webglInit===void 0&&(Xe.__webglInit=!0,We.addEventListener("dispose",K));let si=We.source,gi=y.get(si);gi===void 0&&(gi={},y.set(si,gi));let mi=qe(We);if(mi!==Xe.__cacheKey){gi[mi]===void 0&&(gi[mi]={texture:e.createTexture(),usedTimes:0},r.memory.textures++,Mt=!0),gi[mi].usedTimes++;let bi=gi[Xe.__cacheKey];bi!==void 0&&(gi[Xe.__cacheKey].usedTimes--,bi.usedTimes===0&&he(We)),Xe.__cacheKey=mi,Xe.__webglTexture=gi[mi].texture}return Mt}function ii(Xe,We,Mt){return Math.floor(Math.floor(Xe/Mt)/We)}function Vt(Xe,We,Mt,si){let mi=Xe.updateRanges;if(mi.length===0)i.texSubImage2D(e.TEXTURE_2D,0,0,0,We.width,We.height,Mt,si,We.data);else{mi.sort((ki,Pi)=>ki.start-Pi.start);let bi=0;for(let ki=1;ki<mi.length;ki++){let Pi=mi[bi],Di=mi[ki],dn=Pi.start+Pi.count,Ln=ii(Di.start,We.width,4),Zi=ii(Pi.start,We.width,4);Di.start<=dn+1&&Ln===Zi&&ii(Di.start+Di.count-1,We.width,4)===Ln?Pi.count=Math.max(Pi.count,Di.start+Di.count-Pi.start):(++bi,mi[bi]=Di)}mi.length=bi+1;let Qt=i.getParameter(e.UNPACK_ROW_LENGTH),di=i.getParameter(e.UNPACK_SKIP_PIXELS),Wi=i.getParameter(e.UNPACK_SKIP_ROWS);i.pixelStorei(e.UNPACK_ROW_LENGTH,We.width);for(let ki=0,Pi=mi.length;ki<Pi;ki++){let Di=mi[ki],dn=Math.floor(Di.start/4),Ln=Math.ceil(Di.count/4),Zi=dn%We.width,kt=Math.floor(dn/We.width),Gi=Ln,wi=1;i.pixelStorei(e.UNPACK_SKIP_PIXELS,Zi),i.pixelStorei(e.UNPACK_SKIP_ROWS,kt),i.texSubImage2D(e.TEXTURE_2D,0,Zi,kt,Gi,wi,Mt,si,We.data)}Xe.clearUpdateRanges(),i.pixelStorei(e.UNPACK_ROW_LENGTH,Qt),i.pixelStorei(e.UNPACK_SKIP_PIXELS,di),i.pixelStorei(e.UNPACK_SKIP_ROWS,Wi)}}function Kt(Xe,We,Mt){let si=e.TEXTURE_2D;(We.isDataArrayTexture||We.isCompressedArrayTexture)&&(si=e.TEXTURE_2D_ARRAY),We.isData3DTexture&&(si=e.TEXTURE_3D);let gi=Ut(Xe,We),mi=We.source;i.bindTexture(si,Xe.__webglTexture,e.TEXTURE0+Mt);let bi=n.get(mi);if(mi.version!==bi.__version||gi===!0){if(i.activeTexture(e.TEXTURE0+Mt),(typeof ImageBitmap<"u"&&We.image instanceof ImageBitmap)===!1){let wi=Hn.getPrimaries(Hn.workingColorSpace),Qi=We.colorSpace===Eh?null:Hn.getPrimaries(We.colorSpace),Fi=We.colorSpace===Eh||wi===Qi?e.NONE:e.BROWSER_DEFAULT_WEBGL;i.pixelStorei(e.UNPACK_FLIP_Y_WEBGL,We.flipY),i.pixelStorei(e.UNPACK_PREMULTIPLY_ALPHA_WEBGL,We.premultiplyAlpha),i.pixelStorei(e.UNPACK_COLORSPACE_CONVERSION_WEBGL,Fi)}i.pixelStorei(e.UNPACK_ALIGNMENT,We.unpackAlignment);let di=b(We.image,!1,s.maxTextureSize);di=Ht(We,di);let Wi=o.convert(We.format,We.colorSpace),ki=o.convert(We.type),Pi=U(We.internalFormat,Wi,ki,We.normalized,We.colorSpace,We.isVideoTexture);Ct(si,We);let Di,dn=We.mipmaps,Ln=We.isVideoTexture!==!0,Zi=bi.__version===void 0||gi===!0,kt=mi.dataReady,Gi=ne(We,di);if(We.isDepthTexture)Pi=Z(We.format===$c,We.type),Zi&&(Ln?i.texStorage2D(e.TEXTURE_2D,1,Pi,di.width,di.height):i.texImage2D(e.TEXTURE_2D,0,Pi,di.width,di.height,0,Wi,ki,null));else if(We.isDataTexture)if(dn.length>0){Ln&&Zi&&i.texStorage2D(e.TEXTURE_2D,Gi,Pi,dn[0].width,dn[0].height);for(let wi=0,Qi=dn.length;wi<Qi;wi++)Di=dn[wi],Ln?kt&&i.texSubImage2D(e.TEXTURE_2D,wi,0,0,Di.width,Di.height,Wi,ki,Di.data):i.texImage2D(e.TEXTURE_2D,wi,Pi,Di.width,Di.height,0,Wi,ki,Di.data);We.generateMipmaps=!1}else Ln?(Zi&&i.texStorage2D(e.TEXTURE_2D,Gi,Pi,di.width,di.height),kt&&Vt(We,di,Wi,ki)):i.texImage2D(e.TEXTURE_2D,0,Pi,di.width,di.height,0,Wi,ki,di.data);else if(We.isCompressedTexture)if(We.isCompressedArrayTexture){Ln&&Zi&&i.texStorage3D(e.TEXTURE_2D_ARRAY,Gi,Pi,dn[0].width,dn[0].height,di.depth);for(let wi=0,Qi=dn.length;wi<Qi;wi++)if(Di=dn[wi],We.format!==Ko)if(Wi!==null)if(Ln){if(kt)if(We.layerUpdates.size>0){let Fi=t7(Di.width,Di.height,We.format,We.type);for(let Ci of We.layerUpdates){let cn=Di.data.subarray(Ci*Fi/Di.data.BYTES_PER_ELEMENT,(Ci+1)*Fi/Di.data.BYTES_PER_ELEMENT);i.compressedTexSubImage3D(e.TEXTURE_2D_ARRAY,wi,0,0,Ci,Di.width,Di.height,1,Wi,cn)}We.clearLayerUpdates()}else i.compressedTexSubImage3D(e.TEXTURE_2D_ARRAY,wi,0,0,0,Di.width,Di.height,di.depth,Wi,Di.data)}else i.compressedTexImage3D(e.TEXTURE_2D_ARRAY,wi,Pi,Di.width,Di.height,di.depth,0,Di.data,0,0);else ci("WebGLRenderer: Attempt to load unsupported compressed texture format in .uploadTexture()");else Ln?kt&&i.texSubImage3D(e.TEXTURE_2D_ARRAY,wi,0,0,0,Di.width,Di.height,di.depth,Wi,ki,Di.data):i.texImage3D(e.TEXTURE_2D_ARRAY,wi,Pi,Di.width,Di.height,di.depth,0,Wi,ki,Di.data)}else{Ln&&Zi&&i.texStorage2D(e.TEXTURE_2D,Gi,Pi,dn[0].width,dn[0].height);for(let wi=0,Qi=dn.length;wi<Qi;wi++)Di=dn[wi],We.format!==Ko?Wi!==null?Ln?kt&&i.compressedTexSubImage2D(e.TEXTURE_2D,wi,0,0,Di.width,Di.height,Wi,Di.data):i.compressedTexImage2D(e.TEXTURE_2D,wi,Pi,Di.width,Di.height,0,Di.data):ci("WebGLRenderer: Attempt to load unsupported compressed texture format in .uploadTexture()"):Ln?kt&&i.texSubImage2D(e.TEXTURE_2D,wi,0,0,Di.width,Di.height,Wi,ki,Di.data):i.texImage2D(e.TEXTURE_2D,wi,Pi,Di.width,Di.height,0,Wi,ki,Di.data)}else if(We.isDataArrayTexture)if(Ln){if(Zi&&i.texStorage3D(e.TEXTURE_2D_ARRAY,Gi,Pi,di.width,di.height,di.depth),kt)if(We.layerUpdates.size>0){let wi=t7(di.width,di.height,We.format,We.type);for(let Qi of We.layerUpdates){let Fi=di.data.subarray(Qi*wi/di.data.BYTES_PER_ELEMENT,(Qi+1)*wi/di.data.BYTES_PER_ELEMENT);i.texSubImage3D(e.TEXTURE_2D_ARRAY,0,0,0,Qi,di.width,di.height,1,Wi,ki,Fi)}We.clearLayerUpdates()}else i.texSubImage3D(e.TEXTURE_2D_ARRAY,0,0,0,0,di.width,di.height,di.depth,Wi,ki,di.data)}else i.texImage3D(e.TEXTURE_2D_ARRAY,0,Pi,di.width,di.height,di.depth,0,Wi,ki,di.data);else if(We.isData3DTexture)Ln?(Zi&&i.texStorage3D(e.TEXTURE_3D,Gi,Pi,di.width,di.height,di.depth),kt&&i.texSubImage3D(e.TEXTURE_3D,0,0,0,0,di.width,di.height,di.depth,Wi,ki,di.data)):i.texImage3D(e.TEXTURE_3D,0,Pi,di.width,di.height,di.depth,0,Wi,ki,di.data);else if(We.isFramebufferTexture){if(Zi)if(Ln)i.texStorage2D(e.TEXTURE_2D,Gi,Pi,di.width,di.height);else{let wi=di.width,Qi=di.height;for(let Fi=0;Fi<Gi;Fi++)i.texImage2D(e.TEXTURE_2D,Fi,Pi,wi,Qi,0,Wi,ki,null),wi>>=1,Qi>>=1}}else if(We.isHTMLTexture){if("texElementImage2D"in e){let wi=e.canvas;if(wi.hasAttribute("layoutsubtree")||wi.setAttribute("layoutsubtree","true"),di.parentNode!==wi){wi.appendChild(di),I.add(We),wi.onpaint=Un=>{let hn=Un.changedElements;for(let Rs of I)hn.includes(Rs.image)&&(Rs.needsUpdate=!0)},wi.requestPaint();return}let Qi=0,Fi=e.RGBA,Ci=e.RGBA,cn=e.UNSIGNED_BYTE;e.texElementImage2D(e.TEXTURE_2D,Qi,Fi,Ci,cn,di),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,e.LINEAR),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_S,e.CLAMP_TO_EDGE),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_T,e.CLAMP_TO_EDGE)}}else if(dn.length>0){if(Ln&&Zi){let wi=ri(dn[0]);i.texStorage2D(e.TEXTURE_2D,Gi,Pi,wi.width,wi.height)}for(let wi=0,Qi=dn.length;wi<Qi;wi++)Di=dn[wi],Ln?kt&&i.texSubImage2D(e.TEXTURE_2D,wi,0,0,Wi,ki,Di):i.texImage2D(e.TEXTURE_2D,wi,Pi,Wi,ki,Di);We.generateMipmaps=!1}else if(Ln){if(Zi){let wi=ri(di);i.texStorage2D(e.TEXTURE_2D,Gi,Pi,wi.width,wi.height)}kt&&i.texSubImage2D(e.TEXTURE_2D,0,0,0,Wi,ki,di)}else i.texImage2D(e.TEXTURE_2D,0,Pi,Wi,ki,di);A(We)&&O(si),bi.__version=mi.version,We.onUpdate&&We.onUpdate(We)}Xe.__version=We.version}function ui(Xe,We,Mt){if(We.image.length!==6)return;let si=Ut(Xe,We),gi=We.source;i.bindTexture(e.TEXTURE_CUBE_MAP,Xe.__webglTexture,e.TEXTURE0+Mt);let mi=n.get(gi);if(gi.version!==mi.__version||si===!0){i.activeTexture(e.TEXTURE0+Mt);let bi=Hn.getPrimaries(Hn.workingColorSpace),Qt=We.colorSpace===Eh?null:Hn.getPrimaries(We.colorSpace),di=We.colorSpace===Eh||bi===Qt?e.NONE:e.BROWSER_DEFAULT_WEBGL;i.pixelStorei(e.UNPACK_FLIP_Y_WEBGL,We.flipY),i.pixelStorei(e.UNPACK_PREMULTIPLY_ALPHA_WEBGL,We.premultiplyAlpha),i.pixelStorei(e.UNPACK_ALIGNMENT,We.unpackAlignment),i.pixelStorei(e.UNPACK_COLORSPACE_CONVERSION_WEBGL,di);let Wi=We.isCompressedTexture||We.image[0].isCompressedTexture,ki=We.image[0]&&We.image[0].isDataTexture,Pi=[];for(let Ci=0;Ci<6;Ci++)!Wi&&!ki?Pi[Ci]=b(We.image[Ci],!0,s.maxCubemapSize):Pi[Ci]=ki?We.image[Ci].image:We.image[Ci],Pi[Ci]=Ht(We,Pi[Ci]);let Di=Pi[0],dn=o.convert(We.format,We.colorSpace),Ln=o.convert(We.type),Zi=U(We.internalFormat,dn,Ln,We.normalized,We.colorSpace),kt=We.isVideoTexture!==!0,Gi=mi.__version===void 0||si===!0,wi=gi.dataReady,Qi=ne(We,Di);Ct(e.TEXTURE_CUBE_MAP,We);let Fi;if(Wi){kt&&Gi&&i.texStorage2D(e.TEXTURE_CUBE_MAP,Qi,Zi,Di.width,Di.height);for(let Ci=0;Ci<6;Ci++){Fi=Pi[Ci].mipmaps;for(let cn=0;cn<Fi.length;cn++){let Un=Fi[cn];We.format!==Ko?dn!==null?kt?wi&&i.compressedTexSubImage2D(e.TEXTURE_CUBE_MAP_POSITIVE_X+Ci,cn,0,0,Un.width,Un.height,dn,Un.data):i.compressedTexImage2D(e.TEXTURE_CUBE_MAP_POSITIVE_X+Ci,cn,Zi,Un.width,Un.height,0,Un.data):ci("WebGLRenderer: Attempt to load unsupported compressed texture format in .setTextureCube()"):kt?wi&&i.texSubImage2D(e.TEXTURE_CUBE_MAP_POSITIVE_X+Ci,cn,0,0,Un.width,Un.height,dn,Ln,Un.data):i.texImage2D(e.TEXTURE_CUBE_MAP_POSITIVE_X+Ci,cn,Zi,Un.width,Un.height,0,dn,Ln,Un.data)}}}else{if(Fi=We.mipmaps,kt&&Gi){Fi.length>0&&Qi++;let Ci=ri(Pi[0]);i.texStorage2D(e.TEXTURE_CUBE_MAP,Qi,Zi,Ci.width,Ci.height)}for(let Ci=0;Ci<6;Ci++)if(ki){kt?wi&&i.texSubImage2D(e.TEXTURE_CUBE_MAP_POSITIVE_X+Ci,0,0,0,Pi[Ci].width,Pi[Ci].height,dn,Ln,Pi[Ci].data):i.texImage2D(e.TEXTURE_CUBE_MAP_POSITIVE_X+Ci,0,Zi,Pi[Ci].width,Pi[Ci].height,0,dn,Ln,Pi[Ci].data);for(let cn=0;cn<Fi.length;cn++){let hn=Fi[cn].image[Ci].image;kt?wi&&i.texSubImage2D(e.TEXTURE_CUBE_MAP_POSITIVE_X+Ci,cn+1,0,0,hn.width,hn.height,dn,Ln,hn.data):i.texImage2D(e.TEXTURE_CUBE_MAP_POSITIVE_X+Ci,cn+1,Zi,hn.width,hn.height,0,dn,Ln,hn.data)}}else{kt?wi&&i.texSubImage2D(e.TEXTURE_CUBE_MAP_POSITIVE_X+Ci,0,0,0,dn,Ln,Pi[Ci]):i.texImage2D(e.TEXTURE_CUBE_MAP_POSITIVE_X+Ci,0,Zi,dn,Ln,Pi[Ci]);for(let cn=0;cn<Fi.length;cn++){let Un=Fi[cn];kt?wi&&i.texSubImage2D(e.TEXTURE_CUBE_MAP_POSITIVE_X+Ci,cn+1,0,0,dn,Ln,Un.image[Ci]):i.texImage2D(e.TEXTURE_CUBE_MAP_POSITIVE_X+Ci,cn+1,Zi,dn,Ln,Un.image[Ci])}}}A(We)&&O(e.TEXTURE_CUBE_MAP),mi.__version=gi.version,We.onUpdate&&We.onUpdate(We)}Xe.__version=We.version}function jt(Xe,We,Mt,si,gi,mi){let bi=o.convert(Mt.format,Mt.colorSpace),Qt=o.convert(Mt.type),di=U(Mt.internalFormat,bi,Qt,Mt.normalized,Mt.colorSpace),Wi=n.get(We),ki=n.get(Mt);if(ki.__renderTarget=We,!Wi.__hasExternalTextures){let Pi=Math.max(1,We.width>>mi),Di=Math.max(1,We.height>>mi);gi===e.TEXTURE_3D||gi===e.TEXTURE_2D_ARRAY?i.texImage3D(gi,mi,di,Pi,Di,We.depth,0,bi,Qt,null):i.texImage2D(gi,mi,di,Pi,Di,0,bi,Qt,null)}i.bindFramebuffer(e.FRAMEBUFFER,Xe),Tt(We)?l.framebufferTexture2DMultisampleEXT(e.FRAMEBUFFER,si,gi,ki.__webglTexture,0,At(We)):(gi===e.TEXTURE_2D||gi>=e.TEXTURE_CUBE_MAP_POSITIVE_X&&gi<=e.TEXTURE_CUBE_MAP_NEGATIVE_Z)&&e.framebufferTexture2D(e.FRAMEBUFFER,si,gi,ki.__webglTexture,mi),i.bindFramebuffer(e.FRAMEBUFFER,null)}function Oe(Xe,We,Mt){if(e.bindRenderbuffer(e.RENDERBUFFER,Xe),We.depthBuffer){let si=We.depthTexture,gi=si&&si.isDepthTexture?si.type:null,mi=Z(We.stencilBuffer,gi),bi=We.stencilBuffer?e.DEPTH_STENCIL_ATTACHMENT:e.DEPTH_ATTACHMENT;Tt(We)?l.renderbufferStorageMultisampleEXT(e.RENDERBUFFER,At(We),mi,We.width,We.height):Mt?e.renderbufferStorageMultisample(e.RENDERBUFFER,At(We),mi,We.width,We.height):e.renderbufferStorage(e.RENDERBUFFER,mi,We.width,We.height),e.framebufferRenderbuffer(e.FRAMEBUFFER,bi,e.RENDERBUFFER,Xe)}else{let si=We.textures;for(let gi=0;gi<si.length;gi++){let mi=si[gi],bi=o.convert(mi.format,mi.colorSpace),Qt=o.convert(mi.type),di=U(mi.internalFormat,bi,Qt,mi.normalized,mi.colorSpace);Tt(We)?l.renderbufferStorageMultisampleEXT(e.RENDERBUFFER,At(We),di,We.width,We.height):Mt?e.renderbufferStorageMultisample(e.RENDERBUFFER,At(We),di,We.width,We.height):e.renderbufferStorage(e.RENDERBUFFER,di,We.width,We.height)}}e.bindRenderbuffer(e.RENDERBUFFER,null)}function Ft(Xe,We,Mt){let si=We.isWebGLCubeRenderTarget===!0;if(i.bindFramebuffer(e.FRAMEBUFFER,Xe),!(We.depthTexture&&We.depthTexture.isDepthTexture))throw new Error("renderTarget.depthTexture must be an instance of THREE.DepthTexture");let gi=n.get(We.depthTexture);if(gi.__renderTarget=We,(!gi.__webglTexture||We.depthTexture.image.width!==We.width||We.depthTexture.image.height!==We.height)&&(We.depthTexture.image.width=We.width,We.depthTexture.image.height=We.height,We.depthTexture.needsUpdate=!0),si){if(gi.__webglInit===void 0&&(gi.__webglInit=!0,We.depthTexture.addEventListener("dispose",K)),gi.__webglTexture===void 0){gi.__webglTexture=e.createTexture(),i.bindTexture(e.TEXTURE_CUBE_MAP,gi.__webglTexture),Ct(e.TEXTURE_CUBE_MAP,We.depthTexture);let Wi=o.convert(We.depthTexture.format),ki=o.convert(We.depthTexture.type),Pi;We.depthTexture.format===Aa?Pi=e.DEPTH_COMPONENT24:We.depthTexture.format===$c&&(Pi=e.DEPTH24_STENCIL8);for(let Di=0;Di<6;Di++)e.texImage2D(e.TEXTURE_CUBE_MAP_POSITIVE_X+Di,0,Pi,We.width,We.height,0,Wi,ki,null)}}else St(We.depthTexture,0);let mi=gi.__webglTexture,bi=At(We),Qt=si?e.TEXTURE_CUBE_MAP_POSITIVE_X+Mt:e.TEXTURE_2D,di=We.depthTexture.format===$c?e.DEPTH_STENCIL_ATTACHMENT:e.DEPTH_ATTACHMENT;if(We.depthTexture.format===Aa)Tt(We)?l.framebufferTexture2DMultisampleEXT(e.FRAMEBUFFER,di,Qt,mi,0,bi):e.framebufferTexture2D(e.FRAMEBUFFER,di,Qt,mi,0);else if(We.depthTexture.format===$c)Tt(We)?l.framebufferTexture2DMultisampleEXT(e.FRAMEBUFFER,di,Qt,mi,0,bi):e.framebufferTexture2D(e.FRAMEBUFFER,di,Qt,mi,0);else throw new Error("Unknown depthTexture format")}function ge(Xe){let We=n.get(Xe),Mt=Xe.isWebGLCubeRenderTarget===!0;if(We.__boundDepthTexture!==Xe.depthTexture){let si=Xe.depthTexture;if(We.__depthDisposeCallback&&We.__depthDisposeCallback(),si){let gi=()=>{delete We.__boundDepthTexture,delete We.__depthDisposeCallback,si.removeEventListener("dispose",gi)};si.addEventListener("dispose",gi),We.__depthDisposeCallback=gi}We.__boundDepthTexture=si}if(Xe.depthTexture&&!We.__autoAllocateDepthBuffer)if(Mt)for(let si=0;si<6;si++)Ft(We.__webglFramebuffer[si],Xe,si);else{let si=Xe.texture.mipmaps;si&&si.length>0?Ft(We.__webglFramebuffer[0],Xe,0):Ft(We.__webglFramebuffer,Xe,0)}else if(Mt){We.__webglDepthbuffer=[];for(let si=0;si<6;si++)if(i.bindFramebuffer(e.FRAMEBUFFER,We.__webglFramebuffer[si]),We.__webglDepthbuffer[si]===void 0)We.__webglDepthbuffer[si]=e.createRenderbuffer(),Oe(We.__webglDepthbuffer[si],Xe,!1);else{let gi=Xe.stencilBuffer?e.DEPTH_STENCIL_ATTACHMENT:e.DEPTH_ATTACHMENT,mi=We.__webglDepthbuffer[si];e.bindRenderbuffer(e.RENDERBUFFER,mi),e.framebufferRenderbuffer(e.FRAMEBUFFER,gi,e.RENDERBUFFER,mi)}}else{let si=Xe.texture.mipmaps;if(si&&si.length>0?i.bindFramebuffer(e.FRAMEBUFFER,We.__webglFramebuffer[0]):i.bindFramebuffer(e.FRAMEBUFFER,We.__webglFramebuffer),We.__webglDepthbuffer===void 0)We.__webglDepthbuffer=e.createRenderbuffer(),Oe(We.__webglDepthbuffer,Xe,!1);else{let gi=Xe.stencilBuffer?e.DEPTH_STENCIL_ATTACHMENT:e.DEPTH_ATTACHMENT,mi=We.__webglDepthbuffer;e.bindRenderbuffer(e.RENDERBUFFER,mi),e.framebufferRenderbuffer(e.FRAMEBUFFER,gi,e.RENDERBUFFER,mi)}}i.bindFramebuffer(e.FRAMEBUFFER,null)}function Ue(Xe,We,Mt){let si=n.get(Xe);We!==void 0&&jt(si.__webglFramebuffer,Xe,Xe.texture,e.COLOR_ATTACHMENT0,e.TEXTURE_2D,0),Mt!==void 0&&ge(Xe)}function Pe(Xe){let We=Xe.texture,Mt=n.get(Xe),si=n.get(We);Xe.addEventListener("dispose",oe);let gi=Xe.textures,mi=Xe.isWebGLCubeRenderTarget===!0,bi=gi.length>1;if(bi||(si.__webglTexture===void 0&&(si.__webglTexture=e.createTexture()),si.__version=We.version,r.memory.textures++),mi){Mt.__webglFramebuffer=[];for(let Qt=0;Qt<6;Qt++)if(We.mipmaps&&We.mipmaps.length>0){Mt.__webglFramebuffer[Qt]=[];for(let di=0;di<We.mipmaps.length;di++)Mt.__webglFramebuffer[Qt][di]=e.createFramebuffer()}else Mt.__webglFramebuffer[Qt]=e.createFramebuffer()}else{if(We.mipmaps&&We.mipmaps.length>0){Mt.__webglFramebuffer=[];for(let Qt=0;Qt<We.mipmaps.length;Qt++)Mt.__webglFramebuffer[Qt]=e.createFramebuffer()}else Mt.__webglFramebuffer=e.createFramebuffer();if(bi)for(let Qt=0,di=gi.length;Qt<di;Qt++){let Wi=n.get(gi[Qt]);Wi.__webglTexture===void 0&&(Wi.__webglTexture=e.createTexture(),r.memory.textures++)}if(Xe.samples>0&&Tt(Xe)===!1){Mt.__webglMultisampledFramebuffer=e.createFramebuffer(),Mt.__webglColorRenderbuffer=[],i.bindFramebuffer(e.FRAMEBUFFER,Mt.__webglMultisampledFramebuffer);for(let Qt=0;Qt<gi.length;Qt++){let di=gi[Qt];Mt.__webglColorRenderbuffer[Qt]=e.createRenderbuffer(),e.bindRenderbuffer(e.RENDERBUFFER,Mt.__webglColorRenderbuffer[Qt]);let Wi=o.convert(di.format,di.colorSpace),ki=o.convert(di.type),Pi=U(di.internalFormat,Wi,ki,di.normalized,di.colorSpace,Xe.isXRRenderTarget===!0),Di=At(Xe);e.renderbufferStorageMultisample(e.RENDERBUFFER,Di,Pi,Xe.width,Xe.height),e.framebufferRenderbuffer(e.FRAMEBUFFER,e.COLOR_ATTACHMENT0+Qt,e.RENDERBUFFER,Mt.__webglColorRenderbuffer[Qt])}e.bindRenderbuffer(e.RENDERBUFFER,null),Xe.depthBuffer&&(Mt.__webglDepthRenderbuffer=e.createRenderbuffer(),Oe(Mt.__webglDepthRenderbuffer,Xe,!0)),i.bindFramebuffer(e.FRAMEBUFFER,null)}}if(mi){i.bindTexture(e.TEXTURE_CUBE_MAP,si.__webglTexture),Ct(e.TEXTURE_CUBE_MAP,We);for(let Qt=0;Qt<6;Qt++)if(We.mipmaps&&We.mipmaps.length>0)for(let di=0;di<We.mipmaps.length;di++)jt(Mt.__webglFramebuffer[Qt][di],Xe,We,e.COLOR_ATTACHMENT0,e.TEXTURE_CUBE_MAP_POSITIVE_X+Qt,di);else jt(Mt.__webglFramebuffer[Qt],Xe,We,e.COLOR_ATTACHMENT0,e.TEXTURE_CUBE_MAP_POSITIVE_X+Qt,0);A(We)&&O(e.TEXTURE_CUBE_MAP),i.unbindTexture()}else if(bi){for(let Qt=0,di=gi.length;Qt<di;Qt++){let Wi=gi[Qt],ki=n.get(Wi),Pi=e.TEXTURE_2D;(Xe.isWebGL3DRenderTarget||Xe.isWebGLArrayRenderTarget)&&(Pi=Xe.isWebGL3DRenderTarget?e.TEXTURE_3D:e.TEXTURE_2D_ARRAY),i.bindTexture(Pi,ki.__webglTexture),Ct(Pi,Wi),jt(Mt.__webglFramebuffer,Xe,Wi,e.COLOR_ATTACHMENT0+Qt,Pi,0),A(Wi)&&O(Pi)}i.unbindTexture()}else{let Qt=e.TEXTURE_2D;if((Xe.isWebGL3DRenderTarget||Xe.isWebGLArrayRenderTarget)&&(Qt=Xe.isWebGL3DRenderTarget?e.TEXTURE_3D:e.TEXTURE_2D_ARRAY),i.bindTexture(Qt,si.__webglTexture),Ct(Qt,We),We.mipmaps&&We.mipmaps.length>0)for(let di=0;di<We.mipmaps.length;di++)jt(Mt.__webglFramebuffer[di],Xe,We,e.COLOR_ATTACHMENT0,Qt,di);else jt(Mt.__webglFramebuffer,Xe,We,e.COLOR_ATTACHMENT0,Qt,0);A(We)&&O(Qt),i.unbindTexture()}Xe.depthBuffer&&ge(Xe)}function Me(Xe){let We=Xe.textures;for(let Mt=0,si=We.length;Mt<si;Mt++){let gi=We[Mt];if(A(gi)){let mi=P(Xe),bi=n.get(gi).__webglTexture;i.bindTexture(mi,bi),O(mi),i.unbindTexture()}}}let ze=[],pt=[];function He(Xe){if(Xe.samples>0){if(Tt(Xe)===!1){let We=Xe.textures,Mt=Xe.width,si=Xe.height,gi=e.COLOR_BUFFER_BIT,mi=Xe.stencilBuffer?e.DEPTH_STENCIL_ATTACHMENT:e.DEPTH_ATTACHMENT,bi=n.get(Xe),Qt=We.length>1;if(Qt)for(let Wi=0;Wi<We.length;Wi++)i.bindFramebuffer(e.FRAMEBUFFER,bi.__webglMultisampledFramebuffer),e.framebufferRenderbuffer(e.FRAMEBUFFER,e.COLOR_ATTACHMENT0+Wi,e.RENDERBUFFER,null),i.bindFramebuffer(e.FRAMEBUFFER,bi.__webglFramebuffer),e.framebufferTexture2D(e.DRAW_FRAMEBUFFER,e.COLOR_ATTACHMENT0+Wi,e.TEXTURE_2D,null,0);i.bindFramebuffer(e.READ_FRAMEBUFFER,bi.__webglMultisampledFramebuffer);let di=Xe.texture.mipmaps;di&&di.length>0?i.bindFramebuffer(e.DRAW_FRAMEBUFFER,bi.__webglFramebuffer[0]):i.bindFramebuffer(e.DRAW_FRAMEBUFFER,bi.__webglFramebuffer);for(let Wi=0;Wi<We.length;Wi++){if(Xe.resolveDepthBuffer&&(Xe.depthBuffer&&(gi|=e.DEPTH_BUFFER_BIT),Xe.stencilBuffer&&Xe.resolveStencilBuffer&&(gi|=e.STENCIL_BUFFER_BIT)),Qt){e.framebufferRenderbuffer(e.READ_FRAMEBUFFER,e.COLOR_ATTACHMENT0,e.RENDERBUFFER,bi.__webglColorRenderbuffer[Wi]);let ki=n.get(We[Wi]).__webglTexture;e.framebufferTexture2D(e.DRAW_FRAMEBUFFER,e.COLOR_ATTACHMENT0,e.TEXTURE_2D,ki,0)}e.blitFramebuffer(0,0,Mt,si,0,0,Mt,si,gi,e.NEAREST),d===!0&&(ze.length=0,pt.length=0,ze.push(e.COLOR_ATTACHMENT0+Wi),Xe.depthBuffer&&Xe.resolveDepthBuffer===!1&&(ze.push(mi),pt.push(mi),e.invalidateFramebuffer(e.DRAW_FRAMEBUFFER,pt)),e.invalidateFramebuffer(e.READ_FRAMEBUFFER,ze))}if(i.bindFramebuffer(e.READ_FRAMEBUFFER,null),i.bindFramebuffer(e.DRAW_FRAMEBUFFER,null),Qt)for(let Wi=0;Wi<We.length;Wi++){i.bindFramebuffer(e.FRAMEBUFFER,bi.__webglMultisampledFramebuffer),e.framebufferRenderbuffer(e.FRAMEBUFFER,e.COLOR_ATTACHMENT0+Wi,e.RENDERBUFFER,bi.__webglColorRenderbuffer[Wi]);let ki=n.get(We[Wi]).__webglTexture;i.bindFramebuffer(e.FRAMEBUFFER,bi.__webglFramebuffer),e.framebufferTexture2D(e.DRAW_FRAMEBUFFER,e.COLOR_ATTACHMENT0+Wi,e.TEXTURE_2D,ki,0)}i.bindFramebuffer(e.DRAW_FRAMEBUFFER,bi.__webglMultisampledFramebuffer)}else if(Xe.depthBuffer&&Xe.resolveDepthBuffer===!1&&d){let We=Xe.stencilBuffer?e.DEPTH_STENCIL_ATTACHMENT:e.DEPTH_ATTACHMENT;e.invalidateFramebuffer(e.DRAW_FRAMEBUFFER,[We])}}}function At(Xe){return Math.min(s.maxSamples,Xe.samples)}function Tt(Xe){let We=n.get(Xe);return Xe.samples>0&&t.has("WEBGL_multisampled_render_to_texture")===!0&&We.__useRenderToTexture!==!1}function Lt(Xe){let We=r.render.frame;p.get(Xe)!==We&&(p.set(Xe,We),Xe.update())}function Ht(Xe,We){let Mt=Xe.colorSpace,si=Xe.format,gi=Xe.type;return Xe.isCompressedTexture===!0||Xe.isVideoTexture===!0||Mt!==kv&&Mt!==Eh&&(Hn.getTransfer(Mt)===pn?(si!==Ko||gi!==Lo)&&ci("WebGLTextures: sRGB encoded textures have to use RGBAFormat and UnsignedByteType."):yi("WebGLTextures: Unsupported texture color space:",Mt)),We}function ri(Xe){return typeof HTMLImageElement<"u"&&Xe instanceof HTMLImageElement?(h.width=Xe.naturalWidth||Xe.width,h.height=Xe.naturalHeight||Xe.height):typeof VideoFrame<"u"&&Xe instanceof VideoFrame?(h.width=Xe.displayWidth,h.height=Xe.displayHeight):(h.width=Xe.width,h.height=Xe.height),h}this.allocateTextureUnit=Qe,this.resetTextureUnits=Ae,this.getTextureUnits=Ee,this.setTextureUnits=Ce,this.setTexture2D=St,this.setTexture2DArray=$e,this.setTexture3D=ke,this.setTextureCube=It,this.rebindTextures=Ue,this.setupRenderTarget=Pe,this.updateRenderTargetMipmap=Me,this.updateMultisampleRenderTarget=He,this.setupDepthRenderbuffer=ge,this.setupFrameBufferTexture=jt,this.useMultisampledRTT=Tt,this.isReversedDepthBuffer=function(){return i.buffers.depth.getReversed()}}function rpe(e,t){function i(n,s=Eh){let o,r=Hn.getTransfer(s);if(n===Lo)return e.UNSIGNED_BYTE;if(n===Wb)return e.UNSIGNED_SHORT_4_4_4_4;if(n===Yb)return e.UNSIGNED_SHORT_5_5_5_1;if(n===jb)return e.UNSIGNED_INT_5_9_9_9_REV;if(n===qb)return e.UNSIGNED_INT_10F_11F_11F_REV;if(n===FT)return e.BYTE;if(n===UT)return e.SHORT;if(n===mh)return e.UNSIGNED_SHORT;if(n===Ya)return e.INT;if(n===co)return e.UNSIGNED_INT;if(n===Ro)return e.FLOAT;if(n===sr)return e.HALF_FLOAT;if(n===xC)return e.ALPHA;if(n===tR)return e.RGB;if(n===Ko)return e.RGBA;if(n===Aa)return e.DEPTH_COMPONENT;if(n===$c)return e.DEPTH_STENCIL;if(n===uw)return e.RED;if(n===HT)return e.RED_INTEGER;if(n===Dc)return e.RG;if(n===cw)return e.RG_INTEGER;if(n===iR)return e.RGBA_INTEGER;if(n===GT||n===VT||n===kT||n===zT)if(r===pn)if(o=t.get("WEBGL_compressed_texture_s3tc_srgb"),o!==null){if(n===GT)return o.COMPRESSED_SRGB_S3TC_DXT1_EXT;if(n===VT)return o.COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT;if(n===kT)return o.COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT;if(n===zT)return o.COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT}else return null;else if(o=t.get("WEBGL_compressed_texture_s3tc"),o!==null){if(n===GT)return o.COMPRESSED_RGB_S3TC_DXT1_EXT;if(n===VT)return o.COMPRESSED_RGBA_S3TC_DXT1_EXT;if(n===kT)return o.COMPRESSED_RGBA_S3TC_DXT3_EXT;if(n===zT)return o.COMPRESSED_RGBA_S3TC_DXT5_EXT}else return null;if(n===$b||n===Zb||n===Kb||n===Qb)if(o=t.get("WEBGL_compressed_texture_pvrtc"),o!==null){if(n===$b)return o.COMPRESSED_RGB_PVRTC_4BPPV1_IMG;if(n===Zb)return o.COMPRESSED_RGB_PVRTC_2BPPV1_IMG;if(n===Kb)return o.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG;if(n===Qb)return o.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG}else return null;if(n===nR||n===sR||n===oR||n===rR||n===lR||n===WT||n===aR)if(o=t.get("WEBGL_compressed_texture_etc"),o!==null){if(n===nR||n===sR)return r===pn?o.COMPRESSED_SRGB8_ETC2:o.COMPRESSED_RGB8_ETC2;if(n===oR)return r===pn?o.COMPRESSED_SRGB8_ALPHA8_ETC2_EAC:o.COMPRESSED_RGBA8_ETC2_EAC;if(n===rR)return o.COMPRESSED_R11_EAC;if(n===lR)return o.COMPRESSED_SIGNED_R11_EAC;if(n===WT)return o.COMPRESSED_RG11_EAC;if(n===aR)return o.COMPRESSED_SIGNED_RG11_EAC}else return null;if(n===uR||n===cR||n===dR||n===hR||n===fR||n===pR||n===IR||n===mR||n===yR||n===ER||n===TR||n===gR||n===wR||n===vR)if(o=t.get("WEBGL_compressed_texture_astc"),o!==null){if(n===uR)return r===pn?o.COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR:o.COMPRESSED_RGBA_ASTC_4x4_KHR;if(n===cR)return r===pn?o.COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR:o.COMPRESSED_RGBA_ASTC_5x4_KHR;if(n===dR)return r===pn?o.COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR:o.COMPRESSED_RGBA_ASTC_5x5_KHR;if(n===hR)return r===pn?o.COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR:o.COMPRESSED_RGBA_ASTC_6x5_KHR;if(n===fR)return r===pn?o.COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR:o.COMPRESSED_RGBA_ASTC_6x6_KHR;if(n===pR)return r===pn?o.COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR:o.COMPRESSED_RGBA_ASTC_8x5_KHR;if(n===IR)return r===pn?o.COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR:o.COMPRESSED_RGBA_ASTC_8x6_KHR;if(n===mR)return r===pn?o.COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR:o.COMPRESSED_RGBA_ASTC_8x8_KHR;if(n===yR)return r===pn?o.COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR:o.COMPRESSED_RGBA_ASTC_10x5_KHR;if(n===ER)return r===pn?o.COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR:o.COMPRESSED_RGBA_ASTC_10x6_KHR;if(n===TR)return r===pn?o.COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR:o.COMPRESSED_RGBA_ASTC_10x8_KHR;if(n===gR)return r===pn?o.COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR:o.COMPRESSED_RGBA_ASTC_10x10_KHR;if(n===wR)return r===pn?o.COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR:o.COMPRESSED_RGBA_ASTC_12x10_KHR;if(n===vR)return r===pn?o.COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR:o.COMPRESSED_RGBA_ASTC_12x12_KHR}else return null;if(n===RR||n===rG||n===lG)if(o=t.get("EXT_texture_compression_bptc"),o!==null){if(n===RR)return r===pn?o.COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT:o.COMPRESSED_RGBA_BPTC_UNORM_EXT;if(n===rG)return o.COMPRESSED_RGB_BPTC_SIGNED_FLOAT_EXT;if(n===lG)return o.COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_EXT}else return null;if(n===SR||n===AR||n===YT||n===bR)if(o=t.get("EXT_texture_compression_rgtc"),o!==null){if(n===SR)return o.COMPRESSED_RED_RGTC1_EXT;if(n===AR)return o.COMPRESSED_SIGNED_RED_RGTC1_EXT;if(n===YT)return o.COMPRESSED_RED_GREEN_RGTC2_EXT;if(n===bR)return o.COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT}else return null;return n===yh?e.UNSIGNED_INT_24_8:e[n]!==void 0?e[n]:null}return{convert:i}}var iDe=`
|
||
void main() {
|
||
|
||
gl_Position = vec4( position, 1.0 );
|
||
|
||
}`,nDe=`
|
||
uniform sampler2DArray depthColor;
|
||
uniform float depthWidth;
|
||
uniform float depthHeight;
|
||
|
||
void main() {
|
||
|
||
vec2 coord = vec2( gl_FragCoord.x / depthWidth, gl_FragCoord.y / depthHeight );
|
||
|
||
if ( coord.x >= 1.0 ) {
|
||
|
||
gl_FragDepth = texture( depthColor, vec3( coord.x - 1.0, coord.y, 1 ) ).r;
|
||
|
||
} else {
|
||
|
||
gl_FragDepth = texture( depthColor, vec3( coord.x, coord.y, 0 ) ).r;
|
||
|
||
}
|
||
|
||
}`,$te=class{constructor(){this.texture=null,this.mesh=null,this.depthNear=0,this.depthFar=0}init(t,i){if(this.texture===null){let n=new cP(t.texture);(t.depthNear!==i.depthNear||t.depthFar!==i.depthFar)&&(this.depthNear=t.depthNear,this.depthFar=t.depthFar),this.texture=n}}getMesh(t){if(this.texture!==null&&this.mesh===null){let i=t.cameras[0].viewport,n=new Kl({vertexShader:iDe,fragmentShader:nDe,uniforms:{depthColor:{value:this.texture},depthWidth:{value:i.z},depthHeight:{value:i.w}}});this.mesh=new _i(new dp(20,20),n)}return this.mesh}reset(){this.texture=null,this.mesh=null}getDepthTexture(){return this.texture}},Zte=class extends jc{constructor(t,i){super();let n=this,s=null,o=1,r=null,l="local-floor",d=1,h=null,p=null,I=null,m=null,y=null,T=null,R=typeof XRWebGLBinding<"u",b=new $te,A={},O=i.getContextAttributes(),P=null,U=null,Z=[],ne=[],K=new hi,oe=null,se=new xo;se.viewport=new xn;let he=new xo;he.viewport=new xn;let Re=[se,he],ee=new bC,Ae=null,Ee=null;this.cameraAutoUpdate=!0,this.enabled=!1,this.isPresenting=!1,this.getController=function(Ut){let ii=Z[Ut];return ii===void 0&&(ii=new jv,Z[Ut]=ii),ii.getTargetRaySpace()},this.getControllerGrip=function(Ut){let ii=Z[Ut];return ii===void 0&&(ii=new jv,Z[Ut]=ii),ii.getGripSpace()},this.getHand=function(Ut){let ii=Z[Ut];return ii===void 0&&(ii=new jv,Z[Ut]=ii),ii.getHandSpace()};function Ce(Ut){let ii=ne.indexOf(Ut.inputSource);if(ii===-1)return;let Vt=Z[ii];Vt!==void 0&&(Vt.update(Ut.inputSource,Ut.frame,h||r),Vt.dispatchEvent({type:Ut.type,data:Ut.inputSource}))}function Qe(){s.removeEventListener("select",Ce),s.removeEventListener("selectstart",Ce),s.removeEventListener("selectend",Ce),s.removeEventListener("squeeze",Ce),s.removeEventListener("squeezestart",Ce),s.removeEventListener("squeezeend",Ce),s.removeEventListener("end",Qe),s.removeEventListener("inputsourceschange",qe);for(let Ut=0;Ut<Z.length;Ut++){let ii=ne[Ut];ii!==null&&(ne[Ut]=null,Z[Ut].disconnect(ii))}Ae=null,Ee=null,b.reset();for(let Ut in A)delete A[Ut];t.setRenderTarget(P),y=null,m=null,I=null,s=null,U=null,Ct.stop(),n.isPresenting=!1,t.setPixelRatio(oe),t.setSize(K.width,K.height,!1),n.dispatchEvent({type:"sessionend"})}this.setFramebufferScaleFactor=function(Ut){o=Ut,n.isPresenting===!0&&ci("WebXRManager: Cannot change framebuffer scale while presenting.")},this.setReferenceSpaceType=function(Ut){l=Ut,n.isPresenting===!0&&ci("WebXRManager: Cannot change reference space type while presenting.")},this.getReferenceSpace=function(){return h||r},this.setReferenceSpace=function(Ut){h=Ut},this.getBaseLayer=function(){return m!==null?m:y},this.getBinding=function(){return I===null&&R&&(I=new XRWebGLBinding(s,i)),I},this.getFrame=function(){return T},this.getSession=function(){return s},this.setSession=async function(Ut){if(s=Ut,s!==null){if(P=t.getRenderTarget(),s.addEventListener("select",Ce),s.addEventListener("selectstart",Ce),s.addEventListener("selectend",Ce),s.addEventListener("squeeze",Ce),s.addEventListener("squeezestart",Ce),s.addEventListener("squeezeend",Ce),s.addEventListener("end",Qe),s.addEventListener("inputsourceschange",qe),O.xrCompatible!==!0&&await i.makeXRCompatible(),oe=t.getPixelRatio(),t.getSize(K),R&&"createProjectionLayer"in XRWebGLBinding.prototype){let Vt=null,Kt=null,ui=null;O.depth&&(ui=O.stencil?i.DEPTH24_STENCIL8:i.DEPTH_COMPONENT24,Vt=O.stencil?$c:Aa,Kt=O.stencil?yh:co);let jt={colorFormat:i.RGBA8,depthFormat:ui,scaleFactor:o};I=this.getBinding(),m=I.createProjectionLayer(jt),s.updateRenderState({layers:[m]}),t.setPixelRatio(1),t.setSize(m.textureWidth,m.textureHeight,!1),U=new ka(m.textureWidth,m.textureHeight,{format:Ko,type:Lo,depthTexture:new Zl(m.textureWidth,m.textureHeight,Kt,void 0,void 0,void 0,void 0,void 0,void 0,Vt),stencilBuffer:O.stencil,colorSpace:t.outputColorSpace,samples:O.antialias?4:0,resolveDepthBuffer:m.ignoreDepthValues===!1,resolveStencilBuffer:m.ignoreDepthValues===!1})}else{let Vt={antialias:O.antialias,alpha:!0,depth:O.depth,stencil:O.stencil,framebufferScaleFactor:o};y=new XRWebGLLayer(s,i,Vt),s.updateRenderState({baseLayer:y}),t.setPixelRatio(1),t.setSize(y.framebufferWidth,y.framebufferHeight,!1),U=new ka(y.framebufferWidth,y.framebufferHeight,{format:Ko,type:Lo,colorSpace:t.outputColorSpace,stencilBuffer:O.stencil,resolveDepthBuffer:y.ignoreDepthValues===!1,resolveStencilBuffer:y.ignoreDepthValues===!1})}U.isXRRenderTarget=!0,this.setFoveation(d),h=null,r=await s.requestReferenceSpace(l),Ct.setContext(s),Ct.start(),n.isPresenting=!0,n.dispatchEvent({type:"sessionstart"})}},this.getEnvironmentBlendMode=function(){if(s!==null)return s.environmentBlendMode},this.getDepthTexture=function(){return b.getDepthTexture()};function qe(Ut){for(let ii=0;ii<Ut.removed.length;ii++){let Vt=Ut.removed[ii],Kt=ne.indexOf(Vt);Kt>=0&&(ne[Kt]=null,Z[Kt].disconnect(Vt))}for(let ii=0;ii<Ut.added.length;ii++){let Vt=Ut.added[ii],Kt=ne.indexOf(Vt);if(Kt===-1){for(let jt=0;jt<Z.length;jt++)if(jt>=ne.length){ne.push(Vt),Kt=jt;break}else if(ne[jt]===null){ne[jt]=Vt,Kt=jt;break}if(Kt===-1)break}let ui=Z[Kt];ui&&ui.connect(Vt)}}let St=new ye,$e=new ye;function ke(Ut,ii,Vt){St.setFromMatrixPosition(ii.matrixWorld),$e.setFromMatrixPosition(Vt.matrixWorld);let Kt=St.distanceTo($e),ui=ii.projectionMatrix.elements,jt=Vt.projectionMatrix.elements,Oe=ui[14]/(ui[10]-1),Ft=ui[14]/(ui[10]+1),ge=(ui[9]+1)/ui[5],Ue=(ui[9]-1)/ui[5],Pe=(ui[8]-1)/ui[0],Me=(jt[8]+1)/jt[0],ze=Oe*Pe,pt=Oe*Me,He=Kt/(-Pe+Me),At=He*-Pe;if(ii.matrixWorld.decompose(Ut.position,Ut.quaternion,Ut.scale),Ut.translateX(At),Ut.translateZ(He),Ut.matrixWorld.compose(Ut.position,Ut.quaternion,Ut.scale),Ut.matrixWorldInverse.copy(Ut.matrixWorld).invert(),ui[10]===-1)Ut.projectionMatrix.copy(ii.projectionMatrix),Ut.projectionMatrixInverse.copy(ii.projectionMatrixInverse);else{let Tt=Oe+He,Lt=Ft+He,Ht=ze-At,ri=pt+(Kt-At),Xe=ge*Ft/Lt*Tt,We=Ue*Ft/Lt*Tt;Ut.projectionMatrix.makePerspective(Ht,ri,Xe,We,Tt,Lt),Ut.projectionMatrixInverse.copy(Ut.projectionMatrix).invert()}}function It(Ut,ii){ii===null?Ut.matrixWorld.copy(Ut.matrix):Ut.matrixWorld.multiplyMatrices(ii.matrixWorld,Ut.matrix),Ut.matrixWorldInverse.copy(Ut.matrixWorld).invert()}this.updateCamera=function(Ut){if(s===null)return;let ii=Ut.near,Vt=Ut.far;b.texture!==null&&(b.depthNear>0&&(ii=b.depthNear),b.depthFar>0&&(Vt=b.depthFar)),ee.near=he.near=se.near=ii,ee.far=he.far=se.far=Vt,(Ae!==ee.near||Ee!==ee.far)&&(s.updateRenderState({depthNear:ee.near,depthFar:ee.far}),Ae=ee.near,Ee=ee.far),ee.layers.mask=Ut.layers.mask|6,se.layers.mask=ee.layers.mask&-5,he.layers.mask=ee.layers.mask&-3;let Kt=Ut.parent,ui=ee.cameras;It(ee,Kt);for(let jt=0;jt<ui.length;jt++)It(ui[jt],Kt);ui.length===2?ke(ee,se,he):ee.projectionMatrix.copy(se.projectionMatrix),ft(Ut,ee,Kt)};function ft(Ut,ii,Vt){Vt===null?Ut.matrix.copy(ii.matrixWorld):(Ut.matrix.copy(Vt.matrixWorld),Ut.matrix.invert(),Ut.matrix.multiply(ii.matrixWorld)),Ut.matrix.decompose(Ut.position,Ut.quaternion,Ut.scale),Ut.updateMatrixWorld(!0),Ut.projectionMatrix.copy(ii.projectionMatrix),Ut.projectionMatrixInverse.copy(ii.projectionMatrixInverse),Ut.isPerspectiveCamera&&(Ut.fov=Wv*2*Math.atan(1/Ut.projectionMatrix.elements[5]),Ut.zoom=1)}this.getCamera=function(){return ee},this.getFoveation=function(){if(!(m===null&&y===null))return d},this.setFoveation=function(Ut){d=Ut,m!==null&&(m.fixedFoveation=Ut),y!==null&&y.fixedFoveation!==void 0&&(y.fixedFoveation=Ut)},this.hasDepthSensing=function(){return b.texture!==null},this.getDepthSensingMesh=function(){return b.getMesh(ee)},this.getCameraTexture=function(Ut){return A[Ut]};let Dt=null;function Zt(Ut,ii){if(p=ii.getViewerPose(h||r),T=ii,p!==null){let Vt=p.views;y!==null&&(t.setRenderTargetFramebuffer(U,y.framebuffer),t.setRenderTarget(U));let Kt=!1;Vt.length!==ee.cameras.length&&(ee.cameras.length=0,Kt=!0);for(let Ft=0;Ft<Vt.length;Ft++){let ge=Vt[Ft],Ue=null;if(y!==null)Ue=y.getViewport(ge);else{let Me=I.getViewSubImage(m,ge);Ue=Me.viewport,Ft===0&&(t.setRenderTargetTextures(U,Me.colorTexture,Me.depthStencilTexture),t.setRenderTarget(U))}let Pe=Re[Ft];Pe===void 0&&(Pe=new xo,Pe.layers.enable(Ft),Pe.viewport=new xn,Re[Ft]=Pe),Pe.matrix.fromArray(ge.transform.matrix),Pe.matrix.decompose(Pe.position,Pe.quaternion,Pe.scale),Pe.projectionMatrix.fromArray(ge.projectionMatrix),Pe.projectionMatrixInverse.copy(Pe.projectionMatrix).invert(),Pe.viewport.set(Ue.x,Ue.y,Ue.width,Ue.height),Ft===0&&(ee.matrix.copy(Pe.matrix),ee.matrix.decompose(ee.position,ee.quaternion,ee.scale)),Kt===!0&&ee.cameras.push(Pe)}let ui=s.enabledFeatures;if(ui&&ui.includes("depth-sensing")&&s.depthUsage=="gpu-optimized"&&R){I=n.getBinding();let Ft=I.getDepthInformation(Vt[0]);Ft&&Ft.isValid&&Ft.texture&&b.init(Ft,s.renderState)}if(ui&&ui.includes("camera-access")&&R){t.state.unbindTexture(),I=n.getBinding();for(let Ft=0;Ft<Vt.length;Ft++){let ge=Vt[Ft].camera;if(ge){let Ue=A[ge];Ue||(Ue=new cP,A[ge]=Ue);let Pe=I.getCameraImage(ge);Ue.sourceTexture=Pe}}}}for(let Vt=0;Vt<Z.length;Vt++){let Kt=ne[Vt],ui=Z[Vt];Kt!==null&&ui!==void 0&&ui.update(Kt,ii,h||r)}Dt&&Dt(Ut,ii),ii.detectedPlanes&&n.dispatchEvent({type:"planesdetected",data:ii}),T=null}let Ct=new epe;Ct.setAnimationLoop(Zt),this.setAnimationLoop=function(Ut){Dt=Ut},this.dispose=function(){}}},sDe=new Ai,lpe=new Qn;lpe.set(-1,0,0,0,1,0,0,0,1);function oDe(e,t){function i(b,A){b.matrixAutoUpdate===!0&&b.updateMatrix(),A.value.copy(b.matrix)}function n(b,A){A.color.getRGB(b.fogColor.value,Cte(e)),A.isFog?(b.fogNear.value=A.near,b.fogFar.value=A.far):A.isFogExp2&&(b.fogDensity.value=A.density)}function s(b,A,O,P,U){A.isNodeMaterial?A.uniformsNeedUpdate=!1:A.isMeshBasicMaterial?o(b,A):A.isMeshLambertMaterial?(o(b,A),A.envMap&&(b.envMapIntensity.value=A.envMapIntensity)):A.isMeshToonMaterial?(o(b,A),I(b,A)):A.isMeshPhongMaterial?(o(b,A),p(b,A),A.envMap&&(b.envMapIntensity.value=A.envMapIntensity)):A.isMeshStandardMaterial?(o(b,A),m(b,A),A.isMeshPhysicalMaterial&&y(b,A,U)):A.isMeshMatcapMaterial?(o(b,A),T(b,A)):A.isMeshDepthMaterial?o(b,A):A.isMeshDistanceMaterial?(o(b,A),R(b,A)):A.isMeshNormalMaterial?o(b,A):A.isLineBasicMaterial?(r(b,A),A.isLineDashedMaterial&&l(b,A)):A.isPointsMaterial?d(b,A,O,P):A.isSpriteMaterial?h(b,A):A.isShadowMaterial?(b.color.value.copy(A.color),b.opacity.value=A.opacity):A.isShaderMaterial&&(A.uniformsNeedUpdate=!1)}function o(b,A){b.opacity.value=A.opacity,A.color&&b.diffuse.value.copy(A.color),A.emissive&&b.emissive.value.copy(A.emissive).multiplyScalar(A.emissiveIntensity),A.map&&(b.map.value=A.map,i(A.map,b.mapTransform)),A.alphaMap&&(b.alphaMap.value=A.alphaMap,i(A.alphaMap,b.alphaMapTransform)),A.bumpMap&&(b.bumpMap.value=A.bumpMap,i(A.bumpMap,b.bumpMapTransform),b.bumpScale.value=A.bumpScale,A.side===Js&&(b.bumpScale.value*=-1)),A.normalMap&&(b.normalMap.value=A.normalMap,i(A.normalMap,b.normalMapTransform),b.normalScale.value.copy(A.normalScale),A.side===Js&&b.normalScale.value.negate()),A.displacementMap&&(b.displacementMap.value=A.displacementMap,i(A.displacementMap,b.displacementMapTransform),b.displacementScale.value=A.displacementScale,b.displacementBias.value=A.displacementBias),A.emissiveMap&&(b.emissiveMap.value=A.emissiveMap,i(A.emissiveMap,b.emissiveMapTransform)),A.specularMap&&(b.specularMap.value=A.specularMap,i(A.specularMap,b.specularMapTransform)),A.alphaTest>0&&(b.alphaTest.value=A.alphaTest);let O=t.get(A),P=O.envMap,U=O.envMapRotation;P&&(b.envMap.value=P,b.envMapRotation.value.setFromMatrix4(sDe.makeRotationFromEuler(U)).transpose(),P.isCubeTexture&&P.isRenderTargetTexture===!1&&b.envMapRotation.value.premultiply(lpe),b.reflectivity.value=A.reflectivity,b.ior.value=A.ior,b.refractionRatio.value=A.refractionRatio),A.lightMap&&(b.lightMap.value=A.lightMap,b.lightMapIntensity.value=A.lightMapIntensity,i(A.lightMap,b.lightMapTransform)),A.aoMap&&(b.aoMap.value=A.aoMap,b.aoMapIntensity.value=A.aoMapIntensity,i(A.aoMap,b.aoMapTransform))}function r(b,A){b.diffuse.value.copy(A.color),b.opacity.value=A.opacity,A.map&&(b.map.value=A.map,i(A.map,b.mapTransform))}function l(b,A){b.dashSize.value=A.dashSize,b.totalSize.value=A.dashSize+A.gapSize,b.scale.value=A.scale}function d(b,A,O,P){b.diffuse.value.copy(A.color),b.opacity.value=A.opacity,b.size.value=A.size*O,b.scale.value=P*.5,A.map&&(b.map.value=A.map,i(A.map,b.uvTransform)),A.alphaMap&&(b.alphaMap.value=A.alphaMap,i(A.alphaMap,b.alphaMapTransform)),A.alphaTest>0&&(b.alphaTest.value=A.alphaTest)}function h(b,A){b.diffuse.value.copy(A.color),b.opacity.value=A.opacity,b.rotation.value=A.rotation,A.map&&(b.map.value=A.map,i(A.map,b.mapTransform)),A.alphaMap&&(b.alphaMap.value=A.alphaMap,i(A.alphaMap,b.alphaMapTransform)),A.alphaTest>0&&(b.alphaTest.value=A.alphaTest)}function p(b,A){b.specular.value.copy(A.specular),b.shininess.value=Math.max(A.shininess,1e-4)}function I(b,A){A.gradientMap&&(b.gradientMap.value=A.gradientMap)}function m(b,A){b.metalness.value=A.metalness,A.metalnessMap&&(b.metalnessMap.value=A.metalnessMap,i(A.metalnessMap,b.metalnessMapTransform)),b.roughness.value=A.roughness,A.roughnessMap&&(b.roughnessMap.value=A.roughnessMap,i(A.roughnessMap,b.roughnessMapTransform)),A.envMap&&(b.envMapIntensity.value=A.envMapIntensity)}function y(b,A,O){b.ior.value=A.ior,A.sheen>0&&(b.sheenColor.value.copy(A.sheenColor).multiplyScalar(A.sheen),b.sheenRoughness.value=A.sheenRoughness,A.sheenColorMap&&(b.sheenColorMap.value=A.sheenColorMap,i(A.sheenColorMap,b.sheenColorMapTransform)),A.sheenRoughnessMap&&(b.sheenRoughnessMap.value=A.sheenRoughnessMap,i(A.sheenRoughnessMap,b.sheenRoughnessMapTransform))),A.clearcoat>0&&(b.clearcoat.value=A.clearcoat,b.clearcoatRoughness.value=A.clearcoatRoughness,A.clearcoatMap&&(b.clearcoatMap.value=A.clearcoatMap,i(A.clearcoatMap,b.clearcoatMapTransform)),A.clearcoatRoughnessMap&&(b.clearcoatRoughnessMap.value=A.clearcoatRoughnessMap,i(A.clearcoatRoughnessMap,b.clearcoatRoughnessMapTransform)),A.clearcoatNormalMap&&(b.clearcoatNormalMap.value=A.clearcoatNormalMap,i(A.clearcoatNormalMap,b.clearcoatNormalMapTransform),b.clearcoatNormalScale.value.copy(A.clearcoatNormalScale),A.side===Js&&b.clearcoatNormalScale.value.negate())),A.dispersion>0&&(b.dispersion.value=A.dispersion),A.iridescence>0&&(b.iridescence.value=A.iridescence,b.iridescenceIOR.value=A.iridescenceIOR,b.iridescenceThicknessMinimum.value=A.iridescenceThicknessRange[0],b.iridescenceThicknessMaximum.value=A.iridescenceThicknessRange[1],A.iridescenceMap&&(b.iridescenceMap.value=A.iridescenceMap,i(A.iridescenceMap,b.iridescenceMapTransform)),A.iridescenceThicknessMap&&(b.iridescenceThicknessMap.value=A.iridescenceThicknessMap,i(A.iridescenceThicknessMap,b.iridescenceThicknessMapTransform))),A.transmission>0&&(b.transmission.value=A.transmission,b.transmissionSamplerMap.value=O.texture,b.transmissionSamplerSize.value.set(O.width,O.height),A.transmissionMap&&(b.transmissionMap.value=A.transmissionMap,i(A.transmissionMap,b.transmissionMapTransform)),b.thickness.value=A.thickness,A.thicknessMap&&(b.thicknessMap.value=A.thicknessMap,i(A.thicknessMap,b.thicknessMapTransform)),b.attenuationDistance.value=A.attenuationDistance,b.attenuationColor.value.copy(A.attenuationColor)),A.anisotropy>0&&(b.anisotropyVector.value.set(A.anisotropy*Math.cos(A.anisotropyRotation),A.anisotropy*Math.sin(A.anisotropyRotation)),A.anisotropyMap&&(b.anisotropyMap.value=A.anisotropyMap,i(A.anisotropyMap,b.anisotropyMapTransform))),b.specularIntensity.value=A.specularIntensity,b.specularColor.value.copy(A.specularColor),A.specularColorMap&&(b.specularColorMap.value=A.specularColorMap,i(A.specularColorMap,b.specularColorMapTransform)),A.specularIntensityMap&&(b.specularIntensityMap.value=A.specularIntensityMap,i(A.specularIntensityMap,b.specularIntensityMapTransform))}function T(b,A){A.matcap&&(b.matcap.value=A.matcap)}function R(b,A){let O=t.get(A).light;b.referencePosition.value.setFromMatrixPosition(O.matrixWorld),b.nearDistance.value=O.shadow.camera.near,b.farDistance.value=O.shadow.camera.far}return{refreshFogUniforms:n,refreshMaterialUniforms:s}}function rDe(e,t,i,n){let s={},o={},r=[],l=e.getParameter(e.MAX_UNIFORM_BUFFER_BINDINGS);function d(O,P){let U=P.program;n.uniformBlockBinding(O,U)}function h(O,P){let U=s[O.id];U===void 0&&(T(O),U=p(O),s[O.id]=U,O.addEventListener("dispose",b));let Z=P.program;n.updateUBOMapping(O,Z);let ne=t.render.frame;o[O.id]!==ne&&(m(O),o[O.id]=ne)}function p(O){let P=I();O.__bindingPointIndex=P;let U=e.createBuffer(),Z=O.__size,ne=O.usage;return e.bindBuffer(e.UNIFORM_BUFFER,U),e.bufferData(e.UNIFORM_BUFFER,Z,ne),e.bindBuffer(e.UNIFORM_BUFFER,null),e.bindBufferBase(e.UNIFORM_BUFFER,P,U),U}function I(){for(let O=0;O<l;O++)if(r.indexOf(O)===-1)return r.push(O),O;return yi("WebGLRenderer: Maximum number of simultaneously usable uniforms groups reached."),0}function m(O){let P=s[O.id],U=O.uniforms,Z=O.__cache;e.bindBuffer(e.UNIFORM_BUFFER,P);for(let ne=0,K=U.length;ne<K;ne++){let oe=Array.isArray(U[ne])?U[ne]:[U[ne]];for(let se=0,he=oe.length;se<he;se++){let Re=oe[se];if(y(Re,ne,se,Z)===!0){let ee=Re.__offset,Ae=Array.isArray(Re.value)?Re.value:[Re.value],Ee=0;for(let Ce=0;Ce<Ae.length;Ce++){let Qe=Ae[Ce],qe=R(Qe);typeof Qe=="number"||typeof Qe=="boolean"?(Re.__data[0]=Qe,e.bufferSubData(e.UNIFORM_BUFFER,ee+Ee,Re.__data)):Qe.isMatrix3?(Re.__data[0]=Qe.elements[0],Re.__data[1]=Qe.elements[1],Re.__data[2]=Qe.elements[2],Re.__data[3]=0,Re.__data[4]=Qe.elements[3],Re.__data[5]=Qe.elements[4],Re.__data[6]=Qe.elements[5],Re.__data[7]=0,Re.__data[8]=Qe.elements[6],Re.__data[9]=Qe.elements[7],Re.__data[10]=Qe.elements[8],Re.__data[11]=0):ArrayBuffer.isView(Qe)?Re.__data.set(new Qe.constructor(Qe.buffer,Qe.byteOffset,Re.__data.length)):(Qe.toArray(Re.__data,Ee),Ee+=qe.storage/Float32Array.BYTES_PER_ELEMENT)}e.bufferSubData(e.UNIFORM_BUFFER,ee,Re.__data)}}}e.bindBuffer(e.UNIFORM_BUFFER,null)}function y(O,P,U,Z){let ne=O.value,K=P+"_"+U;if(Z[K]===void 0)return typeof ne=="number"||typeof ne=="boolean"?Z[K]=ne:ArrayBuffer.isView(ne)?Z[K]=ne.slice():Z[K]=ne.clone(),!0;{let oe=Z[K];if(typeof ne=="number"||typeof ne=="boolean"){if(oe!==ne)return Z[K]=ne,!0}else{if(ArrayBuffer.isView(ne))return!0;if(oe.equals(ne)===!1)return oe.copy(ne),!0}}return!1}function T(O){let P=O.uniforms,U=0,Z=16;for(let K=0,oe=P.length;K<oe;K++){let se=Array.isArray(P[K])?P[K]:[P[K]];for(let he=0,Re=se.length;he<Re;he++){let ee=se[he],Ae=Array.isArray(ee.value)?ee.value:[ee.value];for(let Ee=0,Ce=Ae.length;Ee<Ce;Ee++){let Qe=Ae[Ee],qe=R(Qe),St=U%Z,$e=St%qe.boundary,ke=St+$e;U+=$e,ke!==0&&Z-ke<qe.storage&&(U+=Z-ke),ee.__data=new Float32Array(qe.storage/Float32Array.BYTES_PER_ELEMENT),ee.__offset=U,U+=qe.storage}}}let ne=U%Z;return ne>0&&(U+=Z-ne),O.__size=U,O.__cache={},this}function R(O){let P={boundary:0,storage:0};return typeof O=="number"||typeof O=="boolean"?(P.boundary=4,P.storage=4):O.isVector2?(P.boundary=8,P.storage=8):O.isVector3||O.isColor?(P.boundary=16,P.storage=12):O.isVector4?(P.boundary=16,P.storage=16):O.isMatrix3?(P.boundary=48,P.storage=48):O.isMatrix4?(P.boundary=64,P.storage=64):O.isTexture?ci("WebGLRenderer: Texture samplers can not be part of an uniforms group."):ArrayBuffer.isView(O)?(P.boundary=16,P.storage=O.byteLength):ci("WebGLRenderer: Unsupported uniform value type.",O),P}function b(O){let P=O.target;P.removeEventListener("dispose",b);let U=r.indexOf(P.__bindingPointIndex);r.splice(U,1),e.deleteBuffer(s[P.id]),delete s[P.id],delete o[P.id]}function A(){for(let O in s)e.deleteBuffer(s[O]);r=[],s={},o={}}return{bind:d,update:h,dispose:A}}var lDe=new Uint16Array([12469,15057,12620,14925,13266,14620,13807,14376,14323,13990,14545,13625,14713,13328,14840,12882,14931,12528,14996,12233,15039,11829,15066,11525,15080,11295,15085,10976,15082,10705,15073,10495,13880,14564,13898,14542,13977,14430,14158,14124,14393,13732,14556,13410,14702,12996,14814,12596,14891,12291,14937,11834,14957,11489,14958,11194,14943,10803,14921,10506,14893,10278,14858,9960,14484,14039,14487,14025,14499,13941,14524,13740,14574,13468,14654,13106,14743,12678,14818,12344,14867,11893,14889,11509,14893,11180,14881,10751,14852,10428,14812,10128,14765,9754,14712,9466,14764,13480,14764,13475,14766,13440,14766,13347,14769,13070,14786,12713,14816,12387,14844,11957,14860,11549,14868,11215,14855,10751,14825,10403,14782,10044,14729,9651,14666,9352,14599,9029,14967,12835,14966,12831,14963,12804,14954,12723,14936,12564,14917,12347,14900,11958,14886,11569,14878,11247,14859,10765,14828,10401,14784,10011,14727,9600,14660,9289,14586,8893,14508,8533,15111,12234,15110,12234,15104,12216,15092,12156,15067,12010,15028,11776,14981,11500,14942,11205,14902,10752,14861,10393,14812,9991,14752,9570,14682,9252,14603,8808,14519,8445,14431,8145,15209,11449,15208,11451,15202,11451,15190,11438,15163,11384,15117,11274,15055,10979,14994,10648,14932,10343,14871,9936,14803,9532,14729,9218,14645,8742,14556,8381,14461,8020,14365,7603,15273,10603,15272,10607,15267,10619,15256,10631,15231,10614,15182,10535,15118,10389,15042,10167,14963,9787,14883,9447,14800,9115,14710,8665,14615,8318,14514,7911,14411,7507,14279,7198,15314,9675,15313,9683,15309,9712,15298,9759,15277,9797,15229,9773,15166,9668,15084,9487,14995,9274,14898,8910,14800,8539,14697,8234,14590,7790,14479,7409,14367,7067,14178,6621,15337,8619,15337,8631,15333,8677,15325,8769,15305,8871,15264,8940,15202,8909,15119,8775,15022,8565,14916,8328,14804,8009,14688,7614,14569,7287,14448,6888,14321,6483,14088,6171,15350,7402,15350,7419,15347,7480,15340,7613,15322,7804,15287,7973,15229,8057,15148,8012,15046,7846,14933,7611,14810,7357,14682,7069,14552,6656,14421,6316,14251,5948,14007,5528,15356,5942,15356,5977,15353,6119,15348,6294,15332,6551,15302,6824,15249,7044,15171,7122,15070,7050,14949,6861,14818,6611,14679,6349,14538,6067,14398,5651,14189,5311,13935,4958,15359,4123,15359,4153,15356,4296,15353,4646,15338,5160,15311,5508,15263,5829,15188,6042,15088,6094,14966,6001,14826,5796,14678,5543,14527,5287,14377,4985,14133,4586,13869,4257,15360,1563,15360,1642,15358,2076,15354,2636,15341,3350,15317,4019,15273,4429,15203,4732,15105,4911,14981,4932,14836,4818,14679,4621,14517,4386,14359,4156,14083,3795,13808,3437,15360,122,15360,137,15358,285,15355,636,15344,1274,15322,2177,15281,2765,15215,3223,15120,3451,14995,3569,14846,3567,14681,3466,14511,3305,14344,3121,14037,2800,13753,2467,15360,0,15360,1,15359,21,15355,89,15346,253,15325,479,15287,796,15225,1148,15133,1492,15008,1749,14856,1882,14685,1886,14506,1783,14324,1608,13996,1398,13702,1183]),hw=null;function aDe(){return hw===null&&(hw=new Ih(lDe,16,16,Dc,sr),hw.name="DFG_LUT",hw.minFilter=Us,hw.magFilter=Us,hw.wrapS=_u,hw.wrapT=_u,hw.generateMipmaps=!1,hw.needsUpdate=!0),hw}var s7=class{constructor(t={}){let{canvas:i=dG(),context:n=null,depth:s=!0,stencil:o=!1,alpha:r=!1,antialias:l=!1,premultipliedAlpha:d=!0,preserveDrawingBuffer:h=!1,powerPreference:p="default",failIfMajorPerformanceCaveat:I=!1,reversedDepthBuffer:m=!1,outputBufferType:y=Lo}=t;this.isWebGLRenderer=!0;let T;if(n!==null){if(typeof WebGLRenderingContext<"u"&&n instanceof WebGLRenderingContext)throw new Error("THREE.WebGLRenderer: WebGL 1 is not supported since r163.");T=n.getContextAttributes().alpha}else T=r;let R=y,b=new Set([iR,cw,HT]),A=new Set([Lo,co,mh,yh,Wb,Yb]),O=new Uint32Array(4),P=new Int32Array(4),U=new ye,Z=null,ne=null,K=[],oe=[],se=null;this.domElement=i,this.debug={checkShaderErrors:!0,onShaderError:null},this.autoClear=!0,this.autoClearColor=!0,this.autoClearDepth=!0,this.autoClearStencil=!0,this.sortObjects=!0,this.clippingPlanes=[],this.localClippingEnabled=!1,this.toneMapping=_c,this.toneMappingExposure=1,this.transmissionResolutionScale=1;let he=this,Re=!1,ee=null;this._outputColorSpace=Va;let Ae=0,Ee=0,Ce=null,Qe=-1,qe=null,St=new xn,$e=new xn,ke=null,It=new Oi(0),ft=0,Dt=i.width,Zt=i.height,Ct=1,Ut=null,ii=null,Vt=new xn(0,0,Dt,Zt),Kt=new xn(0,0,Dt,Zt),ui=!1,jt=new F0,Oe=!1,Ft=!1,ge=new Ai,Ue=new ye,Pe=new xn,Me={background:null,fog:null,environment:null,overrideMaterial:null,isScene:!0},ze=!1;function pt(){return Ce===null?Ct:1}let He=n;function At(ht,qt){return i.getContext(ht,qt)}try{let ht={alpha:!0,depth:s,stencil:o,antialias:l,premultipliedAlpha:d,preserveDrawingBuffer:h,powerPreference:p,failIfMajorPerformanceCaveat:I};if("setAttribute"in i&&i.setAttribute("data-engine",`three.js r${"184"}`),i.addEventListener("webglcontextlost",Ci,!1),i.addEventListener("webglcontextrestored",cn,!1),i.addEventListener("webglcontextcreationerror",Un,!1),He===null){let qt="webgl2";if(He=At(qt,ht),He===null)throw At(qt)?new Error("Error creating WebGL context with your selected attributes."):new Error("Error creating WebGL context.")}}catch(ht){throw yi("WebGLRenderer: "+ht.message),ht}let Tt,Lt,Ht,ri,Xe,We,Mt,si,gi,mi,bi,Qt,di,Wi,ki,Pi,Di,dn,Ln,Zi,kt,Gi,wi;function Qi(){Tt=new mNe(He),Tt.init(),kt=new rpe(He,Tt),Lt=new aNe(He,Tt,t,kt),Ht=new eDe(He,Tt),Lt.reversedDepthBuffer&&m&&Ht.buffers.depth.setReversed(!0),ri=new TNe(He),Xe=new G_e,We=new tDe(He,Tt,Ht,Xe,Lt,kt,ri),Mt=new INe(he),si=new RSe(He),Gi=new rNe(He,si),gi=new yNe(He,si,ri,Gi),mi=new wNe(He,gi,si,Gi,ri),dn=new gNe(He,Lt,We),ki=new uNe(Xe),bi=new H_e(he,Mt,Tt,Lt,Gi,ki),Qt=new oDe(he,Xe),di=new k_e,Wi=new $_e(Tt),Di=new oNe(he,Mt,Ht,mi,T,d),Pi=new X_e(he,mi,Lt),wi=new rDe(He,ri,Lt,Ht),Ln=new lNe(He,Tt,ri),Zi=new ENe(He,Tt,ri),ri.programs=bi.programs,he.capabilities=Lt,he.extensions=Tt,he.properties=Xe,he.renderLists=di,he.shadowMap=Pi,he.state=Ht,he.info=ri}Qi(),R!==Lo&&(se=new RNe(R,i.width,i.height,s,o));let Fi=new Zte(he,He);this.xr=Fi,this.getContext=function(){return He},this.getContextAttributes=function(){return He.getContextAttributes()},this.forceContextLoss=function(){let ht=Tt.get("WEBGL_lose_context");ht&&ht.loseContext()},this.forceContextRestore=function(){let ht=Tt.get("WEBGL_lose_context");ht&&ht.restoreContext()},this.getPixelRatio=function(){return Ct},this.setPixelRatio=function(ht){ht!==void 0&&(Ct=ht,this.setSize(Dt,Zt,!1))},this.getSize=function(ht){return ht.set(Dt,Zt)},this.setSize=function(ht,qt,ni=!0){if(Fi.isPresenting){ci("WebGLRenderer: Can't change size while VR device is presenting.");return}Dt=ht,Zt=qt,i.width=Math.floor(ht*Ct),i.height=Math.floor(qt*Ct),ni===!0&&(i.style.width=ht+"px",i.style.height=qt+"px"),se!==null&&se.setSize(i.width,i.height),this.setViewport(0,0,ht,qt)},this.getDrawingBufferSize=function(ht){return ht.set(Dt*Ct,Zt*Ct).floor()},this.setDrawingBufferSize=function(ht,qt,ni){Dt=ht,Zt=qt,Ct=ni,i.width=Math.floor(ht*ni),i.height=Math.floor(qt*ni),this.setViewport(0,0,ht,qt)},this.setEffects=function(ht){if(R===Lo){yi("THREE.WebGLRenderer: setEffects() requires outputBufferType set to HalfFloatType or FloatType.");return}if(ht){for(let qt=0;qt<ht.length;qt++)if(ht[qt].isOutputPass===!0){ci("THREE.WebGLRenderer: OutputPass is not needed in setEffects(). Tone mapping and color space conversion are applied automatically.");break}}se.setEffects(ht||[])},this.getCurrentViewport=function(ht){return ht.copy(St)},this.getViewport=function(ht){return ht.copy(Vt)},this.setViewport=function(ht,qt,ni,ei){ht.isVector4?Vt.set(ht.x,ht.y,ht.z,ht.w):Vt.set(ht,qt,ni,ei),Ht.viewport(St.copy(Vt).multiplyScalar(Ct).round())},this.getScissor=function(ht){return ht.copy(Kt)},this.setScissor=function(ht,qt,ni,ei){ht.isVector4?Kt.set(ht.x,ht.y,ht.z,ht.w):Kt.set(ht,qt,ni,ei),Ht.scissor($e.copy(Kt).multiplyScalar(Ct).round())},this.getScissorTest=function(){return ui},this.setScissorTest=function(ht){Ht.setScissorTest(ui=ht)},this.setOpaqueSort=function(ht){Ut=ht},this.setTransparentSort=function(ht){ii=ht},this.getClearColor=function(ht){return ht.copy(Di.getClearColor())},this.setClearColor=function(){Di.setClearColor(...arguments)},this.getClearAlpha=function(){return Di.getClearAlpha()},this.setClearAlpha=function(){Di.setClearAlpha(...arguments)},this.clear=function(ht=!0,qt=!0,ni=!0){let ei=0;if(ht){let Xt=!1;if(Ce!==null){let ji=Ce.texture.format;Xt=b.has(ji)}if(Xt){let ji=Ce.texture.type,rn=A.has(ji),Ki=Di.getClearColor(),fn=Di.getClearAlpha(),En=Ki.r,zn=Ki.g,Vn=Ki.b;rn?(O[0]=En,O[1]=zn,O[2]=Vn,O[3]=fn,He.clearBufferuiv(He.COLOR,0,O)):(P[0]=En,P[1]=zn,P[2]=Vn,P[3]=fn,He.clearBufferiv(He.COLOR,0,P))}else ei|=He.COLOR_BUFFER_BIT}qt&&(ei|=He.DEPTH_BUFFER_BIT,this.state.buffers.depth.setMask(!0)),ni&&(ei|=He.STENCIL_BUFFER_BIT,this.state.buffers.stencil.setMask(4294967295)),ei!==0&&He.clear(ei)},this.clearColor=function(){this.clear(!0,!1,!1)},this.clearDepth=function(){this.clear(!1,!0,!1)},this.clearStencil=function(){this.clear(!1,!1,!0)},this.setNodesHandler=function(ht){ht.setRenderer(this),ee=ht},this.dispose=function(){i.removeEventListener("webglcontextlost",Ci,!1),i.removeEventListener("webglcontextrestored",cn,!1),i.removeEventListener("webglcontextcreationerror",Un,!1),Di.dispose(),di.dispose(),Wi.dispose(),Xe.dispose(),Mt.dispose(),mi.dispose(),Gi.dispose(),wi.dispose(),bi.dispose(),Fi.dispose(),Fi.removeEventListener("sessionstart",Yn),Fi.removeEventListener("sessionend",wu),mo.stop()};function Ci(ht){ht.preventDefault(),Cb("WebGLRenderer: Context Lost."),Re=!0}function cn(){Cb("WebGLRenderer: Context Restored."),Re=!1;let ht=ri.autoReset,qt=Pi.enabled,ni=Pi.autoUpdate,ei=Pi.needsUpdate,Xt=Pi.type;Qi(),ri.autoReset=ht,Pi.enabled=qt,Pi.autoUpdate=ni,Pi.needsUpdate=ei,Pi.type=Xt}function Un(ht){yi("WebGLRenderer: A WebGL context could not be created. Reason: ",ht.statusMessage)}function hn(ht){let qt=ht.target;qt.removeEventListener("dispose",hn),Rs(qt)}function Rs(ht){Wo(ht),Xe.remove(ht)}function Wo(ht){let qt=Xe.get(ht).programs;qt!==void 0&&(qt.forEach(function(ni){bi.releaseProgram(ni)}),ht.isShaderMaterial&&bi.releaseShaderCache(ht))}this.renderBufferDirect=function(ht,qt,ni,ei,Xt,ji){qt===null&&(qt=Me);let rn=Xt.isMesh&&Xt.matrixWorld.determinant()<0,Ki=A0(ht,qt,ni,ei,Xt);Ht.setMaterial(ei,rn);let fn=ni.index,En=1;if(ei.wireframe===!0){if(fn=gi.getWireframeAttribute(ni),fn===void 0)return;En=2}let zn=ni.drawRange,Vn=ni.attributes.position,wn=zn.start*En,Ds=(zn.start+zn.count)*En;ji!==null&&(wn=Math.max(wn,ji.start*En),Ds=Math.min(Ds,(ji.start+ji.count)*En)),fn!==null?(wn=Math.max(wn,0),Ds=Math.min(Ds,fn.count)):Vn!=null&&(wn=Math.max(wn,0),Ds=Math.min(Ds,Vn.count));let Ws=Ds-wn;if(Ws<0||Ws===1/0)return;Gi.setup(Xt,ei,Ki,ni,fn);let Ys,hs=Ln;if(fn!==null&&(Ys=si.get(fn),hs=Zi,hs.setIndex(Ys)),Xt.isMesh)ei.wireframe===!0?(Ht.setLineWidth(ei.wireframeLinewidth*pt()),hs.setMode(He.LINES)):hs.setMode(He.TRIANGLES);else if(Xt.isLine){let uo=ei.linewidth;uo===void 0&&(uo=1),Ht.setLineWidth(uo*pt()),Xt.isLineSegments?hs.setMode(He.LINES):Xt.isLineLoop?hs.setMode(He.LINE_LOOP):hs.setMode(He.LINE_STRIP)}else Xt.isPoints?hs.setMode(He.POINTS):Xt.isSprite&&hs.setMode(He.TRIANGLES);if(Xt.isBatchedMesh)if(Tt.get("WEBGL_multi_draw"))hs.renderMultiDraw(Xt._multiDrawStarts,Xt._multiDrawCounts,Xt._multiDrawCount);else{let uo=Xt._multiDrawStarts,sn=Xt._multiDrawCounts,eo=Xt._multiDrawCount,Xn=fn?si.get(fn).bytesPerElement:1,Do=Xe.get(ei).currentProgram.getUniforms();for(let lr=0;lr<eo;lr++)Do.setValue(He,"_gl_DrawID",lr),hs.render(uo[lr]/Xn,sn[lr])}else if(Xt.isInstancedMesh)hs.renderInstances(wn,Ws,Xt.count);else if(ni.isInstancedBufferGeometry){let uo=ni._maxInstanceCount!==void 0?ni._maxInstanceCount:1/0,sn=Math.min(ni.instanceCount,uo);hs.renderInstances(wn,Ws,sn)}else hs.render(wn,Ws)};function Io(ht,qt,ni){ht.transparent===!0&&ht.side===so&&ht.forceSinglePass===!1?(ht.side=Js,ht.needsUpdate=!0,_r(ht,qt,ni),ht.side=$l,ht.needsUpdate=!0,_r(ht,qt,ni),ht.side=so):_r(ht,qt,ni)}this.compile=function(ht,qt,ni=null){ni===null&&(ni=ht),ne=Wi.get(ni),ne.init(qt),oe.push(ne),ni.traverseVisible(function(Xt){Xt.isLight&&Xt.layers.test(qt.layers)&&(ne.pushLight(Xt),Xt.castShadow&&ne.pushShadow(Xt))}),ht!==ni&&ht.traverseVisible(function(Xt){Xt.isLight&&Xt.layers.test(qt.layers)&&(ne.pushLight(Xt),Xt.castShadow&&ne.pushShadow(Xt))}),ne.setupLights();let ei=new Set;return ht.traverse(function(Xt){if(!(Xt.isMesh||Xt.isPoints||Xt.isLine||Xt.isSprite))return;let ji=Xt.material;if(ji)if(Array.isArray(ji))for(let rn=0;rn<ji.length;rn++){let Ki=ji[rn];Io(Ki,ni,Xt),ei.add(Ki)}else Io(ji,ni,Xt),ei.add(ji)}),ne=oe.pop(),ei},this.compileAsync=function(ht,qt,ni=null){let ei=this.compile(ht,qt,ni);return new Promise(Xt=>{function ji(){if(ei.forEach(function(rn){Xe.get(rn).currentProgram.isReady()&&ei.delete(rn)}),ei.size===0){Xt(ht);return}setTimeout(ji,10)}Tt.get("KHR_parallel_shader_compile")!==null?ji():setTimeout(ji,10)})};let ao=null;function Ma(ht){ao&&ao(ht)}function Yn(){mo.stop()}function wu(){mo.start()}let mo=new epe;mo.setAnimationLoop(Ma),typeof self<"u"&&mo.setContext(self),this.setAnimationLoop=function(ht){ao=ht,Fi.setAnimationLoop(ht),ht===null?mo.stop():mo.start()},Fi.addEventListener("sessionstart",Yn),Fi.addEventListener("sessionend",wu),this.render=function(ht,qt){if(qt!==void 0&&qt.isCamera!==!0){yi("WebGLRenderer.render: camera is not an instance of THREE.Camera.");return}if(Re===!0)return;ee!==null&&ee.renderStart(ht,qt);let ni=Fi.enabled===!0&&Fi.isPresenting===!0,ei=se!==null&&(Ce===null||ni)&&se.begin(he,Ce);if(ht.matrixWorldAutoUpdate===!0&&ht.updateMatrixWorld(),qt.parent===null&&qt.matrixWorldAutoUpdate===!0&&qt.updateMatrixWorld(),Fi.enabled===!0&&Fi.isPresenting===!0&&(se===null||se.isCompositing()===!1)&&(Fi.cameraAutoUpdate===!0&&Fi.updateCamera(qt),qt=Fi.getCamera()),ht.isScene===!0&&ht.onBeforeRender(he,ht,qt,Ce),ne=Wi.get(ht,oe.length),ne.init(qt),ne.state.textureUnits=We.getTextureUnits(),oe.push(ne),ge.multiplyMatrices(qt.projectionMatrix,qt.matrixWorldInverse),jt.setFromProjectionMatrix(ge,Wc,qt.reversedDepth),Ft=this.localClippingEnabled,Oe=ki.init(this.clippingPlanes,Ft),Z=di.get(ht,K.length),Z.init(),K.push(Z),Fi.enabled===!0&&Fi.isPresenting===!0){let rn=he.xr.getDepthSensingMesh();rn!==null&&Ia(rn,qt,-1/0,he.sortObjects)}Ia(ht,qt,0,he.sortObjects),Z.finish(),he.sortObjects===!0&&Z.sort(Ut,ii),ze=Fi.enabled===!1||Fi.isPresenting===!1||Fi.hasDepthSensing()===!1,ze&&Di.addToRenderList(Z,ht),this.info.render.frame++,Oe===!0&&ki.beginShadows();let Xt=ne.state.shadowsArray;if(Pi.render(Xt,ht,qt),Oe===!0&&ki.endShadows(),this.info.autoReset===!0&&this.info.reset(),(ei&&se.hasRenderPass())===!1){let rn=Z.opaque,Ki=Z.transmissive;if(ne.setupLights(),qt.isArrayCamera){let fn=qt.cameras;if(Ki.length>0)for(let En=0,zn=fn.length;En<zn;En++){let Vn=fn[En];Vl(rn,Ki,ht,Vn)}ze&&Di.render(ht);for(let En=0,zn=fn.length;En<zn;En++){let Vn=fn[En];Er(Z,ht,Vn,Vn.viewport)}}else Ki.length>0&&Vl(rn,Ki,ht,qt),ze&&Di.render(ht),Er(Z,ht,qt)}Ce!==null&&Ee===0&&(We.updateMultisampleRenderTarget(Ce),We.updateRenderTargetMipmap(Ce)),ei&&se.end(he),ht.isScene===!0&&ht.onAfterRender(he,ht,qt),Gi.resetDefaultState(),Qe=-1,qe=null,oe.pop(),oe.length>0?(ne=oe[oe.length-1],We.setTextureUnits(ne.state.textureUnits),Oe===!0&&ki.setGlobalState(he.clippingPlanes,ne.state.camera)):ne=null,K.pop(),K.length>0?Z=K[K.length-1]:Z=null,ee!==null&&ee.renderEnd()};function Ia(ht,qt,ni,ei){if(ht.visible===!1)return;if(ht.layers.test(qt.layers)){if(ht.isGroup)ni=ht.renderOrder;else if(ht.isLOD)ht.autoUpdate===!0&&ht.update(qt);else if(ht.isLightProbeGrid)ne.pushLightProbeGrid(ht);else if(ht.isLight)ne.pushLight(ht),ht.castShadow&&ne.pushShadow(ht);else if(ht.isSprite){if(!ht.frustumCulled||jt.intersectsSprite(ht)){ei&&Pe.setFromMatrixPosition(ht.matrixWorld).applyMatrix4(ge);let rn=mi.update(ht),Ki=ht.material;Ki.visible&&Z.push(ht,rn,Ki,ni,Pe.z,null)}}else if((ht.isMesh||ht.isLine||ht.isPoints)&&(!ht.frustumCulled||jt.intersectsObject(ht))){let rn=mi.update(ht),Ki=ht.material;if(ei&&(ht.boundingSphere!==void 0?(ht.boundingSphere===null&&ht.computeBoundingSphere(),Pe.copy(ht.boundingSphere.center)):(rn.boundingSphere===null&&rn.computeBoundingSphere(),Pe.copy(rn.boundingSphere.center)),Pe.applyMatrix4(ht.matrixWorld).applyMatrix4(ge)),Array.isArray(Ki)){let fn=rn.groups;for(let En=0,zn=fn.length;En<zn;En++){let Vn=fn[En],wn=Ki[Vn.materialIndex];wn&&wn.visible&&Z.push(ht,rn,wn,ni,Pe.z,Vn)}}else Ki.visible&&Z.push(ht,rn,Ki,ni,Pe.z,null)}}let ji=ht.children;for(let rn=0,Ki=ji.length;rn<Ki;rn++)Ia(ji[rn],qt,ni,ei)}function Er(ht,qt,ni,ei){let{opaque:Xt,transmissive:ji,transparent:rn}=ht;ne.setupLightsView(ni),Oe===!0&&ki.setGlobalState(he.clippingPlanes,ni),ei&&Ht.viewport(St.copy(ei)),Xt.length>0&&Nr(Xt,qt,ni),ji.length>0&&Nr(ji,qt,ni),rn.length>0&&Nr(rn,qt,ni),Ht.buffers.depth.setTest(!0),Ht.buffers.depth.setMask(!0),Ht.buffers.color.setMask(!0),Ht.setPolygonOffset(!1)}function Vl(ht,qt,ni,ei){if((ni.isScene===!0?ni.overrideMaterial:null)!==null)return;if(ne.state.transmissionRenderTarget[ei.id]===void 0){let wn=Tt.has("EXT_color_buffer_half_float")||Tt.has("EXT_color_buffer_float");ne.state.transmissionRenderTarget[ei.id]=new ka(1,1,{generateMipmaps:!0,type:wn?sr:Lo,minFilter:qc,samples:Math.max(4,Lt.samples),stencilBuffer:o,resolveDepthBuffer:!1,resolveStencilBuffer:!1,colorSpace:Hn.workingColorSpace})}let ji=ne.state.transmissionRenderTarget[ei.id],rn=ei.viewport||St;ji.setSize(rn.z*he.transmissionResolutionScale,rn.w*he.transmissionResolutionScale);let Ki=he.getRenderTarget(),fn=he.getActiveCubeFace(),En=he.getActiveMipmapLevel();he.setRenderTarget(ji),he.getClearColor(It),ft=he.getClearAlpha(),ft<1&&he.setClearColor(16777215,.5),he.clear(),ze&&Di.render(ni);let zn=he.toneMapping;he.toneMapping=_c;let Vn=ei.viewport;if(ei.viewport!==void 0&&(ei.viewport=void 0),ne.setupLightsView(ei),Oe===!0&&ki.setGlobalState(he.clippingPlanes,ei),Nr(ht,ni,ei),We.updateMultisampleRenderTarget(ji),We.updateRenderTargetMipmap(ji),Tt.has("WEBGL_multisampled_render_to_texture")===!1){let wn=!1;for(let Ds=0,Ws=qt.length;Ds<Ws;Ds++){let Ys=qt[Ds],{object:hs,geometry:uo,material:sn,group:eo}=Ys;if(sn.side===so&&hs.layers.test(ei.layers)){let Xn=sn.side;sn.side=Js,sn.needsUpdate=!0,Ni(hs,ni,ei,uo,sn,eo),sn.side=Xn,sn.needsUpdate=!0,wn=!0}}wn===!0&&(We.updateMultisampleRenderTarget(ji),We.updateRenderTargetMipmap(ji))}he.setRenderTarget(Ki,fn,En),he.setClearColor(It,ft),Vn!==void 0&&(ei.viewport=Vn),he.toneMapping=zn}function Nr(ht,qt,ni){let ei=qt.isScene===!0?qt.overrideMaterial:null;for(let Xt=0,ji=ht.length;Xt<ji;Xt++){let rn=ht[Xt],{object:Ki,geometry:fn,group:En}=rn,zn=rn.material;zn.allowOverride===!0&&ei!==null&&(zn=ei),Ki.layers.test(ni.layers)&&Ni(Ki,qt,ni,fn,zn,En)}}function Ni(ht,qt,ni,ei,Xt,ji){ht.onBeforeRender(he,qt,ni,ei,Xt,ji),ht.modelViewMatrix.multiplyMatrices(ni.matrixWorldInverse,ht.matrixWorld),ht.normalMatrix.getNormalMatrix(ht.modelViewMatrix),Xt.onBeforeRender(he,qt,ni,ei,ht,ji),Xt.transparent===!0&&Xt.side===so&&Xt.forceSinglePass===!1?(Xt.side=Js,Xt.needsUpdate=!0,he.renderBufferDirect(ni,qt,ei,Xt,ht,ji),Xt.side=$l,Xt.needsUpdate=!0,he.renderBufferDirect(ni,qt,ei,Xt,ht,ji),Xt.side=so):he.renderBufferDirect(ni,qt,ei,Xt,ht,ji),ht.onAfterRender(he,qt,ni,ei,Xt,ji)}function _r(ht,qt,ni){qt.isScene!==!0&&(qt=Me);let ei=Xe.get(ht),Xt=ne.state.lights,ji=ne.state.shadowsArray,rn=Xt.state.version,Ki=bi.getParameters(ht,Xt.state,ji,qt,ni,ne.state.lightProbeGridArray),fn=bi.getProgramCacheKey(Ki),En=ei.programs;ei.environment=ht.isMeshStandardMaterial||ht.isMeshLambertMaterial||ht.isMeshPhongMaterial?qt.environment:null,ei.fog=qt.fog;let zn=ht.isMeshStandardMaterial||ht.isMeshLambertMaterial&&!ht.envMap||ht.isMeshPhongMaterial&&!ht.envMap;ei.envMap=Mt.get(ht.envMap||ei.environment,zn),ei.envMapRotation=ei.environment!==null&&ht.envMap===null?qt.environmentRotation:ht.envMapRotation,En===void 0&&(ht.addEventListener("dispose",hn),En=new Map,ei.programs=En);let Vn=En.get(fn);if(Vn!==void 0){if(ei.currentProgram===Vn&&ei.lightsStateVersion===rn)return Dr(ht,Ki),Vn}else Ki.uniforms=bi.getUniforms(ht),ee!==null&&ht.isNodeMaterial&&ee.build(ht,ni,Ki),ht.onBeforeCompile(Ki,he),Vn=bi.acquireProgram(Ki,fn),En.set(fn,Vn),ei.uniforms=Ki.uniforms;let wn=ei.uniforms;return(!ht.isShaderMaterial&&!ht.isRawShaderMaterial||ht.clipping===!0)&&(wn.clippingPlanes=ki.uniform),Dr(ht,Ki),ei.needsLights=Vc(ht),ei.lightsStateVersion=rn,ei.needsLights&&(wn.ambientLightColor.value=Xt.state.ambient,wn.lightProbe.value=Xt.state.probe,wn.directionalLights.value=Xt.state.directional,wn.directionalLightShadows.value=Xt.state.directionalShadow,wn.spotLights.value=Xt.state.spot,wn.spotLightShadows.value=Xt.state.spotShadow,wn.rectAreaLights.value=Xt.state.rectArea,wn.ltc_1.value=Xt.state.rectAreaLTC1,wn.ltc_2.value=Xt.state.rectAreaLTC2,wn.pointLights.value=Xt.state.point,wn.pointLightShadows.value=Xt.state.pointShadow,wn.hemisphereLights.value=Xt.state.hemi,wn.directionalShadowMatrix.value=Xt.state.directionalShadowMatrix,wn.spotLightMatrix.value=Xt.state.spotLightMatrix,wn.spotLightMap.value=Xt.state.spotLightMap,wn.pointShadowMatrix.value=Xt.state.pointShadowMatrix),ei.lightProbeGrid=ne.state.lightProbeGridArray.length>0,ei.currentProgram=Vn,ei.uniformsList=null,Vn}function Hc(ht){if(ht.uniformsList===null){let qt=ht.currentProgram.getUniforms();ht.uniformsList=n7.seqWithValue(qt.seq,ht.uniforms)}return ht.uniformsList}function Dr(ht,qt){let ni=Xe.get(ht);ni.outputColorSpace=qt.outputColorSpace,ni.batching=qt.batching,ni.batchingColor=qt.batchingColor,ni.instancing=qt.instancing,ni.instancingColor=qt.instancingColor,ni.instancingMorph=qt.instancingMorph,ni.skinning=qt.skinning,ni.morphTargets=qt.morphTargets,ni.morphNormals=qt.morphNormals,ni.morphColors=qt.morphColors,ni.morphTargetsCount=qt.morphTargetsCount,ni.numClippingPlanes=qt.numClippingPlanes,ni.numIntersection=qt.numClipIntersection,ni.vertexAlphas=qt.vertexAlphas,ni.vertexTangents=qt.vertexTangents,ni.toneMapping=qt.toneMapping}function ma(ht,qt){if(ht.length===0)return null;if(ht.length===1)return ht[0].texture!==null?ht[0]:null;U.setFromMatrixPosition(qt.matrixWorld);for(let ni=0,ei=ht.length;ni<ei;ni++){let Xt=ht[ni];if(Xt.texture!==null&&Xt.boundingBox.containsPoint(U))return Xt}return null}function A0(ht,qt,ni,ei,Xt){qt.isScene!==!0&&(qt=Me),We.resetTextureUnits();let ji=qt.fog,rn=ei.isMeshStandardMaterial||ei.isMeshLambertMaterial||ei.isMeshPhongMaterial?qt.environment:null,Ki=Ce===null?he.outputColorSpace:Ce.isXRRenderTarget===!0?Ce.texture.colorSpace:Hn.workingColorSpace,fn=ei.isMeshStandardMaterial||ei.isMeshLambertMaterial&&!ei.envMap||ei.isMeshPhongMaterial&&!ei.envMap,En=Mt.get(ei.envMap||rn,fn),zn=ei.vertexColors===!0&&!!ni.attributes.color&&ni.attributes.color.itemSize===4,Vn=!!ni.attributes.tangent&&(!!ei.normalMap||ei.anisotropy>0),wn=!!ni.morphAttributes.position,Ds=!!ni.morphAttributes.normal,Ws=!!ni.morphAttributes.color,Ys=_c;ei.toneMapped&&(Ce===null||Ce.isXRRenderTarget===!0)&&(Ys=he.toneMapping);let hs=ni.morphAttributes.position||ni.morphAttributes.normal||ni.morphAttributes.color,uo=hs!==void 0?hs.length:0,sn=Xe.get(ei),eo=ne.state.lights;if(Oe===!0&&(Ft===!0||ht!==qe)){let Ss=ht===qe&&ei.id===Qe;ki.setState(ei,ht,Ss)}let Xn=!1;ei.version===sn.__version?(sn.needsLights&&sn.lightsStateVersion!==eo.state.version||sn.outputColorSpace!==Ki||Xt.isBatchedMesh&&sn.batching===!1||!Xt.isBatchedMesh&&sn.batching===!0||Xt.isBatchedMesh&&sn.batchingColor===!0&&Xt.colorTexture===null||Xt.isBatchedMesh&&sn.batchingColor===!1&&Xt.colorTexture!==null||Xt.isInstancedMesh&&sn.instancing===!1||!Xt.isInstancedMesh&&sn.instancing===!0||Xt.isSkinnedMesh&&sn.skinning===!1||!Xt.isSkinnedMesh&&sn.skinning===!0||Xt.isInstancedMesh&&sn.instancingColor===!0&&Xt.instanceColor===null||Xt.isInstancedMesh&&sn.instancingColor===!1&&Xt.instanceColor!==null||Xt.isInstancedMesh&&sn.instancingMorph===!0&&Xt.morphTexture===null||Xt.isInstancedMesh&&sn.instancingMorph===!1&&Xt.morphTexture!==null||sn.envMap!==En||ei.fog===!0&&sn.fog!==ji||sn.numClippingPlanes!==void 0&&(sn.numClippingPlanes!==ki.numPlanes||sn.numIntersection!==ki.numIntersection)||sn.vertexAlphas!==zn||sn.vertexTangents!==Vn||sn.morphTargets!==wn||sn.morphNormals!==Ds||sn.morphColors!==Ws||sn.toneMapping!==Ys||sn.morphTargetsCount!==uo||!!sn.lightProbeGrid!=ne.state.lightProbeGridArray.length>0)&&(Xn=!0):(Xn=!0,sn.__version=ei.version);let Do=sn.currentProgram;Xn===!0&&(Do=_r(ei,qt,Xt),ee&&ei.isNodeMaterial&&ee.onUpdateProgram(ei,Do,sn));let lr=!1,Bo=!1,Fo=!1,rs=Do.getUniforms(),Ts=sn.uniforms;if(Ht.useProgram(Do.program)&&(lr=!0,Bo=!0,Fo=!0),ei.id!==Qe&&(Qe=ei.id,Bo=!0),sn.needsLights){let Ss=ma(ne.state.lightProbeGridArray,Xt);sn.lightProbeGrid!==Ss&&(sn.lightProbeGrid=Ss,Bo=!0)}if(lr||qe!==ht){Ht.buffers.depth.getReversed()&&ht.reversedDepth!==!0&&(ht._reversedDepth=!0,ht.updateProjectionMatrix()),rs.setValue(He,"projectionMatrix",ht.projectionMatrix),rs.setValue(He,"viewMatrix",ht.matrixWorldInverse);let Tr=rs.map.cameraPosition;Tr!==void 0&&Tr.setValue(He,Ue.setFromMatrixPosition(ht.matrixWorld)),Lt.logarithmicDepthBuffer&&rs.setValue(He,"logDepthBufFC",2/(Math.log(ht.far+1)/Math.LN2)),(ei.isMeshPhongMaterial||ei.isMeshToonMaterial||ei.isMeshLambertMaterial||ei.isMeshBasicMaterial||ei.isMeshStandardMaterial||ei.isShaderMaterial)&&rs.setValue(He,"isOrthographic",ht.isOrthographicCamera===!0),qe!==ht&&(qe=ht,Bo=!0,Fo=!0)}if(sn.needsLights&&(eo.state.directionalShadowMap.length>0&&rs.setValue(He,"directionalShadowMap",eo.state.directionalShadowMap,We),eo.state.spotShadowMap.length>0&&rs.setValue(He,"spotShadowMap",eo.state.spotShadowMap,We),eo.state.pointShadowMap.length>0&&rs.setValue(He,"pointShadowMap",eo.state.pointShadowMap,We)),Xt.isSkinnedMesh){rs.setOptional(He,Xt,"bindMatrix"),rs.setOptional(He,Xt,"bindMatrixInverse");let Ss=Xt.skeleton;Ss&&(Ss.boneTexture===null&&Ss.computeBoneTexture(),rs.setValue(He,"boneTexture",Ss.boneTexture,We))}Xt.isBatchedMesh&&(rs.setOptional(He,Xt,"batchingTexture"),rs.setValue(He,"batchingTexture",Xt._matricesTexture,We),rs.setOptional(He,Xt,"batchingIdTexture"),rs.setValue(He,"batchingIdTexture",Xt._indirectTexture,We),rs.setOptional(He,Xt,"batchingColorTexture"),Xt._colorsTexture!==null&&rs.setValue(He,"batchingColorTexture",Xt._colorsTexture,We));let ls=ni.morphAttributes;if((ls.position!==void 0||ls.normal!==void 0||ls.color!==void 0)&&dn.update(Xt,ni,Do),(Bo||sn.receiveShadow!==Xt.receiveShadow)&&(sn.receiveShadow=Xt.receiveShadow,rs.setValue(He,"receiveShadow",Xt.receiveShadow)),(ei.isMeshStandardMaterial||ei.isMeshLambertMaterial||ei.isMeshPhongMaterial)&&ei.envMap===null&&qt.environment!==null&&(Ts.envMapIntensity.value=qt.environmentIntensity),Ts.dfgLUT!==void 0&&(Ts.dfgLUT.value=aDe()),Bo){if(rs.setValue(He,"toneMappingExposure",he.toneMappingExposure),sn.needsLights&&Gc(Ts,Fo),ji&&ei.fog===!0&&Qt.refreshFogUniforms(Ts,ji),Qt.refreshMaterialUniforms(Ts,ei,Ct,Zt,ne.state.transmissionRenderTarget[ht.id]),sn.needsLights&&sn.lightProbeGrid){let Ss=sn.lightProbeGrid;Ts.probesSH.value=Ss.texture,Ts.probesMin.value.copy(Ss.boundingBox.min),Ts.probesMax.value.copy(Ss.boundingBox.max),Ts.probesResolution.value.copy(Ss.resolution)}n7.upload(He,Hc(sn),Ts,We)}if(ei.isShaderMaterial&&ei.uniformsNeedUpdate===!0&&(n7.upload(He,Hc(sn),Ts,We),ei.uniformsNeedUpdate=!1),ei.isSpriteMaterial&&rs.setValue(He,"center",Xt.center),rs.setValue(He,"modelViewMatrix",Xt.modelViewMatrix),rs.setValue(He,"normalMatrix",Xt.normalMatrix),rs.setValue(He,"modelMatrix",Xt.matrixWorld),ei.uniformsGroups!==void 0){let Ss=ei.uniformsGroups;for(let Tr=0,hr=Ss.length;Tr<hr;Tr++){let b0=Ss[Tr];wi.update(b0,Do),wi.bind(b0,Do)}}return Do}function Gc(ht,qt){ht.ambientLightColor.needsUpdate=qt,ht.lightProbe.needsUpdate=qt,ht.directionalLights.needsUpdate=qt,ht.directionalLightShadows.needsUpdate=qt,ht.pointLights.needsUpdate=qt,ht.pointLightShadows.needsUpdate=qt,ht.spotLights.needsUpdate=qt,ht.spotLightShadows.needsUpdate=qt,ht.rectAreaLights.needsUpdate=qt,ht.hemisphereLights.needsUpdate=qt}function Vc(ht){return ht.isMeshLambertMaterial||ht.isMeshToonMaterial||ht.isMeshPhongMaterial||ht.isMeshStandardMaterial||ht.isShadowMaterial||ht.isShaderMaterial&&ht.lights===!0}this.getActiveCubeFace=function(){return Ae},this.getActiveMipmapLevel=function(){return Ee},this.getRenderTarget=function(){return Ce},this.setRenderTargetTextures=function(ht,qt,ni){let ei=Xe.get(ht);ei.__autoAllocateDepthBuffer=ht.resolveDepthBuffer===!1,ei.__autoAllocateDepthBuffer===!1&&(ei.__useRenderToTexture=!1),Xe.get(ht.texture).__webglTexture=qt,Xe.get(ht.depthTexture).__webglTexture=ei.__autoAllocateDepthBuffer?void 0:ni,ei.__hasExternalTextures=!0},this.setRenderTargetFramebuffer=function(ht,qt){let ni=Xe.get(ht);ni.__webglFramebuffer=qt,ni.__useDefaultFramebuffer=qt===void 0};let yo=He.createFramebuffer();this.setRenderTarget=function(ht,qt=0,ni=0){Ce=ht,Ae=qt,Ee=ni;let ei=null,Xt=!1,ji=!1;if(ht){let Ki=Xe.get(ht);if(Ki.__useDefaultFramebuffer!==void 0){Ht.bindFramebuffer(He.FRAMEBUFFER,Ki.__webglFramebuffer),St.copy(ht.viewport),$e.copy(ht.scissor),ke=ht.scissorTest,Ht.viewport(St),Ht.scissor($e),Ht.setScissorTest(ke),Qe=-1;return}else if(Ki.__webglFramebuffer===void 0)We.setupRenderTarget(ht);else if(Ki.__hasExternalTextures)We.rebindTextures(ht,Xe.get(ht.texture).__webglTexture,Xe.get(ht.depthTexture).__webglTexture);else if(ht.depthBuffer){let zn=ht.depthTexture;if(Ki.__boundDepthTexture!==zn){if(zn!==null&&Xe.has(zn)&&(ht.width!==zn.image.width||ht.height!==zn.image.height))throw new Error("WebGLRenderTarget: Attached DepthTexture is initialized to the incorrect size.");We.setupDepthRenderbuffer(ht)}}let fn=ht.texture;(fn.isData3DTexture||fn.isDataArrayTexture||fn.isCompressedArrayTexture)&&(ji=!0);let En=Xe.get(ht).__webglFramebuffer;ht.isWebGLCubeRenderTarget?(Array.isArray(En[qt])?ei=En[qt][ni]:ei=En[qt],Xt=!0):ht.samples>0&&We.useMultisampledRTT(ht)===!1?ei=Xe.get(ht).__webglMultisampledFramebuffer:Array.isArray(En)?ei=En[ni]:ei=En,St.copy(ht.viewport),$e.copy(ht.scissor),ke=ht.scissorTest}else St.copy(Vt).multiplyScalar(Ct).floor(),$e.copy(Kt).multiplyScalar(Ct).floor(),ke=ui;if(ni!==0&&(ei=yo),Ht.bindFramebuffer(He.FRAMEBUFFER,ei)&&Ht.drawBuffers(ht,ei),Ht.viewport(St),Ht.scissor($e),Ht.setScissorTest(ke),Xt){let Ki=Xe.get(ht.texture);He.framebufferTexture2D(He.FRAMEBUFFER,He.COLOR_ATTACHMENT0,He.TEXTURE_CUBE_MAP_POSITIVE_X+qt,Ki.__webglTexture,ni)}else if(ji){let Ki=qt;for(let fn=0;fn<ht.textures.length;fn++){let En=Xe.get(ht.textures[fn]);He.framebufferTextureLayer(He.FRAMEBUFFER,He.COLOR_ATTACHMENT0+fn,En.__webglTexture,ni,Ki)}}else if(ht!==null&&ni!==0){let Ki=Xe.get(ht.texture);He.framebufferTexture2D(He.FRAMEBUFFER,He.COLOR_ATTACHMENT0,He.TEXTURE_2D,Ki.__webglTexture,ni)}Qe=-1},this.readRenderTargetPixels=function(ht,qt,ni,ei,Xt,ji,rn,Ki=0){if(!(ht&&ht.isWebGLRenderTarget)){yi("WebGLRenderer.readRenderTargetPixels: renderTarget is not THREE.WebGLRenderTarget.");return}let fn=Xe.get(ht).__webglFramebuffer;if(ht.isWebGLCubeRenderTarget&&rn!==void 0&&(fn=fn[rn]),fn){Ht.bindFramebuffer(He.FRAMEBUFFER,fn);try{let En=ht.textures[Ki],zn=En.format,Vn=En.type;if(ht.textures.length>1&&He.readBuffer(He.COLOR_ATTACHMENT0+Ki),!Lt.textureFormatReadable(zn)){yi("WebGLRenderer.readRenderTargetPixels: renderTarget is not in RGBA or implementation defined format.");return}if(!Lt.textureTypeReadable(Vn)){yi("WebGLRenderer.readRenderTargetPixels: renderTarget is not in UnsignedByteType or implementation defined type.");return}qt>=0&&qt<=ht.width-ei&&ni>=0&&ni<=ht.height-Xt&&He.readPixels(qt,ni,ei,Xt,kt.convert(zn),kt.convert(Vn),ji)}finally{let En=Ce!==null?Xe.get(Ce).__webglFramebuffer:null;Ht.bindFramebuffer(He.FRAMEBUFFER,En)}}},this.readRenderTargetPixelsAsync=async function(ht,qt,ni,ei,Xt,ji,rn,Ki=0){if(!(ht&&ht.isWebGLRenderTarget))throw new Error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not THREE.WebGLRenderTarget.");let fn=Xe.get(ht).__webglFramebuffer;if(ht.isWebGLCubeRenderTarget&&rn!==void 0&&(fn=fn[rn]),fn)if(qt>=0&&qt<=ht.width-ei&&ni>=0&&ni<=ht.height-Xt){Ht.bindFramebuffer(He.FRAMEBUFFER,fn);let En=ht.textures[Ki],zn=En.format,Vn=En.type;if(ht.textures.length>1&&He.readBuffer(He.COLOR_ATTACHMENT0+Ki),!Lt.textureFormatReadable(zn))throw new Error("THREE.WebGLRenderer.readRenderTargetPixelsAsync: renderTarget is not in RGBA or implementation defined format.");if(!Lt.textureTypeReadable(Vn))throw new Error("THREE.WebGLRenderer.readRenderTargetPixelsAsync: renderTarget is not in UnsignedByteType or implementation defined type.");let wn=He.createBuffer();He.bindBuffer(He.PIXEL_PACK_BUFFER,wn),He.bufferData(He.PIXEL_PACK_BUFFER,ji.byteLength,He.STREAM_READ),He.readPixels(qt,ni,ei,Xt,kt.convert(zn),kt.convert(Vn),0);let Ds=Ce!==null?Xe.get(Ce).__webglFramebuffer:null;Ht.bindFramebuffer(He.FRAMEBUFFER,Ds);let Ws=He.fenceSync(He.SYNC_GPU_COMMANDS_COMPLETE,0);return He.flush(),await Rfe(He,Ws,4),He.bindBuffer(He.PIXEL_PACK_BUFFER,wn),He.getBufferSubData(He.PIXEL_PACK_BUFFER,0,ji),He.deleteBuffer(wn),He.deleteSync(Ws),ji}else throw new Error("THREE.WebGLRenderer.readRenderTargetPixelsAsync: requested read bounds are out of range.")},this.copyFramebufferToTexture=function(ht,qt=null,ni=0){let ei=Math.pow(2,-ni),Xt=Math.floor(ht.image.width*ei),ji=Math.floor(ht.image.height*ei),rn=qt!==null?qt.x:0,Ki=qt!==null?qt.y:0;We.setTexture2D(ht,0),He.copyTexSubImage2D(He.TEXTURE_2D,ni,0,0,rn,Ki,Xt,ji),Ht.unbindTexture()};let vu=He.createFramebuffer(),Es=He.createFramebuffer();this.copyTextureToTexture=function(ht,qt,ni=null,ei=null,Xt=0,ji=0){let rn,Ki,fn,En,zn,Vn,wn,Ds,Ws,Ys=ht.isCompressedTexture?ht.mipmaps[ji]:ht.image;if(ni!==null)rn=ni.max.x-ni.min.x,Ki=ni.max.y-ni.min.y,fn=ni.isBox3?ni.max.z-ni.min.z:1,En=ni.min.x,zn=ni.min.y,Vn=ni.isBox3?ni.min.z:0;else{let Ts=Math.pow(2,-Xt);rn=Math.floor(Ys.width*Ts),Ki=Math.floor(Ys.height*Ts),ht.isDataArrayTexture?fn=Ys.depth:ht.isData3DTexture?fn=Math.floor(Ys.depth*Ts):fn=1,En=0,zn=0,Vn=0}ei!==null?(wn=ei.x,Ds=ei.y,Ws=ei.z):(wn=0,Ds=0,Ws=0);let hs=kt.convert(qt.format),uo=kt.convert(qt.type),sn;qt.isData3DTexture?(We.setTexture3D(qt,0),sn=He.TEXTURE_3D):qt.isDataArrayTexture||qt.isCompressedArrayTexture?(We.setTexture2DArray(qt,0),sn=He.TEXTURE_2D_ARRAY):(We.setTexture2D(qt,0),sn=He.TEXTURE_2D),Ht.activeTexture(He.TEXTURE0),Ht.pixelStorei(He.UNPACK_FLIP_Y_WEBGL,qt.flipY),Ht.pixelStorei(He.UNPACK_PREMULTIPLY_ALPHA_WEBGL,qt.premultiplyAlpha),Ht.pixelStorei(He.UNPACK_ALIGNMENT,qt.unpackAlignment);let eo=Ht.getParameter(He.UNPACK_ROW_LENGTH),Xn=Ht.getParameter(He.UNPACK_IMAGE_HEIGHT),Do=Ht.getParameter(He.UNPACK_SKIP_PIXELS),lr=Ht.getParameter(He.UNPACK_SKIP_ROWS),Bo=Ht.getParameter(He.UNPACK_SKIP_IMAGES);Ht.pixelStorei(He.UNPACK_ROW_LENGTH,Ys.width),Ht.pixelStorei(He.UNPACK_IMAGE_HEIGHT,Ys.height),Ht.pixelStorei(He.UNPACK_SKIP_PIXELS,En),Ht.pixelStorei(He.UNPACK_SKIP_ROWS,zn),Ht.pixelStorei(He.UNPACK_SKIP_IMAGES,Vn);let Fo=ht.isDataArrayTexture||ht.isData3DTexture,rs=qt.isDataArrayTexture||qt.isData3DTexture;if(ht.isDepthTexture){let Ts=Xe.get(ht),ls=Xe.get(qt),Ss=Xe.get(Ts.__renderTarget),Tr=Xe.get(ls.__renderTarget);Ht.bindFramebuffer(He.READ_FRAMEBUFFER,Ss.__webglFramebuffer),Ht.bindFramebuffer(He.DRAW_FRAMEBUFFER,Tr.__webglFramebuffer);for(let hr=0;hr<fn;hr++)Fo&&(He.framebufferTextureLayer(He.READ_FRAMEBUFFER,He.COLOR_ATTACHMENT0,Xe.get(ht).__webglTexture,Xt,Vn+hr),He.framebufferTextureLayer(He.DRAW_FRAMEBUFFER,He.COLOR_ATTACHMENT0,Xe.get(qt).__webglTexture,ji,Ws+hr)),He.blitFramebuffer(En,zn,rn,Ki,wn,Ds,rn,Ki,He.DEPTH_BUFFER_BIT,He.NEAREST);Ht.bindFramebuffer(He.READ_FRAMEBUFFER,null),Ht.bindFramebuffer(He.DRAW_FRAMEBUFFER,null)}else if(Xt!==0||ht.isRenderTargetTexture||Xe.has(ht)){let Ts=Xe.get(ht),ls=Xe.get(qt);Ht.bindFramebuffer(He.READ_FRAMEBUFFER,vu),Ht.bindFramebuffer(He.DRAW_FRAMEBUFFER,Es);for(let Ss=0;Ss<fn;Ss++)Fo?He.framebufferTextureLayer(He.READ_FRAMEBUFFER,He.COLOR_ATTACHMENT0,Ts.__webglTexture,Xt,Vn+Ss):He.framebufferTexture2D(He.READ_FRAMEBUFFER,He.COLOR_ATTACHMENT0,He.TEXTURE_2D,Ts.__webglTexture,Xt),rs?He.framebufferTextureLayer(He.DRAW_FRAMEBUFFER,He.COLOR_ATTACHMENT0,ls.__webglTexture,ji,Ws+Ss):He.framebufferTexture2D(He.DRAW_FRAMEBUFFER,He.COLOR_ATTACHMENT0,He.TEXTURE_2D,ls.__webglTexture,ji),Xt!==0?He.blitFramebuffer(En,zn,rn,Ki,wn,Ds,rn,Ki,He.COLOR_BUFFER_BIT,He.NEAREST):rs?He.copyTexSubImage3D(sn,ji,wn,Ds,Ws+Ss,En,zn,rn,Ki):He.copyTexSubImage2D(sn,ji,wn,Ds,En,zn,rn,Ki);Ht.bindFramebuffer(He.READ_FRAMEBUFFER,null),Ht.bindFramebuffer(He.DRAW_FRAMEBUFFER,null)}else rs?ht.isDataTexture||ht.isData3DTexture?He.texSubImage3D(sn,ji,wn,Ds,Ws,rn,Ki,fn,hs,uo,Ys.data):qt.isCompressedArrayTexture?He.compressedTexSubImage3D(sn,ji,wn,Ds,Ws,rn,Ki,fn,hs,Ys.data):He.texSubImage3D(sn,ji,wn,Ds,Ws,rn,Ki,fn,hs,uo,Ys):ht.isDataTexture?He.texSubImage2D(He.TEXTURE_2D,ji,wn,Ds,rn,Ki,hs,uo,Ys.data):ht.isCompressedTexture?He.compressedTexSubImage2D(He.TEXTURE_2D,ji,wn,Ds,Ys.width,Ys.height,hs,Ys.data):He.texSubImage2D(He.TEXTURE_2D,ji,wn,Ds,rn,Ki,hs,uo,Ys);Ht.pixelStorei(He.UNPACK_ROW_LENGTH,eo),Ht.pixelStorei(He.UNPACK_IMAGE_HEIGHT,Xn),Ht.pixelStorei(He.UNPACK_SKIP_PIXELS,Do),Ht.pixelStorei(He.UNPACK_SKIP_ROWS,lr),Ht.pixelStorei(He.UNPACK_SKIP_IMAGES,Bo),ji===0&&qt.generateMipmaps&&He.generateMipmap(sn),Ht.unbindTexture()},this.initRenderTarget=function(ht){Xe.get(ht).__webglFramebuffer===void 0&&We.setupRenderTarget(ht)},this.initTexture=function(ht){ht.isCubeTexture?We.setTextureCube(ht,0):ht.isData3DTexture?We.setTexture3D(ht,0):ht.isDataArrayTexture||ht.isCompressedArrayTexture?We.setTexture2DArray(ht,0):We.setTexture2D(ht,0),Ht.unbindTexture()},this.resetState=function(){Ae=0,Ee=0,Ce=null,Ht.reset(),Gi.reset()},typeof __THREE_DEVTOOLS__<"u"&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("observe",{detail:this}))}get coordinateSystem(){return Wc}get outputColorSpace(){return this._outputColorSpace}set outputColorSpace(t){this._outputColorSpace=t;let i=this.getContext();i.drawingBufferColorSpace=Hn._getDrawingBufferColorSpace(t),i.unpackColorSpace=Hn._getUnpackColorSpace()}};var p4e={};wee(p4e,{AngleAnnotations:()=>rJ,AnnotationSystem:()=>oA,ArrowTick:()=>SWe,AsyncEvent:()=>Rde,BCFTopics:()=>v0,BCFTopicsConfigManager:()=>jQ,Base:()=>RM,BaseCamera:()=>bQ,BaseRenderer:()=>NQ,BaseScene:()=>_Q,BaseWorldItem:()=>SM,BlockAnnotations:()=>Gz,BoundingBoxer:()=>S0e,CalloutAnnotations:()=>uJ,CircleEnclosure:()=>VWe,Classifier:()=>mWe,Clipper:()=>Wx,CloudEnclosure:()=>u4e,Comment:()=>_M,Component:()=>Gl,Components:()=>b0e,ConfigManager:()=>Vz,Configurator:()=>__,ControlsUtils:()=>wM,DataMap:()=>xde,DataSet:()=>Ade,DiagonalTick:()=>C0e,Disposer:()=>CM,DotTick:()=>AWe,DrawingAnnotations:()=>eJ,DrawingLayers:()=>tJ,DrawingSystem:()=>oA,DrawingViewport:()=>iJ,DrawingViewportHelper:()=>K2e,DrawingViewports:()=>nJ,DxfExporter:()=>cJ,DxfManager:()=>zWe,EdgeProjector:()=>m2e,Event:()=>$i,EventManager:()=>Ode,FastModelPicker:()=>MQ,FastModelPickers:()=>_2e,FilledArrowTick:()=>Z2e,FilledCircleTick:()=>bWe,FilledSquareTick:()=>NWe,FinderQuery:()=>PQ,FirstPersonMode:()=>kQ,FragmentsManager:()=>_s,Grids:()=>yWe,Hider:()=>g2e,IDSAttribute:()=>$Q,IDSClassification:()=>ZQ,IDSEntity:()=>DM,IDSFacet:()=>sA,IDSMaterial:()=>QQ,IDSPartOf:()=>JQ,IDSProperty:()=>KQ,IDSSpecification:()=>XQ,IDSSpecifications:()=>Y2e,IfcFragmentSettings:()=>LQ,IfcLoader:()=>IWe,ItemsFinder:()=>vM,LeaderAnnotations:()=>lJ,LinearAnnotations:()=>oJ,MeasurementUtils:()=>RWe,ModelIdMapUtils:()=>Kh,Mouse:()=>Bz,NoTick:()=>$2e,OpenArrowTick:()=>x0e,OrbitMode:()=>zQ,OrthoPerspectiveCamera:()=>NM,PlanMode:()=>WQ,ProjectionManager:()=>YQ,Raycasters:()=>Fz,RectEnclosure:()=>GWe,RendererMode:()=>x2e,ShadowedScene:()=>h0e,SimpleCamera:()=>bM,SimpleGrid:()=>VQ,SimpleGridConfigManager:()=>GQ,SimplePlane:()=>qQ,SimpleRaycaster:()=>BQ,SimpleRenderer:()=>r0e,SimpleScene:()=>HQ,SimpleSceneConfigManager:()=>UQ,SimpleWorld:()=>FQ,SlopeAnnotations:()=>aJ,TechnicalDrawing:()=>sJ,TechnicalDrawingHelper:()=>_We,TechnicalDrawings:()=>X2,Topic:()=>l0e,UUID:()=>dI,Units:()=>DWe,VertexPicker:()=>Cde,View:()=>Hz,Viewpoint:()=>Uz,Viewpoints:()=>e4,Views:()=>W2e,Worlds:()=>A0e,XML:()=>jx,angleDimensionMachine:()=>i4e,buildAnglePositions:()=>B0e,buildAnglePreviewPositions:()=>p0e,buildCalloutPositions:()=>G0e,buildCalloutPreviewPositions:()=>AQ,buildDimensionPositions:()=>pJ,buildDimensions:()=>J2e,buildLeaderPositions:()=>F0e,buildLeaderPreviewPositions:()=>m0e,buildPreviewPositions:()=>e4e,buildSlopePositions:()=>U0e,calloutAnnotationMachine:()=>a4e,computeAlignmentMatrix:()=>Q2e,computeAngle:()=>n4e,computeBisectorAngle:()=>s4e,computeOffset:()=>L0e,extensionsImporter:()=>G2e,formatSlope:()=>l4e,getAngleTickEndpoints:()=>M0e,getDimensionTickEndpoints:()=>P0e,getSlopeTip:()=>H0e,leaderAnnotationMachine:()=>r4e,linearDimensionMachine:()=>X2e});var Sq={};wee(Sq,{Constructors:()=>RV,EMPTY:()=>Hxe,ENUM:()=>Bxe,FILE_DESCRIPTION:()=>vq,FILE_NAME:()=>Rq,FILE_SCHEMA:()=>kj,FromRawLineData:()=>y6,Handle:()=>u,IFC2DCOMPOSITECURVE:()=>S7,IFC2X3:()=>f,IFC4:()=>c,IFC4X3:()=>a,IFCABSORBEDDOSEMEASURE:()=>U6e,IFCACCELERATIONMEASURE:()=>F6e,IFCACTIONREQUEST:()=>Qm,IFCACTOR:()=>Lw,IFCACTORROLE:()=>Lxe,IFCACTUATOR:()=>Ch,IFCACTUATORTYPE:()=>$a,IFCADDRESS:()=>Oxe,IFCADVANCEDBREP:()=>E3,IFCADVANCEDBREPWITHVOIDS:()=>qm,IFCADVANCEDFACE:()=>v3,IFCAIRTERMINAL:()=>bd,IFCAIRTERMINALBOX:()=>Ad,IFCAIRTERMINALBOXTYPE:()=>al,IFCAIRTERMINALTYPE:()=>ll,IFCAIRTOAIRHEATRECOVERY:()=>Sd,IFCAIRTOAIRHEATRECOVERYTYPE:()=>rl,IFCALARM:()=>Dh,IFCALARMTYPE:()=>qa,IFCALIGNMENT:()=>FC,IFCALIGNMENTCANT:()=>h7,IFCALIGNMENTCANTSEGMENT:()=>fpe,IFCALIGNMENTHORIZONTAL:()=>d7,IFCALIGNMENTHORIZONTALSEGMENT:()=>hpe,IFCALIGNMENTPARAMETERSEGMENT:()=>H6e,IFCALIGNMENTSEGMENT:()=>c7,IFCALIGNMENTVERTICAL:()=>u7,IFCALIGNMENTVERTICALSEGMENT:()=>ype,IFCAMOUNTOFSUBSTANCEMEASURE:()=>B6e,IFCANGULARDIMENSION:()=>OG,IFCANGULARVELOCITYMEASURE:()=>M6e,IFCANNOTATION:()=>Y0,IFCANNOTATIONCURVEOCCURRENCE:()=>_j,IFCANNOTATIONFILLAREA:()=>S6,IFCANNOTATIONFILLAREAOCCURRENCE:()=>Nj,IFCANNOTATIONOCCURRENCE:()=>cie,IFCANNOTATIONSURFACE:()=>P7,IFCANNOTATIONSURFACEOCCURRENCE:()=>Fj,IFCANNOTATIONSYMBOLOCCURRENCE:()=>Bj,IFCANNOTATIONTEXTOCCURRENCE:()=>Mj,IFCAPPLICATION:()=>xxe,IFCAPPLIEDVALUE:()=>Cxe,IFCAPPLIEDVALUERELATIONSHIP:()=>o6,IFCAPPROVAL:()=>Dxe,IFCAPPROVALACTORRELATIONSHIP:()=>Hpe,IFCAPPROVALPROPERTYRELATIONSHIP:()=>_xe,IFCAPPROVALRELATIONSHIP:()=>SS,IFCARBITRARYCLOSEDPROFILEDEF:()=>J7,IFCARBITRARYOPENPROFILEDEF:()=>Q7,IFCARBITRARYPROFILEDEFWITHVOIDS:()=>fS,IFCARCINDEX:()=>CDe,IFCAREADENSITYMEASURE:()=>DDe,IFCAREAMEASURE:()=>P6e,IFCASSET:()=>Km,IFCASYMMETRICISHAPEPROFILEDEF:()=>Ow,IFCAUDIOVISUALAPPLIANCE:()=>Rd,IFCAUDIOVISUALAPPLIANCETYPE:()=>Rh,IFCAXIS1PLACEMENT:()=>qy,IFCAXIS2PLACEMENT2D:()=>jy,IFCAXIS2PLACEMENT3D:()=>Yy,IFCAXIS2PLACEMENTLINEAR:()=>gj,IFCBEAM:()=>Lu,IFCBEAMSTANDARDCASE:()=>yw,IFCBEAMTYPE:()=>ec,IFCBEARING:()=>BC,IFCBEARINGTYPE:()=>$R,IFCBEZIERCURVE:()=>R7,IFCBINARY:()=>_De,IFCBLOBTEXTURE:()=>U7,IFCBLOCK:()=>xw,IFCBOILER:()=>vd,IFCBOILERTYPE:()=>ol,IFCBOOLEAN:()=>L6e,IFCBOOLEANCLIPPINGRESULT:()=>R1,IFCBOOLEANRESULT:()=>X5,IFCBOREHOLE:()=>oN,IFCBOUNDARYCONDITION:()=>Nxe,IFCBOUNDARYCURVE:()=>Sp,IFCBOUNDARYEDGECONDITION:()=>wq,IFCBOUNDARYFACECONDITION:()=>gq,IFCBOUNDARYNODECONDITION:()=>Tq,IFCBOUNDARYNODECONDITIONWARPING:()=>V6,IFCBOUNDEDCURVE:()=>xy,IFCBOUNDEDSURFACE:()=>Wy,IFCBOUNDINGBOX:()=>R6,IFCBOXALIGNMENT:()=>O6e,IFCBOXEDHALFSPACE:()=>zy,IFCBRIDGE:()=>aN,IFCBRIDGEPART:()=>Iw,IFCBSPLINECURVE:()=>Zm,IFCBSPLINECURVEWITHKNOTS:()=>XT,IFCBSPLINESURFACE:()=>a5,IFCBSPLINESURFACEWITHKNOTS:()=>r3,IFCBUILDING:()=>du,IFCBUILDINGELEMENT:()=>p3,IFCBUILDINGELEMENTCOMPONENT:()=>i6,IFCBUILDINGELEMENTPART:()=>Xa,IFCBUILDINGELEMENTPARTTYPE:()=>Fm,IFCBUILDINGELEMENTPROXY:()=>Xu,IFCBUILDINGELEMENTPROXYTYPE:()=>Ju,IFCBUILDINGELEMENTTYPE:()=>I3,IFCBUILDINGSTOREY:()=>pu,IFCBUILDINGSYSTEM:()=>JT,IFCBUILTELEMENT:()=>gN,IFCBUILTELEMENTTYPE:()=>E7,IFCBUILTSYSTEM:()=>a7,IFCBURNER:()=>wd,IFCBURNERTYPE:()=>vh,IFCCABLECARRIERFITTING:()=>gd,IFCCABLECARRIERFITTINGTYPE:()=>sl,IFCCABLECARRIERSEGMENT:()=>Td,IFCCABLECARRIERSEGMENTTYPE:()=>nl,IFCCABLEFITTING:()=>Ed,IFCCABLEFITTINGTYPE:()=>wh,IFCCABLESEGMENT:()=>yd,IFCCABLESEGMENTTYPE:()=>il,IFCCAISSONFOUNDATION:()=>sN,IFCCAISSONFOUNDATIONTYPE:()=>lN,IFCCALENDARDATE:()=>bxe,IFCCARDINALPOINTREFERENCE:()=>NDe,IFCCARTESIANPOINT:()=>ky,IFCCARTESIANPOINTLIST:()=>E6,IFCCARTESIANPOINTLIST2D:()=>N5,IFCCARTESIANPOINTLIST3D:()=>b5,IFCCARTESIANTRANSFORMATIONOPERATOR:()=>Q5,IFCCARTESIANTRANSFORMATIONOPERATOR2D:()=>Vy,IFCCARTESIANTRANSFORMATIONOPERATOR2DNONUNIFORM:()=>Xp,IFCCARTESIANTRANSFORMATIONOPERATOR3D:()=>Gy,IFCCARTESIANTRANSFORMATIONOPERATOR3DNONUNIFORM:()=>Jp,IFCCENTERLINEPROFILEDEF:()=>hS,IFCCHAMFEREDGEFEATURE:()=>GR,IFCCHILLER:()=>md,IFCCHILLERTYPE:()=>tl,IFCCHIMNEY:()=>Rp,IFCCHIMNEYTYPE:()=>Bp,IFCCIRCLE:()=>zp,IFCCIRCLEHOLLOWPROFILEDEF:()=>Cy,IFCCIRCLEPROFILEDEF:()=>K5,IFCCIVILELEMENT:()=>Wm,IFCCIVILELEMENTTYPE:()=>o3,IFCCLASSIFICATION:()=>Vie,IFCCLASSIFICATIONITEM:()=>Upe,IFCCLASSIFICATIONITEMRELATIONSHIP:()=>fie,IFCCLASSIFICATIONNOTATION:()=>Axe,IFCCLASSIFICATIONNOTATIONFACET:()=>Sxe,IFCCLASSIFICATIONREFERENCE:()=>_N,IFCCLOSEDSHELL:()=>Hy,IFCCLOTHOID:()=>SG,IFCCOIL:()=>Id,IFCCOILTYPE:()=>el,IFCCOLOURRGB:()=>NN,IFCCOLOURRGBLIST:()=>aV,IFCCOLOURSPECIFICATION:()=>wV,IFCCOLUMN:()=>Qu,IFCCOLUMNSTANDARDCASE:()=>Aw,IFCCOLUMNTYPE:()=>hc,IFCCOMMUNICATIONSAPPLIANCE:()=>pd,IFCCOMMUNICATIONSAPPLIANCETYPE:()=>gh,IFCCOMPLEXNUMBER:()=>x6e,IFCCOMPLEXPROPERTY:()=>Ao,IFCCOMPLEXPROPERTYTEMPLATE:()=>Vp,IFCCOMPOSITECURVE:()=>Iu,IFCCOMPOSITECURVEONSURFACE:()=>jm,IFCCOMPOSITECURVESEGMENT:()=>kw,IFCCOMPOSITEPROFILEDEF:()=>K7,IFCCOMPOUNDPLANEANGLEMEASURE:()=>C6e,IFCCOMPRESSOR:()=>fd,IFCCOMPRESSORTYPE:()=>Xr,IFCCONDENSER:()=>hd,IFCCONDENSERTYPE:()=>Jr,IFCCONDITION:()=>xG,IFCCONDITIONCRITERION:()=>CG,IFCCONIC:()=>Cw,IFCCONNECTEDFACESET:()=>l2,IFCCONNECTIONCURVEGEOMETRY:()=>Z7,IFCCONNECTIONGEOMETRY:()=>Gie,IFCCONNECTIONPOINTECCENTRICITY:()=>dS,IFCCONNECTIONPOINTGEOMETRY:()=>n8,IFCCONNECTIONPORTGEOMETRY:()=>Fpe,IFCCONNECTIONSURFACEGEOMETRY:()=>j6,IFCCONNECTIONVOLUMEGEOMETRY:()=>dV,IFCCONSTRAINT:()=>Rxe,IFCCONSTRAINTAGGREGATIONRELATIONSHIP:()=>s6,IFCCONSTRAINTCLASSIFICATIONRELATIONSHIP:()=>Vj,IFCCONSTRAINTRELATIONSHIP:()=>n6,IFCCONSTRUCTIONEQUIPMENTRESOURCE:()=>Sf,IFCCONSTRUCTIONEQUIPMENTRESOURCETYPE:()=>s3,IFCCONSTRUCTIONMATERIALRESOURCE:()=>Rf,IFCCONSTRUCTIONMATERIALRESOURCETYPE:()=>n3,IFCCONSTRUCTIONPRODUCTRESOURCE:()=>vf,IFCCONSTRUCTIONPRODUCTRESOURCETYPE:()=>i3,IFCCONSTRUCTIONRESOURCE:()=>d1,IFCCONSTRUCTIONRESOURCETYPE:()=>E5,IFCCONTEXT:()=>qG,IFCCONTEXTDEPENDENTMEASURE:()=>D6e,IFCCONTEXTDEPENDENTUNIT:()=>tq,IFCCONTROL:()=>Dw,IFCCONTROLLER:()=>_h,IFCCONTROLLERTYPE:()=>ja,IFCCONVERSIONBASEDUNIT:()=>eq,IFCCONVERSIONBASEDUNITWITHOFFSET:()=>JG,IFCCONVEYORSEGMENT:()=>DR,IFCCONVEYORSEGMENTTYPE:()=>MR,IFCCOOLEDBEAM:()=>dd,IFCCOOLEDBEAMTYPE:()=>Qr,IFCCOOLINGTOWER:()=>cd,IFCCOOLINGTOWERTYPE:()=>Kr,IFCCOORDINATEDUNIVERSALTIMEOFFSET:()=>vxe,IFCCOORDINATEOPERATION:()=>Nw,IFCCOORDINATEREFERENCESYSTEM:()=>Aie,IFCCOSINESPIRAL:()=>RG,IFCCOSTITEM:()=>c1,IFCCOSTSCHEDULE:()=>u1,IFCCOSTVALUE:()=>Eq,IFCCOUNTMEASURE:()=>_6e,IFCCOURSE:()=>qR,IFCCOURSETYPE:()=>n5,IFCCOVERING:()=>Ku,IFCCOVERINGTYPE:()=>dc,IFCCRANERAILASHAPEPROFILEDEF:()=>nie,IFCCRANERAILFSHAPEPROFILEDEF:()=>iie,IFCCREWRESOURCE:()=>Pf,IFCCREWRESOURCETYPE:()=>f3,IFCCSGPRIMITIVE3D:()=>v6,IFCCSGSOLID:()=>Uy,IFCCSHAPEPROFILEDEF:()=>J5,IFCCURRENCYRELATIONSHIP:()=>Hie,IFCCURTAINWALL:()=>Zu,IFCCURTAINWALLTYPE:()=>cc,IFCCURVATUREMEASURE:()=>N6e,IFCCURVE:()=>Z5,IFCCURVEBOUNDEDPLANE:()=>Qp,IFCCURVEBOUNDEDSURFACE:()=>w3,IFCCURVESEGMENT:()=>Tj,IFCCURVESTYLE:()=>$7,IFCCURVESTYLEFONT:()=>gV,IFCCURVESTYLEFONTANDSCALING:()=>TV,IFCCURVESTYLEFONTPATTERN:()=>EV,IFCCYLINDRICALSURFACE:()=>y3,IFCDAMPER:()=>ud,IFCDAMPERTYPE:()=>Zr,IFCDATE:()=>bDe,IFCDATEANDTIME:()=>wxe,IFCDATETIME:()=>ADe,IFCDAYINMONTHNUMBER:()=>b6e,IFCDAYINWEEKNUMBER:()=>SDe,IFCDAYLIGHTSAVINGHOUR:()=>A6e,IFCDEEPFOUNDATION:()=>zC,IFCDEEPFOUNDATIONTYPE:()=>i5,IFCDEFINEDSYMBOL:()=>tie,IFCDERIVEDPROFILEDEF:()=>q7,IFCDERIVEDUNIT:()=>Uie,IFCDERIVEDUNITELEMENT:()=>gxe,IFCDESCRIPTIVEMEASURE:()=>S6e,IFCDIAMETERDIMENSION:()=>DG,IFCDIMENSIONALEXPONENTS:()=>Txe,IFCDIMENSIONCALLOUTRELATIONSHIP:()=>Spe,IFCDIMENSIONCOUNT:()=>R6e,IFCDIMENSIONCURVE:()=>WG,IFCDIMENSIONCURVEDIRECTEDCALLOUT:()=>Rj,IFCDIMENSIONCURVETERMINATOR:()=>_7,IFCDIMENSIONPAIR:()=>Rpe,IFCDIRECTION:()=>$5,IFCDIRECTRIXCURVESWEPTAREASOLID:()=>_G,IFCDIRECTRIXDERIVEDREFERENCESWEPTAREASOLID:()=>XC,IFCDISCRETEACCESSORY:()=>$u,IFCDISCRETEACCESSORYTYPE:()=>i0,IFCDISTRIBUTIONBOARD:()=>_R,IFCDISTRIBUTIONBOARDTYPE:()=>PR,IFCDISTRIBUTIONCHAMBERELEMENT:()=>Ql,IFCDISTRIBUTIONCHAMBERELEMENTTYPE:()=>Ja,IFCDISTRIBUTIONCIRCUIT:()=>Pm,IFCDISTRIBUTIONCONTROLELEMENT:()=>Ou,IFCDISTRIBUTIONCONTROLELEMENTTYPE:()=>t0,IFCDISTRIBUTIONELEMENT:()=>H0,IFCDISTRIBUTIONELEMENTTYPE:()=>Lf,IFCDISTRIBUTIONFLOWELEMENT:()=>qu,IFCDISTRIBUTIONFLOWELEMENTTYPE:()=>p0,IFCDISTRIBUTIONPORT:()=>wf,IFCDISTRIBUTIONSYSTEM:()=>QT,IFCDOCUMENTELECTRONICFORMAT:()=>Exe,IFCDOCUMENTINFORMATION:()=>yq,IFCDOCUMENTINFORMATIONRELATIONSHIP:()=>RS,IFCDOCUMENTREFERENCE:()=>j7,IFCDOOR:()=>ju,IFCDOORLININGPROPERTIES:()=>Sy,IFCDOORPANELPROPERTIES:()=>Ry,IFCDOORSTANDARDCASE:()=>Sw,IFCDOORSTYLE:()=>w5,IFCDOORTYPE:()=>Mp,IFCDOSEEQUIVALENTMEASURE:()=>v6e,IFCDRAUGHTINGCALLOUT:()=>eie,IFCDRAUGHTINGCALLOUTRELATIONSHIP:()=>pp,IFCDRAUGHTINGPREDEFINEDCOLOUR:()=>D5,IFCDRAUGHTINGPREDEFINEDCURVEFONT:()=>b3,IFCDRAUGHTINGPREDEFINEDTEXTFONT:()=>uie,IFCDUCTFITTING:()=>ad,IFCDUCTFITTINGTYPE:()=>$r,IFCDUCTSEGMENT:()=>ld,IFCDUCTSEGMENTTYPE:()=>qr,IFCDUCTSILENCER:()=>rd,IFCDUCTSILENCERTYPE:()=>jr,IFCDURATION:()=>RDe,IFCDYNAMICVISCOSITYMEASURE:()=>w6e,IFCEARTHWORKSCUT:()=>ZT,IFCEARTHWORKSELEMENT:()=>kC,IFCEARTHWORKSFILL:()=>$T,IFCEDGE:()=>cS,IFCEDGECURVE:()=>eE,IFCEDGEFEATURE:()=>yN,IFCEDGELOOP:()=>Fy,IFCELECTRICALBASEPROPERTIES:()=>kG,IFCELECTRICALCIRCUIT:()=>v7,IFCELECTRICALELEMENT:()=>w7,IFCELECTRICAPPLIANCE:()=>od,IFCELECTRICAPPLIANCETYPE:()=>Yr,IFCELECTRICCAPACITANCEMEASURE:()=>g6e,IFCELECTRICCHARGEMEASURE:()=>T6e,IFCELECTRICCONDUCTANCEMEASURE:()=>E6e,IFCELECTRICCURRENTMEASURE:()=>y6e,IFCELECTRICDISTRIBUTIONBOARD:()=>sd,IFCELECTRICDISTRIBUTIONBOARDTYPE:()=>Th,IFCELECTRICDISTRIBUTIONPOINT:()=>HR,IFCELECTRICFLOWSTORAGEDEVICE:()=>nd,IFCELECTRICFLOWSTORAGEDEVICETYPE:()=>Wr,IFCELECTRICFLOWTREATMENTDEVICE:()=>NR,IFCELECTRICFLOWTREATMENTDEVICETYPE:()=>LR,IFCELECTRICGENERATOR:()=>id,IFCELECTRICGENERATORTYPE:()=>zr,IFCELECTRICHEATERTYPE:()=>kR,IFCELECTRICMOTOR:()=>td,IFCELECTRICMOTORTYPE:()=>kr,IFCELECTRICRESISTANCEMEASURE:()=>m6e,IFCELECTRICTIMECONTROL:()=>ed,IFCELECTRICTIMECONTROLTYPE:()=>Vr,IFCELECTRICVOLTAGEMEASURE:()=>I6e,IFCELEMENT:()=>a1,IFCELEMENTARYSURFACE:()=>Vw,IFCELEMENTASSEMBLY:()=>z0,IFCELEMENTASSEMBLYTYPE:()=>t3,IFCELEMENTCOMPONENT:()=>Of,IFCELEMENTCOMPONENTTYPE:()=>xf,IFCELEMENTQUANTITY:()=>jI,IFCELEMENTTYPE:()=>T1,IFCELLIPSE:()=>jp,IFCELLIPSEPROFILEDEF:()=>w6,IFCENERGYCONVERSIONDEVICE:()=>ra,IFCENERGYCONVERSIONDEVICETYPE:()=>cu,IFCENERGYMEASURE:()=>p6e,IFCENERGYPROPERTIES:()=>bj,IFCENGINE:()=>e0,IFCENGINETYPE:()=>Nh,IFCENVIRONMENTALIMPACTVALUE:()=>Bpe,IFCEQUIPMENTELEMENT:()=>N7,IFCEQUIPMENTSTANDARD:()=>VG,IFCEVAPORATIVECOOLER:()=>Xd,IFCEVAPORATIVECOOLERTYPE:()=>Ol,IFCEVAPORATOR:()=>Jd,IFCEVAPORATORTYPE:()=>xl,IFCEVENT:()=>l5,IFCEVENTTIME:()=>Tie,IFCEVENTTYPE:()=>y5,IFCEXTENDEDMATERIALPROPERTIES:()=>vpe,IFCEXTENDEDPROPERTIES:()=>Eie,IFCEXTERNALINFORMATION:()=>K6e,IFCEXTERNALLYDEFINEDHATCHSTYLE:()=>mq,IFCEXTERNALLYDEFINEDSURFACESTYLE:()=>Iq,IFCEXTERNALLYDEFINEDSYMBOL:()=>Mpe,IFCEXTERNALLYDEFINEDTEXTFONT:()=>pq,IFCEXTERNALREFERENCE:()=>yxe,IFCEXTERNALREFERENCERELATIONSHIP:()=>ai,IFCEXTERNALSPATIALELEMENT:()=>Bm,IFCEXTERNALSPATIALSTRUCTUREELEMENT:()=>e3,IFCEXTRUDEDAREASOLID:()=>Kp,IFCEXTRUDEDAREASOLIDTAPERED:()=>$m,IFCFACE:()=>uS,IFCFACEBASEDSURFACEMODEL:()=>q5,IFCFACEBOUND:()=>aS,IFCFACEOUTERBOUND:()=>Xy,IFCFACESURFACE:()=>Jy,IFCFACETEDBREP:()=>Yp,IFCFACETEDBREPWITHVOIDS:()=>Uh,IFCFACILITY:()=>JC,IFCFACILITYPART:()=>QC,IFCFACILITYPARTCOMMON:()=>mN,IFCFAILURECONNECTIONCONDITION:()=>Xj,IFCFAN:()=>Xc,IFCFANTYPE:()=>Gr,IFCFASTENER:()=>uc,IFCFASTENERTYPE:()=>f0,IFCFEATUREELEMENT:()=>Cf,IFCFEATUREELEMENTADDITION:()=>h0,IFCFEATUREELEMENTSUBTRACTION:()=>d0,IFCFILLAREASTYLE:()=>Y7,IFCFILLAREASTYLEHATCHING:()=>j5,IFCFILLAREASTYLETILES:()=>Y5,IFCFILLAREASTYLETILESYMBOLWITHSTYLE:()=>Xte,IFCFILTER:()=>Jc,IFCFILTERTYPE:()=>Hr,IFCFIRESUPPRESSIONTERMINAL:()=>Qc,IFCFIRESUPPRESSIONTERMINALTYPE:()=>Ur,IFCFIXEDREFERENCESWEPTAREASOLID:()=>bw,IFCFLOWCONTROLLER:()=>oa,IFCFLOWCONTROLLERTYPE:()=>uu,IFCFLOWFITTING:()=>sa,IFCFLOWFITTINGTYPE:()=>au,IFCFLOWINSTRUMENT:()=>Ph,IFCFLOWINSTRUMENTTYPE:()=>Qa,IFCFLOWMETER:()=>Qd,IFCFLOWMETERTYPE:()=>Cl,IFCFLOWMOVINGDEVICE:()=>na,IFCFLOWMOVINGDEVICETYPE:()=>lu,IFCFLOWSEGMENT:()=>ia,IFCFLOWSEGMENTTYPE:()=>ru,IFCFLOWSTORAGEDEVICE:()=>ta,IFCFLOWSTORAGEDEVICETYPE:()=>ou,IFCFLOWTERMINAL:()=>ea,IFCFLOWTERMINALTYPE:()=>su,IFCFLOWTREATMENTDEVICE:()=>Xl,IFCFLOWTREATMENTDEVICETYPE:()=>nu,IFCFLUIDFLOWPROPERTIES:()=>Aj,IFCFONTSTYLE:()=>f6e,IFCFONTVARIANT:()=>h6e,IFCFONTWEIGHT:()=>d6e,IFCFOOTING:()=>Yu,IFCFOOTINGTYPE:()=>Pp,IFCFORCEMEASURE:()=>c6e,IFCFREQUENCYMEASURE:()=>u6e,IFCFUELPROPERTIES:()=>wpe,IFCFURNISHINGELEMENT:()=>k0,IFCFURNISHINGELEMENTTYPE:()=>Uf,IFCFURNITURE:()=>Lp,IFCFURNITURESTANDARD:()=>GG,IFCFURNITURETYPE:()=>y0,IFCGASTERMINALTYPE:()=>zR,IFCGENERALMATERIALPROPERTIES:()=>gpe,IFCGENERALPROFILEPROPERTIES:()=>Tpe,IFCGEOGRAPHICCRS:()=>mpe,IFCGEOGRAPHICELEMENT:()=>Ym,IFCGEOGRAPHICELEMENTTYPE:()=>h3,IFCGEOMETRICCURVESET:()=>By,IFCGEOMETRICREPRESENTATIONCONTEXT:()=>Y6,IFCGEOMETRICREPRESENTATIONITEM:()=>Jj,IFCGEOMETRICREPRESENTATIONSUBCONTEXT:()=>zf,IFCGEOMETRICSET:()=>lS,IFCGEOMODEL:()=>nN,IFCGEOSLICE:()=>iN,IFCGEOTECHNICALASSEMBLY:()=>VC,IFCGEOTECHNICALELEMENT:()=>y7,IFCGEOTECHNICALSTRATUM:()=>KC,IFCGLOBALLYUNIQUEID:()=>cpe,IFCGRADIENTCURVE:()=>m7,IFCGRID:()=>Rr,IFCGRIDAXIS:()=>mxe,IFCGRIDPLACEMENT:()=>Qj,IFCGROUP:()=>_w,IFCHALFSPACESOLID:()=>rS,IFCHEATEXCHANGER:()=>Kd,IFCHEATEXCHANGERTYPE:()=>Dl,IFCHEATFLUXDENSITYMEASURE:()=>a6e,IFCHEATINGVALUEMEASURE:()=>l6e,IFCHOURINDAY:()=>r6e,IFCHUMIDIFIER:()=>Zd,IFCHUMIDIFIERTYPE:()=>_l,IFCHYGROSCOPICMATERIALPROPERTIES:()=>Epe,IFCIDENTIFIER:()=>o6e,IFCILLUMINANCEMEASURE:()=>s6e,IFCIMAGETEXTURE:()=>bN,IFCIMPACTPROTECTIONDEVICE:()=>ZC,IFCIMPACTPROTECTIONDEVICETYPE:()=>$C,IFCINDEXEDCOLOURMAP:()=>wy,IFCINDEXEDPOLYCURVE:()=>m3,IFCINDEXEDPOLYGONALFACE:()=>A5,IFCINDEXEDPOLYGONALFACEWITHVOIDS:()=>g3,IFCINDEXEDPOLYGONALTEXTUREMAP:()=>x7,IFCINDEXEDTEXTUREMAP:()=>YI,IFCINDEXEDTRIANGLETEXTUREMAP:()=>_5,IFCINDUCTANCEMEASURE:()=>n6e,IFCINTEGER:()=>i6e,IFCINTEGERCOUNTRATEMEASURE:()=>t6e,IFCINTERCEPTOR:()=>$d,IFCINTERCEPTORTYPE:()=>bh,IFCINTERSECTIONCURVE:()=>r5,IFCINVENTORY:()=>l1,IFCIONCONCENTRATIONMEASURE:()=>e6e,IFCIRREGULARTIMESERIES:()=>Kj,IFCIRREGULARTIMESERIESVALUE:()=>Ixe,IFCISHAPEPROFILEDEF:()=>W5,IFCISOTHERMALMOISTURECAPACITYMEASURE:()=>XCe,IFCJUNCTIONBOX:()=>qd,IFCJUNCTIONBOXTYPE:()=>Nl,IFCKERB:()=>GC,IFCKERBTYPE:()=>t5,IFCKINEMATICVISCOSITYMEASURE:()=>JCe,IFCLABEL:()=>QCe,IFCLABORRESOURCE:()=>Df,IFCLABORRESOURCETYPE:()=>d3,IFCLAGTIME:()=>yie,IFCLAMP:()=>jd,IFCLAMPTYPE:()=>bl,IFCLANGUAGEID:()=>vDe,IFCLENGTHMEASURE:()=>KCe,IFCLIBRARYINFORMATION:()=>fq,IFCLIBRARYREFERENCE:()=>i8,IFCLIGHTDISTRIBUTIONDATA:()=>pxe,IFCLIGHTFIXTURE:()=>Yd,IFCLIGHTFIXTURETYPE:()=>Al,IFCLIGHTINTENSITYDISTRIBUTION:()=>fxe,IFCLIGHTSOURCE:()=>F6,IFCLIGHTSOURCEAMBIENT:()=>i2,IFCLIGHTSOURCEDIRECTIONAL:()=>t2,IFCLIGHTSOURCEGONIOMETRIC:()=>e2,IFCLIGHTSOURCEPOSITIONAL:()=>Xw,IFCLIGHTSOURCESPOT:()=>g1,IFCLINE:()=>My,IFCLINEARDIMENSION:()=>HG,IFCLINEARELEMENT:()=>vG,IFCLINEARFORCEMEASURE:()=>ZCe,IFCLINEARMOMENTMEASURE:()=>$Ce,IFCLINEARPLACEMENT:()=>zj,IFCLINEARPOSITIONINGELEMENT:()=>l7,IFCLINEARSTIFFNESSMEASURE:()=>qCe,IFCLINEARVELOCITYMEASURE:()=>jCe,IFCLINEINDEX:()=>wDe,IFCLIQUIDTERMINAL:()=>OR,IFCLIQUIDTERMINALTYPE:()=>UR,IFCLOCALPLACEMENT:()=>S1,IFCLOCALTIME:()=>hxe,IFCLOGICAL:()=>YCe,IFCLOOP:()=>B6,IFCLSHAPEPROFILEDEF:()=>z5,IFCLUMINOUSFLUXMEASURE:()=>WCe,IFCLUMINOUSINTENSITYDISTRIBUTIONMEASURE:()=>zCe,IFCLUMINOUSINTENSITYMEASURE:()=>kCe,IFCMAGNETICFLUXDENSITYMEASURE:()=>VCe,IFCMAGNETICFLUXMEASURE:()=>GCe,IFCMANIFOLDSOLIDBREP:()=>Py,IFCMAPCONVERSION:()=>z7,IFCMAPCONVERSIONSCALED:()=>Jte,IFCMAPPEDITEM:()=>u2,IFCMARINEFACILITY:()=>IN,IFCMARINEPART:()=>pN,IFCMASSDENSITYMEASURE:()=>HCe,IFCMASSFLOWRATEMEASURE:()=>UCe,IFCMASSMEASURE:()=>FCe,IFCMASSPERLENGTHMEASURE:()=>BCe,IFCMATERIAL:()=>yV,IFCMATERIALCLASSIFICATIONRELATIONSHIP:()=>Ppe,IFCMATERIALCONSTITUENT:()=>lV,IFCMATERIALCONSTITUENTSET:()=>z6,IFCMATERIALDEFINITION:()=>Z6e,IFCMATERIALDEFINITIONREPRESENTATION:()=>W6,IFCMATERIALLAYER:()=>mV,IFCMATERIALLAYERSET:()=>a2,IFCMATERIALLAYERSETUSAGE:()=>IV,IFCMATERIALLAYERWITHOFFSETS:()=>iV,IFCMATERIALLIST:()=>Fie,IFCMATERIALPROFILE:()=>cV,IFCMATERIALPROFILESET:()=>V5,IFCMATERIALPROFILESETUSAGE:()=>rV,IFCMATERIALPROFILESETUSAGETAPERING:()=>QG,IFCMATERIALPROFILEWITHOFFSETS:()=>tV,IFCMATERIALPROPERTIES:()=>Pr,IFCMATERIALRELATIONSHIP:()=>T6,IFCMATERIALUSAGEDEFINITION:()=>$6e,IFCMEASUREWITHUNIT:()=>dxe,IFCMECHANICALCONCRETEMATERIALPROPERTIES:()=>aie,IFCMECHANICALFASTENER:()=>iu,IFCMECHANICALFASTENERTYPE:()=>Oc,IFCMECHANICALMATERIALPROPERTIES:()=>Lpe,IFCMECHANICALSTEELMATERIALPROPERTIES:()=>hie,IFCMEDICALDEVICE:()=>Wd,IFCMEDICALDEVICETYPE:()=>Ah,IFCMEMBER:()=>Wu,IFCMEMBERSTANDARDCASE:()=>Rw,IFCMEMBERTYPE:()=>ac,IFCMETRIC:()=>hq,IFCMINUTEINHOUR:()=>MCe,IFCMIRROREDPROFILEDEF:()=>KG,IFCMOBILETELECOMMUNICATIONSAPPLIANCE:()=>xR,IFCMOBILETELECOMMUNICATIONSAPPLIANCETYPE:()=>FR,IFCMODULUSOFELASTICITYMEASURE:()=>PCe,IFCMODULUSOFLINEARSUBGRADEREACTIONMEASURE:()=>LCe,IFCMODULUSOFROTATIONALSUBGRADEREACTIONMEASURE:()=>OCe,IFCMODULUSOFSUBGRADEREACTIONMEASURE:()=>xCe,IFCMOISTUREDIFFUSIVITYMEASURE:()=>CCe,IFCMOLECULARWEIGHTMEASURE:()=>DCe,IFCMOMENTOFINERTIAMEASURE:()=>_Ce,IFCMONETARYMEASURE:()=>NCe,IFCMONETARYUNIT:()=>Bie,IFCMONTHINYEARNUMBER:()=>bCe,IFCMOORINGDEVICE:()=>HC,IFCMOORINGDEVICETYPE:()=>e5,IFCMOTORCONNECTION:()=>zd,IFCMOTORCONNECTIONTYPE:()=>Sl,IFCMOVE:()=>b7,IFCNAMEDUNIT:()=>Mie,IFCNAVIGATIONELEMENT:()=>UC,IFCNAVIGATIONELEMENTTYPE:()=>XR,IFCNONNEGATIVELENGTHMEASURE:()=>gDe,IFCNORMALISEDRATIOMEASURE:()=>ACe,IFCNUMERICMEASURE:()=>SCe,IFCOBJECT:()=>g6,IFCOBJECTDEFINITION:()=>Zj,IFCOBJECTIVE:()=>dq,IFCOBJECTPLACEMENT:()=>YG,IFCOCCUPANT:()=>r1,IFCOFFSETCURVE:()=>Ej,IFCOFFSETCURVE2D:()=>S3,IFCOFFSETCURVE3D:()=>R3,IFCOFFSETCURVEBYDISTANCES:()=>NG,IFCONEDIRECTIONREPEATFACTOR:()=>lie,IFCOPENCROSSPROFILEDEF:()=>dpe,IFCOPENINGELEMENT:()=>tu,IFCOPENINGSTANDARDCASE:()=>qT,IFCOPENSHELL:()=>Qy,IFCOPTICALMATERIALPROPERTIES:()=>Ope,IFCORDERACTION:()=>A7,IFCORGANIZATION:()=>r2,IFCORGANIZATIONRELATIONSHIP:()=>vS,IFCORIENTEDEDGE:()=>Jw,IFCOUTERBOUNDARYCURVE:()=>Ep,IFCOUTLET:()=>kd,IFCOUTLETTYPE:()=>Rl,IFCOWNERHISTORY:()=>cxe,IFCPARAMETERIZEDPROFILEDEF:()=>$j,IFCPARAMETERVALUE:()=>vCe,IFCPATH:()=>oS,IFCPAVEMENT:()=>jR,IFCPAVEMENTTYPE:()=>JR,IFCPCURVE:()=>S5,IFCPERFORMANCEHISTORY:()=>o1,IFCPERMEABLECOVERINGPROPERTIES:()=>vy,IFCPERMIT:()=>s1,IFCPERSON:()=>o2,IFCPERSONANDORGANIZATION:()=>G6,IFCPHMEASURE:()=>RCe,IFCPHYSICALCOMPLEXQUANTITY:()=>Po,IFCPHYSICALQUANTITY:()=>uxe,IFCPHYSICALSIMPLEQUANTITY:()=>cq,IFCPILE:()=>Ka,IFCPILETYPE:()=>zI,IFCPIPEFITTING:()=>Vd,IFCPIPEFITTINGTYPE:()=>vl,IFCPIPESEGMENT:()=>Gd,IFCPIPESEGMENTTYPE:()=>wl,IFCPIXELTEXTURE:()=>F7,IFCPLACEMENT:()=>M6,IFCPLANARBOX:()=>Gw,IFCPLANAREXTENT:()=>P6,IFCPLANARFORCEMEASURE:()=>wCe,IFCPLANE:()=>Zp,IFCPLANEANGLEMEASURE:()=>gCe,IFCPLATE:()=>zu,IFCPLATESTANDARDCASE:()=>vw,IFCPLATETYPE:()=>lc,IFCPOINT:()=>L6,IFCPOINTBYDISTANCEEXPRESSION:()=>wj,IFCPOINTONCURVE:()=>Qw,IFCPOINTONSURFACE:()=>Kw,IFCPOLYGONALBOUNDEDHALFSPACE:()=>Zy,IFCPOLYGONALFACESET:()=>Gp,IFCPOLYLINE:()=>Hf,IFCPOLYLOOP:()=>Ky,IFCPOLYNOMIALCURVE:()=>yj,IFCPORT:()=>n1,IFCPOSITIONINGELEMENT:()=>wG,IFCPOSITIVEINTEGER:()=>TDe,IFCPOSITIVELENGTHMEASURE:()=>TCe,IFCPOSITIVEPLANEANGLEMEASURE:()=>ECe,IFCPOSITIVERATIOMEASURE:()=>yCe,IFCPOSTALADDRESS:()=>uq,IFCPOWERMEASURE:()=>mCe,IFCPREDEFINEDCOLOUR:()=>B7,IFCPREDEFINEDCURVEFONT:()=>M7,IFCPREDEFINEDDIMENSIONSYMBOL:()=>rie,IFCPREDEFINEDITEM:()=>Pie,IFCPREDEFINEDPOINTMARKERSYMBOL:()=>oie,IFCPREDEFINEDPROPERTIES:()=>mie,IFCPREDEFINEDPROPERTYSET:()=>f6,IFCPREDEFINEDSYMBOL:()=>xpe,IFCPREDEFINEDTERMINATORSYMBOL:()=>die,IFCPREDEFINEDTEXTFONT:()=>k7,IFCPRESENTABLETEXT:()=>ICe,IFCPRESENTATIONITEM:()=>q6e,IFCPRESENTATIONLAYERASSIGNMENT:()=>Je,IFCPRESENTATIONLAYERWITHSTYLE:()=>aq,IFCPRESENTATIONSTYLE:()=>axe,IFCPRESENTATIONSTYLEASSIGNMENT:()=>Lie,IFCPRESSUREMEASURE:()=>pCe,IFCPROCEDURE:()=>i1,IFCPROCEDURETYPE:()=>m5,IFCPROCESS:()=>Hw,IFCPRODUCT:()=>Da,IFCPRODUCTDEFINITIONSHAPE:()=>W7,IFCPRODUCTREPRESENTATION:()=>E0,IFCPRODUCTSOFCOMBUSTIONPROPERTIES:()=>Cpe,IFCPROFILEDEF:()=>Oie,IFCPROFILEPROPERTIES:()=>ts,IFCPROJECT:()=>eI,IFCPROJECTEDCRS:()=>uV,IFCPROJECTIONCURVE:()=>zG,IFCPROJECTIONELEMENT:()=>la,IFCPROJECTLIBRARY:()=>h6,IFCPROJECTORDER:()=>t1,IFCPROJECTORDERRECORD:()=>UG,IFCPROPERTY:()=>xie,IFCPROPERTYABSTRACTION:()=>j6e,IFCPROPERTYBOUNDEDVALUE:()=>U5,IFCPROPERTYCONSTRAINTRELATIONSHIP:()=>Gj,IFCPROPERTYDEFINITION:()=>qj,IFCPROPERTYDEPENDENCYRELATIONSHIP:()=>$n,IFCPROPERTYENUMERATEDVALUE:()=>F5,IFCPROPERTYENUMERATION:()=>Cie,IFCPROPERTYLISTVALUE:()=>B5,IFCPROPERTYREFERENCEVALUE:()=>M5,IFCPROPERTYSET:()=>Jo,IFCPROPERTYSETDEFINITION:()=>O6,IFCPROPERTYSETDEFINITIONSET:()=>EDe,IFCPROPERTYSETTEMPLATE:()=>v1,IFCPROPERTYSINGLEVALUE:()=>N3,IFCPROPERTYTABLEVALUE:()=>P5,IFCPROPERTYTEMPLATE:()=>d6,IFCPROPERTYTEMPLATEDEFINITION:()=>ZG,IFCPROTECTIVEDEVICE:()=>Hd,IFCPROTECTIVEDEVICETRIPPINGUNIT:()=>Lh,IFCPROTECTIVEDEVICETRIPPINGUNITTYPE:()=>yp,IFCPROTECTIVEDEVICETYPE:()=>gl,IFCPROXY:()=>g5,IFCPUMP:()=>Ud,IFCPUMPTYPE:()=>Tl,IFCQUANTITYAREA:()=>wS,IFCQUANTITYCOUNT:()=>gS,IFCQUANTITYLENGTH:()=>TS,IFCQUANTITYNUMBER:()=>jG,IFCQUANTITYSET:()=>m6,IFCQUANTITYTIME:()=>ES,IFCQUANTITYVOLUME:()=>yS,IFCQUANTITYWEIGHT:()=>mS,IFCRADIOACTIVITYMEASURE:()=>fCe,IFCRADIUSDIMENSION:()=>FG,IFCRAIL:()=>YR,IFCRAILING:()=>ku,IFCRAILINGTYPE:()=>rc,IFCRAILTYPE:()=>QR,IFCRAILWAY:()=>fN,IFCRAILWAYPART:()=>hN,IFCRAMP:()=>Vu,IFCRAMPFLIGHT:()=>Gu,IFCRAMPFLIGHTTYPE:()=>oc,IFCRAMPTYPE:()=>Op,IFCRATIOMEASURE:()=>hCe,IFCRATIONALBEZIERCURVE:()=>t6,IFCRATIONALBSPLINECURVEWITHKNOTS:()=>Mm,IFCRATIONALBSPLINESURFACEWITHKNOTS:()=>km,IFCREAL:()=>dCe,IFCRECTANGLEHOLLOWPROFILEDEF:()=>Ly,IFCRECTANGLEPROFILEDEF:()=>sS,IFCRECTANGULARPYRAMID:()=>Uw,IFCRECTANGULARTRIMMEDSURFACE:()=>E1,IFCRECURRENCEPATTERN:()=>Y6e,IFCREFERENCE:()=>W6e,IFCREFERENCESVALUEDOCUMENT:()=>Hj,IFCREFERENT:()=>I7,IFCREGULARTIMESERIES:()=>jj,IFCREINFORCEDSOIL:()=>rN,IFCREINFORCEMENTBARPROPERTIES:()=>oV,IFCREINFORCEMENTDEFINITIONPROPERTIES:()=>Dy,IFCREINFORCINGBAR:()=>vr,IFCREINFORCINGBARTYPE:()=>mp,IFCREINFORCINGELEMENT:()=>xc,IFCREINFORCINGELEMENTTYPE:()=>Vm,IFCREINFORCINGMESH:()=>Fr,IFCREINFORCINGMESHTYPE:()=>wp,IFCRELADHERESTOELEMENT:()=>li,IFCRELAGGREGATES:()=>M,IFCRELASSIGNS:()=>re,IFCRELASSIGNSTASKS:()=>vN,IFCRELASSIGNSTOACTOR:()=>q0,IFCRELASSIGNSTOCONTROL:()=>is,IFCRELASSIGNSTOGROUP:()=>Is,IFCRELASSIGNSTOGROUPBYFACTOR:()=>T3,IFCRELASSIGNSTOPROCESS:()=>bo,IFCRELASSIGNSTOPRODUCT:()=>Te,IFCRELASSIGNSTOPROJECTORDER:()=>u6,IFCRELASSIGNSTORESOURCE:()=>ns,IFCRELASSOCIATES:()=>ie,IFCRELASSOCIATESAPPLIEDVALUE:()=>L7,IFCRELASSOCIATESAPPROVAL:()=>qI,IFCRELASSOCIATESCLASSIFICATION:()=>kf,IFCRELASSOCIATESCONSTRAINT:()=>Oy,IFCRELASSOCIATESDOCUMENT:()=>Vf,IFCRELASSOCIATESLIBRARY:()=>Gf,IFCRELASSOCIATESMATERIAL:()=>Os,IFCRELASSOCIATESPROFILEDEF:()=>C7,IFCRELASSOCIATESPROFILEPROPERTIES:()=>O7,IFCRELATIONSHIP:()=>Yj,IFCRELAXATION:()=>lxe,IFCRELCONNECTS:()=>k5,IFCRELCONNECTSELEMENTS:()=>ve,IFCRELCONNECTSPATHELEMENTS:()=>$p,IFCRELCONNECTSPORTS:()=>ua,IFCRELCONNECTSPORTTOELEMENT:()=>Bt,IFCRELCONNECTSSTRUCTURALACTIVITY:()=>vn,IFCRELCONNECTSSTRUCTURALELEMENT:()=>bn,IFCRELCONNECTSSTRUCTURALMEMBER:()=>ks,IFCRELCONNECTSWITHECCENTRICITY:()=>qp,IFCRELCONNECTSWITHREALIZINGELEMENTS:()=>dt,IFCRELCONTAINEDINSPATIALSTRUCTURE:()=>tt,IFCRELCOVERSBLDGELEMENTS:()=>ct,IFCRELCOVERSSPACES:()=>j0,IFCRELDECLARES:()=>me,IFCRELDECOMPOSES:()=>je,IFCRELDEFINES:()=>Ei,IFCRELDEFINESBYOBJECT:()=>ce,IFCRELDEFINESBYPROPERTIES:()=>Fe,IFCRELDEFINESBYTEMPLATE:()=>So,IFCRELDEFINESBYTYPE:()=>pe,IFCRELFILLSELEMENT:()=>ut,IFCRELFLOWCONTROLELEMENTS:()=>ti,IFCRELINTERACTIONREQUIREMENTS:()=>AN,IFCRELINTERFERESELEMENTS:()=>_e,IFCRELNESTS:()=>B,IFCRELOCCUPIESSPACES:()=>a6,IFCRELOVERRIDESPROPERTIES:()=>l6,IFCRELPOSITIONS:()=>zt,IFCRELPROJECTSELEMENT:()=>lt,IFCRELREFERENCEDINSPATIALSTRUCTURE:()=>Ye,IFCRELSCHEDULESCOSTITEMS:()=>r6,IFCRELSEQUENCE:()=>$s,IFCRELSERVICESBUILDINGS:()=>Gn,IFCRELSPACEBOUNDARY:()=>at,IFCRELSPACEBOUNDARY1STLEVEL:()=>kp,IFCRELSPACEBOUNDARY2NDLEVEL:()=>Fh,IFCRELVOIDSELEMENT:()=>rt,IFCREPARAMETRISEDCOMPOSITECURVESEGMENT:()=>wN,IFCREPRESENTATION:()=>s2,IFCREPRESENTATIONCONTEXT:()=>rxe,IFCREPRESENTATIONITEM:()=>oxe,IFCREPRESENTATIONMAP:()=>fc,IFCRESOURCE:()=>Fw,IFCRESOURCEAPPROVALRELATIONSHIP:()=>_a,IFCRESOURCECONSTRAINTRELATIONSHIP:()=>Ir,IFCRESOURCELEVELRELATIONSHIP:()=>z6e,IFCRESOURCETIME:()=>Iie,IFCREVOLVEDAREASOLID:()=>y1,IFCREVOLVEDAREASOLIDTAPERED:()=>c3,IFCRIBPLATEPROFILEPROPERTIES:()=>Dpe,IFCRIGHTCIRCULARCONE:()=>Bw,IFCRIGHTCIRCULARCYLINDER:()=>Mw,IFCRIGIDOPERATION:()=>Ipe,IFCROAD:()=>mw,IFCROADPART:()=>dN,IFCROOF:()=>Hu,IFCROOFTYPE:()=>xp,IFCROOT:()=>sxe,IFCROTATIONALFREQUENCYMEASURE:()=>cCe,IFCROTATIONALMASSMEASURE:()=>uCe,IFCROTATIONALSTIFFNESSMEASURE:()=>aCe,IFCROUNDEDEDGEFEATURE:()=>VR,IFCROUNDEDRECTANGLEPROFILEDEF:()=>Zw,IFCSANITARYTERMINAL:()=>Fd,IFCSANITARYTERMINALTYPE:()=>El,IFCSCHEDULETIMECONTROL:()=>BG,IFCSCHEDULINGTIME:()=>k6e,IFCSEAMCURVE:()=>o5,IFCSECONDINMINUTE:()=>lCe,IFCSECONDORDERPOLYNOMIALSPIRAL:()=>gG,IFCSECTIONALAREAINTEGRALMEASURE:()=>oCe,IFCSECTIONEDSOLID:()=>mj,IFCSECTIONEDSOLIDHORIZONTAL:()=>bG,IFCSECTIONEDSPINE:()=>x6,IFCSECTIONEDSURFACE:()=>Ij,IFCSECTIONMODULUSMEASURE:()=>rCe,IFCSECTIONPROPERTIES:()=>sV,IFCSECTIONREINFORCEMENTPROPERTIES:()=>nV,IFCSEGMENT:()=>Kte,IFCSEGMENTEDREFERENCECURVE:()=>p7,IFCSENSOR:()=>Oh,IFCSENSORTYPE:()=>Za,IFCSERVICELIFE:()=>MG,IFCSERVICELIFEFACTOR:()=>Pj,IFCSEVENTHORDERPOLYNOMIALSPIRAL:()=>TG,IFCSHADINGDEVICE:()=>vp,IFCSHADINGDEVICETYPE:()=>Cp,IFCSHAPEASPECT:()=>Hp,IFCSHAPEMODEL:()=>lq,IFCSHAPEREPRESENTATION:()=>IS,IFCSHEARMODULUSMEASURE:()=>sCe,IFCSHELLBASEDSURFACEMODEL:()=>nS,IFCSIGN:()=>KR,IFCSIGNAL:()=>CR,IFCSIGNALTYPE:()=>BR,IFCSIGNTYPE:()=>qC,IFCSIMPLEPROPERTY:()=>V7,IFCSIMPLEPROPERTYTEMPLATE:()=>I5,IFCSINESPIRAL:()=>EG,IFCSITE:()=>fu,IFCSIUNIT:()=>t8,IFCSLAB:()=>Uu,IFCSLABELEMENTEDCASE:()=>ww,IFCSLABSTANDARDCASE:()=>gw,IFCSLABTYPE:()=>sc,IFCSLIPPAGECONNECTIONCONDITION:()=>Wj,IFCSOLARDEVICE:()=>Bd,IFCSOLARDEVICETYPE:()=>Sh,IFCSOLIDANGLEMEASURE:()=>nCe,IFCSOLIDMODEL:()=>C6,IFCSOUNDPOWERLEVELMEASURE:()=>yDe,IFCSOUNDPOWERMEASURE:()=>iCe,IFCSOUNDPRESSURELEVELMEASURE:()=>mDe,IFCSOUNDPRESSUREMEASURE:()=>tCe,IFCSOUNDPROPERTIES:()=>Lj,IFCSOUNDVALUE:()=>Oj,IFCSPACE:()=>nc,IFCSPACEHEATER:()=>Md,IFCSPACEHEATERTYPE:()=>yl,IFCSPACEPROGRAM:()=>PG,IFCSPACETHERMALLOADPROPERTIES:()=>xj,IFCSPACETYPE:()=>c0,IFCSPATIALELEMENT:()=>p5,IFCSPATIALELEMENTTYPE:()=>f5,IFCSPATIALSTRUCTUREELEMENT:()=>Up,IFCSPATIALSTRUCTUREELEMENTTYPE:()=>Ff,IFCSPATIALZONE:()=>u3,IFCSPATIALZONETYPE:()=>a3,IFCSPECIFICHEATCAPACITYMEASURE:()=>eCe,IFCSPECULAREXPONENT:()=>XDe,IFCSPECULARROUGHNESS:()=>JDe,IFCSPHERE:()=>Pw,IFCSPHERICALSURFACE:()=>h5,IFCSPIRAL:()=>pj,IFCSTACKTERMINAL:()=>Pd,IFCSTACKTERMINALTYPE:()=>ml,IFCSTAIR:()=>Fu,IFCSTAIRFLIGHT:()=>Bu,IFCSTAIRFLIGHTTYPE:()=>ic,IFCSTAIRTYPE:()=>Dp,IFCSTRIPPEDOPTIONAL:()=>hDe,IFCSTRUCTURALACTION:()=>V0,IFCSTRUCTURALACTIVITY:()=>m1,IFCSTRUCTURALANALYSISMODEL:()=>aa,IFCSTRUCTURALCONNECTION:()=>_f,IFCSTRUCTURALCONNECTIONCONDITION:()=>nxe,IFCSTRUCTURALCURVEACTION:()=>Gm,IFCSTRUCTURALCURVECONNECTION:()=>u0,IFCSTRUCTURALCURVEMEMBER:()=>a0,IFCSTRUCTURALCURVEMEMBERVARYING:()=>eu,IFCSTRUCTURALCURVEREACTION:()=>Hm,IFCSTRUCTURALITEM:()=>I1,IFCSTRUCTURALLINEARACTION:()=>xu,IFCSTRUCTURALLINEARACTIONVARYING:()=>TN,IFCSTRUCTURALLOAD:()=>ixe,IFCSTRUCTURALLOADCASE:()=>KT,IFCSTRUCTURALLOADCONFIGURATION:()=>Sie,IFCSTRUCTURALLOADGROUP:()=>e1,IFCSTRUCTURALLOADLINEARFORCE:()=>L5,IFCSTRUCTURALLOADORRESULT:()=>Rie,IFCSTRUCTURALLOADPLANARFORCE:()=>O5,IFCSTRUCTURALLOADSINGLEDISPLACEMENT:()=>x5,IFCSTRUCTURALLOADSINGLEDISPLACEMENTDISTORTION:()=>_y,IFCSTRUCTURALLOADSINGLEFORCE:()=>C5,IFCSTRUCTURALLOADSINGLEFORCEWARPING:()=>Ny,IFCSTRUCTURALLOADSTATIC:()=>G7,IFCSTRUCTURALLOADTEMPERATURE:()=>G5,IFCSTRUCTURALMEMBER:()=>Bf,IFCSTRUCTURALPLANARACTION:()=>Cu,IFCSTRUCTURALPLANARACTIONVARYING:()=>EN,IFCSTRUCTURALPOINTACTION:()=>l0,IFCSTRUCTURALPOINTCONNECTION:()=>r0,IFCSTRUCTURALPOINTREACTION:()=>o0,IFCSTRUCTURALPROFILEPROPERTIES:()=>sie,IFCSTRUCTURALREACTION:()=>Mf,IFCSTRUCTURALRESULTGROUP:()=>W0,IFCSTRUCTURALSTEELPROFILEPROPERTIES:()=>Cj,IFCSTRUCTURALSURFACEACTION:()=>Um,IFCSTRUCTURALSURFACECONNECTION:()=>s0,IFCSTRUCTURALSURFACEMEMBER:()=>m0,IFCSTRUCTURALSURFACEMEMBERVARYING:()=>hu,IFCSTRUCTURALSURFACEREACTION:()=>zm,IFCSTRUCTUREDDIMENSIONCALLOUT:()=>Sj,IFCSTYLEDITEM:()=>et,IFCSTYLEDREPRESENTATION:()=>pS,IFCSTYLEMODEL:()=>e8,IFCSUBCONTRACTRESOURCE:()=>Nf,IFCSUBCONTRACTRESOURCETYPE:()=>l3,IFCSUBEDGE:()=>$w,IFCSURFACE:()=>iS,IFCSURFACECURVE:()=>c6,IFCSURFACECURVESWEPTAREASOLID:()=>WI,IFCSURFACEFEATURE:()=>_p,IFCSURFACEOFLINEAREXTRUSION:()=>p1,IFCSURFACEOFREVOLUTION:()=>f1,IFCSURFACEREINFORCEMENTAREA:()=>eV,IFCSURFACESTYLE:()=>X7,IFCSURFACESTYLELIGHTING:()=>pV,IFCSURFACESTYLEREFRACTION:()=>fV,IFCSURFACESTYLERENDERING:()=>tS,IFCSURFACESTYLESHADING:()=>hV,IFCSURFACESTYLEWITHTEXTURES:()=>w1,IFCSURFACETEXTURE:()=>Die,IFCSWEPTAREASOLID:()=>qw,IFCSWEPTDISKSOLID:()=>jw,IFCSWEPTDISKSOLIDPOLYGONAL:()=>T5,IFCSWEPTSURFACE:()=>$y,IFCSWITCHINGDEVICE:()=>Ld,IFCSWITCHINGDEVICETYPE:()=>Il,IFCSYMBOLSTYLE:()=>_pe,IFCSYSTEM:()=>Xm,IFCSYSTEMFURNITUREELEMENT:()=>Np,IFCSYSTEMFURNITUREELEMENTTYPE:()=>I0,IFCTABLE:()=>Npe,IFCTABLECOLUMN:()=>V6e,IFCTABLEROW:()=>txe,IFCTANK:()=>Od,IFCTANKTYPE:()=>pl,IFCTASK:()=>h1,IFCTASKTIME:()=>vie,IFCTASKTIMERECURRING:()=>XG,IFCTASKTYPE:()=>d5,IFCTELECOMADDRESS:()=>rq,IFCTEMPERATUREGRADIENTMEASURE:()=>QDe,IFCTEMPERATURERATEOFCHANGEMEASURE:()=>IDe,IFCTENDON:()=>Br,IFCTENDONANCHOR:()=>Mr,IFCTENDONANCHORTYPE:()=>gp,IFCTENDONCONDUIT:()=>cN,IFCTENDONCONDUITTYPE:()=>uN,IFCTENDONTYPE:()=>Tp,IFCTERMINATORSYMBOL:()=>D7,IFCTESSELLATEDFACESET:()=>R5,IFCTESSELLATEDITEM:()=>$G,IFCTEXT:()=>KDe,IFCTEXTALIGNMENT:()=>ZDe,IFCTEXTDECORATION:()=>$De,IFCTEXTFONTNAME:()=>qDe,IFCTEXTLITERAL:()=>_6,IFCTEXTLITERALWITHEXTENT:()=>Yw,IFCTEXTSTYLE:()=>oq,IFCTEXTSTYLEFONTMODEL:()=>H5,IFCTEXTSTYLEFORDEFINEDFONT:()=>_ie,IFCTEXTSTYLETEXTMODEL:()=>Nie,IFCTEXTSTYLEWITHBOXCHARACTERISTICS:()=>exe,IFCTEXTTRANSFORMATION:()=>jDe,IFCTEXTURECOORDINATE:()=>A3,IFCTEXTURECOORDINATEGENERATOR:()=>H7,IFCTEXTURECOORDINATEINDICES:()=>Qte,IFCTEXTURECOORDINATEINDICESWITHVOIDS:()=>ppe,IFCTEXTUREMAP:()=>tE,IFCTEXTUREVERTEX:()=>bie,IFCTEXTUREVERTEXLIST:()=>wie,IFCTHERMALADMITTANCEMEASURE:()=>YDe,IFCTHERMALCONDUCTIVITYMEASURE:()=>WDe,IFCTHERMALEXPANSIONCOEFFICIENTMEASURE:()=>zDe,IFCTHERMALMATERIALPROPERTIES:()=>bpe,IFCTHERMALRESISTANCEMEASURE:()=>kDe,IFCTHERMALTRANSMITTANCEMEASURE:()=>VDe,IFCTHERMODYNAMICTEMPERATUREMEASURE:()=>GDe,IFCTHIRDORDERPOLYNOMIALSPIRAL:()=>AG,IFCTIME:()=>pDe,IFCTIMEMEASURE:()=>HDe,IFCTIMEPERIOD:()=>G6e,IFCTIMESERIES:()=>X6e,IFCTIMESERIESREFERENCERELATIONSHIP:()=>Uj,IFCTIMESERIESSCHEDULE:()=>LG,IFCTIMESERIESVALUE:()=>J6e,IFCTIMESTAMP:()=>UDe,IFCTOPOLOGICALREPRESENTATIONITEM:()=>sq,IFCTOPOLOGYREPRESENTATION:()=>H6,IFCTOROIDALSURFACE:()=>c5,IFCTORQUEMEASURE:()=>FDe,IFCTRACKELEMENT:()=>WR,IFCTRACKELEMENTTYPE:()=>ZR,IFCTRANSFORMER:()=>xd,IFCTRANSFORMERTYPE:()=>fl,IFCTRANSPORTATIONDEVICE:()=>f7,IFCTRANSPORTATIONDEVICETYPE:()=>g7,IFCTRANSPORTELEMENT:()=>n0,IFCTRANSPORTELEMENTTYPE:()=>Bh,IFCTRAPEZIUMPROFILEDEF:()=>N6,IFCTRIANGULATEDFACESET:()=>u5,IFCTRIANGULATEDIRREGULARNETWORK:()=>T7,IFCTRIMMEDCURVE:()=>Wp,IFCTSHAPEPROFILEDEF:()=>D6,IFCTUBEBUNDLE:()=>Cd,IFCTUBEBUNDLETYPE:()=>hl,IFCTWODIRECTIONREPEATFACTOR:()=>Dj,IFCTYPEOBJECT:()=>ws,IFCTYPEPROCESS:()=>I6,IFCTYPEPRODUCT:()=>Ww,IFCTYPERESOURCE:()=>p6,IFCUNITARYCONTROLELEMENT:()=>xh,IFCUNITARYCONTROLELEMENTTYPE:()=>Ip,IFCUNITARYEQUIPMENT:()=>Dd,IFCUNITARYEQUIPMENTTYPE:()=>dl,IFCUNITASSIGNMENT:()=>nq,IFCURIREFERENCE:()=>fDe,IFCUSHAPEPROFILEDEF:()=>eS,IFCVALVE:()=>_d,IFCVALVETYPE:()=>cl,IFCVAPORPERMEABILITYMEASURE:()=>BDe,IFCVECTOR:()=>b6,IFCVEHICLE:()=>jC,IFCVEHICLETYPE:()=>e6,IFCVERTEX:()=>U6,IFCVERTEXBASEDTEXTUREMAP:()=>Q6e,IFCVERTEXLOOP:()=>zw,IFCVERTEXPOINT:()=>n2,IFCVIBRATIONDAMPER:()=>YC,IFCVIBRATIONDAMPERTYPE:()=>WC,IFCVIBRATIONISOLATOR:()=>bp,IFCVIBRATIONISOLATORTYPE:()=>Cc,IFCVIRTUALELEMENT:()=>G0,IFCVIRTUALGRIDINTERSECTION:()=>iq,IFCVOIDINGFEATURE:()=>Mh,IFCVOLUMEMEASURE:()=>MDe,IFCVOLUMETRICFLOWRATEMEASURE:()=>PDe,IFCWALL:()=>Mu,IFCWALLELEMENTEDCASE:()=>Tw,IFCWALLSTANDARDCASE:()=>Jl,IFCWALLTYPE:()=>tc,IFCWARPINGCONSTANTMEASURE:()=>LDe,IFCWARPINGMOMENTMEASURE:()=>ODe,IFCWASTETERMINAL:()=>Nd,IFCWASTETERMINALTYPE:()=>ul,IFCWATERPROPERTIES:()=>Ape,IFCWELLKNOWNTEXT:()=>vj,IFCWELLKNOWNTEXTLITERAL:()=>dDe,IFCWINDOW:()=>Pu,IFCWINDOWLININGPROPERTIES:()=>by,IFCWINDOWPANELPROPERTIES:()=>Ay,IFCWINDOWSTANDARDCASE:()=>Ew,IFCWINDOWSTYLE:()=>v5,IFCWINDOWTYPE:()=>Ap,IFCWORKCALENDAR:()=>s5,IFCWORKCONTROL:()=>Jm,IFCWORKPLAN:()=>bf,IFCWORKSCHEDULE:()=>Af,IFCWORKTIME:()=>gie,IFCYEARNUMBER:()=>xDe,IFCZONE:()=>Fp,IFCZSHAPEPROFILEDEF:()=>A6,INTEGER:()=>zxe,IfcAPI:()=>DN,IfcLineObject:()=>Yt,InheritanceDef:()=>RN,InversePropertyDef:()=>vV,LABEL:()=>Mxe,LINE_END:()=>kxe,LogLevel:()=>q6,NumberHandle:()=>mt,Properties:()=>kpe,REAL:()=>Fxe,REF:()=>Uxe,SET_BEGIN:()=>Gxe,SET_END:()=>Vxe,STRING:()=>gy,SchemaNames:()=>SN,Schemas:()=>Vpe,ToRawLineData:()=>SV,TypeInitialisers:()=>k6,UNKNOWN:()=>Pxe,logical:()=>Gpe,ms:()=>Wxe});var uDe=Object.getOwnPropertyNames,upe=(e,t)=>function(){return t||(0,e[uDe(e)[0]])((t={exports:{}}).exports,t),t.exports},cDe=upe({"dist/web-ifc-mt.js"(e,t){"use strict";var i=(()=>{var s=globalThis.document?.currentScript?.src;return async function(o={}){var r,l=o,d=!!globalThis.window,h=!!globalThis.WorkerGlobalScope,p=globalThis.process?.versions?.node&&globalThis.process?.type!="renderer",I=h&&self.name?.startsWith("em-pthread"),m=[],y="./this.program",T=(k,X)=>{throw X};h&&(s=self.location.href);var R="";function b(k){return l.locateFile?l.locateFile(k,R):R+k}var A,O;if(d||h){try{R=new URL(".",s).href}catch{}h&&(O=k=>{var X=new XMLHttpRequest;return X.open("GET",k,!1),X.responseType="arraybuffer",X.send(null),new Uint8Array(X.response)}),A=async k=>{var X=await fetch(k,{credentials:"same-origin"});if(X.ok)return X.arrayBuffer();throw new Error(X.status+" : "+X.url)}}var P=console.log.bind(console),U=console.error.bind(console),Z,ne,K=!1,oe;function se(){hn.buffer!=Ce.buffer&&Ut()}var he,Re,ee;if(I){let k=function(X){try{var we=X.data,xe=we.cmd;if(xe==="load"){let Ke=[];self.onmessage=yt=>Ke.push(yt),ee=()=>{postMessage({cmd:"loaded"});for(let yt of Ke)k(yt);self.onmessage=k};for(let yt of we.handlers)(!l[yt]||l[yt].proxy)&&(l[yt]=(...gt)=>{postMessage({cmd:"callHandler",handler:yt,args:gt})},yt=="print"&&(P=l[yt]),yt=="printErr"&&(U=l[yt]));hn=we.wasmMemory,Ut(),ne=we.wasmModule,pt(),xt()}else if(xe==="run"){wi(we.pthread_ptr),lh(we.pthread_ptr,0,0,1,0,0),Zi.threadInitTLS(),LE(we.pthread_ptr),Ee||(rg(),Ee=!0);try{Ci(we.start_routine,we.arg)}catch(Ke){if(Ke!="unwind")throw Ke}}else we.target==="setimmediate"||(xe==="checkMailbox"?Ee&&G1():xe&&(U(`worker: received unknown command ${xe}`),U(we)))}catch(Ke){throw Z1(),Ke}};var Ae=k,Ee=!1;self.onunhandledrejection=X=>{throw X.reason||X},self.onmessage=k}var Ce,Qe,qe,St,$e,ke,It,ft,Dt,Zt,Ct=!1;function Ut(){var k=hn.buffer;Ce=new Int8Array(k),qe=new Int16Array(k),Qe=new Uint8Array(k),St=new Uint16Array(k),$e=new Int32Array(k),ke=new Uint32Array(k),It=new Float32Array(k),ft=new Float64Array(k),Dt=new BigInt64Array(k),Zt=new BigUint64Array(k)}function ii(){if(!I){if(l.wasmMemory)hn=l.wasmMemory;else{var k=l.INITIAL_MEMORY||16777216;hn=new WebAssembly.Memory({initial:k/65536,maximum:65536,shared:!0})}Ut()}}function Vt(){if(l.preRun)for(typeof l.preRun=="function"&&(l.preRun=[l.preRun]);l.preRun.length;)ri(l.preRun.shift());Lt(Ht)}function Kt(){if(Ct=!0,I)return ee();!l.noFSInit&&!ot.initialized&&ot.init(),nf.init(),Jt.ja(),ot.ignorePermissions=!1}function ui(){if(!I){if(l.postRun)for(typeof l.postRun=="function"&&(l.postRun=[l.postRun]);l.postRun.length;)Gi(l.postRun.shift());Lt(kt)}}function jt(k){l.onAbort?.(k),k="Aborted("+k+")",U(k),K=!0,k+=". Build with -sASSERTIONS for more info.";var X=new WebAssembly.RuntimeError(k);throw Re?.(X),X}var Oe;function Ft(){return b("web-ifc-mt.wasm")}function ge(k){if(k==Oe&&Z)return new Uint8Array(Z);if(O)return O(k);throw"both async and sync fetching of the wasm failed"}async function Ue(k){if(!Z)try{var X=await A(k);return new Uint8Array(X)}catch{}return ge(k)}async function Pe(k,X){try{var we=await Ue(k),xe=await WebAssembly.instantiate(we,X);return xe}catch(Ke){U(`failed to asynchronously prepare wasm: ${Ke}`),jt(Ke)}}async function Me(k,X,we){if(!k)try{var xe=fetch(X,{credentials:"same-origin"}),Ke=await WebAssembly.instantiateStreaming(xe,we);return Ke}catch(yt){U(`wasm streaming compile failed: ${yt}`),U("falling back to ArrayBuffer instantiation")}return Pe(X,we)}function ze(){vt();var k={a:nt};return k}async function pt(){function k(gt,Rt){return Jt=gt.exports,Jt=Nt(Jt),Un(Jt.qa),Ve(Jt),ne=Rt,Jt}function X(gt){return k(gt.instance,gt.module)}var we=ze();if(l.instantiateWasm)return new Promise((gt,Rt)=>{l.instantiateWasm(we,($t,Ri)=>{gt(k($t,Ri))})});if(I){var xe=new WebAssembly.Instance(ne,ze());return k(xe,ne)}Oe??=Ft();var Ke=await Me(Z,Oe,we),yt=X(Ke);return yt}class He{name="ExitStatus";constructor(X){this.message=`Program terminated with exit(${X})`,this.status=X}}var At=k=>{k.terminate(),k.onmessage=X=>{}},Tt=k=>{var X=Zi.pthreads[k];Zi.returnWorkerToPool(X)},Lt=k=>{for(;k.length>0;)k.shift()(l)},Ht=[],ri=k=>Ht.push(k),Xe=0,We=null,Mt=k=>{if(Xe--,l.monitorRunDependencies?.(Xe),Xe==0&&We){var X=We;We=null,X()}},si=k=>{Xe++,l.monitorRunDependencies?.(Xe)},gi=k=>{var X=Zi.getNewWorker();if(!X)return 6;Zi.runningWorkers.push(X),Zi.pthreads[k.pthread_ptr]=X,X.pthread_ptr=k.pthread_ptr;var we={cmd:"run",start_routine:k.startRoutine,arg:k.arg,pthread_ptr:k.pthread_ptr};return X.postMessage(we,k.transferList),0},mi=0,bi=()=>cn||mi>0,Qt=()=>W(),di=k=>ug(k),Wi=k=>ah(k),ki=(k,X,we,...xe)=>{var Ke=8*xe.length*2,yt=Qt(),gt=Wi(Ke),Rt=gt>>>3;for(var $t of xe)typeof $t=="bigint"?((se(),Dt)[Rt++>>>0]=1n,(se(),Dt)[Rt++>>>0]=$t):((se(),Dt)[Rt++>>>0]=0n,(se(),ft)[Rt++>>>0]=$t);var Ri=lg(k,X,Ke,gt,we);return di(yt),Ri};function Pi(k){if(I)return ki(0,0,1,k);oe=k,bi()||(Zi.terminateAllThreads(),l.onExit?.(k),K=!0),T(k,new He(k))}function Di(k){if(I)return ki(1,0,0,k);Ln(k)}var dn=(k,X)=>{if(oe=k,I)throw Di(k),"unwind";Pi(k)},Ln=dn,Zi={unusedWorkers:[],runningWorkers:[],tlsInitFunctions:[],pthreads:{},init(){I||Zi.initMainThread()},initMainThread(){for(var k=navigator.hardwareConcurrency;k--;)Zi.allocateUnusedWorker();ri(async()=>{var X=Zi.loadWasmModuleToAllWorkers();si("loading-workers"),await X,Mt("loading-workers")})},terminateAllThreads:()=>{for(var k of Zi.runningWorkers)At(k);for(var k of Zi.unusedWorkers)At(k);Zi.unusedWorkers=[],Zi.runningWorkers=[],Zi.pthreads={}},returnWorkerToPool:k=>{var X=k.pthread_ptr;delete Zi.pthreads[X],Zi.unusedWorkers.push(k),Zi.runningWorkers.splice(Zi.runningWorkers.indexOf(k),1),k.pthread_ptr=0,K1(X)},threadInitTLS(){Zi.tlsInitFunctions.forEach(k=>k())},loadWasmModuleToWorker:k=>new Promise(X=>{k.onmessage=yt=>{var gt=yt.data,Rt=gt.cmd;if(gt.targetThread&>.targetThread!=$1()){var $t=Zi.pthreads[gt.targetThread];$t?$t.postMessage(gt,gt.transferList):U(`Internal error! Worker sent a message "${Rt}" to target pthread ${gt.targetThread}, but that thread no longer exists!`);return}Rt==="checkMailbox"?G1():Rt==="spawnThread"?gi(gt):Rt==="cleanupThread"?OE(()=>Tt(gt.thread)):Rt==="loaded"?(k.loaded=!0,X(k)):gt.target==="setimmediate"?k.postMessage(gt):Rt==="callHandler"?l[gt.handler](...gt.args):Rt&&U(`worker sent an unknown command ${Rt}`)},k.onerror=yt=>{var gt="worker sent an error!";throw U(`${gt} ${yt.filename}:${yt.lineno}: ${yt.message}`),yt};var we=[],xe=["onExit","onAbort","print","printErr"];for(var Ke of xe)l.propertyIsEnumerable(Ke)&&we.push(Ke);k.postMessage({cmd:"load",handlers:we,wasmMemory:hn,wasmModule:ne})}),async loadWasmModuleToAllWorkers(){return I?void 0:Promise.all(Zi.unusedWorkers.map(Zi.loadWasmModuleToWorker))},allocateUnusedWorker(){var k,X=s;l.mainScriptUrlOrBlob&&(X=l.mainScriptUrlOrBlob,typeof X!="string"&&(X=URL.createObjectURL(X))),k=new Worker(X,{name:"em-pthread"}),Zi.unusedWorkers.push(k)},getNewWorker(){return Zi.unusedWorkers.length==0&&(Zi.allocateUnusedWorker(),Zi.loadWasmModuleToWorker(Zi.unusedWorkers[0])),Zi.unusedWorkers.pop()}},kt=[],Gi=k=>kt.push(k);function wi(k){var X=(se(),ke)[k+52>>>2>>>0],we=(se(),ke)[k+56>>>2>>>0],xe=X-we;Q1(X,xe),di(X)}var Qi=[],Fi=k=>{var X=Qi[k];return X||(Qi[k]=X=be.get(k)),X},Ci=(k,X)=>{mi=0,cn=0;var we=Fi(k)(X);function xe(Ke){if(bi()){oe=Ke;return}ZE(Ke)}xe(we)},cn=!0,Un=k=>Zi.tlsInitFunctions.push(k),hn;class Rs{constructor(X){this.excPtr=X,this.ptr=X-24}set_type(X){(se(),ke)[this.ptr+4>>>2>>>0]=X}get_type(){return(se(),ke)[this.ptr+4>>>2>>>0]}set_destructor(X){(se(),ke)[this.ptr+8>>>2>>>0]=X}get_destructor(){return(se(),ke)[this.ptr+8>>>2>>>0]}set_caught(X){X=X?1:0,(se(),Ce)[this.ptr+12>>>0]=X}get_caught(){return(se(),Ce)[this.ptr+12>>>0]!=0}set_rethrown(X){X=X?1:0,(se(),Ce)[this.ptr+13>>>0]=X}get_rethrown(){return(se(),Ce)[this.ptr+13>>>0]!=0}init(X,we){this.set_adjusted_ptr(0),this.set_type(X),this.set_destructor(we)}set_adjusted_ptr(X){(se(),ke)[this.ptr+16>>>2>>>0]=X}get_adjusted_ptr(){return(se(),ke)[this.ptr+16>>>2>>>0]}}var Wo=0,Io=0,ao=9007199254740992,Ma=-9007199254740992,Yn=k=>k<Ma||k>ao?NaN:Number(k);function wu(k,X,we){k>>>=0,X>>>=0,we>>>=0;var xe=new Rs(k);throw xe.init(X,we),Wo=k,Io++,Wo}var mo=()=>jt(""),Ia={},Er=k=>{for(;k.length;){var X=k.pop(),we=k.pop();we(X)}};function Vl(k){return this.fromWireType((se(),ke)[k>>>2>>>0])}var Nr={},Ni={},_r={},Hc=class extends Error{constructor(X){super(X),this.name="InternalError"}},Dr=k=>{throw new Hc(k)},ma=(k,X,we)=>{k.forEach(Rt=>_r[Rt]=X);function xe(Rt){var $t=we(Rt);$t.length!==k.length&&Dr("Mismatched type converter count");for(var Ri=0;Ri<k.length;++Ri)qt(k[Ri],$t[Ri])}var Ke=new Array(X.length),yt=[],gt=0;for(let[Rt,$t]of X.entries())Ni.hasOwnProperty($t)?Ke[Rt]=Ni[$t]:(yt.push($t),Nr.hasOwnProperty($t)||(Nr[$t]=[]),Nr[$t].push(()=>{Ke[Rt]=Ni[$t],++gt,gt===yt.length&&xe(Ke)}));yt.length===0&&xe(Ke)},A0=function(k){k>>>=0;var X=Ia[k];delete Ia[k];var we=X.elements,xe=we.length,Ke=we.map(Rt=>Rt.getterReturnType).concat(we.map(Rt=>Rt.setterArgumentType)),yt=X.rawConstructor,gt=X.rawDestructor;ma([k],Ke,Rt=>{for(let[$t,Ri]of we.entries()){let Vi=Rt[$t],tn=Ri.getter,qi=Ri.getterContext,Yi=Rt[$t+xe],Kn=Ri.setter,Fs=Ri.setterContext;Ri.read=us=>Vi.fromWireType(tn(qi,us)),Ri.write=(us,gs)=>{var ir=[];Kn(Fs,us,Yi.toWireType(ir,gs)),Er(ir)}}return[{name:X.name,fromWireType:$t=>{for(var Ri=new Array(xe),Vi=0;Vi<xe;++Vi)Ri[Vi]=we[Vi].read($t);return gt($t),Ri},toWireType:($t,Ri)=>{if(xe!==Ri.length)throw new TypeError(`Incorrect number of tuple elements for ${X.name}: expected=${xe}, actual=${Ri.length}`);for(var Vi=yt(),tn=0;tn<xe;++tn)we[tn].write(Vi,Ri[tn]);return $t!==null&&$t.push(gt,Vi),Vi},readValueFromPointer:Vl,destructorFunction:gt}]})},Gc={},Vc=function(k){k>>>=0;var X=Gc[k];delete Gc[k];var we=X.rawConstructor,xe=X.rawDestructor,Ke=X.fields,yt=Ke.map(gt=>gt.getterReturnType).concat(Ke.map(gt=>gt.setterArgumentType));ma([k],yt,gt=>{var Rt={};for(var[$t,Ri]of Ke.entries()){let Vi=gt[$t],tn=Ri.getter,qi=Ri.getterContext,Yi=gt[$t+Ke.length],Kn=Ri.setter,Fs=Ri.setterContext;Rt[Ri.fieldName]={read:us=>Vi.fromWireType(tn(qi,us)),write:(us,gs)=>{var ir=[];Kn(Fs,us,Yi.toWireType(ir,gs)),Er(ir)},optional:Vi.optional}}return[{name:X.name,fromWireType:Vi=>{var tn={};for(var qi in Rt)tn[qi]=Rt[qi].read(Vi);return xe(Vi),tn},toWireType:(Vi,tn)=>{for(var qi in Rt)if(!(qi in tn)&&!Rt[qi].optional)throw new TypeError(`Missing field: "${qi}"`);var Yi=we();for(qi in Rt)Rt[qi].write(Yi,tn[qi]);return Vi!==null&&Vi.push(xe,Yi),Yi},readValueFromPointer:Vl,destructorFunction:xe}]})},yo=k=>{k>>>=0;for(var X="";;){var we=(se(),Qe)[k++>>>0];if(!we)return X;X+=String.fromCharCode(we)}},vu=class extends Error{constructor(X){super(X),this.name="BindingError"}},Es=k=>{throw new vu(k)};function ht(k,X,we={}){var xe=X.name;if(k||Es(`type "${xe}" must have a positive integer typeid pointer`),Ni.hasOwnProperty(k)){if(we.ignoreDuplicateRegistrations)return;Es(`Cannot register type '${xe}' twice`)}if(Ni[k]=X,delete _r[k],Nr.hasOwnProperty(k)){var Ke=Nr[k];delete Nr[k],Ke.forEach(yt=>yt())}}function qt(k,X,we={}){return ht(k,X,we)}var ni=(k,X,we)=>{switch(X){case 1:return we?xe=>(se(),Ce)[xe>>>0]:xe=>(se(),Qe)[xe>>>0];case 2:return we?xe=>(se(),qe)[xe>>>1>>>0]:xe=>(se(),St)[xe>>>1>>>0];case 4:return we?xe=>(se(),$e)[xe>>>2>>>0]:xe=>(se(),ke)[xe>>>2>>>0];case 8:return we?xe=>(se(),Dt)[xe>>>3>>>0]:xe=>(se(),Zt)[xe>>>3>>>0];default:throw new TypeError(`invalid integer width (${X}): ${k}`)}},ei=function(k,X,we,xe,Ke){k>>>=0,X>>>=0,we>>>=0,X=yo(X);let yt=xe===0n,gt=Rt=>Rt;if(yt){let Rt=we*8;gt=$t=>BigInt.asUintN(Rt,$t),Ke=gt(Ke)}qt(k,{name:X,fromWireType:gt,toWireType:(Rt,$t)=>(typeof $t=="number"&&($t=BigInt($t)),$t),readValueFromPointer:ni(X,we,!yt),destructorFunction:null})};function Xt(k,X,we,xe){k>>>=0,X>>>=0,X=yo(X),qt(k,{name:X,fromWireType:function(Ke){return!!Ke},toWireType:function(Ke,yt){return yt?we:xe},readValueFromPointer:function(Ke){return this.fromWireType((se(),Qe)[Ke>>>0])},destructorFunction:null})}var ji=k=>({count:k.count,deleteScheduled:k.deleteScheduled,preservePointerOnDelete:k.preservePointerOnDelete,ptr:k.ptr,ptrType:k.ptrType,smartPtr:k.smartPtr,smartPtrType:k.smartPtrType}),rn=k=>{function X(we){return we.$$.ptrType.registeredClass.name}Es(X(k)+" instance already deleted")},Ki=!1,fn=k=>{},En=k=>{k.smartPtr?k.smartPtrType.rawDestructor(k.smartPtr):k.ptrType.registeredClass.rawDestructor(k.ptr)},zn=k=>{k.count.value-=1;var X=k.count.value===0;X&&En(k)},Vn=k=>globalThis.FinalizationRegistry?(Ki=new FinalizationRegistry(X=>{zn(X.$$)}),Vn=X=>{var we=X.$$,xe=!!we.smartPtr;if(xe){var Ke={$$:we};Ki.register(X,Ke,X)}return X},fn=X=>Ki.unregister(X),Vn(k)):(Vn=X=>X,k),wn=[],Ds=()=>{for(;wn.length;){var k=wn.pop();k.$$.deleteScheduled=!1,k.delete()}},Ws,Ys=()=>{let k=hs.prototype;Object.assign(k,{isAliasOf(we){if(!(this instanceof hs)||!(we instanceof hs))return!1;var xe=this.$$.ptrType.registeredClass,Ke=this.$$.ptr;we.$$=we.$$;for(var yt=we.$$.ptrType.registeredClass,gt=we.$$.ptr;xe.baseClass;)Ke=xe.upcast(Ke),xe=xe.baseClass;for(;yt.baseClass;)gt=yt.upcast(gt),yt=yt.baseClass;return xe===yt&&Ke===gt},clone(){if(this.$$.ptr||rn(this),this.$$.preservePointerOnDelete)return this.$$.count.value+=1,this;var we=Vn(Object.create(Object.getPrototypeOf(this),{$$:{value:ji(this.$$)}}));return we.$$.count.value+=1,we.$$.deleteScheduled=!1,we},delete(){this.$$.ptr||rn(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&Es("Object already scheduled for deletion"),fn(this),zn(this.$$),this.$$.preservePointerOnDelete||(this.$$.smartPtr=void 0,this.$$.ptr=void 0)},isDeleted(){return!this.$$.ptr},deleteLater(){return this.$$.ptr||rn(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&Es("Object already scheduled for deletion"),wn.push(this),wn.length===1&&Ws&&Ws(Ds),this.$$.deleteScheduled=!0,this}});let X=Symbol.dispose;X&&(k[X]=k.delete)};function hs(){}var uo=(k,X)=>Object.defineProperty(X,"name",{value:k}),sn={},eo=(k,X,we)=>{if(k[X].overloadTable===void 0){var xe=k[X];k[X]=function(...Ke){return k[X].overloadTable.hasOwnProperty(Ke.length)||Es(`Function '${we}' called with an invalid number of arguments (${Ke.length}) - expects one of (${k[X].overloadTable})!`),k[X].overloadTable[Ke.length].apply(this,Ke)},k[X].overloadTable=[],k[X].overloadTable[xe.argCount]=xe}},Xn=(k,X,we)=>{l.hasOwnProperty(k)?((we===void 0||l[k].overloadTable!==void 0&&l[k].overloadTable[we]!==void 0)&&Es(`Cannot register public name '${k}' twice`),eo(l,k,k),l[k].overloadTable.hasOwnProperty(we)&&Es(`Cannot register multiple overloads of a function with the same number of arguments (${we})!`),l[k].overloadTable[we]=X):(l[k]=X,l[k].argCount=we)},Do=48,lr=57,Bo=k=>{k=k.replace(/[^a-zA-Z0-9_]/g,"$");var X=k.charCodeAt(0);return X>=Do&&X<=lr?`_${k}`:k};function Fo(k,X,we,xe,Ke,yt,gt,Rt){this.name=k,this.constructor=X,this.instancePrototype=we,this.rawDestructor=xe,this.baseClass=Ke,this.getActualType=yt,this.upcast=gt,this.downcast=Rt,this.pureVirtualFunctions=[]}var rs=(k,X,we)=>{for(;X!==we;)X.upcast||Es(`Expected null or instance of ${we.name}, got an instance of ${X.name}`),k=X.upcast(k),X=X.baseClass;return k},Ts=k=>{if(k===null)return"null";var X=typeof k;return X==="object"||X==="array"||X==="function"?k.toString():""+k};function ls(k,X){if(X===null)return this.isReference&&Es(`null is not a valid ${this.name}`),0;X.$$||Es(`Cannot pass "${Ts(X)}" as a ${this.name}`),X.$$.ptr||Es(`Cannot pass deleted object as a pointer of type ${this.name}`);var we=X.$$.ptrType.registeredClass,xe=rs(X.$$.ptr,we,this.registeredClass);return xe}function Ss(k,X){var we;if(X===null)return this.isReference&&Es(`null is not a valid ${this.name}`),this.isSmartPointer?(we=this.rawConstructor(),k!==null&&k.push(this.rawDestructor,we),we):0;(!X||!X.$$)&&Es(`Cannot pass "${Ts(X)}" as a ${this.name}`),X.$$.ptr||Es(`Cannot pass deleted object as a pointer of type ${this.name}`),!this.isConst&&X.$$.ptrType.isConst&&Es(`Cannot convert argument of type ${X.$$.smartPtrType?X.$$.smartPtrType.name:X.$$.ptrType.name} to parameter type ${this.name}`);var xe=X.$$.ptrType.registeredClass;if(we=rs(X.$$.ptr,xe,this.registeredClass),this.isSmartPointer)switch(X.$$.smartPtr===void 0&&Es("Passing raw pointer to smart pointer is illegal"),this.sharingPolicy){case 0:X.$$.smartPtrType===this?we=X.$$.smartPtr:Es(`Cannot convert argument of type ${X.$$.smartPtrType?X.$$.smartPtrType.name:X.$$.ptrType.name} to parameter type ${this.name}`);break;case 1:we=X.$$.smartPtr;break;case 2:if(X.$$.smartPtrType===this)we=X.$$.smartPtr;else{var Ke=X.clone();we=this.rawShare(we,An.toHandle(()=>Ke.delete())),k!==null&&k.push(this.rawDestructor,we)}break;default:Es("Unsupported sharing policy")}return we}function Tr(k,X){if(X===null)return this.isReference&&Es(`null is not a valid ${this.name}`),0;X.$$||Es(`Cannot pass "${Ts(X)}" as a ${this.name}`),X.$$.ptr||Es(`Cannot pass deleted object as a pointer of type ${this.name}`),X.$$.ptrType.isConst&&Es(`Cannot convert argument of type ${X.$$.ptrType.name} to parameter type ${this.name}`);var we=X.$$.ptrType.registeredClass,xe=rs(X.$$.ptr,we,this.registeredClass);return xe}var hr=(k,X,we)=>{if(X===we)return k;if(we.baseClass===void 0)return null;var xe=hr(k,X,we.baseClass);return xe===null?null:we.downcast(xe)},b0={},N0=(k,X)=>{for(X===void 0&&Es("ptr should not be undefined");k.baseClass;)X=k.upcast(X),k=k.baseClass;return X},th=(k,X)=>(X=N0(k,X),b0[X]),kc=(k,X)=>{(!X.ptrType||!X.ptr)&&Dr("makeClassHandle requires ptr and ptrType");var we=!!X.smartPtrType,xe=!!X.smartPtr;return we!==xe&&Dr("Both smartPtrType and smartPtr must be specified"),X.count={value:1},Vn(Object.create(k,{$$:{value:X,writable:!0}}))};function Jh(k){var X=this.getPointee(k);if(!X)return this.destructor(k),null;var we=th(this.registeredClass,X);if(we!==void 0){if(we.$$.count.value===0)return we.$$.ptr=X,we.$$.smartPtr=k,we.clone();var xe=we.clone();return this.destructor(k),xe}function Ke(){return this.isSmartPointer?kc(this.registeredClass.instancePrototype,{ptrType:this.pointeeType,ptr:X,smartPtrType:this,smartPtr:k}):kc(this.registeredClass.instancePrototype,{ptrType:this,ptr:k})}var yt=this.registeredClass.getActualType(X),gt=sn[yt];if(!gt)return Ke.call(this);var Rt;this.isConst?Rt=gt.constPointerType:Rt=gt.pointerType;var $t=hr(X,this.registeredClass,Rt.registeredClass);return $t===null?Ke.call(this):this.isSmartPointer?kc(Rt.registeredClass.instancePrototype,{ptrType:Rt,ptr:$t,smartPtrType:this,smartPtr:k}):kc(Rt.registeredClass.instancePrototype,{ptrType:Rt,ptr:$t})}var Xh=()=>{Object.assign(ih.prototype,{getPointee(k){return this.rawGetPointee&&(k=this.rawGetPointee(k)),k},destructor(k){this.rawDestructor?.(k)},readValueFromPointer:Vl,fromWireType:Jh})};function ih(k,X,we,xe,Ke,yt,gt,Rt,$t,Ri,Vi){this.name=k,this.registeredClass=X,this.isReference=we,this.isConst=xe,this.isSmartPointer=Ke,this.pointeeType=yt,this.sharingPolicy=gt,this.rawGetPointee=Rt,this.rawConstructor=$t,this.rawShare=Ri,this.rawDestructor=Vi,!Ke&&X.baseClass===void 0?xe?(this.toWireType=ls,this.destructorFunction=null):(this.toWireType=Tr,this.destructorFunction=null):this.toWireType=Ss}var nh=(k,X,we)=>{l.hasOwnProperty(k)||Dr("Replacing nonexistent public symbol"),l[k].overloadTable!==void 0&&we!==void 0?l[k].overloadTable[we]=X:(l[k]=X,l[k].argCount=we)},pI=(k,X,we=[],xe=!1)=>{var Ke=Fi(X),yt=Ke(...we);function gt(Rt){return k[0]=="p"?Rt>>>0:Rt}return gt(yt)},_0=(k,X,we=!1)=>(...xe)=>pI(k,X,xe,we),to=(k,X,we=!1)=>{k=yo(k);function xe(){if(k.includes("p"))return _0(k,X,we);var yt=Fi(X);return yt}var Ke=xe();return typeof Ke!="function"&&Es(`unknown function pointer with signature ${k}: ${X}`),Ke};class Jf extends Error{}var io=k=>{var X=j1(k),we=yo(X);return rh(X),we},sh=(k,X)=>{var we=[],xe={};function Ke(yt){if(!xe[yt]&&!Ni[yt]){if(_r[yt]){_r[yt].forEach(Ke);return}we.push(yt),xe[yt]=!0}}throw X.forEach(Ke),new Jf(`${k}: `+we.map(io).join([", "]))};function U1(k,X,we,xe,Ke,yt,gt,Rt,$t,Ri,Vi,tn,qi){k>>>=0,X>>>=0,we>>>=0,xe>>>=0,Ke>>>=0,yt>>>=0,gt>>>=0,Rt>>>=0,$t>>>=0,Ri>>>=0,Vi>>>=0,tn>>>=0,qi>>>=0,Vi=yo(Vi),yt=to(Ke,yt),Rt&&=to(gt,Rt),Ri&&=to($t,Ri),qi=to(tn,qi);var Yi=Bo(Vi);Xn(Yi,function(){sh(`Cannot construct ${Vi} due to unbound types`,[xe])}),ma([k,X,we],xe?[xe]:[],Kn=>{Kn=Kn[0];var Fs,us;xe?(Fs=Kn.registeredClass,us=Fs.instancePrototype):us=hs.prototype;var gs=uo(Vi,function(...K4){if(Object.getPrototypeOf(this)!==ir)throw new vu(`Use 'new' to construct ${Vi}`);if(zl.constructor_body===void 0)throw new vu(`${Vi} has no accessible constructor`);var rA=zl.constructor_body[K4.length];if(rA===void 0)throw new vu(`Tried to invoke ctor of ${Vi} with invalid number of parameters (${K4.length}) - expected (${Object.keys(zl.constructor_body).toString()}) parameters instead!`);return rA.apply(this,K4)}),ir=Object.create(us,{constructor:{value:gs}});gs.prototype=ir;var zl=new Fo(Vi,gs,ir,qi,Fs,yt,Rt,Ri);zl.baseClass&&(zl.baseClass.__derivedClasses??=[],zl.baseClass.__derivedClasses.push(zl));var wc=new ih(Vi,zl,!0,!1,!1),Ba=new ih(Vi+"*",zl,!1,!1,!1),ar=new ih(Vi+" const*",zl,!1,!0,!1);return sn[k]={pointerType:Ba,constPointerType:ar},nh(Yi,gs),[wc,Ba,ar]})}var ef=(k,X)=>{for(var we=[],xe=0;xe<k;xe++)we.push((se(),ke)[X+xe*4>>>2>>>0]);return we};function Xf(k){for(var X=1;X<k.length;++X)if(k[X]!==null&&k[X].destructorFunction===void 0)return!0;return!1}function bt(k,X,we,xe,Ke,yt){var gt=X.length;gt<2&&Es("argTypes array size mismatch! Must at least get return value and 'this' types!");var Rt=X[1]!==null&&we!==null,$t=Xf(X),Ri=!X[0].isVoid,Vi=gt-2,tn=new Array(Vi),qi=[],Yi=[],Kn=function(...Fs){Yi.length=0;var us;qi.length=Rt?2:1,qi[0]=Ke,Rt&&(us=X[1].toWireType(Yi,this),qi[1]=us);for(var gs=0;gs<Vi;++gs)tn[gs]=X[gs+2].toWireType(Yi,Fs[gs]),qi.push(tn[gs]);var ir=xe(...qi);function zl(wc){if($t)Er(Yi);else for(var Ba=Rt?1:2;Ba<X.length;Ba++){var ar=Ba===1?us:tn[Ba-2];X[Ba].destructorFunction!==null&&X[Ba].destructorFunction(ar)}if(Ri)return X[0].fromWireType(wc)}return zl(ir)};return uo(k,Kn)}var vi=function(k,X,we,xe,Ke,yt){k>>>=0,we>>>=0,xe>>>=0,Ke>>>=0,yt>>>=0;var gt=ef(X,we);Ke=to(xe,Ke),ma([],[k],Rt=>{Rt=Rt[0];var $t=`constructor ${Rt.name}`;if(Rt.registeredClass.constructor_body===void 0&&(Rt.registeredClass.constructor_body=[]),Rt.registeredClass.constructor_body[X-1]!==void 0)throw new vu(`Cannot register multiple constructors with identical number of parameters (${X-1}) for class '${Rt.name}'! Overload resolution is currently only performed using the parameter count, not actual type info!`);return Rt.registeredClass.constructor_body[X-1]=()=>{sh(`Cannot construct ${Rt.name} due to unbound types`,gt)},ma([],gt,Ri=>(Ri.splice(1,0,null),Rt.registeredClass.constructor_body[X-1]=bt($t,Ri,null,Ke,yt),[])),[]})},zi=k=>{k=k.trim();let X=k.indexOf("(");return X===-1?k:k.slice(0,X)},Rn=function(k,X,we,xe,Ke,yt,gt,Rt,$t,Ri){k>>>=0,X>>>=0,xe>>>=0,Ke>>>=0,yt>>>=0,gt>>>=0;var Vi=ef(we,xe);X=yo(X),X=zi(X),yt=to(Ke,yt,$t),ma([],[k],tn=>{tn=tn[0];var qi=`${tn.name}.${X}`;X.startsWith("@@")&&(X=Symbol[X.substring(2)]),Rt&&tn.registeredClass.pureVirtualFunctions.push(X);function Yi(){sh(`Cannot call ${qi} due to unbound types`,Vi)}var Kn=tn.registeredClass.instancePrototype,Fs=Kn[X];return Fs===void 0||Fs.overloadTable===void 0&&Fs.className!==tn.name&&Fs.argCount===we-2?(Yi.argCount=we-2,Yi.className=tn.name,Kn[X]=Yi):(eo(Kn,X,qi),Kn[X].overloadTable[we-2]=Yi),ma([],Vi,us=>{var gs=bt(qi,us,tn,yt,gt,$t);return Kn[X].overloadTable===void 0?(gs.argCount=we-2,Kn[X]=gs):Kn[X].overloadTable[we-2]=gs,[]}),[]})},_n=[],Cn=[0,1,,1,null,1,!0,1,!1,1];function Wn(k){k>>>=0,k>9&&--Cn[k+1]===0&&(Cn[k]=void 0,_n.push(k))}var An={toValue:k=>(k||Es(`Cannot use deleted val. handle = ${k}`),Cn[k]),toHandle:k=>{switch(k){case void 0:return 2;case null:return 4;case!0:return 6;case!1:return 8;default:{let X=_n.pop()||Cn.length;return Cn[X]=k,Cn[X+1]=1,X}}}},js={name:"emscripten::val",fromWireType:k=>{var X=An.toValue(k);return Wn(k),X},toWireType:(k,X)=>An.toHandle(X),readValueFromPointer:Vl,destructorFunction:null};function Uo(k){return k>>>=0,qt(k,js)}var Yo=(k,X)=>{switch(X){case 4:return function(we){return this.fromWireType((se(),It)[we>>>2>>>0])};case 8:return function(we){return this.fromWireType((se(),ft)[we>>>3>>>0])};default:throw new TypeError(`invalid float width (${X}): ${k}`)}},ya=function(k,X,we){k>>>=0,X>>>=0,we>>>=0,X=yo(X),qt(k,{name:X,fromWireType:xe=>xe,toWireType:(xe,Ke)=>Ke,readValueFromPointer:Yo(X,we),destructorFunction:null})};function D0(k,X,we,xe,Ke,yt,gt,Rt){k>>>=0,we>>>=0,xe>>>=0,Ke>>>=0,yt>>>=0;var $t=ef(X,we);k=yo(k),k=zi(k),Ke=to(xe,Ke,gt),Xn(k,function(){sh(`Cannot call ${k} due to unbound types`,$t)},X-1),ma([],$t,Ri=>{var Vi=[Ri[0],null].concat(Ri.slice(1));return nh(k,bt(k,Vi,null,Ke,yt,gt),X-1),[]})}var ep=function(k,X,we,xe,Ke){k>>>=0,X>>>=0,we>>>=0,X=yo(X);let yt=xe===0,gt=$t=>$t;if(yt){var Rt=32-8*we;gt=$t=>$t<<Rt>>>Rt,Ke=gt(Ke)}qt(k,{name:X,fromWireType:gt,toWireType:($t,Ri)=>Ri,readValueFromPointer:ni(X,we,xe!==0),destructorFunction:null})};function NE(k,X,we){k>>>=0,we>>>=0;var xe=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,BigInt64Array,BigUint64Array],Ke=xe[X];function yt(gt){var Rt=(se(),ke)[gt>>>2>>>0],$t=(se(),ke)[gt+4>>>2>>>0];return new Ke((se(),Ce).buffer,$t,Rt)}we=yo(we),qt(k,{name:we,fromWireType:yt,readValueFromPointer:yt},{ignoreDuplicateRegistrations:!0})}var H1=Object.assign({optional:!0},js);function kl(k,X){k>>>=0,X>>>=0,qt(k,H1)}var Ru=(k,X,we,xe)=>{if(we>>>=0,!(xe>0))return 0;for(var Ke=we,yt=we+xe-1,gt=0;gt<k.length;++gt){var Rt=k.codePointAt(gt);if(Rt<=127){if(we>=yt)break;X[we++>>>0]=Rt}else if(Rt<=2047){if(we+1>=yt)break;X[we++>>>0]=192|Rt>>6,X[we++>>>0]=128|Rt&63}else if(Rt<=65535){if(we+2>=yt)break;X[we++>>>0]=224|Rt>>12,X[we++>>>0]=128|Rt>>6&63,X[we++>>>0]=128|Rt&63}else{if(we+3>=yt)break;X[we++>>>0]=240|Rt>>18,X[we++>>>0]=128|Rt>>12&63,X[we++>>>0]=128|Rt>>6&63,X[we++>>>0]=128|Rt&63,gt++}}return X[we>>>0]=0,we-Ke},Ea=(k,X,we)=>Ru(k,(se(),Qe),X,we),_E=k=>{for(var X=0,we=0;we<k.length;++we){var xe=k.charCodeAt(we);xe<=127?X++:xe<=2047?X+=2:xe>=55296&&xe<=57343?(X+=4,++we):X+=3}return X},j3=globalThis.TextDecoder&&new TextDecoder,q3=(k,X,we,xe)=>{var Ke=X+we;if(xe)return Ke;for(;k[X]&&!(X>=Ke);)++X;return X},II=(k,X=0,we,xe)=>{X>>>=0;var Ke=q3(k,X,we,xe);if(Ke-X>16&&k.buffer&&j3)return j3.decode(k.buffer instanceof ArrayBuffer?k.subarray(X,Ke):k.slice(X,Ke));for(var yt="";X<Ke;){var gt=k[X++];if(!(gt&128)){yt+=String.fromCharCode(gt);continue}var Rt=k[X++]&63;if((gt&224)==192){yt+=String.fromCharCode((gt&31)<<6|Rt);continue}var $t=k[X++]&63;if((gt&240)==224?gt=(gt&15)<<12|Rt<<6|$t:gt=(gt&7)<<18|Rt<<12|$t<<6|k[X++]&63,gt<65536)yt+=String.fromCharCode(gt);else{var Ri=gt-65536;yt+=String.fromCharCode(55296|Ri>>10,56320|Ri&1023)}}return yt},$3=(k,X,we)=>(k>>>=0,k?II((se(),Qe),k,X,we):"");function i4(k,X){k>>>=0,X>>>=0,X=yo(X);var we=!0;qt(k,{name:X,fromWireType(xe){var Ke=(se(),ke)[xe>>>2>>>0],yt=xe+4,gt;if(we)gt=$3(yt,Ke,!0);else{gt="";for(var Rt=0;Rt<Ke;++Rt)gt+=String.fromCharCode((se(),Qe)[yt+Rt>>>0])}return rh(xe),gt},toWireType(xe,Ke){Ke instanceof ArrayBuffer&&(Ke=new Uint8Array(Ke));var yt,gt=typeof Ke=="string";gt||ArrayBuffer.isView(Ke)&&Ke.BYTES_PER_ELEMENT==1||Es("Cannot pass non-string to std::string"),we&>?yt=_E(Ke):yt=Ke.length;var Rt=q1(4+yt+1),$t=Rt+4;if((se(),ke)[Rt>>>2>>>0]=yt,gt)if(we)Ea(Ke,$t,yt+1);else for(var Ri=0;Ri<yt;++Ri){var Vi=Ke.charCodeAt(Ri);Vi>255&&(rh(Rt),Es("String has UTF-16 code units that do not fit in 8 bits")),(se(),Qe)[$t+Ri>>>0]=Vi}else(se(),Qe).set(Ke,$t>>>0);return xe!==null&&xe.push(rh,Rt),Rt},readValueFromPointer:Vl,destructorFunction(xe){rh(xe)}})}var Z3=globalThis.TextDecoder?new TextDecoder("utf-16le"):void 0,DE=(k,X,we)=>{var xe=k>>>1,Ke=q3((se(),St),xe,X/2,we);if(Ke-xe>16&&Z3)return Z3.decode((se(),St).slice(xe,Ke));for(var yt="",gt=xe;gt<Ke;++gt){var Rt=(se(),St)[gt>>>0];yt+=String.fromCharCode(Rt)}return yt},n4=(k,X,we)=>{if(we??=2147483647,we<2)return 0;we-=2;for(var xe=X,Ke=we<k.length*2?we/2:k.length,yt=0;yt<Ke;++yt){var gt=k.charCodeAt(yt);(se(),qe)[X>>>1>>>0]=gt,X+=2}return(se(),qe)[X>>>1>>>0]=0,X-xe},CE=k=>k.length*2,s4=(k,X,we)=>{for(var xe="",Ke=k>>>2,yt=0;!(yt>=X/4);yt++){var gt=(se(),ke)[Ke+yt>>>0];if(!gt&&!we)break;xe+=String.fromCodePoint(gt)}return xe},o4=(k,X,we)=>{if(X>>>=0,we??=2147483647,we<4)return 0;for(var xe=X,Ke=xe+we-4,yt=0;yt<k.length;++yt){var gt=k.codePointAt(yt);if(gt>65535&&yt++,(se(),$e)[X>>>2>>>0]=gt,X+=4,X+4>Ke)break}return(se(),$e)[X>>>2>>>0]=0,X-xe},r4=k=>{for(var X=0,we=0;we<k.length;++we){var xe=k.codePointAt(we);xe>65535&&we++,X+=4}return X};function l4(k,X,we){k>>>=0,X>>>=0,we>>>=0,we=yo(we);var xe,Ke,yt;X===2?(xe=DE,Ke=n4,yt=CE):(xe=s4,Ke=o4,yt=r4),qt(k,{name:we,fromWireType:gt=>{var Rt=(se(),ke)[gt>>>2>>>0],$t=xe(gt+4,Rt*X,!0);return rh(gt),$t},toWireType:(gt,Rt)=>{typeof Rt!="string"&&Es(`Cannot pass non-string to C++ string type ${we}`);var $t=yt(Rt),Ri=q1(4+$t+X);return(se(),ke)[Ri>>>2>>>0]=$t/X,Ke(Rt,Ri+4,$t+X),gt!==null&>.push(rh,Ri),Ri},readValueFromPointer:Vl,destructorFunction(gt){rh(gt)}})}function a4(k,X,we,xe,Ke,yt){k>>>=0,X>>>=0,we>>>=0,xe>>>=0,Ke>>>=0,yt>>>=0,Ia[k]={name:yo(X),rawConstructor:to(we,xe),rawDestructor:to(Ke,yt),elements:[]}}function xE(k,X,we,xe,Ke,yt,gt,Rt,$t){k>>>=0,X>>>=0,we>>>=0,xe>>>=0,Ke>>>=0,yt>>>=0,gt>>>=0,Rt>>>=0,$t>>>=0,Ia[k].elements.push({getterReturnType:X,getter:to(we,xe),getterContext:Ke,setterArgumentType:yt,setter:to(gt,Rt),setterContext:$t})}function u4(k,X,we,xe,Ke,yt){k>>>=0,X>>>=0,we>>>=0,xe>>>=0,Ke>>>=0,yt>>>=0,Gc[k]={name:yo(X),rawConstructor:to(we,xe),rawDestructor:to(Ke,yt),fields:[]}}function c4(k,X,we,xe,Ke,yt,gt,Rt,$t,Ri){k>>>=0,X>>>=0,we>>>=0,xe>>>=0,Ke>>>=0,yt>>>=0,gt>>>=0,Rt>>>=0,$t>>>=0,Ri>>>=0,Gc[k].fields.push({fieldName:yo(X),getterReturnType:we,getter:to(xe,Ke),getterContext:yt,setterArgumentType:gt,setter:to(Rt,$t),setterContext:Ri})}var d4=function(k,X){k>>>=0,X>>>=0,X=yo(X),qt(k,{isVoid:!0,name:X,fromWireType:()=>{},toWireType:(we,xe)=>{}})};function h4(k){k>>>=0,lh(k,!h,1,!d,5242880,!1),Zi.threadInitTLS()}var K3=k=>{if(k instanceof He||k=="unwind")return oe;T(1,k)},f4=()=>{if(!bi())try{if(I){$1()&&ZE(oe);return}Ln(oe)}catch(k){K3(k)}},OE=k=>{if(!K)try{k(),f4()}catch(X){K3(X)}},p4=!Atomics.waitAsync||globalThis.navigator?.userAgent&&Number((navigator.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./)||[])[2])<91;function LE(k){if(k>>>=0,!p4){var X=Atomics.waitAsync((se(),$e),k>>>2,k);X.value.then(G1);var we=k+128;Atomics.store((se(),$e),we>>>2,1)}}var G1=()=>OE(()=>{var k=$1();k&&(LE(k),ag())});function I4(k,X){if(k>>>=0,X>>>=0,k==X)setTimeout(G1);else if(I)postMessage({targetThread:k,cmd:"checkMailbox"});else{var we=Zi.pthreads[k];if(!we)return;we.postMessage({cmd:"checkMailbox"})}}var PE=[];function m4(k,X,we,xe,Ke){X>>>=0,we>>>=0,Ke>>>=0,PE.length=0;for(var yt=Ke>>>3,gt=Ke+xe>>>3;yt<gt;){var Rt;(se(),Dt)[yt++>>>0]?Rt=(se(),Dt)[yt++>>>0]:Rt=(se(),ft)[yt++>>>0],PE.push(Rt)}var $t=og[k];Zi.currentProxiedOperationCallerThread=we;var Ri=$t(...PE);return Zi.currentProxiedOperationCallerThread=0,Ri}var y4=()=>{cn=!1,mi=0};function E4(k){k>>>=0,I?postMessage({cmd:"cleanupThread",thread:k}):Tt(k)}function T4(k){k>>>=0}var ME=[],g4=k=>{var X=ME.length;return ME.push(k),X},w4=(k,X)=>{var we=Ni[k];return we===void 0&&Es(`${X} has unknown type ${io(k)}`),we},mI=(k,X)=>{for(var we=new Array(k),xe=0;xe<k;++xe)we[xe]=w4((se(),ke)[X+xe*4>>>2>>>0],`parameter ${xe}`);return we},Q3=(k,X,we)=>{var xe=[],Ke=k(xe,we);return xe.length&&((se(),ke)[X>>>2>>>0]=An.toHandle(xe)),Ke},BE={},V1=k=>{var X=BE[k];return X===void 0?yo(k):X},v4=function(k,X,we){X>>>=0;var xe=8,[Ke,...yt]=mI(k,X),gt=Ke.toWireType.bind(Ke),Rt=yt.map(tn=>tn.readValueFromPointer.bind(tn));k--;var $t=new Array(k),Ri=(tn,qi,Yi,Kn)=>{for(var Fs=0,us=0;us<k;++us)$t[us]=Rt[us](Kn+Fs),Fs+=xe;var gs;switch(we){case 0:gs=An.toValue(tn).apply(null,$t);break;case 2:gs=Reflect.construct(An.toValue(tn),$t);break;case 3:gs=$t[0];break;case 1:gs=An.toValue(tn)[V1(qi)](...$t);break}return Q3(gt,Yi,gs)},Vi=`methodCaller<(${yt.map(tn=>tn.name)}) => ${Ke.name}>`;return g4(uo(Vi,Ri))};function R4(k){return k>>>=0,k?(k=V1(k),An.toHandle(globalThis[k])):An.toHandle(globalThis)}function S4(k,X){return k>>>=0,X>>>=0,k=An.toValue(k),X=An.toValue(X),An.toHandle(k[X])}function A4(k){k>>>=0,k>9&&(Cn[k+1]+=1)}function J3(k,X){return k>>>=0,X>>>=0,k=An.toValue(k),X=An.toValue(X),k instanceof X}function b4(k,X,we,xe,Ke){return k>>>=0,X>>>=0,we>>>=0,xe>>>=0,Ke>>>=0,ME[k](X,we,xe,Ke)}function N4(k){return k>>>=0,k=An.toValue(k),typeof k=="number"}function _4(k){return k>>>=0,k=An.toValue(k),typeof k=="string"}function D4(){return An.toHandle([])}function C4(k){return k>>>=0,An.toHandle(V1(k))}function x4(){return An.toHandle({})}function O4(k){k>>>=0;var X=An.toValue(k);Er(X),Wn(k)}function L4(k,X,we){k>>>=0,X>>>=0,we>>>=0,k=An.toValue(k),X=An.toValue(X),we=An.toValue(we),k[X]=we}function P4(k,X){k=Yn(k),X>>>=0;var we=new Date(k*1e3);(se(),$e)[X>>>2>>>0]=we.getUTCSeconds(),(se(),$e)[X+4>>>2>>>0]=we.getUTCMinutes(),(se(),$e)[X+8>>>2>>>0]=we.getUTCHours(),(se(),$e)[X+12>>>2>>>0]=we.getUTCDate(),(se(),$e)[X+16>>>2>>>0]=we.getUTCMonth(),(se(),$e)[X+20>>>2>>>0]=we.getUTCFullYear()-1900,(se(),$e)[X+24>>>2>>>0]=we.getUTCDay();var xe=Date.UTC(we.getUTCFullYear(),0,1,0,0,0,0),Ke=(we.getTime()-xe)/(1e3*60*60*24)|0;(se(),$e)[X+28>>>2>>>0]=Ke}var M4=k=>k%4===0&&(k%100!==0||k%400===0),FE=[0,31,60,91,121,152,182,213,244,274,305,335],B4=[0,31,59,90,120,151,181,212,243,273,304,334],um=k=>{var X=M4(k.getFullYear()),we=X?FE:B4,xe=we[k.getMonth()]+k.getDate()-1;return xe};function F4(k,X){k=Yn(k),X>>>=0;var we=new Date(k*1e3);(se(),$e)[X>>>2>>>0]=we.getSeconds(),(se(),$e)[X+4>>>2>>>0]=we.getMinutes(),(se(),$e)[X+8>>>2>>>0]=we.getHours(),(se(),$e)[X+12>>>2>>>0]=we.getDate(),(se(),$e)[X+16>>>2>>>0]=we.getMonth(),(se(),$e)[X+20>>>2>>>0]=we.getFullYear()-1900,(se(),$e)[X+24>>>2>>>0]=we.getDay();var xe=um(we)|0;(se(),$e)[X+28>>>2>>>0]=xe,(se(),$e)[X+36>>>2>>>0]=-(we.getTimezoneOffset()*60);var Ke=new Date(we.getFullYear(),0,1),yt=new Date(we.getFullYear(),6,1).getTimezoneOffset(),gt=Ke.getTimezoneOffset(),Rt=(yt!=gt&&we.getTimezoneOffset()==Math.min(gt,yt))|0;(se(),$e)[X+32>>>2>>>0]=Rt}var cm={},qs=()=>performance.timeOrigin+performance.now();function X3(k,X){if(I)return ki(2,0,1,k,X);if(cm[k]&&(clearTimeout(cm[k].id),delete cm[k]),!X)return 0;var we=setTimeout(()=>{delete cm[k],OE(()=>KE(k,qs()))},X);return cm[k]={id:we,timeout_ms:X},0}var UE=function(k,X,we,xe){k>>>=0,X>>>=0,we>>>=0,xe>>>=0;var Ke=new Date().getFullYear(),yt=new Date(Ke,0,1),gt=new Date(Ke,6,1),Rt=yt.getTimezoneOffset(),$t=gt.getTimezoneOffset(),Ri=Math.max(Rt,$t);(se(),ke)[k>>>2>>>0]=Ri*60,(se(),$e)[X>>>2>>>0]=+(Rt!=$t);var Vi=Yi=>{var Kn=Yi>=0?"-":"+",Fs=Math.abs(Yi),us=String(Math.floor(Fs/60)).padStart(2,"0"),gs=String(Fs%60).padStart(2,"0");return`UTC${Kn}${us}${gs}`},tn=Vi(Rt),qi=Vi($t);$t<Rt?(Ea(tn,we,17),Ea(qi,xe,17)):(Ea(tn,xe,17),Ea(qi,we,17))},yI=()=>Date.now(),HE=1,GE=k=>k>=0&&k<=3;function U4(k,X,we){if(X=Yn(X),we>>>=0,!GE(k))return 28;var xe;if(k===0)xe=yI();else if(HE)xe=qs();else return 52;var Ke=Math.round(xe*1e3*1e3);return(se(),Dt)[we>>>3>>>0]=BigInt(Ke),0}var oh=()=>{},eg=()=>{mi+=1},fs=()=>{throw eg(),"unwind"},H4=()=>4294901760,VE=(k,X)=>Math.ceil(k/X)*X,G4=k=>{var X=hn.buffer.byteLength,we=(k-X+65535)/65536|0;try{return hn.grow(we),Ut(),1}catch{}};function tg(k){k>>>=0;var X=(se(),Qe).length;if(k<=X)return!1;var we=H4();if(k>we)return!1;for(var xe=1;xe<=4;xe*=2){var Ke=X*(1+.2/xe);Ke=Math.min(Ke,k+100663296);var yt=Math.min(we,VE(Math.max(k,Ke),65536)),gt=G4(yt);if(gt)return!0}return!1}var kE={},V4=()=>y||"./this.program",dm=()=>{if(!dm.strings){var k=(globalThis.navigator?.language??"C").replace("-","_")+".UTF-8",X={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:k,_:V4()};for(var we in kE)kE[we]===void 0?delete X[we]:X[we]=kE[we];var xe=[];for(var we in X)xe.push(`${we}=${X[we]}`);dm.strings=xe}return dm.strings};function tf(k,X){if(I)return ki(3,0,1,k,X);k>>>=0,X>>>=0;var we=0,xe=0;for(var Ke of dm()){var yt=X+we;(se(),ke)[k+xe>>>2>>>0]=yt,we+=Ea(Ke,yt,1/0)+1,xe+=4}return 0}function EI(k,X){if(I)return ki(4,0,1,k,X);k>>>=0,X>>>=0;var we=dm();(se(),ke)[k>>>2>>>0]=we.length;var xe=0;for(var Ke of we)xe+=_E(Ke)+1;return(se(),ke)[X>>>2>>>0]=xe,0}var Ls={isAbs:k=>k.charAt(0)==="/",splitPath:k=>{var X=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/;return X.exec(k).slice(1)},normalizeArray:(k,X)=>{for(var we=0,xe=k.length-1;xe>=0;xe--){var Ke=k[xe];Ke==="."?k.splice(xe,1):Ke===".."?(k.splice(xe,1),we++):we&&(k.splice(xe,1),we--)}if(X)for(;we;we--)k.unshift("..");return k},normalize:k=>{var X=Ls.isAbs(k),we=k.slice(-1)==="/";return k=Ls.normalizeArray(k.split("/").filter(xe=>!!xe),!X).join("/"),!k&&!X&&(k="."),k&&we&&(k+="/"),(X?"/":"")+k},dirname:k=>{var X=Ls.splitPath(k),we=X[0],xe=X[1];return!we&&!xe?".":(xe&&(xe=xe.slice(0,-1)),we+xe)},basename:k=>k&&k.match(/([^\/]+|\/)\/*$/)[1],join:(...k)=>Ls.normalize(k.join("/")),join2:(k,X)=>Ls.normalize(k+"/"+X)},tp=()=>k=>k.set(crypto.getRandomValues(new Uint8Array(k.byteLength))),zE=k=>{(zE=tp())(k)},TI={resolve:(...k)=>{for(var X="",we=!1,xe=k.length-1;xe>=-1&&!we;xe--){var Ke=xe>=0?k[xe]:ot.cwd();if(typeof Ke!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!Ke)return"";X=Ke+"/"+X,we=Ls.isAbs(Ke)}return X=Ls.normalizeArray(X.split("/").filter(yt=>!!yt),!we).join("/"),(we?"/":"")+X||"."},relative:(k,X)=>{k=TI.resolve(k).slice(1),X=TI.resolve(X).slice(1);function we(Ri){for(var Vi=0;Vi<Ri.length&&Ri[Vi]==="";Vi++);for(var tn=Ri.length-1;tn>=0&&Ri[tn]==="";tn--);return Vi>tn?[]:Ri.slice(Vi,tn-Vi+1)}for(var xe=we(k.split("/")),Ke=we(X.split("/")),yt=Math.min(xe.length,Ke.length),gt=yt,Rt=0;Rt<yt;Rt++)if(xe[Rt]!==Ke[Rt]){gt=Rt;break}for(var $t=[],Rt=gt;Rt<xe.length;Rt++)$t.push("..");return $t=$t.concat(Ke.slice(gt)),$t.join("/")}},k1=[],WE=(k,X,we)=>{var xe=we>0?we:_E(k)+1,Ke=new Array(xe),yt=Ru(k,Ke,0,Ke.length);return X&&(Ke.length=yt),Ke},ig=()=>{if(!k1.length){var k=null;if(globalThis.window?.prompt&&(k=window.prompt("Input: "),k!==null&&(k+=`
|
||
`)),!k)return null;k1=WE(k,!0)}return k1.shift()},nf={ttys:[],init(){},shutdown(){},register(k,X){nf.ttys[k]={input:[],output:[],ops:X},ot.registerDevice(k,nf.stream_ops)},stream_ops:{open(k){var X=nf.ttys[k.node.rdev];if(!X)throw new ot.ErrnoError(43);k.tty=X,k.seekable=!1},close(k){k.tty.ops.fsync(k.tty)},fsync(k){k.tty.ops.fsync(k.tty)},read(k,X,we,xe,Ke){if(!k.tty||!k.tty.ops.get_char)throw new ot.ErrnoError(60);for(var yt=0,gt=0;gt<xe;gt++){var Rt;try{Rt=k.tty.ops.get_char(k.tty)}catch{throw new ot.ErrnoError(29)}if(Rt===void 0&&yt===0)throw new ot.ErrnoError(6);if(Rt==null)break;yt++,X[we+gt]=Rt}return yt&&(k.node.atime=Date.now()),yt},write(k,X,we,xe,Ke){if(!k.tty||!k.tty.ops.put_char)throw new ot.ErrnoError(60);try{for(var yt=0;yt<xe;yt++)k.tty.ops.put_char(k.tty,X[we+yt])}catch{throw new ot.ErrnoError(29)}return xe&&(k.node.mtime=k.node.ctime=Date.now()),yt}},default_tty_ops:{get_char(k){return ig()},put_char(k,X){X===null||X===10?(P(II(k.output)),k.output=[]):X!=0&&k.output.push(X)},fsync(k){k.output?.length>0&&(P(II(k.output)),k.output=[])},ioctl_tcgets(k){return{c_iflag:25856,c_oflag:5,c_cflag:191,c_lflag:35387,c_cc:[3,28,127,21,4,0,1,0,17,19,26,0,18,15,23,22,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]}},ioctl_tcsets(k,X,we){return 0},ioctl_tiocgwinsz(k){return[24,80]}},default_tty1_ops:{put_char(k,X){X===null||X===10?(U(II(k.output)),k.output=[]):X!=0&&k.output.push(X)},fsync(k){k.output?.length>0&&(U(II(k.output)),k.output=[])}}},st=k=>{jt()},jn={ops_table:null,mount(k){return jn.createNode(null,"/",16895,0)},createNode(k,X,we,xe){if(ot.isBlkdev(we)||ot.isFIFO(we))throw new ot.ErrnoError(63);jn.ops_table||={dir:{node:{getattr:jn.node_ops.getattr,setattr:jn.node_ops.setattr,lookup:jn.node_ops.lookup,mknod:jn.node_ops.mknod,rename:jn.node_ops.rename,unlink:jn.node_ops.unlink,rmdir:jn.node_ops.rmdir,readdir:jn.node_ops.readdir,symlink:jn.node_ops.symlink},stream:{llseek:jn.stream_ops.llseek}},file:{node:{getattr:jn.node_ops.getattr,setattr:jn.node_ops.setattr},stream:{llseek:jn.stream_ops.llseek,read:jn.stream_ops.read,write:jn.stream_ops.write,mmap:jn.stream_ops.mmap,msync:jn.stream_ops.msync}},link:{node:{getattr:jn.node_ops.getattr,setattr:jn.node_ops.setattr,readlink:jn.node_ops.readlink},stream:{}},chrdev:{node:{getattr:jn.node_ops.getattr,setattr:jn.node_ops.setattr},stream:ot.chrdev_stream_ops}};var Ke=ot.createNode(k,X,we,xe);return ot.isDir(Ke.mode)?(Ke.node_ops=jn.ops_table.dir.node,Ke.stream_ops=jn.ops_table.dir.stream,Ke.contents={}):ot.isFile(Ke.mode)?(Ke.node_ops=jn.ops_table.file.node,Ke.stream_ops=jn.ops_table.file.stream,Ke.usedBytes=0,Ke.contents=null):ot.isLink(Ke.mode)?(Ke.node_ops=jn.ops_table.link.node,Ke.stream_ops=jn.ops_table.link.stream):ot.isChrdev(Ke.mode)&&(Ke.node_ops=jn.ops_table.chrdev.node,Ke.stream_ops=jn.ops_table.chrdev.stream),Ke.atime=Ke.mtime=Ke.ctime=Date.now(),k&&(k.contents[X]=Ke,k.atime=k.mtime=k.ctime=Ke.atime),Ke},getFileDataAsTypedArray(k){return k.contents?k.contents.subarray?k.contents.subarray(0,k.usedBytes):new Uint8Array(k.contents):new Uint8Array(0)},expandFileStorage(k,X){var we=k.contents?k.contents.length:0;if(!(we>=X)){var xe=1024*1024;X=Math.max(X,we*(we<xe?2:1.125)>>>0),we!=0&&(X=Math.max(X,256));var Ke=k.contents;k.contents=new Uint8Array(X),k.usedBytes>0&&k.contents.set(Ke.subarray(0,k.usedBytes),0)}},resizeFileStorage(k,X){if(k.usedBytes!=X)if(X==0)k.contents=null,k.usedBytes=0;else{var we=k.contents;k.contents=new Uint8Array(X),we&&k.contents.set(we.subarray(0,Math.min(X,k.usedBytes))),k.usedBytes=X}},node_ops:{getattr(k){var X={};return X.dev=ot.isChrdev(k.mode)?k.id:1,X.ino=k.id,X.mode=k.mode,X.nlink=1,X.uid=0,X.gid=0,X.rdev=k.rdev,ot.isDir(k.mode)?X.size=4096:ot.isFile(k.mode)?X.size=k.usedBytes:ot.isLink(k.mode)?X.size=k.link.length:X.size=0,X.atime=new Date(k.atime),X.mtime=new Date(k.mtime),X.ctime=new Date(k.ctime),X.blksize=4096,X.blocks=Math.ceil(X.size/X.blksize),X},setattr(k,X){for(let we of["mode","atime","mtime","ctime"])X[we]!=null&&(k[we]=X[we]);X.size!==void 0&&jn.resizeFileStorage(k,X.size)},lookup(k,X){throw jn.doesNotExistError||(jn.doesNotExistError=new ot.ErrnoError(44),jn.doesNotExistError.stack="<generic error, no stack>"),jn.doesNotExistError},mknod(k,X,we,xe){return jn.createNode(k,X,we,xe)},rename(k,X,we){var xe;try{xe=ot.lookupNode(X,we)}catch{}if(xe){if(ot.isDir(k.mode))for(var Ke in xe.contents)throw new ot.ErrnoError(55);ot.hashRemoveNode(xe)}delete k.parent.contents[k.name],X.contents[we]=k,k.name=we,X.ctime=X.mtime=k.parent.ctime=k.parent.mtime=Date.now()},unlink(k,X){delete k.contents[X],k.ctime=k.mtime=Date.now()},rmdir(k,X){var we=ot.lookupNode(k,X);for(var xe in we.contents)throw new ot.ErrnoError(55);delete k.contents[X],k.ctime=k.mtime=Date.now()},readdir(k){return[".","..",...Object.keys(k.contents)]},symlink(k,X,we){var xe=jn.createNode(k,X,41471,0);return xe.link=we,xe},readlink(k){if(!ot.isLink(k.mode))throw new ot.ErrnoError(28);return k.link}},stream_ops:{read(k,X,we,xe,Ke){var yt=k.node.contents;if(Ke>=k.node.usedBytes)return 0;var gt=Math.min(k.node.usedBytes-Ke,xe);if(gt>8&&yt.subarray)X.set(yt.subarray(Ke,Ke+gt),we);else for(var Rt=0;Rt<gt;Rt++)X[we+Rt]=yt[Ke+Rt];return gt},write(k,X,we,xe,Ke,yt){if(X.buffer===(se(),Ce).buffer&&(yt=!1),!xe)return 0;var gt=k.node;if(gt.mtime=gt.ctime=Date.now(),X.subarray&&(!gt.contents||gt.contents.subarray)){if(yt)return gt.contents=X.subarray(we,we+xe),gt.usedBytes=xe,xe;if(gt.usedBytes===0&&Ke===0)return gt.contents=X.slice(we,we+xe),gt.usedBytes=xe,xe;if(Ke+xe<=gt.usedBytes)return gt.contents.set(X.subarray(we,we+xe),Ke),xe}if(jn.expandFileStorage(gt,Ke+xe),gt.contents.subarray&&X.subarray)gt.contents.set(X.subarray(we,we+xe),Ke);else for(var Rt=0;Rt<xe;Rt++)gt.contents[Ke+Rt]=X[we+Rt];return gt.usedBytes=Math.max(gt.usedBytes,Ke+xe),xe},llseek(k,X,we){var xe=X;if(we===1?xe+=k.position:we===2&&ot.isFile(k.node.mode)&&(xe+=k.node.usedBytes),xe<0)throw new ot.ErrnoError(28);return xe},mmap(k,X,we,xe,Ke){if(!ot.isFile(k.node.mode))throw new ot.ErrnoError(43);var yt,gt,Rt=k.node.contents;if(!(Ke&2)&&Rt&&Rt.buffer===(se(),Ce).buffer)gt=!1,yt=Rt.byteOffset;else{if(gt=!0,yt=st(X),!yt)throw new ot.ErrnoError(48);Rt&&((we>0||we+X<Rt.length)&&(Rt.subarray?Rt=Rt.subarray(we,we+X):Rt=Array.prototype.slice.call(Rt,we,we+X)),(se(),Ce).set(Rt,yt>>>0))}return{ptr:yt,allocated:gt}},msync(k,X,we,xe,Ke){return jn.stream_ops.write(k,X,0,xe,we,!1),0}}},k4=k=>{var X={r:0,"r+":2,w:577,"w+":578,a:1089,"a+":1090},we=X[k];if(typeof we>"u")throw new Error(`Unknown file open mode: ${k}`);return we},YE=(k,X)=>{var we=0;return k&&(we|=365),X&&(we|=146),we},z4=async k=>{var X=await A(k);return new Uint8Array(X)},W4=(...k)=>ot.createDataFile(...k),Y4=k=>k,ng=[],j4=async(k,X)=>{typeof Browser<"u"&&Browser.init();for(var we of ng)if(we.canHandle(X))return we.handle(k,X);return k},sg=async(k,X,we,xe,Ke,yt,gt,Rt)=>{var $t=X?TI.resolve(Ls.join2(k,X)):k,Ri=Y4(`cp ${$t}`);si(Ri);try{var Vi=we;typeof we=="string"&&(Vi=await z4(we)),Vi=await j4(Vi,$t),Rt?.(),yt||W4(k,X,Vi,xe,Ke,gt)}finally{Mt(Ri)}},q4=(k,X,we,xe,Ke,yt,gt,Rt,$t,Ri)=>{sg(k,X,we,xe,Ke,Rt,$t,Ri).then(yt).catch(gt)},ot={root:null,mounts:[],devices:{},streams:[],nextInode:1,nameTable:null,currentPath:"/",initialized:!1,ignorePermissions:!0,filesystems:null,syncFSRequests:0,readFiles:{},ErrnoError:class{name="ErrnoError";constructor(k){this.errno=k}},FSStream:class{shared={};get object(){return this.node}set object(k){this.node=k}get isRead(){return(this.flags&2097155)!==1}get isWrite(){return(this.flags&2097155)!==0}get isAppend(){return this.flags&1024}get flags(){return this.shared.flags}set flags(k){this.shared.flags=k}get position(){return this.shared.position}set position(k){this.shared.position=k}},FSNode:class{node_ops={};stream_ops={};readMode=365;writeMode=146;mounted=null;constructor(k,X,we,xe){k||(k=this),this.parent=k,this.mount=k.mount,this.id=ot.nextInode++,this.name=X,this.mode=we,this.rdev=xe,this.atime=this.mtime=this.ctime=Date.now()}get read(){return(this.mode&this.readMode)===this.readMode}set read(k){k?this.mode|=this.readMode:this.mode&=~this.readMode}get write(){return(this.mode&this.writeMode)===this.writeMode}set write(k){k?this.mode|=this.writeMode:this.mode&=~this.writeMode}get isFolder(){return ot.isDir(this.mode)}get isDevice(){return ot.isChrdev(this.mode)}},lookupPath(k,X={}){if(!k)throw new ot.ErrnoError(44);X.follow_mount??=!0,Ls.isAbs(k)||(k=ot.cwd()+"/"+k);e:for(var we=0;we<40;we++){for(var xe=k.split("/").filter(Ri=>!!Ri),Ke=ot.root,yt="/",gt=0;gt<xe.length;gt++){var Rt=gt===xe.length-1;if(Rt&&X.parent)break;if(xe[gt]!=="."){if(xe[gt]===".."){if(yt=Ls.dirname(yt),ot.isRoot(Ke)){k=yt+"/"+xe.slice(gt+1).join("/"),we--;continue e}else Ke=Ke.parent;continue}yt=Ls.join2(yt,xe[gt]);try{Ke=ot.lookupNode(Ke,xe[gt])}catch(Ri){if(Ri?.errno===44&&Rt&&X.noent_okay)return{path:yt};throw Ri}if(ot.isMountpoint(Ke)&&(!Rt||X.follow_mount)&&(Ke=Ke.mounted.root),ot.isLink(Ke.mode)&&(!Rt||X.follow)){if(!Ke.node_ops.readlink)throw new ot.ErrnoError(52);var $t=Ke.node_ops.readlink(Ke);Ls.isAbs($t)||($t=Ls.dirname(yt)+"/"+$t),k=$t+"/"+xe.slice(gt+1).join("/");continue e}}}return{path:yt,node:Ke}}throw new ot.ErrnoError(32)},getPath(k){for(var X;;){if(ot.isRoot(k)){var we=k.mount.mountpoint;return X?we[we.length-1]!=="/"?`${we}/${X}`:we+X:we}X=X?`${k.name}/${X}`:k.name,k=k.parent}},hashName(k,X){for(var we=0,xe=0;xe<X.length;xe++)we=(we<<5)-we+X.charCodeAt(xe)|0;return(k+we>>>0)%ot.nameTable.length},hashAddNode(k){var X=ot.hashName(k.parent.id,k.name);k.name_next=ot.nameTable[X],ot.nameTable[X]=k},hashRemoveNode(k){var X=ot.hashName(k.parent.id,k.name);if(ot.nameTable[X]===k)ot.nameTable[X]=k.name_next;else for(var we=ot.nameTable[X];we;){if(we.name_next===k){we.name_next=k.name_next;break}we=we.name_next}},lookupNode(k,X){var we=ot.mayLookup(k);if(we)throw new ot.ErrnoError(we);for(var xe=ot.hashName(k.id,X),Ke=ot.nameTable[xe];Ke;Ke=Ke.name_next){var yt=Ke.name;if(Ke.parent.id===k.id&&yt===X)return Ke}return ot.lookup(k,X)},createNode(k,X,we,xe){var Ke=new ot.FSNode(k,X,we,xe);return ot.hashAddNode(Ke),Ke},destroyNode(k){ot.hashRemoveNode(k)},isRoot(k){return k===k.parent},isMountpoint(k){return!!k.mounted},isFile(k){return(k&61440)===32768},isDir(k){return(k&61440)===16384},isLink(k){return(k&61440)===40960},isChrdev(k){return(k&61440)===8192},isBlkdev(k){return(k&61440)===24576},isFIFO(k){return(k&61440)===4096},isSocket(k){return(k&49152)===49152},flagsToPermissionString(k){var X=["r","w","rw"][k&3];return k&512&&(X+="w"),X},nodePermissions(k,X){return ot.ignorePermissions?0:X.includes("r")&&!(k.mode&292)||X.includes("w")&&!(k.mode&146)||X.includes("x")&&!(k.mode&73)?2:0},mayLookup(k){if(!ot.isDir(k.mode))return 54;var X=ot.nodePermissions(k,"x");return X||(k.node_ops.lookup?0:2)},mayCreate(k,X){if(!ot.isDir(k.mode))return 54;try{var we=ot.lookupNode(k,X);return 20}catch{}return ot.nodePermissions(k,"wx")},mayDelete(k,X,we){var xe;try{xe=ot.lookupNode(k,X)}catch(yt){return yt.errno}var Ke=ot.nodePermissions(k,"wx");if(Ke)return Ke;if(we){if(!ot.isDir(xe.mode))return 54;if(ot.isRoot(xe)||ot.getPath(xe)===ot.cwd())return 10}else if(ot.isDir(xe.mode))return 31;return 0},mayOpen(k,X){return k?ot.isLink(k.mode)?32:ot.isDir(k.mode)&&(ot.flagsToPermissionString(X)!=="r"||X&576)?31:ot.nodePermissions(k,ot.flagsToPermissionString(X)):44},checkOpExists(k,X){if(!k)throw new ot.ErrnoError(X);return k},MAX_OPEN_FDS:4096,nextfd(){for(var k=0;k<=ot.MAX_OPEN_FDS;k++)if(!ot.streams[k])return k;throw new ot.ErrnoError(33)},getStreamChecked(k){var X=ot.getStream(k);if(!X)throw new ot.ErrnoError(8);return X},getStream:k=>ot.streams[k],createStream(k,X=-1){return k=Object.assign(new ot.FSStream,k),X==-1&&(X=ot.nextfd()),k.fd=X,ot.streams[X]=k,k},closeStream(k){ot.streams[k]=null},dupStream(k,X=-1){var we=ot.createStream(k,X);return we.stream_ops?.dup?.(we),we},doSetAttr(k,X,we){var xe=k?.stream_ops.setattr,Ke=xe?k:X;xe??=X.node_ops.setattr,ot.checkOpExists(xe,63),xe(Ke,we)},chrdev_stream_ops:{open(k){var X=ot.getDevice(k.node.rdev);k.stream_ops=X.stream_ops,k.stream_ops.open?.(k)},llseek(){throw new ot.ErrnoError(70)}},major:k=>k>>8,minor:k=>k&255,makedev:(k,X)=>k<<8|X,registerDevice(k,X){ot.devices[k]={stream_ops:X}},getDevice:k=>ot.devices[k],getMounts(k){for(var X=[],we=[k];we.length;){var xe=we.pop();X.push(xe),we.push(...xe.mounts)}return X},syncfs(k,X){typeof k=="function"&&(X=k,k=!1),ot.syncFSRequests++,ot.syncFSRequests>1&&U(`warning: ${ot.syncFSRequests} FS.syncfs operations in flight at once, probably just doing extra work`);var we=ot.getMounts(ot.root.mount),xe=0;function Ke(Rt){return ot.syncFSRequests--,X(Rt)}function yt(Rt){if(Rt)return yt.errored?void 0:(yt.errored=!0,Ke(Rt));++xe>=we.length&&Ke(null)}for(var gt of we)gt.type.syncfs?gt.type.syncfs(gt,k,yt):yt(null)},mount(k,X,we){var xe=we==="/",Ke=!we,yt;if(xe&&ot.root)throw new ot.ErrnoError(10);if(!xe&&!Ke){var gt=ot.lookupPath(we,{follow_mount:!1});if(we=gt.path,yt=gt.node,ot.isMountpoint(yt))throw new ot.ErrnoError(10);if(!ot.isDir(yt.mode))throw new ot.ErrnoError(54)}var Rt={type:k,opts:X,mountpoint:we,mounts:[]},$t=k.mount(Rt);return $t.mount=Rt,Rt.root=$t,xe?ot.root=$t:yt&&(yt.mounted=Rt,yt.mount&&yt.mount.mounts.push(Rt)),$t},unmount(k){var X=ot.lookupPath(k,{follow_mount:!1});if(!ot.isMountpoint(X.node))throw new ot.ErrnoError(28);var we=X.node,xe=we.mounted,Ke=ot.getMounts(xe);for(var[yt,gt]of Object.entries(ot.nameTable))for(;gt;){var Rt=gt.name_next;Ke.includes(gt.mount)&&ot.destroyNode(gt),gt=Rt}we.mounted=null;var $t=we.mount.mounts.indexOf(xe);we.mount.mounts.splice($t,1)},lookup(k,X){return k.node_ops.lookup(k,X)},mknod(k,X,we){var xe=ot.lookupPath(k,{parent:!0}),Ke=xe.node,yt=Ls.basename(k);if(!yt)throw new ot.ErrnoError(28);if(yt==="."||yt==="..")throw new ot.ErrnoError(20);var gt=ot.mayCreate(Ke,yt);if(gt)throw new ot.ErrnoError(gt);if(!Ke.node_ops.mknod)throw new ot.ErrnoError(63);return Ke.node_ops.mknod(Ke,yt,X,we)},statfs(k){return ot.statfsNode(ot.lookupPath(k,{follow:!0}).node)},statfsStream(k){return ot.statfsNode(k.node)},statfsNode(k){var X={bsize:4096,frsize:4096,blocks:1e6,bfree:5e5,bavail:5e5,files:ot.nextInode,ffree:ot.nextInode-1,fsid:42,flags:2,namelen:255};return k.node_ops.statfs&&Object.assign(X,k.node_ops.statfs(k.mount.opts.root)),X},create(k,X=438){return X&=4095,X|=32768,ot.mknod(k,X,0)},mkdir(k,X=511){return X&=1023,X|=16384,ot.mknod(k,X,0)},mkdirTree(k,X){var we=k.split("/"),xe="";for(var Ke of we)if(Ke){(xe||Ls.isAbs(k))&&(xe+="/"),xe+=Ke;try{ot.mkdir(xe,X)}catch(yt){if(yt.errno!=20)throw yt}}},mkdev(k,X,we){return typeof we>"u"&&(we=X,X=438),X|=8192,ot.mknod(k,X,we)},symlink(k,X){if(!TI.resolve(k))throw new ot.ErrnoError(44);var we=ot.lookupPath(X,{parent:!0}),xe=we.node;if(!xe)throw new ot.ErrnoError(44);var Ke=Ls.basename(X),yt=ot.mayCreate(xe,Ke);if(yt)throw new ot.ErrnoError(yt);if(!xe.node_ops.symlink)throw new ot.ErrnoError(63);return xe.node_ops.symlink(xe,Ke,k)},rename(k,X){var we=Ls.dirname(k),xe=Ls.dirname(X),Ke=Ls.basename(k),yt=Ls.basename(X),gt,Rt,$t;if(gt=ot.lookupPath(k,{parent:!0}),Rt=gt.node,gt=ot.lookupPath(X,{parent:!0}),$t=gt.node,!Rt||!$t)throw new ot.ErrnoError(44);if(Rt.mount!==$t.mount)throw new ot.ErrnoError(75);var Ri=ot.lookupNode(Rt,Ke),Vi=TI.relative(k,xe);if(Vi.charAt(0)!==".")throw new ot.ErrnoError(28);if(Vi=TI.relative(X,we),Vi.charAt(0)!==".")throw new ot.ErrnoError(55);var tn;try{tn=ot.lookupNode($t,yt)}catch{}if(Ri!==tn){var qi=ot.isDir(Ri.mode),Yi=ot.mayDelete(Rt,Ke,qi);if(Yi)throw new ot.ErrnoError(Yi);if(Yi=tn?ot.mayDelete($t,yt,qi):ot.mayCreate($t,yt),Yi)throw new ot.ErrnoError(Yi);if(!Rt.node_ops.rename)throw new ot.ErrnoError(63);if(ot.isMountpoint(Ri)||tn&&ot.isMountpoint(tn))throw new ot.ErrnoError(10);if($t!==Rt&&(Yi=ot.nodePermissions(Rt,"w"),Yi))throw new ot.ErrnoError(Yi);ot.hashRemoveNode(Ri);try{Rt.node_ops.rename(Ri,$t,yt),Ri.parent=$t}catch(Kn){throw Kn}finally{ot.hashAddNode(Ri)}}},rmdir(k){var X=ot.lookupPath(k,{parent:!0}),we=X.node,xe=Ls.basename(k),Ke=ot.lookupNode(we,xe),yt=ot.mayDelete(we,xe,!0);if(yt)throw new ot.ErrnoError(yt);if(!we.node_ops.rmdir)throw new ot.ErrnoError(63);if(ot.isMountpoint(Ke))throw new ot.ErrnoError(10);we.node_ops.rmdir(we,xe),ot.destroyNode(Ke)},readdir(k){var X=ot.lookupPath(k,{follow:!0}),we=X.node,xe=ot.checkOpExists(we.node_ops.readdir,54);return xe(we)},unlink(k){var X=ot.lookupPath(k,{parent:!0}),we=X.node;if(!we)throw new ot.ErrnoError(44);var xe=Ls.basename(k),Ke=ot.lookupNode(we,xe),yt=ot.mayDelete(we,xe,!1);if(yt)throw new ot.ErrnoError(yt);if(!we.node_ops.unlink)throw new ot.ErrnoError(63);if(ot.isMountpoint(Ke))throw new ot.ErrnoError(10);we.node_ops.unlink(we,xe),ot.destroyNode(Ke)},readlink(k){var X=ot.lookupPath(k),we=X.node;if(!we)throw new ot.ErrnoError(44);if(!we.node_ops.readlink)throw new ot.ErrnoError(28);return we.node_ops.readlink(we)},stat(k,X){var we=ot.lookupPath(k,{follow:!X}),xe=we.node,Ke=ot.checkOpExists(xe.node_ops.getattr,63);return Ke(xe)},fstat(k){var X=ot.getStreamChecked(k),we=X.node,xe=X.stream_ops.getattr,Ke=xe?X:we;return xe??=we.node_ops.getattr,ot.checkOpExists(xe,63),xe(Ke)},lstat(k){return ot.stat(k,!0)},doChmod(k,X,we,xe){ot.doSetAttr(k,X,{mode:we&4095|X.mode&-4096,ctime:Date.now(),dontFollow:xe})},chmod(k,X,we){var xe;if(typeof k=="string"){var Ke=ot.lookupPath(k,{follow:!we});xe=Ke.node}else xe=k;ot.doChmod(null,xe,X,we)},lchmod(k,X){ot.chmod(k,X,!0)},fchmod(k,X){var we=ot.getStreamChecked(k);ot.doChmod(we,we.node,X,!1)},doChown(k,X,we){ot.doSetAttr(k,X,{timestamp:Date.now(),dontFollow:we})},chown(k,X,we,xe){var Ke;if(typeof k=="string"){var yt=ot.lookupPath(k,{follow:!xe});Ke=yt.node}else Ke=k;ot.doChown(null,Ke,xe)},lchown(k,X,we){ot.chown(k,X,we,!0)},fchown(k,X,we){var xe=ot.getStreamChecked(k);ot.doChown(xe,xe.node,!1)},doTruncate(k,X,we){if(ot.isDir(X.mode))throw new ot.ErrnoError(31);if(!ot.isFile(X.mode))throw new ot.ErrnoError(28);var xe=ot.nodePermissions(X,"w");if(xe)throw new ot.ErrnoError(xe);ot.doSetAttr(k,X,{size:we,timestamp:Date.now()})},truncate(k,X){if(X<0)throw new ot.ErrnoError(28);var we;if(typeof k=="string"){var xe=ot.lookupPath(k,{follow:!0});we=xe.node}else we=k;ot.doTruncate(null,we,X)},ftruncate(k,X){var we=ot.getStreamChecked(k);if(X<0||(we.flags&2097155)===0)throw new ot.ErrnoError(28);ot.doTruncate(we,we.node,X)},utime(k,X,we){var xe=ot.lookupPath(k,{follow:!0}),Ke=xe.node,yt=ot.checkOpExists(Ke.node_ops.setattr,63);yt(Ke,{atime:X,mtime:we})},open(k,X,we=438){if(k==="")throw new ot.ErrnoError(44);X=typeof X=="string"?k4(X):X,X&64?we=we&4095|32768:we=0;var xe,Ke;if(typeof k=="object")xe=k;else{Ke=k.endsWith("/");var yt=ot.lookupPath(k,{follow:!(X&131072),noent_okay:!0});xe=yt.node,k=yt.path}var gt=!1;if(X&64)if(xe){if(X&128)throw new ot.ErrnoError(20)}else{if(Ke)throw new ot.ErrnoError(31);xe=ot.mknod(k,we|511,0),gt=!0}if(!xe)throw new ot.ErrnoError(44);if(ot.isChrdev(xe.mode)&&(X&=-513),X&65536&&!ot.isDir(xe.mode))throw new ot.ErrnoError(54);if(!gt){var Rt=ot.mayOpen(xe,X);if(Rt)throw new ot.ErrnoError(Rt)}X&512&&!gt&&ot.truncate(xe,0),X&=-131713;var $t=ot.createStream({node:xe,path:ot.getPath(xe),flags:X,seekable:!0,position:0,stream_ops:xe.stream_ops,ungotten:[],error:!1});return $t.stream_ops.open&&$t.stream_ops.open($t),gt&&ot.chmod(xe,we&511),l.logReadFiles&&!(X&1)&&(k in ot.readFiles||(ot.readFiles[k]=1)),$t},close(k){if(ot.isClosed(k))throw new ot.ErrnoError(8);k.getdents&&(k.getdents=null);try{k.stream_ops.close&&k.stream_ops.close(k)}catch(X){throw X}finally{ot.closeStream(k.fd)}k.fd=null},isClosed(k){return k.fd===null},llseek(k,X,we){if(ot.isClosed(k))throw new ot.ErrnoError(8);if(!k.seekable||!k.stream_ops.llseek)throw new ot.ErrnoError(70);if(we!=0&&we!=1&&we!=2)throw new ot.ErrnoError(28);return k.position=k.stream_ops.llseek(k,X,we),k.ungotten=[],k.position},read(k,X,we,xe,Ke){if(xe<0||Ke<0)throw new ot.ErrnoError(28);if(ot.isClosed(k))throw new ot.ErrnoError(8);if((k.flags&2097155)===1)throw new ot.ErrnoError(8);if(ot.isDir(k.node.mode))throw new ot.ErrnoError(31);if(!k.stream_ops.read)throw new ot.ErrnoError(28);var yt=typeof Ke<"u";if(!yt)Ke=k.position;else if(!k.seekable)throw new ot.ErrnoError(70);var gt=k.stream_ops.read(k,X,we,xe,Ke);return yt||(k.position+=gt),gt},write(k,X,we,xe,Ke,yt){if(xe<0||Ke<0)throw new ot.ErrnoError(28);if(ot.isClosed(k))throw new ot.ErrnoError(8);if((k.flags&2097155)===0)throw new ot.ErrnoError(8);if(ot.isDir(k.node.mode))throw new ot.ErrnoError(31);if(!k.stream_ops.write)throw new ot.ErrnoError(28);k.seekable&&k.flags&1024&&ot.llseek(k,0,2);var gt=typeof Ke<"u";if(!gt)Ke=k.position;else if(!k.seekable)throw new ot.ErrnoError(70);var Rt=k.stream_ops.write(k,X,we,xe,Ke,yt);return gt||(k.position+=Rt),Rt},mmap(k,X,we,xe,Ke){if((xe&2)!==0&&(Ke&2)===0&&(k.flags&2097155)!==2)throw new ot.ErrnoError(2);if((k.flags&2097155)===1)throw new ot.ErrnoError(2);if(!k.stream_ops.mmap)throw new ot.ErrnoError(43);if(!X)throw new ot.ErrnoError(28);return k.stream_ops.mmap(k,X,we,xe,Ke)},msync(k,X,we,xe,Ke){return k.stream_ops.msync?k.stream_ops.msync(k,X,we,xe,Ke):0},ioctl(k,X,we){if(!k.stream_ops.ioctl)throw new ot.ErrnoError(59);return k.stream_ops.ioctl(k,X,we)},readFile(k,X={}){X.flags=X.flags||0,X.encoding=X.encoding||"binary",X.encoding!=="utf8"&&X.encoding!=="binary"&&jt(`Invalid encoding type "${X.encoding}"`);var we=ot.open(k,X.flags),xe=ot.stat(k),Ke=xe.size,yt=new Uint8Array(Ke);return ot.read(we,yt,0,Ke,0),X.encoding==="utf8"&&(yt=II(yt)),ot.close(we),yt},writeFile(k,X,we={}){we.flags=we.flags||577;var xe=ot.open(k,we.flags,we.mode);typeof X=="string"&&(X=new Uint8Array(WE(X,!0))),ArrayBuffer.isView(X)?ot.write(xe,X,0,X.byteLength,void 0,we.canOwn):jt("Unsupported data type"),ot.close(xe)},cwd:()=>ot.currentPath,chdir(k){var X=ot.lookupPath(k,{follow:!0});if(X.node===null)throw new ot.ErrnoError(44);if(!ot.isDir(X.node.mode))throw new ot.ErrnoError(54);var we=ot.nodePermissions(X.node,"x");if(we)throw new ot.ErrnoError(we);ot.currentPath=X.path},createDefaultDirectories(){ot.mkdir("/tmp"),ot.mkdir("/home"),ot.mkdir("/home/web_user")},createDefaultDevices(){ot.mkdir("/dev"),ot.registerDevice(ot.makedev(1,3),{read:()=>0,write:(xe,Ke,yt,gt,Rt)=>gt,llseek:()=>0}),ot.mkdev("/dev/null",ot.makedev(1,3)),nf.register(ot.makedev(5,0),nf.default_tty_ops),nf.register(ot.makedev(6,0),nf.default_tty1_ops),ot.mkdev("/dev/tty",ot.makedev(5,0)),ot.mkdev("/dev/tty1",ot.makedev(6,0));var k=new Uint8Array(1024),X=0,we=()=>(X===0&&(zE(k),X=k.byteLength),k[--X]);ot.createDevice("/dev","random",we),ot.createDevice("/dev","urandom",we),ot.mkdir("/dev/shm"),ot.mkdir("/dev/shm/tmp")},createSpecialDirectories(){ot.mkdir("/proc");var k=ot.mkdir("/proc/self");ot.mkdir("/proc/self/fd"),ot.mount({mount(){var X=ot.createNode(k,"fd",16895,73);return X.stream_ops={llseek:jn.stream_ops.llseek},X.node_ops={lookup(we,xe){var Ke=+xe,yt=ot.getStreamChecked(Ke),gt={parent:null,mount:{mountpoint:"fake"},node_ops:{readlink:()=>yt.path},id:Ke+1};return gt.parent=gt,gt},readdir(){return Array.from(ot.streams.entries()).filter(([we,xe])=>xe).map(([we,xe])=>we.toString())}},X}},{},"/proc/self/fd")},createStandardStreams(k,X,we){k?ot.createDevice("/dev","stdin",k):ot.symlink("/dev/tty","/dev/stdin"),X?ot.createDevice("/dev","stdout",null,X):ot.symlink("/dev/tty","/dev/stdout"),we?ot.createDevice("/dev","stderr",null,we):ot.symlink("/dev/tty1","/dev/stderr");var xe=ot.open("/dev/stdin",0),Ke=ot.open("/dev/stdout",1),yt=ot.open("/dev/stderr",1)},staticInit(){ot.nameTable=new Array(4096),ot.mount(jn,{},"/"),ot.createDefaultDirectories(),ot.createDefaultDevices(),ot.createSpecialDirectories(),ot.filesystems={MEMFS:jn}},init(k,X,we){ot.initialized=!0,k??=l.stdin,X??=l.stdout,we??=l.stderr,ot.createStandardStreams(k,X,we)},quit(){ot.initialized=!1;for(var k of ot.streams)k&&ot.close(k)},findObject(k,X){var we=ot.analyzePath(k,X);return we.exists?we.object:null},analyzePath(k,X){try{var we=ot.lookupPath(k,{follow:!X});k=we.path}catch{}var xe={isRoot:!1,exists:!1,error:0,name:null,path:null,object:null,parentExists:!1,parentPath:null,parentObject:null};try{var we=ot.lookupPath(k,{parent:!0});xe.parentExists=!0,xe.parentPath=we.path,xe.parentObject=we.node,xe.name=Ls.basename(k),we=ot.lookupPath(k,{follow:!X}),xe.exists=!0,xe.path=we.path,xe.object=we.node,xe.name=we.node.name,xe.isRoot=we.path==="/"}catch(Ke){xe.error=Ke.errno}return xe},createPath(k,X,we,xe){k=typeof k=="string"?k:ot.getPath(k);for(var Ke=X.split("/").reverse();Ke.length;){var yt=Ke.pop();if(yt){var gt=Ls.join2(k,yt);try{ot.mkdir(gt)}catch(Rt){if(Rt.errno!=20)throw Rt}k=gt}}return gt},createFile(k,X,we,xe,Ke){var yt=Ls.join2(typeof k=="string"?k:ot.getPath(k),X),gt=YE(xe,Ke);return ot.create(yt,gt)},createDataFile(k,X,we,xe,Ke,yt){var gt=X;k&&(k=typeof k=="string"?k:ot.getPath(k),gt=X?Ls.join2(k,X):k);var Rt=YE(xe,Ke),$t=ot.create(gt,Rt);if(we){if(typeof we=="string"){for(var Ri=new Array(we.length),Vi=0,tn=we.length;Vi<tn;++Vi)Ri[Vi]=we.charCodeAt(Vi);we=Ri}ot.chmod($t,Rt|146);var qi=ot.open($t,577);ot.write(qi,we,0,we.length,0,yt),ot.close(qi),ot.chmod($t,Rt)}},createDevice(k,X,we,xe){var Ke=Ls.join2(typeof k=="string"?k:ot.getPath(k),X),yt=YE(!!we,!!xe);ot.createDevice.major??=64;var gt=ot.makedev(ot.createDevice.major++,0);return ot.registerDevice(gt,{open(Rt){Rt.seekable=!1},close(Rt){xe?.buffer?.length&&xe(10)},read(Rt,$t,Ri,Vi,tn){for(var qi=0,Yi=0;Yi<Vi;Yi++){var Kn;try{Kn=we()}catch{throw new ot.ErrnoError(29)}if(Kn===void 0&&qi===0)throw new ot.ErrnoError(6);if(Kn==null)break;qi++,$t[Ri+Yi]=Kn}return qi&&(Rt.node.atime=Date.now()),qi},write(Rt,$t,Ri,Vi,tn){for(var qi=0;qi<Vi;qi++)try{xe($t[Ri+qi])}catch{throw new ot.ErrnoError(29)}return Vi&&(Rt.node.mtime=Rt.node.ctime=Date.now()),qi}}),ot.mkdev(Ke,yt,gt)},forceLoadFile(k){if(k.isDevice||k.isFolder||k.link||k.contents)return!0;if(globalThis.XMLHttpRequest)jt("Lazy loading should have been performed (contents set) in createLazyFile, but it was not. Lazy loading only works in web workers. Use --embed-file or --preload-file in emcc on the main thread.");else try{k.contents=O(k.url)}catch{throw new ot.ErrnoError(29)}},createLazyFile(k,X,we,xe,Ke){class yt{lengthKnown=!1;chunks=[];get(qi){if(!(qi>this.length-1||qi<0)){var Yi=qi%this.chunkSize,Kn=qi/this.chunkSize|0;return this.getter(Kn)[Yi]}}setDataGetter(qi){this.getter=qi}cacheLength(){var qi=new XMLHttpRequest;qi.open("HEAD",we,!1),qi.send(null),qi.status>=200&&qi.status<300||qi.status===304||jt("Couldn't load "+we+". Status: "+qi.status);var Yi=Number(qi.getResponseHeader("Content-length")),Kn,Fs=(Kn=qi.getResponseHeader("Accept-Ranges"))&&Kn==="bytes",us=(Kn=qi.getResponseHeader("Content-Encoding"))&&Kn==="gzip",gs=1024*1024;Fs||(gs=Yi);var ir=(wc,Ba)=>{wc>Ba&&jt("invalid range ("+wc+", "+Ba+") or no bytes requested!"),Ba>Yi-1&&jt("only "+Yi+" bytes available! programmer error!");var ar=new XMLHttpRequest;return ar.open("GET",we,!1),Yi!==gs&&ar.setRequestHeader("Range","bytes="+wc+"-"+Ba),ar.responseType="arraybuffer",ar.overrideMimeType&&ar.overrideMimeType("text/plain; charset=x-user-defined"),ar.send(null),ar.status>=200&&ar.status<300||ar.status===304||jt("Couldn't load "+we+". Status: "+ar.status),ar.response!==void 0?new Uint8Array(ar.response||[]):WE(ar.responseText||"",!0)},zl=this;zl.setDataGetter(wc=>{var Ba=wc*gs,ar=(wc+1)*gs-1;return ar=Math.min(ar,Yi-1),typeof zl.chunks[wc]>"u"&&(zl.chunks[wc]=ir(Ba,ar)),typeof zl.chunks[wc]>"u"&&jt("doXHR failed!"),zl.chunks[wc]}),(us||!Yi)&&(gs=Yi=1,Yi=this.getter(0).length,gs=Yi,P("LazyFiles on gzip forces download of the whole file when length is accessed")),this._length=Yi,this._chunkSize=gs,this.lengthKnown=!0}get length(){return this.lengthKnown||this.cacheLength(),this._length}get chunkSize(){return this.lengthKnown||this.cacheLength(),this._chunkSize}}if(globalThis.XMLHttpRequest){h||jt("Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc");var gt=new yt,Rt={isDevice:!1,contents:gt}}else var Rt={isDevice:!1,url:we};var $t=ot.createFile(k,X,Rt,xe,Ke);Rt.contents?$t.contents=Rt.contents:Rt.url&&($t.contents=null,$t.url=Rt.url),Object.defineProperties($t,{usedBytes:{get:function(){return this.contents.length}}});var Ri={};for(let[tn,qi]of Object.entries($t.stream_ops))Ri[tn]=(...Yi)=>(ot.forceLoadFile($t),qi(...Yi));function Vi(tn,qi,Yi,Kn,Fs){var us=tn.node.contents;if(Fs>=us.length)return 0;var gs=Math.min(us.length-Fs,Kn);if(us.slice)for(var ir=0;ir<gs;ir++)qi[Yi+ir]=us[Fs+ir];else for(var ir=0;ir<gs;ir++)qi[Yi+ir]=us.get(Fs+ir);return gs}return Ri.read=(tn,qi,Yi,Kn,Fs)=>(ot.forceLoadFile($t),Vi(tn,qi,Yi,Kn,Fs)),Ri.mmap=(tn,qi,Yi,Kn,Fs)=>{ot.forceLoadFile($t);var us=st(qi);if(!us)throw new ot.ErrnoError(48);return Vi(tn,(se(),Ce),us,qi,Yi),{ptr:us,allocated:!0}},$t.stream_ops=Ri,$t}},gI={calculateAt(k,X,we){if(Ls.isAbs(X))return X;var xe;if(k===-100)xe=ot.cwd();else{var Ke=gI.getStreamFromFD(k);xe=Ke.path}if(X.length==0){if(!we)throw new ot.ErrnoError(44);return xe}return xe+"/"+X},writeStat(k,X){(se(),ke)[k>>>2>>>0]=X.dev,(se(),ke)[k+4>>>2>>>0]=X.mode,(se(),ke)[k+8>>>2>>>0]=X.nlink,(se(),ke)[k+12>>>2>>>0]=X.uid,(se(),ke)[k+16>>>2>>>0]=X.gid,(se(),ke)[k+20>>>2>>>0]=X.rdev,(se(),Dt)[k+24>>>3>>>0]=BigInt(X.size),(se(),$e)[k+32>>>2>>>0]=4096,(se(),$e)[k+36>>>2>>>0]=X.blocks;var we=X.atime.getTime(),xe=X.mtime.getTime(),Ke=X.ctime.getTime();return(se(),Dt)[k+40>>>3>>>0]=BigInt(Math.floor(we/1e3)),(se(),ke)[k+48>>>2>>>0]=we%1e3*1e3*1e3,(se(),Dt)[k+56>>>3>>>0]=BigInt(Math.floor(xe/1e3)),(se(),ke)[k+64>>>2>>>0]=xe%1e3*1e3*1e3,(se(),Dt)[k+72>>>3>>>0]=BigInt(Math.floor(Ke/1e3)),(se(),ke)[k+80>>>2>>>0]=Ke%1e3*1e3*1e3,(se(),Dt)[k+88>>>3>>>0]=BigInt(X.ino),0},writeStatFs(k,X){(se(),ke)[k+4>>>2>>>0]=X.bsize,(se(),ke)[k+60>>>2>>>0]=X.bsize,(se(),Dt)[k+8>>>3>>>0]=BigInt(X.blocks),(se(),Dt)[k+16>>>3>>>0]=BigInt(X.bfree),(se(),Dt)[k+24>>>3>>>0]=BigInt(X.bavail),(se(),Dt)[k+32>>>3>>>0]=BigInt(X.files),(se(),Dt)[k+40>>>3>>>0]=BigInt(X.ffree),(se(),ke)[k+48>>>2>>>0]=X.fsid,(se(),ke)[k+64>>>2>>>0]=X.flags,(se(),ke)[k+56>>>2>>>0]=X.namelen},doMsync(k,X,we,xe,Ke){if(!ot.isFile(X.node.mode))throw new ot.ErrnoError(43);if(xe&2)return 0;var yt=(se(),Qe).slice(k,k+we);ot.msync(X,yt,Ke,we,xe)},getStreamFromFD(k){var X=ot.getStreamChecked(k);return X},varargs:void 0,getStr(k){var X=$3(k);return X}};function jE(k){if(I)return ki(5,0,1,k);try{var X=gI.getStreamFromFD(k);return ot.close(X),0}catch(we){if(typeof ot>"u"||we.name!=="ErrnoError")throw we;return we.errno}}function C0(k,X){if(I)return ki(6,0,1,k,X);X>>>=0;try{var we=0,xe=0,Ke=0,yt=gI.getStreamFromFD(k),gt=yt.tty?2:ot.isDir(yt.mode)?3:ot.isLink(yt.mode)?7:4;return(se(),Ce)[X>>>0]=gt,(se(),qe)[X+2>>>1>>>0]=Ke,(se(),Dt)[X+8>>>3>>>0]=BigInt(we),(se(),Dt)[X+16>>>3>>>0]=BigInt(xe),0}catch(Rt){if(typeof ot>"u"||Rt.name!=="ErrnoError")throw Rt;return Rt.errno}}var qE=(k,X,we,xe)=>{for(var Ke=0,yt=0;yt<we;yt++){var gt=(se(),ke)[X>>>2>>>0],Rt=(se(),ke)[X+4>>>2>>>0];X+=8;var $t=ot.read(k,(se(),Ce),gt,Rt,xe);if($t<0)return-1;if(Ke+=$t,$t<Rt)break;typeof xe<"u"&&(xe+=$t)}return Ke};function z1(k,X,we,xe){if(I)return ki(7,0,1,k,X,we,xe);X>>>=0,we>>>=0,xe>>>=0;try{var Ke=gI.getStreamFromFD(k),yt=qE(Ke,X,we);return(se(),ke)[xe>>>2>>>0]=yt,0}catch(gt){if(typeof ot>"u"||gt.name!=="ErrnoError")throw gt;return gt.errno}}function W1(k,X,we,xe){if(I)return ki(8,0,1,k,X,we,xe);X=Yn(X),xe>>>=0;try{if(isNaN(X))return 61;var Ke=gI.getStreamFromFD(k);return ot.llseek(Ke,X,we),(se(),Dt)[xe>>>3>>>0]=BigInt(Ke.position),Ke.getdents&&X===0&&we===0&&(Ke.getdents=null),0}catch(yt){if(typeof ot>"u"||yt.name!=="ErrnoError")throw yt;return yt.errno}}var $4=(k,X,we,xe)=>{for(var Ke=0,yt=0;yt<we;yt++){var gt=(se(),ke)[X>>>2>>>0],Rt=(se(),ke)[X+4>>>2>>>0];X+=8;var $t=ot.write(k,(se(),Ce),gt,Rt,xe);if($t<0)return-1;if(Ke+=$t,$t<Rt)break;typeof xe<"u"&&(xe+=$t)}return Ke};function $E(k,X,we,xe){if(I)return ki(9,0,1,k,X,we,xe);X>>>=0,we>>>=0,xe>>>=0;try{var Ke=gI.getStreamFromFD(k),yt=$4(Ke,X,we);return(se(),ke)[xe>>>2>>>0]=yt,0}catch(gt){if(typeof ot>"u"||gt.name!=="ErrnoError")throw gt;return gt.errno}}function Y1(k,X){k>>>=0,X>>>=0;try{return zE((se(),Qe).subarray(k>>>0,k+X>>>0)),0}catch(we){if(typeof ot>"u"||we.name!=="ErrnoError")throw we;return we.errno}}if(Zi.init(),Ys(),Xh(),ot.createPreloadedFile=q4,ot.preloadFile=sg,ot.staticInit(),ii(),l.noExitRuntime&&(cn=l.noExitRuntime),l.preloadPlugins&&(ng=l.preloadPlugins),l.print&&(P=l.print),l.printErr&&(U=l.printErr),l.wasmBinary&&(Z=l.wasmBinary),l.arguments&&(m=l.arguments),l.thisProgram&&(y=l.thisProgram),l.preInit)for(typeof l.preInit=="function"&&(l.preInit=[l.preInit]);l.preInit.length>0;)l.preInit.shift()();var og=[Pi,Di,X3,tf,EI,jE,C0,z1,W1,$E],j1,rg,rh,q1,$1,Z4,lh,Z1,lg,K1,ZE,KE,ag,Q1,ug,ah,W,le,be;function Ve(k){j1=k.ka,rg=k.la,rh=k.na,q1=k.oa,$1=k.pa,Z4=k.qa,lh=k.ra,Z1=k.sa,lg=k.ta,K1=k.ua,ZE=k.va,KE=k.wa,ag=k.xa,Q1=k.ya,ug=k.za,ah=k.Aa,W=k.Ba,le=be=k.ma}var nt;function vt(){nt={i:wu,P:mo,ha:A0,q:Vc,E:ei,fa:Xt,m:U1,l:vi,c:Rn,da:Uo,D:ya,d:D0,u:ep,o:NE,s:kl,ea:i4,x:l4,ia:a4,p:xE,r:u4,h:c4,ga:d4,Z:h4,R:I4,U:m4,I:y4,B:E4,Y:LE,ca:T4,g:v4,b:Wn,A:R4,n:S4,j:A4,z:J3,f:b4,y:N4,G:_4,F:D4,k:C4,v:x4,e:O4,t:L4,V:P4,W:F4,J:X3,X:UE,T:U4,C:oh,ba:fs,w:qs,Q:tg,$:tf,aa:EI,K:Ln,M:jE,_:C0,O:z1,N:W1,S:$E,a:hn,H:Pi,L:Y1}}function Nt(k){k=Object.assign({},k);var X=xe=>Ke=>xe(Ke)>>>0,we=xe=>()=>xe()>>>0;return k.ka=X(k.ka),k.oa=X(k.oa),k.pa=we(k.pa),k.Aa=X(k.Aa),k.Ba=we(k.Ba),k}function xt(){if(Xe>0){We=xt;return}if(I){he?.(l),Kt();return}if(Vt(),Xe>0){We=xt;return}function k(){l.calledRun=!0,!K&&(Kt(),he?.(l),l.onRuntimeInitialized?.(),ui())}l.setStatus?(l.setStatus("Running..."),setTimeout(()=>{setTimeout(()=>l.setStatus(""),1),k()},1)):k()}var Jt;return I||(Jt=await pt(),xt()),Ct?r=l:r=new Promise((k,X)=>{he=k,Re=X}),r}})();typeof e=="object"&&typeof t=="object"?(t.exports=i,t.exports.default=i):typeof define=="function"&&define.amd&&define([],()=>i);var n=globalThis.self?.name?.startsWith("em-pthread");n&&i()}}),ape=upe({"dist/web-ifc.js"(e,t){"use strict";var i=(()=>{var n=globalThis.document?.currentScript?.src;return async function(s={}){var o;(function(){function W(Jt){Jt=Jt.split("-")[0];for(var k=Jt.split(".").slice(0,3);k.length<3;)k.push("00");return k=k.map((X,we,xe)=>X.padStart(2,"0")),k.join("")}var le=Jt=>[Jt/1e4|0,(Jt/100|0)%100,Jt%100].join("."),be=2147483647,Ve=typeof process<"u"&&process.versions?.node?W(process.versions.node):be;if(Ve<be)throw new Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)");if(Ve<2147483647)throw new Error(`This emscripten-generated code requires node v${le(2147483647)} (detected v${le(Ve)})`);var nt=typeof navigator<"u"&&navigator.userAgent;if(nt){var vt=nt.includes("Safari/")&&!nt.includes("Chrome/")&&nt.match(/Version\/(\d+\.?\d*\.?\d*)/)?W(nt.match(/Version\/(\d+\.?\d*\.?\d*)/)[1]):be;if(vt<15e4)throw new Error(`This emscripten-generated code requires Safari v${le(15e4)} (detected v${vt})`);var Nt=nt.match(/Firefox\/(\d+(?:\.\d+)?)/)?parseFloat(nt.match(/Firefox\/(\d+(?:\.\d+)?)/)[1]):be;if(Nt<79)throw new Error(`This emscripten-generated code requires Firefox v79 (detected v${Nt})`);var xt=nt.match(/Chrome\/(\d+(?:\.\d+)?)/)?parseFloat(nt.match(/Chrome\/(\d+(?:\.\d+)?)/)[1]):be;if(xt<85)throw new Error(`This emscripten-generated code requires Chrome v85 (detected v${xt})`)}})();var r=s,l=!0,d=!1,h=!1,p=!1,I=[],m="./this.program",y=(W,le)=>{throw le},T="";function R(W){return r.locateFile?r.locateFile(W,T):T+W}var b,A;if(!p)if(l||d){try{T=new URL(".",n).href}catch{}if(!(globalThis.window||globalThis.WorkerGlobalScope))throw new Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)");b=async W=>{K(!oe(W),"readAsync does not work with file:// URLs");var le=await fetch(W,{credentials:"same-origin"});if(le.ok)return le.arrayBuffer();throw new Error(le.status+" : "+le.url)}}else throw new Error("environment detection error");var O=console.log.bind(console),P=console.error.bind(console);K(!d,"worker environment detected but not enabled at build time. Add `worker` to `-sENVIRONMENT` to enable."),K(!h,"node environment detected but not enabled at build time. Add `node` to `-sENVIRONMENT` to enable."),K(!p,"shell environment detected but not enabled at build time. Add `shell` to `-sENVIRONMENT` to enable.");var U;globalThis.WebAssembly||P("no native wasm support detected");var Z=!1,ne;function K(W,le){W||Ue("Assertion failed"+(le?": "+le:""))}var oe=W=>W.startsWith("file://");function se(){var W=W1();K((W&3)==0),W==0&&(W+=4),Ct[W>>>2>>>0]=34821223,Ct[W+4>>>2>>>0]=2310721022,Ct[0]=1668509029}function he(){if(!Z){var W=W1();W==0&&(W+=4);var le=Ct[W>>>2>>>0],be=Ct[W+4>>>2>>>0];(le!=34821223||be!=2310721022)&&Ue(`Stack overflow! Stack cookie has been overwritten at ${bi(W)}, expected hex dwords 0x89BACDFE and 0x2135467, but received ${bi(be)} ${bi(le)}`),Ct[0]!=1668509029&&Ue("Runtime error: The application has corrupted its heap memory area (address zero)!")}}var Re=!0;(()=>{var W=new Int16Array(1),le=new Int8Array(W.buffer);W[0]=25459,(le[0]!==115||le[1]!==99)&&Ue("Runtime error: expected the system to be little-endian! (Run with -sSUPPORT_BIG_ENDIAN to bypass)")})();function ee(W){Object.getOwnPropertyDescriptor(r,W)||Object.defineProperty(r,W,{configurable:!0,set(){Ue(`Attempt to set \`Module.${W}\` after it has already been processed. This can happen, for example, when code is injected via '--post-js' rather than '--pre-js'`)}})}function Ae(W){return()=>K(!1,`call to '${W}' via reference taken before Wasm module initialization`)}function Ee(W){Object.getOwnPropertyDescriptor(r,W)&&Ue(`\`Module.${W}\` was supplied but \`${W}\` not included in INCOMING_MODULE_JS_API`)}function Ce(W){return W==="FS_createPath"||W==="FS_createDataFile"||W==="FS_createPreloadedFile"||W==="FS_preloadFile"||W==="FS_unlink"||W==="addRunDependency"||W==="FS_createLazyFile"||W==="FS_createDevice"||W==="removeRunDependency"}function Qe(W){qe(W)}function qe(W){Object.getOwnPropertyDescriptor(r,W)||Object.defineProperty(r,W,{configurable:!0,get(){var le=`'${W}' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the Emscripten FAQ)`;Ce(W)&&(le+=". Alternatively, forcing filesystem support (-sFORCE_FILESYSTEM) can export this for you"),Ue(le)}})}var St,$e,ke,It,ft,Dt,Zt,Ct,Ut,ii,Vt,Kt,ui=!1;function jt(){var W=lh.buffer;ke=new Int8Array(W),ft=new Int16Array(W),r.HEAPU8=It=new Uint8Array(W),Dt=new Uint16Array(W),Zt=new Int32Array(W),r.HEAPU32=Ct=new Uint32Array(W),r.HEAPF32=Ut=new Float32Array(W),ii=new Float64Array(W),Vt=new BigInt64Array(W),Kt=new BigUint64Array(W)}K(globalThis.Int32Array&&globalThis.Float64Array&&Int32Array.prototype.subarray&&Int32Array.prototype.set,"JS engine does not provide full typed array support");function Oe(){if(r.preRun)for(typeof r.preRun=="function"&&(r.preRun=[r.preRun]);r.preRun.length;)gi(r.preRun.shift());ee("preRun"),Xe(si)}function Ft(){K(!ui),ui=!0,he(),!r.noFSInit&&!st.initialized&&st.init(),oh.init(),ah.__wasm_call_ctors(),st.ignorePermissions=!1}function ge(){if(he(),r.postRun)for(typeof r.postRun=="function"&&(r.postRun=[r.postRun]);r.postRun.length;)Mt(r.postRun.shift());ee("postRun"),Xe(We)}function Ue(W){r.onAbort?.(W),W="Aborted("+W+")",P(W),Z=!0;var le=new WebAssembly.RuntimeError(W);throw $e?.(le),le}function Pe(W,le){return(...be)=>{K(ui,`native function \`${W}\` called before runtime initialization`);var Ve=ah[W];return K(Ve,`exported native function \`${W}\` not found`),K(be.length<=le,`native function \`${W}\` called with ${be.length} args but expects ${le}`),Ve(...be)}}var Me;function ze(){return R("web-ifc.wasm")}function pt(W){if(W==Me&&U)return new Uint8Array(U);if(A)return A(W);throw"both async and sync fetching of the wasm failed"}async function He(W){if(!U)try{var le=await b(W);return new Uint8Array(le)}catch{}return pt(W)}async function At(W,le){try{var be=await He(W),Ve=await WebAssembly.instantiate(be,le);return Ve}catch(nt){P(`failed to asynchronously prepare wasm: ${nt}`),oe(W)&&P(`warning: Loading from a file URI (${W}) is not supported in most browsers. See https://emscripten.org/docs/getting_started/FAQ.html#how-do-i-run-a-local-webserver-for-testing-why-does-my-program-stall-in-downloading-or-preparing`),Ue(nt)}}async function Tt(W,le,be){if(!W)try{var Ve=fetch(le,{credentials:"same-origin"}),nt=await WebAssembly.instantiateStreaming(Ve,be);return nt}catch(vt){P(`wasm streaming compile failed: ${vt}`),P("falling back to ArrayBuffer instantiation")}return At(le,be)}function Lt(){var W={env:K1,wasi_snapshot_preview1:K1};return W}async function Ht(){function W(Nt,xt){return ah=Nt.exports,ah=ZE(ah),lg(ah),jt(),ah}var le=r;function be(Nt){return K(r===le,"the Module object should not be replaced during async compilation - perhaps the order of HTML elements is wrong?"),le=null,W(Nt.instance)}var Ve=Lt();if(r.instantiateWasm)return new Promise((Nt,xt)=>{try{r.instantiateWasm(Ve,(Jt,k)=>{Nt(W(Jt,k))})}catch(Jt){P(`Module.instantiateWasm callback failed with error: ${Jt}`),xt(Jt)}});Me??=ze();var nt=await Tt(U,Me,Ve),vt=be(nt);return vt}class ri{name="ExitStatus";constructor(le){this.message=`Program terminated with exit(${le})`,this.status=le}}var Xe=W=>{for(;W.length>0;)W.shift()(r)},We=[],Mt=W=>We.push(W),si=[],gi=W=>si.push(W),mi=!0,bi=W=>(K(typeof W=="number",`ptrToString expects a number, got ${typeof W}`),W>>>=0,"0x"+W.toString(16).padStart(8,"0")),Qt=W=>{Qt.shown||={},Qt.shown[W]||(Qt.shown[W]=1,P(W))};class di{constructor(le){this.excPtr=le,this.ptr=le-24}set_type(le){Ct[this.ptr+4>>>2>>>0]=le}get_type(){return Ct[this.ptr+4>>>2>>>0]}set_destructor(le){Ct[this.ptr+8>>>2>>>0]=le}get_destructor(){return Ct[this.ptr+8>>>2>>>0]}set_caught(le){le=le?1:0,ke[this.ptr+12>>>0]=le}get_caught(){return ke[this.ptr+12>>>0]!=0}set_rethrown(le){le=le?1:0,ke[this.ptr+13>>>0]=le}get_rethrown(){return ke[this.ptr+13>>>0]!=0}init(le,be){this.set_adjusted_ptr(0),this.set_type(le),this.set_destructor(be)}set_adjusted_ptr(le){Ct[this.ptr+16>>>2>>>0]=le}get_adjusted_ptr(){return Ct[this.ptr+16>>>2>>>0]}}var Wi=0,ki=0,Pi=9007199254740992,Di=-9007199254740992,dn=W=>W<Di||W>Pi?NaN:Number(W);function Ln(W,le,be){W>>>=0,le>>>=0,be>>>=0;var Ve=new di(W);Ve.init(le,be),Wi=W,ki++,K(!1,"Exception thrown, but exception catching is not enabled. Compile with -sNO_DISABLE_EXCEPTION_CATCHING or -sEXCEPTION_CATCHING_ALLOWED=[..] to catch.")}var Zi=()=>Ue("native code called abort()"),kt={},Gi=W=>{for(;W.length;){var le=W.pop(),be=W.pop();be(le)}};function wi(W){return this.fromWireType(Ct[W>>>2>>>0])}var Qi={},Fi={},Ci={},cn=class extends Error{constructor(le){super(le),this.name="InternalError"}},Un=W=>{throw new cn(W)},hn=(W,le,be)=>{W.forEach(xt=>Ci[xt]=le);function Ve(xt){var Jt=be(xt);Jt.length!==W.length&&Un("Mismatched type converter count");for(var k=0;k<W.length;++k)mo(W[k],Jt[k])}var nt=new Array(le.length),vt=[],Nt=0;for(let[xt,Jt]of le.entries())Fi.hasOwnProperty(Jt)?nt[xt]=Fi[Jt]:(vt.push(Jt),Qi.hasOwnProperty(Jt)||(Qi[Jt]=[]),Qi[Jt].push(()=>{nt[xt]=Fi[Jt],++Nt,Nt===vt.length&&Ve(nt)}));vt.length===0&&Ve(nt)},Rs=function(W){W>>>=0;var le=kt[W];delete kt[W];var be=le.elements,Ve=be.length,nt=be.map(xt=>xt.getterReturnType).concat(be.map(xt=>xt.setterArgumentType)),vt=le.rawConstructor,Nt=le.rawDestructor;hn([W],nt,xt=>{for(let[Jt,k]of be.entries()){let X=xt[Jt],we=k.getter,xe=k.getterContext,Ke=xt[Jt+Ve],yt=k.setter,gt=k.setterContext;k.read=Rt=>X.fromWireType(we(xe,Rt)),k.write=(Rt,$t)=>{var Ri=[];yt(gt,Rt,Ke.toWireType(Ri,$t)),Gi(Ri)}}return[{name:le.name,fromWireType:Jt=>{for(var k=new Array(Ve),X=0;X<Ve;++X)k[X]=be[X].read(Jt);return Nt(Jt),k},toWireType:(Jt,k)=>{if(Ve!==k.length)throw new TypeError(`Incorrect number of tuple elements for ${le.name}: expected=${Ve}, actual=${k.length}`);for(var X=vt(),we=0;we<Ve;++we)be[we].write(X,k[we]);return Jt!==null&&Jt.push(Nt,X),X},readValueFromPointer:wi,destructorFunction:Nt}]})},Wo={},Io=function(W){W>>>=0;var le=Wo[W];delete Wo[W];var be=le.rawConstructor,Ve=le.rawDestructor,nt=le.fields,vt=nt.map(Nt=>Nt.getterReturnType).concat(nt.map(Nt=>Nt.setterArgumentType));hn([W],vt,Nt=>{var xt={};for(var[Jt,k]of nt.entries()){let X=Nt[Jt],we=k.getter,xe=k.getterContext,Ke=Nt[Jt+nt.length],yt=k.setter,gt=k.setterContext;xt[k.fieldName]={read:Rt=>X.fromWireType(we(xe,Rt)),write:(Rt,$t)=>{var Ri=[];yt(gt,Rt,Ke.toWireType(Ri,$t)),Gi(Ri)},optional:X.optional}}return[{name:le.name,fromWireType:X=>{var we={};for(var xe in xt)we[xe]=xt[xe].read(X);return Ve(X),we},toWireType:(X,we)=>{for(var xe in xt)if(!(xe in we)&&!xt[xe].optional)throw new TypeError(`Missing field: "${xe}"`);var Ke=be();for(xe in xt)xt[xe].write(Ke,we[xe]);return X!==null&&X.push(Ve,Ke),Ke},readValueFromPointer:wi,destructorFunction:Ve}]})},ao=W=>{W>>>=0;for(var le="";;){var be=It[W++>>>0];if(!be)return le;le+=String.fromCharCode(be)}},Ma=class extends Error{constructor(le){super(le),this.name="BindingError"}},Yn=W=>{throw new Ma(W)};function wu(W,le,be={}){var Ve=le.name;if(W||Yn(`type "${Ve}" must have a positive integer typeid pointer`),Fi.hasOwnProperty(W)){if(be.ignoreDuplicateRegistrations)return;Yn(`Cannot register type '${Ve}' twice`)}if(Fi[W]=le,delete Ci[W],Qi.hasOwnProperty(W)){var nt=Qi[W];delete Qi[W],nt.forEach(vt=>vt())}}function mo(W,le,be={}){return wu(W,le,be)}var Ia=(W,le,be)=>{switch(le){case 1:return be?Ve=>ke[Ve>>>0]:Ve=>It[Ve>>>0];case 2:return be?Ve=>ft[Ve>>>1>>>0]:Ve=>Dt[Ve>>>1>>>0];case 4:return be?Ve=>Zt[Ve>>>2>>>0]:Ve=>Ct[Ve>>>2>>>0];case 8:return be?Ve=>Vt[Ve>>>3>>>0]:Ve=>Kt[Ve>>>3>>>0];default:throw new TypeError(`invalid integer width (${le}): ${W}`)}},Er=W=>{if(W===null)return"null";var le=typeof W;return le==="object"||le==="array"||le==="function"?W.toString():""+W},Vl=(W,le,be,Ve)=>{if(le<be||le>Ve)throw new TypeError(`Passing a number "${Er(le)}" from JS side to C/C++ side to an argument of type "${W}", which is outside the valid range [${be}, ${Ve}]!`)},Nr=function(W,le,be,Ve,nt){W>>>=0,le>>>=0,be>>>=0,le=ao(le);let vt=Ve===0n,Nt=xt=>xt;if(vt){let xt=be*8;Nt=Jt=>BigInt.asUintN(xt,Jt),nt=Nt(nt)}mo(W,{name:le,fromWireType:Nt,toWireType:(xt,Jt)=>{if(typeof Jt=="number")Jt=BigInt(Jt);else if(typeof Jt!="bigint")throw new TypeError(`Cannot convert "${Er(Jt)}" to ${this.name}`);return Vl(le,Jt,Ve,nt),Jt},readValueFromPointer:Ia(le,be,!vt),destructorFunction:null})};function Ni(W,le,be,Ve){W>>>=0,le>>>=0,le=ao(le),mo(W,{name:le,fromWireType:function(nt){return!!nt},toWireType:function(nt,vt){return vt?be:Ve},readValueFromPointer:function(nt){return this.fromWireType(It[nt>>>0])},destructorFunction:null})}var _r=W=>({count:W.count,deleteScheduled:W.deleteScheduled,preservePointerOnDelete:W.preservePointerOnDelete,ptr:W.ptr,ptrType:W.ptrType,smartPtr:W.smartPtr,smartPtrType:W.smartPtrType}),Hc=W=>{function le(be){return be.$$.ptrType.registeredClass.name}Yn(le(W)+" instance already deleted")},Dr=!1,ma=W=>{},A0=W=>{W.smartPtr?W.smartPtrType.rawDestructor(W.smartPtr):W.ptrType.registeredClass.rawDestructor(W.ptr)},Gc=W=>{W.count.value-=1;var le=W.count.value===0;le&&A0(W)},Vc=(W,le,be)=>{if(le===be)return W;if(be.baseClass===void 0)return null;var Ve=Vc(W,le,be.baseClass);return Ve===null?null:be.downcast(Ve)},yo={},vu={},Es=(W,le)=>{for(le===void 0&&Yn("ptr should not be undefined");W.baseClass;)le=W.upcast(le),W=W.baseClass;return le},ht=(W,le)=>(le=Es(W,le),vu[le]),qt=(W,le)=>{(!le.ptrType||!le.ptr)&&Un("makeClassHandle requires ptr and ptrType");var be=!!le.smartPtrType,Ve=!!le.smartPtr;return be!==Ve&&Un("Both smartPtrType and smartPtr must be specified"),le.count={value:1},ei(Object.create(W,{$$:{value:le,writable:!0}}))};function ni(W){var le=this.getPointee(W);if(!le)return this.destructor(W),null;var be=ht(this.registeredClass,le);if(be!==void 0){if(be.$$.count.value===0)return be.$$.ptr=le,be.$$.smartPtr=W,be.clone();var Ve=be.clone();return this.destructor(W),Ve}function nt(){return this.isSmartPointer?qt(this.registeredClass.instancePrototype,{ptrType:this.pointeeType,ptr:le,smartPtrType:this,smartPtr:W}):qt(this.registeredClass.instancePrototype,{ptrType:this,ptr:W})}var vt=this.registeredClass.getActualType(le),Nt=yo[vt];if(!Nt)return nt.call(this);var xt;this.isConst?xt=Nt.constPointerType:xt=Nt.pointerType;var Jt=Vc(le,this.registeredClass,xt.registeredClass);return Jt===null?nt.call(this):this.isSmartPointer?qt(xt.registeredClass.instancePrototype,{ptrType:xt,ptr:Jt,smartPtrType:this,smartPtr:W}):qt(xt.registeredClass.instancePrototype,{ptrType:xt,ptr:Jt})}var ei=W=>globalThis.FinalizationRegistry?(Dr=new FinalizationRegistry(le=>{console.warn(le.leakWarning),Gc(le.$$)}),ei=le=>{var be=le.$$,Ve=!!be.smartPtr;if(Ve){var nt={$$:be},vt=be.ptrType.registeredClass,Nt=new Error(`Embind found a leaked C++ instance ${vt.name} <${bi(be.ptr)}>.
|
||
We'll free it automatically in this case, but this functionality is not reliable across various environments.
|
||
Make sure to invoke .delete() manually once you're done with the instance instead.
|
||
Originally allocated`);"captureStackTrace"in Error&&Error.captureStackTrace(Nt,ni),nt.leakWarning=Nt.stack.replace(/^Error: /,""),Dr.register(le,nt,le)}return le},ma=le=>Dr.unregister(le),ei(W)):(ei=le=>le,W),Xt=[],ji=()=>{for(;Xt.length;){var W=Xt.pop();W.$$.deleteScheduled=!1,W.delete()}},rn,Ki=()=>{let W=fn.prototype;Object.assign(W,{isAliasOf(be){if(!(this instanceof fn)||!(be instanceof fn))return!1;var Ve=this.$$.ptrType.registeredClass,nt=this.$$.ptr;be.$$=be.$$;for(var vt=be.$$.ptrType.registeredClass,Nt=be.$$.ptr;Ve.baseClass;)nt=Ve.upcast(nt),Ve=Ve.baseClass;for(;vt.baseClass;)Nt=vt.upcast(Nt),vt=vt.baseClass;return Ve===vt&&nt===Nt},clone(){if(this.$$.ptr||Hc(this),this.$$.preservePointerOnDelete)return this.$$.count.value+=1,this;var be=ei(Object.create(Object.getPrototypeOf(this),{$$:{value:_r(this.$$)}}));return be.$$.count.value+=1,be.$$.deleteScheduled=!1,be},delete(){this.$$.ptr||Hc(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&Yn("Object already scheduled for deletion"),ma(this),Gc(this.$$),this.$$.preservePointerOnDelete||(this.$$.smartPtr=void 0,this.$$.ptr=void 0)},isDeleted(){return!this.$$.ptr},deleteLater(){return this.$$.ptr||Hc(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&Yn("Object already scheduled for deletion"),Xt.push(this),Xt.length===1&&rn&&rn(ji),this.$$.deleteScheduled=!0,this}});let le=Symbol.dispose;le&&(W[le]=W.delete)};function fn(){}var En=(W,le)=>Object.defineProperty(le,"name",{value:W}),zn=(W,le,be)=>{if(W[le].overloadTable===void 0){var Ve=W[le];W[le]=function(...nt){return W[le].overloadTable.hasOwnProperty(nt.length)||Yn(`Function '${be}' called with an invalid number of arguments (${nt.length}) - expects one of (${W[le].overloadTable})!`),W[le].overloadTable[nt.length].apply(this,nt)},W[le].overloadTable=[],W[le].overloadTable[Ve.argCount]=Ve}},Vn=(W,le,be)=>{r.hasOwnProperty(W)?((be===void 0||r[W].overloadTable!==void 0&&r[W].overloadTable[be]!==void 0)&&Yn(`Cannot register public name '${W}' twice`),zn(r,W,W),r[W].overloadTable.hasOwnProperty(be)&&Yn(`Cannot register multiple overloads of a function with the same number of arguments (${be})!`),r[W].overloadTable[be]=le):(r[W]=le,r[W].argCount=be)},wn=48,Ds=57,Ws=W=>{K(typeof W=="string"),W=W.replace(/[^a-zA-Z0-9_]/g,"$");var le=W.charCodeAt(0);return le>=wn&&le<=Ds?`_${W}`:W};function Ys(W,le,be,Ve,nt,vt,Nt,xt){this.name=W,this.constructor=le,this.instancePrototype=be,this.rawDestructor=Ve,this.baseClass=nt,this.getActualType=vt,this.upcast=Nt,this.downcast=xt,this.pureVirtualFunctions=[]}var hs=(W,le,be)=>{for(;le!==be;)le.upcast||Yn(`Expected null or instance of ${be.name}, got an instance of ${le.name}`),W=le.upcast(W),le=le.baseClass;return W};function uo(W,le){if(le===null)return this.isReference&&Yn(`null is not a valid ${this.name}`),0;le.$$||Yn(`Cannot pass "${Er(le)}" as a ${this.name}`),le.$$.ptr||Yn(`Cannot pass deleted object as a pointer of type ${this.name}`);var be=le.$$.ptrType.registeredClass,Ve=hs(le.$$.ptr,be,this.registeredClass);return Ve}function sn(W,le){var be;if(le===null)return this.isReference&&Yn(`null is not a valid ${this.name}`),this.isSmartPointer?(be=this.rawConstructor(),W!==null&&W.push(this.rawDestructor,be),be):0;(!le||!le.$$)&&Yn(`Cannot pass "${Er(le)}" as a ${this.name}`),le.$$.ptr||Yn(`Cannot pass deleted object as a pointer of type ${this.name}`),!this.isConst&&le.$$.ptrType.isConst&&Yn(`Cannot convert argument of type ${le.$$.smartPtrType?le.$$.smartPtrType.name:le.$$.ptrType.name} to parameter type ${this.name}`);var Ve=le.$$.ptrType.registeredClass;if(be=hs(le.$$.ptr,Ve,this.registeredClass),this.isSmartPointer)switch(le.$$.smartPtr===void 0&&Yn("Passing raw pointer to smart pointer is illegal"),this.sharingPolicy){case 0:le.$$.smartPtrType===this?be=le.$$.smartPtr:Yn(`Cannot convert argument of type ${le.$$.smartPtrType?le.$$.smartPtrType.name:le.$$.ptrType.name} to parameter type ${this.name}`);break;case 1:be=le.$$.smartPtr;break;case 2:if(le.$$.smartPtrType===this)be=le.$$.smartPtr;else{var nt=le.clone();be=this.rawShare(be,io.toHandle(()=>nt.delete())),W!==null&&W.push(this.rawDestructor,be)}break;default:Yn("Unsupported sharing policy")}return be}function eo(W,le){if(le===null)return this.isReference&&Yn(`null is not a valid ${this.name}`),0;le.$$||Yn(`Cannot pass "${Er(le)}" as a ${this.name}`),le.$$.ptr||Yn(`Cannot pass deleted object as a pointer of type ${this.name}`),le.$$.ptrType.isConst&&Yn(`Cannot convert argument of type ${le.$$.ptrType.name} to parameter type ${this.name}`);var be=le.$$.ptrType.registeredClass,Ve=hs(le.$$.ptr,be,this.registeredClass);return Ve}var Xn=()=>{Object.assign(Do.prototype,{getPointee(W){return this.rawGetPointee&&(W=this.rawGetPointee(W)),W},destructor(W){this.rawDestructor?.(W)},readValueFromPointer:wi,fromWireType:ni})};function Do(W,le,be,Ve,nt,vt,Nt,xt,Jt,k,X){this.name=W,this.registeredClass=le,this.isReference=be,this.isConst=Ve,this.isSmartPointer=nt,this.pointeeType=vt,this.sharingPolicy=Nt,this.rawGetPointee=xt,this.rawConstructor=Jt,this.rawShare=k,this.rawDestructor=X,!nt&&le.baseClass===void 0?Ve?(this.toWireType=uo,this.destructorFunction=null):(this.toWireType=eo,this.destructorFunction=null):this.toWireType=sn}var lr=(W,le,be)=>{r.hasOwnProperty(W)||Un("Replacing nonexistent public symbol"),r[W].overloadTable!==void 0&&be!==void 0?r[W].overloadTable[be]=le:(r[W]=le,r[W].argCount=be)},Bo=[],Fo=W=>{var le=Bo[W];return le||(Bo[W]=le=Z1.get(W)),K(Z1.get(W)==le,"JavaScript-side Wasm function table mirror is out of date!"),le},rs=(W,le,be=[],Ve=!1)=>{K(le,"null function pointer in dynCall"),K(!Ve,"async dynCall is not supported in this mode"),K(Fo(le),`missing table entry in dynCall: ${le}`);var nt=Fo(le),vt=nt(...be);function Nt(xt){return W[0]=="p"?xt>>>0:xt}return Nt(vt)},Ts=(W,le,be=!1)=>(K(W.includes("j")||W.includes("p"),"getDynCaller should only be called with i64 sigs"),(...Ve)=>rs(W,le,Ve,be)),ls=(W,le,be=!1)=>{K(!be,"Async bindings are only supported with JSPI."),W=ao(W);function Ve(){if(W.includes("p"))return Ts(W,le,be);var vt=Fo(le);return vt}var nt=Ve();return typeof nt!="function"&&Yn(`unknown function pointer with signature ${W}: ${le}`),nt};class Ss extends Error{}var Tr=W=>{var le=jE(W),be=ao(le);return C0(le),be},hr=(W,le)=>{var be=[],Ve={};function nt(vt){if(!Ve[vt]&&!Fi[vt]){if(Ci[vt]){Ci[vt].forEach(nt);return}be.push(vt),Ve[vt]=!0}}throw le.forEach(nt),new Ss(`${W}: `+be.map(Tr).join([", "]))};function b0(W,le,be,Ve,nt,vt,Nt,xt,Jt,k,X,we,xe){W>>>=0,le>>>=0,be>>>=0,Ve>>>=0,nt>>>=0,vt>>>=0,Nt>>>=0,xt>>>=0,Jt>>>=0,k>>>=0,X>>>=0,we>>>=0,xe>>>=0,X=ao(X),vt=ls(nt,vt),xt&&=ls(Nt,xt),k&&=ls(Jt,k),xe=ls(we,xe);var Ke=Ws(X);Vn(Ke,function(){hr(`Cannot construct ${X} due to unbound types`,[Ve])}),hn([W,le,be],Ve?[Ve]:[],yt=>{yt=yt[0];var gt,Rt;Ve?(gt=yt.registeredClass,Rt=gt.instancePrototype):Rt=fn.prototype;var $t=En(X,function(...Kn){if(Object.getPrototypeOf(this)!==Ri)throw new Ma(`Use 'new' to construct ${X}`);if(Vi.constructor_body===void 0)throw new Ma(`${X} has no accessible constructor`);var Fs=Vi.constructor_body[Kn.length];if(Fs===void 0)throw new Ma(`Tried to invoke ctor of ${X} with invalid number of parameters (${Kn.length}) - expected (${Object.keys(Vi.constructor_body).toString()}) parameters instead!`);return Fs.apply(this,Kn)}),Ri=Object.create(Rt,{constructor:{value:$t}});$t.prototype=Ri;var Vi=new Ys(X,$t,Ri,xe,gt,vt,xt,k);Vi.baseClass&&(Vi.baseClass.__derivedClasses??=[],Vi.baseClass.__derivedClasses.push(Vi));var tn=new Do(X,Vi,!0,!1,!1),qi=new Do(X+"*",Vi,!1,!1,!1),Yi=new Do(X+" const*",Vi,!1,!0,!1);return yo[W]={pointerType:qi,constPointerType:Yi},lr(Ke,$t),[tn,qi,Yi]})}var N0=(W,le)=>{for(var be=[],Ve=0;Ve<W;Ve++)be.push(Ct[le+Ve*4>>>2>>>0]);return be};function th(W){for(var le=1;le<W.length;++le)if(W[le]!==null&&W[le].destructorFunction===void 0)return!0;return!1}function kc(W){for(var le=W.length-2,be=W.length-1;be>=2&&W[be].optional;--be)le--;return le}function Jh(W,le,be,Ve,nt){if(W<le||W>be){var vt=le==be?le:`${le} to ${be}`;nt(`function ${Ve} called with ${W} arguments, expected ${vt}`)}}function Xh(W,le,be,Ve,nt,vt){var Nt=le.length;Nt<2&&Yn("argTypes array size mismatch! Must at least get return value and 'this' types!"),K(!vt,"Async bindings are only supported with JSPI.");var xt=le[1]!==null&&be!==null,Jt=th(le),k=!le[0].isVoid,X=Nt-2,we=kc(le),xe=new Array(X),Ke=[],yt=[],gt=function(...Rt){Jh(Rt.length,we,X,W,Yn),yt.length=0;var $t;Ke.length=xt?2:1,Ke[0]=nt,xt&&($t=le[1].toWireType(yt,this),Ke[1]=$t);for(var Ri=0;Ri<X;++Ri)xe[Ri]=le[Ri+2].toWireType(yt,Rt[Ri]),Ke.push(xe[Ri]);var Vi=Ve(...Ke);function tn(qi){if(Jt)Gi(yt);else for(var Yi=xt?1:2;Yi<le.length;Yi++){var Kn=Yi===1?$t:xe[Yi-2];le[Yi].destructorFunction!==null&&le[Yi].destructorFunction(Kn)}if(k)return le[0].fromWireType(qi)}return tn(Vi)};return En(W,gt)}var ih=function(W,le,be,Ve,nt,vt){W>>>=0,be>>>=0,Ve>>>=0,nt>>>=0,vt>>>=0,K(le>0);var Nt=N0(le,be);nt=ls(Ve,nt),hn([],[W],xt=>{xt=xt[0];var Jt=`constructor ${xt.name}`;if(xt.registeredClass.constructor_body===void 0&&(xt.registeredClass.constructor_body=[]),xt.registeredClass.constructor_body[le-1]!==void 0)throw new Ma(`Cannot register multiple constructors with identical number of parameters (${le-1}) for class '${xt.name}'! Overload resolution is currently only performed using the parameter count, not actual type info!`);return xt.registeredClass.constructor_body[le-1]=()=>{hr(`Cannot construct ${xt.name} due to unbound types`,Nt)},hn([],Nt,k=>(k.splice(1,0,null),xt.registeredClass.constructor_body[le-1]=Xh(Jt,k,null,nt,vt),[])),[]})},nh=W=>{W=W.trim();let le=W.indexOf("(");return le===-1?W:(K(W.endsWith(")"),"Parentheses for argument names should match."),W.slice(0,le))},pI=function(W,le,be,Ve,nt,vt,Nt,xt,Jt,k){W>>>=0,le>>>=0,Ve>>>=0,nt>>>=0,vt>>>=0,Nt>>>=0;var X=N0(be,Ve);le=ao(le),le=nh(le),vt=ls(nt,vt,Jt),hn([],[W],we=>{we=we[0];var xe=`${we.name}.${le}`;le.startsWith("@@")&&(le=Symbol[le.substring(2)]),xt&&we.registeredClass.pureVirtualFunctions.push(le);function Ke(){hr(`Cannot call ${xe} due to unbound types`,X)}var yt=we.registeredClass.instancePrototype,gt=yt[le];return gt===void 0||gt.overloadTable===void 0&>.className!==we.name&>.argCount===be-2?(Ke.argCount=be-2,Ke.className=we.name,yt[le]=Ke):(zn(yt,le,xe),yt[le].overloadTable[be-2]=Ke),hn([],X,Rt=>{var $t=Xh(xe,Rt,we,vt,Nt,Jt);return yt[le].overloadTable===void 0?($t.argCount=be-2,yt[le]=$t):yt[le].overloadTable[be-2]=$t,[]}),[]})},_0=[],to=[0,1,,1,null,1,!0,1,!1,1];function Jf(W){W>>>=0,W>9&&--to[W+1]===0&&(K(to[W]!==void 0,"Decref for unallocated handle."),to[W]=void 0,_0.push(W))}var io={toValue:W=>(W||Yn(`Cannot use deleted val. handle = ${W}`),K(W===2||to[W]!==void 0&&W%2===0,`invalid handle: ${W}`),to[W]),toHandle:W=>{switch(W){case void 0:return 2;case null:return 4;case!0:return 6;case!1:return 8;default:{let le=_0.pop()||to.length;return to[le]=W,to[le+1]=1,le}}}},sh={name:"emscripten::val",fromWireType:W=>{var le=io.toValue(W);return Jf(W),le},toWireType:(W,le)=>io.toHandle(le),readValueFromPointer:wi,destructorFunction:null};function U1(W){return W>>>=0,mo(W,sh)}var ef=(W,le)=>{switch(le){case 4:return function(be){return this.fromWireType(Ut[be>>>2>>>0])};case 8:return function(be){return this.fromWireType(ii[be>>>3>>>0])};default:throw new TypeError(`invalid float width (${le}): ${W}`)}},Xf=function(W,le,be){W>>>=0,le>>>=0,be>>>=0,le=ao(le),mo(W,{name:le,fromWireType:Ve=>Ve,toWireType:(Ve,nt)=>{if(typeof nt!="number"&&typeof nt!="boolean")throw new TypeError(`Cannot convert ${Er(nt)} to ${this.name}`);return nt},readValueFromPointer:ef(le,be),destructorFunction:null})};function bt(W,le,be,Ve,nt,vt,Nt,xt){W>>>=0,be>>>=0,Ve>>>=0,nt>>>=0,vt>>>=0;var Jt=N0(le,be);W=ao(W),W=nh(W),nt=ls(Ve,nt,Nt),Vn(W,function(){hr(`Cannot call ${W} due to unbound types`,Jt)},le-1),hn([],Jt,k=>{var X=[k[0],null].concat(k.slice(1));return lr(W,Xh(W,X,null,nt,vt,Nt),le-1),[]})}var vi=function(W,le,be,Ve,nt){W>>>=0,le>>>=0,be>>>=0,le=ao(le);let vt=Ve===0,Nt=Jt=>Jt;if(vt){var xt=32-8*be;Nt=Jt=>Jt<<xt>>>xt,nt=Nt(nt)}mo(W,{name:le,fromWireType:Nt,toWireType:(Jt,k)=>{if(typeof k!="number"&&typeof k!="boolean")throw new TypeError(`Cannot convert "${Er(k)}" to ${le}`);return Vl(le,k,Ve,nt),k},readValueFromPointer:Ia(le,be,Ve!==0),destructorFunction:null})};function zi(W,le,be){W>>>=0,be>>>=0;var Ve=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,BigInt64Array,BigUint64Array],nt=Ve[le];function vt(Nt){var xt=Ct[Nt>>>2>>>0],Jt=Ct[Nt+4>>>2>>>0];return new nt(ke.buffer,Jt,xt)}be=ao(be),mo(W,{name:be,fromWireType:vt,readValueFromPointer:vt},{ignoreDuplicateRegistrations:!0})}var Rn=Object.assign({optional:!0},sh);function _n(W,le){W>>>=0,le>>>=0,mo(W,Rn)}var Cn=(W,le,be,Ve)=>{if(be>>>=0,K(typeof W=="string",`stringToUTF8Array expects a string (got ${typeof W})`),!(Ve>0))return 0;for(var nt=be,vt=be+Ve-1,Nt=0;Nt<W.length;++Nt){var xt=W.codePointAt(Nt);if(xt<=127){if(be>=vt)break;le[be++>>>0]=xt}else if(xt<=2047){if(be+1>=vt)break;le[be++>>>0]=192|xt>>6,le[be++>>>0]=128|xt&63}else if(xt<=65535){if(be+2>=vt)break;le[be++>>>0]=224|xt>>12,le[be++>>>0]=128|xt>>6&63,le[be++>>>0]=128|xt&63}else{if(be+3>=vt)break;xt>1114111&&Qt("Invalid Unicode code point "+bi(xt)+" encountered when serializing a JS string to a UTF-8 string in wasm memory! (Valid unicode code points should be in range 0-0x10FFFF)."),le[be++>>>0]=240|xt>>18,le[be++>>>0]=128|xt>>12&63,le[be++>>>0]=128|xt>>6&63,le[be++>>>0]=128|xt&63,Nt++}}return le[be>>>0]=0,be-nt},Wn=(W,le,be)=>(K(typeof be=="number","stringToUTF8(str, outPtr, maxBytesToWrite) is missing the third parameter that specifies the length of the output buffer!"),Cn(W,It,le,be)),An=W=>{for(var le=0,be=0;be<W.length;++be){var Ve=W.charCodeAt(be);Ve<=127?le++:Ve<=2047?le+=2:Ve>=55296&&Ve<=57343?(le+=4,++be):le+=3}return le},js=globalThis.TextDecoder&&new TextDecoder,Uo=(W,le,be,Ve)=>{var nt=le+be;if(Ve)return nt;for(;W[le]&&!(le>=nt);)++le;return le},Yo=(W,le=0,be,Ve)=>{le>>>=0;var nt=Uo(W,le,be,Ve);if(nt-le>16&&W.buffer&&js)return js.decode(W.subarray(le,nt));for(var vt="";le<nt;){var Nt=W[le++];if(!(Nt&128)){vt+=String.fromCharCode(Nt);continue}var xt=W[le++]&63;if((Nt&224)==192){vt+=String.fromCharCode((Nt&31)<<6|xt);continue}var Jt=W[le++]&63;if((Nt&240)==224?Nt=(Nt&15)<<12|xt<<6|Jt:((Nt&248)!=240&&Qt("Invalid UTF-8 leading byte "+bi(Nt)+" encountered when deserializing a UTF-8 string in wasm memory to a JS string!"),Nt=(Nt&7)<<18|xt<<12|Jt<<6|W[le++]&63),Nt<65536)vt+=String.fromCharCode(Nt);else{var k=Nt-65536;vt+=String.fromCharCode(55296|k>>10,56320|k&1023)}}return vt},ya=(W,le,be)=>(K(typeof W=="number",`UTF8ToString expects a number (got ${typeof W})`),W>>>=0,W?Yo(It,W,le,be):"");function D0(W,le){W>>>=0,le>>>=0,le=ao(le);var be=!0;mo(W,{name:le,fromWireType(Ve){var nt=Ct[Ve>>>2>>>0],vt=Ve+4,Nt;if(be)Nt=ya(vt,nt,!0);else{Nt="";for(var xt=0;xt<nt;++xt)Nt+=String.fromCharCode(It[vt+xt>>>0])}return C0(Ve),Nt},toWireType(Ve,nt){nt instanceof ArrayBuffer&&(nt=new Uint8Array(nt));var vt,Nt=typeof nt=="string";Nt||ArrayBuffer.isView(nt)&&nt.BYTES_PER_ELEMENT==1||Yn("Cannot pass non-string to std::string"),be&&Nt?vt=An(nt):vt=nt.length;var xt=qE(4+vt+1),Jt=xt+4;if(Ct[xt>>>2>>>0]=vt,Nt)if(be)Wn(nt,Jt,vt+1);else for(var k=0;k<vt;++k){var X=nt.charCodeAt(k);X>255&&(C0(xt),Yn("String has UTF-16 code units that do not fit in 8 bits")),It[Jt+k>>>0]=X}else It.set(nt,Jt>>>0);return Ve!==null&&Ve.push(C0,xt),xt},readValueFromPointer:wi,destructorFunction(Ve){C0(Ve)}})}var ep=globalThis.TextDecoder?new TextDecoder("utf-16le"):void 0,NE=(W,le,be)=>{K(W%2==0,"Pointer passed to UTF16ToString must be aligned to two bytes!");var Ve=W>>>1,nt=Uo(Dt,Ve,le/2,be);if(nt-Ve>16&&ep)return ep.decode(Dt.subarray(Ve>>>0,nt>>>0));for(var vt="",Nt=Ve;Nt<nt;++Nt){var xt=Dt[Nt>>>0];vt+=String.fromCharCode(xt)}return vt},H1=(W,le,be)=>{if(K(le%2==0,"Pointer passed to stringToUTF16 must be aligned to two bytes!"),K(typeof be=="number","stringToUTF16(str, outPtr, maxBytesToWrite) is missing the third parameter that specifies the length of the output buffer!"),be??=2147483647,be<2)return 0;be-=2;for(var Ve=le,nt=be<W.length*2?be/2:W.length,vt=0;vt<nt;++vt){var Nt=W.charCodeAt(vt);ft[le>>>1>>>0]=Nt,le+=2}return ft[le>>>1>>>0]=0,le-Ve},kl=W=>W.length*2,Ru=(W,le,be)=>{K(W%4==0,"Pointer passed to UTF32ToString must be aligned to four bytes!");for(var Ve="",nt=W>>>2,vt=0;!(vt>=le/4);vt++){var Nt=Ct[nt+vt>>>0];if(!Nt&&!be)break;Ve+=String.fromCodePoint(Nt)}return Ve},Ea=(W,le,be)=>{if(le>>>=0,K(le%4==0,"Pointer passed to stringToUTF32 must be aligned to four bytes!"),K(typeof be=="number","stringToUTF32(str, outPtr, maxBytesToWrite) is missing the third parameter that specifies the length of the output buffer!"),be??=2147483647,be<4)return 0;for(var Ve=le,nt=Ve+be-4,vt=0;vt<W.length;++vt){var Nt=W.codePointAt(vt);if(Nt>65535&&vt++,Zt[le>>>2>>>0]=Nt,le+=4,le+4>nt)break}return Zt[le>>>2>>>0]=0,le-Ve},_E=W=>{for(var le=0,be=0;be<W.length;++be){var Ve=W.codePointAt(be);Ve>65535&&be++,le+=4}return le};function j3(W,le,be){W>>>=0,le>>>=0,be>>>=0,be=ao(be);var Ve,nt,vt;le===2?(Ve=NE,nt=H1,vt=kl):(K(le===4,"only 2-byte and 4-byte strings are currently supported"),Ve=Ru,nt=Ea,vt=_E),mo(W,{name:be,fromWireType:Nt=>{var xt=Ct[Nt>>>2>>>0],Jt=Ve(Nt+4,xt*le,!0);return C0(Nt),Jt},toWireType:(Nt,xt)=>{typeof xt!="string"&&Yn(`Cannot pass non-string to C++ string type ${be}`);var Jt=vt(xt),k=qE(4+Jt+le);return Ct[k>>>2>>>0]=Jt/le,nt(xt,k+4,Jt+le),Nt!==null&&Nt.push(C0,k),k},readValueFromPointer:wi,destructorFunction(Nt){C0(Nt)}})}function q3(W,le,be,Ve,nt,vt){W>>>=0,le>>>=0,be>>>=0,Ve>>>=0,nt>>>=0,vt>>>=0,kt[W]={name:ao(le),rawConstructor:ls(be,Ve),rawDestructor:ls(nt,vt),elements:[]}}function II(W,le,be,Ve,nt,vt,Nt,xt,Jt){W>>>=0,le>>>=0,be>>>=0,Ve>>>=0,nt>>>=0,vt>>>=0,Nt>>>=0,xt>>>=0,Jt>>>=0,kt[W].elements.push({getterReturnType:le,getter:ls(be,Ve),getterContext:nt,setterArgumentType:vt,setter:ls(Nt,xt),setterContext:Jt})}function $3(W,le,be,Ve,nt,vt){W>>>=0,le>>>=0,be>>>=0,Ve>>>=0,nt>>>=0,vt>>>=0,Wo[W]={name:ao(le),rawConstructor:ls(be,Ve),rawDestructor:ls(nt,vt),fields:[]}}function i4(W,le,be,Ve,nt,vt,Nt,xt,Jt,k){W>>>=0,le>>>=0,be>>>=0,Ve>>>=0,nt>>>=0,vt>>>=0,Nt>>>=0,xt>>>=0,Jt>>>=0,k>>>=0,Wo[W].fields.push({fieldName:ao(le),getterReturnType:be,getter:ls(Ve,nt),getterContext:vt,setterArgumentType:Nt,setter:ls(xt,Jt),setterContext:k})}var Z3=function(W,le){W>>>=0,le>>>=0,le=ao(le),mo(W,{isVoid:!0,name:le,fromWireType:()=>{},toWireType:(be,Ve)=>{}})},DE=0,n4=()=>{mi=!1,DE=0},CE=[],s4=W=>{var le=CE.length;return CE.push(W),le},o4=(W,le)=>{var be=Fi[W];return be===void 0&&Yn(`${le} has unknown type ${Tr(W)}`),be},r4=(W,le)=>{for(var be=new Array(W),Ve=0;Ve<W;++Ve)be[Ve]=o4(Ct[le+Ve*4>>>2>>>0],`parameter ${Ve}`);return be},l4=(W,le,be)=>{var Ve=[],nt=W(Ve,be);return Ve.length&&(Ct[le>>>2>>>0]=io.toHandle(Ve)),nt},a4={},xE=W=>{var le=a4[W];return le===void 0?ao(W):le},u4=function(W,le,be){le>>>=0;var Ve=8,[nt,...vt]=r4(W,le),Nt=nt.toWireType.bind(nt),xt=vt.map(we=>we.readValueFromPointer.bind(we));W--;var Jt=new Array(W),k=(we,xe,Ke,yt)=>{for(var gt=0,Rt=0;Rt<W;++Rt)Jt[Rt]=xt[Rt](yt+gt),gt+=Ve;var $t;switch(be){case 0:$t=io.toValue(we).apply(null,Jt);break;case 2:$t=Reflect.construct(io.toValue(we),Jt);break;case 3:$t=Jt[0];break;case 1:$t=io.toValue(we)[xE(xe)](...Jt);break}return l4(Nt,Ke,$t)},X=`methodCaller<(${vt.map(we=>we.name)}) => ${nt.name}>`;return s4(En(X,k))};function c4(W){return W>>>=0,W?(W=xE(W),io.toHandle(globalThis[W])):io.toHandle(globalThis)}function d4(W,le){return W>>>=0,le>>>=0,W=io.toValue(W),le=io.toValue(le),io.toHandle(W[le])}function h4(W){W>>>=0,W>9&&(to[W+1]+=1)}function K3(W,le){return W>>>=0,le>>>=0,W=io.toValue(W),le=io.toValue(le),W instanceof le}function f4(W,le,be,Ve,nt){return W>>>=0,le>>>=0,be>>>=0,Ve>>>=0,nt>>>=0,CE[W](le,be,Ve,nt)}function OE(W){return W>>>=0,W=io.toValue(W),typeof W=="number"}function p4(W){return W>>>=0,W=io.toValue(W),typeof W=="string"}function LE(){return io.toHandle([])}function G1(W){return W>>>=0,io.toHandle(xE(W))}function I4(){return io.toHandle({})}function PE(W){W>>>=0;var le=io.toValue(W);Gi(le),Jf(W)}function m4(W,le,be){W>>>=0,le>>>=0,be>>>=0,W=io.toValue(W),le=io.toValue(le),be=io.toValue(be),W[le]=be}function y4(W,le){W=dn(W),le>>>=0;var be=new Date(W*1e3);Zt[le>>>2>>>0]=be.getUTCSeconds(),Zt[le+4>>>2>>>0]=be.getUTCMinutes(),Zt[le+8>>>2>>>0]=be.getUTCHours(),Zt[le+12>>>2>>>0]=be.getUTCDate(),Zt[le+16>>>2>>>0]=be.getUTCMonth(),Zt[le+20>>>2>>>0]=be.getUTCFullYear()-1900,Zt[le+24>>>2>>>0]=be.getUTCDay();var Ve=Date.UTC(be.getUTCFullYear(),0,1,0,0,0,0),nt=(be.getTime()-Ve)/(1e3*60*60*24)|0;Zt[le+28>>>2>>>0]=nt}var E4=W=>W%4===0&&(W%100!==0||W%400===0),T4=[0,31,60,91,121,152,182,213,244,274,305,335],ME=[0,31,59,90,120,151,181,212,243,273,304,334],g4=W=>{var le=E4(W.getFullYear()),be=le?T4:ME,Ve=be[W.getMonth()]+W.getDate()-1;return Ve};function w4(W,le){W=dn(W),le>>>=0;var be=new Date(W*1e3);Zt[le>>>2>>>0]=be.getSeconds(),Zt[le+4>>>2>>>0]=be.getMinutes(),Zt[le+8>>>2>>>0]=be.getHours(),Zt[le+12>>>2>>>0]=be.getDate(),Zt[le+16>>>2>>>0]=be.getMonth(),Zt[le+20>>>2>>>0]=be.getFullYear()-1900,Zt[le+24>>>2>>>0]=be.getDay();var Ve=g4(be)|0;Zt[le+28>>>2>>>0]=Ve,Zt[le+36>>>2>>>0]=-(be.getTimezoneOffset()*60);var nt=new Date(be.getFullYear(),0,1),vt=new Date(be.getFullYear(),6,1).getTimezoneOffset(),Nt=nt.getTimezoneOffset(),xt=(vt!=Nt&&be.getTimezoneOffset()==Math.min(Nt,vt))|0;Zt[le+32>>>2>>>0]=xt}var mI={},Q3=W=>{if(W instanceof ri||W=="unwind")return ne;he(),W instanceof WebAssembly.RuntimeError&&q1()<=0&&P("Stack overflow detected. You can try increasing -sSTACK_SIZE (currently set to 5242880)"),y(1,W)},BE=()=>mi||DE>0,V1=W=>{ne=W,BE()||(r.onExit?.(W),Z=!0),y(W,new ri(W))},v4=(W,le)=>{if(ne=W,ug(),BE()&&!le){var be=`program exited (with status: ${W}), but keepRuntimeAlive() is set (counter=${DE}) due to an async operation, so halting execution but not exiting the runtime or preventing further async execution (you can use emscripten_force_exit, if you want to force a true shutdown)`;$e?.(be),P(be)}V1(W)},R4=v4,S4=()=>{if(!BE())try{R4(ne)}catch(W){Q3(W)}},A4=W=>{if(Z){P("user callback triggered after runtime exited or application aborted. Ignoring.");return}try{W(),S4()}catch(le){Q3(le)}},J3=()=>performance.now(),b4=(W,le)=>{if(mI[W]&&(clearTimeout(mI[W].id),delete mI[W]),!le)return 0;var be=setTimeout(()=>{K(W in mI),delete mI[W],A4(()=>$E(W,J3()))},le);return mI[W]={id:be,timeout_ms:le},0},N4=function(W,le,be,Ve){W>>>=0,le>>>=0,be>>>=0,Ve>>>=0;var nt=new Date().getFullYear(),vt=new Date(nt,0,1),Nt=new Date(nt,6,1),xt=vt.getTimezoneOffset(),Jt=Nt.getTimezoneOffset(),k=Math.max(xt,Jt);Ct[W>>>2>>>0]=k*60,Zt[le>>>2>>>0]=+(xt!=Jt);var X=Ke=>{var yt=Ke>=0?"-":"+",gt=Math.abs(Ke),Rt=String(Math.floor(gt/60)).padStart(2,"0"),$t=String(gt%60).padStart(2,"0");return`UTC${yt}${Rt}${$t}`},we=X(xt),xe=X(Jt);K(we),K(xe),K(An(we)<=16,`timezone name truncated to fit in TZNAME_MAX (${we})`),K(An(xe)<=16,`timezone name truncated to fit in TZNAME_MAX (${xe})`),Jt<xt?(Wn(we,be,17),Wn(xe,Ve,17)):(Wn(we,Ve,17),Wn(xe,be,17))},_4=()=>Date.now(),D4=1,C4=W=>W>=0&&W<=3;function x4(W,le,be){if(le=dn(le),be>>>=0,!C4(W))return 28;var Ve;if(W===0)Ve=_4();else if(D4)Ve=J3();else return 52;var nt=Math.round(Ve*1e3*1e3);return Vt[be>>>3>>>0]=BigInt(nt),0}var O4=()=>4294901760,L4=(W,le)=>(K(le,"alignment argument is required"),Math.ceil(W/le)*le),P4=W=>{var le=lh.buffer.byteLength,be=(W-le+65535)/65536|0;try{return lh.grow(be),jt(),1}catch(Ve){P(`growMemory: Attempted to grow heap from ${le} bytes to ${W} bytes, but got error: ${Ve}`)}};function M4(W){W>>>=0;var le=It.length;K(W>le);var be=O4();if(W>be)return P(`Cannot enlarge memory, requested ${W} bytes, but the limit is ${be} bytes!`),!1;for(var Ve=1;Ve<=4;Ve*=2){var nt=le*(1+.2/Ve);nt=Math.min(nt,W+100663296);var vt=Math.min(be,L4(Math.max(W,nt),65536)),Nt=P4(vt);if(Nt)return!0}return P(`Failed to grow the heap from ${le} bytes to ${vt} bytes, not enough memory!`),!1}var FE={},B4=()=>m||"./this.program",um=()=>{if(!um.strings){var W=(globalThis.navigator?.language??"C").replace("-","_")+".UTF-8",le={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:W,_:B4()};for(var be in FE)FE[be]===void 0?delete le[be]:le[be]=FE[be];var Ve=[];for(var be in le)Ve.push(`${be}=${le[be]}`);um.strings=Ve}return um.strings};function F4(W,le){W>>>=0,le>>>=0;var be=0,Ve=0;for(var nt of um()){var vt=le+be;Ct[W+Ve>>>2>>>0]=vt,be+=Wn(nt,vt,1/0)+1,Ve+=4}return 0}function cm(W,le){W>>>=0,le>>>=0;var be=um();Ct[W>>>2>>>0]=be.length;var Ve=0;for(var nt of be)Ve+=An(nt)+1;return Ct[le>>>2>>>0]=Ve,0}var qs={isAbs:W=>W.charAt(0)==="/",splitPath:W=>{var le=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/;return le.exec(W).slice(1)},normalizeArray:(W,le)=>{for(var be=0,Ve=W.length-1;Ve>=0;Ve--){var nt=W[Ve];nt==="."?W.splice(Ve,1):nt===".."?(W.splice(Ve,1),be++):be&&(W.splice(Ve,1),be--)}if(le)for(;be;be--)W.unshift("..");return W},normalize:W=>{var le=qs.isAbs(W),be=W.slice(-1)==="/";return W=qs.normalizeArray(W.split("/").filter(Ve=>!!Ve),!le).join("/"),!W&&!le&&(W="."),W&&be&&(W+="/"),(le?"/":"")+W},dirname:W=>{var le=qs.splitPath(W),be=le[0],Ve=le[1];return!be&&!Ve?".":(Ve&&(Ve=Ve.slice(0,-1)),be+Ve)},basename:W=>W&&W.match(/([^\/]+|\/)\/*$/)[1],join:(...W)=>qs.normalize(W.join("/")),join2:(W,le)=>qs.normalize(W+"/"+le)},X3=()=>W=>crypto.getRandomValues(W),UE=W=>{(UE=X3())(W)},yI={resolve:(...W)=>{for(var le="",be=!1,Ve=W.length-1;Ve>=-1&&!be;Ve--){var nt=Ve>=0?W[Ve]:st.cwd();if(typeof nt!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!nt)return"";le=nt+"/"+le,be=qs.isAbs(nt)}return le=qs.normalizeArray(le.split("/").filter(vt=>!!vt),!be).join("/"),(be?"/":"")+le||"."},relative:(W,le)=>{W=yI.resolve(W).slice(1),le=yI.resolve(le).slice(1);function be(k){for(var X=0;X<k.length&&k[X]==="";X++);for(var we=k.length-1;we>=0&&k[we]==="";we--);return X>we?[]:k.slice(X,we-X+1)}for(var Ve=be(W.split("/")),nt=be(le.split("/")),vt=Math.min(Ve.length,nt.length),Nt=vt,xt=0;xt<vt;xt++)if(Ve[xt]!==nt[xt]){Nt=xt;break}for(var Jt=[],xt=Nt;xt<Ve.length;xt++)Jt.push("..");return Jt=Jt.concat(nt.slice(Nt)),Jt.join("/")}},HE=[],GE=(W,le,be)=>{var Ve=be>0?be:An(W)+1,nt=new Array(Ve),vt=Cn(W,nt,0,nt.length);return le&&(nt.length=vt),nt},U4=()=>{if(!HE.length){var W=null;if(globalThis.window?.prompt&&(W=window.prompt("Input: "),W!==null&&(W+=`
|
||
`)),!W)return null;HE=GE(W,!0)}return HE.shift()},oh={ttys:[],init(){},shutdown(){},register(W,le){oh.ttys[W]={input:[],output:[],ops:le},st.registerDevice(W,oh.stream_ops)},stream_ops:{open(W){var le=oh.ttys[W.node.rdev];if(!le)throw new st.ErrnoError(43);W.tty=le,W.seekable=!1},close(W){W.tty.ops.fsync(W.tty)},fsync(W){W.tty.ops.fsync(W.tty)},read(W,le,be,Ve,nt){if(!W.tty||!W.tty.ops.get_char)throw new st.ErrnoError(60);for(var vt=0,Nt=0;Nt<Ve;Nt++){var xt;try{xt=W.tty.ops.get_char(W.tty)}catch{throw new st.ErrnoError(29)}if(xt===void 0&&vt===0)throw new st.ErrnoError(6);if(xt==null)break;vt++,le[be+Nt]=xt}return vt&&(W.node.atime=Date.now()),vt},write(W,le,be,Ve,nt){if(!W.tty||!W.tty.ops.put_char)throw new st.ErrnoError(60);try{for(var vt=0;vt<Ve;vt++)W.tty.ops.put_char(W.tty,le[be+vt])}catch{throw new st.ErrnoError(29)}return Ve&&(W.node.mtime=W.node.ctime=Date.now()),vt}},default_tty_ops:{get_char(W){return U4()},put_char(W,le){le===null||le===10?(O(Yo(W.output)),W.output=[]):le!=0&&W.output.push(le)},fsync(W){W.output?.length>0&&(O(Yo(W.output)),W.output=[])},ioctl_tcgets(W){return{c_iflag:25856,c_oflag:5,c_cflag:191,c_lflag:35387,c_cc:[3,28,127,21,4,0,1,0,17,19,26,0,18,15,23,22,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]}},ioctl_tcsets(W,le,be){return 0},ioctl_tiocgwinsz(W){return[24,80]}},default_tty1_ops:{put_char(W,le){le===null||le===10?(P(Yo(W.output)),W.output=[]):le!=0&&W.output.push(le)},fsync(W){W.output?.length>0&&(P(Yo(W.output)),W.output=[])}}},eg=W=>{Ue("internal error: mmapAlloc called but `emscripten_builtin_memalign` native symbol not exported")},fs={ops_table:null,mount(W){return fs.createNode(null,"/",16895,0)},createNode(W,le,be,Ve){if(st.isBlkdev(be)||st.isFIFO(be))throw new st.ErrnoError(63);fs.ops_table||={dir:{node:{getattr:fs.node_ops.getattr,setattr:fs.node_ops.setattr,lookup:fs.node_ops.lookup,mknod:fs.node_ops.mknod,rename:fs.node_ops.rename,unlink:fs.node_ops.unlink,rmdir:fs.node_ops.rmdir,readdir:fs.node_ops.readdir,symlink:fs.node_ops.symlink},stream:{llseek:fs.stream_ops.llseek}},file:{node:{getattr:fs.node_ops.getattr,setattr:fs.node_ops.setattr},stream:{llseek:fs.stream_ops.llseek,read:fs.stream_ops.read,write:fs.stream_ops.write,mmap:fs.stream_ops.mmap,msync:fs.stream_ops.msync}},link:{node:{getattr:fs.node_ops.getattr,setattr:fs.node_ops.setattr,readlink:fs.node_ops.readlink},stream:{}},chrdev:{node:{getattr:fs.node_ops.getattr,setattr:fs.node_ops.setattr},stream:st.chrdev_stream_ops}};var nt=st.createNode(W,le,be,Ve);return st.isDir(nt.mode)?(nt.node_ops=fs.ops_table.dir.node,nt.stream_ops=fs.ops_table.dir.stream,nt.contents={}):st.isFile(nt.mode)?(nt.node_ops=fs.ops_table.file.node,nt.stream_ops=fs.ops_table.file.stream,nt.usedBytes=0,nt.contents=null):st.isLink(nt.mode)?(nt.node_ops=fs.ops_table.link.node,nt.stream_ops=fs.ops_table.link.stream):st.isChrdev(nt.mode)&&(nt.node_ops=fs.ops_table.chrdev.node,nt.stream_ops=fs.ops_table.chrdev.stream),nt.atime=nt.mtime=nt.ctime=Date.now(),W&&(W.contents[le]=nt,W.atime=W.mtime=W.ctime=nt.atime),nt},getFileDataAsTypedArray(W){return W.contents?W.contents.subarray?W.contents.subarray(0,W.usedBytes):new Uint8Array(W.contents):new Uint8Array(0)},expandFileStorage(W,le){var be=W.contents?W.contents.length:0;if(!(be>=le)){var Ve=1024*1024;le=Math.max(le,be*(be<Ve?2:1.125)>>>0),be!=0&&(le=Math.max(le,256));var nt=W.contents;W.contents=new Uint8Array(le),W.usedBytes>0&&W.contents.set(nt.subarray(0,W.usedBytes),0)}},resizeFileStorage(W,le){if(W.usedBytes!=le)if(le==0)W.contents=null,W.usedBytes=0;else{var be=W.contents;W.contents=new Uint8Array(le),be&&W.contents.set(be.subarray(0,Math.min(le,W.usedBytes))),W.usedBytes=le}},node_ops:{getattr(W){var le={};return le.dev=st.isChrdev(W.mode)?W.id:1,le.ino=W.id,le.mode=W.mode,le.nlink=1,le.uid=0,le.gid=0,le.rdev=W.rdev,st.isDir(W.mode)?le.size=4096:st.isFile(W.mode)?le.size=W.usedBytes:st.isLink(W.mode)?le.size=W.link.length:le.size=0,le.atime=new Date(W.atime),le.mtime=new Date(W.mtime),le.ctime=new Date(W.ctime),le.blksize=4096,le.blocks=Math.ceil(le.size/le.blksize),le},setattr(W,le){for(let be of["mode","atime","mtime","ctime"])le[be]!=null&&(W[be]=le[be]);le.size!==void 0&&fs.resizeFileStorage(W,le.size)},lookup(W,le){throw new st.ErrnoError(44)},mknod(W,le,be,Ve){return fs.createNode(W,le,be,Ve)},rename(W,le,be){var Ve;try{Ve=st.lookupNode(le,be)}catch{}if(Ve){if(st.isDir(W.mode))for(var nt in Ve.contents)throw new st.ErrnoError(55);st.hashRemoveNode(Ve)}delete W.parent.contents[W.name],le.contents[be]=W,W.name=be,le.ctime=le.mtime=W.parent.ctime=W.parent.mtime=Date.now()},unlink(W,le){delete W.contents[le],W.ctime=W.mtime=Date.now()},rmdir(W,le){var be=st.lookupNode(W,le);for(var Ve in be.contents)throw new st.ErrnoError(55);delete W.contents[le],W.ctime=W.mtime=Date.now()},readdir(W){return[".","..",...Object.keys(W.contents)]},symlink(W,le,be){var Ve=fs.createNode(W,le,41471,0);return Ve.link=be,Ve},readlink(W){if(!st.isLink(W.mode))throw new st.ErrnoError(28);return W.link}},stream_ops:{read(W,le,be,Ve,nt){var vt=W.node.contents;if(nt>=W.node.usedBytes)return 0;var Nt=Math.min(W.node.usedBytes-nt,Ve);if(K(Nt>=0),Nt>8&&vt.subarray)le.set(vt.subarray(nt,nt+Nt),be);else for(var xt=0;xt<Nt;xt++)le[be+xt]=vt[nt+xt];return Nt},write(W,le,be,Ve,nt,vt){if(K(!(le instanceof ArrayBuffer)),le.buffer===ke.buffer&&(vt=!1),!Ve)return 0;var Nt=W.node;if(Nt.mtime=Nt.ctime=Date.now(),le.subarray&&(!Nt.contents||Nt.contents.subarray)){if(vt)return K(nt===0,"canOwn must imply no weird position inside the file"),Nt.contents=le.subarray(be,be+Ve),Nt.usedBytes=Ve,Ve;if(Nt.usedBytes===0&&nt===0)return Nt.contents=le.slice(be,be+Ve),Nt.usedBytes=Ve,Ve;if(nt+Ve<=Nt.usedBytes)return Nt.contents.set(le.subarray(be,be+Ve),nt),Ve}if(fs.expandFileStorage(Nt,nt+Ve),Nt.contents.subarray&&le.subarray)Nt.contents.set(le.subarray(be,be+Ve),nt);else for(var xt=0;xt<Ve;xt++)Nt.contents[nt+xt]=le[be+xt];return Nt.usedBytes=Math.max(Nt.usedBytes,nt+Ve),Ve},llseek(W,le,be){var Ve=le;if(be===1?Ve+=W.position:be===2&&st.isFile(W.node.mode)&&(Ve+=W.node.usedBytes),Ve<0)throw new st.ErrnoError(28);return Ve},mmap(W,le,be,Ve,nt){if(!st.isFile(W.node.mode))throw new st.ErrnoError(43);var vt,Nt,xt=W.node.contents;if(!(nt&2)&&xt&&xt.buffer===ke.buffer)Nt=!1,vt=xt.byteOffset;else{if(Nt=!0,vt=eg(le),!vt)throw new st.ErrnoError(48);xt&&((be>0||be+le<xt.length)&&(xt.subarray?xt=xt.subarray(be,be+le):xt=Array.prototype.slice.call(xt,be,be+le)),ke.set(xt,vt>>>0))}return{ptr:vt,allocated:Nt}},msync(W,le,be,Ve,nt){return fs.stream_ops.write(W,le,0,Ve,be,!1),0}}},H4=W=>{var le={r:0,"r+":2,w:577,"w+":578,a:1089,"a+":1090},be=le[W];if(typeof be>"u")throw new Error(`Unknown file open mode: ${W}`);return be},VE=(W,le)=>{var be=0;return W&&(be|=365),le&&(be|=146),be},G4=W=>ya(Y1(W)),tg={EPERM:63,ENOENT:44,ESRCH:71,EINTR:27,EIO:29,ENXIO:60,E2BIG:1,ENOEXEC:45,EBADF:8,ECHILD:12,EAGAIN:6,EWOULDBLOCK:6,ENOMEM:48,EACCES:2,EFAULT:21,ENOTBLK:105,EBUSY:10,EEXIST:20,EXDEV:75,ENODEV:43,ENOTDIR:54,EISDIR:31,EINVAL:28,ENFILE:41,EMFILE:33,ENOTTY:59,ETXTBSY:74,EFBIG:22,ENOSPC:51,ESPIPE:70,EROFS:69,EMLINK:34,EPIPE:64,EDOM:18,ERANGE:68,ENOMSG:49,EIDRM:24,ECHRNG:106,EL2NSYNC:156,EL3HLT:107,EL3RST:108,ELNRNG:109,EUNATCH:110,ENOCSI:111,EL2HLT:112,EDEADLK:16,ENOLCK:46,EBADE:113,EBADR:114,EXFULL:115,ENOANO:104,EBADRQC:103,EBADSLT:102,EDEADLOCK:16,EBFONT:101,ENOSTR:100,ENODATA:116,ETIME:117,ENOSR:118,ENONET:119,ENOPKG:120,EREMOTE:121,ENOLINK:47,EADV:122,ESRMNT:123,ECOMM:124,EPROTO:65,EMULTIHOP:36,EDOTDOT:125,EBADMSG:9,ENOTUNIQ:126,EBADFD:127,EREMCHG:128,ELIBACC:129,ELIBBAD:130,ELIBSCN:131,ELIBMAX:132,ELIBEXEC:133,ENOSYS:52,ENOTEMPTY:55,ENAMETOOLONG:37,ELOOP:32,EOPNOTSUPP:138,EPFNOSUPPORT:139,ECONNRESET:15,ENOBUFS:42,EAFNOSUPPORT:5,EPROTOTYPE:67,ENOTSOCK:57,ENOPROTOOPT:50,ESHUTDOWN:140,ECONNREFUSED:14,EADDRINUSE:3,ECONNABORTED:13,ENETUNREACH:40,ENETDOWN:38,ETIMEDOUT:73,EHOSTDOWN:142,EHOSTUNREACH:23,EINPROGRESS:26,EALREADY:7,EDESTADDRREQ:17,EMSGSIZE:35,EPROTONOSUPPORT:66,ESOCKTNOSUPPORT:137,EADDRNOTAVAIL:4,ENETRESET:39,EISCONN:30,ENOTCONN:53,ETOOMANYREFS:141,EUSERS:136,EDQUOT:19,ESTALE:72,ENOTSUP:138,ENOMEDIUM:148,EILSEQ:25,EOVERFLOW:61,ECANCELED:11,ENOTRECOVERABLE:56,EOWNERDEAD:62,ESTRPIPE:135},kE=async W=>{var le=await b(W);return K(le,`Loading data file "${W}" failed (no arrayBuffer).`),new Uint8Array(le)},V4=(...W)=>st.createDataFile(...W),dm=W=>{for(var le=W;;){if(!Ls[W])return W;W=le+Math.random()}},tf=0,EI=null,Ls={},tp=null,zE=W=>{if(tf--,r.monitorRunDependencies?.(tf),K(W,"removeRunDependency requires an ID"),K(Ls[W]),delete Ls[W],tf==0&&(tp!==null&&(clearInterval(tp),tp=null),EI)){var le=EI;EI=null,le()}},TI=W=>{tf++,r.monitorRunDependencies?.(tf),K(W,"addRunDependency requires an ID"),K(!Ls[W]),Ls[W]=1,tp===null&&globalThis.setInterval&&(tp=setInterval(()=>{if(Z){clearInterval(tp),tp=null;return}var le=!1;for(var be in Ls)le||(le=!0,P("still waiting on run dependencies:")),P(`dependency: ${be}`);le&&P("(end of list)")},1e4))},k1=[],WE=async(W,le)=>{typeof Browser<"u"&&Browser.init();for(var be of k1)if(be.canHandle(le))return K(be.handle.constructor.name==="AsyncFunction","Filesystem plugin handlers must be async functions (See #24914)"),be.handle(W,le);return W},ig=async(W,le,be,Ve,nt,vt,Nt,xt)=>{var Jt=le?yI.resolve(qs.join2(W,le)):W,k=dm(`cp ${Jt}`);TI(k);try{var X=be;typeof be=="string"&&(X=await kE(be)),X=await WE(X,Jt),xt?.(),vt||V4(W,le,X,Ve,nt,Nt)}finally{zE(k)}},nf=(W,le,be,Ve,nt,vt,Nt,xt,Jt,k)=>{ig(W,le,be,Ve,nt,xt,Jt,k).then(vt).catch(Nt)},st={root:null,mounts:[],devices:{},streams:[],nextInode:1,nameTable:null,currentPath:"/",initialized:!1,ignorePermissions:!0,filesystems:null,syncFSRequests:0,readFiles:{},ErrnoError:class extends Error{name="ErrnoError";constructor(W){super(ui?G4(W):""),this.errno=W;for(var le in tg)if(tg[le]===W){this.code=le;break}}},FSStream:class{shared={};get object(){return this.node}set object(W){this.node=W}get isRead(){return(this.flags&2097155)!==1}get isWrite(){return(this.flags&2097155)!==0}get isAppend(){return this.flags&1024}get flags(){return this.shared.flags}set flags(W){this.shared.flags=W}get position(){return this.shared.position}set position(W){this.shared.position=W}},FSNode:class{node_ops={};stream_ops={};readMode=365;writeMode=146;mounted=null;constructor(W,le,be,Ve){W||(W=this),this.parent=W,this.mount=W.mount,this.id=st.nextInode++,this.name=le,this.mode=be,this.rdev=Ve,this.atime=this.mtime=this.ctime=Date.now()}get read(){return(this.mode&this.readMode)===this.readMode}set read(W){W?this.mode|=this.readMode:this.mode&=~this.readMode}get write(){return(this.mode&this.writeMode)===this.writeMode}set write(W){W?this.mode|=this.writeMode:this.mode&=~this.writeMode}get isFolder(){return st.isDir(this.mode)}get isDevice(){return st.isChrdev(this.mode)}},lookupPath(W,le={}){if(!W)throw new st.ErrnoError(44);le.follow_mount??=!0,qs.isAbs(W)||(W=st.cwd()+"/"+W);e:for(var be=0;be<40;be++){for(var Ve=W.split("/").filter(k=>!!k),nt=st.root,vt="/",Nt=0;Nt<Ve.length;Nt++){var xt=Nt===Ve.length-1;if(xt&&le.parent)break;if(Ve[Nt]!=="."){if(Ve[Nt]===".."){if(vt=qs.dirname(vt),st.isRoot(nt)){W=vt+"/"+Ve.slice(Nt+1).join("/"),be--;continue e}else nt=nt.parent;continue}vt=qs.join2(vt,Ve[Nt]);try{nt=st.lookupNode(nt,Ve[Nt])}catch(k){if(k?.errno===44&&xt&&le.noent_okay)return{path:vt};throw k}if(st.isMountpoint(nt)&&(!xt||le.follow_mount)&&(nt=nt.mounted.root),st.isLink(nt.mode)&&(!xt||le.follow)){if(!nt.node_ops.readlink)throw new st.ErrnoError(52);var Jt=nt.node_ops.readlink(nt);qs.isAbs(Jt)||(Jt=qs.dirname(vt)+"/"+Jt),W=Jt+"/"+Ve.slice(Nt+1).join("/");continue e}}}return{path:vt,node:nt}}throw new st.ErrnoError(32)},getPath(W){for(var le;;){if(st.isRoot(W)){var be=W.mount.mountpoint;return le?be[be.length-1]!=="/"?`${be}/${le}`:be+le:be}le=le?`${W.name}/${le}`:W.name,W=W.parent}},hashName(W,le){for(var be=0,Ve=0;Ve<le.length;Ve++)be=(be<<5)-be+le.charCodeAt(Ve)|0;return(W+be>>>0)%st.nameTable.length},hashAddNode(W){var le=st.hashName(W.parent.id,W.name);W.name_next=st.nameTable[le],st.nameTable[le]=W},hashRemoveNode(W){var le=st.hashName(W.parent.id,W.name);if(st.nameTable[le]===W)st.nameTable[le]=W.name_next;else for(var be=st.nameTable[le];be;){if(be.name_next===W){be.name_next=W.name_next;break}be=be.name_next}},lookupNode(W,le){var be=st.mayLookup(W);if(be)throw new st.ErrnoError(be);for(var Ve=st.hashName(W.id,le),nt=st.nameTable[Ve];nt;nt=nt.name_next){var vt=nt.name;if(nt.parent.id===W.id&&vt===le)return nt}return st.lookup(W,le)},createNode(W,le,be,Ve){K(typeof W=="object");var nt=new st.FSNode(W,le,be,Ve);return st.hashAddNode(nt),nt},destroyNode(W){st.hashRemoveNode(W)},isRoot(W){return W===W.parent},isMountpoint(W){return!!W.mounted},isFile(W){return(W&61440)===32768},isDir(W){return(W&61440)===16384},isLink(W){return(W&61440)===40960},isChrdev(W){return(W&61440)===8192},isBlkdev(W){return(W&61440)===24576},isFIFO(W){return(W&61440)===4096},isSocket(W){return(W&49152)===49152},flagsToPermissionString(W){var le=["r","w","rw"][W&3];return W&512&&(le+="w"),le},nodePermissions(W,le){return st.ignorePermissions?0:le.includes("r")&&!(W.mode&292)||le.includes("w")&&!(W.mode&146)||le.includes("x")&&!(W.mode&73)?2:0},mayLookup(W){if(!st.isDir(W.mode))return 54;var le=st.nodePermissions(W,"x");return le||(W.node_ops.lookup?0:2)},mayCreate(W,le){if(!st.isDir(W.mode))return 54;try{var be=st.lookupNode(W,le);return 20}catch{}return st.nodePermissions(W,"wx")},mayDelete(W,le,be){var Ve;try{Ve=st.lookupNode(W,le)}catch(vt){return vt.errno}var nt=st.nodePermissions(W,"wx");if(nt)return nt;if(be){if(!st.isDir(Ve.mode))return 54;if(st.isRoot(Ve)||st.getPath(Ve)===st.cwd())return 10}else if(st.isDir(Ve.mode))return 31;return 0},mayOpen(W,le){return W?st.isLink(W.mode)?32:st.isDir(W.mode)&&(st.flagsToPermissionString(le)!=="r"||le&576)?31:st.nodePermissions(W,st.flagsToPermissionString(le)):44},checkOpExists(W,le){if(!W)throw new st.ErrnoError(le);return W},MAX_OPEN_FDS:4096,nextfd(){for(var W=0;W<=st.MAX_OPEN_FDS;W++)if(!st.streams[W])return W;throw new st.ErrnoError(33)},getStreamChecked(W){var le=st.getStream(W);if(!le)throw new st.ErrnoError(8);return le},getStream:W=>st.streams[W],createStream(W,le=-1){return K(le>=-1),W=Object.assign(new st.FSStream,W),le==-1&&(le=st.nextfd()),W.fd=le,st.streams[le]=W,W},closeStream(W){st.streams[W]=null},dupStream(W,le=-1){var be=st.createStream(W,le);return be.stream_ops?.dup?.(be),be},doSetAttr(W,le,be){var Ve=W?.stream_ops.setattr,nt=Ve?W:le;Ve??=le.node_ops.setattr,st.checkOpExists(Ve,63),Ve(nt,be)},chrdev_stream_ops:{open(W){var le=st.getDevice(W.node.rdev);W.stream_ops=le.stream_ops,W.stream_ops.open?.(W)},llseek(){throw new st.ErrnoError(70)}},major:W=>W>>8,minor:W=>W&255,makedev:(W,le)=>W<<8|le,registerDevice(W,le){st.devices[W]={stream_ops:le}},getDevice:W=>st.devices[W],getMounts(W){for(var le=[],be=[W];be.length;){var Ve=be.pop();le.push(Ve),be.push(...Ve.mounts)}return le},syncfs(W,le){typeof W=="function"&&(le=W,W=!1),st.syncFSRequests++,st.syncFSRequests>1&&P(`warning: ${st.syncFSRequests} FS.syncfs operations in flight at once, probably just doing extra work`);var be=st.getMounts(st.root.mount),Ve=0;function nt(xt){return K(st.syncFSRequests>0),st.syncFSRequests--,le(xt)}function vt(xt){if(xt)return vt.errored?void 0:(vt.errored=!0,nt(xt));++Ve>=be.length&&nt(null)}for(var Nt of be)Nt.type.syncfs?Nt.type.syncfs(Nt,W,vt):vt(null)},mount(W,le,be){if(typeof W=="string")throw W;var Ve=be==="/",nt=!be,vt;if(Ve&&st.root)throw new st.ErrnoError(10);if(!Ve&&!nt){var Nt=st.lookupPath(be,{follow_mount:!1});if(be=Nt.path,vt=Nt.node,st.isMountpoint(vt))throw new st.ErrnoError(10);if(!st.isDir(vt.mode))throw new st.ErrnoError(54)}var xt={type:W,opts:le,mountpoint:be,mounts:[]},Jt=W.mount(xt);return Jt.mount=xt,xt.root=Jt,Ve?st.root=Jt:vt&&(vt.mounted=xt,vt.mount&&vt.mount.mounts.push(xt)),Jt},unmount(W){var le=st.lookupPath(W,{follow_mount:!1});if(!st.isMountpoint(le.node))throw new st.ErrnoError(28);var be=le.node,Ve=be.mounted,nt=st.getMounts(Ve);for(var[vt,Nt]of Object.entries(st.nameTable))for(;Nt;){var xt=Nt.name_next;nt.includes(Nt.mount)&&st.destroyNode(Nt),Nt=xt}be.mounted=null;var Jt=be.mount.mounts.indexOf(Ve);K(Jt!==-1),be.mount.mounts.splice(Jt,1)},lookup(W,le){return W.node_ops.lookup(W,le)},mknod(W,le,be){var Ve=st.lookupPath(W,{parent:!0}),nt=Ve.node,vt=qs.basename(W);if(!vt)throw new st.ErrnoError(28);if(vt==="."||vt==="..")throw new st.ErrnoError(20);var Nt=st.mayCreate(nt,vt);if(Nt)throw new st.ErrnoError(Nt);if(!nt.node_ops.mknod)throw new st.ErrnoError(63);return nt.node_ops.mknod(nt,vt,le,be)},statfs(W){return st.statfsNode(st.lookupPath(W,{follow:!0}).node)},statfsStream(W){return st.statfsNode(W.node)},statfsNode(W){var le={bsize:4096,frsize:4096,blocks:1e6,bfree:5e5,bavail:5e5,files:st.nextInode,ffree:st.nextInode-1,fsid:42,flags:2,namelen:255};return W.node_ops.statfs&&Object.assign(le,W.node_ops.statfs(W.mount.opts.root)),le},create(W,le=438){return le&=4095,le|=32768,st.mknod(W,le,0)},mkdir(W,le=511){return le&=1023,le|=16384,st.mknod(W,le,0)},mkdirTree(W,le){var be=W.split("/"),Ve="";for(var nt of be)if(nt){(Ve||qs.isAbs(W))&&(Ve+="/"),Ve+=nt;try{st.mkdir(Ve,le)}catch(vt){if(vt.errno!=20)throw vt}}},mkdev(W,le,be){return typeof be>"u"&&(be=le,le=438),le|=8192,st.mknod(W,le,be)},symlink(W,le){if(!yI.resolve(W))throw new st.ErrnoError(44);var be=st.lookupPath(le,{parent:!0}),Ve=be.node;if(!Ve)throw new st.ErrnoError(44);var nt=qs.basename(le),vt=st.mayCreate(Ve,nt);if(vt)throw new st.ErrnoError(vt);if(!Ve.node_ops.symlink)throw new st.ErrnoError(63);return Ve.node_ops.symlink(Ve,nt,W)},rename(W,le){var be=qs.dirname(W),Ve=qs.dirname(le),nt=qs.basename(W),vt=qs.basename(le),Nt,xt,Jt;if(Nt=st.lookupPath(W,{parent:!0}),xt=Nt.node,Nt=st.lookupPath(le,{parent:!0}),Jt=Nt.node,!xt||!Jt)throw new st.ErrnoError(44);if(xt.mount!==Jt.mount)throw new st.ErrnoError(75);var k=st.lookupNode(xt,nt),X=yI.relative(W,Ve);if(X.charAt(0)!==".")throw new st.ErrnoError(28);if(X=yI.relative(le,be),X.charAt(0)!==".")throw new st.ErrnoError(55);var we;try{we=st.lookupNode(Jt,vt)}catch{}if(k!==we){var xe=st.isDir(k.mode),Ke=st.mayDelete(xt,nt,xe);if(Ke)throw new st.ErrnoError(Ke);if(Ke=we?st.mayDelete(Jt,vt,xe):st.mayCreate(Jt,vt),Ke)throw new st.ErrnoError(Ke);if(!xt.node_ops.rename)throw new st.ErrnoError(63);if(st.isMountpoint(k)||we&&st.isMountpoint(we))throw new st.ErrnoError(10);if(Jt!==xt&&(Ke=st.nodePermissions(xt,"w"),Ke))throw new st.ErrnoError(Ke);st.hashRemoveNode(k);try{xt.node_ops.rename(k,Jt,vt),k.parent=Jt}catch(yt){throw yt}finally{st.hashAddNode(k)}}},rmdir(W){var le=st.lookupPath(W,{parent:!0}),be=le.node,Ve=qs.basename(W),nt=st.lookupNode(be,Ve),vt=st.mayDelete(be,Ve,!0);if(vt)throw new st.ErrnoError(vt);if(!be.node_ops.rmdir)throw new st.ErrnoError(63);if(st.isMountpoint(nt))throw new st.ErrnoError(10);be.node_ops.rmdir(be,Ve),st.destroyNode(nt)},readdir(W){var le=st.lookupPath(W,{follow:!0}),be=le.node,Ve=st.checkOpExists(be.node_ops.readdir,54);return Ve(be)},unlink(W){var le=st.lookupPath(W,{parent:!0}),be=le.node;if(!be)throw new st.ErrnoError(44);var Ve=qs.basename(W),nt=st.lookupNode(be,Ve),vt=st.mayDelete(be,Ve,!1);if(vt)throw new st.ErrnoError(vt);if(!be.node_ops.unlink)throw new st.ErrnoError(63);if(st.isMountpoint(nt))throw new st.ErrnoError(10);be.node_ops.unlink(be,Ve),st.destroyNode(nt)},readlink(W){var le=st.lookupPath(W),be=le.node;if(!be)throw new st.ErrnoError(44);if(!be.node_ops.readlink)throw new st.ErrnoError(28);return be.node_ops.readlink(be)},stat(W,le){var be=st.lookupPath(W,{follow:!le}),Ve=be.node,nt=st.checkOpExists(Ve.node_ops.getattr,63);return nt(Ve)},fstat(W){var le=st.getStreamChecked(W),be=le.node,Ve=le.stream_ops.getattr,nt=Ve?le:be;return Ve??=be.node_ops.getattr,st.checkOpExists(Ve,63),Ve(nt)},lstat(W){return st.stat(W,!0)},doChmod(W,le,be,Ve){st.doSetAttr(W,le,{mode:be&4095|le.mode&-4096,ctime:Date.now(),dontFollow:Ve})},chmod(W,le,be){var Ve;if(typeof W=="string"){var nt=st.lookupPath(W,{follow:!be});Ve=nt.node}else Ve=W;st.doChmod(null,Ve,le,be)},lchmod(W,le){st.chmod(W,le,!0)},fchmod(W,le){var be=st.getStreamChecked(W);st.doChmod(be,be.node,le,!1)},doChown(W,le,be){st.doSetAttr(W,le,{timestamp:Date.now(),dontFollow:be})},chown(W,le,be,Ve){var nt;if(typeof W=="string"){var vt=st.lookupPath(W,{follow:!Ve});nt=vt.node}else nt=W;st.doChown(null,nt,Ve)},lchown(W,le,be){st.chown(W,le,be,!0)},fchown(W,le,be){var Ve=st.getStreamChecked(W);st.doChown(Ve,Ve.node,!1)},doTruncate(W,le,be){if(st.isDir(le.mode))throw new st.ErrnoError(31);if(!st.isFile(le.mode))throw new st.ErrnoError(28);var Ve=st.nodePermissions(le,"w");if(Ve)throw new st.ErrnoError(Ve);st.doSetAttr(W,le,{size:be,timestamp:Date.now()})},truncate(W,le){if(le<0)throw new st.ErrnoError(28);var be;if(typeof W=="string"){var Ve=st.lookupPath(W,{follow:!0});be=Ve.node}else be=W;st.doTruncate(null,be,le)},ftruncate(W,le){var be=st.getStreamChecked(W);if(le<0||(be.flags&2097155)===0)throw new st.ErrnoError(28);st.doTruncate(be,be.node,le)},utime(W,le,be){var Ve=st.lookupPath(W,{follow:!0}),nt=Ve.node,vt=st.checkOpExists(nt.node_ops.setattr,63);vt(nt,{atime:le,mtime:be})},open(W,le,be=438){if(W==="")throw new st.ErrnoError(44);le=typeof le=="string"?H4(le):le,le&64?be=be&4095|32768:be=0;var Ve,nt;if(typeof W=="object")Ve=W;else{nt=W.endsWith("/");var vt=st.lookupPath(W,{follow:!(le&131072),noent_okay:!0});Ve=vt.node,W=vt.path}var Nt=!1;if(le&64)if(Ve){if(le&128)throw new st.ErrnoError(20)}else{if(nt)throw new st.ErrnoError(31);Ve=st.mknod(W,be|511,0),Nt=!0}if(!Ve)throw new st.ErrnoError(44);if(st.isChrdev(Ve.mode)&&(le&=-513),le&65536&&!st.isDir(Ve.mode))throw new st.ErrnoError(54);if(!Nt){var xt=st.mayOpen(Ve,le);if(xt)throw new st.ErrnoError(xt)}le&512&&!Nt&&st.truncate(Ve,0),le&=-131713;var Jt=st.createStream({node:Ve,path:st.getPath(Ve),flags:le,seekable:!0,position:0,stream_ops:Ve.stream_ops,ungotten:[],error:!1});return Jt.stream_ops.open&&Jt.stream_ops.open(Jt),Nt&&st.chmod(Ve,be&511),r.logReadFiles&&!(le&1)&&(W in st.readFiles||(st.readFiles[W]=1)),Jt},close(W){if(st.isClosed(W))throw new st.ErrnoError(8);W.getdents&&(W.getdents=null);try{W.stream_ops.close&&W.stream_ops.close(W)}catch(le){throw le}finally{st.closeStream(W.fd)}W.fd=null},isClosed(W){return W.fd===null},llseek(W,le,be){if(st.isClosed(W))throw new st.ErrnoError(8);if(!W.seekable||!W.stream_ops.llseek)throw new st.ErrnoError(70);if(be!=0&&be!=1&&be!=2)throw new st.ErrnoError(28);return W.position=W.stream_ops.llseek(W,le,be),W.ungotten=[],W.position},read(W,le,be,Ve,nt){if(K(be>=0),Ve<0||nt<0)throw new st.ErrnoError(28);if(st.isClosed(W))throw new st.ErrnoError(8);if((W.flags&2097155)===1)throw new st.ErrnoError(8);if(st.isDir(W.node.mode))throw new st.ErrnoError(31);if(!W.stream_ops.read)throw new st.ErrnoError(28);var vt=typeof nt<"u";if(!vt)nt=W.position;else if(!W.seekable)throw new st.ErrnoError(70);var Nt=W.stream_ops.read(W,le,be,Ve,nt);return vt||(W.position+=Nt),Nt},write(W,le,be,Ve,nt,vt){if(K(be>=0),Ve<0||nt<0)throw new st.ErrnoError(28);if(st.isClosed(W))throw new st.ErrnoError(8);if((W.flags&2097155)===0)throw new st.ErrnoError(8);if(st.isDir(W.node.mode))throw new st.ErrnoError(31);if(!W.stream_ops.write)throw new st.ErrnoError(28);W.seekable&&W.flags&1024&&st.llseek(W,0,2);var Nt=typeof nt<"u";if(!Nt)nt=W.position;else if(!W.seekable)throw new st.ErrnoError(70);var xt=W.stream_ops.write(W,le,be,Ve,nt,vt);return Nt||(W.position+=xt),xt},mmap(W,le,be,Ve,nt){if((Ve&2)!==0&&(nt&2)===0&&(W.flags&2097155)!==2)throw new st.ErrnoError(2);if((W.flags&2097155)===1)throw new st.ErrnoError(2);if(!W.stream_ops.mmap)throw new st.ErrnoError(43);if(!le)throw new st.ErrnoError(28);return W.stream_ops.mmap(W,le,be,Ve,nt)},msync(W,le,be,Ve,nt){return K(be>=0),W.stream_ops.msync?W.stream_ops.msync(W,le,be,Ve,nt):0},ioctl(W,le,be){if(!W.stream_ops.ioctl)throw new st.ErrnoError(59);return W.stream_ops.ioctl(W,le,be)},readFile(W,le={}){le.flags=le.flags||0,le.encoding=le.encoding||"binary",le.encoding!=="utf8"&&le.encoding!=="binary"&&Ue(`Invalid encoding type "${le.encoding}"`);var be=st.open(W,le.flags),Ve=st.stat(W),nt=Ve.size,vt=new Uint8Array(nt);return st.read(be,vt,0,nt,0),le.encoding==="utf8"&&(vt=Yo(vt)),st.close(be),vt},writeFile(W,le,be={}){be.flags=be.flags||577;var Ve=st.open(W,be.flags,be.mode);typeof le=="string"&&(le=new Uint8Array(GE(le,!0))),ArrayBuffer.isView(le)?st.write(Ve,le,0,le.byteLength,void 0,be.canOwn):Ue("Unsupported data type"),st.close(Ve)},cwd:()=>st.currentPath,chdir(W){var le=st.lookupPath(W,{follow:!0});if(le.node===null)throw new st.ErrnoError(44);if(!st.isDir(le.node.mode))throw new st.ErrnoError(54);var be=st.nodePermissions(le.node,"x");if(be)throw new st.ErrnoError(be);st.currentPath=le.path},createDefaultDirectories(){st.mkdir("/tmp"),st.mkdir("/home"),st.mkdir("/home/web_user")},createDefaultDevices(){st.mkdir("/dev"),st.registerDevice(st.makedev(1,3),{read:()=>0,write:(Ve,nt,vt,Nt,xt)=>Nt,llseek:()=>0}),st.mkdev("/dev/null",st.makedev(1,3)),oh.register(st.makedev(5,0),oh.default_tty_ops),oh.register(st.makedev(6,0),oh.default_tty1_ops),st.mkdev("/dev/tty",st.makedev(5,0)),st.mkdev("/dev/tty1",st.makedev(6,0));var W=new Uint8Array(1024),le=0,be=()=>(le===0&&(UE(W),le=W.byteLength),W[--le]);st.createDevice("/dev","random",be),st.createDevice("/dev","urandom",be),st.mkdir("/dev/shm"),st.mkdir("/dev/shm/tmp")},createSpecialDirectories(){st.mkdir("/proc");var W=st.mkdir("/proc/self");st.mkdir("/proc/self/fd"),st.mount({mount(){var le=st.createNode(W,"fd",16895,73);return le.stream_ops={llseek:fs.stream_ops.llseek},le.node_ops={lookup(be,Ve){var nt=+Ve,vt=st.getStreamChecked(nt),Nt={parent:null,mount:{mountpoint:"fake"},node_ops:{readlink:()=>vt.path},id:nt+1};return Nt.parent=Nt,Nt},readdir(){return Array.from(st.streams.entries()).filter(([be,Ve])=>Ve).map(([be,Ve])=>be.toString())}},le}},{},"/proc/self/fd")},createStandardStreams(W,le,be){W?st.createDevice("/dev","stdin",W):st.symlink("/dev/tty","/dev/stdin"),le?st.createDevice("/dev","stdout",null,le):st.symlink("/dev/tty","/dev/stdout"),be?st.createDevice("/dev","stderr",null,be):st.symlink("/dev/tty1","/dev/stderr");var Ve=st.open("/dev/stdin",0),nt=st.open("/dev/stdout",1),vt=st.open("/dev/stderr",1);K(Ve.fd===0,`invalid handle for stdin (${Ve.fd})`),K(nt.fd===1,`invalid handle for stdout (${nt.fd})`),K(vt.fd===2,`invalid handle for stderr (${vt.fd})`)},staticInit(){st.nameTable=new Array(4096),st.mount(fs,{},"/"),st.createDefaultDirectories(),st.createDefaultDevices(),st.createSpecialDirectories(),st.filesystems={MEMFS:fs}},init(W,le,be){K(!st.initialized,"FS.init was previously called. If you want to initialize later with custom parameters, remove any earlier calls (note that one is automatically added to the generated code)"),st.initialized=!0,W??=r.stdin,le??=r.stdout,be??=r.stderr,st.createStandardStreams(W,le,be)},quit(){st.initialized=!1,z1(0);for(var W of st.streams)W&&st.close(W)},findObject(W,le){var be=st.analyzePath(W,le);return be.exists?be.object:null},analyzePath(W,le){try{var be=st.lookupPath(W,{follow:!le});W=be.path}catch{}var Ve={isRoot:!1,exists:!1,error:0,name:null,path:null,object:null,parentExists:!1,parentPath:null,parentObject:null};try{var be=st.lookupPath(W,{parent:!0});Ve.parentExists=!0,Ve.parentPath=be.path,Ve.parentObject=be.node,Ve.name=qs.basename(W),be=st.lookupPath(W,{follow:!le}),Ve.exists=!0,Ve.path=be.path,Ve.object=be.node,Ve.name=be.node.name,Ve.isRoot=be.path==="/"}catch(nt){Ve.error=nt.errno}return Ve},createPath(W,le,be,Ve){W=typeof W=="string"?W:st.getPath(W);for(var nt=le.split("/").reverse();nt.length;){var vt=nt.pop();if(vt){var Nt=qs.join2(W,vt);try{st.mkdir(Nt)}catch(xt){if(xt.errno!=20)throw xt}W=Nt}}return Nt},createFile(W,le,be,Ve,nt){var vt=qs.join2(typeof W=="string"?W:st.getPath(W),le),Nt=VE(Ve,nt);return st.create(vt,Nt)},createDataFile(W,le,be,Ve,nt,vt){var Nt=le;W&&(W=typeof W=="string"?W:st.getPath(W),Nt=le?qs.join2(W,le):W);var xt=VE(Ve,nt),Jt=st.create(Nt,xt);if(be){if(typeof be=="string"){for(var k=new Array(be.length),X=0,we=be.length;X<we;++X)k[X]=be.charCodeAt(X);be=k}st.chmod(Jt,xt|146);var xe=st.open(Jt,577);st.write(xe,be,0,be.length,0,vt),st.close(xe),st.chmod(Jt,xt)}},createDevice(W,le,be,Ve){var nt=qs.join2(typeof W=="string"?W:st.getPath(W),le),vt=VE(!!be,!!Ve);st.createDevice.major??=64;var Nt=st.makedev(st.createDevice.major++,0);return st.registerDevice(Nt,{open(xt){xt.seekable=!1},close(xt){Ve?.buffer?.length&&Ve(10)},read(xt,Jt,k,X,we){for(var xe=0,Ke=0;Ke<X;Ke++){var yt;try{yt=be()}catch{throw new st.ErrnoError(29)}if(yt===void 0&&xe===0)throw new st.ErrnoError(6);if(yt==null)break;xe++,Jt[k+Ke]=yt}return xe&&(xt.node.atime=Date.now()),xe},write(xt,Jt,k,X,we){for(var xe=0;xe<X;xe++)try{Ve(Jt[k+xe])}catch{throw new st.ErrnoError(29)}return X&&(xt.node.mtime=xt.node.ctime=Date.now()),xe}}),st.mkdev(nt,vt,Nt)},forceLoadFile(W){if(W.isDevice||W.isFolder||W.link||W.contents)return!0;if(globalThis.XMLHttpRequest)Ue("Lazy loading should have been performed (contents set) in createLazyFile, but it was not. Lazy loading only works in web workers. Use --embed-file or --preload-file in emcc on the main thread.");else try{W.contents=A(W.url)}catch{throw new st.ErrnoError(29)}},createLazyFile(W,le,be,Ve,nt){class vt{lengthKnown=!1;chunks=[];get(xe){if(!(xe>this.length-1||xe<0)){var Ke=xe%this.chunkSize,yt=xe/this.chunkSize|0;return this.getter(yt)[Ke]}}setDataGetter(xe){this.getter=xe}cacheLength(){var xe=new XMLHttpRequest;xe.open("HEAD",be,!1),xe.send(null),xe.status>=200&&xe.status<300||xe.status===304||Ue("Couldn't load "+be+". Status: "+xe.status);var Ke=Number(xe.getResponseHeader("Content-length")),yt,gt=(yt=xe.getResponseHeader("Accept-Ranges"))&&yt==="bytes",Rt=(yt=xe.getResponseHeader("Content-Encoding"))&&yt==="gzip",$t=1024*1024;gt||($t=Ke);var Ri=(tn,qi)=>{tn>qi&&Ue("invalid range ("+tn+", "+qi+") or no bytes requested!"),qi>Ke-1&&Ue("only "+Ke+" bytes available! programmer error!");var Yi=new XMLHttpRequest;return Yi.open("GET",be,!1),Ke!==$t&&Yi.setRequestHeader("Range","bytes="+tn+"-"+qi),Yi.responseType="arraybuffer",Yi.overrideMimeType&&Yi.overrideMimeType("text/plain; charset=x-user-defined"),Yi.send(null),Yi.status>=200&&Yi.status<300||Yi.status===304||Ue("Couldn't load "+be+". Status: "+Yi.status),Yi.response!==void 0?new Uint8Array(Yi.response||[]):GE(Yi.responseText||"",!0)},Vi=this;Vi.setDataGetter(tn=>{var qi=tn*$t,Yi=(tn+1)*$t-1;return Yi=Math.min(Yi,Ke-1),typeof Vi.chunks[tn]>"u"&&(Vi.chunks[tn]=Ri(qi,Yi)),typeof Vi.chunks[tn]>"u"&&Ue("doXHR failed!"),Vi.chunks[tn]}),(Rt||!Ke)&&($t=Ke=1,Ke=this.getter(0).length,$t=Ke,O("LazyFiles on gzip forces download of the whole file when length is accessed")),this._length=Ke,this._chunkSize=$t,this.lengthKnown=!0}get length(){return this.lengthKnown||this.cacheLength(),this._length}get chunkSize(){return this.lengthKnown||this.cacheLength(),this._chunkSize}}if(globalThis.XMLHttpRequest){d||Ue("Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc");var Nt=new vt,xt={isDevice:!1,contents:Nt}}else var xt={isDevice:!1,url:be};var Jt=st.createFile(W,le,xt,Ve,nt);xt.contents?Jt.contents=xt.contents:xt.url&&(Jt.contents=null,Jt.url=xt.url),Object.defineProperties(Jt,{usedBytes:{get:function(){return this.contents.length}}});var k={};for(let[we,xe]of Object.entries(Jt.stream_ops))k[we]=(...Ke)=>(st.forceLoadFile(Jt),xe(...Ke));function X(we,xe,Ke,yt,gt){var Rt=we.node.contents;if(gt>=Rt.length)return 0;var $t=Math.min(Rt.length-gt,yt);if(K($t>=0),Rt.slice)for(var Ri=0;Ri<$t;Ri++)xe[Ke+Ri]=Rt[gt+Ri];else for(var Ri=0;Ri<$t;Ri++)xe[Ke+Ri]=Rt.get(gt+Ri);return $t}return k.read=(we,xe,Ke,yt,gt)=>(st.forceLoadFile(Jt),X(we,xe,Ke,yt,gt)),k.mmap=(we,xe,Ke,yt,gt)=>{st.forceLoadFile(Jt);var Rt=eg(xe);if(!Rt)throw new st.ErrnoError(48);return X(we,ke,Rt,xe,Ke),{ptr:Rt,allocated:!0}},Jt.stream_ops=k,Jt},absolutePath(){Ue("FS.absolutePath has been removed; use PATH_FS.resolve instead")},createFolder(){Ue("FS.createFolder has been removed; use FS.mkdir instead")},createLink(){Ue("FS.createLink has been removed; use FS.symlink instead")},joinPath(){Ue("FS.joinPath has been removed; use PATH.join instead")},mmapAlloc(){Ue("FS.mmapAlloc has been replaced by the top level function mmapAlloc")},standardizePath(){Ue("FS.standardizePath has been removed; use PATH.normalize instead")}},jn={calculateAt(W,le,be){if(qs.isAbs(le))return le;var Ve;if(W===-100)Ve=st.cwd();else{var nt=jn.getStreamFromFD(W);Ve=nt.path}if(le.length==0){if(!be)throw new st.ErrnoError(44);return Ve}return Ve+"/"+le},writeStat(W,le){Ct[W>>>2>>>0]=le.dev,Ct[W+4>>>2>>>0]=le.mode,Ct[W+8>>>2>>>0]=le.nlink,Ct[W+12>>>2>>>0]=le.uid,Ct[W+16>>>2>>>0]=le.gid,Ct[W+20>>>2>>>0]=le.rdev,Vt[W+24>>>3>>>0]=BigInt(le.size),Zt[W+32>>>2>>>0]=4096,Zt[W+36>>>2>>>0]=le.blocks;var be=le.atime.getTime(),Ve=le.mtime.getTime(),nt=le.ctime.getTime();return Vt[W+40>>>3>>>0]=BigInt(Math.floor(be/1e3)),Ct[W+48>>>2>>>0]=be%1e3*1e3*1e3,Vt[W+56>>>3>>>0]=BigInt(Math.floor(Ve/1e3)),Ct[W+64>>>2>>>0]=Ve%1e3*1e3*1e3,Vt[W+72>>>3>>>0]=BigInt(Math.floor(nt/1e3)),Ct[W+80>>>2>>>0]=nt%1e3*1e3*1e3,Vt[W+88>>>3>>>0]=BigInt(le.ino),0},writeStatFs(W,le){Ct[W+4>>>2>>>0]=le.bsize,Ct[W+60>>>2>>>0]=le.bsize,Vt[W+8>>>3>>>0]=BigInt(le.blocks),Vt[W+16>>>3>>>0]=BigInt(le.bfree),Vt[W+24>>>3>>>0]=BigInt(le.bavail),Vt[W+32>>>3>>>0]=BigInt(le.files),Vt[W+40>>>3>>>0]=BigInt(le.ffree),Ct[W+48>>>2>>>0]=le.fsid,Ct[W+64>>>2>>>0]=le.flags,Ct[W+56>>>2>>>0]=le.namelen},doMsync(W,le,be,Ve,nt){if(!st.isFile(le.node.mode))throw new st.ErrnoError(43);if(Ve&2)return 0;var vt=It.slice(W,W+be);st.msync(le,vt,nt,be,Ve)},getStreamFromFD(W){var le=st.getStreamChecked(W);return le},varargs:void 0,getStr(W){var le=ya(W);return le}};function k4(W){try{var le=jn.getStreamFromFD(W);return st.close(le),0}catch(be){if(typeof st>"u"||be.name!=="ErrnoError")throw be;return be.errno}}function YE(W,le){le>>>=0;try{var be=0,Ve=0,nt=0,vt=jn.getStreamFromFD(W),Nt=vt.tty?2:st.isDir(vt.mode)?3:st.isLink(vt.mode)?7:4;return ke[le>>>0]=Nt,ft[le+2>>>1>>>0]=nt,Vt[le+8>>>3>>>0]=BigInt(be),Vt[le+16>>>3>>>0]=BigInt(Ve),0}catch(xt){if(typeof st>"u"||xt.name!=="ErrnoError")throw xt;return xt.errno}}var z4=(W,le,be,Ve)=>{for(var nt=0,vt=0;vt<be;vt++){var Nt=Ct[le>>>2>>>0],xt=Ct[le+4>>>2>>>0];le+=8;var Jt=st.read(W,ke,Nt,xt,Ve);if(Jt<0)return-1;if(nt+=Jt,Jt<xt)break;typeof Ve<"u"&&(Ve+=Jt)}return nt};function W4(W,le,be,Ve){le>>>=0,be>>>=0,Ve>>>=0;try{var nt=jn.getStreamFromFD(W),vt=z4(nt,le,be);return Ct[Ve>>>2>>>0]=vt,0}catch(Nt){if(typeof st>"u"||Nt.name!=="ErrnoError")throw Nt;return Nt.errno}}function Y4(W,le,be,Ve){le=dn(le),Ve>>>=0;try{if(isNaN(le))return 61;var nt=jn.getStreamFromFD(W);return st.llseek(nt,le,be),Vt[Ve>>>3>>>0]=BigInt(nt.position),nt.getdents&&le===0&&be===0&&(nt.getdents=null),0}catch(vt){if(typeof st>"u"||vt.name!=="ErrnoError")throw vt;return vt.errno}}var ng=(W,le,be,Ve)=>{for(var nt=0,vt=0;vt<be;vt++){var Nt=Ct[le>>>2>>>0],xt=Ct[le+4>>>2>>>0];le+=8;var Jt=st.write(W,ke,Nt,xt,Ve);if(Jt<0)return-1;if(nt+=Jt,Jt<xt)break;typeof Ve<"u"&&(Ve+=Jt)}return nt};function j4(W,le,be,Ve){le>>>=0,be>>>=0,Ve>>>=0;try{var nt=jn.getStreamFromFD(W),vt=ng(nt,le,be);return Ct[Ve>>>2>>>0]=vt,0}catch(Nt){if(typeof st>"u"||Nt.name!=="ErrnoError")throw Nt;return Nt.errno}}function sg(W,le){W>>>=0,le>>>=0;try{return UE(It.subarray(W>>>0,W+le>>>0)),0}catch(be){if(typeof st>"u"||be.name!=="ErrnoError")throw be;return be.errno}}Ki(),Xn(),K(to.length===10),st.createPreloadedFile=nf,st.preloadFile=ig,st.staticInit();{if(r.noExitRuntime&&(mi=r.noExitRuntime),r.preloadPlugins&&(k1=r.preloadPlugins),r.print&&(O=r.print),r.printErr&&(P=r.printErr),r.wasmBinary&&(U=r.wasmBinary),gI(),r.arguments&&(I=r.arguments),r.thisProgram&&(m=r.thisProgram),K(typeof r.memoryInitializerPrefixURL>"u","Module.memoryInitializerPrefixURL option was removed, use Module.locateFile instead"),K(typeof r.pthreadMainPrefixURL>"u","Module.pthreadMainPrefixURL option was removed, use Module.locateFile instead"),K(typeof r.cdInitializerPrefixURL>"u","Module.cdInitializerPrefixURL option was removed, use Module.locateFile instead"),K(typeof r.filePackagePrefixURL>"u","Module.filePackagePrefixURL option was removed, use Module.locateFile instead"),K(typeof r.read>"u","Module.read option was removed"),K(typeof r.readAsync>"u","Module.readAsync option was removed (modify readAsync in JS)"),K(typeof r.readBinary>"u","Module.readBinary option was removed (modify readBinary in JS)"),K(typeof r.setWindowTitle>"u","Module.setWindowTitle option was removed (modify emscripten_set_window_title in JS)"),K(typeof r.TOTAL_MEMORY>"u","Module.TOTAL_MEMORY has been renamed Module.INITIAL_MEMORY"),K(typeof r.ENVIRONMENT>"u","Module.ENVIRONMENT has been deprecated. To force the environment, use the ENVIRONMENT compile-time option (for example, -sENVIRONMENT=web or -sENVIRONMENT=node)"),K(typeof r.STACK_SIZE>"u","STACK_SIZE can no longer be set at runtime. Use -sSTACK_SIZE at link time"),K(typeof r.wasmMemory>"u","Use of `wasmMemory` detected. Use -sIMPORTED_MEMORY to define wasmMemory externally"),K(typeof r.INITIAL_MEMORY>"u","Detected runtime INITIAL_MEMORY setting. Use -sIMPORTED_MEMORY to define wasmMemory dynamically"),r.preInit)for(typeof r.preInit=="function"&&(r.preInit=[r.preInit]);r.preInit.length>0;)r.preInit.shift()();ee("preInit")}var q4=["writeI53ToI64","writeI53ToI64Clamped","writeI53ToI64Signaling","writeI53ToU64Clamped","writeI53ToU64Signaling","readI53FromI64","readI53FromU64","convertI32PairToI53","convertI32PairToI53Checked","convertU32PairToI53","stackAlloc","getTempRet0","setTempRet0","zeroMemory","withStackSave","inetPton4","inetNtop4","inetPton6","inetNtop6","readSockaddr","writeSockaddr","readEmAsmArgs","jstoi_q","autoResumeAudioContext","runtimeKeepalivePush","runtimeKeepalivePop","asmjsMangle","HandleAllocator","addOnInit","addOnPostCtor","addOnPreMain","addOnExit","STACK_SIZE","STACK_ALIGN","POINTER_SIZE","ASSERTIONS","ccall","cwrap","convertJsFunctionToWasm","getEmptyTableSlot","updateTableMap","getFunctionAddress","addFunction","removeFunction","intArrayToString","stringToAscii","stringToNewUTF8","stringToUTF8OnStack","writeArrayToMemory","registerKeyEventCallback","maybeCStringToJsString","findEventTarget","getBoundingClientRect","fillMouseEventData","registerMouseEventCallback","registerWheelEventCallback","registerUiEventCallback","registerFocusEventCallback","fillDeviceOrientationEventData","registerDeviceOrientationEventCallback","fillDeviceMotionEventData","registerDeviceMotionEventCallback","screenOrientation","fillOrientationChangeEventData","registerOrientationChangeEventCallback","fillFullscreenChangeEventData","registerFullscreenChangeEventCallback","JSEvents_requestFullscreen","JSEvents_resizeCanvasForFullscreen","registerRestoreOldStyle","hideEverythingExceptGivenElement","restoreHiddenElements","setLetterbox","softFullscreenResizeWebGLRenderTarget","doRequestFullscreen","fillPointerlockChangeEventData","registerPointerlockChangeEventCallback","registerPointerlockErrorEventCallback","requestPointerLock","fillVisibilityChangeEventData","registerVisibilityChangeEventCallback","registerTouchEventCallback","fillGamepadEventData","registerGamepadEventCallback","registerBeforeUnloadEventCallback","fillBatteryEventData","registerBatteryEventCallback","setCanvasElementSize","getCanvasElementSize","jsStackTrace","getCallstack","convertPCtoSourceLocation","wasiRightsToMuslOFlags","wasiOFlagsToMuslOFlags","safeSetTimeout","setImmediateWrapped","safeRequestAnimationFrame","clearImmediateWrapped","registerPostMainLoop","registerPreMainLoop","getPromise","makePromise","idsToPromises","makePromiseCallback","findMatchingCatch","Browser_asyncPrepareDataCounter","arraySum","addDays","getSocketFromFD","getSocketAddress","FS_mkdirTree","_setNetworkCallback","heapObjectForWebGLType","toTypedArrayIndex","webgl_enable_ANGLE_instanced_arrays","webgl_enable_OES_vertex_array_object","webgl_enable_WEBGL_draw_buffers","webgl_enable_WEBGL_multi_draw","webgl_enable_EXT_polygon_offset_clamp","webgl_enable_EXT_clip_control","webgl_enable_WEBGL_polygon_mode","emscriptenWebGLGet","computeUnpackAlignedImageSize","colorChannelsInGlTextureFormat","emscriptenWebGLGetTexPixelData","emscriptenWebGLGetUniform","webglGetUniformLocation","webglPrepareUniformLocationsBeforeFirstUse","webglGetLeftBracePos","emscriptenWebGLGetVertexAttrib","__glGetActiveAttribOrUniform","writeGLArray","registerWebGlEventCallback","runAndAbortIfError","ALLOC_NORMAL","ALLOC_STACK","allocate","writeStringToMemory","writeAsciiToMemory","allocateUTF8","allocateUTF8OnStack","demangle","stackTrace","getNativeTypeSize","getFunctionArgsName","createJsInvokerSignature","getEnumValueType","createJsInvoker","PureVirtualError","registerInheritedInstance","unregisterInheritedInstance","getInheritedInstanceCount","getLiveInheritedInstances","enumReadValueFromPointer","setDelayFunction","validateThis","count_emval_handles"];q4.forEach(Qe);var ot=["run","out","err","callMain","abort","wasmExports","HEAPF64","HEAP8","HEAP16","HEAPU16","HEAP32","HEAP64","HEAPU64","writeStackCookie","checkStackCookie","INT53_MAX","INT53_MIN","bigintToI53Checked","stackSave","stackRestore","createNamedFunction","ptrToString","exitJS","getHeapMax","growMemory","ENV","ERRNO_CODES","strError","DNS","Protocols","Sockets","timers","warnOnce","readEmAsmArgsArray","getExecutableName","getDynCaller","dynCall","handleException","keepRuntimeAlive","callUserCallback","maybeExit","asyncLoad","alignMemory","mmapAlloc","wasmTable","wasmMemory","getUniqueRunDependency","noExitRuntime","addRunDependency","removeRunDependency","addOnPreRun","addOnPostRun","freeTableIndexes","functionsInTableMap","setValue","getValue","PATH","PATH_FS","UTF8Decoder","UTF8ArrayToString","UTF8ToString","stringToUTF8Array","stringToUTF8","lengthBytesUTF8","intArrayFromString","AsciiToString","UTF16Decoder","UTF16ToString","stringToUTF16","lengthBytesUTF16","UTF32ToString","stringToUTF32","lengthBytesUTF32","JSEvents","specialHTMLTargets","findCanvasEventTarget","currentFullscreenStrategy","restoreOldWindowedStyle","UNWIND_CACHE","ExitStatus","getEnvStrings","checkWasiClock","doReadv","doWritev","initRandomFill","randomFill","emSetImmediate","emClearImmediate_deps","emClearImmediate","promiseMap","uncaughtExceptionCount","exceptionLast","exceptionCaught","ExceptionInfo","Browser","requestFullscreen","requestFullScreen","setCanvasSize","getUserMedia","createContext","getPreloadedImageData__data","wget","MONTH_DAYS_REGULAR","MONTH_DAYS_LEAP","MONTH_DAYS_REGULAR_CUMULATIVE","MONTH_DAYS_LEAP_CUMULATIVE","isLeapYear","ydayFromDate","SYSCALLS","preloadPlugins","FS_createPreloadedFile","FS_preloadFile","FS_modeStringToFlags","FS_getMode","FS_stdin_getChar_buffer","FS_stdin_getChar","FS_unlink","FS_createPath","FS_createDevice","FS_readFile","FS","FS_root","FS_mounts","FS_devices","FS_streams","FS_nextInode","FS_nameTable","FS_currentPath","FS_initialized","FS_ignorePermissions","FS_filesystems","FS_syncFSRequests","FS_readFiles","FS_lookupPath","FS_getPath","FS_hashName","FS_hashAddNode","FS_hashRemoveNode","FS_lookupNode","FS_createNode","FS_destroyNode","FS_isRoot","FS_isMountpoint","FS_isFile","FS_isDir","FS_isLink","FS_isChrdev","FS_isBlkdev","FS_isFIFO","FS_isSocket","FS_flagsToPermissionString","FS_nodePermissions","FS_mayLookup","FS_mayCreate","FS_mayDelete","FS_mayOpen","FS_checkOpExists","FS_nextfd","FS_getStreamChecked","FS_getStream","FS_createStream","FS_closeStream","FS_dupStream","FS_doSetAttr","FS_chrdev_stream_ops","FS_major","FS_minor","FS_makedev","FS_registerDevice","FS_getDevice","FS_getMounts","FS_syncfs","FS_mount","FS_unmount","FS_lookup","FS_mknod","FS_statfs","FS_statfsStream","FS_statfsNode","FS_create","FS_mkdir","FS_mkdev","FS_symlink","FS_rename","FS_rmdir","FS_readdir","FS_readlink","FS_stat","FS_fstat","FS_lstat","FS_doChmod","FS_chmod","FS_lchmod","FS_fchmod","FS_doChown","FS_chown","FS_lchown","FS_fchown","FS_doTruncate","FS_truncate","FS_ftruncate","FS_utime","FS_open","FS_close","FS_isClosed","FS_llseek","FS_read","FS_write","FS_mmap","FS_msync","FS_ioctl","FS_writeFile","FS_cwd","FS_chdir","FS_createDefaultDirectories","FS_createDefaultDevices","FS_createSpecialDirectories","FS_createStandardStreams","FS_staticInit","FS_init","FS_quit","FS_findObject","FS_analyzePath","FS_createFile","FS_createDataFile","FS_forceLoadFile","FS_createLazyFile","FS_absolutePath","FS_createFolder","FS_createLink","FS_joinPath","FS_mmapAlloc","FS_standardizePath","MEMFS","TTY","PIPEFS","SOCKFS","tempFixedLengthArray","miniTempWebGLFloatBuffers","miniTempWebGLIntBuffers","GL","AL","GLUT","EGL","GLEW","IDBStore","SDL","SDL_gfx","print","printErr","jstoi_s","InternalError","BindingError","throwInternalError","throwBindingError","registeredTypes","awaitingDependencies","typeDependencies","tupleRegistrations","structRegistrations","sharedRegisterType","whenDependentTypesAreResolved","getTypeName","getFunctionName","heap32VectorToArray","requireRegisteredType","usesDestructorStack","checkArgCount","getRequiredArgCount","UnboundTypeError","EmValType","EmValOptionalType","throwUnboundTypeError","ensureOverloadTable","exposePublicSymbol","replacePublicSymbol","embindRepr","registeredInstances","getBasestPointer","getInheritedInstance","registeredPointers","registerType","integerReadValueFromPointer","floatReadValueFromPointer","assertIntegerRange","readPointer","runDestructors","craftInvokerFunction","embind__requireFunction","genericPointerToWireType","constNoSmartPtrRawPointerToWireType","nonConstNoSmartPtrRawPointerToWireType","init_RegisteredPointer","RegisteredPointer","RegisteredPointer_fromWireType","runDestructor","releaseClassHandle","finalizationRegistry","detachFinalizer_deps","detachFinalizer","attachFinalizer","makeClassHandle","init_ClassHandle","ClassHandle","throwInstanceAlreadyDeleted","deletionQueue","flushPendingDeletes","delayFunction","RegisteredClass","shallowCopyInternalPointer","downcastPointer","upcastPointer","char_0","char_9","makeLegalFunctionName","emval_freelist","emval_handles","emval_symbols","getStringOrSymbol","Emval","emval_returnValue","emval_lookupTypes","emval_methodCallers","emval_addMethodCaller"];ot.forEach(qe);function gI(){Ee("fetchSettings")}var jE=Ae("___getTypeName"),C0=Ae("_free"),qE=Ae("_malloc"),z1=Ae("_fflush"),W1=Ae("_emscripten_stack_get_end"),$4=Ae("_emscripten_stack_get_base"),$E=Ae("__emscripten_timeout"),Y1=Ae("_strerror"),og=Ae("_emscripten_stack_init"),j1=Ae("_emscripten_stack_get_free"),rg=Ae("__emscripten_stack_restore"),rh=Ae("__emscripten_stack_alloc"),q1=Ae("_emscripten_stack_get_current"),$1=Ae("memory"),Z4=Ae("__indirect_function_table"),lh=Ae("wasmMemory"),Z1=Ae("wasmTable");function lg(W){K(typeof W.__getTypeName<"u","missing Wasm export: __getTypeName"),K(typeof W.free<"u","missing Wasm export: free"),K(typeof W.malloc<"u","missing Wasm export: malloc"),K(typeof W.fflush<"u","missing Wasm export: fflush"),K(typeof W.emscripten_stack_get_end<"u","missing Wasm export: emscripten_stack_get_end"),K(typeof W.emscripten_stack_get_base<"u","missing Wasm export: emscripten_stack_get_base"),K(typeof W._emscripten_timeout<"u","missing Wasm export: _emscripten_timeout"),K(typeof W.strerror<"u","missing Wasm export: strerror"),K(typeof W.emscripten_stack_init<"u","missing Wasm export: emscripten_stack_init"),K(typeof W.emscripten_stack_get_free<"u","missing Wasm export: emscripten_stack_get_free"),K(typeof W._emscripten_stack_restore<"u","missing Wasm export: _emscripten_stack_restore"),K(typeof W._emscripten_stack_alloc<"u","missing Wasm export: _emscripten_stack_alloc"),K(typeof W.emscripten_stack_get_current<"u","missing Wasm export: emscripten_stack_get_current"),K(typeof W.memory<"u","missing Wasm export: memory"),K(typeof W.__indirect_function_table<"u","missing Wasm export: __indirect_function_table"),jE=Pe("__getTypeName",1),C0=Pe("free",1),qE=Pe("malloc",1),z1=Pe("fflush",1),W1=W.emscripten_stack_get_end,$4=W.emscripten_stack_get_base,$E=Pe("_emscripten_timeout",2),Y1=Pe("strerror",1),og=W.emscripten_stack_init,j1=W.emscripten_stack_get_free,rg=W._emscripten_stack_restore,rh=W._emscripten_stack_alloc,q1=W.emscripten_stack_get_current,$1=lh=W.memory,Z4=Z1=W.__indirect_function_table}var K1={__cxa_throw:Ln,_abort_js:Zi,_embind_finalize_value_array:Rs,_embind_finalize_value_object:Io,_embind_register_bigint:Nr,_embind_register_bool:Ni,_embind_register_class:b0,_embind_register_class_constructor:ih,_embind_register_class_function:pI,_embind_register_emval:U1,_embind_register_float:Xf,_embind_register_function:bt,_embind_register_integer:vi,_embind_register_memory_view:zi,_embind_register_optional:_n,_embind_register_std_string:D0,_embind_register_std_wstring:j3,_embind_register_value_array:q3,_embind_register_value_array_element:II,_embind_register_value_object:$3,_embind_register_value_object_field:i4,_embind_register_void:Z3,_emscripten_runtime_keepalive_clear:n4,_emval_create_invoker:u4,_emval_decref:Jf,_emval_get_global:c4,_emval_get_property:d4,_emval_incref:h4,_emval_instanceof:K3,_emval_invoke:f4,_emval_is_number:OE,_emval_is_string:p4,_emval_new_array:LE,_emval_new_cstring:G1,_emval_new_object:I4,_emval_run_destructors:PE,_emval_set_property:m4,_gmtime_js:y4,_localtime_js:w4,_setitimer_js:b4,_tzset_js:N4,clock_time_get:x4,emscripten_resize_heap:M4,environ_get:F4,environ_sizes_get:cm,fd_close:k4,fd_fdstat_get:YE,fd_read:W4,fd_seek:Y4,fd_write:j4,proc_exit:V1,random_get:sg};function ZE(W){W=Object.assign({},W);var le=nt=>vt=>nt(vt)>>>0,be=nt=>()=>nt()>>>0,Ve=nt=>vt=>nt(vt)>>>0;return W.__getTypeName=le(W.__getTypeName),W.malloc=le(W.malloc),W.emscripten_stack_get_end=be(W.emscripten_stack_get_end),W.emscripten_stack_get_base=be(W.emscripten_stack_get_base),W.strerror=Ve(W.strerror),W._emscripten_stack_alloc=le(W._emscripten_stack_alloc),W.emscripten_stack_get_current=be(W.emscripten_stack_get_current),W}var KE;function ag(){og(),se()}function Q1(){if(tf>0){EI=Q1;return}if(ag(),Oe(),tf>0){EI=Q1;return}function W(){K(!KE),KE=!0,r.calledRun=!0,!Z&&(Ft(),St?.(r),r.onRuntimeInitialized?.(),ee("onRuntimeInitialized"),K(!r._main,'compiled without a main, but one is present. if you added it from JS, use Module["onRuntimeInitialized"]'),ge())}r.setStatus?(r.setStatus("Running..."),setTimeout(()=>{setTimeout(()=>r.setStatus(""),1),W()},1)):W(),he()}function ug(){var W=O,le=P,be=!1;O=P=Jt=>{be=!0};try{z1(0);for(var Ve of["stdout","stderr"]){var nt=st.analyzePath("/dev/"+Ve);if(!nt)return;var vt=nt.object,Nt=vt.rdev,xt=oh.ttys[Nt];xt?.output?.length&&(be=!0)}}catch{}O=W,P=le,be&&Qt("stdio streams had content in them that was not flushed. you should set EXIT_RUNTIME to 1 (see the Emscripten FAQ), or make sure to emit a newline when you printf etc.")}var ah;ah=await Ht(),Q1(),ui?o=r:o=new Promise((W,le)=>{St=W,$e=le});for(let W of Object.keys(r))W in s||Object.defineProperty(s,W,{configurable:!0,get(){Ue(`Access to module property ('${W}') is no longer possible via the module constructor argument; Instead, use the result of the module constructor.`)}});return o}})();typeof e=="object"&&typeof t=="object"?(t.exports=i,t.exports.default=i):typeof define=="function"&&define.amd&&define([],()=>i)}}),dDe=2149462589,hDe=1805707277,fDe=950732822,pDe=4075327185,IDe=1209108979,mDe=3457685358,yDe=4157543285,EDe=2798247006,TDe=1790229001,gDe=525895558,wDe=1774176899,vDe=1275358634,RDe=2541165894,SDe=3701338814,ADe=2195413836,bDe=937566702,NDe=1683019596,_De=2314439260,DDe=1500781891,CDe=3683503648,xDe=4065007721,ODe=1718600412,LDe=51269191,PDe=2593997549,MDe=3458127941,BDe=3345633955,FDe=1278329552,UDe=2591213694,HDe=2726807636,GDe=743184107,VDe=2016195849,kDe=857959152,zDe=2281867870,WDe=2645777649,YDe=232962298,jDe=296282323,qDe=603696268,$De=3490877962,ZDe=1460886941,KDe=2801250643,QDe=58845555,JDe=361837227,XDe=2757832317,eCe=3477203348,tCe=993287707,iCe=846465480,nCe=3471399674,sCe=408310005,oCe=2190458107,rCe=3467162246,lCe=2766185779,aCe=3211557302,uCe=1755127002,cCe=2133746277,dCe=200335297,hCe=96294661,fCe=3972513137,pCe=3665567075,ICe=2169031380,mCe=1364037233,yCe=1245737093,ECe=3054510233,TCe=2815919920,gCe=4042175685,wCe=2642773653,vCe=2260317790,RCe=929793134,SCe=2395907400,ACe=2095195183,bCe=765770214,NCe=2615040989,_Ce=3114022597,DCe=1648970520,CCe=3177669450,xCe=1753493141,OCe=1052454078,LCe=2173214787,PCe=3341486342,MCe=102610177,BCe=3531705166,FCe=3124614049,UCe=4017473158,HCe=1477762836,GCe=2486716878,VCe=286949696,kCe=151039812,zCe=2755797622,WCe=2095003142,YCe=503418787,jCe=3086160713,qCe=1307019551,$Ce=2128979029,ZCe=191860431,KCe=1243674935,QCe=3258342251,JCe=2054016361,XCe=3192672207,e6e=3686016028,t6e=3809634241,i6e=1939436016,n6e=2679005408,s6e=3358199106,o6e=983778844,r6e=2589826445,l6e=1158859006,a6e=3113092358,cpe=3064340077,u6e=3044325142,c6e=1361398929,d6e=2590844177,h6e=2715512545,f6e=1102727119,p6e=2078135608,I6e=2506197118,m6e=2951915441,y6e=3790457270,E6e=2093906313,T6e=3818826038,g6e=1827137117,w6e=69416015,v6e=524656162,R6e=4134073009,S6e=1514641115,A6e=300323983,b6e=86635668,N6e=94842927,_6e=1778710042,D6e=3238673880,C6e=3812528620,x6e=2991860651,O6e=1867003952,L6e=2735952531,P6e=2650437152,M6e=632304761,B6e=360377573,F6e=4182062534,U6e=3699917729,iN=1971632696,nN=2680139844,NR=24726584,_R=3693000487,DR=3460952963,sN=3999819293,oN=3314249567,BC=4196446775,FC=325726236,WR=3425753595,CR=991950508,rN=3798194928,YR=3290496277,jR=1383356374,UC=2182337498,HC=234836483,xR=2078563270,OR=1638804497,l7=1154579445,GC=2696325953,VC=2713699986,LR=2142170206,$T=3376911765,kC=1077100507,ZT=3071239417,PR=479945903,zC=3426335179,qR=1502416096,MR=2940368186,lN=3203706013,a7=3862327254,gN=1876633798,Iw=963979645,aN=644574406,$R=3649138523,u7=1662888072,c7=317615605,d7=1545765605,h7=4266260250,WC=3956297820,YC=1530820697,jC=840318589,f7=1953115116,ZR=618700268,uN=2281632017,cN=3663046924,EG=42703149,BR=1894708472,qC=3599934289,KR=33720170,TG=1027922057,p7=544395925,gG=3649235739,dN=550521510,mw=146592293,li=3818125796,I7=4021432810,hN=1891881377,fN=3992365140,QR=1763565496,wG=1946335990,JR=514975943,XR=506776471,e5=710110818,FR=1950438474,pN=976884017,IN=525669439,UR=1770583370,vG=2176059722,t5=679976338,$C=3948183225,ZC=2568555532,m7=2898700619,KC=1594536857,y7=4230923436,mN=4228831410,QC=1310830890,JC=24185140,XC=4234616927,i5=1306400036,n5=4189326743,RG=2000195564,SG=3497074424,E7=1626504194,e6=3651464721,T7=1229763772,g7=3665877780,AG=782932809,pj=2735484536,Ij=1356537516,bG=1290935644,mj=1862484736,zt=1441486842,C7=1033248425,yj=3381221214,NG=2485787929,Ej=590820931,x7=3465909080,_G=593015953,Tj=4212018352,gj=3425423356,Kte=823603102,wj=2165702409,dpe=182550632,zj=388784114,hpe=536804194,fpe=3752311538,vj=1175146630,ppe=1010789467,Qte=222769930,Ipe=1794013214,jG=2691318326,Jte=4105526436,mpe=917726184,ype=3633395639,H6e=2879124712,_h=25142252,Dh=3087945054,Ch=4288193352,xh=630975310,Oh=4086658281,Lh=2295281155,Ph=182646315,Qc=1426591983,Jc=819412036,Xc=3415622556,ed=1003880860,td=402227799,id=264262732,nd=3310460725,sd=862014818,od=1904799276,rd=1360408905,ld=3518393246,ad=342316401,Pm=562808652,ud=4074379575,cd=3640358203,dd=4136498852,hd=2272882330,fd=3571504051,pd=3221913625,Id=639361253,md=3902619387,yd=4217484030,Ed=1051757585,Td=3758799889,gd=635142910,wd=2938176219,vd=32344328,yw=2906023776,Rd=277319702,Sd=2056796094,Ad=177149247,bd=1634111441,Ew=486154966,Nd=4237592921,Tw=4156078855,_d=4207607924,Dd=4292641817,Ip=3179687236,Cd=3026737570,xd=3825984169,Od=812556717,Ld=1162798199,KT=385403989,Pd=1404847402,Md=1999602285,Bd=3420628829,gw=3027962421,ww=3127900445,vp=1329646415,Fd=3053780830,mp=2572171363,Mm=1232101972,Ud=90941305,yp=655969474,Hd=738039164,vw=1156407060,Gd=3612865200,Vd=310824031,kd=3694346114,Ep=144952367,zd=2474470126,Rw=1911478936,Wd=1437502449,Yd=629592764,jd=76236018,qd=2176052936,$d=4175244083,Zd=2068733104,Kd=3319311131,Qd=2188021234,Bm=1209101575,Jd=484807127,Xd=3747195512,e0=2814081492,Th=2417008758,Sw=3242481149,QT=3205830791,gh=400855858,Aw=905975707,Wm=1677625105,Rp=3296154744,wh=2674252688,vh=2188180465,JT=1177604601,Fm=39481116,Sp=1136057603,XT=2461110595,Rh=1532957894,s5=4088093105,Ap=4009809668,Mh=926996030,bp=2391383451,Tp=2415094496,gp=3081323446,Np=413509423,_p=3101698114,Um=3657597509,Hm=2757150158,Gm=1004757350,Dp=338393293,Sh=1072016465,Cp=4074543187,o5=2157484638,xp=2781568857,wp=2310774935,Vm=964333572,km=683857671,Op=1469900589,Gp=2839578677,zI=1158309216,qT=3079942009,Ah=1114901282,r5=3113134337,bh=3946677679,m3=2571569899,Ym=3493046030,Lp=1509553395,Pp=1893162501,e3=2853485674,l5=4148101412,Nh=132023988,t3=2397081782,Mp=2323601079,y3=1213902940,i3=1525564444,n3=4105962743,s3=2185764099,jm=15328376,Vp=3875453745,o3=3893394355,Bp=2197970202,r3=167062518,a5=2887950389,qm=2603310189,E3=1635779807,u5=2916149573,c5=1935646853,R5=2387106220,d5=3206491090,c6=699246055,l3=4095615324,zm=603775116,h5=4015995234,a3=2481509218,u3=463610769,f5=710998568,p5=1412071761,I5=3663146110,c3=3243963512,wN=816062949,Fh=1521410863,kp=3523091289,_e=427948657,So=307848117,ce=1462361463,me=2565941209,T3=1027710054,d6=3521284610,v1=492091185,h6=653396225,m5=569719735,f6=3967405729,S5=1682466193,d3=428585644,g3=2294589976,A5=178912537,h3=4095422895,bw=2652556860,$m=2804161546,y5=4024345920,w3=2629017746,f3=1815067380,qG=3419103109,E5=2574617495,b5=2059837836,N5=1675464909,E6=574549367,v3=3406155212,p6=3698973494,I6=3736923433,$G=901063453,T5=1096409881,Iie=1042787934,Ir=1608871552,_a=2943643501,m6=2090586900,ZG=1482703590,mie=3778827333,KG=2998442950,T6=853536259,QG=3404854881,rV=3079605661,z6=2852063980,lV=3708119e3,yie=1585845231,_5=2133299955,YI=1437953363,wy=3570813810,ai=1437805879,Eie=297599258,Tie=211053100,JG=2713554722,aV=3285139300,gie=1236880293,G6e=1199560280,wie=3611470254,XG=2771591690,vie=1549132990,V6e=2043862942,eV=2934153892,Rie=609421318,Sie=3478079324,k6e=1054537805,z6e=2439245199,W6e=2433181523,Y6e=3915482550,j6e=986844984,uV=3843373140,q6e=677532197,$6e=1507914824,tV=552965576,V5=164193824,cV=2235152071,iV=1847252529,Z6e=760658860,z7=3057273783,K6e=4294318154,Aie=1466758467,Nw=1785450214,dV=775493141,vr=979691226,HR=3700593921,Ou=1062813311,Ql=1052013943,ja=578613899,GR=2454782716,Lu=753842376,qa=3001207471,$a=2874132201,Pu=3304561284,Jl=3512223829,Mu=2391406946,Cc=3313531582,Mr=2347447852,Br=3824725483,aa=2515109513,Bu=4252922144,Fu=331165859,Uu=1529196076,Za=1783015770,VR=1376911519,Hu=2016517767,Fr=2320036040,xc=3027567501,t6=3055160366,Gu=3283111854,Vu=3024970846,ku=2262370178,zu=3171933400,Ka=1687234759,Wu=1073191201,Yu=900683007,Xl=3508470533,ea=2223149337,ta=707683696,ia=987401354,na=3132237377,Qa=4037862832,sa=4278956645,oa=2058353004,Ur=4222183408,Hr=1810631287,Gr=346874300,ra=1658829314,w7=857184966,v7=1634875225,Vr=712377611,kr=1217240411,kR=1365060375,zr=1534661035,Wr=3277789161,Yr=663422040,yN=855621170,jr=2030761528,qr=3760055223,$r=869906466,ju=395920057,wf=3041715199,qu=3040386961,H0=1945004755,t0=2063403501,Ja=1599208980,i0=2635815018,$u=1335981549,DG=4147604152,Zr=3961806047,Zu=3495092785,Ku=1973544240,Kr=2954562838,Qr=335055490,vf=488727124,Rf=1060000209,Sf=3898045240,CG=1163958913,xG=2188551683,Jr=2816379211,Xr=3850581409,Qu=843113511,el=2301859152,zp=2611217952,tl=2951183804,il=1285652485,nl=3293546465,sl=395041908,Ju=1909888760,Xu=1095909175,Xa=2979338954,i6=52481810,p3=3299480353,ol=231477066,R7=1916977116,ec=819618141,Zm=1967976161,Km=3460190687,OG=2470393545,rl=1871374353,ll=3352864051,al=1411407467,Qm=3821786052,S7=1213861670,Fp=1033361043,Af=3342526732,bf=4218914973,Jm=1028945134,ul=1133259667,tc=1898987631,G0=2769231204,cl=728799441,dl=1911125066,hl=1600972822,Wp=3593883385,n0=1620046519,fl=1692211062,LG=1637806684,pl=5716631,Xm=2254336722,Il=2315554128,Nf=148013059,s0=1975003073,W0=2986769608,o0=1235345126,r0=734778138,l0=2082059205,EN=3987759626,Cu=1621171031,e1=1252848954,TN=1721250024,xu=1807405624,eu=2445595289,a0=214636428,u0=4243806635,_f=1179482911,V0=682877961,ic=1039846685,ml=3112655638,c0=3812236995,PG=652456506,yl=1305183839,nc=3856911033,sc=2533589738,fu=4097777520,MG=4105383287,BG=3517283431,El=1768891740,vN=2863920197,M=160246688,oc=2324767716,rc=2893384427,FG=3248260540,Tl=2250791053,gl=1842657554,la=3651124850,UG=3642467123,t1=2904328755,i1=2744685151,n1=3740093272,Hf=3724593414,lc=4017108033,wl=4231323485,vl=804291784,s1=3327091369,o1=2382730787,Rl=2837617999,A7=3425660407,tu=3588315303,r1=4143007308,b7=1916936684,Sl=977012517,ac=3181161470,Oc=2108223431,iu=377706215,HG=2506943328,Al=1161773419,bl=1051575348,Df=3827777499,Nl=4288270099,l1=2391368822,_l=1806887404,Dl=1251058090,_w=2706460486,Rr=3009204131,zR=200128114,GG=814719939,k0=263784265,nu=3009222698,su=2297155007,ou=1339347760,ru=1834744321,lu=1482959167,Cl=3815607619,au=3198132628,uu=3907093117,d0=1287392070,h0=2143335405,Cf=2827207264,f0=2489546625,uc=647756555,Uh=3737207727,Yp=807026263,xl=3390157468,Ol=3174744832,VG=3272907226,N7=1962604670,cu=2107101300,jp=1704287377,xf=2590856083,Of=1623761950,z0=4123344466,a1=1758889154,kG=360485395,p0=3849074793,Lf=3256556792,Rj=681481545,cc=1457835157,Pf=3295246426,dc=1916426348,u1=1419761937,c1=3895139033,Dw=3293443760,d1=2559216714,Cw=2510884976,Iu=3732776249,hc=300633059,Cy=2937912522,pu=3124254112,I3=1950629157,du=4031249490,xy=1260505505,R1=3649129432,xw=1334484129,Ow=3207858831,Y0=1674181508,Lw=2296667514,Bh=2097647324,h1=3473067441,I0=1580310250,f1=4124788165,p1=2809605785,WI=2028607225,Sj=4070609034,hu=2218152070,m0=3979015343,Mf=3689010777,Bf=530289379,I1=3136571912,m1=3544373492,Pw=451544542,Ff=3893378262,Up=2706606064,Mw=3626867408,Bw=4158566097,y1=1856042241,Fw=2914609552,rt=1401173127,at=3451746338,Gn=366585022,$s=4122056220,r6=1058617721,Ye=1245217292,lt=750771296,l6=202636808,a6=2051452291,B=3268803585,AN=4189434867,ti=279856033,ut=3940055652,pe=781010003,Fe=4186316022,Ei=693640335,je=2551354335,j0=2802773753,ct=886880790,tt=3242617779,dt=3678494232,qp=504942748,ks=1638771189,bn=3912681535,vn=2127690289,ua=3190031847,Bt=4201705270,$p=3945020480,ve=1204542856,k5=826625072,O7=2851387026,Os=2655215786,Gf=3840914261,Vf=982818633,Oy=2728634034,kf=919958153,qI=4095574036,L7=1327628568,ie=1865459582,ns=205026976,u6=3372526763,Te=2857406711,bo=4278684876,Is=1307041759,is=2495723537,q0=1683148259,re=3939117080,E1=3454111270,Uw=2798486643,Ly=2770003689,g5=3219374653,Jo=1451395588,zG=4194566429,eI=103090709,Da=4208778838,Hw=2945172077,Zp=220341763,Gw=603570806,vy=3566463478,R3=3505215534,S3=3388369263,g6=3888040117,Py=1425443689,My=1281925730,z5=572779678,W5=1484403080,By=987898635,y0=1268542332,Uf=4238390223,Aj=3455213021,Y5=315944413,Xte=4203026998,j5=374418227,q5=2047409740,Kp=477187591,bj=80994333,w6=2835456948,Vw=2777663545,T1=339256511,jI=1883228015,Fy=1472233963,b3=4006246654,D5=445594917,eie=3073041342,w5=526551008,Ry=1714330368,Sy=2963535650,$5=32440307,_7=4054601972,WG=606661476,tie=693772133,Qp=2827736869,Z5=2601014836,Uy=2147822146,v6=2506170314,iie=194851669,nie=4133800736,kw=2485617015,Hy=2205249479,K5=1383045692,Jp=1416205885,Gy=3331915920,Xp=3486308946,Vy=3749851601,Q5=59481748,ky=1123145078,J5=2898889636,zy=2713105998,R6=2581212453,Wy=4182860854,X5=2736907675,Yy=2740243338,jy=3125803723,qy=4261334040,P7=1302238472,Nj=2265737646,S6=669184980,_j=3288037868,A6=2543172580,v5=1299126871,Ay=512836454,by=336235671,zw=2759199220,b6=1417489154,eS=427810014,Ww=2347495698,ws=1628702193,Dj=1345879162,N6=2715220739,Yw=3124975700,_6=4282788508,D7=3028897424,D6=3071757647,$y=230924584,jw=1260650574,qw=2247615214,tS=1878645084,iS=2513912981,$w=2233826070,Cj=3653947884,sie=3843319758,Ny=1190533807,C5=1597423693,_y=1973038258,x5=2473145415,O5=2668620305,L5=1595516126,xj=390701378,Oj=1202362311,Lj=2485662743,C6=723233188,Wj=2609359061,nS=4124623270,Pj=2411513650,x6=1509187699,Zw=2778083089,Yj=478536968,Dy=3765753017,jj=3413951693,sS=3615266464,P5=110355661,N3=3650150729,O6=3357820518,M5=941946838,B5=2752243245,F5=4166981789,qj=1680319473,U5=871118103,W7=673634403,oie=179317114,rie=433424934,M7=2559016684,B7=759155922,Zy=2775532180,Ky=2924175390,Kw=1423911732,Qw=4022376103,L6=2067069095,P6=1663979128,M6=2004835150,F7=597895409,Po=3021840470,oS=2519244187,$j=2529465313,Jw=1029017970,Qy=2665983363,lie=2833995503,Zj=219451334,aie=1430189142,W6=2022407955,u2=2347385850,B6=1008929658,S1=2624227202,g1=3422422726,Xw=1520743889,e2=4266656042,t2=2604431987,i2=125510826,F6=1402838566,Kj=3741457305,bN=3905492369,Epe=2445078500,rS=812098782,Qj=178086475,lS=3590301190,zf=4142052618,Jj=2453401579,Y6=3448662350,Tpe=1446786286,gpe=803998398,wpe=3857492461,Y7=738692330,Xj=4219587988,Jy=3008276851,Xy=803316827,aS=1809719519,uS=2556980723,vpe=1860660968,eE=476780140,cS=3900360178,uie=4170525392,j7=3732053477,Rpe=1694125774,Spe=2273265877,q7=3632507154,$7=3800577675,eq=2889183280,tq=3050246964,dS=45288368,Z7=1981873012,l2=370225590,K7=1485152156,Ao=2542286263,NN=776857604,_N=647927063,hS=3150382593,U7=616511568,fS=2705031697,Q7=1310608509,J7=3798115385,Mj=2297822566,Bj=3612888222,Fj=962685235,cie=2442683028,Ape=1065908215,iq=891718957,n2=1907098498,Q6e=3304826586,U6=2799835756,nq=180925521,H6=1735638870,sq=1377556343,J6e=581633288,Uj=1718945513,X6e=3101149627,bpe=3317419933,bie=1210645708,tE=2552916305,H7=1742049831,A3=280115917,exe=1484833681,Nie=1640371178,_ie=2636378356,H5=1983826977,oq=1447204868,rq=912023232,txe=531007025,Npe=985171141,_pe=1290481447,Die=626085974,w1=1351298697,hV=846575682,fV=1607154358,pV=3303107099,X7=1300840506,pS=3049322572,et=3958052878,e8=2830218821,G5=3408363356,G7=2525727697,ixe=2162789131,nxe=2273995522,V7=3692461612,IS=4240577450,lq=3982875396,Hp=867548509,nV=4165799628,sV=2042790032,t8=448429030,sxe=2341007311,Dpe=3679540991,fc=1660063152,oxe=3008791417,rxe=3377609919,s2=1076942058,lxe=1222501353,oV=1580146022,Hj=2692823254,mS=825690147,yS=2405470396,ES=3252649465,TS=931644368,gS=2093928680,wS=2044713172,Cie=3710013099,$n=148025276,Gj=3896028662,xie=2598011224,ts=2802850158,Oie=3958567839,Cpe=2267347899,E0=2095639259,Lie=2417041796,axe=3119450353,aq=1304840413,Je=2022622350,k7=1775413392,die=3213052703,xpe=990879717,Pie=3727388367,uq=3355820592,cq=2226359599,uxe=2483315170,G6=101040310,o2=2077209135,cxe=1207048766,vS=1411181986,r2=4251960020,Ope=1227763645,dq=2251480897,YG=3701648758,Mie=1918398963,Bie=2706619895,hq=3368373690,hie=677618848,Lpe=4256014907,dxe=2597039031,Pr=3265635763,Fie=2199411900,IV=1303795690,a2=3303938423,mV=248100487,Ppe=1847130766,yV=1838606355,hxe=30780891,fxe=1566485204,pxe=4162380809,i8=3452421091,fq=2655187982,Ixe=3020489413,mxe=852622518,pq=3548104201,Mpe=3207319532,Iq=1040185647,mq=2242383968,yxe=3200245327,Bpe=1648886627,pp=3796139169,RS=770865208,yq=1154170062,Exe=1376555844,Txe=2949456006,gxe=1045800335,Uie=1765591967,wxe=1072939445,EV=3510044353,TV=2367409068,gV=1105321065,Hie=539742890,Eq=602808272,vxe=1065062679,n6=347226245,Vj=613356794,s6=1658513725,Rxe=1959218052,j6=2732653382,Fpe=4257277454,n8=2614616156,Gie=2859738748,wV=3264961684,Sxe=3639012971,Axe=938368621,fie=1098599126,Upe=1767535486,Vie=747523909,bxe=622194075,V6=2069777674,Tq=1387855156,gq=3367102660,wq=1560379544,Nxe=4037036970,SS=3869604511,_xe=390851274,Hpe=2080292479,Dxe=130549933,o6=1110488051,Cxe=411424972,xxe=639542469,Oxe=618182010,Lxe=3630933823,vq=599546466,Rq=1390159747,kj=1109904537,u=class{constructor(e,t=2,i){if(this.value=e,this.type=5,i&&i?.type===2)return Si(t,i)}},mt=class{constructor(e,t){this.type=4,t&&(this.type=t),this.value=e}get internalValue(){return this._internalValue}get value(){return this._representationValue}set value(e){this._representationValue=(this._internalValue=e)===null?e:parseFloat(e)}},Gpe=(e=>(e[e.FALSE=0]="FALSE",e[e.TRUE=1]="TRUE",e[e.UNKNOWN=2]="UNKNOWN",e))(Gpe||{}),Yt=class{constructor(e=-1){this.expressID=e,this.type=0}},y6=[],vV={},RN={},RV={},SV={},k6={},SN=[];function Si(e,t){return Array.isArray(t)&&t.map(i=>Si(e,i)),t.typecode?k6[e][t.typecode](t.value):t.value}function Ge(e){if((e??void 0)===void 0||e instanceof u||e.label)return e;if(Array.isArray(e))return e.map(i=>Ge(i));let t=e.type===4?"internalValue":"value";return{[t]:e[t],valueType:e.type,type:2,label:e.name}}var Vpe=(e=>(e.IFC2X3="IFC2X3",e.IFC4="IFC4",e.IFC4X3="IFC4X3",e))(Vpe||{});SN[1]=["IFC2X3","IFC2X_FINAL"];y6[1]={3630933823:e=>new f.IfcActorRole(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcText((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),618182010:e=>new f.IfcAddress(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),639542469:e=>new f.IfcApplication(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),new f.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),new f.IfcIdentifier((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),411424972:e=>new f.IfcAppliedValue((e[0]??void 0)===void 0||e[0]===""?null:new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,1,e[2]),(e[3]??void 0)===void 0||e[3]===""?null:new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,1,e[3]),(e[4]??void 0)===void 0||e[4]===""?null:new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,1,e[4]),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5])),1110488051:e=>new f.IfcAppliedValueRelationship(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],e[2],(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcLabel((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcText((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),130549933:e=>new f.IfcApproval((e[0]??void 0)===void 0||e[0]===""?null:new f.IfcText((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcLabel((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcText((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),new f.IfcLabel((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),new f.IfcIdentifier((e[6]??void 0)===void 0||e[6]===""?null:e[6].value)),2080292479:e=>new f.IfcApprovalActorRelationship(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,1,e[2])),390851274:e=>new f.IfcApprovalPropertyRelationship(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1])),3869604511:e=>new f.IfcApprovalRelationship(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcText((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),new f.IfcLabel((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),4037036970:e=>new f.IfcBoundaryCondition((e[0]??void 0)===void 0||e[0]===""?null:new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value)),1560379544:e=>new f.IfcBoundaryEdgeCondition((e[0]??void 0)===void 0||e[0]===""?null:new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcModulusOfLinearSubgradeReactionMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcModulusOfLinearSubgradeReactionMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcModulusOfLinearSubgradeReactionMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcModulusOfRotationalSubgradeReactionMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new f.IfcModulusOfRotationalSubgradeReactionMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new f.IfcModulusOfRotationalSubgradeReactionMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value)),3367102660:e=>new f.IfcBoundaryFaceCondition((e[0]??void 0)===void 0||e[0]===""?null:new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcModulusOfSubgradeReactionMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcModulusOfSubgradeReactionMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcModulusOfSubgradeReactionMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),1387855156:e=>new f.IfcBoundaryNodeCondition((e[0]??void 0)===void 0||e[0]===""?null:new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcLinearStiffnessMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLinearStiffnessMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcLinearStiffnessMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcRotationalStiffnessMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new f.IfcRotationalStiffnessMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new f.IfcRotationalStiffnessMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value)),2069777674:e=>new f.IfcBoundaryNodeConditionWarping((e[0]??void 0)===void 0||e[0]===""?null:new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcLinearStiffnessMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLinearStiffnessMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcLinearStiffnessMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcRotationalStiffnessMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new f.IfcRotationalStiffnessMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new f.IfcRotationalStiffnessMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcWarpingMomentMeasure((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),622194075:e=>new f.IfcCalendarDate(new f.IfcDayInMonthNumber((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new f.IfcMonthInYearNumber((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new f.IfcYearNumber((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),747523909:e=>new f.IfcClassification(new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new f.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,1,e[2]),new f.IfcLabel((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),1767535486:e=>new f.IfcClassificationItem(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),1098599126:e=>new f.IfcClassificationItemRelationship(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),938368621:e=>new f.IfcClassificationNotation(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),3639012971:e=>new f.IfcClassificationNotationFacet(new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value)),3264961684:e=>new f.IfcColourSpecification((e[0]??void 0)===void 0||e[0]===""?null:new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value)),2859738748:e=>new f.IfcConnectionGeometry,2614616156:e=>new f.IfcConnectionPointGeometry(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1])),4257277454:e=>new f.IfcConnectionPortGeometry(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,1,e[2])),2732653382:e=>new f.IfcConnectionSurfaceGeometry(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1])),1959218052:e=>new f.IfcConstraint(new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),e[2],(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcLabel((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,1,e[4]),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new f.IfcLabel((e[6]??void 0)===void 0||e[6]===""?null:e[6].value)),1658513725:e=>new f.IfcConstraintAggregationRelationship((e[0]??void 0)===void 0||e[0]===""?null:new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,1,e[2]),e[3]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],e[4]),613356794:e=>new f.IfcConstraintClassificationRelationship(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),347226245:e=>new f.IfcConstraintRelationship((e[0]??void 0)===void 0||e[0]===""?null:new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,1,e[2]),e[3]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),1065062679:e=>new f.IfcCoordinatedUniversalTimeOffset(new f.IfcHourInDay((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcMinuteInHour((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),e[2]),602808272:e=>new f.IfcCostValue((e[0]??void 0)===void 0||e[0]===""?null:new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,1,e[2]),(e[3]??void 0)===void 0||e[3]===""?null:new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,1,e[3]),(e[4]??void 0)===void 0||e[4]===""?null:new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,1,e[4]),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),new f.IfcLabel((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcText((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),539742890:e=>new f.IfcCurrencyRelationship(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),new f.IfcPositiveRatioMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,1,e[3]),(e[4]??void 0)===void 0||e[4]===""?null:new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,1,e[4])),1105321065:e=>new f.IfcCurveStyleFont((e[0]??void 0)===void 0||e[0]===""?null:new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),2367409068:e=>new f.IfcCurveStyleFontAndScaling((e[0]??void 0)===void 0||e[0]===""?null:new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),new f.IfcPositiveRatioMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),3510044353:e=>new f.IfcCurveStyleFontPattern(new f.IfcLengthMeasure((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new f.IfcPositiveLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value)),1072939445:e=>new f.IfcDateAndTime(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1])),1765591967:e=>new f.IfcDerivedUnit(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],e[1],(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),1045800335:e=>new f.IfcDerivedUnitElement(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),new mt((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,10)),2949456006:e=>new f.IfcDimensionalExponents(new mt((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,10),new mt((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,10),new mt((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,10),new mt((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,10),new mt((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,10),new mt((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,10),new mt((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,10)),1376555844:e=>new f.IfcDocumentElectronicFormat((e[0]??void 0)===void 0||e[0]===""?null:new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),1154170062:e=>new f.IfcDocumentInformation(new f.IfcIdentifier((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new f.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcText((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:e[3]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcText((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new f.IfcText((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new f.IfcText((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new u((e[8]??void 0)===void 0||e[8]===""?null:e[8].value,1,e[8]),(e[9]??void 0)===void 0||e[9]===""?null:e[9]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[10]??void 0)===void 0||e[10]===""?null:new u((e[10]??void 0)===void 0||e[10]===""?null:e[10].value,1,e[10]),(e[11]??void 0)===void 0||e[11]===""?null:new u((e[11]??void 0)===void 0||e[11]===""?null:e[11].value,1,e[11]),(e[12]??void 0)===void 0||e[12]===""?null:new u((e[12]??void 0)===void 0||e[12]===""?null:e[12].value,1,e[12]),(e[13]??void 0)===void 0||e[13]===""?null:new u((e[13]??void 0)===void 0||e[13]===""?null:e[13].value,1,e[13]),(e[14]??void 0)===void 0||e[14]===""?null:new u((e[14]??void 0)===void 0||e[14]===""?null:e[14].value,1,e[14]),e[15],e[16]),770865208:e=>new f.IfcDocumentInformationRelationship(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),3796139169:e=>new f.IfcDraughtingCalloutRelationship((e[0]??void 0)===void 0||e[0]===""?null:new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,1,e[2]),new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,1,e[3])),1648886627:e=>new f.IfcEnvironmentalImpactValue((e[0]??void 0)===void 0||e[0]===""?null:new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,1,e[2]),(e[3]??void 0)===void 0||e[3]===""?null:new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,1,e[3]),(e[4]??void 0)===void 0||e[4]===""?null:new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,1,e[4]),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),new f.IfcLabel((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),e[7],(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),3200245327:e=>new f.IfcExternalReference((e[0]??void 0)===void 0||e[0]===""?null:new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcIdentifier((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),2242383968:e=>new f.IfcExternallyDefinedHatchStyle((e[0]??void 0)===void 0||e[0]===""?null:new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcIdentifier((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),1040185647:e=>new f.IfcExternallyDefinedSurfaceStyle((e[0]??void 0)===void 0||e[0]===""?null:new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcIdentifier((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),3207319532:e=>new f.IfcExternallyDefinedSymbol((e[0]??void 0)===void 0||e[0]===""?null:new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcIdentifier((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),3548104201:e=>new f.IfcExternallyDefinedTextFont((e[0]??void 0)===void 0||e[0]===""?null:new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcIdentifier((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),852622518:e=>new f.IfcGridAxis((e[0]??void 0)===void 0||e[0]===""?null:new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),new f.IfcBoolean((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),3020489413:e=>new f.IfcIrregularTimeSeriesValue(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?Si(1,t):null)||[]),2655187982:e=>new f.IfcLibraryInformation(new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,1,e[2]),(e[3]??void 0)===void 0||e[3]===""?null:new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,1,e[3]),(e[4]??void 0)===void 0||e[4]===""?null:e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),3452421091:e=>new f.IfcLibraryReference((e[0]??void 0)===void 0||e[0]===""?null:new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcIdentifier((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),4162380809:e=>new f.IfcLightDistributionData(new f.IfcPlaneAngleMeasure((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new f.IfcPlaneAngleMeasure(t.value):null)||[],e[2]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new f.IfcLuminousIntensityDistributionMeasure(t.value):null)||[]),1566485204:e=>new f.IfcLightIntensityDistribution(e[0],e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),30780891:e=>new f.IfcLocalTime(new f.IfcHourInDay((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcMinuteInHour((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcSecondInMinute((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,1,e[3]),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcDaylightSavingHour((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),1838606355:e=>new f.IfcMaterial(new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value)),1847130766:e=>new f.IfcMaterialClassificationRelationship(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1])),248100487:e=>new f.IfcMaterialLayer((e[0]??void 0)===void 0||e[0]===""?null:new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),new f.IfcPositiveLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLogical((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),3303938423:e=>new f.IfcMaterialLayerSet(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value)),1303795690:e=>new f.IfcMaterialLayerSetUsage(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),e[1],e[2],new f.IfcLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),2199411900:e=>new f.IfcMaterialList(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),3265635763:e=>new f.IfcMaterialProperties(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0])),2597039031:e=>new f.IfcMeasureWithUnit(Si(1,e[0]),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1])),4256014907:e=>new f.IfcMechanicalMaterialProperties(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcDynamicViscosityMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcModulusOfElasticityMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcModulusOfElasticityMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcPositiveRatioMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new f.IfcThermalExpansionCoefficientMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value)),677618848:e=>new f.IfcMechanicalSteelMaterialProperties(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcDynamicViscosityMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcModulusOfElasticityMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcModulusOfElasticityMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcPositiveRatioMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new f.IfcThermalExpansionCoefficientMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new f.IfcPressureMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcPressureMeasure((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcPositiveRatioMeasure((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new f.IfcModulusOfElasticityMeasure((e[9]??void 0)===void 0||e[9]===""?null:e[9].value),(e[10]??void 0)===void 0||e[10]===""?null:new f.IfcPressureMeasure((e[10]??void 0)===void 0||e[10]===""?null:e[10].value),(e[11]??void 0)===void 0||e[11]===""?null:new f.IfcPositiveRatioMeasure((e[11]??void 0)===void 0||e[11]===""?null:e[11].value),(e[12]??void 0)===void 0||e[12]===""?null:e[12]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),3368373690:e=>new f.IfcMetric(new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),e[2],(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcLabel((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,1,e[4]),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new f.IfcLabel((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),e[7],(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),new u((e[9]??void 0)===void 0||e[9]===""?null:e[9].value,1,e[9])),2706619895:e=>new f.IfcMonetaryUnit(e[0]),1918398963:e=>new f.IfcNamedUnit(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),e[1]),3701648758:e=>new f.IfcObjectPlacement,2251480897:e=>new f.IfcObjective(new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),e[2],(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcLabel((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,1,e[4]),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new f.IfcLabel((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,1,e[7]),(e[8]??void 0)===void 0||e[8]===""?null:new u((e[8]??void 0)===void 0||e[8]===""?null:e[8].value,1,e[8]),e[9],(e[10]??void 0)===void 0||e[10]===""?null:new f.IfcLabel((e[10]??void 0)===void 0||e[10]===""?null:e[10].value)),1227763645:e=>new f.IfcOpticalMaterialProperties(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcPositiveRatioMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcPositiveRatioMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcPositiveRatioMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcPositiveRatioMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new f.IfcPositiveRatioMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new f.IfcPositiveRatioMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcPositiveRatioMeasure((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcPositiveRatioMeasure((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new f.IfcPositiveRatioMeasure((e[9]??void 0)===void 0||e[9]===""?null:e[9].value)),4251960020:e=>new f.IfcOrganization((e[0]??void 0)===void 0||e[0]===""?null:new f.IfcIdentifier((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new f.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcText((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:e[3]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[4]??void 0)===void 0||e[4]===""?null:e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),1411181986:e=>new f.IfcOrganizationRelationship(new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,1,e[2]),e[3]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),1207048766:e=>new f.IfcOwnerHistory(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),e[2],e[3],(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcTimeStamp((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),new f.IfcTimeStamp((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),2077209135:e=>new f.IfcPerson((e[0]??void 0)===void 0||e[0]===""?null:new f.IfcIdentifier((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:e[3]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new f.IfcLabel(t.value):null)||[],(e[4]??void 0)===void 0||e[4]===""?null:e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new f.IfcLabel(t.value):null)||[],(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new f.IfcLabel(t.value):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:e[7]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),101040310:e=>new f.IfcPersonAndOrganization(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:e[2]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),2483315170:e=>new f.IfcPhysicalQuantity(new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value)),2226359599:e=>new f.IfcPhysicalSimpleQuantity(new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,1,e[2])),3355820592:e=>new f.IfcPostalAddress(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcLabel((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new f.IfcLabel(t.value):null)||[],(e[5]??void 0)===void 0||e[5]===""?null:new f.IfcLabel((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new f.IfcLabel((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new f.IfcLabel((e[9]??void 0)===void 0||e[9]===""?null:e[9].value)),3727388367:e=>new f.IfcPreDefinedItem(new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value)),990879717:e=>new f.IfcPreDefinedSymbol(new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value)),3213052703:e=>new f.IfcPreDefinedTerminatorSymbol(new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value)),1775413392:e=>new f.IfcPreDefinedTextFont(new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value)),2022622350:e=>new f.IfcPresentationLayerAssignment(new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),e[2]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcIdentifier((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),1304840413:e=>new f.IfcPresentationLayerWithStyle(new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),e[2]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcIdentifier((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:e[4].value,(e[5]??void 0)===void 0||e[5]===""?null:e[5].value,(e[6]??void 0)===void 0||e[6]===""?null:e[6].value,(e[7]??void 0)===void 0||e[7]===""?null:e[7]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),3119450353:e=>new f.IfcPresentationStyle((e[0]??void 0)===void 0||e[0]===""?null:new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value)),2417041796:e=>new f.IfcPresentationStyleAssignment(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),2095639259:e=>new f.IfcProductRepresentation((e[0]??void 0)===void 0||e[0]===""?null:new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),e[2]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),2267347899:e=>new f.IfcProductsOfCombustionProperties(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcSpecificHeatCapacityMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcPositiveRatioMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcPositiveRatioMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcPositiveRatioMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),3958567839:e=>new f.IfcProfileDef(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value)),2802850158:e=>new f.IfcProfileProperties((e[0]??void 0)===void 0||e[0]===""?null:new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1])),2598011224:e=>new f.IfcProperty(new f.IfcIdentifier((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value)),3896028662:e=>new f.IfcPropertyConstraintRelationship(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),148025276:e=>new f.IfcPropertyDependencyRelationship(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcText((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),3710013099:e=>new f.IfcPropertyEnumeration(new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?Si(1,t):null)||[],(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,1,e[2])),2044713172:e=>new f.IfcQuantityArea(new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,1,e[2]),new f.IfcAreaMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),2093928680:e=>new f.IfcQuantityCount(new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,1,e[2]),new f.IfcCountMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),931644368:e=>new f.IfcQuantityLength(new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,1,e[2]),new f.IfcLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),3252649465:e=>new f.IfcQuantityTime(new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,1,e[2]),new f.IfcTimeMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),2405470396:e=>new f.IfcQuantityVolume(new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,1,e[2]),new f.IfcVolumeMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),825690147:e=>new f.IfcQuantityWeight(new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,1,e[2]),new f.IfcMassMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),2692823254:e=>new f.IfcReferencesValueDocument(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),1580146022:e=>new f.IfcReinforcementBarProperties(new f.IfcAreaMeasure((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new f.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),e[2],(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcPositiveLengthMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new f.IfcCountMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value)),1222501353:e=>new f.IfcRelaxation(new f.IfcNormalisedRatioMeasure((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new f.IfcNormalisedRatioMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value)),1076942058:e=>new f.IfcRepresentation(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),e[3]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),3377609919:e=>new f.IfcRepresentationContext((e[0]??void 0)===void 0||e[0]===""?null:new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value)),3008791417:e=>new f.IfcRepresentationItem,1660063152:e=>new f.IfcRepresentationMap(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1])),3679540991:e=>new f.IfcRibPlateProfileProperties((e[0]??void 0)===void 0||e[0]===""?null:new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcPositiveLengthMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcPositiveLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcPositiveLengthMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new f.IfcPositiveLengthMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),e[6]),2341007311:e=>new f.IfcRoot(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),448429030:e=>new f.IfcSIUnit(e[0],e[1],e[2]),2042790032:e=>new f.IfcSectionProperties(e[0],new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,1,e[2])),4165799628:e=>new f.IfcSectionReinforcementProperties(new f.IfcLengthMeasure((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new f.IfcLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLengthMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),e[3],new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,1,e[4]),e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),867548509:e=>new f.IfcShapeAspect(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcText((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:e[3].value,new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,1,e[4])),3982875396:e=>new f.IfcShapeModel(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),e[3]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),4240577450:e=>new f.IfcShapeRepresentation(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),e[3]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),3692461612:e=>new f.IfcSimpleProperty(new f.IfcIdentifier((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value)),2273995522:e=>new f.IfcStructuralConnectionCondition((e[0]??void 0)===void 0||e[0]===""?null:new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value)),2162789131:e=>new f.IfcStructuralLoad((e[0]??void 0)===void 0||e[0]===""?null:new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value)),2525727697:e=>new f.IfcStructuralLoadStatic((e[0]??void 0)===void 0||e[0]===""?null:new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value)),3408363356:e=>new f.IfcStructuralLoadTemperature((e[0]??void 0)===void 0||e[0]===""?null:new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcThermodynamicTemperatureMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcThermodynamicTemperatureMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcThermodynamicTemperatureMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),2830218821:e=>new f.IfcStyleModel(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),e[3]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),3958052878:e=>new f.IfcStyledItem((e[0]??void 0)===void 0||e[0]===""?null:new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),3049322572:e=>new f.IfcStyledRepresentation(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),e[3]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),1300840506:e=>new f.IfcSurfaceStyle((e[0]??void 0)===void 0||e[0]===""?null:new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),e[1],e[2]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),3303107099:e=>new f.IfcSurfaceStyleLighting(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,1,e[2]),new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,1,e[3])),1607154358:e=>new f.IfcSurfaceStyleRefraction((e[0]??void 0)===void 0||e[0]===""?null:new f.IfcReal((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcReal((e[1]??void 0)===void 0||e[1]===""?null:e[1].value)),846575682:e=>new f.IfcSurfaceStyleShading(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0])),1351298697:e=>new f.IfcSurfaceStyleWithTextures(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),626085974:e=>new f.IfcSurfaceTexture((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,(e[1]??void 0)===void 0||e[1]===""?null:e[1].value,e[2],(e[3]??void 0)===void 0||e[3]===""?null:new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,1,e[3])),1290481447:e=>new f.IfcSymbolStyle((e[0]??void 0)===void 0||e[0]===""?null:new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),Si(1,e[1])),985171141:e=>new f.IfcTable((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),531007025:e=>new f.IfcTableRow(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?Si(1,t):null)||[],(e[1]??void 0)===void 0||e[1]===""?null:e[1].value),912023232:e=>new f.IfcTelecomAddress(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:e[3]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new f.IfcLabel(t.value):null)||[],(e[4]??void 0)===void 0||e[4]===""?null:e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new f.IfcLabel(t.value):null)||[],(e[5]??void 0)===void 0||e[5]===""?null:new f.IfcLabel((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new f.IfcLabel(t.value):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),1447204868:e=>new f.IfcTextStyle((e[0]??void 0)===void 0||e[0]===""?null:new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,1,e[2]),new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,1,e[3])),1983826977:e=>new f.IfcTextStyleFontModel(new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new f.IfcTextFontName(t.value):null)||[],(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcFontStyle((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcFontVariant((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcFontWeight((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),Si(1,e[5])),2636378356:e=>new f.IfcTextStyleForDefinedFont(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1])),1640371178:e=>new f.IfcTextStyleTextModel((e[0]??void 0)===void 0||e[0]===""?null:Si(1,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcTextAlignment((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcTextDecoration((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:Si(1,e[3]),(e[4]??void 0)===void 0||e[4]===""?null:Si(1,e[4]),(e[5]??void 0)===void 0||e[5]===""?null:new f.IfcTextTransformation((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:Si(1,e[6])),1484833681:e=>new f.IfcTextStyleWithBoxCharacteristics((e[0]??void 0)===void 0||e[0]===""?null:new f.IfcPositiveLengthMeasure((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcPositiveLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcPlaneAngleMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcPlaneAngleMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:Si(1,e[4])),280115917:e=>new f.IfcTextureCoordinate,1742049831:e=>new f.IfcTextureCoordinateGenerator(new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?Si(1,t):null)||[]),2552916305:e=>new f.IfcTextureMap(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),1210645708:e=>new f.IfcTextureVertex(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new f.IfcParameterValue(t.value):null)||[]),3317419933:e=>new f.IfcThermalMaterialProperties(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcSpecificHeatCapacityMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcThermodynamicTemperatureMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcThermodynamicTemperatureMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcThermalConductivityMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),3101149627:e=>new f.IfcTimeSeries(new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,1,e[2]),new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,1,e[3]),e[4],e[5],(e[6]??void 0)===void 0||e[6]===""?null:new f.IfcLabel((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,1,e[7])),1718945513:e=>new f.IfcTimeSeriesReferenceRelationship(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),581633288:e=>new f.IfcTimeSeriesValue(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?Si(1,t):null)||[]),1377556343:e=>new f.IfcTopologicalRepresentationItem,1735638870:e=>new f.IfcTopologyRepresentation(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),e[3]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),180925521:e=>new f.IfcUnitAssignment(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),2799835756:e=>new f.IfcVertex,3304826586:e=>new f.IfcVertexBasedTextureMap(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),1907098498:e=>new f.IfcVertexPoint(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0])),891718957:e=>new f.IfcVirtualGridIntersection(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new f.IfcLengthMeasure(t.value):null)||[]),1065908215:e=>new f.IfcWaterProperties(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),(e[1]??void 0)===void 0||e[1]===""||(e[1]??void 0)===void 0||e[1]===""?null:e[1].value,(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcIonConcentrationMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcIonConcentrationMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcIonConcentrationMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new f.IfcNormalisedRatioMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new f.IfcPHMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcNormalisedRatioMeasure((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),2442683028:e=>new f.IfcAnnotationOccurrence((e[0]??void 0)===void 0||e[0]===""?null:new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),962685235:e=>new f.IfcAnnotationSurfaceOccurrence((e[0]??void 0)===void 0||e[0]===""?null:new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),3612888222:e=>new f.IfcAnnotationSymbolOccurrence((e[0]??void 0)===void 0||e[0]===""?null:new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),2297822566:e=>new f.IfcAnnotationTextOccurrence((e[0]??void 0)===void 0||e[0]===""?null:new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),3798115385:e=>new f.IfcArbitraryClosedProfileDef(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,1,e[2])),1310608509:e=>new f.IfcArbitraryOpenProfileDef(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,1,e[2])),2705031697:e=>new f.IfcArbitraryProfileDefWithVoids(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,1,e[2]),e[3]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),616511568:e=>new f.IfcBlobTexture((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,(e[1]??void 0)===void 0||e[1]===""?null:e[1].value,e[2],(e[3]??void 0)===void 0||e[3]===""?null:new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,1,e[3]),new f.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5].value),3150382593:e=>new f.IfcCenterLineProfileDef(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,1,e[2]),new f.IfcPositiveLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),647927063:e=>new f.IfcClassificationReference((e[0]??void 0)===void 0||e[0]===""?null:new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcIdentifier((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,1,e[3])),776857604:e=>new f.IfcColourRgb((e[0]??void 0)===void 0||e[0]===""?null:new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new f.IfcNormalisedRatioMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new f.IfcNormalisedRatioMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),new f.IfcNormalisedRatioMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),2542286263:e=>new f.IfcComplexProperty(new f.IfcIdentifier((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new f.IfcIdentifier((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),e[3]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),1485152156:e=>new f.IfcCompositeProfileDef(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),e[2]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcLabel((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),370225590:e=>new f.IfcConnectedFaceSet(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),1981873012:e=>new f.IfcConnectionCurveGeometry(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1])),45288368:e=>new f.IfcConnectionPointEccentricity(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLengthMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLengthMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),3050246964:e=>new f.IfcContextDependentUnit(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),e[1],new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),2889183280:e=>new f.IfcConversionBasedUnit(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),e[1],new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,1,e[3])),3800577675:e=>new f.IfcCurveStyle((e[0]??void 0)===void 0||e[0]===""?null:new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:Si(1,e[2]),(e[3]??void 0)===void 0||e[3]===""?null:new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,1,e[3])),3632507154:e=>new f.IfcDerivedProfileDef(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,1,e[2]),new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,1,e[3]),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),2273265877:e=>new f.IfcDimensionCalloutRelationship((e[0]??void 0)===void 0||e[0]===""?null:new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,1,e[2]),new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,1,e[3])),1694125774:e=>new f.IfcDimensionPair((e[0]??void 0)===void 0||e[0]===""?null:new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,1,e[2]),new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,1,e[3])),3732053477:e=>new f.IfcDocumentReference((e[0]??void 0)===void 0||e[0]===""?null:new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcIdentifier((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),4170525392:e=>new f.IfcDraughtingPreDefinedTextFont(new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value)),3900360178:e=>new f.IfcEdge(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1])),476780140:e=>new f.IfcEdgeCurve(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,1,e[2]),(e[3]??void 0)===void 0||e[3]===""?null:e[3].value),1860660968:e=>new f.IfcExtendedMaterialProperties(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcText((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),new f.IfcLabel((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),2556980723:e=>new f.IfcFace(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),1809719519:e=>new f.IfcFaceBound(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:e[1].value),803316827:e=>new f.IfcFaceOuterBound(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:e[1].value),3008276851:e=>new f.IfcFaceSurface(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:e[2].value),4219587988:e=>new f.IfcFailureConnectionCondition((e[0]??void 0)===void 0||e[0]===""?null:new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcForceMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcForceMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcForceMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcForceMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new f.IfcForceMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new f.IfcForceMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value)),738692330:e=>new f.IfcFillAreaStyle((e[0]??void 0)===void 0||e[0]===""?null:new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),3857492461:e=>new f.IfcFuelProperties(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcThermodynamicTemperatureMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcPositiveRatioMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcHeatingValueMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcHeatingValueMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),803998398:e=>new f.IfcGeneralMaterialProperties(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcMolecularWeightMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcNormalisedRatioMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcMassDensityMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),1446786286:e=>new f.IfcGeneralProfileProperties((e[0]??void 0)===void 0||e[0]===""?null:new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcMassPerLengthMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcPositiveLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcPositiveLengthMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new f.IfcPositiveLengthMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new f.IfcAreaMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value)),3448662350:e=>new f.IfcGeometricRepresentationContext((e[0]??void 0)===void 0||e[0]===""?null:new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new f.IfcDimensionCount((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new mt((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,4),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,1,e[4]),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5])),2453401579:e=>new f.IfcGeometricRepresentationItem,4142052618:e=>new f.IfcGeometricRepresentationSubContext((e[0]??void 0)===void 0||e[0]===""?null:new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,1,e[2]),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcPositiveRatioMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4],(e[5]??void 0)===void 0||e[5]===""?null:new f.IfcLabel((e[5]??void 0)===void 0||e[5]===""?null:e[5].value)),3590301190:e=>new f.IfcGeometricSet(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),178086475:e=>new f.IfcGridPlacement(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1])),812098782:e=>new f.IfcHalfSpaceSolid(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:e[1].value),2445078500:e=>new f.IfcHygroscopicMaterialProperties(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcPositiveRatioMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcPositiveRatioMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcIsothermalMoistureCapacityMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcVaporPermeabilityMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new f.IfcMoistureDiffusivityMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value)),3905492369:e=>new f.IfcImageTexture((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,(e[1]??void 0)===void 0||e[1]===""?null:e[1].value,e[2],(e[3]??void 0)===void 0||e[3]===""?null:new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,1,e[3]),new f.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),3741457305:e=>new f.IfcIrregularTimeSeries(new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,1,e[2]),new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,1,e[3]),e[4],e[5],(e[6]??void 0)===void 0||e[6]===""?null:new f.IfcLabel((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,1,e[7]),e[8]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),1402838566:e=>new f.IfcLightSource((e[0]??void 0)===void 0||e[0]===""?null:new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcNormalisedRatioMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcNormalisedRatioMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),125510826:e=>new f.IfcLightSourceAmbient((e[0]??void 0)===void 0||e[0]===""?null:new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcNormalisedRatioMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcNormalisedRatioMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),2604431987:e=>new f.IfcLightSourceDirectional((e[0]??void 0)===void 0||e[0]===""?null:new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcNormalisedRatioMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcNormalisedRatioMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,1,e[4])),4266656042:e=>new f.IfcLightSourceGoniometric((e[0]??void 0)===void 0||e[0]===""?null:new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcNormalisedRatioMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcNormalisedRatioMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,1,e[4]),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),new f.IfcThermodynamicTemperatureMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),new f.IfcLuminousFluxMeasure((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8],new u((e[9]??void 0)===void 0||e[9]===""?null:e[9].value,1,e[9])),1520743889:e=>new f.IfcLightSourcePositional((e[0]??void 0)===void 0||e[0]===""?null:new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcNormalisedRatioMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcNormalisedRatioMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,1,e[4]),new f.IfcPositiveLengthMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),new f.IfcReal((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),new f.IfcReal((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),new f.IfcReal((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),3422422726:e=>new f.IfcLightSourceSpot((e[0]??void 0)===void 0||e[0]===""?null:new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcNormalisedRatioMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcNormalisedRatioMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,1,e[4]),new f.IfcPositiveLengthMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),new f.IfcReal((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),new f.IfcReal((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),new f.IfcReal((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),new u((e[9]??void 0)===void 0||e[9]===""?null:e[9].value,1,e[9]),(e[10]??void 0)===void 0||e[10]===""?null:new f.IfcReal((e[10]??void 0)===void 0||e[10]===""?null:e[10].value),new f.IfcPositivePlaneAngleMeasure((e[11]??void 0)===void 0||e[11]===""?null:e[11].value),new f.IfcPositivePlaneAngleMeasure((e[12]??void 0)===void 0||e[12]===""?null:e[12].value)),2624227202:e=>new f.IfcLocalPlacement((e[0]??void 0)===void 0||e[0]===""?null:new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1])),1008929658:e=>new f.IfcLoop,2347385850:e=>new f.IfcMappedItem(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1])),2022407955:e=>new f.IfcMaterialDefinitionRepresentation((e[0]??void 0)===void 0||e[0]===""?null:new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),e[2]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,1,e[3])),1430189142:e=>new f.IfcMechanicalConcreteMaterialProperties(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcDynamicViscosityMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcModulusOfElasticityMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcModulusOfElasticityMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcPositiveRatioMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new f.IfcThermalExpansionCoefficientMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new f.IfcPressureMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcPositiveLengthMeasure((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcText((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new f.IfcText((e[9]??void 0)===void 0||e[9]===""?null:e[9].value),(e[10]??void 0)===void 0||e[10]===""?null:new f.IfcNormalisedRatioMeasure((e[10]??void 0)===void 0||e[10]===""?null:e[10].value),(e[11]??void 0)===void 0||e[11]===""?null:new f.IfcText((e[11]??void 0)===void 0||e[11]===""?null:e[11].value)),219451334:e=>new f.IfcObjectDefinition(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),2833995503:e=>new f.IfcOneDirectionRepeatFactor(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0])),2665983363:e=>new f.IfcOpenShell(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),1029017970:e=>new f.IfcOrientedEdge(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:e[1].value),2529465313:e=>new f.IfcParameterizedProfileDef(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,1,e[2])),2519244187:e=>new f.IfcPath(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),3021840470:e=>new f.IfcPhysicalComplexQuantity(new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),e[2]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],new f.IfcLabel((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new f.IfcLabel((e[5]??void 0)===void 0||e[5]===""?null:e[5].value)),597895409:e=>new f.IfcPixelTexture((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,(e[1]??void 0)===void 0||e[1]===""?null:e[1].value,e[2],(e[3]??void 0)===void 0||e[3]===""?null:new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,1,e[3]),new f.IfcInteger((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),new f.IfcInteger((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),new f.IfcInteger((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),e[7]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?Number(t.value):null)||[]),2004835150:e=>new f.IfcPlacement(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0])),1663979128:e=>new f.IfcPlanarExtent(new f.IfcLengthMeasure((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new f.IfcLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value)),2067069095:e=>new f.IfcPoint,4022376103:e=>new f.IfcPointOnCurve(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),new f.IfcParameterValue((e[1]??void 0)===void 0||e[1]===""?null:e[1].value)),1423911732:e=>new f.IfcPointOnSurface(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),new f.IfcParameterValue((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new f.IfcParameterValue((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),2924175390:e=>new f.IfcPolyLoop(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),2775532180:e=>new f.IfcPolygonalBoundedHalfSpace(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:e[1].value,new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,1,e[2]),new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,1,e[3])),759155922:e=>new f.IfcPreDefinedColour(new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value)),2559016684:e=>new f.IfcPreDefinedCurveFont(new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value)),433424934:e=>new f.IfcPreDefinedDimensionSymbol(new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value)),179317114:e=>new f.IfcPreDefinedPointMarkerSymbol(new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value)),673634403:e=>new f.IfcProductDefinitionShape((e[0]??void 0)===void 0||e[0]===""?null:new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),e[2]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),871118103:e=>new f.IfcPropertyBoundedValue(new f.IfcIdentifier((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:Si(1,e[2]),(e[3]??void 0)===void 0||e[3]===""?null:Si(1,e[3]),(e[4]??void 0)===void 0||e[4]===""?null:new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,1,e[4])),1680319473:e=>new f.IfcPropertyDefinition(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),4166981789:e=>new f.IfcPropertyEnumeratedValue(new f.IfcIdentifier((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),e[2]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?Si(1,t):null)||[],(e[3]??void 0)===void 0||e[3]===""?null:new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,1,e[3])),2752243245:e=>new f.IfcPropertyListValue(new f.IfcIdentifier((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),e[2]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?Si(1,t):null)||[],(e[3]??void 0)===void 0||e[3]===""?null:new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,1,e[3])),941946838:e=>new f.IfcPropertyReferenceValue(new f.IfcIdentifier((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,1,e[3])),3357820518:e=>new f.IfcPropertySetDefinition(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),3650150729:e=>new f.IfcPropertySingleValue(new f.IfcIdentifier((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:Si(1,e[2]),(e[3]??void 0)===void 0||e[3]===""?null:new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,1,e[3])),110355661:e=>new f.IfcPropertyTableValue(new f.IfcIdentifier((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),e[2]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?Si(1,t):null)||[],e[3]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?Si(1,t):null)||[],(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcText((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6])),3615266464:e=>new f.IfcRectangleProfileDef(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,1,e[2]),new f.IfcPositiveLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new f.IfcPositiveLengthMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),3413951693:e=>new f.IfcRegularTimeSeries(new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,1,e[2]),new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,1,e[3]),e[4],e[5],(e[6]??void 0)===void 0||e[6]===""?null:new f.IfcLabel((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,1,e[7]),new f.IfcTimeMeasure((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),3765753017:e=>new f.IfcReinforcementDefinitionProperties(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),478536968:e=>new f.IfcRelationship(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),2778083089:e=>new f.IfcRoundedRectangleProfileDef(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,1,e[2]),new f.IfcPositiveLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new f.IfcPositiveLengthMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),new f.IfcPositiveLengthMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value)),1509187699:e=>new f.IfcSectionedSpine(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],e[2]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),2411513650:e=>new f.IfcServiceLifeFactor(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4],(e[5]??void 0)===void 0||e[5]===""?null:Si(1,e[5]),Si(1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:Si(1,e[7])),4124623270:e=>new f.IfcShellBasedSurfaceModel(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),2609359061:e=>new f.IfcSlippageConnectionCondition((e[0]??void 0)===void 0||e[0]===""?null:new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLengthMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),723233188:e=>new f.IfcSolidModel,2485662743:e=>new f.IfcSoundProperties(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new f.IfcBoolean((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),e[5],e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),1202362311:e=>new f.IfcSoundValue(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,1,e[4]),new f.IfcFrequencyMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:Si(1,e[6])),390701378:e=>new f.IfcSpaceThermalLoadProperties(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcPositiveRatioMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),e[5],e[6],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcText((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),new f.IfcPowerMeasure((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new f.IfcPowerMeasure((e[9]??void 0)===void 0||e[9]===""?null:e[9].value),(e[10]??void 0)===void 0||e[10]===""?null:new u((e[10]??void 0)===void 0||e[10]===""?null:e[10].value,1,e[10]),(e[11]??void 0)===void 0||e[11]===""?null:new f.IfcLabel((e[11]??void 0)===void 0||e[11]===""?null:e[11].value),(e[12]??void 0)===void 0||e[12]===""?null:new f.IfcLabel((e[12]??void 0)===void 0||e[12]===""?null:e[12].value),e[13]),1595516126:e=>new f.IfcStructuralLoadLinearForce((e[0]??void 0)===void 0||e[0]===""?null:new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcLinearForceMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLinearForceMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcLinearForceMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLinearMomentMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new f.IfcLinearMomentMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new f.IfcLinearMomentMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value)),2668620305:e=>new f.IfcStructuralLoadPlanarForce((e[0]??void 0)===void 0||e[0]===""?null:new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcPlanarForceMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcPlanarForceMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcPlanarForceMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),2473145415:e=>new f.IfcStructuralLoadSingleDisplacement((e[0]??void 0)===void 0||e[0]===""?null:new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLengthMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcPlaneAngleMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new f.IfcPlaneAngleMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new f.IfcPlaneAngleMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value)),1973038258:e=>new f.IfcStructuralLoadSingleDisplacementDistortion((e[0]??void 0)===void 0||e[0]===""?null:new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLengthMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcPlaneAngleMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new f.IfcPlaneAngleMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new f.IfcPlaneAngleMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcCurvatureMeasure((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),1597423693:e=>new f.IfcStructuralLoadSingleForce((e[0]??void 0)===void 0||e[0]===""?null:new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcForceMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcForceMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcForceMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcTorqueMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new f.IfcTorqueMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new f.IfcTorqueMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value)),1190533807:e=>new f.IfcStructuralLoadSingleForceWarping((e[0]??void 0)===void 0||e[0]===""?null:new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcForceMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcForceMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcForceMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcTorqueMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new f.IfcTorqueMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new f.IfcTorqueMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcWarpingMomentMeasure((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),3843319758:e=>new f.IfcStructuralProfileProperties((e[0]??void 0)===void 0||e[0]===""?null:new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcMassPerLengthMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcPositiveLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcPositiveLengthMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new f.IfcPositiveLengthMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new f.IfcAreaMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcMomentOfInertiaMeasure((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcMomentOfInertiaMeasure((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new f.IfcMomentOfInertiaMeasure((e[9]??void 0)===void 0||e[9]===""?null:e[9].value),(e[10]??void 0)===void 0||e[10]===""?null:new f.IfcMomentOfInertiaMeasure((e[10]??void 0)===void 0||e[10]===""?null:e[10].value),(e[11]??void 0)===void 0||e[11]===""?null:new f.IfcWarpingConstantMeasure((e[11]??void 0)===void 0||e[11]===""?null:e[11].value),(e[12]??void 0)===void 0||e[12]===""?null:new f.IfcLengthMeasure((e[12]??void 0)===void 0||e[12]===""?null:e[12].value),(e[13]??void 0)===void 0||e[13]===""?null:new f.IfcLengthMeasure((e[13]??void 0)===void 0||e[13]===""?null:e[13].value),(e[14]??void 0)===void 0||e[14]===""?null:new f.IfcAreaMeasure((e[14]??void 0)===void 0||e[14]===""?null:e[14].value),(e[15]??void 0)===void 0||e[15]===""?null:new f.IfcAreaMeasure((e[15]??void 0)===void 0||e[15]===""?null:e[15].value),(e[16]??void 0)===void 0||e[16]===""?null:new f.IfcSectionModulusMeasure((e[16]??void 0)===void 0||e[16]===""?null:e[16].value),(e[17]??void 0)===void 0||e[17]===""?null:new f.IfcSectionModulusMeasure((e[17]??void 0)===void 0||e[17]===""?null:e[17].value),(e[18]??void 0)===void 0||e[18]===""?null:new f.IfcSectionModulusMeasure((e[18]??void 0)===void 0||e[18]===""?null:e[18].value),(e[19]??void 0)===void 0||e[19]===""?null:new f.IfcSectionModulusMeasure((e[19]??void 0)===void 0||e[19]===""?null:e[19].value),(e[20]??void 0)===void 0||e[20]===""?null:new f.IfcSectionModulusMeasure((e[20]??void 0)===void 0||e[20]===""?null:e[20].value),(e[21]??void 0)===void 0||e[21]===""?null:new f.IfcLengthMeasure((e[21]??void 0)===void 0||e[21]===""?null:e[21].value),(e[22]??void 0)===void 0||e[22]===""?null:new f.IfcLengthMeasure((e[22]??void 0)===void 0||e[22]===""?null:e[22].value)),3653947884:e=>new f.IfcStructuralSteelProfileProperties((e[0]??void 0)===void 0||e[0]===""?null:new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcMassPerLengthMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcPositiveLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcPositiveLengthMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new f.IfcPositiveLengthMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new f.IfcAreaMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcMomentOfInertiaMeasure((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcMomentOfInertiaMeasure((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new f.IfcMomentOfInertiaMeasure((e[9]??void 0)===void 0||e[9]===""?null:e[9].value),(e[10]??void 0)===void 0||e[10]===""?null:new f.IfcMomentOfInertiaMeasure((e[10]??void 0)===void 0||e[10]===""?null:e[10].value),(e[11]??void 0)===void 0||e[11]===""?null:new f.IfcWarpingConstantMeasure((e[11]??void 0)===void 0||e[11]===""?null:e[11].value),(e[12]??void 0)===void 0||e[12]===""?null:new f.IfcLengthMeasure((e[12]??void 0)===void 0||e[12]===""?null:e[12].value),(e[13]??void 0)===void 0||e[13]===""?null:new f.IfcLengthMeasure((e[13]??void 0)===void 0||e[13]===""?null:e[13].value),(e[14]??void 0)===void 0||e[14]===""?null:new f.IfcAreaMeasure((e[14]??void 0)===void 0||e[14]===""?null:e[14].value),(e[15]??void 0)===void 0||e[15]===""?null:new f.IfcAreaMeasure((e[15]??void 0)===void 0||e[15]===""?null:e[15].value),(e[16]??void 0)===void 0||e[16]===""?null:new f.IfcSectionModulusMeasure((e[16]??void 0)===void 0||e[16]===""?null:e[16].value),(e[17]??void 0)===void 0||e[17]===""?null:new f.IfcSectionModulusMeasure((e[17]??void 0)===void 0||e[17]===""?null:e[17].value),(e[18]??void 0)===void 0||e[18]===""?null:new f.IfcSectionModulusMeasure((e[18]??void 0)===void 0||e[18]===""?null:e[18].value),(e[19]??void 0)===void 0||e[19]===""?null:new f.IfcSectionModulusMeasure((e[19]??void 0)===void 0||e[19]===""?null:e[19].value),(e[20]??void 0)===void 0||e[20]===""?null:new f.IfcSectionModulusMeasure((e[20]??void 0)===void 0||e[20]===""?null:e[20].value),(e[21]??void 0)===void 0||e[21]===""?null:new f.IfcLengthMeasure((e[21]??void 0)===void 0||e[21]===""?null:e[21].value),(e[22]??void 0)===void 0||e[22]===""?null:new f.IfcLengthMeasure((e[22]??void 0)===void 0||e[22]===""?null:e[22].value),(e[23]??void 0)===void 0||e[23]===""?null:new f.IfcAreaMeasure((e[23]??void 0)===void 0||e[23]===""?null:e[23].value),(e[24]??void 0)===void 0||e[24]===""?null:new f.IfcAreaMeasure((e[24]??void 0)===void 0||e[24]===""?null:e[24].value),(e[25]??void 0)===void 0||e[25]===""?null:new f.IfcPositiveRatioMeasure((e[25]??void 0)===void 0||e[25]===""?null:e[25].value),(e[26]??void 0)===void 0||e[26]===""?null:new f.IfcPositiveRatioMeasure((e[26]??void 0)===void 0||e[26]===""?null:e[26].value)),2233826070:e=>new f.IfcSubedge(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,1,e[2])),2513912981:e=>new f.IfcSurface,1878645084:e=>new f.IfcSurfaceStyleRendering(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcNormalisedRatioMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,1,e[2]),(e[3]??void 0)===void 0||e[3]===""?null:new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,1,e[3]),(e[4]??void 0)===void 0||e[4]===""?null:new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,1,e[4]),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:Si(1,e[7]),e[8]),2247615214:e=>new f.IfcSweptAreaSolid(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1])),1260650574:e=>new f.IfcSweptDiskSolid(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),new f.IfcPositiveLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcPositiveLengthMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),new f.IfcParameterValue((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new f.IfcParameterValue((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),230924584:e=>new f.IfcSweptSurface(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1])),3071757647:e=>new f.IfcTShapeProfileDef(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,1,e[2]),new f.IfcPositiveLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new f.IfcPositiveLengthMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),new f.IfcPositiveLengthMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),new f.IfcPositiveLengthMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcPositiveLengthMeasure((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcPositiveLengthMeasure((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new f.IfcPositiveLengthMeasure((e[9]??void 0)===void 0||e[9]===""?null:e[9].value),(e[10]??void 0)===void 0||e[10]===""?null:new f.IfcPlaneAngleMeasure((e[10]??void 0)===void 0||e[10]===""?null:e[10].value),(e[11]??void 0)===void 0||e[11]===""?null:new f.IfcPlaneAngleMeasure((e[11]??void 0)===void 0||e[11]===""?null:e[11].value),(e[12]??void 0)===void 0||e[12]===""?null:new f.IfcPositiveLengthMeasure((e[12]??void 0)===void 0||e[12]===""?null:e[12].value)),3028897424:e=>new f.IfcTerminatorSymbol((e[0]??void 0)===void 0||e[0]===""?null:new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,1,e[3])),4282788508:e=>new f.IfcTextLiteral(new f.IfcPresentableText((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),e[2]),3124975700:e=>new f.IfcTextLiteralWithExtent(new f.IfcPresentableText((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),e[2],new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,1,e[3]),new f.IfcBoxAlignment((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),2715220739:e=>new f.IfcTrapeziumProfileDef(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,1,e[2]),new f.IfcPositiveLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new f.IfcPositiveLengthMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),new f.IfcPositiveLengthMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),new f.IfcLengthMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value)),1345879162:e=>new f.IfcTwoDirectionRepeatFactor(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1])),1628702193:e=>new f.IfcTypeObject(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),2347495698:e=>new f.IfcTypeProduct(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),427810014:e=>new f.IfcUShapeProfileDef(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,1,e[2]),new f.IfcPositiveLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new f.IfcPositiveLengthMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),new f.IfcPositiveLengthMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),new f.IfcPositiveLengthMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcPositiveLengthMeasure((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcPositiveLengthMeasure((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new f.IfcPlaneAngleMeasure((e[9]??void 0)===void 0||e[9]===""?null:e[9].value),(e[10]??void 0)===void 0||e[10]===""?null:new f.IfcPositiveLengthMeasure((e[10]??void 0)===void 0||e[10]===""?null:e[10].value)),1417489154:e=>new f.IfcVector(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),new f.IfcLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value)),2759199220:e=>new f.IfcVertexLoop(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0])),336235671:e=>new f.IfcWindowLiningProperties(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcPositiveLengthMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new f.IfcPositiveLengthMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new f.IfcPositiveLengthMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcPositiveLengthMeasure((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcNormalisedRatioMeasure((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new f.IfcNormalisedRatioMeasure((e[9]??void 0)===void 0||e[9]===""?null:e[9].value),(e[10]??void 0)===void 0||e[10]===""?null:new f.IfcNormalisedRatioMeasure((e[10]??void 0)===void 0||e[10]===""?null:e[10].value),(e[11]??void 0)===void 0||e[11]===""?null:new f.IfcNormalisedRatioMeasure((e[11]??void 0)===void 0||e[11]===""?null:e[11].value),(e[12]??void 0)===void 0||e[12]===""?null:new u((e[12]??void 0)===void 0||e[12]===""?null:e[12].value,1,e[12])),512836454:e=>new f.IfcWindowPanelProperties(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4],e[5],(e[6]??void 0)===void 0||e[6]===""?null:new f.IfcPositiveLengthMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcPositiveLengthMeasure((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new u((e[8]??void 0)===void 0||e[8]===""?null:e[8].value,1,e[8])),1299126871:e=>new f.IfcWindowStyle(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8],e[9],(e[10]??void 0)===void 0||e[10]===""?null:e[10].value,(e[11]??void 0)===void 0||e[11]===""?null:e[11].value),2543172580:e=>new f.IfcZShapeProfileDef(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,1,e[2]),new f.IfcPositiveLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new f.IfcPositiveLengthMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),new f.IfcPositiveLengthMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),new f.IfcPositiveLengthMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcPositiveLengthMeasure((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcPositiveLengthMeasure((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),3288037868:e=>new f.IfcAnnotationCurveOccurrence((e[0]??void 0)===void 0||e[0]===""?null:new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),669184980:e=>new f.IfcAnnotationFillArea(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),2265737646:e=>new f.IfcAnnotationFillAreaOccurrence((e[0]??void 0)===void 0||e[0]===""?null:new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,1,e[3]),e[4]),1302238472:e=>new f.IfcAnnotationSurface(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1])),4261334040:e=>new f.IfcAxis1Placement(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1])),3125803723:e=>new f.IfcAxis2Placement2D(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1])),2740243338:e=>new f.IfcAxis2Placement3D(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,1,e[2])),2736907675:e=>new f.IfcBooleanResult(e[0],new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,1,e[2])),4182860854:e=>new f.IfcBoundedSurface,2581212453:e=>new f.IfcBoundingBox(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),new f.IfcPositiveLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new f.IfcPositiveLengthMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),new f.IfcPositiveLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),2713105998:e=>new f.IfcBoxedHalfSpace(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:e[1].value,new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,1,e[2])),2898889636:e=>new f.IfcCShapeProfileDef(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,1,e[2]),new f.IfcPositiveLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new f.IfcPositiveLengthMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),new f.IfcPositiveLengthMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),new f.IfcPositiveLengthMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcPositiveLengthMeasure((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcPositiveLengthMeasure((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),1123145078:e=>new f.IfcCartesianPoint(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new f.IfcLengthMeasure(t.value):null)||[]),59481748:e=>new f.IfcCartesianTransformationOperator((e[0]??void 0)===void 0||e[0]===""?null:new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,1,e[2]),(e[3]??void 0)===void 0||e[3]===""?null:new mt((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,4)),3749851601:e=>new f.IfcCartesianTransformationOperator2D((e[0]??void 0)===void 0||e[0]===""?null:new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,1,e[2]),(e[3]??void 0)===void 0||e[3]===""?null:new mt((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,4)),3486308946:e=>new f.IfcCartesianTransformationOperator2DnonUniform((e[0]??void 0)===void 0||e[0]===""?null:new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,1,e[2]),(e[3]??void 0)===void 0||e[3]===""?null:new mt((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,4),(e[4]??void 0)===void 0||e[4]===""?null:new mt((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,4)),3331915920:e=>new f.IfcCartesianTransformationOperator3D((e[0]??void 0)===void 0||e[0]===""?null:new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,1,e[2]),(e[3]??void 0)===void 0||e[3]===""?null:new mt((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,4),(e[4]??void 0)===void 0||e[4]===""?null:new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,1,e[4])),1416205885:e=>new f.IfcCartesianTransformationOperator3DnonUniform((e[0]??void 0)===void 0||e[0]===""?null:new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,1,e[2]),(e[3]??void 0)===void 0||e[3]===""?null:new mt((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,4),(e[4]??void 0)===void 0||e[4]===""?null:new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,1,e[4]),(e[5]??void 0)===void 0||e[5]===""?null:new mt((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,4),(e[6]??void 0)===void 0||e[6]===""?null:new mt((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,4)),1383045692:e=>new f.IfcCircleProfileDef(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,1,e[2]),new f.IfcPositiveLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),2205249479:e=>new f.IfcClosedShell(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),2485617015:e=>new f.IfcCompositeCurveSegment(e[0],(e[1]??void 0)===void 0||e[1]===""?null:e[1].value,new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,1,e[2])),4133800736:e=>new f.IfcCraneRailAShapeProfileDef(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,1,e[2]),new f.IfcPositiveLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new f.IfcPositiveLengthMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new f.IfcPositiveLengthMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),new f.IfcPositiveLengthMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),new f.IfcPositiveLengthMeasure((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),new f.IfcPositiveLengthMeasure((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),new f.IfcPositiveLengthMeasure((e[9]??void 0)===void 0||e[9]===""?null:e[9].value),new f.IfcPositiveLengthMeasure((e[10]??void 0)===void 0||e[10]===""?null:e[10].value),new f.IfcPositiveLengthMeasure((e[11]??void 0)===void 0||e[11]===""?null:e[11].value),new f.IfcPositiveLengthMeasure((e[12]??void 0)===void 0||e[12]===""?null:e[12].value),new f.IfcPositiveLengthMeasure((e[13]??void 0)===void 0||e[13]===""?null:e[13].value),(e[14]??void 0)===void 0||e[14]===""?null:new f.IfcPositiveLengthMeasure((e[14]??void 0)===void 0||e[14]===""?null:e[14].value)),194851669:e=>new f.IfcCraneRailFShapeProfileDef(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,1,e[2]),new f.IfcPositiveLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new f.IfcPositiveLengthMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new f.IfcPositiveLengthMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),new f.IfcPositiveLengthMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),new f.IfcPositiveLengthMeasure((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),new f.IfcPositiveLengthMeasure((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),new f.IfcPositiveLengthMeasure((e[9]??void 0)===void 0||e[9]===""?null:e[9].value),new f.IfcPositiveLengthMeasure((e[10]??void 0)===void 0||e[10]===""?null:e[10].value),(e[11]??void 0)===void 0||e[11]===""?null:new f.IfcPositiveLengthMeasure((e[11]??void 0)===void 0||e[11]===""?null:e[11].value)),2506170314:e=>new f.IfcCsgPrimitive3D(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0])),2147822146:e=>new f.IfcCsgSolid(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0])),2601014836:e=>new f.IfcCurve,2827736869:e=>new f.IfcCurveBoundedPlane(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:e[2]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),693772133:e=>new f.IfcDefinedSymbol(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1])),606661476:e=>new f.IfcDimensionCurve((e[0]??void 0)===void 0||e[0]===""?null:new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),4054601972:e=>new f.IfcDimensionCurveTerminator((e[0]??void 0)===void 0||e[0]===""?null:new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,1,e[3]),e[4]),32440307:e=>new f.IfcDirection(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?Number(t.value):null)||[]),2963535650:e=>new f.IfcDoorLiningProperties(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcPositiveLengthMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new f.IfcPositiveLengthMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new f.IfcPositiveLengthMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcPositiveLengthMeasure((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcPositiveLengthMeasure((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new f.IfcLengthMeasure((e[9]??void 0)===void 0||e[9]===""?null:e[9].value),(e[10]??void 0)===void 0||e[10]===""?null:new f.IfcLengthMeasure((e[10]??void 0)===void 0||e[10]===""?null:e[10].value),(e[11]??void 0)===void 0||e[11]===""?null:new f.IfcLengthMeasure((e[11]??void 0)===void 0||e[11]===""?null:e[11].value),(e[12]??void 0)===void 0||e[12]===""?null:new f.IfcPositiveLengthMeasure((e[12]??void 0)===void 0||e[12]===""?null:e[12].value),(e[13]??void 0)===void 0||e[13]===""?null:new f.IfcPositiveLengthMeasure((e[13]??void 0)===void 0||e[13]===""?null:e[13].value),(e[14]??void 0)===void 0||e[14]===""?null:new u((e[14]??void 0)===void 0||e[14]===""?null:e[14].value,1,e[14])),1714330368:e=>new f.IfcDoorPanelProperties(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcPositiveLengthMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),e[5],(e[6]??void 0)===void 0||e[6]===""?null:new f.IfcNormalisedRatioMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),e[7],(e[8]??void 0)===void 0||e[8]===""?null:new u((e[8]??void 0)===void 0||e[8]===""?null:e[8].value,1,e[8])),526551008:e=>new f.IfcDoorStyle(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8],e[9],(e[10]??void 0)===void 0||e[10]===""?null:e[10].value,(e[11]??void 0)===void 0||e[11]===""?null:e[11].value),3073041342:e=>new f.IfcDraughtingCallout(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),445594917:e=>new f.IfcDraughtingPreDefinedColour(new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value)),4006246654:e=>new f.IfcDraughtingPreDefinedCurveFont(new f.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value)),1472233963:e=>new f.IfcEdgeLoop(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),1883228015:e=>new f.IfcElementQuantity(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),339256511:e=>new f.IfcElementType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),2777663545:e=>new f.IfcElementarySurface(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0])),2835456948:e=>new f.IfcEllipseProfileDef(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,1,e[2]),new f.IfcPositiveLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new f.IfcPositiveLengthMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),80994333:e=>new f.IfcEnergyProperties(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4],(e[5]??void 0)===void 0||e[5]===""?null:new f.IfcLabel((e[5]??void 0)===void 0||e[5]===""?null:e[5].value)),477187591:e=>new f.IfcExtrudedAreaSolid(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,1,e[2]),new f.IfcPositiveLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),2047409740:e=>new f.IfcFaceBasedSurfaceModel(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),374418227:e=>new f.IfcFillAreaStyleHatching(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,1,e[2]),(e[3]??void 0)===void 0||e[3]===""?null:new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,1,e[3]),new f.IfcPlaneAngleMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),4203026998:e=>new f.IfcFillAreaStyleTileSymbolWithStyle(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0])),315944413:e=>new f.IfcFillAreaStyleTiles(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],new f.IfcPositiveRatioMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),3455213021:e=>new f.IfcFluidFlowProperties(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4],(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,1,e[7]),new u((e[8]??void 0)===void 0||e[8]===""?null:e[8].value,1,e[8]),(e[9]??void 0)===void 0||e[9]===""?null:new u((e[9]??void 0)===void 0||e[9]===""?null:e[9].value,1,e[9]),(e[10]??void 0)===void 0||e[10]===""?null:new f.IfcLabel((e[10]??void 0)===void 0||e[10]===""?null:e[10].value),(e[11]??void 0)===void 0||e[11]===""?null:new f.IfcThermodynamicTemperatureMeasure((e[11]??void 0)===void 0||e[11]===""?null:e[11].value),(e[12]??void 0)===void 0||e[12]===""?null:new f.IfcThermodynamicTemperatureMeasure((e[12]??void 0)===void 0||e[12]===""?null:e[12].value),(e[13]??void 0)===void 0||e[13]===""?null:new u((e[13]??void 0)===void 0||e[13]===""?null:e[13].value,1,e[13]),(e[14]??void 0)===void 0||e[14]===""?null:new u((e[14]??void 0)===void 0||e[14]===""?null:e[14].value,1,e[14]),(e[15]??void 0)===void 0||e[15]===""?null:Si(1,e[15]),(e[16]??void 0)===void 0||e[16]===""?null:new f.IfcPositiveRatioMeasure((e[16]??void 0)===void 0||e[16]===""?null:e[16].value),(e[17]??void 0)===void 0||e[17]===""?null:new f.IfcLinearVelocityMeasure((e[17]??void 0)===void 0||e[17]===""?null:e[17].value),(e[18]??void 0)===void 0||e[18]===""?null:new f.IfcPressureMeasure((e[18]??void 0)===void 0||e[18]===""?null:e[18].value)),4238390223:e=>new f.IfcFurnishingElementType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),1268542332:e=>new f.IfcFurnitureType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),987898635:e=>new f.IfcGeometricCurveSet(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),1484403080:e=>new f.IfcIShapeProfileDef(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,1,e[2]),new f.IfcPositiveLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new f.IfcPositiveLengthMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),new f.IfcPositiveLengthMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),new f.IfcPositiveLengthMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcPositiveLengthMeasure((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),572779678:e=>new f.IfcLShapeProfileDef(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,1,e[2]),new f.IfcPositiveLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcPositiveLengthMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),new f.IfcPositiveLengthMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new f.IfcPositiveLengthMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcPositiveLengthMeasure((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcPlaneAngleMeasure((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new f.IfcPositiveLengthMeasure((e[9]??void 0)===void 0||e[9]===""?null:e[9].value),(e[10]??void 0)===void 0||e[10]===""?null:new f.IfcPositiveLengthMeasure((e[10]??void 0)===void 0||e[10]===""?null:e[10].value)),1281925730:e=>new f.IfcLine(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1])),1425443689:e=>new f.IfcManifoldSolidBrep(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0])),3888040117:e=>new f.IfcObject(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),3388369263:e=>new f.IfcOffsetCurve2D(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),new f.IfcLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:e[2].value),3505215534:e=>new f.IfcOffsetCurve3D(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),new f.IfcLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:e[2].value,new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,1,e[3])),3566463478:e=>new f.IfcPermeableCoveringProperties(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4],e[5],(e[6]??void 0)===void 0||e[6]===""?null:new f.IfcPositiveLengthMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcPositiveLengthMeasure((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new u((e[8]??void 0)===void 0||e[8]===""?null:e[8].value,1,e[8])),603570806:e=>new f.IfcPlanarBox(new f.IfcLengthMeasure((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new f.IfcLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,1,e[2])),220341763:e=>new f.IfcPlane(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0])),2945172077:e=>new f.IfcProcess(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),4208778838:e=>new f.IfcProduct(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6])),103090709:e=>new f.IfcProject(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new f.IfcLabel((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new f.IfcLabel((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),e[7]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],new u((e[8]??void 0)===void 0||e[8]===""?null:e[8].value,1,e[8])),4194566429:e=>new f.IfcProjectionCurve((e[0]??void 0)===void 0||e[0]===""?null:new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),1451395588:e=>new f.IfcPropertySet(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),3219374653:e=>new f.IfcProxy(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),e[7],(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),2770003689:e=>new f.IfcRectangleHollowProfileDef(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,1,e[2]),new f.IfcPositiveLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new f.IfcPositiveLengthMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),new f.IfcPositiveLengthMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new f.IfcPositiveLengthMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcPositiveLengthMeasure((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),2798486643:e=>new f.IfcRectangularPyramid(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),new f.IfcPositiveLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new f.IfcPositiveLengthMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),new f.IfcPositiveLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),3454111270:e=>new f.IfcRectangularTrimmedSurface(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),new f.IfcParameterValue((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new f.IfcParameterValue((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),new f.IfcParameterValue((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new f.IfcParameterValue((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5].value,(e[6]??void 0)===void 0||e[6]===""?null:e[6].value),3939117080:e=>new f.IfcRelAssigns(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],e[5]),1683148259:e=>new f.IfcRelAssignsToActor(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],e[5],new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,1,e[7])),2495723537:e=>new f.IfcRelAssignsToControl(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],e[5],new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6])),1307041759:e=>new f.IfcRelAssignsToGroup(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],e[5],new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6])),4278684876:e=>new f.IfcRelAssignsToProcess(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],e[5],new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,1,e[7])),2857406711:e=>new f.IfcRelAssignsToProduct(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],e[5],new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6])),3372526763:e=>new f.IfcRelAssignsToProjectOrder(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],e[5],new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6])),205026976:e=>new f.IfcRelAssignsToResource(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],e[5],new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6])),1865459582:e=>new f.IfcRelAssociates(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),1327628568:e=>new f.IfcRelAssociatesAppliedValue(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5])),4095574036:e=>new f.IfcRelAssociatesApproval(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5])),919958153:e=>new f.IfcRelAssociatesClassification(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5])),2728634034:e=>new f.IfcRelAssociatesConstraint(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],new f.IfcLabel((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6])),982818633:e=>new f.IfcRelAssociatesDocument(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5])),3840914261:e=>new f.IfcRelAssociatesLibrary(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5])),2655215786:e=>new f.IfcRelAssociatesMaterial(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5])),2851387026:e=>new f.IfcRelAssociatesProfileProperties(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,1,e[7])),826625072:e=>new f.IfcRelConnects(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),1204542856:e=>new f.IfcRelConnectsElements(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,1,e[4]),new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6])),3945020480:e=>new f.IfcRelConnectsPathElements(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,1,e[4]),new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:e[7]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?Number(t.value):null)||[],(e[8]??void 0)===void 0||e[8]===""?null:e[8]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?Number(t.value):null)||[],e[9],e[10]),4201705270:e=>new f.IfcRelConnectsPortToElement(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,1,e[4]),new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5])),3190031847:e=>new f.IfcRelConnectsPorts(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,1,e[4]),new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6])),2127690289:e=>new f.IfcRelConnectsStructuralActivity(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,1,e[4]),new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5])),3912681535:e=>new f.IfcRelConnectsStructuralElement(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,1,e[4]),new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5])),1638771189:e=>new f.IfcRelConnectsStructuralMember(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,1,e[4]),new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,1,e[7]),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLengthMeasure((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new u((e[9]??void 0)===void 0||e[9]===""?null:e[9].value,1,e[9])),504942748:e=>new f.IfcRelConnectsWithEccentricity(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,1,e[4]),new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,1,e[7]),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLengthMeasure((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new u((e[9]??void 0)===void 0||e[9]===""?null:e[9].value,1,e[9]),new u((e[10]??void 0)===void 0||e[10]===""?null:e[10].value,1,e[10])),3678494232:e=>new f.IfcRelConnectsWithRealizingElements(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,1,e[4]),new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),e[7]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),3242617779:e=>new f.IfcRelContainedInSpatialStructure(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5])),886880790:e=>new f.IfcRelCoversBldgElements(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,1,e[4]),e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),2802773753:e=>new f.IfcRelCoversSpaces(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,1,e[4]),e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),2551354335:e=>new f.IfcRelDecomposes(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,1,e[4]),e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),693640335:e=>new f.IfcRelDefines(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),4186316022:e=>new f.IfcRelDefinesByProperties(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5])),781010003:e=>new f.IfcRelDefinesByType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5])),3940055652:e=>new f.IfcRelFillsElement(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,1,e[4]),new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5])),279856033:e=>new f.IfcRelFlowControlElements(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5])),4189434867:e=>new f.IfcRelInteractionRequirements(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcCountMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new f.IfcNormalisedRatioMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,1,e[7]),new u((e[8]??void 0)===void 0||e[8]===""?null:e[8].value,1,e[8])),3268803585:e=>new f.IfcRelNests(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,1,e[4]),e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),2051452291:e=>new f.IfcRelOccupiesSpaces(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],e[5],new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,1,e[7])),202636808:e=>new f.IfcRelOverridesProperties(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),750771296:e=>new f.IfcRelProjectsElement(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,1,e[4]),new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5])),1245217292:e=>new f.IfcRelReferencedInSpatialStructure(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5])),1058617721:e=>new f.IfcRelSchedulesCostItems(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],e[5],new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6])),4122056220:e=>new f.IfcRelSequence(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,1,e[4]),new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),new f.IfcTimeMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),e[7]),366585022:e=>new f.IfcRelServicesBuildings(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,1,e[4]),e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),3451746338:e=>new f.IfcRelSpaceBoundary(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,1,e[4]),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),e[7],e[8]),1401173127:e=>new f.IfcRelVoidsElement(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,1,e[4]),new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5])),2914609552:e=>new f.IfcResource(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),1856042241:e=>new f.IfcRevolvedAreaSolid(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,1,e[2]),new f.IfcPlaneAngleMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),4158566097:e=>new f.IfcRightCircularCone(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),new f.IfcPositiveLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new f.IfcPositiveLengthMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),3626867408:e=>new f.IfcRightCircularCylinder(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),new f.IfcPositiveLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new f.IfcPositiveLengthMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),2706606064:e=>new f.IfcSpatialStructureElement(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),3893378262:e=>new f.IfcSpatialStructureElementType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),451544542:e=>new f.IfcSphere(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),new f.IfcPositiveLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value)),3544373492:e=>new f.IfcStructuralActivity(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,1,e[7]),e[8]),3136571912:e=>new f.IfcStructuralItem(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6])),530289379:e=>new f.IfcStructuralMember(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6])),3689010777:e=>new f.IfcStructuralReaction(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,1,e[7]),e[8]),3979015343:e=>new f.IfcStructuralSurfaceMember(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),e[7],(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcPositiveLengthMeasure((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),2218152070:e=>new f.IfcStructuralSurfaceMemberVarying(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),e[7],(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcPositiveLengthMeasure((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new f.IfcPositiveLengthMeasure(t.value):null)||[],new u((e[10]??void 0)===void 0||e[10]===""?null:e[10].value,1,e[10])),4070609034:e=>new f.IfcStructuredDimensionCallout(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),2028607225:e=>new f.IfcSurfaceCurveSweptAreaSolid(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,1,e[2]),new f.IfcParameterValue((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new f.IfcParameterValue((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5])),2809605785:e=>new f.IfcSurfaceOfLinearExtrusion(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,1,e[2]),new f.IfcLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),4124788165:e=>new f.IfcSurfaceOfRevolution(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,1,e[2])),1580310250:e=>new f.IfcSystemFurnitureElementType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),3473067441:e=>new f.IfcTask(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),new f.IfcIdentifier((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new f.IfcLabel((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:e[8].value,(e[9]??void 0)===void 0||e[9]===""?null:new mt((e[9]??void 0)===void 0||e[9]===""?null:e[9].value,10)),2097647324:e=>new f.IfcTransportElementType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),2296667514:e=>new f.IfcActor(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5])),1674181508:e=>new f.IfcAnnotation(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6])),3207858831:e=>new f.IfcAsymmetricIShapeProfileDef(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,1,e[2]),new f.IfcPositiveLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new f.IfcPositiveLengthMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),new f.IfcPositiveLengthMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),new f.IfcPositiveLengthMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcPositiveLengthMeasure((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),new f.IfcPositiveLengthMeasure((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new f.IfcPositiveLengthMeasure((e[9]??void 0)===void 0||e[9]===""?null:e[9].value),(e[10]??void 0)===void 0||e[10]===""?null:new f.IfcPositiveLengthMeasure((e[10]??void 0)===void 0||e[10]===""?null:e[10].value),(e[11]??void 0)===void 0||e[11]===""?null:new f.IfcPositiveLengthMeasure((e[11]??void 0)===void 0||e[11]===""?null:e[11].value)),1334484129:e=>new f.IfcBlock(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),new f.IfcPositiveLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new f.IfcPositiveLengthMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),new f.IfcPositiveLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),3649129432:e=>new f.IfcBooleanClippingResult(e[0],new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,1,e[2])),1260505505:e=>new f.IfcBoundedCurve,4031249490:e=>new f.IfcBuilding(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8],(e[9]??void 0)===void 0||e[9]===""?null:new f.IfcLengthMeasure((e[9]??void 0)===void 0||e[9]===""?null:e[9].value),(e[10]??void 0)===void 0||e[10]===""?null:new f.IfcLengthMeasure((e[10]??void 0)===void 0||e[10]===""?null:e[10].value),(e[11]??void 0)===void 0||e[11]===""?null:new u((e[11]??void 0)===void 0||e[11]===""?null:e[11].value,1,e[11])),1950629157:e=>new f.IfcBuildingElementType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),3124254112:e=>new f.IfcBuildingStorey(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8],(e[9]??void 0)===void 0||e[9]===""?null:new f.IfcLengthMeasure((e[9]??void 0)===void 0||e[9]===""?null:e[9].value)),2937912522:e=>new f.IfcCircleHollowProfileDef(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new f.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,1,e[2]),new f.IfcPositiveLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new f.IfcPositiveLengthMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),300633059:e=>new f.IfcColumnType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),3732776249:e=>new f.IfcCompositeCurve(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[1]??void 0)===void 0||e[1]===""?null:e[1].value),2510884976:e=>new f.IfcConic(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0])),2559216714:e=>new f.IfcConstructionResource(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new f.IfcIdentifier((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new f.IfcLabel((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),e[7],(e[8]??void 0)===void 0||e[8]===""?null:new u((e[8]??void 0)===void 0||e[8]===""?null:e[8].value,1,e[8])),3293443760:e=>new f.IfcControl(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),3895139033:e=>new f.IfcCostItem(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),1419761937:e=>new f.IfcCostSchedule(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,1,e[7]),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:e[9]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[10]??void 0)===void 0||e[10]===""?null:new u((e[10]??void 0)===void 0||e[10]===""?null:e[10].value,1,e[10]),new f.IfcIdentifier((e[11]??void 0)===void 0||e[11]===""?null:e[11].value),e[12]),1916426348:e=>new f.IfcCoveringType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),3295246426:e=>new f.IfcCrewResource(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new f.IfcIdentifier((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new f.IfcLabel((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),e[7],(e[8]??void 0)===void 0||e[8]===""?null:new u((e[8]??void 0)===void 0||e[8]===""?null:e[8].value,1,e[8])),1457835157:e=>new f.IfcCurtainWallType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),681481545:e=>new f.IfcDimensionCurveDirectedCallout(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),3256556792:e=>new f.IfcDistributionElementType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),3849074793:e=>new f.IfcDistributionFlowElementType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),360485395:e=>new f.IfcElectricalBaseProperties(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4],(e[5]??void 0)===void 0||e[5]===""?null:new f.IfcLabel((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),e[6],new f.IfcElectricVoltageMeasure((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),new f.IfcFrequencyMeasure((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new f.IfcElectricCurrentMeasure((e[9]??void 0)===void 0||e[9]===""?null:e[9].value),(e[10]??void 0)===void 0||e[10]===""?null:new f.IfcElectricCurrentMeasure((e[10]??void 0)===void 0||e[10]===""?null:e[10].value),(e[11]??void 0)===void 0||e[11]===""?null:new f.IfcPowerMeasure((e[11]??void 0)===void 0||e[11]===""?null:e[11].value),(e[12]??void 0)===void 0||e[12]===""?null:new f.IfcPowerMeasure((e[12]??void 0)===void 0||e[12]===""?null:e[12].value),new mt((e[13]??void 0)===void 0||e[13]===""?null:e[13].value,10)),1758889154:e=>new f.IfcElement(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),4123344466:e=>new f.IfcElementAssembly(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8],e[9]),1623761950:e=>new f.IfcElementComponent(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),2590856083:e=>new f.IfcElementComponentType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),1704287377:e=>new f.IfcEllipse(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),new f.IfcPositiveLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new f.IfcPositiveLengthMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),2107101300:e=>new f.IfcEnergyConversionDeviceType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),1962604670:e=>new f.IfcEquipmentElement(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),3272907226:e=>new f.IfcEquipmentStandard(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),3174744832:e=>new f.IfcEvaporativeCoolerType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),3390157468:e=>new f.IfcEvaporatorType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),807026263:e=>new f.IfcFacetedBrep(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0])),3737207727:e=>new f.IfcFacetedBrepWithVoids(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),647756555:e=>new f.IfcFastener(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),2489546625:e=>new f.IfcFastenerType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),2827207264:e=>new f.IfcFeatureElement(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),2143335405:e=>new f.IfcFeatureElementAddition(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),1287392070:e=>new f.IfcFeatureElementSubtraction(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),3907093117:e=>new f.IfcFlowControllerType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),3198132628:e=>new f.IfcFlowFittingType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),3815607619:e=>new f.IfcFlowMeterType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1482959167:e=>new f.IfcFlowMovingDeviceType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),1834744321:e=>new f.IfcFlowSegmentType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),1339347760:e=>new f.IfcFlowStorageDeviceType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),2297155007:e=>new f.IfcFlowTerminalType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),3009222698:e=>new f.IfcFlowTreatmentDeviceType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),263784265:e=>new f.IfcFurnishingElement(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),814719939:e=>new f.IfcFurnitureStandard(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),200128114:e=>new f.IfcGasTerminalType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),3009204131:e=>new f.IfcGrid(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),e[7]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],e[8]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[9]??void 0)===void 0||e[9]===""?null:e[9]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),2706460486:e=>new f.IfcGroup(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),1251058090:e=>new f.IfcHeatExchangerType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1806887404:e=>new f.IfcHumidifierType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),2391368822:e=>new f.IfcInventory(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),e[5],new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),e[7]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],new u((e[8]??void 0)===void 0||e[8]===""?null:e[8].value,1,e[8]),(e[9]??void 0)===void 0||e[9]===""?null:new u((e[9]??void 0)===void 0||e[9]===""?null:e[9].value,1,e[9]),(e[10]??void 0)===void 0||e[10]===""?null:new u((e[10]??void 0)===void 0||e[10]===""?null:e[10].value,1,e[10])),4288270099:e=>new f.IfcJunctionBoxType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),3827777499:e=>new f.IfcLaborResource(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new f.IfcIdentifier((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new f.IfcLabel((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),e[7],(e[8]??void 0)===void 0||e[8]===""?null:new u((e[8]??void 0)===void 0||e[8]===""?null:e[8].value,1,e[8]),(e[9]??void 0)===void 0||e[9]===""?null:new f.IfcText((e[9]??void 0)===void 0||e[9]===""?null:e[9].value)),1051575348:e=>new f.IfcLampType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1161773419:e=>new f.IfcLightFixtureType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),2506943328:e=>new f.IfcLinearDimension(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),377706215:e=>new f.IfcMechanicalFastener(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcPositiveLengthMeasure((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new f.IfcPositiveLengthMeasure((e[9]??void 0)===void 0||e[9]===""?null:e[9].value)),2108223431:e=>new f.IfcMechanicalFastenerType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),3181161470:e=>new f.IfcMemberType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),977012517:e=>new f.IfcMotorConnectionType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1916936684:e=>new f.IfcMove(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),new f.IfcIdentifier((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new f.IfcLabel((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:e[8].value,(e[9]??void 0)===void 0||e[9]===""?null:new mt((e[9]??void 0)===void 0||e[9]===""?null:e[9].value,10),new u((e[10]??void 0)===void 0||e[10]===""?null:e[10].value,1,e[10]),new u((e[11]??void 0)===void 0||e[11]===""?null:e[11].value,1,e[11]),(e[12]??void 0)===void 0||e[12]===""?null:e[12]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new f.IfcText(t.value):null)||[]),4143007308:e=>new f.IfcOccupant(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),e[6]),3588315303:e=>new f.IfcOpeningElement(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),3425660407:e=>new f.IfcOrderAction(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),new f.IfcIdentifier((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new f.IfcLabel((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:e[8].value,(e[9]??void 0)===void 0||e[9]===""?null:new mt((e[9]??void 0)===void 0||e[9]===""?null:e[9].value,10),new f.IfcIdentifier((e[10]??void 0)===void 0||e[10]===""?null:e[10].value)),2837617999:e=>new f.IfcOutletType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),2382730787:e=>new f.IfcPerformanceHistory(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),new f.IfcLabel((e[5]??void 0)===void 0||e[5]===""?null:e[5].value)),3327091369:e=>new f.IfcPermit(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),new f.IfcIdentifier((e[5]??void 0)===void 0||e[5]===""?null:e[5].value)),804291784:e=>new f.IfcPipeFittingType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),4231323485:e=>new f.IfcPipeSegmentType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),4017108033:e=>new f.IfcPlateType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),3724593414:e=>new f.IfcPolyline(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),3740093272:e=>new f.IfcPort(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6])),2744685151:e=>new f.IfcProcedure(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),new f.IfcIdentifier((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),e[6],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),2904328755:e=>new f.IfcProjectOrder(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),new f.IfcIdentifier((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),e[6],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),3642467123:e=>new f.IfcProjectOrderRecord(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],e[6]),3651124850:e=>new f.IfcProjectionElement(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),1842657554:e=>new f.IfcProtectiveDeviceType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),2250791053:e=>new f.IfcPumpType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),3248260540:e=>new f.IfcRadiusDimension(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),2893384427:e=>new f.IfcRailingType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),2324767716:e=>new f.IfcRampFlightType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),160246688:e=>new f.IfcRelAggregates(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,1,e[4]),e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),2863920197:e=>new f.IfcRelAssignsTasks(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],e[5],new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,1,e[7])),1768891740:e=>new f.IfcSanitaryTerminalType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),3517283431:e=>new f.IfcScheduleTimeControl(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,1,e[7]),(e[8]??void 0)===void 0||e[8]===""?null:new u((e[8]??void 0)===void 0||e[8]===""?null:e[8].value,1,e[8]),(e[9]??void 0)===void 0||e[9]===""?null:new u((e[9]??void 0)===void 0||e[9]===""?null:e[9].value,1,e[9]),(e[10]??void 0)===void 0||e[10]===""?null:new u((e[10]??void 0)===void 0||e[10]===""?null:e[10].value,1,e[10]),(e[11]??void 0)===void 0||e[11]===""?null:new u((e[11]??void 0)===void 0||e[11]===""?null:e[11].value,1,e[11]),(e[12]??void 0)===void 0||e[12]===""?null:new u((e[12]??void 0)===void 0||e[12]===""?null:e[12].value,1,e[12]),(e[13]??void 0)===void 0||e[13]===""?null:new f.IfcTimeMeasure((e[13]??void 0)===void 0||e[13]===""?null:e[13].value),(e[14]??void 0)===void 0||e[14]===""?null:new f.IfcTimeMeasure((e[14]??void 0)===void 0||e[14]===""?null:e[14].value),(e[15]??void 0)===void 0||e[15]===""?null:new f.IfcTimeMeasure((e[15]??void 0)===void 0||e[15]===""?null:e[15].value),(e[16]??void 0)===void 0||e[16]===""?null:new f.IfcTimeMeasure((e[16]??void 0)===void 0||e[16]===""?null:e[16].value),(e[17]??void 0)===void 0||e[17]===""?null:new f.IfcTimeMeasure((e[17]??void 0)===void 0||e[17]===""?null:e[17].value),(e[18]??void 0)===void 0||e[18]===""||(e[18]??void 0)===void 0||e[18]===""?null:e[18].value,(e[19]??void 0)===void 0||e[19]===""?null:new u((e[19]??void 0)===void 0||e[19]===""?null:e[19].value,1,e[19]),(e[20]??void 0)===void 0||e[20]===""?null:new f.IfcTimeMeasure((e[20]??void 0)===void 0||e[20]===""?null:e[20].value),(e[21]??void 0)===void 0||e[21]===""?null:new f.IfcTimeMeasure((e[21]??void 0)===void 0||e[21]===""?null:e[21].value),(e[22]??void 0)===void 0||e[22]===""?null:new f.IfcPositiveRatioMeasure((e[22]??void 0)===void 0||e[22]===""?null:e[22].value)),4105383287:e=>new f.IfcServiceLife(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),e[5],new f.IfcTimeMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value)),4097777520:e=>new f.IfcSite(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8],(e[9]??void 0)===void 0||e[9]===""?null:new f.IfcCompoundPlaneAngleMeasure(e[9].map(t=>t.value)),(e[10]??void 0)===void 0||e[10]===""?null:new f.IfcCompoundPlaneAngleMeasure(e[10].map(t=>t.value)),(e[11]??void 0)===void 0||e[11]===""?null:new f.IfcLengthMeasure((e[11]??void 0)===void 0||e[11]===""?null:e[11].value),(e[12]??void 0)===void 0||e[12]===""?null:new f.IfcLabel((e[12]??void 0)===void 0||e[12]===""?null:e[12].value),(e[13]??void 0)===void 0||e[13]===""?null:new u((e[13]??void 0)===void 0||e[13]===""?null:e[13].value,1,e[13])),2533589738:e=>new f.IfcSlabType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),3856911033:e=>new f.IfcSpace(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8],e[9],(e[10]??void 0)===void 0||e[10]===""?null:new f.IfcLengthMeasure((e[10]??void 0)===void 0||e[10]===""?null:e[10].value)),1305183839:e=>new f.IfcSpaceHeaterType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),652456506:e=>new f.IfcSpaceProgram(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),new f.IfcIdentifier((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new f.IfcAreaMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcAreaMeasure((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new u((e[8]??void 0)===void 0||e[8]===""?null:e[8].value,1,e[8]),new f.IfcAreaMeasure((e[9]??void 0)===void 0||e[9]===""?null:e[9].value)),3812236995:e=>new f.IfcSpaceType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),3112655638:e=>new f.IfcStackTerminalType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1039846685:e=>new f.IfcStairFlightType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),682877961:e=>new f.IfcStructuralAction(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,1,e[7]),e[8],(e[9]??void 0)===void 0||e[9]===""?null:e[9].value,(e[10]??void 0)===void 0||e[10]===""?null:new u((e[10]??void 0)===void 0||e[10]===""?null:e[10].value,1,e[10])),1179482911:e=>new f.IfcStructuralConnection(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,1,e[7])),4243806635:e=>new f.IfcStructuralCurveConnection(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,1,e[7])),214636428:e=>new f.IfcStructuralCurveMember(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),e[7]),2445595289:e=>new f.IfcStructuralCurveMemberVarying(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),e[7]),1807405624:e=>new f.IfcStructuralLinearAction(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,1,e[7]),e[8],(e[9]??void 0)===void 0||e[9]===""?null:e[9].value,(e[10]??void 0)===void 0||e[10]===""?null:new u((e[10]??void 0)===void 0||e[10]===""?null:e[10].value,1,e[10]),e[11]),1721250024:e=>new f.IfcStructuralLinearActionVarying(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,1,e[7]),e[8],(e[9]??void 0)===void 0||e[9]===""?null:e[9].value,(e[10]??void 0)===void 0||e[10]===""?null:new u((e[10]??void 0)===void 0||e[10]===""?null:e[10].value,1,e[10]),e[11],new u((e[12]??void 0)===void 0||e[12]===""?null:e[12].value,1,e[12]),e[13]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),1252848954:e=>new f.IfcStructuralLoadGroup(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),e[5],e[6],e[7],(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcRatioMeasure((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new f.IfcLabel((e[9]??void 0)===void 0||e[9]===""?null:e[9].value)),1621171031:e=>new f.IfcStructuralPlanarAction(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,1,e[7]),e[8],(e[9]??void 0)===void 0||e[9]===""?null:e[9].value,(e[10]??void 0)===void 0||e[10]===""?null:new u((e[10]??void 0)===void 0||e[10]===""?null:e[10].value,1,e[10]),e[11]),3987759626:e=>new f.IfcStructuralPlanarActionVarying(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,1,e[7]),e[8],(e[9]??void 0)===void 0||e[9]===""?null:e[9].value,(e[10]??void 0)===void 0||e[10]===""?null:new u((e[10]??void 0)===void 0||e[10]===""?null:e[10].value,1,e[10]),e[11],new u((e[12]??void 0)===void 0||e[12]===""?null:e[12].value,1,e[12]),e[13]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),2082059205:e=>new f.IfcStructuralPointAction(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,1,e[7]),e[8],(e[9]??void 0)===void 0||e[9]===""?null:e[9].value,(e[10]??void 0)===void 0||e[10]===""?null:new u((e[10]??void 0)===void 0||e[10]===""?null:e[10].value,1,e[10])),734778138:e=>new f.IfcStructuralPointConnection(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,1,e[7])),1235345126:e=>new f.IfcStructuralPointReaction(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,1,e[7]),e[8]),2986769608:e=>new f.IfcStructuralResultGroup(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),e[5],(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:e[7].value),1975003073:e=>new f.IfcStructuralSurfaceConnection(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,1,e[7])),148013059:e=>new f.IfcSubContractResource(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new f.IfcIdentifier((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new f.IfcLabel((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),e[7],(e[8]??void 0)===void 0||e[8]===""?null:new u((e[8]??void 0)===void 0||e[8]===""?null:e[8].value,1,e[8]),(e[9]??void 0)===void 0||e[9]===""?null:new u((e[9]??void 0)===void 0||e[9]===""?null:e[9].value,1,e[9]),(e[10]??void 0)===void 0||e[10]===""?null:new f.IfcText((e[10]??void 0)===void 0||e[10]===""?null:e[10].value)),2315554128:e=>new f.IfcSwitchingDeviceType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),2254336722:e=>new f.IfcSystem(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),5716631:e=>new f.IfcTankType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1637806684:e=>new f.IfcTimeSeriesSchedule(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],e[6],new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,1,e[7])),1692211062:e=>new f.IfcTransformerType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1620046519:e=>new f.IfcTransportElement(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8],(e[9]??void 0)===void 0||e[9]===""?null:new f.IfcMassMeasure((e[9]??void 0)===void 0||e[9]===""?null:e[9].value),(e[10]??void 0)===void 0||e[10]===""?null:new f.IfcCountMeasure((e[10]??void 0)===void 0||e[10]===""?null:e[10].value)),3593883385:e=>new f.IfcTrimmedCurve(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],e[2]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[3]??void 0)===void 0||e[3]===""?null:e[3].value,e[4]),1600972822:e=>new f.IfcTubeBundleType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1911125066:e=>new f.IfcUnitaryEquipmentType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),728799441:e=>new f.IfcValveType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),2769231204:e=>new f.IfcVirtualElement(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),1898987631:e=>new f.IfcWallType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1133259667:e=>new f.IfcWasteTerminalType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1028945134:e=>new f.IfcWorkControl(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),new f.IfcIdentifier((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:e[7]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new f.IfcTimeMeasure((e[9]??void 0)===void 0||e[9]===""?null:e[9].value),(e[10]??void 0)===void 0||e[10]===""?null:new f.IfcTimeMeasure((e[10]??void 0)===void 0||e[10]===""?null:e[10].value),new u((e[11]??void 0)===void 0||e[11]===""?null:e[11].value,1,e[11]),(e[12]??void 0)===void 0||e[12]===""?null:new u((e[12]??void 0)===void 0||e[12]===""?null:e[12].value,1,e[12]),e[13],(e[14]??void 0)===void 0||e[14]===""?null:new f.IfcLabel((e[14]??void 0)===void 0||e[14]===""?null:e[14].value)),4218914973:e=>new f.IfcWorkPlan(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),new f.IfcIdentifier((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:e[7]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new f.IfcTimeMeasure((e[9]??void 0)===void 0||e[9]===""?null:e[9].value),(e[10]??void 0)===void 0||e[10]===""?null:new f.IfcTimeMeasure((e[10]??void 0)===void 0||e[10]===""?null:e[10].value),new u((e[11]??void 0)===void 0||e[11]===""?null:e[11].value,1,e[11]),(e[12]??void 0)===void 0||e[12]===""?null:new u((e[12]??void 0)===void 0||e[12]===""?null:e[12].value,1,e[12]),e[13],(e[14]??void 0)===void 0||e[14]===""?null:new f.IfcLabel((e[14]??void 0)===void 0||e[14]===""?null:e[14].value)),3342526732:e=>new f.IfcWorkSchedule(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),new f.IfcIdentifier((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:e[7]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new f.IfcTimeMeasure((e[9]??void 0)===void 0||e[9]===""?null:e[9].value),(e[10]??void 0)===void 0||e[10]===""?null:new f.IfcTimeMeasure((e[10]??void 0)===void 0||e[10]===""?null:e[10].value),new u((e[11]??void 0)===void 0||e[11]===""?null:e[11].value,1,e[11]),(e[12]??void 0)===void 0||e[12]===""?null:new u((e[12]??void 0)===void 0||e[12]===""?null:e[12].value,1,e[12]),e[13],(e[14]??void 0)===void 0||e[14]===""?null:new f.IfcLabel((e[14]??void 0)===void 0||e[14]===""?null:e[14].value)),1033361043:e=>new f.IfcZone(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),1213861670:e=>new f.Ifc2DCompositeCurve(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[1]??void 0)===void 0||e[1]===""?null:e[1].value),3821786052:e=>new f.IfcActionRequest(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),new f.IfcIdentifier((e[5]??void 0)===void 0||e[5]===""?null:e[5].value)),1411407467:e=>new f.IfcAirTerminalBoxType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),3352864051:e=>new f.IfcAirTerminalType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1871374353:e=>new f.IfcAirToAirHeatRecoveryType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),2470393545:e=>new f.IfcAngularDimension(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),3460190687:e=>new f.IfcAsset(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),new f.IfcIdentifier((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,1,e[7]),new u((e[8]??void 0)===void 0||e[8]===""?null:e[8].value,1,e[8]),new u((e[9]??void 0)===void 0||e[9]===""?null:e[9].value,1,e[9]),new u((e[10]??void 0)===void 0||e[10]===""?null:e[10].value,1,e[10]),new u((e[11]??void 0)===void 0||e[11]===""?null:e[11].value,1,e[11]),new u((e[12]??void 0)===void 0||e[12]===""?null:e[12].value,1,e[12]),new u((e[13]??void 0)===void 0||e[13]===""?null:e[13].value,1,e[13])),1967976161:e=>new f.IfcBSplineCurve(new mt((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,10),e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],e[2],(e[3]??void 0)===void 0||e[3]===""?null:e[3].value,(e[4]??void 0)===void 0||e[4]===""?null:e[4].value),819618141:e=>new f.IfcBeamType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1916977116:e=>new f.IfcBezierCurve(new mt((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,10),e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],e[2],(e[3]??void 0)===void 0||e[3]===""?null:e[3].value,(e[4]??void 0)===void 0||e[4]===""?null:e[4].value),231477066:e=>new f.IfcBoilerType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),3299480353:e=>new f.IfcBuildingElement(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),52481810:e=>new f.IfcBuildingElementComponent(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),2979338954:e=>new f.IfcBuildingElementPart(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),1095909175:e=>new f.IfcBuildingElementProxy(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),1909888760:e=>new f.IfcBuildingElementProxyType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),395041908:e=>new f.IfcCableCarrierFittingType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),3293546465:e=>new f.IfcCableCarrierSegmentType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1285652485:e=>new f.IfcCableSegmentType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),2951183804:e=>new f.IfcChillerType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),2611217952:e=>new f.IfcCircle(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,1,e[0]),new f.IfcPositiveLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value)),2301859152:e=>new f.IfcCoilType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),843113511:e=>new f.IfcColumn(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),3850581409:e=>new f.IfcCompressorType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),2816379211:e=>new f.IfcCondenserType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),2188551683:e=>new f.IfcCondition(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),1163958913:e=>new f.IfcConditionCriterion(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6])),3898045240:e=>new f.IfcConstructionEquipmentResource(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new f.IfcIdentifier((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new f.IfcLabel((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),e[7],(e[8]??void 0)===void 0||e[8]===""?null:new u((e[8]??void 0)===void 0||e[8]===""?null:e[8].value,1,e[8])),1060000209:e=>new f.IfcConstructionMaterialResource(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new f.IfcIdentifier((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new f.IfcLabel((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),e[7],(e[8]??void 0)===void 0||e[8]===""?null:new u((e[8]??void 0)===void 0||e[8]===""?null:e[8].value,1,e[8]),(e[9]??void 0)===void 0||e[9]===""?null:e[9]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[10]??void 0)===void 0||e[10]===""?null:new f.IfcRatioMeasure((e[10]??void 0)===void 0||e[10]===""?null:e[10].value)),488727124:e=>new f.IfcConstructionProductResource(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new f.IfcIdentifier((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new f.IfcLabel((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),e[7],(e[8]??void 0)===void 0||e[8]===""?null:new u((e[8]??void 0)===void 0||e[8]===""?null:e[8].value,1,e[8])),335055490:e=>new f.IfcCooledBeamType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),2954562838:e=>new f.IfcCoolingTowerType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1973544240:e=>new f.IfcCovering(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),3495092785:e=>new f.IfcCurtainWall(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),3961806047:e=>new f.IfcDamperType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),4147604152:e=>new f.IfcDiameterDimension(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),1335981549:e=>new f.IfcDiscreteAccessory(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),2635815018:e=>new f.IfcDiscreteAccessoryType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),1599208980:e=>new f.IfcDistributionChamberElementType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),2063403501:e=>new f.IfcDistributionControlElementType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),1945004755:e=>new f.IfcDistributionElement(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),3040386961:e=>new f.IfcDistributionFlowElement(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),3041715199:e=>new f.IfcDistributionPort(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),e[7]),395920057:e=>new f.IfcDoor(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcPositiveLengthMeasure((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new f.IfcPositiveLengthMeasure((e[9]??void 0)===void 0||e[9]===""?null:e[9].value)),869906466:e=>new f.IfcDuctFittingType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),3760055223:e=>new f.IfcDuctSegmentType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),2030761528:e=>new f.IfcDuctSilencerType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),855621170:e=>new f.IfcEdgeFeature(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcPositiveLengthMeasure((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),663422040:e=>new f.IfcElectricApplianceType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),3277789161:e=>new f.IfcElectricFlowStorageDeviceType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1534661035:e=>new f.IfcElectricGeneratorType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1365060375:e=>new f.IfcElectricHeaterType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1217240411:e=>new f.IfcElectricMotorType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),712377611:e=>new f.IfcElectricTimeControlType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1634875225:e=>new f.IfcElectricalCircuit(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),857184966:e=>new f.IfcElectricalElement(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),1658829314:e=>new f.IfcEnergyConversionDevice(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),346874300:e=>new f.IfcFanType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1810631287:e=>new f.IfcFilterType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),4222183408:e=>new f.IfcFireSuppressionTerminalType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),2058353004:e=>new f.IfcFlowController(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),4278956645:e=>new f.IfcFlowFitting(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),4037862832:e=>new f.IfcFlowInstrumentType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),3132237377:e=>new f.IfcFlowMovingDevice(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),987401354:e=>new f.IfcFlowSegment(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),707683696:e=>new f.IfcFlowStorageDevice(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),2223149337:e=>new f.IfcFlowTerminal(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),3508470533:e=>new f.IfcFlowTreatmentDevice(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),900683007:e=>new f.IfcFooting(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),1073191201:e=>new f.IfcMember(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),1687234759:e=>new f.IfcPile(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8],e[9]),3171933400:e=>new f.IfcPlate(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),2262370178:e=>new f.IfcRailing(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),3024970846:e=>new f.IfcRamp(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),3283111854:e=>new f.IfcRampFlight(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),3055160366:e=>new f.IfcRationalBezierCurve(new mt((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,10),e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],e[2],(e[3]??void 0)===void 0||e[3]===""?null:e[3].value,(e[4]??void 0)===void 0||e[4]===""?null:e[4].value,e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?Number(t.value):null)||[]),3027567501:e=>new f.IfcReinforcingElement(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),2320036040:e=>new f.IfcReinforcingMesh(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new f.IfcPositiveLengthMeasure((e[9]??void 0)===void 0||e[9]===""?null:e[9].value),(e[10]??void 0)===void 0||e[10]===""?null:new f.IfcPositiveLengthMeasure((e[10]??void 0)===void 0||e[10]===""?null:e[10].value),new f.IfcPositiveLengthMeasure((e[11]??void 0)===void 0||e[11]===""?null:e[11].value),new f.IfcPositiveLengthMeasure((e[12]??void 0)===void 0||e[12]===""?null:e[12].value),new f.IfcAreaMeasure((e[13]??void 0)===void 0||e[13]===""?null:e[13].value),new f.IfcAreaMeasure((e[14]??void 0)===void 0||e[14]===""?null:e[14].value),new f.IfcPositiveLengthMeasure((e[15]??void 0)===void 0||e[15]===""?null:e[15].value),new f.IfcPositiveLengthMeasure((e[16]??void 0)===void 0||e[16]===""?null:e[16].value)),2016517767:e=>new f.IfcRoof(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),1376911519:e=>new f.IfcRoundedEdgeFeature(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcPositiveLengthMeasure((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new f.IfcPositiveLengthMeasure((e[9]??void 0)===void 0||e[9]===""?null:e[9].value)),1783015770:e=>new f.IfcSensorType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1529196076:e=>new f.IfcSlab(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),331165859:e=>new f.IfcStair(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),4252922144:e=>new f.IfcStairFlight(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new mt((e[8]??void 0)===void 0||e[8]===""?null:e[8].value,10),(e[9]??void 0)===void 0||e[9]===""?null:new mt((e[9]??void 0)===void 0||e[9]===""?null:e[9].value,10),(e[10]??void 0)===void 0||e[10]===""?null:new f.IfcPositiveLengthMeasure((e[10]??void 0)===void 0||e[10]===""?null:e[10].value),(e[11]??void 0)===void 0||e[11]===""?null:new f.IfcPositiveLengthMeasure((e[11]??void 0)===void 0||e[11]===""?null:e[11].value)),2515109513:e=>new f.IfcStructuralAnalysisModel(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),e[5],(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:e[7]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[8]??void 0)===void 0||e[8]===""?null:e[8]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[]),3824725483:e=>new f.IfcTendon(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9],new f.IfcPositiveLengthMeasure((e[10]??void 0)===void 0||e[10]===""?null:e[10].value),new f.IfcAreaMeasure((e[11]??void 0)===void 0||e[11]===""?null:e[11].value),(e[12]??void 0)===void 0||e[12]===""?null:new f.IfcForceMeasure((e[12]??void 0)===void 0||e[12]===""?null:e[12].value),(e[13]??void 0)===void 0||e[13]===""?null:new f.IfcPressureMeasure((e[13]??void 0)===void 0||e[13]===""?null:e[13].value),(e[14]??void 0)===void 0||e[14]===""?null:new f.IfcNormalisedRatioMeasure((e[14]??void 0)===void 0||e[14]===""?null:e[14].value),(e[15]??void 0)===void 0||e[15]===""?null:new f.IfcPositiveLengthMeasure((e[15]??void 0)===void 0||e[15]===""?null:e[15].value),(e[16]??void 0)===void 0||e[16]===""?null:new f.IfcPositiveLengthMeasure((e[16]??void 0)===void 0||e[16]===""?null:e[16].value)),2347447852:e=>new f.IfcTendonAnchor(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),3313531582:e=>new f.IfcVibrationIsolatorType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),2391406946:e=>new f.IfcWall(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),3512223829:e=>new f.IfcWallStandardCase(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),3304561284:e=>new f.IfcWindow(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcPositiveLengthMeasure((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new f.IfcPositiveLengthMeasure((e[9]??void 0)===void 0||e[9]===""?null:e[9].value)),2874132201:e=>new f.IfcActuatorType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),3001207471:e=>new f.IfcAlarmType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),753842376:e=>new f.IfcBeam(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),2454782716:e=>new f.IfcChamferEdgeFeature(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcPositiveLengthMeasure((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new f.IfcPositiveLengthMeasure((e[9]??void 0)===void 0||e[9]===""?null:e[9].value),(e[10]??void 0)===void 0||e[10]===""?null:new f.IfcPositiveLengthMeasure((e[10]??void 0)===void 0||e[10]===""?null:e[10].value)),578613899:e=>new f.IfcControllerType(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,1,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1052013943:e=>new f.IfcDistributionChamberElement(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),1062813311:e=>new f.IfcDistributionControlElement(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcIdentifier((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),3700593921:e=>new f.IfcElectricDistributionPoint(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8],(e[9]??void 0)===void 0||e[9]===""?null:new f.IfcLabel((e[9]??void 0)===void 0||e[9]===""?null:e[9].value)),979691226:e=>new f.IfcReinforcingBar(new f.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,1,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new f.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new f.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new f.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,1,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,1,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new f.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new f.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),new f.IfcPositiveLengthMeasure((e[9]??void 0)===void 0||e[9]===""?null:e[9].value),new f.IfcAreaMeasure((e[10]??void 0)===void 0||e[10]===""?null:e[10].value),(e[11]??void 0)===void 0||e[11]===""?null:new f.IfcPositiveLengthMeasure((e[11]??void 0)===void 0||e[11]===""?null:e[11].value),e[12],e[13])};RN[1]={618182010:[rq,uq],411424972:[Bpe,Eq],4037036970:[V6,Tq,gq,wq],1387855156:[V6],3264961684:[NN],2859738748:[Z7,j6,Fpe,dS,n8],2614616156:[dS],1959218052:[dq,hq],3796139169:[Rpe,Spe],3200245327:[j7,_N,i8,pq,Mpe,Iq,mq],3265635763:[Epe,gpe,wpe,vpe,Ape,bpe,Cpe,Ope,aie,hie,Lpe],4256014907:[aie,hie],1918398963:[eq,tq,t8],3701648758:[S1,Qj],2483315170:[Po,mS,yS,ES,TS,gS,wS,cq],2226359599:[mS,yS,ES,TS,gS,wS],3727388367:[b3,M7,D5,B7,uie,H5,k7,oie,rie,die,xpe],990879717:[oie,rie,die],1775413392:[uie,H5],2022622350:[aq],3119450353:[Y7,$7,oq,_pe,X7],2095639259:[W7,W6],3958567839:[z5,Ow,W5,w6,iie,nie,Cy,K5,J5,A6,eS,N6,D6,Ly,Zw,sS,$j,q7,K7,hS,Q7,fS,J7],2802850158:[Cj,sie,Tpe,Dpe],2598011224:[Ao,P5,N3,M5,B5,F5,U5,V7],1076942058:[pS,e8,H6,IS,lq],3377609919:[zf,Y6],3008791417:[u2,Y5,Xte,j5,q5,DG,OG,FG,HG,Rj,Sj,eie,$5,tie,zp,jp,Cw,t6,R7,Zm,Wp,Hf,S7,Iu,xy,R3,S3,My,Z5,xw,Pw,Mw,Bw,Uw,v6,kw,Jp,Gy,Xp,Vy,Q5,R6,R1,X5,P7,S6,b6,Yw,_6,Zp,Vw,E1,Qp,Wy,f1,p1,$y,iS,Uh,Yp,Py,Uy,jw,WI,y1,Kp,qw,C6,nS,x6,ky,Kw,Qw,L6,Gw,P6,Yy,jy,qy,M6,Dj,lie,g1,Xw,e2,t2,i2,F6,zy,Zy,rS,By,lS,Jj,oS,Fy,zw,Ky,B6,Xy,aS,Jy,uS,$w,Jw,eE,cS,Hy,Qy,l2,n2,U6,sq,Nj,zG,WG,_j,Mj,_7,D7,Bj,Fj,cie,et],2341007311:[pe,l6,Fe,Ei,M,B,je,rt,at,Gn,$s,Ye,lt,AN,ti,ut,j0,ct,tt,qp,ks,bn,vn,ua,Bt,dt,$p,ve,k5,O7,Os,Gf,Vf,Oy,kf,qI,L7,ie,ns,Te,bo,Is,vN,r6,u6,is,a6,q0,re,Yj,Jo,vy,Aj,kG,bj,jI,Ry,Sy,Ay,by,xj,Oj,Lj,Pj,Dy,O6,qj,xG,Km,Fp,aa,v7,Xm,W0,e1,l1,_w,CG,Qm,Af,bf,Jm,LG,PG,MG,BG,UG,t1,s1,o1,GG,VG,u1,c1,Dw,r1,Lw,vf,Rf,Sf,Nf,Df,Pf,d1,Fw,eI,wf,n1,Rr,w7,Ou,Ql,Xl,ea,ta,ia,na,sa,HR,oa,ra,qu,H0,Lu,Pu,Jl,Mu,Bu,Fu,Uu,Hu,Gu,Vu,ku,zu,Ka,Wu,Yu,ju,Zu,Ku,Qu,Xu,vr,Mr,Br,Fr,xc,Xa,i6,p3,G0,n0,k0,GR,VR,yN,tu,d0,la,h0,Cf,N7,$u,iu,uc,Of,z0,a1,Y0,s0,r0,u0,_f,eu,a0,hu,m0,Bf,I1,l0,EN,Cu,TN,xu,V0,o0,Mf,m1,nc,fu,pu,du,Up,g5,Da,i1,A7,b7,h1,Hw,g6,Cc,i0,Oc,f0,xf,ja,qa,$a,Za,Qa,t0,Ja,Hr,jr,nu,Ur,kR,Yr,ll,ul,ml,El,Rl,Al,bl,zR,su,Wr,pl,ou,qr,il,nl,wl,ru,Gr,Xr,Tl,lu,$r,sl,vl,Nl,au,Vr,Zr,al,cl,Il,gl,Cl,uu,kr,zr,Kr,Qr,Jr,el,tl,ol,rl,dl,hl,fl,yl,Sl,_l,Dl,xl,Ol,cu,p0,Lf,Ju,ec,tc,ic,sc,oc,rc,lc,ac,cc,dc,hc,I3,Bh,c0,Ff,I0,y0,Uf,T1,w5,v5,Ww,ws,Zj],3982875396:[H6,IS],3692461612:[P5,N3,M5,B5,F5,U5],2273995522:[Wj,Xj],2162789131:[Ny,C5,_y,x5,O5,L5,G5,G7],2525727697:[Ny,C5,_y,x5,O5,L5,G5],2830218821:[pS],3958052878:[Nj,zG,WG,_j,Mj,_7,D7,Bj,Fj,cie],846575682:[tS],626085974:[F7,bN,U7],280115917:[tE,H7],3101149627:[jj,Kj],1377556343:[oS,Fy,zw,Ky,B6,Xy,aS,Jy,uS,$w,Jw,eE,cS,Hy,Qy,l2,n2,U6],2799835756:[n2],2442683028:[Nj,zG,WG,_j,Mj,_7,D7,Bj,Fj],3612888222:[_7,D7],3798115385:[fS],1310608509:[hS],370225590:[Hy,Qy],3900360178:[$w,Jw,eE],2556980723:[Jy],1809719519:[Xy],1446786286:[Cj,sie],3448662350:[zf],2453401579:[Y5,Xte,j5,q5,DG,OG,FG,HG,Rj,Sj,eie,$5,tie,zp,jp,Cw,t6,R7,Zm,Wp,Hf,S7,Iu,xy,R3,S3,My,Z5,xw,Pw,Mw,Bw,Uw,v6,kw,Jp,Gy,Xp,Vy,Q5,R6,R1,X5,P7,S6,b6,Yw,_6,Zp,Vw,E1,Qp,Wy,f1,p1,$y,iS,Uh,Yp,Py,Uy,jw,WI,y1,Kp,qw,C6,nS,x6,ky,Kw,Qw,L6,Gw,P6,Yy,jy,qy,M6,Dj,lie,g1,Xw,e2,t2,i2,F6,zy,Zy,rS,By,lS],3590301190:[By],812098782:[zy,Zy],1402838566:[g1,Xw,e2,t2,i2],1520743889:[g1],1008929658:[Fy,zw,Ky],219451334:[xG,Km,Fp,aa,v7,Xm,W0,e1,l1,_w,CG,Qm,Af,bf,Jm,LG,PG,MG,BG,UG,t1,s1,o1,GG,VG,u1,c1,Dw,r1,Lw,vf,Rf,Sf,Nf,Df,Pf,d1,Fw,eI,wf,n1,Rr,w7,Ou,Ql,Xl,ea,ta,ia,na,sa,HR,oa,ra,qu,H0,Lu,Pu,Jl,Mu,Bu,Fu,Uu,Hu,Gu,Vu,ku,zu,Ka,Wu,Yu,ju,Zu,Ku,Qu,Xu,vr,Mr,Br,Fr,xc,Xa,i6,p3,G0,n0,k0,GR,VR,yN,tu,d0,la,h0,Cf,N7,$u,iu,uc,Of,z0,a1,Y0,s0,r0,u0,_f,eu,a0,hu,m0,Bf,I1,l0,EN,Cu,TN,xu,V0,o0,Mf,m1,nc,fu,pu,du,Up,g5,Da,i1,A7,b7,h1,Hw,g6,Cc,i0,Oc,f0,xf,ja,qa,$a,Za,Qa,t0,Ja,Hr,jr,nu,Ur,kR,Yr,ll,ul,ml,El,Rl,Al,bl,zR,su,Wr,pl,ou,qr,il,nl,wl,ru,Gr,Xr,Tl,lu,$r,sl,vl,Nl,au,Vr,Zr,al,cl,Il,gl,Cl,uu,kr,zr,Kr,Qr,Jr,el,tl,ol,rl,dl,hl,fl,yl,Sl,_l,Dl,xl,Ol,cu,p0,Lf,Ju,ec,tc,ic,sc,oc,rc,lc,ac,cc,dc,hc,I3,Bh,c0,Ff,I0,y0,Uf,T1,w5,v5,Ww,ws],2833995503:[Dj],2529465313:[z5,Ow,W5,w6,iie,nie,Cy,K5,J5,A6,eS,N6,D6,Ly,Zw,sS],2004835150:[Yy,jy,qy],1663979128:[Gw],2067069095:[ky,Kw,Qw],759155922:[D5],2559016684:[b3],1680319473:[Jo,vy,Aj,kG,bj,jI,Ry,Sy,Ay,by,xj,Oj,Lj,Pj,Dy,O6],3357820518:[Jo,vy,Aj,kG,bj,jI,Ry,Sy,Ay,by,xj,Oj,Lj,Pj,Dy],3615266464:[Ly,Zw],478536968:[pe,l6,Fe,Ei,M,B,je,rt,at,Gn,$s,Ye,lt,AN,ti,ut,j0,ct,tt,qp,ks,bn,vn,ua,Bt,dt,$p,ve,k5,O7,Os,Gf,Vf,Oy,kf,qI,L7,ie,ns,Te,bo,Is,vN,r6,u6,is,a6,q0,re],723233188:[Uh,Yp,Py,Uy,jw,WI,y1,Kp,qw],2473145415:[_y],1597423693:[Ny],3843319758:[Cj],2513912981:[Zp,Vw,E1,Qp,Wy,f1,p1,$y],2247615214:[WI,y1,Kp],230924584:[f1,p1],3028897424:[_7],4282788508:[Yw],1628702193:[Cc,i0,Oc,f0,xf,ja,qa,$a,Za,Qa,t0,Ja,Hr,jr,nu,Ur,kR,Yr,ll,ul,ml,El,Rl,Al,bl,zR,su,Wr,pl,ou,qr,il,nl,wl,ru,Gr,Xr,Tl,lu,$r,sl,vl,Nl,au,Vr,Zr,al,cl,Il,gl,Cl,uu,kr,zr,Kr,Qr,Jr,el,tl,ol,rl,dl,hl,fl,yl,Sl,_l,Dl,xl,Ol,cu,p0,Lf,Ju,ec,tc,ic,sc,oc,rc,lc,ac,cc,dc,hc,I3,Bh,c0,Ff,I0,y0,Uf,T1,w5,v5,Ww],2347495698:[Cc,i0,Oc,f0,xf,ja,qa,$a,Za,Qa,t0,Ja,Hr,jr,nu,Ur,kR,Yr,ll,ul,ml,El,Rl,Al,bl,zR,su,Wr,pl,ou,qr,il,nl,wl,ru,Gr,Xr,Tl,lu,$r,sl,vl,Nl,au,Vr,Zr,al,cl,Il,gl,Cl,uu,kr,zr,Kr,Qr,Jr,el,tl,ol,rl,dl,hl,fl,yl,Sl,_l,Dl,xl,Ol,cu,p0,Lf,Ju,ec,tc,ic,sc,oc,rc,lc,ac,cc,dc,hc,I3,Bh,c0,Ff,I0,y0,Uf,T1,w5,v5],3288037868:[zG,WG],2736907675:[R1],4182860854:[E1,Qp],59481748:[Jp,Gy,Xp,Vy],3749851601:[Xp],3331915920:[Jp],1383045692:[Cy],2506170314:[xw,Pw,Mw,Bw,Uw],2601014836:[zp,jp,Cw,t6,R7,Zm,Wp,Hf,S7,Iu,xy,R3,S3,My],3073041342:[DG,OG,FG,HG,Rj,Sj],339256511:[Cc,i0,Oc,f0,xf,ja,qa,$a,Za,Qa,t0,Ja,Hr,jr,nu,Ur,kR,Yr,ll,ul,ml,El,Rl,Al,bl,zR,su,Wr,pl,ou,qr,il,nl,wl,ru,Gr,Xr,Tl,lu,$r,sl,vl,Nl,au,Vr,Zr,al,cl,Il,gl,Cl,uu,kr,zr,Kr,Qr,Jr,el,tl,ol,rl,dl,hl,fl,yl,Sl,_l,Dl,xl,Ol,cu,p0,Lf,Ju,ec,tc,ic,sc,oc,rc,lc,ac,cc,dc,hc,I3,Bh,c0,Ff,I0,y0,Uf],2777663545:[Zp],80994333:[kG],4238390223:[I0,y0],1484403080:[Ow],1425443689:[Uh,Yp],3888040117:[xG,Km,Fp,aa,v7,Xm,W0,e1,l1,_w,CG,Qm,Af,bf,Jm,LG,PG,MG,BG,UG,t1,s1,o1,GG,VG,u1,c1,Dw,r1,Lw,vf,Rf,Sf,Nf,Df,Pf,d1,Fw,eI,wf,n1,Rr,w7,Ou,Ql,Xl,ea,ta,ia,na,sa,HR,oa,ra,qu,H0,Lu,Pu,Jl,Mu,Bu,Fu,Uu,Hu,Gu,Vu,ku,zu,Ka,Wu,Yu,ju,Zu,Ku,Qu,Xu,vr,Mr,Br,Fr,xc,Xa,i6,p3,G0,n0,k0,GR,VR,yN,tu,d0,la,h0,Cf,N7,$u,iu,uc,Of,z0,a1,Y0,s0,r0,u0,_f,eu,a0,hu,m0,Bf,I1,l0,EN,Cu,TN,xu,V0,o0,Mf,m1,nc,fu,pu,du,Up,g5,Da,i1,A7,b7,h1,Hw],2945172077:[i1,A7,b7,h1],4208778838:[wf,n1,Rr,w7,Ou,Ql,Xl,ea,ta,ia,na,sa,HR,oa,ra,qu,H0,Lu,Pu,Jl,Mu,Bu,Fu,Uu,Hu,Gu,Vu,ku,zu,Ka,Wu,Yu,ju,Zu,Ku,Qu,Xu,vr,Mr,Br,Fr,xc,Xa,i6,p3,G0,n0,k0,GR,VR,yN,tu,d0,la,h0,Cf,N7,$u,iu,uc,Of,z0,a1,Y0,s0,r0,u0,_f,eu,a0,hu,m0,Bf,I1,l0,EN,Cu,TN,xu,V0,o0,Mf,m1,nc,fu,pu,du,Up,g5],3939117080:[ns,Te,bo,Is,vN,r6,u6,is,a6,q0],1683148259:[a6],2495723537:[vN,r6,u6],1865459582:[O7,Os,Gf,Vf,Oy,kf,qI,L7],826625072:[rt,at,Gn,$s,Ye,lt,AN,ti,ut,j0,ct,tt,qp,ks,bn,vn,ua,Bt,dt,$p,ve],1204542856:[dt,$p],1638771189:[qp],2551354335:[M,B],693640335:[pe,l6,Fe],4186316022:[l6],2914609552:[vf,Rf,Sf,Nf,Df,Pf,d1],2706606064:[nc,fu,pu,du],3893378262:[c0],3544373492:[l0,EN,Cu,TN,xu,V0,o0,Mf],3136571912:[s0,r0,u0,_f,eu,a0,hu,m0,Bf],530289379:[eu,a0,hu,m0],3689010777:[o0],3979015343:[hu],3473067441:[A7,b7],2296667514:[r1],1260505505:[t6,R7,Zm,Wp,Hf,S7,Iu],1950629157:[Ju,ec,tc,ic,sc,oc,rc,lc,ac,cc,dc,hc],3732776249:[S7],2510884976:[zp,jp],2559216714:[vf,Rf,Sf,Nf,Df,Pf],3293443760:[CG,Qm,Af,bf,Jm,LG,PG,MG,BG,UG,t1,s1,o1,GG,VG,u1,c1],681481545:[DG,OG,FG,HG],3256556792:[ja,qa,$a,Za,Qa,t0,Ja,Hr,jr,nu,Ur,kR,Yr,ll,ul,ml,El,Rl,Al,bl,zR,su,Wr,pl,ou,qr,il,nl,wl,ru,Gr,Xr,Tl,lu,$r,sl,vl,Nl,au,Vr,Zr,al,cl,Il,gl,Cl,uu,kr,zr,Kr,Qr,Jr,el,tl,ol,rl,dl,hl,fl,yl,Sl,_l,Dl,xl,Ol,cu,p0],3849074793:[Ja,Hr,jr,nu,Ur,kR,Yr,ll,ul,ml,El,Rl,Al,bl,zR,su,Wr,pl,ou,qr,il,nl,wl,ru,Gr,Xr,Tl,lu,$r,sl,vl,Nl,au,Vr,Zr,al,cl,Il,gl,Cl,uu,kr,zr,Kr,Qr,Jr,el,tl,ol,rl,dl,hl,fl,yl,Sl,_l,Dl,xl,Ol,cu],1758889154:[w7,Ou,Ql,Xl,ea,ta,ia,na,sa,HR,oa,ra,qu,H0,Lu,Pu,Jl,Mu,Bu,Fu,Uu,Hu,Gu,Vu,ku,zu,Ka,Wu,Yu,ju,Zu,Ku,Qu,Xu,vr,Mr,Br,Fr,xc,Xa,i6,p3,G0,n0,k0,GR,VR,yN,tu,d0,la,h0,Cf,N7,$u,iu,uc,Of,z0],1623761950:[$u,iu,uc],2590856083:[Cc,i0,Oc,f0],2107101300:[kr,zr,Kr,Qr,Jr,el,tl,ol,rl,dl,hl,fl,yl,Sl,_l,Dl,xl,Ol],647756555:[iu],2489546625:[Oc],2827207264:[GR,VR,yN,tu,d0,la,h0],2143335405:[la],1287392070:[GR,VR,yN,tu],3907093117:[Vr,Zr,al,cl,Il,gl,Cl],3198132628:[$r,sl,vl,Nl],1482959167:[Gr,Xr,Tl],1834744321:[qr,il,nl,wl],1339347760:[Wr,pl],2297155007:[Ur,kR,Yr,ll,ul,ml,El,Rl,Al,bl,zR],3009222698:[Hr,jr],2706460486:[xG,Km,Fp,aa,v7,Xm,W0,e1,l1],3740093272:[wf],682877961:[l0,EN,Cu,TN,xu],1179482911:[s0,r0,u0],214636428:[eu],1807405624:[TN],1621171031:[EN],2254336722:[aa,v7],1028945134:[Af,bf],1967976161:[t6,R7],1916977116:[t6],3299480353:[Lu,Pu,Jl,Mu,Bu,Fu,Uu,Hu,Gu,Vu,ku,zu,Ka,Wu,Yu,ju,Zu,Ku,Qu,Xu,vr,Mr,Br,Fr,xc,Xa,i6],52481810:[vr,Mr,Br,Fr,xc,Xa],2635815018:[Cc],2063403501:[ja,qa,$a,Za,Qa],1945004755:[Ou,Ql,Xl,ea,ta,ia,na,sa,HR,oa,ra,qu],3040386961:[Ql,Xl,ea,ta,ia,na,sa,HR,oa,ra],855621170:[GR,VR],2058353004:[HR],3027567501:[vr,Mr,Br,Fr],2391406946:[Jl]};vV[1]={618182010:[["OfPerson",o2,7,!0],["OfOrganization",r2,4,!0]],411424972:[["ValuesReferenced",Hj,1,!0],["ValueOfComponents",o6,0,!0],["IsComponentIn",o6,1,!0]],130549933:[["Actors",Hpe,1,!0],["IsRelatedWith",SS,0,!0],["Relates",SS,1,!0]],747523909:[["Contains",Upe,1,!0]],1767535486:[["IsClassifiedItemIn",fie,1,!0],["IsClassifyingItemIn",fie,0,!0]],1959218052:[["ClassifiedAs",Vj,0,!0],["RelatesConstraints",n6,2,!0],["IsRelatedWith",n6,3,!0],["PropertiesForConstraint",Gj,0,!0],["Aggregates",s6,2,!0],["IsAggregatedIn",s6,3,!0]],602808272:[["ValuesReferenced",Hj,1,!0],["ValueOfComponents",o6,0,!0],["IsComponentIn",o6,1,!0]],1154170062:[["IsPointedTo",RS,1,!0],["IsPointer",RS,0,!0]],1648886627:[["ValuesReferenced",Hj,1,!0],["ValueOfComponents",o6,0,!0],["IsComponentIn",o6,1,!0]],852622518:[["PartOfW",Rr,9,!0],["PartOfV",Rr,8,!0],["PartOfU",Rr,7,!0],["HasIntersections",iq,0,!0]],3452421091:[["ReferenceIntoLibrary",fq,4,!0]],1838606355:[["HasRepresentation",W6,3,!0],["ClassifiedAs",Ppe,1,!0]],248100487:[["ToMaterialLayerSet",a2,0,!1]],3368373690:[["ClassifiedAs",Vj,0,!0],["RelatesConstraints",n6,2,!0],["IsRelatedWith",n6,3,!0],["PropertiesForConstraint",Gj,0,!0],["Aggregates",s6,2,!0],["IsAggregatedIn",s6,3,!0]],3701648758:[["PlacesObject",Da,5,!0],["ReferencedByPlacements",S1,0,!0]],2251480897:[["ClassifiedAs",Vj,0,!0],["RelatesConstraints",n6,2,!0],["IsRelatedWith",n6,3,!0],["PropertiesForConstraint",Gj,0,!0],["Aggregates",s6,2,!0],["IsAggregatedIn",s6,3,!0]],4251960020:[["IsRelatedBy",vS,3,!0],["Relates",vS,2,!0],["Engages",G6,1,!0]],2077209135:[["EngagedIn",G6,0,!0]],2483315170:[["PartOfComplex",Po,2,!0]],2226359599:[["PartOfComplex",Po,2,!0]],3355820592:[["OfPerson",o2,7,!0],["OfOrganization",r2,4,!0]],2598011224:[["PropertyForDependance",$n,0,!0],["PropertyDependsOn",$n,1,!0],["PartOfComplex",Ao,3,!0]],2044713172:[["PartOfComplex",Po,2,!0]],2093928680:[["PartOfComplex",Po,2,!0]],931644368:[["PartOfComplex",Po,2,!0]],3252649465:[["PartOfComplex",Po,2,!0]],2405470396:[["PartOfComplex",Po,2,!0]],825690147:[["PartOfComplex",Po,2,!0]],1076942058:[["RepresentationMap",fc,1,!0],["LayerAssignments",Je,2,!0],["OfProductRepresentation",E0,2,!0]],3377609919:[["RepresentationsInContext",s2,0,!0]],3008791417:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],1660063152:[["MapUsage",u2,0,!0]],3982875396:[["RepresentationMap",fc,1,!0],["LayerAssignments",Je,2,!0],["OfProductRepresentation",E0,2,!0],["OfShapeAspect",Hp,0,!0]],4240577450:[["RepresentationMap",fc,1,!0],["LayerAssignments",Je,2,!0],["OfProductRepresentation",E0,2,!0],["OfShapeAspect",Hp,0,!0]],3692461612:[["PropertyForDependance",$n,0,!0],["PropertyDependsOn",$n,1,!0],["PartOfComplex",Ao,3,!0]],2830218821:[["RepresentationMap",fc,1,!0],["LayerAssignments",Je,2,!0],["OfProductRepresentation",E0,2,!0]],3958052878:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],3049322572:[["RepresentationMap",fc,1,!0],["LayerAssignments",Je,2,!0],["OfProductRepresentation",E0,2,!0]],531007025:[["OfTable",Npe,1,!1]],912023232:[["OfPerson",o2,7,!0],["OfOrganization",r2,4,!0]],280115917:[["AnnotatedSurface",P7,1,!0]],1742049831:[["AnnotatedSurface",P7,1,!0]],2552916305:[["AnnotatedSurface",P7,1,!0]],3101149627:[["DocumentedBy",Uj,0,!0]],1377556343:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],1735638870:[["RepresentationMap",fc,1,!0],["LayerAssignments",Je,2,!0],["OfProductRepresentation",E0,2,!0],["OfShapeAspect",Hp,0,!0]],2799835756:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],1907098498:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],2442683028:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],962685235:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],3612888222:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],2297822566:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],2542286263:[["PropertyForDependance",$n,0,!0],["PropertyDependsOn",$n,1,!0],["PartOfComplex",Ao,3,!0]],370225590:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],3732053477:[["ReferenceToDocument",yq,3,!0]],3900360178:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],476780140:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],2556980723:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],1809719519:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],803316827:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],3008276851:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],3448662350:[["RepresentationsInContext",s2,0,!0],["HasSubContexts",zf,6,!0]],2453401579:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],4142052618:[["RepresentationsInContext",s2,0,!0],["HasSubContexts",zf,6,!0]],3590301190:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],178086475:[["PlacesObject",Da,5,!0],["ReferencedByPlacements",S1,0,!0]],812098782:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],3741457305:[["DocumentedBy",Uj,0,!0]],1402838566:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],125510826:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],2604431987:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],4266656042:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],1520743889:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],3422422726:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],2624227202:[["PlacesObject",Da,5,!0],["ReferencedByPlacements",S1,0,!0]],1008929658:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],2347385850:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],219451334:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0]],2833995503:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],2665983363:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],1029017970:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],2519244187:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],3021840470:[["PartOfComplex",Po,2,!0]],2004835150:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],1663979128:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],2067069095:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],4022376103:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],1423911732:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],2924175390:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],2775532180:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],673634403:[["ShapeOfProduct",Da,6,!0],["HasShapeAspects",Hp,4,!0]],871118103:[["PropertyForDependance",$n,0,!0],["PropertyDependsOn",$n,1,!0],["PartOfComplex",Ao,3,!0]],1680319473:[["HasAssociations",ie,4,!0]],4166981789:[["PropertyForDependance",$n,0,!0],["PropertyDependsOn",$n,1,!0],["PartOfComplex",Ao,3,!0]],2752243245:[["PropertyForDependance",$n,0,!0],["PropertyDependsOn",$n,1,!0],["PartOfComplex",Ao,3,!0]],941946838:[["PropertyForDependance",$n,0,!0],["PropertyDependsOn",$n,1,!0],["PartOfComplex",Ao,3,!0]],3357820518:[["HasAssociations",ie,4,!0],["PropertyDefinitionOf",Fe,5,!0],["DefinesType",ws,5,!0]],3650150729:[["PropertyForDependance",$n,0,!0],["PropertyDependsOn",$n,1,!0],["PartOfComplex",Ao,3,!0]],110355661:[["PropertyForDependance",$n,0,!0],["PropertyDependsOn",$n,1,!0],["PartOfComplex",Ao,3,!0]],3413951693:[["DocumentedBy",Uj,0,!0]],3765753017:[["HasAssociations",ie,4,!0],["PropertyDefinitionOf",Fe,5,!0],["DefinesType",ws,5,!0]],1509187699:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],2411513650:[["HasAssociations",ie,4,!0],["PropertyDefinitionOf",Fe,5,!0],["DefinesType",ws,5,!0]],4124623270:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],723233188:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],2485662743:[["HasAssociations",ie,4,!0],["PropertyDefinitionOf",Fe,5,!0],["DefinesType",ws,5,!0]],1202362311:[["HasAssociations",ie,4,!0],["PropertyDefinitionOf",Fe,5,!0],["DefinesType",ws,5,!0]],390701378:[["HasAssociations",ie,4,!0],["PropertyDefinitionOf",Fe,5,!0],["DefinesType",ws,5,!0]],2233826070:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],2513912981:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],2247615214:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],1260650574:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],230924584:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],3028897424:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],4282788508:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],3124975700:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],1345879162:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],1628702193:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],2347495698:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],1417489154:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],2759199220:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],336235671:[["HasAssociations",ie,4,!0],["PropertyDefinitionOf",Fe,5,!0],["DefinesType",ws,5,!0]],512836454:[["HasAssociations",ie,4,!0],["PropertyDefinitionOf",Fe,5,!0],["DefinesType",ws,5,!0]],1299126871:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],3288037868:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],669184980:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],2265737646:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],1302238472:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],4261334040:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],3125803723:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],2740243338:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],2736907675:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],4182860854:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],2581212453:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],2713105998:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],1123145078:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],59481748:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],3749851601:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],3486308946:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],3331915920:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],1416205885:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],2205249479:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],2485617015:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0],["UsingCurves",Iu,0,!0]],2506170314:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],2147822146:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],2601014836:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],2827736869:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],693772133:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],606661476:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0],["AnnotatedBySymbols",D7,3,!0]],4054601972:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],32440307:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],2963535650:[["HasAssociations",ie,4,!0],["PropertyDefinitionOf",Fe,5,!0],["DefinesType",ws,5,!0]],1714330368:[["HasAssociations",ie,4,!0],["PropertyDefinitionOf",Fe,5,!0],["DefinesType",ws,5,!0]],526551008:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],3073041342:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0],["IsRelatedFromCallout",pp,3,!0],["IsRelatedToCallout",pp,2,!0]],1472233963:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],1883228015:[["HasAssociations",ie,4,!0],["PropertyDefinitionOf",Fe,5,!0],["DefinesType",ws,5,!0]],339256511:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],2777663545:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],80994333:[["HasAssociations",ie,4,!0],["PropertyDefinitionOf",Fe,5,!0],["DefinesType",ws,5,!0]],477187591:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],2047409740:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],374418227:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],4203026998:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],315944413:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],3455213021:[["HasAssociations",ie,4,!0],["PropertyDefinitionOf",Fe,5,!0],["DefinesType",ws,5,!0]],4238390223:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],1268542332:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],987898635:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],1281925730:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],1425443689:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],3888040117:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0]],3388369263:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],3505215534:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],3566463478:[["HasAssociations",ie,4,!0],["PropertyDefinitionOf",Fe,5,!0],["DefinesType",ws,5,!0]],603570806:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],220341763:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],2945172077:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["OperatesOn",bo,6,!0],["IsSuccessorFrom",$s,5,!0],["IsPredecessorTo",$s,4,!0]],4208778838:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0]],103090709:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0]],4194566429:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],1451395588:[["HasAssociations",ie,4,!0],["PropertyDefinitionOf",Fe,5,!0],["DefinesType",ws,5,!0]],3219374653:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0]],2798486643:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],3454111270:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],2914609552:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ResourceOf",ns,6,!0]],1856042241:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],4158566097:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],3626867408:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],2706606064:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["ReferencesElements",Ye,5,!0],["ServicedBySystems",Gn,5,!0],["ContainsElements",tt,5,!0]],3893378262:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],451544542:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],3544373492:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["AssignedToStructuralItem",vn,5,!1]],3136571912:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["AssignedStructuralActivity",vn,4,!0]],530289379:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["AssignedStructuralActivity",vn,4,!0],["ReferencesElement",bn,5,!0],["ConnectedBy",ks,4,!0]],3689010777:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["AssignedToStructuralItem",vn,5,!1],["Causes",V0,10,!0]],3979015343:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["AssignedStructuralActivity",vn,4,!0],["ReferencesElement",bn,5,!0],["ConnectedBy",ks,4,!0]],2218152070:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["AssignedStructuralActivity",vn,4,!0],["ReferencesElement",bn,5,!0],["ConnectedBy",ks,4,!0]],4070609034:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0],["IsRelatedFromCallout",pp,3,!0],["IsRelatedToCallout",pp,2,!0]],2028607225:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],2809605785:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],4124788165:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],1580310250:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],3473067441:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["OperatesOn",bo,6,!0],["IsSuccessorFrom",$s,5,!0],["IsPredecessorTo",$s,4,!0]],2097647324:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],2296667514:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["IsActingUpon",q0,6,!0]],1674181508:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["ContainedInStructure",tt,4,!0]],1334484129:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],3649129432:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],1260505505:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],4031249490:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["ReferencesElements",Ye,5,!0],["ServicedBySystems",Gn,5,!0],["ContainsElements",tt,5,!0]],1950629157:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],3124254112:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["ReferencesElements",Ye,5,!0],["ServicedBySystems",Gn,5,!0],["ContainsElements",tt,5,!0]],300633059:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],3732776249:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],2510884976:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],2559216714:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ResourceOf",ns,6,!0]],3293443760:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["Controls",is,6,!0]],3895139033:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["Controls",is,6,!0]],1419761937:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["Controls",is,6,!0]],1916426348:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],3295246426:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ResourceOf",ns,6,!0]],1457835157:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],681481545:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0],["IsRelatedFromCallout",pp,3,!0],["IsRelatedToCallout",pp,2,!0]],3256556792:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],3849074793:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],360485395:[["HasAssociations",ie,4,!0],["PropertyDefinitionOf",Fe,5,!0],["DefinesType",ws,5,!0]],1758889154:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["HasStructuralMember",bn,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["HasCoverings",ct,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasPorts",Bt,5,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0]],4123344466:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["HasStructuralMember",bn,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["HasCoverings",ct,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasPorts",Bt,5,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0]],1623761950:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["HasStructuralMember",bn,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["HasCoverings",ct,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasPorts",Bt,5,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0]],2590856083:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],1704287377:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],2107101300:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],1962604670:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["HasStructuralMember",bn,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["HasCoverings",ct,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasPorts",Bt,5,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0]],3272907226:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["Controls",is,6,!0]],3174744832:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],3390157468:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],807026263:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],3737207727:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],647756555:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["HasStructuralMember",bn,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["HasCoverings",ct,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasPorts",Bt,5,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0]],2489546625:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],2827207264:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["HasStructuralMember",bn,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["HasCoverings",ct,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasPorts",Bt,5,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0]],2143335405:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["HasStructuralMember",bn,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["HasCoverings",ct,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasPorts",Bt,5,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["ProjectsElements",lt,5,!1]],1287392070:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["HasStructuralMember",bn,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["HasCoverings",ct,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasPorts",Bt,5,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["VoidsElements",rt,5,!1]],3907093117:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],3198132628:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],3815607619:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],1482959167:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],1834744321:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],1339347760:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],2297155007:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],3009222698:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],263784265:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["HasStructuralMember",bn,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["HasCoverings",ct,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasPorts",Bt,5,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0]],814719939:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["Controls",is,6,!0]],200128114:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],3009204131:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["ContainedInStructure",tt,4,!0]],2706460486:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["IsGroupedBy",Is,6,!1]],1251058090:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],1806887404:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],2391368822:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["IsGroupedBy",Is,6,!1]],4288270099:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],3827777499:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ResourceOf",ns,6,!0]],1051575348:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],1161773419:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],2506943328:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0],["IsRelatedFromCallout",pp,3,!0],["IsRelatedToCallout",pp,2,!0]],377706215:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["HasStructuralMember",bn,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["HasCoverings",ct,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasPorts",Bt,5,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0]],2108223431:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],3181161470:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],977012517:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],1916936684:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["OperatesOn",bo,6,!0],["IsSuccessorFrom",$s,5,!0],["IsPredecessorTo",$s,4,!0]],4143007308:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["IsActingUpon",q0,6,!0]],3588315303:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["HasStructuralMember",bn,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["HasCoverings",ct,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasPorts",Bt,5,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["VoidsElements",rt,5,!1],["HasFillings",ut,4,!0]],3425660407:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["OperatesOn",bo,6,!0],["IsSuccessorFrom",$s,5,!0],["IsPredecessorTo",$s,4,!0]],2837617999:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],2382730787:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["Controls",is,6,!0]],3327091369:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["Controls",is,6,!0]],804291784:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],4231323485:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],4017108033:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],3724593414:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],3740093272:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["ContainedIn",Bt,4,!1],["ConnectedFrom",ua,5,!0],["ConnectedTo",ua,4,!0]],2744685151:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["OperatesOn",bo,6,!0],["IsSuccessorFrom",$s,5,!0],["IsPredecessorTo",$s,4,!0]],2904328755:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["Controls",is,6,!0]],3642467123:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["Controls",is,6,!0]],3651124850:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["HasStructuralMember",bn,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["HasCoverings",ct,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasPorts",Bt,5,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["ProjectsElements",lt,5,!1]],1842657554:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],2250791053:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],3248260540:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0],["IsRelatedFromCallout",pp,3,!0],["IsRelatedToCallout",pp,2,!0]],2893384427:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],2324767716:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],1768891740:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],3517283431:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["Controls",is,6,!0],["ScheduleTimeControlAssigned",vN,7,!1]],4105383287:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["Controls",is,6,!0]],4097777520:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["ReferencesElements",Ye,5,!0],["ServicedBySystems",Gn,5,!0],["ContainsElements",tt,5,!0]],2533589738:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],3856911033:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["ReferencesElements",Ye,5,!0],["ServicedBySystems",Gn,5,!0],["ContainsElements",tt,5,!0],["HasCoverings",j0,4,!0],["BoundedBy",at,4,!0]],1305183839:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],652456506:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["Controls",is,6,!0],["HasInteractionReqsFrom",AN,7,!0],["HasInteractionReqsTo",AN,8,!0]],3812236995:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],3112655638:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],1039846685:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],682877961:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["AssignedToStructuralItem",vn,5,!1]],1179482911:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["AssignedStructuralActivity",vn,4,!0],["ConnectsStructuralMembers",ks,5,!0]],4243806635:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["AssignedStructuralActivity",vn,4,!0],["ConnectsStructuralMembers",ks,5,!0]],214636428:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["AssignedStructuralActivity",vn,4,!0],["ReferencesElement",bn,5,!0],["ConnectedBy",ks,4,!0]],2445595289:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["AssignedStructuralActivity",vn,4,!0],["ReferencesElement",bn,5,!0],["ConnectedBy",ks,4,!0]],1807405624:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["AssignedToStructuralItem",vn,5,!1]],1721250024:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["AssignedToStructuralItem",vn,5,!1]],1252848954:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["IsGroupedBy",Is,6,!1],["SourceOfResultGroup",W0,6,!0],["LoadGroupFor",aa,7,!0]],1621171031:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["AssignedToStructuralItem",vn,5,!1]],3987759626:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["AssignedToStructuralItem",vn,5,!1]],2082059205:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["AssignedToStructuralItem",vn,5,!1]],734778138:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["AssignedStructuralActivity",vn,4,!0],["ConnectsStructuralMembers",ks,5,!0]],1235345126:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["AssignedToStructuralItem",vn,5,!1],["Causes",V0,10,!0]],2986769608:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["IsGroupedBy",Is,6,!1],["ResultGroupFor",aa,8,!0]],1975003073:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["AssignedStructuralActivity",vn,4,!0],["ConnectsStructuralMembers",ks,5,!0]],148013059:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ResourceOf",ns,6,!0]],2315554128:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],2254336722:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["IsGroupedBy",Is,6,!1],["ServicesBuildings",Gn,4,!0]],5716631:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],1637806684:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["Controls",is,6,!0]],1692211062:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],1620046519:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["HasStructuralMember",bn,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["HasCoverings",ct,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasPorts",Bt,5,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0]],3593883385:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],1600972822:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],1911125066:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],728799441:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],2769231204:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["HasStructuralMember",bn,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["HasCoverings",ct,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasPorts",Bt,5,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0]],1898987631:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],1133259667:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],1028945134:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["Controls",is,6,!0]],4218914973:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["Controls",is,6,!0]],3342526732:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["Controls",is,6,!0]],1033361043:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["IsGroupedBy",Is,6,!1]],1213861670:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],3821786052:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["Controls",is,6,!0]],1411407467:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],3352864051:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],1871374353:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],2470393545:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0],["IsRelatedFromCallout",pp,3,!0],["IsRelatedToCallout",pp,2,!0]],3460190687:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["IsGroupedBy",Is,6,!1]],1967976161:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],819618141:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],1916977116:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],231477066:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],3299480353:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["HasStructuralMember",bn,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["HasCoverings",ct,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasPorts",Bt,5,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0]],52481810:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["HasStructuralMember",bn,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["HasCoverings",ct,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasPorts",Bt,5,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0]],2979338954:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["HasStructuralMember",bn,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["HasCoverings",ct,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasPorts",Bt,5,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0]],1095909175:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["HasStructuralMember",bn,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["HasCoverings",ct,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasPorts",Bt,5,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0]],1909888760:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],395041908:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],3293546465:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],1285652485:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],2951183804:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],2611217952:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],2301859152:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],843113511:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["HasStructuralMember",bn,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["HasCoverings",ct,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasPorts",Bt,5,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0]],3850581409:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],2816379211:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],2188551683:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["IsGroupedBy",Is,6,!1]],1163958913:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["Controls",is,6,!0]],3898045240:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ResourceOf",ns,6,!0]],1060000209:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ResourceOf",ns,6,!0]],488727124:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ResourceOf",ns,6,!0]],335055490:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],2954562838:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],1973544240:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["HasStructuralMember",bn,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["HasCoverings",ct,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasPorts",Bt,5,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["CoversSpaces",j0,5,!0],["Covers",ct,5,!0]],3495092785:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["HasStructuralMember",bn,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["HasCoverings",ct,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasPorts",Bt,5,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0]],3961806047:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],4147604152:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0],["IsRelatedFromCallout",pp,3,!0],["IsRelatedToCallout",pp,2,!0]],1335981549:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["HasStructuralMember",bn,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["HasCoverings",ct,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasPorts",Bt,5,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0]],2635815018:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],1599208980:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],2063403501:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],1945004755:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["HasStructuralMember",bn,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["HasCoverings",ct,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasPorts",Bt,5,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0]],3040386961:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["HasStructuralMember",bn,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["HasCoverings",ct,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasPorts",Bt,5,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasControlElements",ti,5,!0]],3041715199:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["ContainedIn",Bt,4,!1],["ConnectedFrom",ua,5,!0],["ConnectedTo",ua,4,!0]],395920057:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["HasStructuralMember",bn,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["HasCoverings",ct,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasPorts",Bt,5,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0]],869906466:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],3760055223:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],2030761528:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],855621170:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["HasStructuralMember",bn,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["HasCoverings",ct,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasPorts",Bt,5,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["VoidsElements",rt,5,!1]],663422040:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],3277789161:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],1534661035:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],1365060375:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],1217240411:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],712377611:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],1634875225:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["IsGroupedBy",Is,6,!1],["ServicesBuildings",Gn,4,!0]],857184966:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["HasStructuralMember",bn,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["HasCoverings",ct,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasPorts",Bt,5,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0]],1658829314:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["HasStructuralMember",bn,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["HasCoverings",ct,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasPorts",Bt,5,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasControlElements",ti,5,!0]],346874300:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],1810631287:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],4222183408:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],2058353004:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["HasStructuralMember",bn,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["HasCoverings",ct,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasPorts",Bt,5,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasControlElements",ti,5,!0]],4278956645:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["HasStructuralMember",bn,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["HasCoverings",ct,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasPorts",Bt,5,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasControlElements",ti,5,!0]],4037862832:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],3132237377:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["HasStructuralMember",bn,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["HasCoverings",ct,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasPorts",Bt,5,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasControlElements",ti,5,!0]],987401354:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["HasStructuralMember",bn,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["HasCoverings",ct,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasPorts",Bt,5,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasControlElements",ti,5,!0]],707683696:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["HasStructuralMember",bn,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["HasCoverings",ct,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasPorts",Bt,5,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasControlElements",ti,5,!0]],2223149337:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["HasStructuralMember",bn,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["HasCoverings",ct,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasPorts",Bt,5,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasControlElements",ti,5,!0]],3508470533:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["HasStructuralMember",bn,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["HasCoverings",ct,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasPorts",Bt,5,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasControlElements",ti,5,!0]],900683007:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["HasStructuralMember",bn,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["HasCoverings",ct,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasPorts",Bt,5,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0]],1073191201:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["HasStructuralMember",bn,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["HasCoverings",ct,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasPorts",Bt,5,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0]],1687234759:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["HasStructuralMember",bn,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["HasCoverings",ct,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasPorts",Bt,5,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0]],3171933400:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["HasStructuralMember",bn,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["HasCoverings",ct,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasPorts",Bt,5,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0]],2262370178:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["HasStructuralMember",bn,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["HasCoverings",ct,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasPorts",Bt,5,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0]],3024970846:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["HasStructuralMember",bn,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["HasCoverings",ct,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasPorts",Bt,5,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0]],3283111854:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["HasStructuralMember",bn,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["HasCoverings",ct,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasPorts",Bt,5,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0]],3055160366:[["LayerAssignments",Je,2,!0],["StyledByItem",et,0,!0]],3027567501:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["HasStructuralMember",bn,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["HasCoverings",ct,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasPorts",Bt,5,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0]],2320036040:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["HasStructuralMember",bn,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["HasCoverings",ct,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasPorts",Bt,5,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0]],2016517767:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["HasStructuralMember",bn,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["HasCoverings",ct,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasPorts",Bt,5,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0]],1376911519:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["HasStructuralMember",bn,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["HasCoverings",ct,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasPorts",Bt,5,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["VoidsElements",rt,5,!1]],1783015770:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],1529196076:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["HasStructuralMember",bn,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["HasCoverings",ct,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasPorts",Bt,5,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0]],331165859:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["HasStructuralMember",bn,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["HasCoverings",ct,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasPorts",Bt,5,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0]],4252922144:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["HasStructuralMember",bn,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["HasCoverings",ct,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasPorts",Bt,5,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0]],2515109513:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["IsGroupedBy",Is,6,!1],["ServicesBuildings",Gn,4,!0]],3824725483:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["HasStructuralMember",bn,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["HasCoverings",ct,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasPorts",Bt,5,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0]],2347447852:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["HasStructuralMember",bn,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["HasCoverings",ct,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasPorts",Bt,5,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0]],3313531582:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],2391406946:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["HasStructuralMember",bn,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["HasCoverings",ct,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasPorts",Bt,5,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0]],3512223829:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["HasStructuralMember",bn,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["HasCoverings",ct,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasPorts",Bt,5,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0]],3304561284:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["HasStructuralMember",bn,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["HasCoverings",ct,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasPorts",Bt,5,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0]],2874132201:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],3001207471:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],753842376:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["HasStructuralMember",bn,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["HasCoverings",ct,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasPorts",Bt,5,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0]],2454782716:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["HasStructuralMember",bn,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["HasCoverings",ct,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasPorts",Bt,5,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["VoidsElements",rt,5,!1]],578613899:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["ObjectTypeOf",pe,5,!0]],1052013943:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["HasStructuralMember",bn,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["HasCoverings",ct,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasPorts",Bt,5,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasControlElements",ti,5,!0]],1062813311:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["HasStructuralMember",bn,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["HasCoverings",ct,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasPorts",Bt,5,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["AssignedToFlowElement",ti,4,!0]],3700593921:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["HasStructuralMember",bn,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["HasCoverings",ct,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasPorts",Bt,5,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasControlElements",ti,5,!0]],979691226:[["HasAssignments",re,4,!0],["IsDecomposedBy",je,4,!0],["Decomposes",je,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Ei,4,!0],["ReferencedBy",Te,6,!0],["HasStructuralMember",bn,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["HasCoverings",ct,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasPorts",Bt,5,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0]]};RV[1]={3630933823:e=>new f.IfcActorRole(e[0],e[1],e[2]),618182010:e=>new f.IfcAddress(e[0],e[1],e[2]),639542469:e=>new f.IfcApplication(e[0],e[1],e[2],e[3]),411424972:e=>new f.IfcAppliedValue(e[0],e[1],e[2],e[3],e[4],e[5]),1110488051:e=>new f.IfcAppliedValueRelationship(e[0],e[1],e[2],e[3],e[4]),130549933:e=>new f.IfcApproval(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),2080292479:e=>new f.IfcApprovalActorRelationship(e[0],e[1],e[2]),390851274:e=>new f.IfcApprovalPropertyRelationship(e[0],e[1]),3869604511:e=>new f.IfcApprovalRelationship(e[0],e[1],e[2],e[3]),4037036970:e=>new f.IfcBoundaryCondition(e[0]),1560379544:e=>new f.IfcBoundaryEdgeCondition(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),3367102660:e=>new f.IfcBoundaryFaceCondition(e[0],e[1],e[2],e[3]),1387855156:e=>new f.IfcBoundaryNodeCondition(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),2069777674:e=>new f.IfcBoundaryNodeConditionWarping(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),622194075:e=>new f.IfcCalendarDate(e[0],e[1],e[2]),747523909:e=>new f.IfcClassification(e[0],e[1],e[2],e[3]),1767535486:e=>new f.IfcClassificationItem(e[0],e[1],e[2]),1098599126:e=>new f.IfcClassificationItemRelationship(e[0],e[1]),938368621:e=>new f.IfcClassificationNotation(e[0]),3639012971:e=>new f.IfcClassificationNotationFacet(e[0]),3264961684:e=>new f.IfcColourSpecification(e[0]),2859738748:e=>new f.IfcConnectionGeometry,2614616156:e=>new f.IfcConnectionPointGeometry(e[0],e[1]),4257277454:e=>new f.IfcConnectionPortGeometry(e[0],e[1],e[2]),2732653382:e=>new f.IfcConnectionSurfaceGeometry(e[0],e[1]),1959218052:e=>new f.IfcConstraint(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),1658513725:e=>new f.IfcConstraintAggregationRelationship(e[0],e[1],e[2],e[3],e[4]),613356794:e=>new f.IfcConstraintClassificationRelationship(e[0],e[1]),347226245:e=>new f.IfcConstraintRelationship(e[0],e[1],e[2],e[3]),1065062679:e=>new f.IfcCoordinatedUniversalTimeOffset(e[0],e[1],e[2]),602808272:e=>new f.IfcCostValue(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),539742890:e=>new f.IfcCurrencyRelationship(e[0],e[1],e[2],e[3],e[4]),1105321065:e=>new f.IfcCurveStyleFont(e[0],e[1]),2367409068:e=>new f.IfcCurveStyleFontAndScaling(e[0],e[1],e[2]),3510044353:e=>new f.IfcCurveStyleFontPattern(e[0],e[1]),1072939445:e=>new f.IfcDateAndTime(e[0],e[1]),1765591967:e=>new f.IfcDerivedUnit(e[0],e[1],e[2]),1045800335:e=>new f.IfcDerivedUnitElement(e[0],e[1]),2949456006:e=>new f.IfcDimensionalExponents(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),1376555844:e=>new f.IfcDocumentElectronicFormat(e[0],e[1],e[2]),1154170062:e=>new f.IfcDocumentInformation(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15],e[16]),770865208:e=>new f.IfcDocumentInformationRelationship(e[0],e[1],e[2]),3796139169:e=>new f.IfcDraughtingCalloutRelationship(e[0],e[1],e[2],e[3]),1648886627:e=>new f.IfcEnvironmentalImpactValue(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3200245327:e=>new f.IfcExternalReference(e[0],e[1],e[2]),2242383968:e=>new f.IfcExternallyDefinedHatchStyle(e[0],e[1],e[2]),1040185647:e=>new f.IfcExternallyDefinedSurfaceStyle(e[0],e[1],e[2]),3207319532:e=>new f.IfcExternallyDefinedSymbol(e[0],e[1],e[2]),3548104201:e=>new f.IfcExternallyDefinedTextFont(e[0],e[1],e[2]),852622518:e=>new f.IfcGridAxis(e[0],e[1],e[2]),3020489413:e=>new f.IfcIrregularTimeSeriesValue(e[0],e[1]),2655187982:e=>new f.IfcLibraryInformation(e[0],e[1],e[2],e[3],e[4]),3452421091:e=>new f.IfcLibraryReference(e[0],e[1],e[2]),4162380809:e=>new f.IfcLightDistributionData(e[0],e[1],e[2]),1566485204:e=>new f.IfcLightIntensityDistribution(e[0],e[1]),30780891:e=>new f.IfcLocalTime(e[0],e[1],e[2],e[3],e[4]),1838606355:e=>new f.IfcMaterial(e[0]),1847130766:e=>new f.IfcMaterialClassificationRelationship(e[0],e[1]),248100487:e=>new f.IfcMaterialLayer(e[0],e[1],e[2]),3303938423:e=>new f.IfcMaterialLayerSet(e[0],e[1]),1303795690:e=>new f.IfcMaterialLayerSetUsage(e[0],e[1],e[2],e[3]),2199411900:e=>new f.IfcMaterialList(e[0]),3265635763:e=>new f.IfcMaterialProperties(e[0]),2597039031:e=>new f.IfcMeasureWithUnit(e[0],e[1]),4256014907:e=>new f.IfcMechanicalMaterialProperties(e[0],e[1],e[2],e[3],e[4],e[5]),677618848:e=>new f.IfcMechanicalSteelMaterialProperties(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12]),3368373690:e=>new f.IfcMetric(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2706619895:e=>new f.IfcMonetaryUnit(e[0]),1918398963:e=>new f.IfcNamedUnit(e[0],e[1]),3701648758:e=>new f.IfcObjectPlacement,2251480897:e=>new f.IfcObjective(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10]),1227763645:e=>new f.IfcOpticalMaterialProperties(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),4251960020:e=>new f.IfcOrganization(e[0],e[1],e[2],e[3],e[4]),1411181986:e=>new f.IfcOrganizationRelationship(e[0],e[1],e[2],e[3]),1207048766:e=>new f.IfcOwnerHistory(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),2077209135:e=>new f.IfcPerson(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),101040310:e=>new f.IfcPersonAndOrganization(e[0],e[1],e[2]),2483315170:e=>new f.IfcPhysicalQuantity(e[0],e[1]),2226359599:e=>new f.IfcPhysicalSimpleQuantity(e[0],e[1],e[2]),3355820592:e=>new f.IfcPostalAddress(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),3727388367:e=>new f.IfcPreDefinedItem(e[0]),990879717:e=>new f.IfcPreDefinedSymbol(e[0]),3213052703:e=>new f.IfcPreDefinedTerminatorSymbol(e[0]),1775413392:e=>new f.IfcPreDefinedTextFont(e[0]),2022622350:e=>new f.IfcPresentationLayerAssignment(e[0],e[1],e[2],e[3]),1304840413:e=>new f.IfcPresentationLayerWithStyle(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),3119450353:e=>new f.IfcPresentationStyle(e[0]),2417041796:e=>new f.IfcPresentationStyleAssignment(e[0]),2095639259:e=>new f.IfcProductRepresentation(e[0],e[1],e[2]),2267347899:e=>new f.IfcProductsOfCombustionProperties(e[0],e[1],e[2],e[3],e[4]),3958567839:e=>new f.IfcProfileDef(e[0],e[1]),2802850158:e=>new f.IfcProfileProperties(e[0],e[1]),2598011224:e=>new f.IfcProperty(e[0],e[1]),3896028662:e=>new f.IfcPropertyConstraintRelationship(e[0],e[1],e[2],e[3]),148025276:e=>new f.IfcPropertyDependencyRelationship(e[0],e[1],e[2],e[3],e[4]),3710013099:e=>new f.IfcPropertyEnumeration(e[0],e[1],e[2]),2044713172:e=>new f.IfcQuantityArea(e[0],e[1],e[2],e[3]),2093928680:e=>new f.IfcQuantityCount(e[0],e[1],e[2],e[3]),931644368:e=>new f.IfcQuantityLength(e[0],e[1],e[2],e[3]),3252649465:e=>new f.IfcQuantityTime(e[0],e[1],e[2],e[3]),2405470396:e=>new f.IfcQuantityVolume(e[0],e[1],e[2],e[3]),825690147:e=>new f.IfcQuantityWeight(e[0],e[1],e[2],e[3]),2692823254:e=>new f.IfcReferencesValueDocument(e[0],e[1],e[2],e[3]),1580146022:e=>new f.IfcReinforcementBarProperties(e[0],e[1],e[2],e[3],e[4],e[5]),1222501353:e=>new f.IfcRelaxation(e[0],e[1]),1076942058:e=>new f.IfcRepresentation(e[0],e[1],e[2],e[3]),3377609919:e=>new f.IfcRepresentationContext(e[0],e[1]),3008791417:e=>new f.IfcRepresentationItem,1660063152:e=>new f.IfcRepresentationMap(e[0],e[1]),3679540991:e=>new f.IfcRibPlateProfileProperties(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),2341007311:e=>new f.IfcRoot(e[0],e[1],e[2],e[3]),448429030:e=>new f.IfcSIUnit(e[0],e[1],e[2]),2042790032:e=>new f.IfcSectionProperties(e[0],e[1],e[2]),4165799628:e=>new f.IfcSectionReinforcementProperties(e[0],e[1],e[2],e[3],e[4],e[5]),867548509:e=>new f.IfcShapeAspect(e[0],e[1],e[2],e[3],e[4]),3982875396:e=>new f.IfcShapeModel(e[0],e[1],e[2],e[3]),4240577450:e=>new f.IfcShapeRepresentation(e[0],e[1],e[2],e[3]),3692461612:e=>new f.IfcSimpleProperty(e[0],e[1]),2273995522:e=>new f.IfcStructuralConnectionCondition(e[0]),2162789131:e=>new f.IfcStructuralLoad(e[0]),2525727697:e=>new f.IfcStructuralLoadStatic(e[0]),3408363356:e=>new f.IfcStructuralLoadTemperature(e[0],e[1],e[2],e[3]),2830218821:e=>new f.IfcStyleModel(e[0],e[1],e[2],e[3]),3958052878:e=>new f.IfcStyledItem(e[0],e[1],e[2]),3049322572:e=>new f.IfcStyledRepresentation(e[0],e[1],e[2],e[3]),1300840506:e=>new f.IfcSurfaceStyle(e[0],e[1],e[2]),3303107099:e=>new f.IfcSurfaceStyleLighting(e[0],e[1],e[2],e[3]),1607154358:e=>new f.IfcSurfaceStyleRefraction(e[0],e[1]),846575682:e=>new f.IfcSurfaceStyleShading(e[0]),1351298697:e=>new f.IfcSurfaceStyleWithTextures(e[0]),626085974:e=>new f.IfcSurfaceTexture(e[0],e[1],e[2],e[3]),1290481447:e=>new f.IfcSymbolStyle(e[0],e[1]),985171141:e=>new f.IfcTable(e[0],e[1]),531007025:e=>new f.IfcTableRow(e[0],e[1]),912023232:e=>new f.IfcTelecomAddress(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),1447204868:e=>new f.IfcTextStyle(e[0],e[1],e[2],e[3]),1983826977:e=>new f.IfcTextStyleFontModel(e[0],e[1],e[2],e[3],e[4],e[5]),2636378356:e=>new f.IfcTextStyleForDefinedFont(e[0],e[1]),1640371178:e=>new f.IfcTextStyleTextModel(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),1484833681:e=>new f.IfcTextStyleWithBoxCharacteristics(e[0],e[1],e[2],e[3],e[4]),280115917:e=>new f.IfcTextureCoordinate,1742049831:e=>new f.IfcTextureCoordinateGenerator(e[0],e[1]),2552916305:e=>new f.IfcTextureMap(e[0]),1210645708:e=>new f.IfcTextureVertex(e[0]),3317419933:e=>new f.IfcThermalMaterialProperties(e[0],e[1],e[2],e[3],e[4]),3101149627:e=>new f.IfcTimeSeries(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),1718945513:e=>new f.IfcTimeSeriesReferenceRelationship(e[0],e[1]),581633288:e=>new f.IfcTimeSeriesValue(e[0]),1377556343:e=>new f.IfcTopologicalRepresentationItem,1735638870:e=>new f.IfcTopologyRepresentation(e[0],e[1],e[2],e[3]),180925521:e=>new f.IfcUnitAssignment(e[0]),2799835756:e=>new f.IfcVertex,3304826586:e=>new f.IfcVertexBasedTextureMap(e[0],e[1]),1907098498:e=>new f.IfcVertexPoint(e[0]),891718957:e=>new f.IfcVirtualGridIntersection(e[0],e[1]),1065908215:e=>new f.IfcWaterProperties(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),2442683028:e=>new f.IfcAnnotationOccurrence(e[0],e[1],e[2]),962685235:e=>new f.IfcAnnotationSurfaceOccurrence(e[0],e[1],e[2]),3612888222:e=>new f.IfcAnnotationSymbolOccurrence(e[0],e[1],e[2]),2297822566:e=>new f.IfcAnnotationTextOccurrence(e[0],e[1],e[2]),3798115385:e=>new f.IfcArbitraryClosedProfileDef(e[0],e[1],e[2]),1310608509:e=>new f.IfcArbitraryOpenProfileDef(e[0],e[1],e[2]),2705031697:e=>new f.IfcArbitraryProfileDefWithVoids(e[0],e[1],e[2],e[3]),616511568:e=>new f.IfcBlobTexture(e[0],e[1],e[2],e[3],e[4],e[5]),3150382593:e=>new f.IfcCenterLineProfileDef(e[0],e[1],e[2],e[3]),647927063:e=>new f.IfcClassificationReference(e[0],e[1],e[2],e[3]),776857604:e=>new f.IfcColourRgb(e[0],e[1],e[2],e[3]),2542286263:e=>new f.IfcComplexProperty(e[0],e[1],e[2],e[3]),1485152156:e=>new f.IfcCompositeProfileDef(e[0],e[1],e[2],e[3]),370225590:e=>new f.IfcConnectedFaceSet(e[0]),1981873012:e=>new f.IfcConnectionCurveGeometry(e[0],e[1]),45288368:e=>new f.IfcConnectionPointEccentricity(e[0],e[1],e[2],e[3],e[4]),3050246964:e=>new f.IfcContextDependentUnit(e[0],e[1],e[2]),2889183280:e=>new f.IfcConversionBasedUnit(e[0],e[1],e[2],e[3]),3800577675:e=>new f.IfcCurveStyle(e[0],e[1],e[2],e[3]),3632507154:e=>new f.IfcDerivedProfileDef(e[0],e[1],e[2],e[3],e[4]),2273265877:e=>new f.IfcDimensionCalloutRelationship(e[0],e[1],e[2],e[3]),1694125774:e=>new f.IfcDimensionPair(e[0],e[1],e[2],e[3]),3732053477:e=>new f.IfcDocumentReference(e[0],e[1],e[2]),4170525392:e=>new f.IfcDraughtingPreDefinedTextFont(e[0]),3900360178:e=>new f.IfcEdge(e[0],e[1]),476780140:e=>new f.IfcEdgeCurve(e[0],e[1],e[2],e[3]),1860660968:e=>new f.IfcExtendedMaterialProperties(e[0],e[1],e[2],e[3]),2556980723:e=>new f.IfcFace(e[0]),1809719519:e=>new f.IfcFaceBound(e[0],e[1]),803316827:e=>new f.IfcFaceOuterBound(e[0],e[1]),3008276851:e=>new f.IfcFaceSurface(e[0],e[1],e[2]),4219587988:e=>new f.IfcFailureConnectionCondition(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),738692330:e=>new f.IfcFillAreaStyle(e[0],e[1]),3857492461:e=>new f.IfcFuelProperties(e[0],e[1],e[2],e[3],e[4]),803998398:e=>new f.IfcGeneralMaterialProperties(e[0],e[1],e[2],e[3]),1446786286:e=>new f.IfcGeneralProfileProperties(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),3448662350:e=>new f.IfcGeometricRepresentationContext(e[0],e[1],e[2],e[3],e[4],e[5]),2453401579:e=>new f.IfcGeometricRepresentationItem,4142052618:e=>new f.IfcGeometricRepresentationSubContext(e[0],e[1],e[2],e[3],e[4],e[5]),3590301190:e=>new f.IfcGeometricSet(e[0]),178086475:e=>new f.IfcGridPlacement(e[0],e[1]),812098782:e=>new f.IfcHalfSpaceSolid(e[0],e[1]),2445078500:e=>new f.IfcHygroscopicMaterialProperties(e[0],e[1],e[2],e[3],e[4],e[5]),3905492369:e=>new f.IfcImageTexture(e[0],e[1],e[2],e[3],e[4]),3741457305:e=>new f.IfcIrregularTimeSeries(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1402838566:e=>new f.IfcLightSource(e[0],e[1],e[2],e[3]),125510826:e=>new f.IfcLightSourceAmbient(e[0],e[1],e[2],e[3]),2604431987:e=>new f.IfcLightSourceDirectional(e[0],e[1],e[2],e[3],e[4]),4266656042:e=>new f.IfcLightSourceGoniometric(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1520743889:e=>new f.IfcLightSourcePositional(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3422422726:e=>new f.IfcLightSourceSpot(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12]),2624227202:e=>new f.IfcLocalPlacement(e[0],e[1]),1008929658:e=>new f.IfcLoop,2347385850:e=>new f.IfcMappedItem(e[0],e[1]),2022407955:e=>new f.IfcMaterialDefinitionRepresentation(e[0],e[1],e[2],e[3]),1430189142:e=>new f.IfcMechanicalConcreteMaterialProperties(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11]),219451334:e=>new f.IfcObjectDefinition(e[0],e[1],e[2],e[3]),2833995503:e=>new f.IfcOneDirectionRepeatFactor(e[0]),2665983363:e=>new f.IfcOpenShell(e[0]),1029017970:e=>new f.IfcOrientedEdge(e[0],e[1]),2529465313:e=>new f.IfcParameterizedProfileDef(e[0],e[1],e[2]),2519244187:e=>new f.IfcPath(e[0]),3021840470:e=>new f.IfcPhysicalComplexQuantity(e[0],e[1],e[2],e[3],e[4],e[5]),597895409:e=>new f.IfcPixelTexture(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),2004835150:e=>new f.IfcPlacement(e[0]),1663979128:e=>new f.IfcPlanarExtent(e[0],e[1]),2067069095:e=>new f.IfcPoint,4022376103:e=>new f.IfcPointOnCurve(e[0],e[1]),1423911732:e=>new f.IfcPointOnSurface(e[0],e[1],e[2]),2924175390:e=>new f.IfcPolyLoop(e[0]),2775532180:e=>new f.IfcPolygonalBoundedHalfSpace(e[0],e[1],e[2],e[3]),759155922:e=>new f.IfcPreDefinedColour(e[0]),2559016684:e=>new f.IfcPreDefinedCurveFont(e[0]),433424934:e=>new f.IfcPreDefinedDimensionSymbol(e[0]),179317114:e=>new f.IfcPreDefinedPointMarkerSymbol(e[0]),673634403:e=>new f.IfcProductDefinitionShape(e[0],e[1],e[2]),871118103:e=>new f.IfcPropertyBoundedValue(e[0],e[1],e[2],e[3],e[4]),1680319473:e=>new f.IfcPropertyDefinition(e[0],e[1],e[2],e[3]),4166981789:e=>new f.IfcPropertyEnumeratedValue(e[0],e[1],e[2],e[3]),2752243245:e=>new f.IfcPropertyListValue(e[0],e[1],e[2],e[3]),941946838:e=>new f.IfcPropertyReferenceValue(e[0],e[1],e[2],e[3]),3357820518:e=>new f.IfcPropertySetDefinition(e[0],e[1],e[2],e[3]),3650150729:e=>new f.IfcPropertySingleValue(e[0],e[1],e[2],e[3]),110355661:e=>new f.IfcPropertyTableValue(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),3615266464:e=>new f.IfcRectangleProfileDef(e[0],e[1],e[2],e[3],e[4]),3413951693:e=>new f.IfcRegularTimeSeries(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),3765753017:e=>new f.IfcReinforcementDefinitionProperties(e[0],e[1],e[2],e[3],e[4],e[5]),478536968:e=>new f.IfcRelationship(e[0],e[1],e[2],e[3]),2778083089:e=>new f.IfcRoundedRectangleProfileDef(e[0],e[1],e[2],e[3],e[4],e[5]),1509187699:e=>new f.IfcSectionedSpine(e[0],e[1],e[2]),2411513650:e=>new f.IfcServiceLifeFactor(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),4124623270:e=>new f.IfcShellBasedSurfaceModel(e[0]),2609359061:e=>new f.IfcSlippageConnectionCondition(e[0],e[1],e[2],e[3]),723233188:e=>new f.IfcSolidModel,2485662743:e=>new f.IfcSoundProperties(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),1202362311:e=>new f.IfcSoundValue(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),390701378:e=>new f.IfcSpaceThermalLoadProperties(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13]),1595516126:e=>new f.IfcStructuralLoadLinearForce(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),2668620305:e=>new f.IfcStructuralLoadPlanarForce(e[0],e[1],e[2],e[3]),2473145415:e=>new f.IfcStructuralLoadSingleDisplacement(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),1973038258:e=>new f.IfcStructuralLoadSingleDisplacementDistortion(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),1597423693:e=>new f.IfcStructuralLoadSingleForce(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),1190533807:e=>new f.IfcStructuralLoadSingleForceWarping(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),3843319758:e=>new f.IfcStructuralProfileProperties(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15],e[16],e[17],e[18],e[19],e[20],e[21],e[22]),3653947884:e=>new f.IfcStructuralSteelProfileProperties(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15],e[16],e[17],e[18],e[19],e[20],e[21],e[22],e[23],e[24],e[25],e[26]),2233826070:e=>new f.IfcSubedge(e[0],e[1],e[2]),2513912981:e=>new f.IfcSurface,1878645084:e=>new f.IfcSurfaceStyleRendering(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2247615214:e=>new f.IfcSweptAreaSolid(e[0],e[1]),1260650574:e=>new f.IfcSweptDiskSolid(e[0],e[1],e[2],e[3],e[4]),230924584:e=>new f.IfcSweptSurface(e[0],e[1]),3071757647:e=>new f.IfcTShapeProfileDef(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12]),3028897424:e=>new f.IfcTerminatorSymbol(e[0],e[1],e[2],e[3]),4282788508:e=>new f.IfcTextLiteral(e[0],e[1],e[2]),3124975700:e=>new f.IfcTextLiteralWithExtent(e[0],e[1],e[2],e[3],e[4]),2715220739:e=>new f.IfcTrapeziumProfileDef(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),1345879162:e=>new f.IfcTwoDirectionRepeatFactor(e[0],e[1]),1628702193:e=>new f.IfcTypeObject(e[0],e[1],e[2],e[3],e[4],e[5]),2347495698:e=>new f.IfcTypeProduct(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),427810014:e=>new f.IfcUShapeProfileDef(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10]),1417489154:e=>new f.IfcVector(e[0],e[1]),2759199220:e=>new f.IfcVertexLoop(e[0]),336235671:e=>new f.IfcWindowLiningProperties(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12]),512836454:e=>new f.IfcWindowPanelProperties(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1299126871:e=>new f.IfcWindowStyle(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11]),2543172580:e=>new f.IfcZShapeProfileDef(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3288037868:e=>new f.IfcAnnotationCurveOccurrence(e[0],e[1],e[2]),669184980:e=>new f.IfcAnnotationFillArea(e[0],e[1]),2265737646:e=>new f.IfcAnnotationFillAreaOccurrence(e[0],e[1],e[2],e[3],e[4]),1302238472:e=>new f.IfcAnnotationSurface(e[0],e[1]),4261334040:e=>new f.IfcAxis1Placement(e[0],e[1]),3125803723:e=>new f.IfcAxis2Placement2D(e[0],e[1]),2740243338:e=>new f.IfcAxis2Placement3D(e[0],e[1],e[2]),2736907675:e=>new f.IfcBooleanResult(e[0],e[1],e[2]),4182860854:e=>new f.IfcBoundedSurface,2581212453:e=>new f.IfcBoundingBox(e[0],e[1],e[2],e[3]),2713105998:e=>new f.IfcBoxedHalfSpace(e[0],e[1],e[2]),2898889636:e=>new f.IfcCShapeProfileDef(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1123145078:e=>new f.IfcCartesianPoint(e[0]),59481748:e=>new f.IfcCartesianTransformationOperator(e[0],e[1],e[2],e[3]),3749851601:e=>new f.IfcCartesianTransformationOperator2D(e[0],e[1],e[2],e[3]),3486308946:e=>new f.IfcCartesianTransformationOperator2DnonUniform(e[0],e[1],e[2],e[3],e[4]),3331915920:e=>new f.IfcCartesianTransformationOperator3D(e[0],e[1],e[2],e[3],e[4]),1416205885:e=>new f.IfcCartesianTransformationOperator3DnonUniform(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),1383045692:e=>new f.IfcCircleProfileDef(e[0],e[1],e[2],e[3]),2205249479:e=>new f.IfcClosedShell(e[0]),2485617015:e=>new f.IfcCompositeCurveSegment(e[0],e[1],e[2]),4133800736:e=>new f.IfcCraneRailAShapeProfileDef(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14]),194851669:e=>new f.IfcCraneRailFShapeProfileDef(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11]),2506170314:e=>new f.IfcCsgPrimitive3D(e[0]),2147822146:e=>new f.IfcCsgSolid(e[0]),2601014836:e=>new f.IfcCurve,2827736869:e=>new f.IfcCurveBoundedPlane(e[0],e[1],e[2]),693772133:e=>new f.IfcDefinedSymbol(e[0],e[1]),606661476:e=>new f.IfcDimensionCurve(e[0],e[1],e[2]),4054601972:e=>new f.IfcDimensionCurveTerminator(e[0],e[1],e[2],e[3],e[4]),32440307:e=>new f.IfcDirection(e[0]),2963535650:e=>new f.IfcDoorLiningProperties(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14]),1714330368:e=>new f.IfcDoorPanelProperties(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),526551008:e=>new f.IfcDoorStyle(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11]),3073041342:e=>new f.IfcDraughtingCallout(e[0]),445594917:e=>new f.IfcDraughtingPreDefinedColour(e[0]),4006246654:e=>new f.IfcDraughtingPreDefinedCurveFont(e[0]),1472233963:e=>new f.IfcEdgeLoop(e[0]),1883228015:e=>new f.IfcElementQuantity(e[0],e[1],e[2],e[3],e[4],e[5]),339256511:e=>new f.IfcElementType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2777663545:e=>new f.IfcElementarySurface(e[0]),2835456948:e=>new f.IfcEllipseProfileDef(e[0],e[1],e[2],e[3],e[4]),80994333:e=>new f.IfcEnergyProperties(e[0],e[1],e[2],e[3],e[4],e[5]),477187591:e=>new f.IfcExtrudedAreaSolid(e[0],e[1],e[2],e[3]),2047409740:e=>new f.IfcFaceBasedSurfaceModel(e[0]),374418227:e=>new f.IfcFillAreaStyleHatching(e[0],e[1],e[2],e[3],e[4]),4203026998:e=>new f.IfcFillAreaStyleTileSymbolWithStyle(e[0]),315944413:e=>new f.IfcFillAreaStyleTiles(e[0],e[1],e[2]),3455213021:e=>new f.IfcFluidFlowProperties(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15],e[16],e[17],e[18]),4238390223:e=>new f.IfcFurnishingElementType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1268542332:e=>new f.IfcFurnitureType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),987898635:e=>new f.IfcGeometricCurveSet(e[0]),1484403080:e=>new f.IfcIShapeProfileDef(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),572779678:e=>new f.IfcLShapeProfileDef(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10]),1281925730:e=>new f.IfcLine(e[0],e[1]),1425443689:e=>new f.IfcManifoldSolidBrep(e[0]),3888040117:e=>new f.IfcObject(e[0],e[1],e[2],e[3],e[4]),3388369263:e=>new f.IfcOffsetCurve2D(e[0],e[1],e[2]),3505215534:e=>new f.IfcOffsetCurve3D(e[0],e[1],e[2],e[3]),3566463478:e=>new f.IfcPermeableCoveringProperties(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),603570806:e=>new f.IfcPlanarBox(e[0],e[1],e[2]),220341763:e=>new f.IfcPlane(e[0]),2945172077:e=>new f.IfcProcess(e[0],e[1],e[2],e[3],e[4]),4208778838:e=>new f.IfcProduct(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),103090709:e=>new f.IfcProject(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),4194566429:e=>new f.IfcProjectionCurve(e[0],e[1],e[2]),1451395588:e=>new f.IfcPropertySet(e[0],e[1],e[2],e[3],e[4]),3219374653:e=>new f.IfcProxy(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2770003689:e=>new f.IfcRectangleHollowProfileDef(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),2798486643:e=>new f.IfcRectangularPyramid(e[0],e[1],e[2],e[3]),3454111270:e=>new f.IfcRectangularTrimmedSurface(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),3939117080:e=>new f.IfcRelAssigns(e[0],e[1],e[2],e[3],e[4],e[5]),1683148259:e=>new f.IfcRelAssignsToActor(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),2495723537:e=>new f.IfcRelAssignsToControl(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),1307041759:e=>new f.IfcRelAssignsToGroup(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),4278684876:e=>new f.IfcRelAssignsToProcess(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),2857406711:e=>new f.IfcRelAssignsToProduct(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),3372526763:e=>new f.IfcRelAssignsToProjectOrder(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),205026976:e=>new f.IfcRelAssignsToResource(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),1865459582:e=>new f.IfcRelAssociates(e[0],e[1],e[2],e[3],e[4]),1327628568:e=>new f.IfcRelAssociatesAppliedValue(e[0],e[1],e[2],e[3],e[4],e[5]),4095574036:e=>new f.IfcRelAssociatesApproval(e[0],e[1],e[2],e[3],e[4],e[5]),919958153:e=>new f.IfcRelAssociatesClassification(e[0],e[1],e[2],e[3],e[4],e[5]),2728634034:e=>new f.IfcRelAssociatesConstraint(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),982818633:e=>new f.IfcRelAssociatesDocument(e[0],e[1],e[2],e[3],e[4],e[5]),3840914261:e=>new f.IfcRelAssociatesLibrary(e[0],e[1],e[2],e[3],e[4],e[5]),2655215786:e=>new f.IfcRelAssociatesMaterial(e[0],e[1],e[2],e[3],e[4],e[5]),2851387026:e=>new f.IfcRelAssociatesProfileProperties(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),826625072:e=>new f.IfcRelConnects(e[0],e[1],e[2],e[3]),1204542856:e=>new f.IfcRelConnectsElements(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),3945020480:e=>new f.IfcRelConnectsPathElements(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10]),4201705270:e=>new f.IfcRelConnectsPortToElement(e[0],e[1],e[2],e[3],e[4],e[5]),3190031847:e=>new f.IfcRelConnectsPorts(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),2127690289:e=>new f.IfcRelConnectsStructuralActivity(e[0],e[1],e[2],e[3],e[4],e[5]),3912681535:e=>new f.IfcRelConnectsStructuralElement(e[0],e[1],e[2],e[3],e[4],e[5]),1638771189:e=>new f.IfcRelConnectsStructuralMember(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),504942748:e=>new f.IfcRelConnectsWithEccentricity(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10]),3678494232:e=>new f.IfcRelConnectsWithRealizingElements(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3242617779:e=>new f.IfcRelContainedInSpatialStructure(e[0],e[1],e[2],e[3],e[4],e[5]),886880790:e=>new f.IfcRelCoversBldgElements(e[0],e[1],e[2],e[3],e[4],e[5]),2802773753:e=>new f.IfcRelCoversSpaces(e[0],e[1],e[2],e[3],e[4],e[5]),2551354335:e=>new f.IfcRelDecomposes(e[0],e[1],e[2],e[3],e[4],e[5]),693640335:e=>new f.IfcRelDefines(e[0],e[1],e[2],e[3],e[4]),4186316022:e=>new f.IfcRelDefinesByProperties(e[0],e[1],e[2],e[3],e[4],e[5]),781010003:e=>new f.IfcRelDefinesByType(e[0],e[1],e[2],e[3],e[4],e[5]),3940055652:e=>new f.IfcRelFillsElement(e[0],e[1],e[2],e[3],e[4],e[5]),279856033:e=>new f.IfcRelFlowControlElements(e[0],e[1],e[2],e[3],e[4],e[5]),4189434867:e=>new f.IfcRelInteractionRequirements(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3268803585:e=>new f.IfcRelNests(e[0],e[1],e[2],e[3],e[4],e[5]),2051452291:e=>new f.IfcRelOccupiesSpaces(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),202636808:e=>new f.IfcRelOverridesProperties(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),750771296:e=>new f.IfcRelProjectsElement(e[0],e[1],e[2],e[3],e[4],e[5]),1245217292:e=>new f.IfcRelReferencedInSpatialStructure(e[0],e[1],e[2],e[3],e[4],e[5]),1058617721:e=>new f.IfcRelSchedulesCostItems(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),4122056220:e=>new f.IfcRelSequence(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),366585022:e=>new f.IfcRelServicesBuildings(e[0],e[1],e[2],e[3],e[4],e[5]),3451746338:e=>new f.IfcRelSpaceBoundary(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1401173127:e=>new f.IfcRelVoidsElement(e[0],e[1],e[2],e[3],e[4],e[5]),2914609552:e=>new f.IfcResource(e[0],e[1],e[2],e[3],e[4]),1856042241:e=>new f.IfcRevolvedAreaSolid(e[0],e[1],e[2],e[3]),4158566097:e=>new f.IfcRightCircularCone(e[0],e[1],e[2]),3626867408:e=>new f.IfcRightCircularCylinder(e[0],e[1],e[2]),2706606064:e=>new f.IfcSpatialStructureElement(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3893378262:e=>new f.IfcSpatialStructureElementType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),451544542:e=>new f.IfcSphere(e[0],e[1]),3544373492:e=>new f.IfcStructuralActivity(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3136571912:e=>new f.IfcStructuralItem(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),530289379:e=>new f.IfcStructuralMember(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),3689010777:e=>new f.IfcStructuralReaction(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3979015343:e=>new f.IfcStructuralSurfaceMember(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2218152070:e=>new f.IfcStructuralSurfaceMemberVarying(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10]),4070609034:e=>new f.IfcStructuredDimensionCallout(e[0]),2028607225:e=>new f.IfcSurfaceCurveSweptAreaSolid(e[0],e[1],e[2],e[3],e[4],e[5]),2809605785:e=>new f.IfcSurfaceOfLinearExtrusion(e[0],e[1],e[2],e[3]),4124788165:e=>new f.IfcSurfaceOfRevolution(e[0],e[1],e[2]),1580310250:e=>new f.IfcSystemFurnitureElementType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3473067441:e=>new f.IfcTask(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2097647324:e=>new f.IfcTransportElementType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2296667514:e=>new f.IfcActor(e[0],e[1],e[2],e[3],e[4],e[5]),1674181508:e=>new f.IfcAnnotation(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),3207858831:e=>new f.IfcAsymmetricIShapeProfileDef(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11]),1334484129:e=>new f.IfcBlock(e[0],e[1],e[2],e[3]),3649129432:e=>new f.IfcBooleanClippingResult(e[0],e[1],e[2]),1260505505:e=>new f.IfcBoundedCurve,4031249490:e=>new f.IfcBuilding(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11]),1950629157:e=>new f.IfcBuildingElementType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3124254112:e=>new f.IfcBuildingStorey(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2937912522:e=>new f.IfcCircleHollowProfileDef(e[0],e[1],e[2],e[3],e[4]),300633059:e=>new f.IfcColumnType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),3732776249:e=>new f.IfcCompositeCurve(e[0],e[1]),2510884976:e=>new f.IfcConic(e[0]),2559216714:e=>new f.IfcConstructionResource(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3293443760:e=>new f.IfcControl(e[0],e[1],e[2],e[3],e[4]),3895139033:e=>new f.IfcCostItem(e[0],e[1],e[2],e[3],e[4]),1419761937:e=>new f.IfcCostSchedule(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12]),1916426348:e=>new f.IfcCoveringType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),3295246426:e=>new f.IfcCrewResource(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1457835157:e=>new f.IfcCurtainWallType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),681481545:e=>new f.IfcDimensionCurveDirectedCallout(e[0]),3256556792:e=>new f.IfcDistributionElementType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3849074793:e=>new f.IfcDistributionFlowElementType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),360485395:e=>new f.IfcElectricalBaseProperties(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13]),1758889154:e=>new f.IfcElement(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),4123344466:e=>new f.IfcElementAssembly(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1623761950:e=>new f.IfcElementComponent(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),2590856083:e=>new f.IfcElementComponentType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1704287377:e=>new f.IfcEllipse(e[0],e[1],e[2]),2107101300:e=>new f.IfcEnergyConversionDeviceType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1962604670:e=>new f.IfcEquipmentElement(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),3272907226:e=>new f.IfcEquipmentStandard(e[0],e[1],e[2],e[3],e[4]),3174744832:e=>new f.IfcEvaporativeCoolerType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),3390157468:e=>new f.IfcEvaporatorType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),807026263:e=>new f.IfcFacetedBrep(e[0]),3737207727:e=>new f.IfcFacetedBrepWithVoids(e[0],e[1]),647756555:e=>new f.IfcFastener(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),2489546625:e=>new f.IfcFastenerType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2827207264:e=>new f.IfcFeatureElement(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),2143335405:e=>new f.IfcFeatureElementAddition(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),1287392070:e=>new f.IfcFeatureElementSubtraction(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),3907093117:e=>new f.IfcFlowControllerType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3198132628:e=>new f.IfcFlowFittingType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3815607619:e=>new f.IfcFlowMeterType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1482959167:e=>new f.IfcFlowMovingDeviceType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1834744321:e=>new f.IfcFlowSegmentType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1339347760:e=>new f.IfcFlowStorageDeviceType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2297155007:e=>new f.IfcFlowTerminalType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3009222698:e=>new f.IfcFlowTreatmentDeviceType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),263784265:e=>new f.IfcFurnishingElement(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),814719939:e=>new f.IfcFurnitureStandard(e[0],e[1],e[2],e[3],e[4]),200128114:e=>new f.IfcGasTerminalType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),3009204131:e=>new f.IfcGrid(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2706460486:e=>new f.IfcGroup(e[0],e[1],e[2],e[3],e[4]),1251058090:e=>new f.IfcHeatExchangerType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1806887404:e=>new f.IfcHumidifierType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2391368822:e=>new f.IfcInventory(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10]),4288270099:e=>new f.IfcJunctionBoxType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),3827777499:e=>new f.IfcLaborResource(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1051575348:e=>new f.IfcLampType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1161773419:e=>new f.IfcLightFixtureType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2506943328:e=>new f.IfcLinearDimension(e[0]),377706215:e=>new f.IfcMechanicalFastener(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2108223431:e=>new f.IfcMechanicalFastenerType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3181161470:e=>new f.IfcMemberType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),977012517:e=>new f.IfcMotorConnectionType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1916936684:e=>new f.IfcMove(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12]),4143007308:e=>new f.IfcOccupant(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),3588315303:e=>new f.IfcOpeningElement(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),3425660407:e=>new f.IfcOrderAction(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10]),2837617999:e=>new f.IfcOutletType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2382730787:e=>new f.IfcPerformanceHistory(e[0],e[1],e[2],e[3],e[4],e[5]),3327091369:e=>new f.IfcPermit(e[0],e[1],e[2],e[3],e[4],e[5]),804291784:e=>new f.IfcPipeFittingType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),4231323485:e=>new f.IfcPipeSegmentType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),4017108033:e=>new f.IfcPlateType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),3724593414:e=>new f.IfcPolyline(e[0]),3740093272:e=>new f.IfcPort(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),2744685151:e=>new f.IfcProcedure(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),2904328755:e=>new f.IfcProjectOrder(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),3642467123:e=>new f.IfcProjectOrderRecord(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),3651124850:e=>new f.IfcProjectionElement(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),1842657554:e=>new f.IfcProtectiveDeviceType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2250791053:e=>new f.IfcPumpType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),3248260540:e=>new f.IfcRadiusDimension(e[0]),2893384427:e=>new f.IfcRailingType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2324767716:e=>new f.IfcRampFlightType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),160246688:e=>new f.IfcRelAggregates(e[0],e[1],e[2],e[3],e[4],e[5]),2863920197:e=>new f.IfcRelAssignsTasks(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),1768891740:e=>new f.IfcSanitaryTerminalType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),3517283431:e=>new f.IfcScheduleTimeControl(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15],e[16],e[17],e[18],e[19],e[20],e[21],e[22]),4105383287:e=>new f.IfcServiceLife(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),4097777520:e=>new f.IfcSite(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13]),2533589738:e=>new f.IfcSlabType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),3856911033:e=>new f.IfcSpace(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10]),1305183839:e=>new f.IfcSpaceHeaterType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),652456506:e=>new f.IfcSpaceProgram(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),3812236995:e=>new f.IfcSpaceType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),3112655638:e=>new f.IfcStackTerminalType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1039846685:e=>new f.IfcStairFlightType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),682877961:e=>new f.IfcStructuralAction(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10]),1179482911:e=>new f.IfcStructuralConnection(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),4243806635:e=>new f.IfcStructuralCurveConnection(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),214636428:e=>new f.IfcStructuralCurveMember(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),2445595289:e=>new f.IfcStructuralCurveMemberVarying(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),1807405624:e=>new f.IfcStructuralLinearAction(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11]),1721250024:e=>new f.IfcStructuralLinearActionVarying(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13]),1252848954:e=>new f.IfcStructuralLoadGroup(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1621171031:e=>new f.IfcStructuralPlanarAction(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11]),3987759626:e=>new f.IfcStructuralPlanarActionVarying(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13]),2082059205:e=>new f.IfcStructuralPointAction(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10]),734778138:e=>new f.IfcStructuralPointConnection(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),1235345126:e=>new f.IfcStructuralPointReaction(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2986769608:e=>new f.IfcStructuralResultGroup(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),1975003073:e=>new f.IfcStructuralSurfaceConnection(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),148013059:e=>new f.IfcSubContractResource(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10]),2315554128:e=>new f.IfcSwitchingDeviceType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2254336722:e=>new f.IfcSystem(e[0],e[1],e[2],e[3],e[4]),5716631:e=>new f.IfcTankType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1637806684:e=>new f.IfcTimeSeriesSchedule(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),1692211062:e=>new f.IfcTransformerType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1620046519:e=>new f.IfcTransportElement(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10]),3593883385:e=>new f.IfcTrimmedCurve(e[0],e[1],e[2],e[3],e[4]),1600972822:e=>new f.IfcTubeBundleType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1911125066:e=>new f.IfcUnitaryEquipmentType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),728799441:e=>new f.IfcValveType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2769231204:e=>new f.IfcVirtualElement(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),1898987631:e=>new f.IfcWallType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1133259667:e=>new f.IfcWasteTerminalType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1028945134:e=>new f.IfcWorkControl(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14]),4218914973:e=>new f.IfcWorkPlan(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14]),3342526732:e=>new f.IfcWorkSchedule(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14]),1033361043:e=>new f.IfcZone(e[0],e[1],e[2],e[3],e[4]),1213861670:e=>new f.Ifc2DCompositeCurve(e[0],e[1]),3821786052:e=>new f.IfcActionRequest(e[0],e[1],e[2],e[3],e[4],e[5]),1411407467:e=>new f.IfcAirTerminalBoxType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),3352864051:e=>new f.IfcAirTerminalType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1871374353:e=>new f.IfcAirToAirHeatRecoveryType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2470393545:e=>new f.IfcAngularDimension(e[0]),3460190687:e=>new f.IfcAsset(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13]),1967976161:e=>new f.IfcBSplineCurve(e[0],e[1],e[2],e[3],e[4]),819618141:e=>new f.IfcBeamType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1916977116:e=>new f.IfcBezierCurve(e[0],e[1],e[2],e[3],e[4]),231477066:e=>new f.IfcBoilerType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),3299480353:e=>new f.IfcBuildingElement(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),52481810:e=>new f.IfcBuildingElementComponent(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),2979338954:e=>new f.IfcBuildingElementPart(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),1095909175:e=>new f.IfcBuildingElementProxy(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1909888760:e=>new f.IfcBuildingElementProxyType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),395041908:e=>new f.IfcCableCarrierFittingType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),3293546465:e=>new f.IfcCableCarrierSegmentType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1285652485:e=>new f.IfcCableSegmentType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2951183804:e=>new f.IfcChillerType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2611217952:e=>new f.IfcCircle(e[0],e[1]),2301859152:e=>new f.IfcCoilType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),843113511:e=>new f.IfcColumn(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),3850581409:e=>new f.IfcCompressorType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2816379211:e=>new f.IfcCondenserType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2188551683:e=>new f.IfcCondition(e[0],e[1],e[2],e[3],e[4]),1163958913:e=>new f.IfcConditionCriterion(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),3898045240:e=>new f.IfcConstructionEquipmentResource(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1060000209:e=>new f.IfcConstructionMaterialResource(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10]),488727124:e=>new f.IfcConstructionProductResource(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),335055490:e=>new f.IfcCooledBeamType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2954562838:e=>new f.IfcCoolingTowerType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1973544240:e=>new f.IfcCovering(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3495092785:e=>new f.IfcCurtainWall(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),3961806047:e=>new f.IfcDamperType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),4147604152:e=>new f.IfcDiameterDimension(e[0]),1335981549:e=>new f.IfcDiscreteAccessory(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),2635815018:e=>new f.IfcDiscreteAccessoryType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1599208980:e=>new f.IfcDistributionChamberElementType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2063403501:e=>new f.IfcDistributionControlElementType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1945004755:e=>new f.IfcDistributionElement(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),3040386961:e=>new f.IfcDistributionFlowElement(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),3041715199:e=>new f.IfcDistributionPort(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),395920057:e=>new f.IfcDoor(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),869906466:e=>new f.IfcDuctFittingType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),3760055223:e=>new f.IfcDuctSegmentType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2030761528:e=>new f.IfcDuctSilencerType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),855621170:e=>new f.IfcEdgeFeature(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),663422040:e=>new f.IfcElectricApplianceType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),3277789161:e=>new f.IfcElectricFlowStorageDeviceType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1534661035:e=>new f.IfcElectricGeneratorType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1365060375:e=>new f.IfcElectricHeaterType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1217240411:e=>new f.IfcElectricMotorType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),712377611:e=>new f.IfcElectricTimeControlType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1634875225:e=>new f.IfcElectricalCircuit(e[0],e[1],e[2],e[3],e[4]),857184966:e=>new f.IfcElectricalElement(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),1658829314:e=>new f.IfcEnergyConversionDevice(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),346874300:e=>new f.IfcFanType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1810631287:e=>new f.IfcFilterType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),4222183408:e=>new f.IfcFireSuppressionTerminalType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2058353004:e=>new f.IfcFlowController(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),4278956645:e=>new f.IfcFlowFitting(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),4037862832:e=>new f.IfcFlowInstrumentType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),3132237377:e=>new f.IfcFlowMovingDevice(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),987401354:e=>new f.IfcFlowSegment(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),707683696:e=>new f.IfcFlowStorageDevice(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),2223149337:e=>new f.IfcFlowTerminal(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),3508470533:e=>new f.IfcFlowTreatmentDevice(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),900683007:e=>new f.IfcFooting(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1073191201:e=>new f.IfcMember(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),1687234759:e=>new f.IfcPile(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),3171933400:e=>new f.IfcPlate(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),2262370178:e=>new f.IfcRailing(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3024970846:e=>new f.IfcRamp(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3283111854:e=>new f.IfcRampFlight(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),3055160366:e=>new f.IfcRationalBezierCurve(e[0],e[1],e[2],e[3],e[4],e[5]),3027567501:e=>new f.IfcReinforcingElement(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2320036040:e=>new f.IfcReinforcingMesh(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15],e[16]),2016517767:e=>new f.IfcRoof(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1376911519:e=>new f.IfcRoundedEdgeFeature(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1783015770:e=>new f.IfcSensorType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1529196076:e=>new f.IfcSlab(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),331165859:e=>new f.IfcStair(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),4252922144:e=>new f.IfcStairFlight(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11]),2515109513:e=>new f.IfcStructuralAnalysisModel(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3824725483:e=>new f.IfcTendon(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15],e[16]),2347447852:e=>new f.IfcTendonAnchor(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3313531582:e=>new f.IfcVibrationIsolatorType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2391406946:e=>new f.IfcWall(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),3512223829:e=>new f.IfcWallStandardCase(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),3304561284:e=>new f.IfcWindow(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2874132201:e=>new f.IfcActuatorType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),3001207471:e=>new f.IfcAlarmType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),753842376:e=>new f.IfcBeam(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),2454782716:e=>new f.IfcChamferEdgeFeature(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10]),578613899:e=>new f.IfcControllerType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1052013943:e=>new f.IfcDistributionChamberElement(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),1062813311:e=>new f.IfcDistributionControlElement(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3700593921:e=>new f.IfcElectricDistributionPoint(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),979691226:e=>new f.IfcReinforcingBar(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13])};SV[1]={3630933823:e=>[e.Role,e.UserDefinedRole,e.Description],618182010:e=>[e.Purpose,e.Description,e.UserDefinedPurpose],639542469:e=>[e.ApplicationDeveloper,e.Version,e.ApplicationFullName,e.ApplicationIdentifier],411424972:e=>[e.Name,e.Description,Ge(e.AppliedValue),e.UnitBasis,Ge(e.ApplicableDate),Ge(e.FixedUntilDate)],1110488051:e=>[e.ComponentOfTotal,e.Components,e.ArithmeticOperator,e.Name,e.Description],130549933:e=>[e.Description,Ge(e.ApprovalDateTime),e.ApprovalStatus,e.ApprovalLevel,e.ApprovalQualifier,e.Name,e.Identifier],2080292479:e=>[Ge(e.Actor),e.Approval,e.Role],390851274:e=>[e.ApprovedProperties,e.Approval],3869604511:e=>[e.RelatedApproval,e.RelatingApproval,e.Description,e.Name],4037036970:e=>[e.Name],1560379544:e=>[e.Name,e.LinearStiffnessByLengthX,e.LinearStiffnessByLengthY,e.LinearStiffnessByLengthZ,e.RotationalStiffnessByLengthX,e.RotationalStiffnessByLengthY,e.RotationalStiffnessByLengthZ],3367102660:e=>[e.Name,e.LinearStiffnessByAreaX,e.LinearStiffnessByAreaY,e.LinearStiffnessByAreaZ],1387855156:e=>[e.Name,e.LinearStiffnessX,e.LinearStiffnessY,e.LinearStiffnessZ,e.RotationalStiffnessX,e.RotationalStiffnessY,e.RotationalStiffnessZ],2069777674:e=>[e.Name,e.LinearStiffnessX,e.LinearStiffnessY,e.LinearStiffnessZ,e.RotationalStiffnessX,e.RotationalStiffnessY,e.RotationalStiffnessZ,e.WarpingStiffness],622194075:e=>[e.DayComponent,e.MonthComponent,e.YearComponent],747523909:e=>[e.Source,e.Edition,e.EditionDate,e.Name],1767535486:e=>[e.Notation,e.ItemOf,e.Title],1098599126:e=>[e.RelatingItem,e.RelatedItems],938368621:e=>[e.NotationFacets],3639012971:e=>[e.NotationValue],3264961684:e=>[e.Name],2859738748:e=>[],2614616156:e=>[Ge(e.PointOnRelatingElement),Ge(e.PointOnRelatedElement)],4257277454:e=>[Ge(e.LocationAtRelatingElement),Ge(e.LocationAtRelatedElement),e.ProfileOfPort],2732653382:e=>[Ge(e.SurfaceOnRelatingElement),Ge(e.SurfaceOnRelatedElement)],1959218052:e=>[e.Name,e.Description,e.ConstraintGrade,e.ConstraintSource,Ge(e.CreatingActor),Ge(e.CreationTime),e.UserDefinedGrade],1658513725:e=>[e.Name,e.Description,e.RelatingConstraint,e.RelatedConstraints,e.LogicalAggregator],613356794:e=>[e.ClassifiedConstraint,Ge(e.RelatedClassifications)],347226245:e=>[e.Name,e.Description,e.RelatingConstraint,e.RelatedConstraints],1065062679:e=>[e.HourOffset,e.MinuteOffset,e.Sense],602808272:e=>[e.Name,e.Description,Ge(e.AppliedValue),e.UnitBasis,Ge(e.ApplicableDate),Ge(e.FixedUntilDate),e.CostType,e.Condition],539742890:e=>[e.RelatingMonetaryUnit,e.RelatedMonetaryUnit,e.ExchangeRate,e.RateDateTime,e.RateSource],1105321065:e=>[e.Name,e.PatternList],2367409068:e=>[e.Name,Ge(e.CurveFont),e.CurveFontScaling],3510044353:e=>[e.VisibleSegmentLength,e.InvisibleSegmentLength],1072939445:e=>[e.DateComponent,e.TimeComponent],1765591967:e=>[e.Elements,e.UnitType,e.UserDefinedType],1045800335:e=>[e.Unit,e.Exponent],2949456006:e=>[e.LengthExponent,e.MassExponent,e.TimeExponent,e.ElectricCurrentExponent,e.ThermodynamicTemperatureExponent,e.AmountOfSubstanceExponent,e.LuminousIntensityExponent],1376555844:e=>[e.FileExtension,e.MimeContentType,e.MimeSubtype],1154170062:e=>[e.DocumentId,e.Name,e.Description,e.DocumentReferences,e.Purpose,e.IntendedUse,e.Scope,e.Revision,Ge(e.DocumentOwner),Ge(e.Editors),e.CreationTime,e.LastRevisionTime,e.ElectronicFormat,e.ValidFrom,e.ValidUntil,e.Confidentiality,e.Status],770865208:e=>[e.RelatingDocument,e.RelatedDocuments,e.RelationshipType],3796139169:e=>[e.Name,e.Description,e.RelatingDraughtingCallout,e.RelatedDraughtingCallout],1648886627:e=>[e.Name,e.Description,Ge(e.AppliedValue),e.UnitBasis,Ge(e.ApplicableDate),Ge(e.FixedUntilDate),e.ImpactType,e.Category,e.UserDefinedCategory],3200245327:e=>[e.Location,e.ItemReference,e.Name],2242383968:e=>[e.Location,e.ItemReference,e.Name],1040185647:e=>[e.Location,e.ItemReference,e.Name],3207319532:e=>[e.Location,e.ItemReference,e.Name],3548104201:e=>[e.Location,e.ItemReference,e.Name],852622518:e=>[e.AxisTag,e.AxisCurve,{type:3,value:e.SameSense.value}],3020489413:e=>[Ge(e.TimeStamp),e.ListValues.map(t=>Ge(t))],2655187982:e=>[e.Name,e.Version,e.Publisher,e.VersionDate,e.LibraryReference],3452421091:e=>[e.Location,e.ItemReference,e.Name],4162380809:e=>[e.MainPlaneAngle,e.SecondaryPlaneAngle,e.LuminousIntensity],1566485204:e=>[e.LightDistributionCurve,e.DistributionData],30780891:e=>[e.HourComponent,e.MinuteComponent,e.SecondComponent,e.Zone,e.DaylightSavingOffset],1838606355:e=>[e.Name],1847130766:e=>[Ge(e.MaterialClassifications),e.ClassifiedMaterial],248100487:e=>[e.Material,e.LayerThickness,e.IsVentilated==null?null:{type:3,value:e.IsVentilated.value}],3303938423:e=>[e.MaterialLayers,e.LayerSetName],1303795690:e=>[e.ForLayerSet,e.LayerSetDirection,e.DirectionSense,e.OffsetFromReferenceLine],2199411900:e=>[e.Materials],3265635763:e=>[e.Material],2597039031:e=>[Ge(e.ValueComponent),Ge(e.UnitComponent)],4256014907:e=>[e.Material,e.DynamicViscosity,e.YoungModulus,e.ShearModulus,e.PoissonRatio,e.ThermalExpansionCoefficient],677618848:e=>[e.Material,e.DynamicViscosity,e.YoungModulus,e.ShearModulus,e.PoissonRatio,e.ThermalExpansionCoefficient,e.YieldStress,e.UltimateStress,e.UltimateStrain,e.HardeningModule,e.ProportionalStress,e.PlasticStrain,e.Relaxations],3368373690:e=>[e.Name,e.Description,e.ConstraintGrade,e.ConstraintSource,Ge(e.CreatingActor),Ge(e.CreationTime),e.UserDefinedGrade,e.Benchmark,e.ValueSource,Ge(e.DataValue)],2706619895:e=>[e.Currency],1918398963:e=>[e.Dimensions,e.UnitType],3701648758:e=>[],2251480897:e=>[e.Name,e.Description,e.ConstraintGrade,e.ConstraintSource,Ge(e.CreatingActor),Ge(e.CreationTime),e.UserDefinedGrade,e.BenchmarkValues,e.ResultValues,e.ObjectiveQualifier,e.UserDefinedQualifier],1227763645:e=>[e.Material,e.VisibleTransmittance,e.SolarTransmittance,e.ThermalIrTransmittance,e.ThermalIrEmissivityBack,e.ThermalIrEmissivityFront,e.VisibleReflectanceBack,e.VisibleReflectanceFront,e.SolarReflectanceFront,e.SolarReflectanceBack],4251960020:e=>[e.Id,e.Name,e.Description,e.Roles,e.Addresses],1411181986:e=>[e.Name,e.Description,e.RelatingOrganization,e.RelatedOrganizations],1207048766:e=>[e.OwningUser,e.OwningApplication,e.State,e.ChangeAction,e.LastModifiedDate,e.LastModifyingUser,e.LastModifyingApplication,e.CreationDate],2077209135:e=>[e.Id,e.FamilyName,e.GivenName,e.MiddleNames,e.PrefixTitles,e.SuffixTitles,e.Roles,e.Addresses],101040310:e=>[e.ThePerson,e.TheOrganization,e.Roles],2483315170:e=>[e.Name,e.Description],2226359599:e=>[e.Name,e.Description,e.Unit],3355820592:e=>[e.Purpose,e.Description,e.UserDefinedPurpose,e.InternalLocation,e.AddressLines,e.PostalBox,e.Town,e.Region,e.PostalCode,e.Country],3727388367:e=>[e.Name],990879717:e=>[e.Name],3213052703:e=>[e.Name],1775413392:e=>[e.Name],2022622350:e=>[e.Name,e.Description,Ge(e.AssignedItems),e.Identifier],1304840413:e=>[e.Name,e.Description,Ge(e.AssignedItems),e.Identifier,e.LayerOn,e.LayerFrozen,e.LayerBlocked,Ge(e.LayerStyles)],3119450353:e=>[e.Name],2417041796:e=>[Ge(e.Styles)],2095639259:e=>[e.Name,e.Description,e.Representations],2267347899:e=>[e.Material,e.SpecificHeatCapacity,e.N20Content,e.COContent,e.CO2Content],3958567839:e=>[e.ProfileType,e.ProfileName],2802850158:e=>[e.ProfileName,e.ProfileDefinition],2598011224:e=>[e.Name,e.Description],3896028662:e=>[e.RelatingConstraint,e.RelatedProperties,e.Name,e.Description],148025276:e=>[e.DependingProperty,e.DependantProperty,e.Name,e.Description,e.Expression],3710013099:e=>[e.Name,e.EnumerationValues.map(t=>Ge(t)),Ge(e.Unit)],2044713172:e=>[e.Name,e.Description,e.Unit,e.AreaValue],2093928680:e=>[e.Name,e.Description,e.Unit,e.CountValue],931644368:e=>[e.Name,e.Description,e.Unit,e.LengthValue],3252649465:e=>[e.Name,e.Description,e.Unit,e.TimeValue],2405470396:e=>[e.Name,e.Description,e.Unit,e.VolumeValue],825690147:e=>[e.Name,e.Description,e.Unit,e.WeightValue],2692823254:e=>[Ge(e.ReferencedDocument),e.ReferencingValues,e.Name,e.Description],1580146022:e=>[e.TotalCrossSectionArea,e.SteelGrade,e.BarSurface,e.EffectiveDepth,e.NominalBarDiameter,e.BarCount],1222501353:e=>[e.RelaxationValue,e.InitialStress],1076942058:e=>[e.ContextOfItems,e.RepresentationIdentifier,e.RepresentationType,e.Items],3377609919:e=>[e.ContextIdentifier,e.ContextType],3008791417:e=>[],1660063152:e=>[Ge(e.MappingOrigin),e.MappedRepresentation],3679540991:e=>[e.ProfileName,e.ProfileDefinition,e.Thickness,e.RibHeight,e.RibWidth,e.RibSpacing,e.Direction],2341007311:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description],448429030:e=>[void 0,e.UnitType,e.Prefix,e.Name],2042790032:e=>[e.SectionType,e.StartProfile,e.EndProfile],4165799628:e=>[e.LongitudinalStartPosition,e.LongitudinalEndPosition,e.TransversePosition,e.ReinforcementRole,e.SectionDefinition,e.CrossSectionReinforcementDefinitions],867548509:e=>[e.ShapeRepresentations,e.Name,e.Description,e.ProductDefinitional,e.PartOfProductDefinitionShape],3982875396:e=>[e.ContextOfItems,e.RepresentationIdentifier,e.RepresentationType,e.Items],4240577450:e=>[e.ContextOfItems,e.RepresentationIdentifier,e.RepresentationType,e.Items],3692461612:e=>[e.Name,e.Description],2273995522:e=>[e.Name],2162789131:e=>[e.Name],2525727697:e=>[e.Name],3408363356:e=>[e.Name,e.DeltaT_Constant,e.DeltaT_Y,e.DeltaT_Z],2830218821:e=>[e.ContextOfItems,e.RepresentationIdentifier,e.RepresentationType,e.Items],3958052878:e=>[e.Item,e.Styles,e.Name],3049322572:e=>[e.ContextOfItems,e.RepresentationIdentifier,e.RepresentationType,e.Items],1300840506:e=>[e.Name,e.Side,Ge(e.Styles)],3303107099:e=>[e.DiffuseTransmissionColour,e.DiffuseReflectionColour,e.TransmissionColour,e.ReflectanceColour],1607154358:e=>[e.RefractionIndex,e.DispersionFactor],846575682:e=>[e.SurfaceColour],1351298697:e=>[e.Textures],626085974:e=>[e.RepeatS,e.RepeatT,e.TextureType,e.TextureTransform],1290481447:e=>[e.Name,Ge(e.StyleOfSymbol)],985171141:e=>[e.Name,e.Rows],531007025:e=>[e.RowCells.map(t=>Ge(t)),e.IsHeading],912023232:e=>[e.Purpose,e.Description,e.UserDefinedPurpose,e.TelephoneNumbers,e.FacsimileNumbers,e.PagerNumber,e.ElectronicMailAddresses,e.WWWHomePageURL],1447204868:e=>[e.Name,Ge(e.TextCharacterAppearance),Ge(e.TextStyle),Ge(e.TextFontStyle)],1983826977:e=>[e.Name,e.FontFamily,e.FontStyle,e.FontVariant,e.FontWeight,Ge(e.FontSize)],2636378356:e=>[Ge(e.Colour),Ge(e.BackgroundColour)],1640371178:e=>[(e.TextIndent??void 0)===void 0?null:Ge(e.TextIndent),e.TextAlign,e.TextDecoration,(e.LetterSpacing??void 0)===void 0?null:Ge(e.LetterSpacing),(e.WordSpacing??void 0)===void 0?null:Ge(e.WordSpacing),e.TextTransform,(e.LineHeight??void 0)===void 0?null:Ge(e.LineHeight)],1484833681:e=>[e.BoxHeight,e.BoxWidth,e.BoxSlantAngle,e.BoxRotateAngle,(e.CharacterSpacing??void 0)===void 0?null:Ge(e.CharacterSpacing)],280115917:e=>[],1742049831:e=>[e.Mode,e.Parameter.map(t=>Ge(t))],2552916305:e=>[e.TextureMaps],1210645708:e=>[e.Coordinates],3317419933:e=>[e.Material,e.SpecificHeatCapacity,e.BoilingPoint,e.FreezingPoint,e.ThermalConductivity],3101149627:e=>[e.Name,e.Description,Ge(e.StartTime),Ge(e.EndTime),e.TimeSeriesDataType,e.DataOrigin,e.UserDefinedDataOrigin,Ge(e.Unit)],1718945513:e=>[e.ReferencedTimeSeries,Ge(e.TimeSeriesReferences)],581633288:e=>[e.ListValues.map(t=>Ge(t))],1377556343:e=>[],1735638870:e=>[e.ContextOfItems,e.RepresentationIdentifier,e.RepresentationType,e.Items],180925521:e=>[Ge(e.Units)],2799835756:e=>[],3304826586:e=>[e.TextureVertices,e.TexturePoints],1907098498:e=>[e.VertexGeometry],891718957:e=>[e.IntersectingAxes,e.OffsetDistances],1065908215:e=>[e.Material,e.IsPotable,e.Hardness,e.AlkalinityConcentration,e.AcidityConcentration,e.ImpuritiesContent,e.PHLevel,e.DissolvedSolidsContent],2442683028:e=>[e.Item,e.Styles,e.Name],962685235:e=>[e.Item,e.Styles,e.Name],3612888222:e=>[e.Item,e.Styles,e.Name],2297822566:e=>[e.Item,e.Styles,e.Name],3798115385:e=>[e.ProfileType,e.ProfileName,e.OuterCurve],1310608509:e=>[e.ProfileType,e.ProfileName,e.Curve],2705031697:e=>[e.ProfileType,e.ProfileName,e.OuterCurve,e.InnerCurves],616511568:e=>[e.RepeatS,e.RepeatT,e.TextureType,e.TextureTransform,e.RasterFormat,e.RasterCode],3150382593:e=>[e.ProfileType,e.ProfileName,e.Curve,e.Thickness],647927063:e=>[e.Location,e.ItemReference,e.Name,e.ReferencedSource],776857604:e=>[e.Name,e.Red,e.Green,e.Blue],2542286263:e=>[e.Name,e.Description,e.UsageName,e.HasProperties],1485152156:e=>[e.ProfileType,e.ProfileName,e.Profiles,e.Label],370225590:e=>[e.CfsFaces],1981873012:e=>[Ge(e.CurveOnRelatingElement),Ge(e.CurveOnRelatedElement)],45288368:e=>[Ge(e.PointOnRelatingElement),Ge(e.PointOnRelatedElement),e.EccentricityInX,e.EccentricityInY,e.EccentricityInZ],3050246964:e=>[e.Dimensions,e.UnitType,e.Name],2889183280:e=>[e.Dimensions,e.UnitType,e.Name,e.ConversionFactor],3800577675:e=>[e.Name,Ge(e.CurveFont),(e.CurveWidth??void 0)===void 0?null:Ge(e.CurveWidth),Ge(e.CurveColour)],3632507154:e=>[e.ProfileType,e.ProfileName,e.ParentProfile,e.Operator,e.Label],2273265877:e=>[e.Name,e.Description,e.RelatingDraughtingCallout,e.RelatedDraughtingCallout],1694125774:e=>[e.Name,e.Description,e.RelatingDraughtingCallout,e.RelatedDraughtingCallout],3732053477:e=>[e.Location,e.ItemReference,e.Name],4170525392:e=>[e.Name],3900360178:e=>[e.EdgeStart,e.EdgeEnd],476780140:e=>[e.EdgeStart,e.EdgeEnd,e.EdgeGeometry,e.SameSense],1860660968:e=>[e.Material,e.ExtendedProperties,e.Description,e.Name],2556980723:e=>[e.Bounds],1809719519:e=>[e.Bound,e.Orientation],803316827:e=>[e.Bound,e.Orientation],3008276851:e=>[e.Bounds,e.FaceSurface,e.SameSense],4219587988:e=>[e.Name,e.TensionFailureX,e.TensionFailureY,e.TensionFailureZ,e.CompressionFailureX,e.CompressionFailureY,e.CompressionFailureZ],738692330:e=>[e.Name,Ge(e.FillStyles)],3857492461:e=>[e.Material,e.CombustionTemperature,e.CarbonContent,e.LowerHeatingValue,e.HigherHeatingValue],803998398:e=>[e.Material,e.MolecularWeight,e.Porosity,e.MassDensity],1446786286:e=>[e.ProfileName,e.ProfileDefinition,e.PhysicalWeight,e.Perimeter,e.MinimumPlateThickness,e.MaximumPlateThickness,e.CrossSectionArea],3448662350:e=>[e.ContextIdentifier,e.ContextType,e.CoordinateSpaceDimension,e.Precision,Ge(e.WorldCoordinateSystem),e.TrueNorth],2453401579:e=>[],4142052618:e=>[e.ContextIdentifier,e.ContextType,void 0,void 0,void 0,void 0,e.ParentContext,e.TargetScale,e.TargetView,e.UserDefinedTargetView],3590301190:e=>[Ge(e.Elements)],178086475:e=>[e.PlacementLocation,e.PlacementRefDirection],812098782:e=>[e.BaseSurface,e.AgreementFlag],2445078500:e=>[e.Material,e.UpperVaporResistanceFactor,e.LowerVaporResistanceFactor,e.IsothermalMoistureCapacity,e.VaporPermeability,e.MoistureDiffusivity],3905492369:e=>[e.RepeatS,e.RepeatT,e.TextureType,e.TextureTransform,e.UrlReference],3741457305:e=>[e.Name,e.Description,Ge(e.StartTime),Ge(e.EndTime),e.TimeSeriesDataType,e.DataOrigin,e.UserDefinedDataOrigin,Ge(e.Unit),e.Values],1402838566:e=>[e.Name,e.LightColour,e.AmbientIntensity,e.Intensity],125510826:e=>[e.Name,e.LightColour,e.AmbientIntensity,e.Intensity],2604431987:e=>[e.Name,e.LightColour,e.AmbientIntensity,e.Intensity,e.Orientation],4266656042:e=>[e.Name,e.LightColour,e.AmbientIntensity,e.Intensity,e.Position,e.ColourAppearance,e.ColourTemperature,e.LuminousFlux,e.LightEmissionSource,Ge(e.LightDistributionDataSource)],1520743889:e=>[e.Name,e.LightColour,e.AmbientIntensity,e.Intensity,e.Position,e.Radius,e.ConstantAttenuation,e.DistanceAttenuation,e.QuadricAttenuation],3422422726:e=>[e.Name,e.LightColour,e.AmbientIntensity,e.Intensity,e.Position,e.Radius,e.ConstantAttenuation,e.DistanceAttenuation,e.QuadricAttenuation,e.Orientation,e.ConcentrationExponent,e.SpreadAngle,e.BeamWidthAngle],2624227202:e=>[e.PlacementRelTo,Ge(e.RelativePlacement)],1008929658:e=>[],2347385850:e=>[e.MappingSource,e.MappingTarget],2022407955:e=>[e.Name,e.Description,e.Representations,e.RepresentedMaterial],1430189142:e=>[e.Material,e.DynamicViscosity,e.YoungModulus,e.ShearModulus,e.PoissonRatio,e.ThermalExpansionCoefficient,e.CompressiveStrength,e.MaxAggregateSize,e.AdmixturesDescription,e.Workability,e.ProtectivePoreRatio,e.WaterImpermeability],219451334:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description],2833995503:e=>[e.RepeatFactor],2665983363:e=>[e.CfsFaces],1029017970:e=>[void 0,void 0,e.EdgeElement,e.Orientation],2529465313:e=>[e.ProfileType,e.ProfileName,e.Position],2519244187:e=>[e.EdgeList],3021840470:e=>[e.Name,e.Description,e.HasQuantities,e.Discrimination,e.Quality,e.Usage],597895409:e=>[e.RepeatS,e.RepeatT,e.TextureType,e.TextureTransform,e.Width,e.Height,e.ColourComponents,e.Pixel],2004835150:e=>[e.Location],1663979128:e=>[e.SizeInX,e.SizeInY],2067069095:e=>[],4022376103:e=>[e.BasisCurve,e.PointParameter],1423911732:e=>[e.BasisSurface,e.PointParameterU,e.PointParameterV],2924175390:e=>[e.Polygon],2775532180:e=>[e.BaseSurface,e.AgreementFlag,e.Position,e.PolygonalBoundary],759155922:e=>[e.Name],2559016684:e=>[e.Name],433424934:e=>[e.Name],179317114:e=>[e.Name],673634403:e=>[e.Name,e.Description,e.Representations],871118103:e=>[e.Name,e.Description,(e.UpperBoundValue??void 0)===void 0?null:Ge(e.UpperBoundValue),(e.LowerBoundValue??void 0)===void 0?null:Ge(e.LowerBoundValue),Ge(e.Unit)],1680319473:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description],4166981789:e=>[e.Name,e.Description,e.EnumerationValues.map(t=>Ge(t)),e.EnumerationReference],2752243245:e=>[e.Name,e.Description,e.ListValues.map(t=>Ge(t)),Ge(e.Unit)],941946838:e=>[e.Name,e.Description,e.UsageName,Ge(e.PropertyReference)],3357820518:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description],3650150729:e=>[e.Name,e.Description,(e.NominalValue??void 0)===void 0?null:Ge(e.NominalValue),Ge(e.Unit)],110355661:e=>[e.Name,e.Description,e.DefiningValues.map(t=>Ge(t)),e.DefinedValues.map(t=>Ge(t)),e.Expression,Ge(e.DefiningUnit),Ge(e.DefinedUnit)],3615266464:e=>[e.ProfileType,e.ProfileName,e.Position,e.XDim,e.YDim],3413951693:e=>[e.Name,e.Description,Ge(e.StartTime),Ge(e.EndTime),e.TimeSeriesDataType,e.DataOrigin,e.UserDefinedDataOrigin,Ge(e.Unit),e.TimeStep,e.Values],3765753017:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.DefinitionType,e.ReinforcementSectionDefinitions],478536968:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description],2778083089:e=>[e.ProfileType,e.ProfileName,e.Position,e.XDim,e.YDim,e.RoundingRadius],1509187699:e=>[e.SpineCurve,e.CrossSections,e.CrossSectionPositions],2411513650:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.PredefinedType,(e.UpperValue??void 0)===void 0?null:Ge(e.UpperValue),Ge(e.MostUsedValue),(e.LowerValue??void 0)===void 0?null:Ge(e.LowerValue)],4124623270:e=>[Ge(e.SbsmBoundary)],2609359061:e=>[e.Name,e.SlippageX,e.SlippageY,e.SlippageZ],723233188:e=>[],2485662743:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,{type:3,value:e.IsAttenuating.value},e.SoundScale,e.SoundValues],1202362311:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.SoundLevelTimeSeries,e.Frequency,(e.SoundLevelSingleValue??void 0)===void 0?null:Ge(e.SoundLevelSingleValue)],390701378:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableValueRatio,e.ThermalLoadSource,e.PropertySource,e.SourceDescription,e.MaximumValue,e.MinimumValue,e.ThermalLoadTimeSeriesValues,e.UserDefinedThermalLoadSource,e.UserDefinedPropertySource,e.ThermalLoadType],1595516126:e=>[e.Name,e.LinearForceX,e.LinearForceY,e.LinearForceZ,e.LinearMomentX,e.LinearMomentY,e.LinearMomentZ],2668620305:e=>[e.Name,e.PlanarForceX,e.PlanarForceY,e.PlanarForceZ],2473145415:e=>[e.Name,e.DisplacementX,e.DisplacementY,e.DisplacementZ,e.RotationalDisplacementRX,e.RotationalDisplacementRY,e.RotationalDisplacementRZ],1973038258:e=>[e.Name,e.DisplacementX,e.DisplacementY,e.DisplacementZ,e.RotationalDisplacementRX,e.RotationalDisplacementRY,e.RotationalDisplacementRZ,e.Distortion],1597423693:e=>[e.Name,e.ForceX,e.ForceY,e.ForceZ,e.MomentX,e.MomentY,e.MomentZ],1190533807:e=>[e.Name,e.ForceX,e.ForceY,e.ForceZ,e.MomentX,e.MomentY,e.MomentZ,e.WarpingMoment],3843319758:e=>[e.ProfileName,e.ProfileDefinition,e.PhysicalWeight,e.Perimeter,e.MinimumPlateThickness,e.MaximumPlateThickness,e.CrossSectionArea,e.TorsionalConstantX,e.MomentOfInertiaYZ,e.MomentOfInertiaY,e.MomentOfInertiaZ,e.WarpingConstant,e.ShearCentreZ,e.ShearCentreY,e.ShearDeformationAreaZ,e.ShearDeformationAreaY,e.MaximumSectionModulusY,e.MinimumSectionModulusY,e.MaximumSectionModulusZ,e.MinimumSectionModulusZ,e.TorsionalSectionModulus,e.CentreOfGravityInX,e.CentreOfGravityInY],3653947884:e=>[e.ProfileName,e.ProfileDefinition,e.PhysicalWeight,e.Perimeter,e.MinimumPlateThickness,e.MaximumPlateThickness,e.CrossSectionArea,e.TorsionalConstantX,e.MomentOfInertiaYZ,e.MomentOfInertiaY,e.MomentOfInertiaZ,e.WarpingConstant,e.ShearCentreZ,e.ShearCentreY,e.ShearDeformationAreaZ,e.ShearDeformationAreaY,e.MaximumSectionModulusY,e.MinimumSectionModulusY,e.MaximumSectionModulusZ,e.MinimumSectionModulusZ,e.TorsionalSectionModulus,e.CentreOfGravityInX,e.CentreOfGravityInY,e.ShearAreaZ,e.ShearAreaY,e.PlasticShapeFactorY,e.PlasticShapeFactorZ],2233826070:e=>[e.EdgeStart,e.EdgeEnd,e.ParentEdge],2513912981:e=>[],1878645084:e=>[e.SurfaceColour,e.Transparency,Ge(e.DiffuseColour),Ge(e.TransmissionColour),Ge(e.DiffuseTransmissionColour),Ge(e.ReflectionColour),Ge(e.SpecularColour),(e.SpecularHighlight??void 0)===void 0?null:Ge(e.SpecularHighlight),e.ReflectanceMethod],2247615214:e=>[e.SweptArea,e.Position],1260650574:e=>[e.Directrix,e.Radius,e.InnerRadius,e.StartParam,e.EndParam],230924584:e=>[e.SweptCurve,e.Position],3071757647:e=>[e.ProfileType,e.ProfileName,e.Position,e.Depth,e.FlangeWidth,e.WebThickness,e.FlangeThickness,e.FilletRadius,e.FlangeEdgeRadius,e.WebEdgeRadius,e.WebSlope,e.FlangeSlope,e.CentreOfGravityInY],3028897424:e=>[e.Item,e.Styles,e.Name,e.AnnotatedCurve],4282788508:e=>[e.Literal,Ge(e.Placement),e.Path],3124975700:e=>[e.Literal,Ge(e.Placement),e.Path,e.Extent,e.BoxAlignment],2715220739:e=>[e.ProfileType,e.ProfileName,e.Position,e.BottomXDim,e.TopXDim,e.YDim,e.TopXOffset],1345879162:e=>[e.RepeatFactor,e.SecondRepeatFactor],1628702193:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets],2347495698:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag],427810014:e=>[e.ProfileType,e.ProfileName,e.Position,e.Depth,e.FlangeWidth,e.WebThickness,e.FlangeThickness,e.FilletRadius,e.EdgeRadius,e.FlangeSlope,e.CentreOfGravityInX],1417489154:e=>[e.Orientation,e.Magnitude],2759199220:e=>[e.LoopVertex],336235671:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.LiningDepth,e.LiningThickness,e.TransomThickness,e.MullionThickness,e.FirstTransomOffset,e.SecondTransomOffset,e.FirstMullionOffset,e.SecondMullionOffset,e.ShapeAspectStyle],512836454:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.OperationType,e.PanelPosition,e.FrameDepth,e.FrameThickness,e.ShapeAspectStyle],1299126871:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ConstructionType,e.OperationType,e.ParameterTakesPrecedence,e.Sizeable],2543172580:e=>[e.ProfileType,e.ProfileName,e.Position,e.Depth,e.FlangeWidth,e.WebThickness,e.FlangeThickness,e.FilletRadius,e.EdgeRadius],3288037868:e=>[e.Item,e.Styles,e.Name],669184980:e=>[e.OuterBoundary,e.InnerBoundaries],2265737646:e=>[e.Item,e.Styles,e.Name,e.FillStyleTarget,e.GlobalOrLocal],1302238472:e=>[e.Item,e.TextureCoordinates],4261334040:e=>[e.Location,e.Axis],3125803723:e=>[e.Location,e.RefDirection],2740243338:e=>[e.Location,e.Axis,e.RefDirection],2736907675:e=>[e.Operator,Ge(e.FirstOperand),Ge(e.SecondOperand)],4182860854:e=>[],2581212453:e=>[e.Corner,e.XDim,e.YDim,e.ZDim],2713105998:e=>[e.BaseSurface,e.AgreementFlag,e.Enclosure],2898889636:e=>[e.ProfileType,e.ProfileName,e.Position,e.Depth,e.Width,e.WallThickness,e.Girth,e.InternalFilletRadius,e.CentreOfGravityInX],1123145078:e=>[e.Coordinates],59481748:e=>[e.Axis1,e.Axis2,e.LocalOrigin,e.Scale],3749851601:e=>[e.Axis1,e.Axis2,e.LocalOrigin,e.Scale],3486308946:e=>[e.Axis1,e.Axis2,e.LocalOrigin,e.Scale,e.Scale2],3331915920:e=>[e.Axis1,e.Axis2,e.LocalOrigin,e.Scale,e.Axis3],1416205885:e=>[e.Axis1,e.Axis2,e.LocalOrigin,e.Scale,e.Axis3,e.Scale2,e.Scale3],1383045692:e=>[e.ProfileType,e.ProfileName,e.Position,e.Radius],2205249479:e=>[e.CfsFaces],2485617015:e=>[e.Transition,e.SameSense,e.ParentCurve],4133800736:e=>[e.ProfileType,e.ProfileName,e.Position,e.OverallHeight,e.BaseWidth2,e.Radius,e.HeadWidth,e.HeadDepth2,e.HeadDepth3,e.WebThickness,e.BaseWidth4,e.BaseDepth1,e.BaseDepth2,e.BaseDepth3,e.CentreOfGravityInY],194851669:e=>[e.ProfileType,e.ProfileName,e.Position,e.OverallHeight,e.HeadWidth,e.Radius,e.HeadDepth2,e.HeadDepth3,e.WebThickness,e.BaseDepth1,e.BaseDepth2,e.CentreOfGravityInY],2506170314:e=>[e.Position],2147822146:e=>[Ge(e.TreeRootExpression)],2601014836:e=>[],2827736869:e=>[e.BasisSurface,e.OuterBoundary,e.InnerBoundaries],693772133:e=>[Ge(e.Definition),e.Target],606661476:e=>[e.Item,e.Styles,e.Name],4054601972:e=>[e.Item,e.Styles,e.Name,e.AnnotatedCurve,e.Role],32440307:e=>[e.DirectionRatios],2963535650:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.LiningDepth,e.LiningThickness,e.ThresholdDepth,e.ThresholdThickness,e.TransomThickness,e.TransomOffset,e.LiningOffset,e.ThresholdOffset,e.CasingThickness,e.CasingDepth,e.ShapeAspectStyle],1714330368:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.PanelDepth,e.PanelOperation,e.PanelWidth,e.PanelPosition,e.ShapeAspectStyle],526551008:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.OperationType,e.ConstructionType,e.ParameterTakesPrecedence,e.Sizeable],3073041342:e=>[Ge(e.Contents)],445594917:e=>[e.Name],4006246654:e=>[e.Name],1472233963:e=>[e.EdgeList],1883228015:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.MethodOfMeasurement,e.Quantities],339256511:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType],2777663545:e=>[e.Position],2835456948:e=>[e.ProfileType,e.ProfileName,e.Position,e.SemiAxis1,e.SemiAxis2],80994333:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.EnergySequence,e.UserDefinedEnergySequence],477187591:e=>[e.SweptArea,e.Position,e.ExtrudedDirection,e.Depth],2047409740:e=>[e.FbsmFaces],374418227:e=>[e.HatchLineAppearance,Ge(e.StartOfNextHatchLine),e.PointOfReferenceHatchLine,e.PatternStart,e.HatchLineAngle],4203026998:e=>[e.Symbol],315944413:e=>[e.TilingPattern,Ge(e.Tiles),e.TilingScale],3455213021:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.PropertySource,e.FlowConditionTimeSeries,e.VelocityTimeSeries,e.FlowrateTimeSeries,e.Fluid,e.PressureTimeSeries,e.UserDefinedPropertySource,e.TemperatureSingleValue,e.WetBulbTemperatureSingleValue,e.WetBulbTemperatureTimeSeries,e.TemperatureTimeSeries,(e.FlowrateSingleValue??void 0)===void 0?null:Ge(e.FlowrateSingleValue),e.FlowConditionSingleValue,e.VelocitySingleValue,e.PressureSingleValue],4238390223:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType],1268542332:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.AssemblyPlace],987898635:e=>[Ge(e.Elements)],1484403080:e=>[e.ProfileType,e.ProfileName,e.Position,e.OverallWidth,e.OverallDepth,e.WebThickness,e.FlangeThickness,e.FilletRadius],572779678:e=>[e.ProfileType,e.ProfileName,e.Position,e.Depth,e.Width,e.Thickness,e.FilletRadius,e.EdgeRadius,e.LegSlope,e.CentreOfGravityInX,e.CentreOfGravityInY],1281925730:e=>[e.Pnt,e.Dir],1425443689:e=>[e.Outer],3888040117:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType],3388369263:e=>[e.BasisCurve,e.Distance,e.SelfIntersect],3505215534:e=>[e.BasisCurve,e.Distance,e.SelfIntersect,e.RefDirection],3566463478:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.OperationType,e.PanelPosition,e.FrameDepth,e.FrameThickness,e.ShapeAspectStyle],603570806:e=>[e.SizeInX,e.SizeInY,Ge(e.Placement)],220341763:e=>[e.Position],2945172077:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType],4208778838:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation],103090709:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.LongName,e.Phase,e.RepresentationContexts,e.UnitsInContext],4194566429:e=>[e.Item,e.Styles,e.Name],1451395588:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.HasProperties],3219374653:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.ProxyType,e.Tag],2770003689:e=>[e.ProfileType,e.ProfileName,e.Position,e.XDim,e.YDim,e.WallThickness,e.InnerFilletRadius,e.OuterFilletRadius],2798486643:e=>[e.Position,e.XLength,e.YLength,e.Height],3454111270:e=>[e.BasisSurface,e.U1,e.V1,e.U2,e.V2,e.Usense,e.Vsense],3939117080:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatedObjects,e.RelatedObjectsType],1683148259:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatedObjects,e.RelatedObjectsType,e.RelatingActor,e.ActingRole],2495723537:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatedObjects,e.RelatedObjectsType,e.RelatingControl],1307041759:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatedObjects,e.RelatedObjectsType,e.RelatingGroup],4278684876:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatedObjects,e.RelatedObjectsType,e.RelatingProcess,e.QuantityInProcess],2857406711:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatedObjects,e.RelatedObjectsType,e.RelatingProduct],3372526763:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatedObjects,e.RelatedObjectsType,e.RelatingControl],205026976:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatedObjects,e.RelatedObjectsType,e.RelatingResource],1865459582:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatedObjects],1327628568:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatedObjects,e.RelatingAppliedValue],4095574036:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatedObjects,e.RelatingApproval],919958153:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatedObjects,Ge(e.RelatingClassification)],2728634034:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatedObjects,e.Intent,e.RelatingConstraint],982818633:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatedObjects,Ge(e.RelatingDocument)],3840914261:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatedObjects,Ge(e.RelatingLibrary)],2655215786:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatedObjects,Ge(e.RelatingMaterial)],2851387026:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatedObjects,e.RelatingProfileProperties,e.ProfileSectionLocation,Ge(e.ProfileOrientation)],826625072:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description],1204542856:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ConnectionGeometry,e.RelatingElement,e.RelatedElement],3945020480:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ConnectionGeometry,e.RelatingElement,e.RelatedElement,e.RelatingPriorities,e.RelatedPriorities,e.RelatedConnectionType,e.RelatingConnectionType],4201705270:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatingPort,e.RelatedElement],3190031847:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatingPort,e.RelatedPort,e.RealizingElement],2127690289:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,Ge(e.RelatingElement),e.RelatedStructuralActivity],3912681535:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatingElement,e.RelatedStructuralMember],1638771189:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatingStructuralMember,e.RelatedStructuralConnection,e.AppliedCondition,e.AdditionalConditions,e.SupportedLength,e.ConditionCoordinateSystem],504942748:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatingStructuralMember,e.RelatedStructuralConnection,e.AppliedCondition,e.AdditionalConditions,e.SupportedLength,e.ConditionCoordinateSystem,e.ConnectionConstraint],3678494232:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ConnectionGeometry,e.RelatingElement,e.RelatedElement,e.RealizingElements,e.ConnectionType],3242617779:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatedElements,e.RelatingStructure],886880790:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatingBuildingElement,e.RelatedCoverings],2802773753:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatedSpace,e.RelatedCoverings],2551354335:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatingObject,e.RelatedObjects],693640335:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatedObjects],4186316022:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatedObjects,e.RelatingPropertyDefinition],781010003:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatedObjects,e.RelatingType],3940055652:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatingOpeningElement,e.RelatedBuildingElement],279856033:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatedControlElements,e.RelatingFlowElement],4189434867:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.DailyInteraction,e.ImportanceRating,e.LocationOfInteraction,e.RelatedSpaceProgram,e.RelatingSpaceProgram],3268803585:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatingObject,e.RelatedObjects],2051452291:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatedObjects,e.RelatedObjectsType,e.RelatingActor,e.ActingRole],202636808:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatedObjects,e.RelatingPropertyDefinition,e.OverridingProperties],750771296:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatingElement,e.RelatedFeatureElement],1245217292:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatedElements,e.RelatingStructure],1058617721:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatedObjects,e.RelatedObjectsType,e.RelatingControl],4122056220:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatingProcess,e.RelatedProcess,e.TimeLag,e.SequenceType],366585022:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatingSystem,e.RelatedBuildings],3451746338:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatingSpace,e.RelatedBuildingElement,e.ConnectionGeometry,e.PhysicalOrVirtualBoundary,e.InternalOrExternalBoundary],1401173127:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatingBuildingElement,e.RelatedOpeningElement],2914609552:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType],1856042241:e=>[e.SweptArea,e.Position,e.Axis,e.Angle],4158566097:e=>[e.Position,e.Height,e.BottomRadius],3626867408:e=>[e.Position,e.Height,e.Radius],2706606064:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.LongName,e.CompositionType],3893378262:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType],451544542:e=>[e.Position,e.Radius],3544373492:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.AppliedLoad,e.GlobalOrLocal],3136571912:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation],530289379:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation],3689010777:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.AppliedLoad,e.GlobalOrLocal],3979015343:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.PredefinedType,e.Thickness],2218152070:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.PredefinedType,e.Thickness,e.SubsequentThickness,e.VaryingThicknessLocation],4070609034:e=>[Ge(e.Contents)],2028607225:e=>[e.SweptArea,e.Position,e.Directrix,e.StartParam,e.EndParam,e.ReferenceSurface],2809605785:e=>[e.SweptCurve,e.Position,e.ExtrudedDirection,e.Depth],4124788165:e=>[e.SweptCurve,e.Position,e.AxisPosition],1580310250:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType],3473067441:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.TaskId,e.Status,e.WorkMethod,e.IsMilestone,e.Priority],2097647324:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],2296667514:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,Ge(e.TheActor)],1674181508:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation],3207858831:e=>[e.ProfileType,e.ProfileName,e.Position,e.OverallWidth,e.OverallDepth,e.WebThickness,e.FlangeThickness,e.FilletRadius,e.TopFlangeWidth,e.TopFlangeThickness,e.TopFlangeFilletRadius,e.CentreOfGravityInY],1334484129:e=>[e.Position,e.XLength,e.YLength,e.ZLength],3649129432:e=>[e.Operator,Ge(e.FirstOperand),Ge(e.SecondOperand)],1260505505:e=>[],4031249490:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.LongName,e.CompositionType,e.ElevationOfRefHeight,e.ElevationOfTerrain,e.BuildingAddress],1950629157:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType],3124254112:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.LongName,e.CompositionType,e.Elevation],2937912522:e=>[e.ProfileType,e.ProfileName,e.Position,e.Radius,e.WallThickness],300633059:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],3732776249:e=>[e.Segments,e.SelfIntersect],2510884976:e=>[Ge(e.Position)],2559216714:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ResourceIdentifier,e.ResourceGroup,e.ResourceConsumption,e.BaseQuantity],3293443760:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType],3895139033:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType],1419761937:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,Ge(e.SubmittedBy),Ge(e.PreparedBy),Ge(e.SubmittedOn),e.Status,Ge(e.TargetUsers),Ge(e.UpdateDate),e.ID,e.PredefinedType],1916426348:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],3295246426:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ResourceIdentifier,e.ResourceGroup,e.ResourceConsumption,e.BaseQuantity],1457835157:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],681481545:e=>[Ge(e.Contents)],3256556792:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType],3849074793:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType],360485395:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.EnergySequence,e.UserDefinedEnergySequence,e.ElectricCurrentType,e.InputVoltage,e.InputFrequency,e.FullLoadCurrent,e.MinimumCircuitCurrent,e.MaximumPowerInput,e.RatedPowerInput,e.InputPhase],1758889154:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],4123344466:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.AssemblyPlace,e.PredefinedType],1623761950:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],2590856083:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType],1704287377:e=>[Ge(e.Position),e.SemiAxis1,e.SemiAxis2],2107101300:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType],1962604670:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],3272907226:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType],3174744832:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],3390157468:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],807026263:e=>[e.Outer],3737207727:e=>[e.Outer,e.Voids],647756555:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],2489546625:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType],2827207264:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],2143335405:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],1287392070:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],3907093117:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType],3198132628:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType],3815607619:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1482959167:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType],1834744321:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType],1339347760:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType],2297155007:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType],3009222698:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType],263784265:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],814719939:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType],200128114:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],3009204131:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.UAxes,e.VAxes,e.WAxes],2706460486:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType],1251058090:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1806887404:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],2391368822:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.InventoryType,Ge(e.Jurisdiction),e.ResponsiblePersons,e.LastUpdateDate,e.CurrentValue,e.OriginalValue],4288270099:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],3827777499:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ResourceIdentifier,e.ResourceGroup,e.ResourceConsumption,e.BaseQuantity,e.SkillSet],1051575348:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1161773419:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],2506943328:e=>[Ge(e.Contents)],377706215:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.NominalDiameter,e.NominalLength],2108223431:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType],3181161470:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],977012517:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1916936684:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.TaskId,e.Status,e.WorkMethod,e.IsMilestone,e.Priority,e.MoveFrom,e.MoveTo,e.PunchList],4143007308:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,Ge(e.TheActor),e.PredefinedType],3588315303:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],3425660407:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.TaskId,e.Status,e.WorkMethod,e.IsMilestone,e.Priority,e.ActionID],2837617999:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],2382730787:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.LifeCyclePhase],3327091369:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.PermitID],804291784:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],4231323485:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],4017108033:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],3724593414:e=>[e.Points],3740093272:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation],2744685151:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ProcedureID,e.ProcedureType,e.UserDefinedProcedureType],2904328755:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ID,e.PredefinedType,e.Status],3642467123:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.Records,e.PredefinedType],3651124850:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],1842657554:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],2250791053:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],3248260540:e=>[Ge(e.Contents)],2893384427:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],2324767716:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],160246688:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatingObject,e.RelatedObjects],2863920197:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatedObjects,e.RelatedObjectsType,e.RelatingControl,e.TimeForTask],1768891740:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],3517283431:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,Ge(e.ActualStart),Ge(e.EarlyStart),Ge(e.LateStart),Ge(e.ScheduleStart),Ge(e.ActualFinish),Ge(e.EarlyFinish),Ge(e.LateFinish),Ge(e.ScheduleFinish),e.ScheduleDuration,e.ActualDuration,e.RemainingTime,e.FreeFloat,e.TotalFloat,e.IsCritical,Ge(e.StatusTime),e.StartFloat,e.FinishFloat,e.Completion],4105383287:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ServiceLifeType,e.ServiceLifeDuration],4097777520:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.LongName,e.CompositionType,e.RefLatitude,e.RefLongitude,e.RefElevation,e.LandTitleNumber,e.SiteAddress],2533589738:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],3856911033:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.LongName,e.CompositionType,e.InteriorOrExteriorSpace,e.ElevationWithFlooring],1305183839:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],652456506:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.SpaceProgramIdentifier,e.MaxRequiredArea,e.MinRequiredArea,e.RequestedLocation,e.StandardRequiredArea],3812236995:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],3112655638:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1039846685:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],682877961:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.AppliedLoad,e.GlobalOrLocal,e.DestabilizingLoad,e.CausedBy],1179482911:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.AppliedCondition],4243806635:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.AppliedCondition],214636428:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.PredefinedType],2445595289:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.PredefinedType],1807405624:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.AppliedLoad,e.GlobalOrLocal,e.DestabilizingLoad,e.CausedBy,e.ProjectedOrTrue],1721250024:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.AppliedLoad,e.GlobalOrLocal,e.DestabilizingLoad,e.CausedBy,e.ProjectedOrTrue,e.VaryingAppliedLoadLocation,e.SubsequentAppliedLoads],1252848954:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.PredefinedType,e.ActionType,e.ActionSource,e.Coefficient,e.Purpose],1621171031:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.AppliedLoad,e.GlobalOrLocal,e.DestabilizingLoad,e.CausedBy,e.ProjectedOrTrue],3987759626:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.AppliedLoad,e.GlobalOrLocal,e.DestabilizingLoad,e.CausedBy,e.ProjectedOrTrue,e.VaryingAppliedLoadLocation,e.SubsequentAppliedLoads],2082059205:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.AppliedLoad,e.GlobalOrLocal,e.DestabilizingLoad,e.CausedBy],734778138:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.AppliedCondition],1235345126:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.AppliedLoad,e.GlobalOrLocal],2986769608:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.TheoryType,e.ResultForLoadGroup,e.IsLinear],1975003073:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.AppliedCondition],148013059:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ResourceIdentifier,e.ResourceGroup,e.ResourceConsumption,e.BaseQuantity,Ge(e.SubContractor),e.JobDescription],2315554128:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],2254336722:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType],5716631:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1637806684:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,Ge(e.ApplicableDates),e.TimeSeriesScheduleType,e.TimeSeries],1692211062:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1620046519:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.OperationType,e.CapacityByWeight,e.CapacityByNumber],3593883385:e=>[e.BasisCurve,Ge(e.Trim1),Ge(e.Trim2),e.SenseAgreement,e.MasterRepresentation],1600972822:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1911125066:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],728799441:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],2769231204:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],1898987631:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1133259667:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1028945134:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.Identifier,Ge(e.CreationDate),e.Creators,e.Purpose,e.Duration,e.TotalFloat,Ge(e.StartTime),Ge(e.FinishTime),e.WorkControlType,e.UserDefinedControlType],4218914973:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.Identifier,Ge(e.CreationDate),e.Creators,e.Purpose,e.Duration,e.TotalFloat,Ge(e.StartTime),Ge(e.FinishTime),e.WorkControlType,e.UserDefinedControlType],3342526732:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.Identifier,Ge(e.CreationDate),e.Creators,e.Purpose,e.Duration,e.TotalFloat,Ge(e.StartTime),Ge(e.FinishTime),e.WorkControlType,e.UserDefinedControlType],1033361043:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType],1213861670:e=>[e.Segments,e.SelfIntersect],3821786052:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.RequestID],1411407467:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],3352864051:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1871374353:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],2470393545:e=>[Ge(e.Contents)],3460190687:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.AssetID,e.OriginalValue,e.CurrentValue,e.TotalReplacementCost,Ge(e.Owner),Ge(e.User),e.ResponsiblePerson,e.IncorporationDate,e.DepreciatedValue],1967976161:e=>[e.Degree,e.ControlPointsList,e.CurveForm,e.ClosedCurve,e.SelfIntersect],819618141:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1916977116:e=>[e.Degree,e.ControlPointsList,e.CurveForm,e.ClosedCurve,e.SelfIntersect],231477066:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],3299480353:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],52481810:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],2979338954:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],1095909175:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.CompositionType],1909888760:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],395041908:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],3293546465:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1285652485:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],2951183804:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],2611217952:e=>[Ge(e.Position),e.Radius],2301859152:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],843113511:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],3850581409:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],2816379211:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],2188551683:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType],1163958913:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,Ge(e.Criterion),Ge(e.CriterionDateTime)],3898045240:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ResourceIdentifier,e.ResourceGroup,e.ResourceConsumption,e.BaseQuantity],1060000209:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ResourceIdentifier,e.ResourceGroup,e.ResourceConsumption,e.BaseQuantity,Ge(e.Suppliers),e.UsageRatio],488727124:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ResourceIdentifier,e.ResourceGroup,e.ResourceConsumption,e.BaseQuantity],335055490:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],2954562838:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1973544240:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],3495092785:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],3961806047:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],4147604152:e=>[Ge(e.Contents)],1335981549:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],2635815018:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType],1599208980:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],2063403501:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType],1945004755:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],3040386961:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],3041715199:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.FlowDirection],395920057:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.OverallHeight,e.OverallWidth],869906466:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],3760055223:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],2030761528:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],855621170:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.FeatureLength],663422040:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],3277789161:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1534661035:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1365060375:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1217240411:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],712377611:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1634875225:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType],857184966:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],1658829314:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],346874300:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1810631287:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],4222183408:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],2058353004:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],4278956645:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],4037862832:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],3132237377:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],987401354:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],707683696:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],2223149337:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],3508470533:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],900683007:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],1073191201:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],1687234759:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType,e.ConstructionType],3171933400:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],2262370178:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],3024970846:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.ShapeType],3283111854:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],3055160366:e=>[e.Degree,e.ControlPointsList,e.CurveForm,e.ClosedCurve,e.SelfIntersect,e.WeightsData],3027567501:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.SteelGrade],2320036040:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.SteelGrade,e.MeshLength,e.MeshWidth,e.LongitudinalBarNominalDiameter,e.TransverseBarNominalDiameter,e.LongitudinalBarCrossSectionArea,e.TransverseBarCrossSectionArea,e.LongitudinalBarSpacing,e.TransverseBarSpacing],2016517767:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.ShapeType],1376911519:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.FeatureLength,e.Radius],1783015770:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1529196076:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],331165859:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.ShapeType],4252922144:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.NumberOfRiser,e.NumberOfTreads,e.RiserHeight,e.TreadLength],2515109513:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.PredefinedType,e.OrientationOf2DPlane,e.LoadedBy,e.HasResults],3824725483:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.SteelGrade,e.PredefinedType,e.NominalDiameter,e.CrossSectionArea,e.TensionForce,e.PreStress,e.FrictionCoefficient,e.AnchorageSlip,e.MinCurvatureRadius],2347447852:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.SteelGrade],3313531582:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],2391406946:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],3512223829:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],3304561284:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.OverallHeight,e.OverallWidth],2874132201:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],3001207471:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],753842376:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],2454782716:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.FeatureLength,e.Width,e.Height],578613899:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1052013943:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],1062813311:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.ControlElementId],3700593921:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.DistributionPointFunction,e.UserDefinedFunction],979691226:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.SteelGrade,e.NominalDiameter,e.CrossSectionArea,e.BarLength,e.BarRole,e.BarSurface]};k6[1]={3699917729:e=>new f.IfcAbsorbedDoseMeasure(e),4182062534:e=>new f.IfcAccelerationMeasure(e),360377573:e=>new f.IfcAmountOfSubstanceMeasure(e),632304761:e=>new f.IfcAngularVelocityMeasure(e),2650437152:e=>new f.IfcAreaMeasure(e),2735952531:e=>new f.IfcBoolean(e),1867003952:e=>new f.IfcBoxAlignment(e),2991860651:e=>new f.IfcComplexNumber(e.map(t=>t.value)),3812528620:e=>new f.IfcCompoundPlaneAngleMeasure(e.map(t=>t.value)),3238673880:e=>new f.IfcContextDependentMeasure(e),1778710042:e=>new f.IfcCountMeasure(e),94842927:e=>new f.IfcCurvatureMeasure(e),86635668:e=>new f.IfcDayInMonthNumber(e),300323983:e=>new f.IfcDaylightSavingHour(e),1514641115:e=>new f.IfcDescriptiveMeasure(e),4134073009:e=>new f.IfcDimensionCount(e),524656162:e=>new f.IfcDoseEquivalentMeasure(e),69416015:e=>new f.IfcDynamicViscosityMeasure(e),1827137117:e=>new f.IfcElectricCapacitanceMeasure(e),3818826038:e=>new f.IfcElectricChargeMeasure(e),2093906313:e=>new f.IfcElectricConductanceMeasure(e),3790457270:e=>new f.IfcElectricCurrentMeasure(e),2951915441:e=>new f.IfcElectricResistanceMeasure(e),2506197118:e=>new f.IfcElectricVoltageMeasure(e),2078135608:e=>new f.IfcEnergyMeasure(e),1102727119:e=>new f.IfcFontStyle(e),2715512545:e=>new f.IfcFontVariant(e),2590844177:e=>new f.IfcFontWeight(e),1361398929:e=>new f.IfcForceMeasure(e),3044325142:e=>new f.IfcFrequencyMeasure(e),3064340077:e=>new f.IfcGloballyUniqueId(e),3113092358:e=>new f.IfcHeatFluxDensityMeasure(e),1158859006:e=>new f.IfcHeatingValueMeasure(e),2589826445:e=>new f.IfcHourInDay(e),983778844:e=>new f.IfcIdentifier(e),3358199106:e=>new f.IfcIlluminanceMeasure(e),2679005408:e=>new f.IfcInductanceMeasure(e),1939436016:e=>new f.IfcInteger(e),3809634241:e=>new f.IfcIntegerCountRateMeasure(e),3686016028:e=>new f.IfcIonConcentrationMeasure(e),3192672207:e=>new f.IfcIsothermalMoistureCapacityMeasure(e),2054016361:e=>new f.IfcKinematicViscosityMeasure(e),3258342251:e=>new f.IfcLabel(e),1243674935:e=>new f.IfcLengthMeasure(e),191860431:e=>new f.IfcLinearForceMeasure(e),2128979029:e=>new f.IfcLinearMomentMeasure(e),1307019551:e=>new f.IfcLinearStiffnessMeasure(e),3086160713:e=>new f.IfcLinearVelocityMeasure(e),503418787:e=>new f.IfcLogical(e),2095003142:e=>new f.IfcLuminousFluxMeasure(e),2755797622:e=>new f.IfcLuminousIntensityDistributionMeasure(e),151039812:e=>new f.IfcLuminousIntensityMeasure(e),286949696:e=>new f.IfcMagneticFluxDensityMeasure(e),2486716878:e=>new f.IfcMagneticFluxMeasure(e),1477762836:e=>new f.IfcMassDensityMeasure(e),4017473158:e=>new f.IfcMassFlowRateMeasure(e),3124614049:e=>new f.IfcMassMeasure(e),3531705166:e=>new f.IfcMassPerLengthMeasure(e),102610177:e=>new f.IfcMinuteInHour(e),3341486342:e=>new f.IfcModulusOfElasticityMeasure(e),2173214787:e=>new f.IfcModulusOfLinearSubgradeReactionMeasure(e),1052454078:e=>new f.IfcModulusOfRotationalSubgradeReactionMeasure(e),1753493141:e=>new f.IfcModulusOfSubgradeReactionMeasure(e),3177669450:e=>new f.IfcMoistureDiffusivityMeasure(e),1648970520:e=>new f.IfcMolecularWeightMeasure(e),3114022597:e=>new f.IfcMomentOfInertiaMeasure(e),2615040989:e=>new f.IfcMonetaryMeasure(e),765770214:e=>new f.IfcMonthInYearNumber(e),2095195183:e=>new f.IfcNormalisedRatioMeasure(e),2395907400:e=>new f.IfcNumericMeasure(e),929793134:e=>new f.IfcPHMeasure(e),2260317790:e=>new f.IfcParameterValue(e),2642773653:e=>new f.IfcPlanarForceMeasure(e),4042175685:e=>new f.IfcPlaneAngleMeasure(e),2815919920:e=>new f.IfcPositiveLengthMeasure(e),3054510233:e=>new f.IfcPositivePlaneAngleMeasure(e),1245737093:e=>new f.IfcPositiveRatioMeasure(e),1364037233:e=>new f.IfcPowerMeasure(e),2169031380:e=>new f.IfcPresentableText(e),3665567075:e=>new f.IfcPressureMeasure(e),3972513137:e=>new f.IfcRadioActivityMeasure(e),96294661:e=>new f.IfcRatioMeasure(e),200335297:e=>new f.IfcReal(e),2133746277:e=>new f.IfcRotationalFrequencyMeasure(e),1755127002:e=>new f.IfcRotationalMassMeasure(e),3211557302:e=>new f.IfcRotationalStiffnessMeasure(e),2766185779:e=>new f.IfcSecondInMinute(e),3467162246:e=>new f.IfcSectionModulusMeasure(e),2190458107:e=>new f.IfcSectionalAreaIntegralMeasure(e),408310005:e=>new f.IfcShearModulusMeasure(e),3471399674:e=>new f.IfcSolidAngleMeasure(e),846465480:e=>new f.IfcSoundPowerMeasure(e),993287707:e=>new f.IfcSoundPressureMeasure(e),3477203348:e=>new f.IfcSpecificHeatCapacityMeasure(e),2757832317:e=>new f.IfcSpecularExponent(e),361837227:e=>new f.IfcSpecularRoughness(e),58845555:e=>new f.IfcTemperatureGradientMeasure(e),2801250643:e=>new f.IfcText(e),1460886941:e=>new f.IfcTextAlignment(e),3490877962:e=>new f.IfcTextDecoration(e),603696268:e=>new f.IfcTextFontName(e),296282323:e=>new f.IfcTextTransformation(e),232962298:e=>new f.IfcThermalAdmittanceMeasure(e),2645777649:e=>new f.IfcThermalConductivityMeasure(e),2281867870:e=>new f.IfcThermalExpansionCoefficientMeasure(e),857959152:e=>new f.IfcThermalResistanceMeasure(e),2016195849:e=>new f.IfcThermalTransmittanceMeasure(e),743184107:e=>new f.IfcThermodynamicTemperatureMeasure(e),2726807636:e=>new f.IfcTimeMeasure(e),2591213694:e=>new f.IfcTimeStamp(e),1278329552:e=>new f.IfcTorqueMeasure(e),3345633955:e=>new f.IfcVaporPermeabilityMeasure(e),3458127941:e=>new f.IfcVolumeMeasure(e),2593997549:e=>new f.IfcVolumetricFlowRateMeasure(e),51269191:e=>new f.IfcWarpingConstantMeasure(e),1718600412:e=>new f.IfcWarpingMomentMeasure(e),4065007721:e=>new f.IfcYearNumber(e)};var f;(e=>{class t extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCABSORBEDDOSEMEASURE"}}e.IfcAbsorbedDoseMeasure=t;class i extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCACCELERATIONMEASURE"}}e.IfcAccelerationMeasure=i;class n extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCAMOUNTOFSUBSTANCEMEASURE"}}e.IfcAmountOfSubstanceMeasure=n;class s extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCANGULARVELOCITYMEASURE"}}e.IfcAngularVelocityMeasure=s;class o extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCAREAMEASURE"}}e.IfcAreaMeasure=o;class r{constructor(D){this.type=3,this.name="IFCBOOLEAN",this.value=D}}e.IfcBoolean=r;class l{constructor(D){this.value=D,this.type=1,this.name="IFCBOXALIGNMENT"}}e.IfcBoxAlignment=l;class d{constructor(D){this.value=D,this.type=4}}e.IfcComplexNumber=d;class h{constructor(D){this.value=D,this.type=10}}e.IfcCompoundPlaneAngleMeasure=h;class p extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCCONTEXTDEPENDENTMEASURE"}}e.IfcContextDependentMeasure=p;class I extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCCOUNTMEASURE"}}e.IfcCountMeasure=I;class m extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCCURVATUREMEASURE"}}e.IfcCurvatureMeasure=m;class y extends mt{constructor(){super(...arguments),this.type=10,this.name="IFCDAYINMONTHNUMBER"}}e.IfcDayInMonthNumber=y;class T extends mt{constructor(){super(...arguments),this.type=10,this.name="IFCDAYLIGHTSAVINGHOUR"}}e.IfcDaylightSavingHour=T;class R{constructor(D){this.value=D,this.type=1,this.name="IFCDESCRIPTIVEMEASURE"}}e.IfcDescriptiveMeasure=R;class b extends mt{constructor(){super(...arguments),this.type=10,this.name="IFCDIMENSIONCOUNT"}}e.IfcDimensionCount=b;class A extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCDOSEEQUIVALENTMEASURE"}}e.IfcDoseEquivalentMeasure=A;class O extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCDYNAMICVISCOSITYMEASURE"}}e.IfcDynamicViscosityMeasure=O;class P extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCELECTRICCAPACITANCEMEASURE"}}e.IfcElectricCapacitanceMeasure=P;class U extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCELECTRICCHARGEMEASURE"}}e.IfcElectricChargeMeasure=U;class Z extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCELECTRICCONDUCTANCEMEASURE"}}e.IfcElectricConductanceMeasure=Z;class ne extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCELECTRICCURRENTMEASURE"}}e.IfcElectricCurrentMeasure=ne;class K extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCELECTRICRESISTANCEMEASURE"}}e.IfcElectricResistanceMeasure=K;class oe extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCELECTRICVOLTAGEMEASURE"}}e.IfcElectricVoltageMeasure=oe;class se extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCENERGYMEASURE"}}e.IfcEnergyMeasure=se;class he{constructor(D){this.value=D,this.type=1,this.name="IFCFONTSTYLE"}}e.IfcFontStyle=he;class Re{constructor(D){this.value=D,this.type=1,this.name="IFCFONTVARIANT"}}e.IfcFontVariant=Re;class ee{constructor(D){this.value=D,this.type=1,this.name="IFCFONTWEIGHT"}}e.IfcFontWeight=ee;class Ae extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCFORCEMEASURE"}}e.IfcForceMeasure=Ae;class Ee extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCFREQUENCYMEASURE"}}e.IfcFrequencyMeasure=Ee;class Ce{constructor(D){this.value=D,this.type=1,this.name="IFCGLOBALLYUNIQUEID"}}e.IfcGloballyUniqueId=Ce;class Qe extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCHEATFLUXDENSITYMEASURE"}}e.IfcHeatFluxDensityMeasure=Qe;class qe extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCHEATINGVALUEMEASURE"}}e.IfcHeatingValueMeasure=qe;class St extends mt{constructor(){super(...arguments),this.type=10,this.name="IFCHOURINDAY"}}e.IfcHourInDay=St;class $e{constructor(D){this.value=D,this.type=1,this.name="IFCIDENTIFIER"}}e.IfcIdentifier=$e;class ke extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCILLUMINANCEMEASURE"}}e.IfcIlluminanceMeasure=ke;class It extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCINDUCTANCEMEASURE"}}e.IfcInductanceMeasure=It;class ft extends mt{constructor(){super(...arguments),this.type=10,this.name="IFCINTEGER"}}e.IfcInteger=ft;class Dt extends mt{constructor(){super(...arguments),this.type=10,this.name="IFCINTEGERCOUNTRATEMEASURE"}}e.IfcIntegerCountRateMeasure=Dt;class Zt extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCIONCONCENTRATIONMEASURE"}}e.IfcIonConcentrationMeasure=Zt;class Ct extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCISOTHERMALMOISTURECAPACITYMEASURE"}}e.IfcIsothermalMoistureCapacityMeasure=Ct;class Ut extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCKINEMATICVISCOSITYMEASURE"}}e.IfcKinematicViscosityMeasure=Ut;class ii{constructor(D){this.value=D,this.type=1,this.name="IFCLABEL"}}e.IfcLabel=ii;class Vt extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCLENGTHMEASURE"}}e.IfcLengthMeasure=Vt;class Kt extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCLINEARFORCEMEASURE"}}e.IfcLinearForceMeasure=Kt;class ui extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCLINEARMOMENTMEASURE"}}e.IfcLinearMomentMeasure=ui;class jt extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCLINEARSTIFFNESSMEASURE"}}e.IfcLinearStiffnessMeasure=jt;class Oe extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCLINEARVELOCITYMEASURE"}}e.IfcLinearVelocityMeasure=Oe;class Ft{constructor(D){this.type=3,this.name="IFCLOGICAL",this.value=D}}e.IfcLogical=Ft;class ge extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCLUMINOUSFLUXMEASURE"}}e.IfcLuminousFluxMeasure=ge;class Ue extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCLUMINOUSINTENSITYDISTRIBUTIONMEASURE"}}e.IfcLuminousIntensityDistributionMeasure=Ue;class Pe extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCLUMINOUSINTENSITYMEASURE"}}e.IfcLuminousIntensityMeasure=Pe;class Me extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCMAGNETICFLUXDENSITYMEASURE"}}e.IfcMagneticFluxDensityMeasure=Me;class ze extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCMAGNETICFLUXMEASURE"}}e.IfcMagneticFluxMeasure=ze;class pt extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCMASSDENSITYMEASURE"}}e.IfcMassDensityMeasure=pt;class He extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCMASSFLOWRATEMEASURE"}}e.IfcMassFlowRateMeasure=He;class At extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCMASSMEASURE"}}e.IfcMassMeasure=At;class Tt extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCMASSPERLENGTHMEASURE"}}e.IfcMassPerLengthMeasure=Tt;class Lt extends mt{constructor(){super(...arguments),this.type=10,this.name="IFCMINUTEINHOUR"}}e.IfcMinuteInHour=Lt;class Ht extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCMODULUSOFELASTICITYMEASURE"}}e.IfcModulusOfElasticityMeasure=Ht;class ri extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCMODULUSOFLINEARSUBGRADEREACTIONMEASURE"}}e.IfcModulusOfLinearSubgradeReactionMeasure=ri;class Xe extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCMODULUSOFROTATIONALSUBGRADEREACTIONMEASURE"}}e.IfcModulusOfRotationalSubgradeReactionMeasure=Xe;class We extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCMODULUSOFSUBGRADEREACTIONMEASURE"}}e.IfcModulusOfSubgradeReactionMeasure=We;class Mt extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCMOISTUREDIFFUSIVITYMEASURE"}}e.IfcMoistureDiffusivityMeasure=Mt;class si extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCMOLECULARWEIGHTMEASURE"}}e.IfcMolecularWeightMeasure=si;class gi extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCMOMENTOFINERTIAMEASURE"}}e.IfcMomentOfInertiaMeasure=gi;class mi extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCMONETARYMEASURE"}}e.IfcMonetaryMeasure=mi;class bi extends mt{constructor(){super(...arguments),this.type=10,this.name="IFCMONTHINYEARNUMBER"}}e.IfcMonthInYearNumber=bi;class Qt extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCNORMALISEDRATIOMEASURE"}}e.IfcNormalisedRatioMeasure=Qt;class di extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCNUMERICMEASURE"}}e.IfcNumericMeasure=di;class Wi extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCPHMEASURE"}}e.IfcPHMeasure=Wi;class ki extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCPARAMETERVALUE"}}e.IfcParameterValue=ki;class Pi extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCPLANARFORCEMEASURE"}}e.IfcPlanarForceMeasure=Pi;class Di extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCPLANEANGLEMEASURE"}}e.IfcPlaneAngleMeasure=Di;class dn extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCPOSITIVELENGTHMEASURE"}}e.IfcPositiveLengthMeasure=dn;class Ln extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCPOSITIVEPLANEANGLEMEASURE"}}e.IfcPositivePlaneAngleMeasure=Ln;class Zi extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCPOSITIVERATIOMEASURE"}}e.IfcPositiveRatioMeasure=Zi;class kt extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCPOWERMEASURE"}}e.IfcPowerMeasure=kt;class Gi{constructor(D){this.value=D,this.type=1,this.name="IFCPRESENTABLETEXT"}}e.IfcPresentableText=Gi;class wi extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCPRESSUREMEASURE"}}e.IfcPressureMeasure=wi;class Qi extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCRADIOACTIVITYMEASURE"}}e.IfcRadioActivityMeasure=Qi;class Fi extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCRATIOMEASURE"}}e.IfcRatioMeasure=Fi;class Ci extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCREAL"}}e.IfcReal=Ci;class cn extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCROTATIONALFREQUENCYMEASURE"}}e.IfcRotationalFrequencyMeasure=cn;class Un extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCROTATIONALMASSMEASURE"}}e.IfcRotationalMassMeasure=Un;class hn extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCROTATIONALSTIFFNESSMEASURE"}}e.IfcRotationalStiffnessMeasure=hn;class Rs extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCSECONDINMINUTE"}}e.IfcSecondInMinute=Rs;class Wo extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCSECTIONMODULUSMEASURE"}}e.IfcSectionModulusMeasure=Wo;class Io extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCSECTIONALAREAINTEGRALMEASURE"}}e.IfcSectionalAreaIntegralMeasure=Io;class ao extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCSHEARMODULUSMEASURE"}}e.IfcShearModulusMeasure=ao;class Ma extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCSOLIDANGLEMEASURE"}}e.IfcSolidAngleMeasure=Ma;class Yn extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCSOUNDPOWERMEASURE"}}e.IfcSoundPowerMeasure=Yn;class wu extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCSOUNDPRESSUREMEASURE"}}e.IfcSoundPressureMeasure=wu;class mo extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCSPECIFICHEATCAPACITYMEASURE"}}e.IfcSpecificHeatCapacityMeasure=mo;class Ia extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCSPECULAREXPONENT"}}e.IfcSpecularExponent=Ia;class Er extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCSPECULARROUGHNESS"}}e.IfcSpecularRoughness=Er;class Vl extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCTEMPERATUREGRADIENTMEASURE"}}e.IfcTemperatureGradientMeasure=Vl;class Nr{constructor(D){this.value=D,this.type=1,this.name="IFCTEXT"}}e.IfcText=Nr;class Ni{constructor(D){this.value=D,this.type=1,this.name="IFCTEXTALIGNMENT"}}e.IfcTextAlignment=Ni;class _r{constructor(D){this.value=D,this.type=1,this.name="IFCTEXTDECORATION"}}e.IfcTextDecoration=_r;class Hc{constructor(D){this.value=D,this.type=1,this.name="IFCTEXTFONTNAME"}}e.IfcTextFontName=Hc;class Dr{constructor(D){this.value=D,this.type=1,this.name="IFCTEXTTRANSFORMATION"}}e.IfcTextTransformation=Dr;class ma extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCTHERMALADMITTANCEMEASURE"}}e.IfcThermalAdmittanceMeasure=ma;class A0 extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCTHERMALCONDUCTIVITYMEASURE"}}e.IfcThermalConductivityMeasure=A0;class Gc extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCTHERMALEXPANSIONCOEFFICIENTMEASURE"}}e.IfcThermalExpansionCoefficientMeasure=Gc;class Vc extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCTHERMALRESISTANCEMEASURE"}}e.IfcThermalResistanceMeasure=Vc;class yo extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCTHERMALTRANSMITTANCEMEASURE"}}e.IfcThermalTransmittanceMeasure=yo;class vu extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCTHERMODYNAMICTEMPERATUREMEASURE"}}e.IfcThermodynamicTemperatureMeasure=vu;class Es extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCTIMEMEASURE"}}e.IfcTimeMeasure=Es;class ht extends mt{constructor(){super(...arguments),this.type=10,this.name="IFCTIMESTAMP"}}e.IfcTimeStamp=ht;class qt extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCTORQUEMEASURE"}}e.IfcTorqueMeasure=qt;class ni extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCVAPORPERMEABILITYMEASURE"}}e.IfcVaporPermeabilityMeasure=ni;class ei extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCVOLUMEMEASURE"}}e.IfcVolumeMeasure=ei;class Xt extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCVOLUMETRICFLOWRATEMEASURE"}}e.IfcVolumetricFlowRateMeasure=Xt;class ji extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCWARPINGCONSTANTMEASURE"}}e.IfcWarpingConstantMeasure=ji;class rn extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCWARPINGMOMENTMEASURE"}}e.IfcWarpingMomentMeasure=rn;class Ki extends mt{constructor(){super(...arguments),this.type=10,this.name="IFCYEARNUMBER"}}e.IfcYearNumber=Ki;class fn{static{this.DEAD_LOAD_G={type:3,value:"DEAD_LOAD_G"}}static{this.COMPLETION_G1={type:3,value:"COMPLETION_G1"}}static{this.LIVE_LOAD_Q={type:3,value:"LIVE_LOAD_Q"}}static{this.SNOW_S={type:3,value:"SNOW_S"}}static{this.WIND_W={type:3,value:"WIND_W"}}static{this.PRESTRESSING_P={type:3,value:"PRESTRESSING_P"}}static{this.SETTLEMENT_U={type:3,value:"SETTLEMENT_U"}}static{this.TEMPERATURE_T={type:3,value:"TEMPERATURE_T"}}static{this.EARTHQUAKE_E={type:3,value:"EARTHQUAKE_E"}}static{this.FIRE={type:3,value:"FIRE"}}static{this.IMPULSE={type:3,value:"IMPULSE"}}static{this.IMPACT={type:3,value:"IMPACT"}}static{this.TRANSPORT={type:3,value:"TRANSPORT"}}static{this.ERECTION={type:3,value:"ERECTION"}}static{this.PROPPING={type:3,value:"PROPPING"}}static{this.SYSTEM_IMPERFECTION={type:3,value:"SYSTEM_IMPERFECTION"}}static{this.SHRINKAGE={type:3,value:"SHRINKAGE"}}static{this.CREEP={type:3,value:"CREEP"}}static{this.LACK_OF_FIT={type:3,value:"LACK_OF_FIT"}}static{this.BUOYANCY={type:3,value:"BUOYANCY"}}static{this.ICE={type:3,value:"ICE"}}static{this.CURRENT={type:3,value:"CURRENT"}}static{this.WAVE={type:3,value:"WAVE"}}static{this.RAIN={type:3,value:"RAIN"}}static{this.BRAKES={type:3,value:"BRAKES"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcActionSourceTypeEnum=fn;class En{static{this.PERMANENT_G={type:3,value:"PERMANENT_G"}}static{this.VARIABLE_Q={type:3,value:"VARIABLE_Q"}}static{this.EXTRAORDINARY_A={type:3,value:"EXTRAORDINARY_A"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcActionTypeEnum=En;class zn{static{this.ELECTRICACTUATOR={type:3,value:"ELECTRICACTUATOR"}}static{this.HANDOPERATEDACTUATOR={type:3,value:"HANDOPERATEDACTUATOR"}}static{this.HYDRAULICACTUATOR={type:3,value:"HYDRAULICACTUATOR"}}static{this.PNEUMATICACTUATOR={type:3,value:"PNEUMATICACTUATOR"}}static{this.THERMOSTATICACTUATOR={type:3,value:"THERMOSTATICACTUATOR"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcActuatorTypeEnum=zn;class Vn{static{this.OFFICE={type:3,value:"OFFICE"}}static{this.SITE={type:3,value:"SITE"}}static{this.HOME={type:3,value:"HOME"}}static{this.DISTRIBUTIONPOINT={type:3,value:"DISTRIBUTIONPOINT"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}}e.IfcAddressTypeEnum=Vn;class wn{static{this.AHEAD={type:3,value:"AHEAD"}}static{this.BEHIND={type:3,value:"BEHIND"}}}e.IfcAheadOrBehind=wn;class Ds{static{this.CONSTANTFLOW={type:3,value:"CONSTANTFLOW"}}static{this.VARIABLEFLOWPRESSUREDEPENDANT={type:3,value:"VARIABLEFLOWPRESSUREDEPENDANT"}}static{this.VARIABLEFLOWPRESSUREINDEPENDANT={type:3,value:"VARIABLEFLOWPRESSUREINDEPENDANT"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcAirTerminalBoxTypeEnum=Ds;class Ws{static{this.GRILLE={type:3,value:"GRILLE"}}static{this.REGISTER={type:3,value:"REGISTER"}}static{this.DIFFUSER={type:3,value:"DIFFUSER"}}static{this.EYEBALL={type:3,value:"EYEBALL"}}static{this.IRIS={type:3,value:"IRIS"}}static{this.LINEARGRILLE={type:3,value:"LINEARGRILLE"}}static{this.LINEARDIFFUSER={type:3,value:"LINEARDIFFUSER"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcAirTerminalTypeEnum=Ws;class Ys{static{this.FIXEDPLATECOUNTERFLOWEXCHANGER={type:3,value:"FIXEDPLATECOUNTERFLOWEXCHANGER"}}static{this.FIXEDPLATECROSSFLOWEXCHANGER={type:3,value:"FIXEDPLATECROSSFLOWEXCHANGER"}}static{this.FIXEDPLATEPARALLELFLOWEXCHANGER={type:3,value:"FIXEDPLATEPARALLELFLOWEXCHANGER"}}static{this.ROTARYWHEEL={type:3,value:"ROTARYWHEEL"}}static{this.RUNAROUNDCOILLOOP={type:3,value:"RUNAROUNDCOILLOOP"}}static{this.HEATPIPE={type:3,value:"HEATPIPE"}}static{this.TWINTOWERENTHALPYRECOVERYLOOPS={type:3,value:"TWINTOWERENTHALPYRECOVERYLOOPS"}}static{this.THERMOSIPHONSEALEDTUBEHEATEXCHANGERS={type:3,value:"THERMOSIPHONSEALEDTUBEHEATEXCHANGERS"}}static{this.THERMOSIPHONCOILTYPEHEATEXCHANGERS={type:3,value:"THERMOSIPHONCOILTYPEHEATEXCHANGERS"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcAirToAirHeatRecoveryTypeEnum=Ys;class hs{static{this.BELL={type:3,value:"BELL"}}static{this.BREAKGLASSBUTTON={type:3,value:"BREAKGLASSBUTTON"}}static{this.LIGHT={type:3,value:"LIGHT"}}static{this.MANUALPULLBOX={type:3,value:"MANUALPULLBOX"}}static{this.SIREN={type:3,value:"SIREN"}}static{this.WHISTLE={type:3,value:"WHISTLE"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcAlarmTypeEnum=hs;class uo{static{this.IN_PLANE_LOADING_2D={type:3,value:"IN_PLANE_LOADING_2D"}}static{this.OUT_PLANE_LOADING_2D={type:3,value:"OUT_PLANE_LOADING_2D"}}static{this.LOADING_3D={type:3,value:"LOADING_3D"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcAnalysisModelTypeEnum=uo;class sn{static{this.FIRST_ORDER_THEORY={type:3,value:"FIRST_ORDER_THEORY"}}static{this.SECOND_ORDER_THEORY={type:3,value:"SECOND_ORDER_THEORY"}}static{this.THIRD_ORDER_THEORY={type:3,value:"THIRD_ORDER_THEORY"}}static{this.FULL_NONLINEAR_THEORY={type:3,value:"FULL_NONLINEAR_THEORY"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcAnalysisTheoryTypeEnum=sn;class eo{static{this.ADD={type:3,value:"ADD"}}static{this.DIVIDE={type:3,value:"DIVIDE"}}static{this.MULTIPLY={type:3,value:"MULTIPLY"}}static{this.SUBTRACT={type:3,value:"SUBTRACT"}}}e.IfcArithmeticOperatorEnum=eo;class Xn{static{this.SITE={type:3,value:"SITE"}}static{this.FACTORY={type:3,value:"FACTORY"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcAssemblyPlaceEnum=Xn;class Do{static{this.POLYLINE_FORM={type:3,value:"POLYLINE_FORM"}}static{this.CIRCULAR_ARC={type:3,value:"CIRCULAR_ARC"}}static{this.ELLIPTIC_ARC={type:3,value:"ELLIPTIC_ARC"}}static{this.PARABOLIC_ARC={type:3,value:"PARABOLIC_ARC"}}static{this.HYPERBOLIC_ARC={type:3,value:"HYPERBOLIC_ARC"}}static{this.UNSPECIFIED={type:3,value:"UNSPECIFIED"}}}e.IfcBSplineCurveForm=Do;class lr{static{this.BEAM={type:3,value:"BEAM"}}static{this.JOIST={type:3,value:"JOIST"}}static{this.LINTEL={type:3,value:"LINTEL"}}static{this.T_BEAM={type:3,value:"T_BEAM"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcBeamTypeEnum=lr;class Bo{static{this.GREATERTHAN={type:3,value:"GREATERTHAN"}}static{this.GREATERTHANOREQUALTO={type:3,value:"GREATERTHANOREQUALTO"}}static{this.LESSTHAN={type:3,value:"LESSTHAN"}}static{this.LESSTHANOREQUALTO={type:3,value:"LESSTHANOREQUALTO"}}static{this.EQUALTO={type:3,value:"EQUALTO"}}static{this.NOTEQUALTO={type:3,value:"NOTEQUALTO"}}}e.IfcBenchmarkEnum=Bo;class Fo{static{this.WATER={type:3,value:"WATER"}}static{this.STEAM={type:3,value:"STEAM"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcBoilerTypeEnum=Fo;class rs{static{this.UNION={type:3,value:"UNION"}}static{this.INTERSECTION={type:3,value:"INTERSECTION"}}static{this.DIFFERENCE={type:3,value:"DIFFERENCE"}}}e.IfcBooleanOperator=rs;class Ts{static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcBuildingElementProxyTypeEnum=Ts;class ls{static{this.BEND={type:3,value:"BEND"}}static{this.CROSS={type:3,value:"CROSS"}}static{this.REDUCER={type:3,value:"REDUCER"}}static{this.TEE={type:3,value:"TEE"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcCableCarrierFittingTypeEnum=ls;class Ss{static{this.CABLELADDERSEGMENT={type:3,value:"CABLELADDERSEGMENT"}}static{this.CABLETRAYSEGMENT={type:3,value:"CABLETRAYSEGMENT"}}static{this.CABLETRUNKINGSEGMENT={type:3,value:"CABLETRUNKINGSEGMENT"}}static{this.CONDUITSEGMENT={type:3,value:"CONDUITSEGMENT"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcCableCarrierSegmentTypeEnum=Ss;class Tr{static{this.CABLESEGMENT={type:3,value:"CABLESEGMENT"}}static{this.CONDUCTORSEGMENT={type:3,value:"CONDUCTORSEGMENT"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcCableSegmentTypeEnum=Tr;class hr{static{this.NOCHANGE={type:3,value:"NOCHANGE"}}static{this.MODIFIED={type:3,value:"MODIFIED"}}static{this.ADDED={type:3,value:"ADDED"}}static{this.DELETED={type:3,value:"DELETED"}}static{this.MODIFIEDADDED={type:3,value:"MODIFIEDADDED"}}static{this.MODIFIEDDELETED={type:3,value:"MODIFIEDDELETED"}}}e.IfcChangeActionEnum=hr;class b0{static{this.AIRCOOLED={type:3,value:"AIRCOOLED"}}static{this.WATERCOOLED={type:3,value:"WATERCOOLED"}}static{this.HEATRECOVERY={type:3,value:"HEATRECOVERY"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcChillerTypeEnum=b0;class N0{static{this.DXCOOLINGCOIL={type:3,value:"DXCOOLINGCOIL"}}static{this.WATERCOOLINGCOIL={type:3,value:"WATERCOOLINGCOIL"}}static{this.STEAMHEATINGCOIL={type:3,value:"STEAMHEATINGCOIL"}}static{this.WATERHEATINGCOIL={type:3,value:"WATERHEATINGCOIL"}}static{this.ELECTRICHEATINGCOIL={type:3,value:"ELECTRICHEATINGCOIL"}}static{this.GASHEATINGCOIL={type:3,value:"GASHEATINGCOIL"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcCoilTypeEnum=N0;class th{static{this.COLUMN={type:3,value:"COLUMN"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcColumnTypeEnum=th;class kc{static{this.DYNAMIC={type:3,value:"DYNAMIC"}}static{this.RECIPROCATING={type:3,value:"RECIPROCATING"}}static{this.ROTARY={type:3,value:"ROTARY"}}static{this.SCROLL={type:3,value:"SCROLL"}}static{this.TROCHOIDAL={type:3,value:"TROCHOIDAL"}}static{this.SINGLESTAGE={type:3,value:"SINGLESTAGE"}}static{this.BOOSTER={type:3,value:"BOOSTER"}}static{this.OPENTYPE={type:3,value:"OPENTYPE"}}static{this.HERMETIC={type:3,value:"HERMETIC"}}static{this.SEMIHERMETIC={type:3,value:"SEMIHERMETIC"}}static{this.WELDEDSHELLHERMETIC={type:3,value:"WELDEDSHELLHERMETIC"}}static{this.ROLLINGPISTON={type:3,value:"ROLLINGPISTON"}}static{this.ROTARYVANE={type:3,value:"ROTARYVANE"}}static{this.SINGLESCREW={type:3,value:"SINGLESCREW"}}static{this.TWINSCREW={type:3,value:"TWINSCREW"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcCompressorTypeEnum=kc;class Jh{static{this.WATERCOOLEDSHELLTUBE={type:3,value:"WATERCOOLEDSHELLTUBE"}}static{this.WATERCOOLEDSHELLCOIL={type:3,value:"WATERCOOLEDSHELLCOIL"}}static{this.WATERCOOLEDTUBEINTUBE={type:3,value:"WATERCOOLEDTUBEINTUBE"}}static{this.WATERCOOLEDBRAZEDPLATE={type:3,value:"WATERCOOLEDBRAZEDPLATE"}}static{this.AIRCOOLED={type:3,value:"AIRCOOLED"}}static{this.EVAPORATIVECOOLED={type:3,value:"EVAPORATIVECOOLED"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcCondenserTypeEnum=Jh;class Xh{static{this.ATPATH={type:3,value:"ATPATH"}}static{this.ATSTART={type:3,value:"ATSTART"}}static{this.ATEND={type:3,value:"ATEND"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcConnectionTypeEnum=Xh;class ih{static{this.HARD={type:3,value:"HARD"}}static{this.SOFT={type:3,value:"SOFT"}}static{this.ADVISORY={type:3,value:"ADVISORY"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcConstraintEnum=ih;class nh{static{this.FLOATING={type:3,value:"FLOATING"}}static{this.PROPORTIONAL={type:3,value:"PROPORTIONAL"}}static{this.PROPORTIONALINTEGRAL={type:3,value:"PROPORTIONALINTEGRAL"}}static{this.PROPORTIONALINTEGRALDERIVATIVE={type:3,value:"PROPORTIONALINTEGRALDERIVATIVE"}}static{this.TIMEDTWOPOSITION={type:3,value:"TIMEDTWOPOSITION"}}static{this.TWOPOSITION={type:3,value:"TWOPOSITION"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcControllerTypeEnum=nh;class pI{static{this.ACTIVE={type:3,value:"ACTIVE"}}static{this.PASSIVE={type:3,value:"PASSIVE"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcCooledBeamTypeEnum=pI;class _0{static{this.NATURALDRAFT={type:3,value:"NATURALDRAFT"}}static{this.MECHANICALINDUCEDDRAFT={type:3,value:"MECHANICALINDUCEDDRAFT"}}static{this.MECHANICALFORCEDDRAFT={type:3,value:"MECHANICALFORCEDDRAFT"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcCoolingTowerTypeEnum=_0;class to{static{this.BUDGET={type:3,value:"BUDGET"}}static{this.COSTPLAN={type:3,value:"COSTPLAN"}}static{this.ESTIMATE={type:3,value:"ESTIMATE"}}static{this.TENDER={type:3,value:"TENDER"}}static{this.PRICEDBILLOFQUANTITIES={type:3,value:"PRICEDBILLOFQUANTITIES"}}static{this.UNPRICEDBILLOFQUANTITIES={type:3,value:"UNPRICEDBILLOFQUANTITIES"}}static{this.SCHEDULEOFRATES={type:3,value:"SCHEDULEOFRATES"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcCostScheduleTypeEnum=to;class Jf{static{this.CEILING={type:3,value:"CEILING"}}static{this.FLOORING={type:3,value:"FLOORING"}}static{this.CLADDING={type:3,value:"CLADDING"}}static{this.ROOFING={type:3,value:"ROOFING"}}static{this.INSULATION={type:3,value:"INSULATION"}}static{this.MEMBRANE={type:3,value:"MEMBRANE"}}static{this.SLEEVING={type:3,value:"SLEEVING"}}static{this.WRAPPING={type:3,value:"WRAPPING"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcCoveringTypeEnum=Jf;class io{static{this.AED={type:3,value:"AED"}}static{this.AES={type:3,value:"AES"}}static{this.ATS={type:3,value:"ATS"}}static{this.AUD={type:3,value:"AUD"}}static{this.BBD={type:3,value:"BBD"}}static{this.BEG={type:3,value:"BEG"}}static{this.BGL={type:3,value:"BGL"}}static{this.BHD={type:3,value:"BHD"}}static{this.BMD={type:3,value:"BMD"}}static{this.BND={type:3,value:"BND"}}static{this.BRL={type:3,value:"BRL"}}static{this.BSD={type:3,value:"BSD"}}static{this.BWP={type:3,value:"BWP"}}static{this.BZD={type:3,value:"BZD"}}static{this.CAD={type:3,value:"CAD"}}static{this.CBD={type:3,value:"CBD"}}static{this.CHF={type:3,value:"CHF"}}static{this.CLP={type:3,value:"CLP"}}static{this.CNY={type:3,value:"CNY"}}static{this.CYS={type:3,value:"CYS"}}static{this.CZK={type:3,value:"CZK"}}static{this.DDP={type:3,value:"DDP"}}static{this.DEM={type:3,value:"DEM"}}static{this.DKK={type:3,value:"DKK"}}static{this.EGL={type:3,value:"EGL"}}static{this.EST={type:3,value:"EST"}}static{this.EUR={type:3,value:"EUR"}}static{this.FAK={type:3,value:"FAK"}}static{this.FIM={type:3,value:"FIM"}}static{this.FJD={type:3,value:"FJD"}}static{this.FKP={type:3,value:"FKP"}}static{this.FRF={type:3,value:"FRF"}}static{this.GBP={type:3,value:"GBP"}}static{this.GIP={type:3,value:"GIP"}}static{this.GMD={type:3,value:"GMD"}}static{this.GRX={type:3,value:"GRX"}}static{this.HKD={type:3,value:"HKD"}}static{this.HUF={type:3,value:"HUF"}}static{this.ICK={type:3,value:"ICK"}}static{this.IDR={type:3,value:"IDR"}}static{this.ILS={type:3,value:"ILS"}}static{this.INR={type:3,value:"INR"}}static{this.IRP={type:3,value:"IRP"}}static{this.ITL={type:3,value:"ITL"}}static{this.JMD={type:3,value:"JMD"}}static{this.JOD={type:3,value:"JOD"}}static{this.JPY={type:3,value:"JPY"}}static{this.KES={type:3,value:"KES"}}static{this.KRW={type:3,value:"KRW"}}static{this.KWD={type:3,value:"KWD"}}static{this.KYD={type:3,value:"KYD"}}static{this.LKR={type:3,value:"LKR"}}static{this.LUF={type:3,value:"LUF"}}static{this.MTL={type:3,value:"MTL"}}static{this.MUR={type:3,value:"MUR"}}static{this.MXN={type:3,value:"MXN"}}static{this.MYR={type:3,value:"MYR"}}static{this.NLG={type:3,value:"NLG"}}static{this.NZD={type:3,value:"NZD"}}static{this.OMR={type:3,value:"OMR"}}static{this.PGK={type:3,value:"PGK"}}static{this.PHP={type:3,value:"PHP"}}static{this.PKR={type:3,value:"PKR"}}static{this.PLN={type:3,value:"PLN"}}static{this.PTN={type:3,value:"PTN"}}static{this.QAR={type:3,value:"QAR"}}static{this.RUR={type:3,value:"RUR"}}static{this.SAR={type:3,value:"SAR"}}static{this.SCR={type:3,value:"SCR"}}static{this.SEK={type:3,value:"SEK"}}static{this.SGD={type:3,value:"SGD"}}static{this.SKP={type:3,value:"SKP"}}static{this.THB={type:3,value:"THB"}}static{this.TRL={type:3,value:"TRL"}}static{this.TTD={type:3,value:"TTD"}}static{this.TWD={type:3,value:"TWD"}}static{this.USD={type:3,value:"USD"}}static{this.VEB={type:3,value:"VEB"}}static{this.VND={type:3,value:"VND"}}static{this.XEU={type:3,value:"XEU"}}static{this.ZAR={type:3,value:"ZAR"}}static{this.ZWD={type:3,value:"ZWD"}}static{this.NOK={type:3,value:"NOK"}}}e.IfcCurrencyEnum=io;class sh{static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcCurtainWallTypeEnum=sh;class U1{static{this.CONTROLDAMPER={type:3,value:"CONTROLDAMPER"}}static{this.FIREDAMPER={type:3,value:"FIREDAMPER"}}static{this.SMOKEDAMPER={type:3,value:"SMOKEDAMPER"}}static{this.FIRESMOKEDAMPER={type:3,value:"FIRESMOKEDAMPER"}}static{this.BACKDRAFTDAMPER={type:3,value:"BACKDRAFTDAMPER"}}static{this.RELIEFDAMPER={type:3,value:"RELIEFDAMPER"}}static{this.BLASTDAMPER={type:3,value:"BLASTDAMPER"}}static{this.GRAVITYDAMPER={type:3,value:"GRAVITYDAMPER"}}static{this.GRAVITYRELIEFDAMPER={type:3,value:"GRAVITYRELIEFDAMPER"}}static{this.BALANCINGDAMPER={type:3,value:"BALANCINGDAMPER"}}static{this.FUMEHOODEXHAUST={type:3,value:"FUMEHOODEXHAUST"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcDamperTypeEnum=U1;class ef{static{this.MEASURED={type:3,value:"MEASURED"}}static{this.PREDICTED={type:3,value:"PREDICTED"}}static{this.SIMULATED={type:3,value:"SIMULATED"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcDataOriginEnum=ef;class Xf{static{this.ANGULARVELOCITYUNIT={type:3,value:"ANGULARVELOCITYUNIT"}}static{this.COMPOUNDPLANEANGLEUNIT={type:3,value:"COMPOUNDPLANEANGLEUNIT"}}static{this.DYNAMICVISCOSITYUNIT={type:3,value:"DYNAMICVISCOSITYUNIT"}}static{this.HEATFLUXDENSITYUNIT={type:3,value:"HEATFLUXDENSITYUNIT"}}static{this.INTEGERCOUNTRATEUNIT={type:3,value:"INTEGERCOUNTRATEUNIT"}}static{this.ISOTHERMALMOISTURECAPACITYUNIT={type:3,value:"ISOTHERMALMOISTURECAPACITYUNIT"}}static{this.KINEMATICVISCOSITYUNIT={type:3,value:"KINEMATICVISCOSITYUNIT"}}static{this.LINEARVELOCITYUNIT={type:3,value:"LINEARVELOCITYUNIT"}}static{this.MASSDENSITYUNIT={type:3,value:"MASSDENSITYUNIT"}}static{this.MASSFLOWRATEUNIT={type:3,value:"MASSFLOWRATEUNIT"}}static{this.MOISTUREDIFFUSIVITYUNIT={type:3,value:"MOISTUREDIFFUSIVITYUNIT"}}static{this.MOLECULARWEIGHTUNIT={type:3,value:"MOLECULARWEIGHTUNIT"}}static{this.SPECIFICHEATCAPACITYUNIT={type:3,value:"SPECIFICHEATCAPACITYUNIT"}}static{this.THERMALADMITTANCEUNIT={type:3,value:"THERMALADMITTANCEUNIT"}}static{this.THERMALCONDUCTANCEUNIT={type:3,value:"THERMALCONDUCTANCEUNIT"}}static{this.THERMALRESISTANCEUNIT={type:3,value:"THERMALRESISTANCEUNIT"}}static{this.THERMALTRANSMITTANCEUNIT={type:3,value:"THERMALTRANSMITTANCEUNIT"}}static{this.VAPORPERMEABILITYUNIT={type:3,value:"VAPORPERMEABILITYUNIT"}}static{this.VOLUMETRICFLOWRATEUNIT={type:3,value:"VOLUMETRICFLOWRATEUNIT"}}static{this.ROTATIONALFREQUENCYUNIT={type:3,value:"ROTATIONALFREQUENCYUNIT"}}static{this.TORQUEUNIT={type:3,value:"TORQUEUNIT"}}static{this.MOMENTOFINERTIAUNIT={type:3,value:"MOMENTOFINERTIAUNIT"}}static{this.LINEARMOMENTUNIT={type:3,value:"LINEARMOMENTUNIT"}}static{this.LINEARFORCEUNIT={type:3,value:"LINEARFORCEUNIT"}}static{this.PLANARFORCEUNIT={type:3,value:"PLANARFORCEUNIT"}}static{this.MODULUSOFELASTICITYUNIT={type:3,value:"MODULUSOFELASTICITYUNIT"}}static{this.SHEARMODULUSUNIT={type:3,value:"SHEARMODULUSUNIT"}}static{this.LINEARSTIFFNESSUNIT={type:3,value:"LINEARSTIFFNESSUNIT"}}static{this.ROTATIONALSTIFFNESSUNIT={type:3,value:"ROTATIONALSTIFFNESSUNIT"}}static{this.MODULUSOFSUBGRADEREACTIONUNIT={type:3,value:"MODULUSOFSUBGRADEREACTIONUNIT"}}static{this.ACCELERATIONUNIT={type:3,value:"ACCELERATIONUNIT"}}static{this.CURVATUREUNIT={type:3,value:"CURVATUREUNIT"}}static{this.HEATINGVALUEUNIT={type:3,value:"HEATINGVALUEUNIT"}}static{this.IONCONCENTRATIONUNIT={type:3,value:"IONCONCENTRATIONUNIT"}}static{this.LUMINOUSINTENSITYDISTRIBUTIONUNIT={type:3,value:"LUMINOUSINTENSITYDISTRIBUTIONUNIT"}}static{this.MASSPERLENGTHUNIT={type:3,value:"MASSPERLENGTHUNIT"}}static{this.MODULUSOFLINEARSUBGRADEREACTIONUNIT={type:3,value:"MODULUSOFLINEARSUBGRADEREACTIONUNIT"}}static{this.MODULUSOFROTATIONALSUBGRADEREACTIONUNIT={type:3,value:"MODULUSOFROTATIONALSUBGRADEREACTIONUNIT"}}static{this.PHUNIT={type:3,value:"PHUNIT"}}static{this.ROTATIONALMASSUNIT={type:3,value:"ROTATIONALMASSUNIT"}}static{this.SECTIONAREAINTEGRALUNIT={type:3,value:"SECTIONAREAINTEGRALUNIT"}}static{this.SECTIONMODULUSUNIT={type:3,value:"SECTIONMODULUSUNIT"}}static{this.SOUNDPOWERUNIT={type:3,value:"SOUNDPOWERUNIT"}}static{this.SOUNDPRESSUREUNIT={type:3,value:"SOUNDPRESSUREUNIT"}}static{this.TEMPERATUREGRADIENTUNIT={type:3,value:"TEMPERATUREGRADIENTUNIT"}}static{this.THERMALEXPANSIONCOEFFICIENTUNIT={type:3,value:"THERMALEXPANSIONCOEFFICIENTUNIT"}}static{this.WARPINGCONSTANTUNIT={type:3,value:"WARPINGCONSTANTUNIT"}}static{this.WARPINGMOMENTUNIT={type:3,value:"WARPINGMOMENTUNIT"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}}e.IfcDerivedUnitEnum=Xf;class bt{static{this.ORIGIN={type:3,value:"ORIGIN"}}static{this.TARGET={type:3,value:"TARGET"}}}e.IfcDimensionExtentUsage=bt;class vi{static{this.POSITIVE={type:3,value:"POSITIVE"}}static{this.NEGATIVE={type:3,value:"NEGATIVE"}}}e.IfcDirectionSenseEnum=vi;class zi{static{this.FORMEDDUCT={type:3,value:"FORMEDDUCT"}}static{this.INSPECTIONCHAMBER={type:3,value:"INSPECTIONCHAMBER"}}static{this.INSPECTIONPIT={type:3,value:"INSPECTIONPIT"}}static{this.MANHOLE={type:3,value:"MANHOLE"}}static{this.METERCHAMBER={type:3,value:"METERCHAMBER"}}static{this.SUMP={type:3,value:"SUMP"}}static{this.TRENCH={type:3,value:"TRENCH"}}static{this.VALVECHAMBER={type:3,value:"VALVECHAMBER"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcDistributionChamberElementTypeEnum=zi;class Rn{static{this.PUBLIC={type:3,value:"PUBLIC"}}static{this.RESTRICTED={type:3,value:"RESTRICTED"}}static{this.CONFIDENTIAL={type:3,value:"CONFIDENTIAL"}}static{this.PERSONAL={type:3,value:"PERSONAL"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcDocumentConfidentialityEnum=Rn;class _n{static{this.DRAFT={type:3,value:"DRAFT"}}static{this.FINALDRAFT={type:3,value:"FINALDRAFT"}}static{this.FINAL={type:3,value:"FINAL"}}static{this.REVISION={type:3,value:"REVISION"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcDocumentStatusEnum=_n;class Cn{static{this.SWINGING={type:3,value:"SWINGING"}}static{this.DOUBLE_ACTING={type:3,value:"DOUBLE_ACTING"}}static{this.SLIDING={type:3,value:"SLIDING"}}static{this.FOLDING={type:3,value:"FOLDING"}}static{this.REVOLVING={type:3,value:"REVOLVING"}}static{this.ROLLINGUP={type:3,value:"ROLLINGUP"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcDoorPanelOperationEnum=Cn;class Wn{static{this.LEFT={type:3,value:"LEFT"}}static{this.MIDDLE={type:3,value:"MIDDLE"}}static{this.RIGHT={type:3,value:"RIGHT"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcDoorPanelPositionEnum=Wn;class An{static{this.ALUMINIUM={type:3,value:"ALUMINIUM"}}static{this.HIGH_GRADE_STEEL={type:3,value:"HIGH_GRADE_STEEL"}}static{this.STEEL={type:3,value:"STEEL"}}static{this.WOOD={type:3,value:"WOOD"}}static{this.ALUMINIUM_WOOD={type:3,value:"ALUMINIUM_WOOD"}}static{this.ALUMINIUM_PLASTIC={type:3,value:"ALUMINIUM_PLASTIC"}}static{this.PLASTIC={type:3,value:"PLASTIC"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcDoorStyleConstructionEnum=An;class js{static{this.SINGLE_SWING_LEFT={type:3,value:"SINGLE_SWING_LEFT"}}static{this.SINGLE_SWING_RIGHT={type:3,value:"SINGLE_SWING_RIGHT"}}static{this.DOUBLE_DOOR_SINGLE_SWING={type:3,value:"DOUBLE_DOOR_SINGLE_SWING"}}static{this.DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_LEFT={type:3,value:"DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_LEFT"}}static{this.DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_RIGHT={type:3,value:"DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_RIGHT"}}static{this.DOUBLE_SWING_LEFT={type:3,value:"DOUBLE_SWING_LEFT"}}static{this.DOUBLE_SWING_RIGHT={type:3,value:"DOUBLE_SWING_RIGHT"}}static{this.DOUBLE_DOOR_DOUBLE_SWING={type:3,value:"DOUBLE_DOOR_DOUBLE_SWING"}}static{this.SLIDING_TO_LEFT={type:3,value:"SLIDING_TO_LEFT"}}static{this.SLIDING_TO_RIGHT={type:3,value:"SLIDING_TO_RIGHT"}}static{this.DOUBLE_DOOR_SLIDING={type:3,value:"DOUBLE_DOOR_SLIDING"}}static{this.FOLDING_TO_LEFT={type:3,value:"FOLDING_TO_LEFT"}}static{this.FOLDING_TO_RIGHT={type:3,value:"FOLDING_TO_RIGHT"}}static{this.DOUBLE_DOOR_FOLDING={type:3,value:"DOUBLE_DOOR_FOLDING"}}static{this.REVOLVING={type:3,value:"REVOLVING"}}static{this.ROLLINGUP={type:3,value:"ROLLINGUP"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcDoorStyleOperationEnum=js;class Uo{static{this.BEND={type:3,value:"BEND"}}static{this.CONNECTOR={type:3,value:"CONNECTOR"}}static{this.ENTRY={type:3,value:"ENTRY"}}static{this.EXIT={type:3,value:"EXIT"}}static{this.JUNCTION={type:3,value:"JUNCTION"}}static{this.OBSTRUCTION={type:3,value:"OBSTRUCTION"}}static{this.TRANSITION={type:3,value:"TRANSITION"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcDuctFittingTypeEnum=Uo;class Yo{static{this.RIGIDSEGMENT={type:3,value:"RIGIDSEGMENT"}}static{this.FLEXIBLESEGMENT={type:3,value:"FLEXIBLESEGMENT"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcDuctSegmentTypeEnum=Yo;class ya{static{this.FLATOVAL={type:3,value:"FLATOVAL"}}static{this.RECTANGULAR={type:3,value:"RECTANGULAR"}}static{this.ROUND={type:3,value:"ROUND"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcDuctSilencerTypeEnum=ya;class D0{static{this.COMPUTER={type:3,value:"COMPUTER"}}static{this.DIRECTWATERHEATER={type:3,value:"DIRECTWATERHEATER"}}static{this.DISHWASHER={type:3,value:"DISHWASHER"}}static{this.ELECTRICCOOKER={type:3,value:"ELECTRICCOOKER"}}static{this.ELECTRICHEATER={type:3,value:"ELECTRICHEATER"}}static{this.FACSIMILE={type:3,value:"FACSIMILE"}}static{this.FREESTANDINGFAN={type:3,value:"FREESTANDINGFAN"}}static{this.FREEZER={type:3,value:"FREEZER"}}static{this.FRIDGE_FREEZER={type:3,value:"FRIDGE_FREEZER"}}static{this.HANDDRYER={type:3,value:"HANDDRYER"}}static{this.INDIRECTWATERHEATER={type:3,value:"INDIRECTWATERHEATER"}}static{this.MICROWAVE={type:3,value:"MICROWAVE"}}static{this.PHOTOCOPIER={type:3,value:"PHOTOCOPIER"}}static{this.PRINTER={type:3,value:"PRINTER"}}static{this.REFRIGERATOR={type:3,value:"REFRIGERATOR"}}static{this.RADIANTHEATER={type:3,value:"RADIANTHEATER"}}static{this.SCANNER={type:3,value:"SCANNER"}}static{this.TELEPHONE={type:3,value:"TELEPHONE"}}static{this.TUMBLEDRYER={type:3,value:"TUMBLEDRYER"}}static{this.TV={type:3,value:"TV"}}static{this.VENDINGMACHINE={type:3,value:"VENDINGMACHINE"}}static{this.WASHINGMACHINE={type:3,value:"WASHINGMACHINE"}}static{this.WATERHEATER={type:3,value:"WATERHEATER"}}static{this.WATERCOOLER={type:3,value:"WATERCOOLER"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcElectricApplianceTypeEnum=D0;class ep{static{this.ALTERNATING={type:3,value:"ALTERNATING"}}static{this.DIRECT={type:3,value:"DIRECT"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcElectricCurrentEnum=ep;class NE{static{this.ALARMPANEL={type:3,value:"ALARMPANEL"}}static{this.CONSUMERUNIT={type:3,value:"CONSUMERUNIT"}}static{this.CONTROLPANEL={type:3,value:"CONTROLPANEL"}}static{this.DISTRIBUTIONBOARD={type:3,value:"DISTRIBUTIONBOARD"}}static{this.GASDETECTORPANEL={type:3,value:"GASDETECTORPANEL"}}static{this.INDICATORPANEL={type:3,value:"INDICATORPANEL"}}static{this.MIMICPANEL={type:3,value:"MIMICPANEL"}}static{this.MOTORCONTROLCENTRE={type:3,value:"MOTORCONTROLCENTRE"}}static{this.SWITCHBOARD={type:3,value:"SWITCHBOARD"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcElectricDistributionPointFunctionEnum=NE;class H1{static{this.BATTERY={type:3,value:"BATTERY"}}static{this.CAPACITORBANK={type:3,value:"CAPACITORBANK"}}static{this.HARMONICFILTER={type:3,value:"HARMONICFILTER"}}static{this.INDUCTORBANK={type:3,value:"INDUCTORBANK"}}static{this.UPS={type:3,value:"UPS"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcElectricFlowStorageDeviceTypeEnum=H1;class kl{static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcElectricGeneratorTypeEnum=kl;class Ru{static{this.ELECTRICPOINTHEATER={type:3,value:"ELECTRICPOINTHEATER"}}static{this.ELECTRICCABLEHEATER={type:3,value:"ELECTRICCABLEHEATER"}}static{this.ELECTRICMATHEATER={type:3,value:"ELECTRICMATHEATER"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcElectricHeaterTypeEnum=Ru;class Ea{static{this.DC={type:3,value:"DC"}}static{this.INDUCTION={type:3,value:"INDUCTION"}}static{this.POLYPHASE={type:3,value:"POLYPHASE"}}static{this.RELUCTANCESYNCHRONOUS={type:3,value:"RELUCTANCESYNCHRONOUS"}}static{this.SYNCHRONOUS={type:3,value:"SYNCHRONOUS"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcElectricMotorTypeEnum=Ea;class _E{static{this.TIMECLOCK={type:3,value:"TIMECLOCK"}}static{this.TIMEDELAY={type:3,value:"TIMEDELAY"}}static{this.RELAY={type:3,value:"RELAY"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcElectricTimeControlTypeEnum=_E;class j3{static{this.ACCESSORY_ASSEMBLY={type:3,value:"ACCESSORY_ASSEMBLY"}}static{this.ARCH={type:3,value:"ARCH"}}static{this.BEAM_GRID={type:3,value:"BEAM_GRID"}}static{this.BRACED_FRAME={type:3,value:"BRACED_FRAME"}}static{this.GIRDER={type:3,value:"GIRDER"}}static{this.REINFORCEMENT_UNIT={type:3,value:"REINFORCEMENT_UNIT"}}static{this.RIGID_FRAME={type:3,value:"RIGID_FRAME"}}static{this.SLAB_FIELD={type:3,value:"SLAB_FIELD"}}static{this.TRUSS={type:3,value:"TRUSS"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcElementAssemblyTypeEnum=j3;class q3{static{this.COMPLEX={type:3,value:"COMPLEX"}}static{this.ELEMENT={type:3,value:"ELEMENT"}}static{this.PARTIAL={type:3,value:"PARTIAL"}}}e.IfcElementCompositionEnum=q3;class II{static{this.PRIMARY={type:3,value:"PRIMARY"}}static{this.SECONDARY={type:3,value:"SECONDARY"}}static{this.TERTIARY={type:3,value:"TERTIARY"}}static{this.AUXILIARY={type:3,value:"AUXILIARY"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcEnergySequenceEnum=II;class $3{static{this.COMBINEDVALUE={type:3,value:"COMBINEDVALUE"}}static{this.DISPOSAL={type:3,value:"DISPOSAL"}}static{this.EXTRACTION={type:3,value:"EXTRACTION"}}static{this.INSTALLATION={type:3,value:"INSTALLATION"}}static{this.MANUFACTURE={type:3,value:"MANUFACTURE"}}static{this.TRANSPORTATION={type:3,value:"TRANSPORTATION"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcEnvironmentalImpactCategoryEnum=$3;class i4{static{this.DIRECTEVAPORATIVERANDOMMEDIAAIRCOOLER={type:3,value:"DIRECTEVAPORATIVERANDOMMEDIAAIRCOOLER"}}static{this.DIRECTEVAPORATIVERIGIDMEDIAAIRCOOLER={type:3,value:"DIRECTEVAPORATIVERIGIDMEDIAAIRCOOLER"}}static{this.DIRECTEVAPORATIVESLINGERSPACKAGEDAIRCOOLER={type:3,value:"DIRECTEVAPORATIVESLINGERSPACKAGEDAIRCOOLER"}}static{this.DIRECTEVAPORATIVEPACKAGEDROTARYAIRCOOLER={type:3,value:"DIRECTEVAPORATIVEPACKAGEDROTARYAIRCOOLER"}}static{this.DIRECTEVAPORATIVEAIRWASHER={type:3,value:"DIRECTEVAPORATIVEAIRWASHER"}}static{this.INDIRECTEVAPORATIVEPACKAGEAIRCOOLER={type:3,value:"INDIRECTEVAPORATIVEPACKAGEAIRCOOLER"}}static{this.INDIRECTEVAPORATIVEWETCOIL={type:3,value:"INDIRECTEVAPORATIVEWETCOIL"}}static{this.INDIRECTEVAPORATIVECOOLINGTOWERORCOILCOOLER={type:3,value:"INDIRECTEVAPORATIVECOOLINGTOWERORCOILCOOLER"}}static{this.INDIRECTDIRECTCOMBINATION={type:3,value:"INDIRECTDIRECTCOMBINATION"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcEvaporativeCoolerTypeEnum=i4;class Z3{static{this.DIRECTEXPANSIONSHELLANDTUBE={type:3,value:"DIRECTEXPANSIONSHELLANDTUBE"}}static{this.DIRECTEXPANSIONTUBEINTUBE={type:3,value:"DIRECTEXPANSIONTUBEINTUBE"}}static{this.DIRECTEXPANSIONBRAZEDPLATE={type:3,value:"DIRECTEXPANSIONBRAZEDPLATE"}}static{this.FLOODEDSHELLANDTUBE={type:3,value:"FLOODEDSHELLANDTUBE"}}static{this.SHELLANDCOIL={type:3,value:"SHELLANDCOIL"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcEvaporatorTypeEnum=Z3;class DE{static{this.CENTRIFUGALFORWARDCURVED={type:3,value:"CENTRIFUGALFORWARDCURVED"}}static{this.CENTRIFUGALRADIAL={type:3,value:"CENTRIFUGALRADIAL"}}static{this.CENTRIFUGALBACKWARDINCLINEDCURVED={type:3,value:"CENTRIFUGALBACKWARDINCLINEDCURVED"}}static{this.CENTRIFUGALAIRFOIL={type:3,value:"CENTRIFUGALAIRFOIL"}}static{this.TUBEAXIAL={type:3,value:"TUBEAXIAL"}}static{this.VANEAXIAL={type:3,value:"VANEAXIAL"}}static{this.PROPELLORAXIAL={type:3,value:"PROPELLORAXIAL"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcFanTypeEnum=DE;class n4{static{this.AIRPARTICLEFILTER={type:3,value:"AIRPARTICLEFILTER"}}static{this.ODORFILTER={type:3,value:"ODORFILTER"}}static{this.OILFILTER={type:3,value:"OILFILTER"}}static{this.STRAINER={type:3,value:"STRAINER"}}static{this.WATERFILTER={type:3,value:"WATERFILTER"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcFilterTypeEnum=n4;class CE{static{this.BREECHINGINLET={type:3,value:"BREECHINGINLET"}}static{this.FIREHYDRANT={type:3,value:"FIREHYDRANT"}}static{this.HOSEREEL={type:3,value:"HOSEREEL"}}static{this.SPRINKLER={type:3,value:"SPRINKLER"}}static{this.SPRINKLERDEFLECTOR={type:3,value:"SPRINKLERDEFLECTOR"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcFireSuppressionTerminalTypeEnum=CE;class s4{static{this.SOURCE={type:3,value:"SOURCE"}}static{this.SINK={type:3,value:"SINK"}}static{this.SOURCEANDSINK={type:3,value:"SOURCEANDSINK"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcFlowDirectionEnum=s4;class o4{static{this.PRESSUREGAUGE={type:3,value:"PRESSUREGAUGE"}}static{this.THERMOMETER={type:3,value:"THERMOMETER"}}static{this.AMMETER={type:3,value:"AMMETER"}}static{this.FREQUENCYMETER={type:3,value:"FREQUENCYMETER"}}static{this.POWERFACTORMETER={type:3,value:"POWERFACTORMETER"}}static{this.PHASEANGLEMETER={type:3,value:"PHASEANGLEMETER"}}static{this.VOLTMETER_PEAK={type:3,value:"VOLTMETER_PEAK"}}static{this.VOLTMETER_RMS={type:3,value:"VOLTMETER_RMS"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcFlowInstrumentTypeEnum=o4;class r4{static{this.ELECTRICMETER={type:3,value:"ELECTRICMETER"}}static{this.ENERGYMETER={type:3,value:"ENERGYMETER"}}static{this.FLOWMETER={type:3,value:"FLOWMETER"}}static{this.GASMETER={type:3,value:"GASMETER"}}static{this.OILMETER={type:3,value:"OILMETER"}}static{this.WATERMETER={type:3,value:"WATERMETER"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcFlowMeterTypeEnum=r4;class l4{static{this.FOOTING_BEAM={type:3,value:"FOOTING_BEAM"}}static{this.PAD_FOOTING={type:3,value:"PAD_FOOTING"}}static{this.PILE_CAP={type:3,value:"PILE_CAP"}}static{this.STRIP_FOOTING={type:3,value:"STRIP_FOOTING"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcFootingTypeEnum=l4;class a4{static{this.GASAPPLIANCE={type:3,value:"GASAPPLIANCE"}}static{this.GASBOOSTER={type:3,value:"GASBOOSTER"}}static{this.GASBURNER={type:3,value:"GASBURNER"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcGasTerminalTypeEnum=a4;class xE{static{this.GRAPH_VIEW={type:3,value:"GRAPH_VIEW"}}static{this.SKETCH_VIEW={type:3,value:"SKETCH_VIEW"}}static{this.MODEL_VIEW={type:3,value:"MODEL_VIEW"}}static{this.PLAN_VIEW={type:3,value:"PLAN_VIEW"}}static{this.REFLECTED_PLAN_VIEW={type:3,value:"REFLECTED_PLAN_VIEW"}}static{this.SECTION_VIEW={type:3,value:"SECTION_VIEW"}}static{this.ELEVATION_VIEW={type:3,value:"ELEVATION_VIEW"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcGeometricProjectionEnum=xE;class u4{static{this.GLOBAL_COORDS={type:3,value:"GLOBAL_COORDS"}}static{this.LOCAL_COORDS={type:3,value:"LOCAL_COORDS"}}}e.IfcGlobalOrLocalEnum=u4;class c4{static{this.PLATE={type:3,value:"PLATE"}}static{this.SHELLANDTUBE={type:3,value:"SHELLANDTUBE"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcHeatExchangerTypeEnum=c4;class d4{static{this.STEAMINJECTION={type:3,value:"STEAMINJECTION"}}static{this.ADIABATICAIRWASHER={type:3,value:"ADIABATICAIRWASHER"}}static{this.ADIABATICPAN={type:3,value:"ADIABATICPAN"}}static{this.ADIABATICWETTEDELEMENT={type:3,value:"ADIABATICWETTEDELEMENT"}}static{this.ADIABATICATOMIZING={type:3,value:"ADIABATICATOMIZING"}}static{this.ADIABATICULTRASONIC={type:3,value:"ADIABATICULTRASONIC"}}static{this.ADIABATICRIGIDMEDIA={type:3,value:"ADIABATICRIGIDMEDIA"}}static{this.ADIABATICCOMPRESSEDAIRNOZZLE={type:3,value:"ADIABATICCOMPRESSEDAIRNOZZLE"}}static{this.ASSISTEDELECTRIC={type:3,value:"ASSISTEDELECTRIC"}}static{this.ASSISTEDNATURALGAS={type:3,value:"ASSISTEDNATURALGAS"}}static{this.ASSISTEDPROPANE={type:3,value:"ASSISTEDPROPANE"}}static{this.ASSISTEDBUTANE={type:3,value:"ASSISTEDBUTANE"}}static{this.ASSISTEDSTEAM={type:3,value:"ASSISTEDSTEAM"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcHumidifierTypeEnum=d4;class h4{static{this.INTERNAL={type:3,value:"INTERNAL"}}static{this.EXTERNAL={type:3,value:"EXTERNAL"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcInternalOrExternalEnum=h4;class K3{static{this.ASSETINVENTORY={type:3,value:"ASSETINVENTORY"}}static{this.SPACEINVENTORY={type:3,value:"SPACEINVENTORY"}}static{this.FURNITUREINVENTORY={type:3,value:"FURNITUREINVENTORY"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcInventoryTypeEnum=K3;class f4{static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcJunctionBoxTypeEnum=f4;class OE{static{this.COMPACTFLUORESCENT={type:3,value:"COMPACTFLUORESCENT"}}static{this.FLUORESCENT={type:3,value:"FLUORESCENT"}}static{this.HIGHPRESSUREMERCURY={type:3,value:"HIGHPRESSUREMERCURY"}}static{this.HIGHPRESSURESODIUM={type:3,value:"HIGHPRESSURESODIUM"}}static{this.METALHALIDE={type:3,value:"METALHALIDE"}}static{this.TUNGSTENFILAMENT={type:3,value:"TUNGSTENFILAMENT"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcLampTypeEnum=OE;class p4{static{this.AXIS1={type:3,value:"AXIS1"}}static{this.AXIS2={type:3,value:"AXIS2"}}static{this.AXIS3={type:3,value:"AXIS3"}}}e.IfcLayerSetDirectionEnum=p4;class LE{static{this.TYPE_A={type:3,value:"TYPE_A"}}static{this.TYPE_B={type:3,value:"TYPE_B"}}static{this.TYPE_C={type:3,value:"TYPE_C"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcLightDistributionCurveEnum=LE;class G1{static{this.COMPACTFLUORESCENT={type:3,value:"COMPACTFLUORESCENT"}}static{this.FLUORESCENT={type:3,value:"FLUORESCENT"}}static{this.HIGHPRESSUREMERCURY={type:3,value:"HIGHPRESSUREMERCURY"}}static{this.HIGHPRESSURESODIUM={type:3,value:"HIGHPRESSURESODIUM"}}static{this.LIGHTEMITTINGDIODE={type:3,value:"LIGHTEMITTINGDIODE"}}static{this.LOWPRESSURESODIUM={type:3,value:"LOWPRESSURESODIUM"}}static{this.LOWVOLTAGEHALOGEN={type:3,value:"LOWVOLTAGEHALOGEN"}}static{this.MAINVOLTAGEHALOGEN={type:3,value:"MAINVOLTAGEHALOGEN"}}static{this.METALHALIDE={type:3,value:"METALHALIDE"}}static{this.TUNGSTENFILAMENT={type:3,value:"TUNGSTENFILAMENT"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcLightEmissionSourceEnum=G1;class I4{static{this.POINTSOURCE={type:3,value:"POINTSOURCE"}}static{this.DIRECTIONSOURCE={type:3,value:"DIRECTIONSOURCE"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcLightFixtureTypeEnum=I4;class PE{static{this.LOAD_GROUP={type:3,value:"LOAD_GROUP"}}static{this.LOAD_CASE={type:3,value:"LOAD_CASE"}}static{this.LOAD_COMBINATION_GROUP={type:3,value:"LOAD_COMBINATION_GROUP"}}static{this.LOAD_COMBINATION={type:3,value:"LOAD_COMBINATION"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcLoadGroupTypeEnum=PE;class m4{static{this.LOGICALAND={type:3,value:"LOGICALAND"}}static{this.LOGICALOR={type:3,value:"LOGICALOR"}}}e.IfcLogicalOperatorEnum=m4;class y4{static{this.BRACE={type:3,value:"BRACE"}}static{this.CHORD={type:3,value:"CHORD"}}static{this.COLLAR={type:3,value:"COLLAR"}}static{this.MEMBER={type:3,value:"MEMBER"}}static{this.MULLION={type:3,value:"MULLION"}}static{this.PLATE={type:3,value:"PLATE"}}static{this.POST={type:3,value:"POST"}}static{this.PURLIN={type:3,value:"PURLIN"}}static{this.RAFTER={type:3,value:"RAFTER"}}static{this.STRINGER={type:3,value:"STRINGER"}}static{this.STRUT={type:3,value:"STRUT"}}static{this.STUD={type:3,value:"STUD"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcMemberTypeEnum=y4;class E4{static{this.BELTDRIVE={type:3,value:"BELTDRIVE"}}static{this.COUPLING={type:3,value:"COUPLING"}}static{this.DIRECTDRIVE={type:3,value:"DIRECTDRIVE"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcMotorConnectionTypeEnum=E4;class T4{static{this.NULL={type:3,value:"NULL"}}}e.IfcNullStyle=T4;class ME{static{this.PRODUCT={type:3,value:"PRODUCT"}}static{this.PROCESS={type:3,value:"PROCESS"}}static{this.CONTROL={type:3,value:"CONTROL"}}static{this.RESOURCE={type:3,value:"RESOURCE"}}static{this.ACTOR={type:3,value:"ACTOR"}}static{this.GROUP={type:3,value:"GROUP"}}static{this.PROJECT={type:3,value:"PROJECT"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcObjectTypeEnum=ME;class g4{static{this.CODECOMPLIANCE={type:3,value:"CODECOMPLIANCE"}}static{this.DESIGNINTENT={type:3,value:"DESIGNINTENT"}}static{this.HEALTHANDSAFETY={type:3,value:"HEALTHANDSAFETY"}}static{this.REQUIREMENT={type:3,value:"REQUIREMENT"}}static{this.SPECIFICATION={type:3,value:"SPECIFICATION"}}static{this.TRIGGERCONDITION={type:3,value:"TRIGGERCONDITION"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcObjectiveEnum=g4;class w4{static{this.ASSIGNEE={type:3,value:"ASSIGNEE"}}static{this.ASSIGNOR={type:3,value:"ASSIGNOR"}}static{this.LESSEE={type:3,value:"LESSEE"}}static{this.LESSOR={type:3,value:"LESSOR"}}static{this.LETTINGAGENT={type:3,value:"LETTINGAGENT"}}static{this.OWNER={type:3,value:"OWNER"}}static{this.TENANT={type:3,value:"TENANT"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcOccupantTypeEnum=w4;class mI{static{this.AUDIOVISUALOUTLET={type:3,value:"AUDIOVISUALOUTLET"}}static{this.COMMUNICATIONSOUTLET={type:3,value:"COMMUNICATIONSOUTLET"}}static{this.POWEROUTLET={type:3,value:"POWEROUTLET"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcOutletTypeEnum=mI;class Q3{static{this.GRILL={type:3,value:"GRILL"}}static{this.LOUVER={type:3,value:"LOUVER"}}static{this.SCREEN={type:3,value:"SCREEN"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcPermeableCoveringOperationEnum=Q3;class BE{static{this.PHYSICAL={type:3,value:"PHYSICAL"}}static{this.VIRTUAL={type:3,value:"VIRTUAL"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcPhysicalOrVirtualEnum=BE;class V1{static{this.CAST_IN_PLACE={type:3,value:"CAST_IN_PLACE"}}static{this.COMPOSITE={type:3,value:"COMPOSITE"}}static{this.PRECAST_CONCRETE={type:3,value:"PRECAST_CONCRETE"}}static{this.PREFAB_STEEL={type:3,value:"PREFAB_STEEL"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcPileConstructionEnum=V1;class v4{static{this.COHESION={type:3,value:"COHESION"}}static{this.FRICTION={type:3,value:"FRICTION"}}static{this.SUPPORT={type:3,value:"SUPPORT"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcPileTypeEnum=v4;class R4{static{this.BEND={type:3,value:"BEND"}}static{this.CONNECTOR={type:3,value:"CONNECTOR"}}static{this.ENTRY={type:3,value:"ENTRY"}}static{this.EXIT={type:3,value:"EXIT"}}static{this.JUNCTION={type:3,value:"JUNCTION"}}static{this.OBSTRUCTION={type:3,value:"OBSTRUCTION"}}static{this.TRANSITION={type:3,value:"TRANSITION"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcPipeFittingTypeEnum=R4;class S4{static{this.FLEXIBLESEGMENT={type:3,value:"FLEXIBLESEGMENT"}}static{this.RIGIDSEGMENT={type:3,value:"RIGIDSEGMENT"}}static{this.GUTTER={type:3,value:"GUTTER"}}static{this.SPOOL={type:3,value:"SPOOL"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcPipeSegmentTypeEnum=S4;class A4{static{this.CURTAIN_PANEL={type:3,value:"CURTAIN_PANEL"}}static{this.SHEET={type:3,value:"SHEET"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcPlateTypeEnum=A4;class J3{static{this.ADVICE_CAUTION={type:3,value:"ADVICE_CAUTION"}}static{this.ADVICE_NOTE={type:3,value:"ADVICE_NOTE"}}static{this.ADVICE_WARNING={type:3,value:"ADVICE_WARNING"}}static{this.CALIBRATION={type:3,value:"CALIBRATION"}}static{this.DIAGNOSTIC={type:3,value:"DIAGNOSTIC"}}static{this.SHUTDOWN={type:3,value:"SHUTDOWN"}}static{this.STARTUP={type:3,value:"STARTUP"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcProcedureTypeEnum=J3;class b4{static{this.CURVE={type:3,value:"CURVE"}}static{this.AREA={type:3,value:"AREA"}}}e.IfcProfileTypeEnum=b4;class N4{static{this.CHANGE={type:3,value:"CHANGE"}}static{this.MAINTENANCE={type:3,value:"MAINTENANCE"}}static{this.MOVE={type:3,value:"MOVE"}}static{this.PURCHASE={type:3,value:"PURCHASE"}}static{this.WORK={type:3,value:"WORK"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcProjectOrderRecordTypeEnum=N4;class _4{static{this.CHANGEORDER={type:3,value:"CHANGEORDER"}}static{this.MAINTENANCEWORKORDER={type:3,value:"MAINTENANCEWORKORDER"}}static{this.MOVEORDER={type:3,value:"MOVEORDER"}}static{this.PURCHASEORDER={type:3,value:"PURCHASEORDER"}}static{this.WORKORDER={type:3,value:"WORKORDER"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcProjectOrderTypeEnum=_4;class D4{static{this.PROJECTED_LENGTH={type:3,value:"PROJECTED_LENGTH"}}static{this.TRUE_LENGTH={type:3,value:"TRUE_LENGTH"}}}e.IfcProjectedOrTrueLengthEnum=D4;class C4{static{this.DESIGN={type:3,value:"DESIGN"}}static{this.DESIGNMAXIMUM={type:3,value:"DESIGNMAXIMUM"}}static{this.DESIGNMINIMUM={type:3,value:"DESIGNMINIMUM"}}static{this.SIMULATED={type:3,value:"SIMULATED"}}static{this.ASBUILT={type:3,value:"ASBUILT"}}static{this.COMMISSIONING={type:3,value:"COMMISSIONING"}}static{this.MEASURED={type:3,value:"MEASURED"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTKNOWN={type:3,value:"NOTKNOWN"}}}e.IfcPropertySourceEnum=C4;class x4{static{this.FUSEDISCONNECTOR={type:3,value:"FUSEDISCONNECTOR"}}static{this.CIRCUITBREAKER={type:3,value:"CIRCUITBREAKER"}}static{this.EARTHFAILUREDEVICE={type:3,value:"EARTHFAILUREDEVICE"}}static{this.RESIDUALCURRENTCIRCUITBREAKER={type:3,value:"RESIDUALCURRENTCIRCUITBREAKER"}}static{this.RESIDUALCURRENTSWITCH={type:3,value:"RESIDUALCURRENTSWITCH"}}static{this.VARISTOR={type:3,value:"VARISTOR"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcProtectiveDeviceTypeEnum=x4;class O4{static{this.CIRCULATOR={type:3,value:"CIRCULATOR"}}static{this.ENDSUCTION={type:3,value:"ENDSUCTION"}}static{this.SPLITCASE={type:3,value:"SPLITCASE"}}static{this.VERTICALINLINE={type:3,value:"VERTICALINLINE"}}static{this.VERTICALTURBINE={type:3,value:"VERTICALTURBINE"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcPumpTypeEnum=O4;class L4{static{this.HANDRAIL={type:3,value:"HANDRAIL"}}static{this.GUARDRAIL={type:3,value:"GUARDRAIL"}}static{this.BALUSTRADE={type:3,value:"BALUSTRADE"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcRailingTypeEnum=L4;class P4{static{this.STRAIGHT={type:3,value:"STRAIGHT"}}static{this.SPIRAL={type:3,value:"SPIRAL"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcRampFlightTypeEnum=P4;class M4{static{this.STRAIGHT_RUN_RAMP={type:3,value:"STRAIGHT_RUN_RAMP"}}static{this.TWO_STRAIGHT_RUN_RAMP={type:3,value:"TWO_STRAIGHT_RUN_RAMP"}}static{this.QUARTER_TURN_RAMP={type:3,value:"QUARTER_TURN_RAMP"}}static{this.TWO_QUARTER_TURN_RAMP={type:3,value:"TWO_QUARTER_TURN_RAMP"}}static{this.HALF_TURN_RAMP={type:3,value:"HALF_TURN_RAMP"}}static{this.SPIRAL_RAMP={type:3,value:"SPIRAL_RAMP"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcRampTypeEnum=M4;class FE{static{this.BLINN={type:3,value:"BLINN"}}static{this.FLAT={type:3,value:"FLAT"}}static{this.GLASS={type:3,value:"GLASS"}}static{this.MATT={type:3,value:"MATT"}}static{this.METAL={type:3,value:"METAL"}}static{this.MIRROR={type:3,value:"MIRROR"}}static{this.PHONG={type:3,value:"PHONG"}}static{this.PLASTIC={type:3,value:"PLASTIC"}}static{this.STRAUSS={type:3,value:"STRAUSS"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcReflectanceMethodEnum=FE;class B4{static{this.MAIN={type:3,value:"MAIN"}}static{this.SHEAR={type:3,value:"SHEAR"}}static{this.LIGATURE={type:3,value:"LIGATURE"}}static{this.STUD={type:3,value:"STUD"}}static{this.PUNCHING={type:3,value:"PUNCHING"}}static{this.EDGE={type:3,value:"EDGE"}}static{this.RING={type:3,value:"RING"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcReinforcingBarRoleEnum=B4;class um{static{this.PLAIN={type:3,value:"PLAIN"}}static{this.TEXTURED={type:3,value:"TEXTURED"}}}e.IfcReinforcingBarSurfaceEnum=um;class F4{static{this.CONSUMED={type:3,value:"CONSUMED"}}static{this.PARTIALLYCONSUMED={type:3,value:"PARTIALLYCONSUMED"}}static{this.NOTCONSUMED={type:3,value:"NOTCONSUMED"}}static{this.OCCUPIED={type:3,value:"OCCUPIED"}}static{this.PARTIALLYOCCUPIED={type:3,value:"PARTIALLYOCCUPIED"}}static{this.NOTOCCUPIED={type:3,value:"NOTOCCUPIED"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcResourceConsumptionEnum=F4;class cm{static{this.DIRECTION_X={type:3,value:"DIRECTION_X"}}static{this.DIRECTION_Y={type:3,value:"DIRECTION_Y"}}}e.IfcRibPlateDirectionEnum=cm;class qs{static{this.SUPPLIER={type:3,value:"SUPPLIER"}}static{this.MANUFACTURER={type:3,value:"MANUFACTURER"}}static{this.CONTRACTOR={type:3,value:"CONTRACTOR"}}static{this.SUBCONTRACTOR={type:3,value:"SUBCONTRACTOR"}}static{this.ARCHITECT={type:3,value:"ARCHITECT"}}static{this.STRUCTURALENGINEER={type:3,value:"STRUCTURALENGINEER"}}static{this.COSTENGINEER={type:3,value:"COSTENGINEER"}}static{this.CLIENT={type:3,value:"CLIENT"}}static{this.BUILDINGOWNER={type:3,value:"BUILDINGOWNER"}}static{this.BUILDINGOPERATOR={type:3,value:"BUILDINGOPERATOR"}}static{this.MECHANICALENGINEER={type:3,value:"MECHANICALENGINEER"}}static{this.ELECTRICALENGINEER={type:3,value:"ELECTRICALENGINEER"}}static{this.PROJECTMANAGER={type:3,value:"PROJECTMANAGER"}}static{this.FACILITIESMANAGER={type:3,value:"FACILITIESMANAGER"}}static{this.CIVILENGINEER={type:3,value:"CIVILENGINEER"}}static{this.COMISSIONINGENGINEER={type:3,value:"COMISSIONINGENGINEER"}}static{this.ENGINEER={type:3,value:"ENGINEER"}}static{this.OWNER={type:3,value:"OWNER"}}static{this.CONSULTANT={type:3,value:"CONSULTANT"}}static{this.CONSTRUCTIONMANAGER={type:3,value:"CONSTRUCTIONMANAGER"}}static{this.FIELDCONSTRUCTIONMANAGER={type:3,value:"FIELDCONSTRUCTIONMANAGER"}}static{this.RESELLER={type:3,value:"RESELLER"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}}e.IfcRoleEnum=qs;class X3{static{this.FLAT_ROOF={type:3,value:"FLAT_ROOF"}}static{this.SHED_ROOF={type:3,value:"SHED_ROOF"}}static{this.GABLE_ROOF={type:3,value:"GABLE_ROOF"}}static{this.HIP_ROOF={type:3,value:"HIP_ROOF"}}static{this.HIPPED_GABLE_ROOF={type:3,value:"HIPPED_GABLE_ROOF"}}static{this.GAMBREL_ROOF={type:3,value:"GAMBREL_ROOF"}}static{this.MANSARD_ROOF={type:3,value:"MANSARD_ROOF"}}static{this.BARREL_ROOF={type:3,value:"BARREL_ROOF"}}static{this.RAINBOW_ROOF={type:3,value:"RAINBOW_ROOF"}}static{this.BUTTERFLY_ROOF={type:3,value:"BUTTERFLY_ROOF"}}static{this.PAVILION_ROOF={type:3,value:"PAVILION_ROOF"}}static{this.DOME_ROOF={type:3,value:"DOME_ROOF"}}static{this.FREEFORM={type:3,value:"FREEFORM"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcRoofTypeEnum=X3;class UE{static{this.EXA={type:3,value:"EXA"}}static{this.PETA={type:3,value:"PETA"}}static{this.TERA={type:3,value:"TERA"}}static{this.GIGA={type:3,value:"GIGA"}}static{this.MEGA={type:3,value:"MEGA"}}static{this.KILO={type:3,value:"KILO"}}static{this.HECTO={type:3,value:"HECTO"}}static{this.DECA={type:3,value:"DECA"}}static{this.DECI={type:3,value:"DECI"}}static{this.CENTI={type:3,value:"CENTI"}}static{this.MILLI={type:3,value:"MILLI"}}static{this.MICRO={type:3,value:"MICRO"}}static{this.NANO={type:3,value:"NANO"}}static{this.PICO={type:3,value:"PICO"}}static{this.FEMTO={type:3,value:"FEMTO"}}static{this.ATTO={type:3,value:"ATTO"}}}e.IfcSIPrefix=UE;class yI{static{this.AMPERE={type:3,value:"AMPERE"}}static{this.BECQUEREL={type:3,value:"BECQUEREL"}}static{this.CANDELA={type:3,value:"CANDELA"}}static{this.COULOMB={type:3,value:"COULOMB"}}static{this.CUBIC_METRE={type:3,value:"CUBIC_METRE"}}static{this.DEGREE_CELSIUS={type:3,value:"DEGREE_CELSIUS"}}static{this.FARAD={type:3,value:"FARAD"}}static{this.GRAM={type:3,value:"GRAM"}}static{this.GRAY={type:3,value:"GRAY"}}static{this.HENRY={type:3,value:"HENRY"}}static{this.HERTZ={type:3,value:"HERTZ"}}static{this.JOULE={type:3,value:"JOULE"}}static{this.KELVIN={type:3,value:"KELVIN"}}static{this.LUMEN={type:3,value:"LUMEN"}}static{this.LUX={type:3,value:"LUX"}}static{this.METRE={type:3,value:"METRE"}}static{this.MOLE={type:3,value:"MOLE"}}static{this.NEWTON={type:3,value:"NEWTON"}}static{this.OHM={type:3,value:"OHM"}}static{this.PASCAL={type:3,value:"PASCAL"}}static{this.RADIAN={type:3,value:"RADIAN"}}static{this.SECOND={type:3,value:"SECOND"}}static{this.SIEMENS={type:3,value:"SIEMENS"}}static{this.SIEVERT={type:3,value:"SIEVERT"}}static{this.SQUARE_METRE={type:3,value:"SQUARE_METRE"}}static{this.STERADIAN={type:3,value:"STERADIAN"}}static{this.TESLA={type:3,value:"TESLA"}}static{this.VOLT={type:3,value:"VOLT"}}static{this.WATT={type:3,value:"WATT"}}static{this.WEBER={type:3,value:"WEBER"}}}e.IfcSIUnitName=yI;class HE{static{this.BATH={type:3,value:"BATH"}}static{this.BIDET={type:3,value:"BIDET"}}static{this.CISTERN={type:3,value:"CISTERN"}}static{this.SHOWER={type:3,value:"SHOWER"}}static{this.SINK={type:3,value:"SINK"}}static{this.SANITARYFOUNTAIN={type:3,value:"SANITARYFOUNTAIN"}}static{this.TOILETPAN={type:3,value:"TOILETPAN"}}static{this.URINAL={type:3,value:"URINAL"}}static{this.WASHHANDBASIN={type:3,value:"WASHHANDBASIN"}}static{this.WCSEAT={type:3,value:"WCSEAT"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcSanitaryTerminalTypeEnum=HE;class GE{static{this.UNIFORM={type:3,value:"UNIFORM"}}static{this.TAPERED={type:3,value:"TAPERED"}}}e.IfcSectionTypeEnum=GE;class U4{static{this.CO2SENSOR={type:3,value:"CO2SENSOR"}}static{this.FIRESENSOR={type:3,value:"FIRESENSOR"}}static{this.FLOWSENSOR={type:3,value:"FLOWSENSOR"}}static{this.GASSENSOR={type:3,value:"GASSENSOR"}}static{this.HEATSENSOR={type:3,value:"HEATSENSOR"}}static{this.HUMIDITYSENSOR={type:3,value:"HUMIDITYSENSOR"}}static{this.LIGHTSENSOR={type:3,value:"LIGHTSENSOR"}}static{this.MOISTURESENSOR={type:3,value:"MOISTURESENSOR"}}static{this.MOVEMENTSENSOR={type:3,value:"MOVEMENTSENSOR"}}static{this.PRESSURESENSOR={type:3,value:"PRESSURESENSOR"}}static{this.SMOKESENSOR={type:3,value:"SMOKESENSOR"}}static{this.SOUNDSENSOR={type:3,value:"SOUNDSENSOR"}}static{this.TEMPERATURESENSOR={type:3,value:"TEMPERATURESENSOR"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcSensorTypeEnum=U4;class oh{static{this.START_START={type:3,value:"START_START"}}static{this.START_FINISH={type:3,value:"START_FINISH"}}static{this.FINISH_START={type:3,value:"FINISH_START"}}static{this.FINISH_FINISH={type:3,value:"FINISH_FINISH"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcSequenceEnum=oh;class eg{static{this.A_QUALITYOFCOMPONENTS={type:3,value:"A_QUALITYOFCOMPONENTS"}}static{this.B_DESIGNLEVEL={type:3,value:"B_DESIGNLEVEL"}}static{this.C_WORKEXECUTIONLEVEL={type:3,value:"C_WORKEXECUTIONLEVEL"}}static{this.D_INDOORENVIRONMENT={type:3,value:"D_INDOORENVIRONMENT"}}static{this.E_OUTDOORENVIRONMENT={type:3,value:"E_OUTDOORENVIRONMENT"}}static{this.F_INUSECONDITIONS={type:3,value:"F_INUSECONDITIONS"}}static{this.G_MAINTENANCELEVEL={type:3,value:"G_MAINTENANCELEVEL"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcServiceLifeFactorTypeEnum=eg;class fs{static{this.ACTUALSERVICELIFE={type:3,value:"ACTUALSERVICELIFE"}}static{this.EXPECTEDSERVICELIFE={type:3,value:"EXPECTEDSERVICELIFE"}}static{this.OPTIMISTICREFERENCESERVICELIFE={type:3,value:"OPTIMISTICREFERENCESERVICELIFE"}}static{this.PESSIMISTICREFERENCESERVICELIFE={type:3,value:"PESSIMISTICREFERENCESERVICELIFE"}}static{this.REFERENCESERVICELIFE={type:3,value:"REFERENCESERVICELIFE"}}}e.IfcServiceLifeTypeEnum=fs;class H4{static{this.FLOOR={type:3,value:"FLOOR"}}static{this.ROOF={type:3,value:"ROOF"}}static{this.LANDING={type:3,value:"LANDING"}}static{this.BASESLAB={type:3,value:"BASESLAB"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcSlabTypeEnum=H4;class VE{static{this.DBA={type:3,value:"DBA"}}static{this.DBB={type:3,value:"DBB"}}static{this.DBC={type:3,value:"DBC"}}static{this.NC={type:3,value:"NC"}}static{this.NR={type:3,value:"NR"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcSoundScaleEnum=VE;class G4{static{this.SECTIONALRADIATOR={type:3,value:"SECTIONALRADIATOR"}}static{this.PANELRADIATOR={type:3,value:"PANELRADIATOR"}}static{this.TUBULARRADIATOR={type:3,value:"TUBULARRADIATOR"}}static{this.CONVECTOR={type:3,value:"CONVECTOR"}}static{this.BASEBOARDHEATER={type:3,value:"BASEBOARDHEATER"}}static{this.FINNEDTUBEUNIT={type:3,value:"FINNEDTUBEUNIT"}}static{this.UNITHEATER={type:3,value:"UNITHEATER"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcSpaceHeaterTypeEnum=G4;class tg{static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcSpaceTypeEnum=tg;class kE{static{this.BIRDCAGE={type:3,value:"BIRDCAGE"}}static{this.COWL={type:3,value:"COWL"}}static{this.RAINWATERHOPPER={type:3,value:"RAINWATERHOPPER"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcStackTerminalTypeEnum=kE;class V4{static{this.STRAIGHT={type:3,value:"STRAIGHT"}}static{this.WINDER={type:3,value:"WINDER"}}static{this.SPIRAL={type:3,value:"SPIRAL"}}static{this.CURVED={type:3,value:"CURVED"}}static{this.FREEFORM={type:3,value:"FREEFORM"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcStairFlightTypeEnum=V4;class dm{static{this.STRAIGHT_RUN_STAIR={type:3,value:"STRAIGHT_RUN_STAIR"}}static{this.TWO_STRAIGHT_RUN_STAIR={type:3,value:"TWO_STRAIGHT_RUN_STAIR"}}static{this.QUARTER_WINDING_STAIR={type:3,value:"QUARTER_WINDING_STAIR"}}static{this.QUARTER_TURN_STAIR={type:3,value:"QUARTER_TURN_STAIR"}}static{this.HALF_WINDING_STAIR={type:3,value:"HALF_WINDING_STAIR"}}static{this.HALF_TURN_STAIR={type:3,value:"HALF_TURN_STAIR"}}static{this.TWO_QUARTER_WINDING_STAIR={type:3,value:"TWO_QUARTER_WINDING_STAIR"}}static{this.TWO_QUARTER_TURN_STAIR={type:3,value:"TWO_QUARTER_TURN_STAIR"}}static{this.THREE_QUARTER_WINDING_STAIR={type:3,value:"THREE_QUARTER_WINDING_STAIR"}}static{this.THREE_QUARTER_TURN_STAIR={type:3,value:"THREE_QUARTER_TURN_STAIR"}}static{this.SPIRAL_STAIR={type:3,value:"SPIRAL_STAIR"}}static{this.DOUBLE_RETURN_STAIR={type:3,value:"DOUBLE_RETURN_STAIR"}}static{this.CURVED_RUN_STAIR={type:3,value:"CURVED_RUN_STAIR"}}static{this.TWO_CURVED_RUN_STAIR={type:3,value:"TWO_CURVED_RUN_STAIR"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcStairTypeEnum=dm;class tf{static{this.READWRITE={type:3,value:"READWRITE"}}static{this.READONLY={type:3,value:"READONLY"}}static{this.LOCKED={type:3,value:"LOCKED"}}static{this.READWRITELOCKED={type:3,value:"READWRITELOCKED"}}static{this.READONLYLOCKED={type:3,value:"READONLYLOCKED"}}}e.IfcStateEnum=tf;class EI{static{this.RIGID_JOINED_MEMBER={type:3,value:"RIGID_JOINED_MEMBER"}}static{this.PIN_JOINED_MEMBER={type:3,value:"PIN_JOINED_MEMBER"}}static{this.CABLE={type:3,value:"CABLE"}}static{this.TENSION_MEMBER={type:3,value:"TENSION_MEMBER"}}static{this.COMPRESSION_MEMBER={type:3,value:"COMPRESSION_MEMBER"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcStructuralCurveTypeEnum=EI;class Ls{static{this.BENDING_ELEMENT={type:3,value:"BENDING_ELEMENT"}}static{this.MEMBRANE_ELEMENT={type:3,value:"MEMBRANE_ELEMENT"}}static{this.SHELL={type:3,value:"SHELL"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcStructuralSurfaceTypeEnum=Ls;class tp{static{this.POSITIVE={type:3,value:"POSITIVE"}}static{this.NEGATIVE={type:3,value:"NEGATIVE"}}static{this.BOTH={type:3,value:"BOTH"}}}e.IfcSurfaceSide=tp;class zE{static{this.BUMP={type:3,value:"BUMP"}}static{this.OPACITY={type:3,value:"OPACITY"}}static{this.REFLECTION={type:3,value:"REFLECTION"}}static{this.SELFILLUMINATION={type:3,value:"SELFILLUMINATION"}}static{this.SHININESS={type:3,value:"SHININESS"}}static{this.SPECULAR={type:3,value:"SPECULAR"}}static{this.TEXTURE={type:3,value:"TEXTURE"}}static{this.TRANSPARENCYMAP={type:3,value:"TRANSPARENCYMAP"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcSurfaceTextureEnum=zE;class TI{static{this.CONTACTOR={type:3,value:"CONTACTOR"}}static{this.EMERGENCYSTOP={type:3,value:"EMERGENCYSTOP"}}static{this.STARTER={type:3,value:"STARTER"}}static{this.SWITCHDISCONNECTOR={type:3,value:"SWITCHDISCONNECTOR"}}static{this.TOGGLESWITCH={type:3,value:"TOGGLESWITCH"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcSwitchingDeviceTypeEnum=TI;class k1{static{this.PREFORMED={type:3,value:"PREFORMED"}}static{this.SECTIONAL={type:3,value:"SECTIONAL"}}static{this.EXPANSION={type:3,value:"EXPANSION"}}static{this.PRESSUREVESSEL={type:3,value:"PRESSUREVESSEL"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcTankTypeEnum=k1;class WE{static{this.STRAND={type:3,value:"STRAND"}}static{this.WIRE={type:3,value:"WIRE"}}static{this.BAR={type:3,value:"BAR"}}static{this.COATED={type:3,value:"COATED"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcTendonTypeEnum=WE;class ig{static{this.LEFT={type:3,value:"LEFT"}}static{this.RIGHT={type:3,value:"RIGHT"}}static{this.UP={type:3,value:"UP"}}static{this.DOWN={type:3,value:"DOWN"}}}e.IfcTextPath=ig;class nf{static{this.PEOPLE={type:3,value:"PEOPLE"}}static{this.LIGHTING={type:3,value:"LIGHTING"}}static{this.EQUIPMENT={type:3,value:"EQUIPMENT"}}static{this.VENTILATIONINDOORAIR={type:3,value:"VENTILATIONINDOORAIR"}}static{this.VENTILATIONOUTSIDEAIR={type:3,value:"VENTILATIONOUTSIDEAIR"}}static{this.RECIRCULATEDAIR={type:3,value:"RECIRCULATEDAIR"}}static{this.EXHAUSTAIR={type:3,value:"EXHAUSTAIR"}}static{this.AIREXCHANGERATE={type:3,value:"AIREXCHANGERATE"}}static{this.DRYBULBTEMPERATURE={type:3,value:"DRYBULBTEMPERATURE"}}static{this.RELATIVEHUMIDITY={type:3,value:"RELATIVEHUMIDITY"}}static{this.INFILTRATION={type:3,value:"INFILTRATION"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcThermalLoadSourceEnum=nf;class st{static{this.SENSIBLE={type:3,value:"SENSIBLE"}}static{this.LATENT={type:3,value:"LATENT"}}static{this.RADIANT={type:3,value:"RADIANT"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcThermalLoadTypeEnum=st;class jn{static{this.CONTINUOUS={type:3,value:"CONTINUOUS"}}static{this.DISCRETE={type:3,value:"DISCRETE"}}static{this.DISCRETEBINARY={type:3,value:"DISCRETEBINARY"}}static{this.PIECEWISEBINARY={type:3,value:"PIECEWISEBINARY"}}static{this.PIECEWISECONSTANT={type:3,value:"PIECEWISECONSTANT"}}static{this.PIECEWISECONTINUOUS={type:3,value:"PIECEWISECONTINUOUS"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcTimeSeriesDataTypeEnum=jn;class k4{static{this.ANNUAL={type:3,value:"ANNUAL"}}static{this.MONTHLY={type:3,value:"MONTHLY"}}static{this.WEEKLY={type:3,value:"WEEKLY"}}static{this.DAILY={type:3,value:"DAILY"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcTimeSeriesScheduleTypeEnum=k4;class YE{static{this.CURRENT={type:3,value:"CURRENT"}}static{this.FREQUENCY={type:3,value:"FREQUENCY"}}static{this.VOLTAGE={type:3,value:"VOLTAGE"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcTransformerTypeEnum=YE;class z4{static{this.DISCONTINUOUS={type:3,value:"DISCONTINUOUS"}}static{this.CONTINUOUS={type:3,value:"CONTINUOUS"}}static{this.CONTSAMEGRADIENT={type:3,value:"CONTSAMEGRADIENT"}}static{this.CONTSAMEGRADIENTSAMECURVATURE={type:3,value:"CONTSAMEGRADIENTSAMECURVATURE"}}}e.IfcTransitionCode=z4;class W4{static{this.ELEVATOR={type:3,value:"ELEVATOR"}}static{this.ESCALATOR={type:3,value:"ESCALATOR"}}static{this.MOVINGWALKWAY={type:3,value:"MOVINGWALKWAY"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcTransportElementTypeEnum=W4;class Y4{static{this.CARTESIAN={type:3,value:"CARTESIAN"}}static{this.PARAMETER={type:3,value:"PARAMETER"}}static{this.UNSPECIFIED={type:3,value:"UNSPECIFIED"}}}e.IfcTrimmingPreference=Y4;class ng{static{this.FINNED={type:3,value:"FINNED"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcTubeBundleTypeEnum=ng;class j4{static{this.ABSORBEDDOSEUNIT={type:3,value:"ABSORBEDDOSEUNIT"}}static{this.AMOUNTOFSUBSTANCEUNIT={type:3,value:"AMOUNTOFSUBSTANCEUNIT"}}static{this.AREAUNIT={type:3,value:"AREAUNIT"}}static{this.DOSEEQUIVALENTUNIT={type:3,value:"DOSEEQUIVALENTUNIT"}}static{this.ELECTRICCAPACITANCEUNIT={type:3,value:"ELECTRICCAPACITANCEUNIT"}}static{this.ELECTRICCHARGEUNIT={type:3,value:"ELECTRICCHARGEUNIT"}}static{this.ELECTRICCONDUCTANCEUNIT={type:3,value:"ELECTRICCONDUCTANCEUNIT"}}static{this.ELECTRICCURRENTUNIT={type:3,value:"ELECTRICCURRENTUNIT"}}static{this.ELECTRICRESISTANCEUNIT={type:3,value:"ELECTRICRESISTANCEUNIT"}}static{this.ELECTRICVOLTAGEUNIT={type:3,value:"ELECTRICVOLTAGEUNIT"}}static{this.ENERGYUNIT={type:3,value:"ENERGYUNIT"}}static{this.FORCEUNIT={type:3,value:"FORCEUNIT"}}static{this.FREQUENCYUNIT={type:3,value:"FREQUENCYUNIT"}}static{this.ILLUMINANCEUNIT={type:3,value:"ILLUMINANCEUNIT"}}static{this.INDUCTANCEUNIT={type:3,value:"INDUCTANCEUNIT"}}static{this.LENGTHUNIT={type:3,value:"LENGTHUNIT"}}static{this.LUMINOUSFLUXUNIT={type:3,value:"LUMINOUSFLUXUNIT"}}static{this.LUMINOUSINTENSITYUNIT={type:3,value:"LUMINOUSINTENSITYUNIT"}}static{this.MAGNETICFLUXDENSITYUNIT={type:3,value:"MAGNETICFLUXDENSITYUNIT"}}static{this.MAGNETICFLUXUNIT={type:3,value:"MAGNETICFLUXUNIT"}}static{this.MASSUNIT={type:3,value:"MASSUNIT"}}static{this.PLANEANGLEUNIT={type:3,value:"PLANEANGLEUNIT"}}static{this.POWERUNIT={type:3,value:"POWERUNIT"}}static{this.PRESSUREUNIT={type:3,value:"PRESSUREUNIT"}}static{this.RADIOACTIVITYUNIT={type:3,value:"RADIOACTIVITYUNIT"}}static{this.SOLIDANGLEUNIT={type:3,value:"SOLIDANGLEUNIT"}}static{this.THERMODYNAMICTEMPERATUREUNIT={type:3,value:"THERMODYNAMICTEMPERATUREUNIT"}}static{this.TIMEUNIT={type:3,value:"TIMEUNIT"}}static{this.VOLUMEUNIT={type:3,value:"VOLUMEUNIT"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}}e.IfcUnitEnum=j4;class sg{static{this.AIRHANDLER={type:3,value:"AIRHANDLER"}}static{this.AIRCONDITIONINGUNIT={type:3,value:"AIRCONDITIONINGUNIT"}}static{this.SPLITSYSTEM={type:3,value:"SPLITSYSTEM"}}static{this.ROOFTOPUNIT={type:3,value:"ROOFTOPUNIT"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcUnitaryEquipmentTypeEnum=sg;class q4{static{this.AIRRELEASE={type:3,value:"AIRRELEASE"}}static{this.ANTIVACUUM={type:3,value:"ANTIVACUUM"}}static{this.CHANGEOVER={type:3,value:"CHANGEOVER"}}static{this.CHECK={type:3,value:"CHECK"}}static{this.COMMISSIONING={type:3,value:"COMMISSIONING"}}static{this.DIVERTING={type:3,value:"DIVERTING"}}static{this.DRAWOFFCOCK={type:3,value:"DRAWOFFCOCK"}}static{this.DOUBLECHECK={type:3,value:"DOUBLECHECK"}}static{this.DOUBLEREGULATING={type:3,value:"DOUBLEREGULATING"}}static{this.FAUCET={type:3,value:"FAUCET"}}static{this.FLUSHING={type:3,value:"FLUSHING"}}static{this.GASCOCK={type:3,value:"GASCOCK"}}static{this.GASTAP={type:3,value:"GASTAP"}}static{this.ISOLATING={type:3,value:"ISOLATING"}}static{this.MIXING={type:3,value:"MIXING"}}static{this.PRESSUREREDUCING={type:3,value:"PRESSUREREDUCING"}}static{this.PRESSURERELIEF={type:3,value:"PRESSURERELIEF"}}static{this.REGULATING={type:3,value:"REGULATING"}}static{this.SAFETYCUTOFF={type:3,value:"SAFETYCUTOFF"}}static{this.STEAMTRAP={type:3,value:"STEAMTRAP"}}static{this.STOPCOCK={type:3,value:"STOPCOCK"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcValveTypeEnum=q4;class ot{static{this.COMPRESSION={type:3,value:"COMPRESSION"}}static{this.SPRING={type:3,value:"SPRING"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcVibrationIsolatorTypeEnum=ot;class gI{static{this.STANDARD={type:3,value:"STANDARD"}}static{this.POLYGONAL={type:3,value:"POLYGONAL"}}static{this.SHEAR={type:3,value:"SHEAR"}}static{this.ELEMENTEDWALL={type:3,value:"ELEMENTEDWALL"}}static{this.PLUMBINGWALL={type:3,value:"PLUMBINGWALL"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcWallTypeEnum=gI;class jE{static{this.FLOORTRAP={type:3,value:"FLOORTRAP"}}static{this.FLOORWASTE={type:3,value:"FLOORWASTE"}}static{this.GULLYSUMP={type:3,value:"GULLYSUMP"}}static{this.GULLYTRAP={type:3,value:"GULLYTRAP"}}static{this.GREASEINTERCEPTOR={type:3,value:"GREASEINTERCEPTOR"}}static{this.OILINTERCEPTOR={type:3,value:"OILINTERCEPTOR"}}static{this.PETROLINTERCEPTOR={type:3,value:"PETROLINTERCEPTOR"}}static{this.ROOFDRAIN={type:3,value:"ROOFDRAIN"}}static{this.WASTEDISPOSALUNIT={type:3,value:"WASTEDISPOSALUNIT"}}static{this.WASTETRAP={type:3,value:"WASTETRAP"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcWasteTerminalTypeEnum=jE;class C0{static{this.SIDEHUNGRIGHTHAND={type:3,value:"SIDEHUNGRIGHTHAND"}}static{this.SIDEHUNGLEFTHAND={type:3,value:"SIDEHUNGLEFTHAND"}}static{this.TILTANDTURNRIGHTHAND={type:3,value:"TILTANDTURNRIGHTHAND"}}static{this.TILTANDTURNLEFTHAND={type:3,value:"TILTANDTURNLEFTHAND"}}static{this.TOPHUNG={type:3,value:"TOPHUNG"}}static{this.BOTTOMHUNG={type:3,value:"BOTTOMHUNG"}}static{this.PIVOTHORIZONTAL={type:3,value:"PIVOTHORIZONTAL"}}static{this.PIVOTVERTICAL={type:3,value:"PIVOTVERTICAL"}}static{this.SLIDINGHORIZONTAL={type:3,value:"SLIDINGHORIZONTAL"}}static{this.SLIDINGVERTICAL={type:3,value:"SLIDINGVERTICAL"}}static{this.REMOVABLECASEMENT={type:3,value:"REMOVABLECASEMENT"}}static{this.FIXEDCASEMENT={type:3,value:"FIXEDCASEMENT"}}static{this.OTHEROPERATION={type:3,value:"OTHEROPERATION"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcWindowPanelOperationEnum=C0;class qE{static{this.LEFT={type:3,value:"LEFT"}}static{this.MIDDLE={type:3,value:"MIDDLE"}}static{this.RIGHT={type:3,value:"RIGHT"}}static{this.BOTTOM={type:3,value:"BOTTOM"}}static{this.TOP={type:3,value:"TOP"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcWindowPanelPositionEnum=qE;class z1{static{this.ALUMINIUM={type:3,value:"ALUMINIUM"}}static{this.HIGH_GRADE_STEEL={type:3,value:"HIGH_GRADE_STEEL"}}static{this.STEEL={type:3,value:"STEEL"}}static{this.WOOD={type:3,value:"WOOD"}}static{this.ALUMINIUM_WOOD={type:3,value:"ALUMINIUM_WOOD"}}static{this.PLASTIC={type:3,value:"PLASTIC"}}static{this.OTHER_CONSTRUCTION={type:3,value:"OTHER_CONSTRUCTION"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcWindowStyleConstructionEnum=z1;class W1{static{this.SINGLE_PANEL={type:3,value:"SINGLE_PANEL"}}static{this.DOUBLE_PANEL_VERTICAL={type:3,value:"DOUBLE_PANEL_VERTICAL"}}static{this.DOUBLE_PANEL_HORIZONTAL={type:3,value:"DOUBLE_PANEL_HORIZONTAL"}}static{this.TRIPLE_PANEL_VERTICAL={type:3,value:"TRIPLE_PANEL_VERTICAL"}}static{this.TRIPLE_PANEL_BOTTOM={type:3,value:"TRIPLE_PANEL_BOTTOM"}}static{this.TRIPLE_PANEL_TOP={type:3,value:"TRIPLE_PANEL_TOP"}}static{this.TRIPLE_PANEL_LEFT={type:3,value:"TRIPLE_PANEL_LEFT"}}static{this.TRIPLE_PANEL_RIGHT={type:3,value:"TRIPLE_PANEL_RIGHT"}}static{this.TRIPLE_PANEL_HORIZONTAL={type:3,value:"TRIPLE_PANEL_HORIZONTAL"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcWindowStyleOperationEnum=W1;class $4{static{this.ACTUAL={type:3,value:"ACTUAL"}}static{this.BASELINE={type:3,value:"BASELINE"}}static{this.PLANNED={type:3,value:"PLANNED"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcWorkControlTypeEnum=$4;class $E extends Yt{constructor(D,L,G){super(),this.Role=D,this.UserDefinedRole=L,this.Description=G,this.type=3630933823}}e.IfcActorRole=$E;class Y1 extends Yt{constructor(D,L,G){super(),this.Purpose=D,this.Description=L,this.UserDefinedPurpose=G,this.type=618182010}}e.IfcAddress=Y1;class og extends Yt{constructor(D,L,G,j){super(),this.ApplicationDeveloper=D,this.Version=L,this.ApplicationFullName=G,this.ApplicationIdentifier=j,this.type=639542469}}e.IfcApplication=og;class j1 extends Yt{constructor(D,L,G,j,te,de){super(),this.Name=D,this.Description=L,this.AppliedValue=G,this.UnitBasis=j,this.ApplicableDate=te,this.FixedUntilDate=de,this.type=411424972}}e.IfcAppliedValue=j1;class rg extends Yt{constructor(D,L,G,j,te){super(),this.ComponentOfTotal=D,this.Components=L,this.ArithmeticOperator=G,this.Name=j,this.Description=te,this.type=1110488051}}e.IfcAppliedValueRelationship=rg;class rh extends Yt{constructor(D,L,G,j,te,de,Ie){super(),this.Description=D,this.ApprovalDateTime=L,this.ApprovalStatus=G,this.ApprovalLevel=j,this.ApprovalQualifier=te,this.Name=de,this.Identifier=Ie,this.type=130549933}}e.IfcApproval=rh;class q1 extends Yt{constructor(D,L,G){super(),this.Actor=D,this.Approval=L,this.Role=G,this.type=2080292479}}e.IfcApprovalActorRelationship=q1;class $1 extends Yt{constructor(D,L){super(),this.ApprovedProperties=D,this.Approval=L,this.type=390851274}}e.IfcApprovalPropertyRelationship=$1;class Z4 extends Yt{constructor(D,L,G,j){super(),this.RelatedApproval=D,this.RelatingApproval=L,this.Description=G,this.Name=j,this.type=3869604511}}e.IfcApprovalRelationship=Z4;class lh extends Yt{constructor(D){super(),this.Name=D,this.type=4037036970}}e.IfcBoundaryCondition=lh;class Z1 extends lh{constructor(D,L,G,j,te,de,Ie){super(D),this.Name=D,this.LinearStiffnessByLengthX=L,this.LinearStiffnessByLengthY=G,this.LinearStiffnessByLengthZ=j,this.RotationalStiffnessByLengthX=te,this.RotationalStiffnessByLengthY=de,this.RotationalStiffnessByLengthZ=Ie,this.type=1560379544}}e.IfcBoundaryEdgeCondition=Z1;class lg extends lh{constructor(D,L,G,j){super(D),this.Name=D,this.LinearStiffnessByAreaX=L,this.LinearStiffnessByAreaY=G,this.LinearStiffnessByAreaZ=j,this.type=3367102660}}e.IfcBoundaryFaceCondition=lg;class K1 extends lh{constructor(D,L,G,j,te,de,Ie){super(D),this.Name=D,this.LinearStiffnessX=L,this.LinearStiffnessY=G,this.LinearStiffnessZ=j,this.RotationalStiffnessX=te,this.RotationalStiffnessY=de,this.RotationalStiffnessZ=Ie,this.type=1387855156}}e.IfcBoundaryNodeCondition=K1;class ZE extends K1{constructor(D,L,G,j,te,de,Ie,Se){super(D,L,G,j,te,de,Ie),this.Name=D,this.LinearStiffnessX=L,this.LinearStiffnessY=G,this.LinearStiffnessZ=j,this.RotationalStiffnessX=te,this.RotationalStiffnessY=de,this.RotationalStiffnessZ=Ie,this.WarpingStiffness=Se,this.type=2069777674}}e.IfcBoundaryNodeConditionWarping=ZE;class KE extends Yt{constructor(D,L,G){super(),this.DayComponent=D,this.MonthComponent=L,this.YearComponent=G,this.type=622194075}}e.IfcCalendarDate=KE;class ag extends Yt{constructor(D,L,G,j){super(),this.Source=D,this.Edition=L,this.EditionDate=G,this.Name=j,this.type=747523909}}e.IfcClassification=ag;class Q1 extends Yt{constructor(D,L,G){super(),this.Notation=D,this.ItemOf=L,this.Title=G,this.type=1767535486}}e.IfcClassificationItem=Q1;class ug extends Yt{constructor(D,L){super(),this.RelatingItem=D,this.RelatedItems=L,this.type=1098599126}}e.IfcClassificationItemRelationship=ug;class ah extends Yt{constructor(D){super(),this.NotationFacets=D,this.type=938368621}}e.IfcClassificationNotation=ah;class W extends Yt{constructor(D){super(),this.NotationValue=D,this.type=3639012971}}e.IfcClassificationNotationFacet=W;class le extends Yt{constructor(D){super(),this.Name=D,this.type=3264961684}}e.IfcColourSpecification=le;class be extends Yt{constructor(){super(),this.type=2859738748}}e.IfcConnectionGeometry=be;class Ve extends be{constructor(D,L){super(),this.PointOnRelatingElement=D,this.PointOnRelatedElement=L,this.type=2614616156}}e.IfcConnectionPointGeometry=Ve;class nt extends be{constructor(D,L,G){super(),this.LocationAtRelatingElement=D,this.LocationAtRelatedElement=L,this.ProfileOfPort=G,this.type=4257277454}}e.IfcConnectionPortGeometry=nt;class vt extends be{constructor(D,L){super(),this.SurfaceOnRelatingElement=D,this.SurfaceOnRelatedElement=L,this.type=2732653382}}e.IfcConnectionSurfaceGeometry=vt;class Nt extends Yt{constructor(D,L,G,j,te,de,Ie){super(),this.Name=D,this.Description=L,this.ConstraintGrade=G,this.ConstraintSource=j,this.CreatingActor=te,this.CreationTime=de,this.UserDefinedGrade=Ie,this.type=1959218052}}e.IfcConstraint=Nt;class xt extends Yt{constructor(D,L,G,j,te){super(),this.Name=D,this.Description=L,this.RelatingConstraint=G,this.RelatedConstraints=j,this.LogicalAggregator=te,this.type=1658513725}}e.IfcConstraintAggregationRelationship=xt;class Jt extends Yt{constructor(D,L){super(),this.ClassifiedConstraint=D,this.RelatedClassifications=L,this.type=613356794}}e.IfcConstraintClassificationRelationship=Jt;class k extends Yt{constructor(D,L,G,j){super(),this.Name=D,this.Description=L,this.RelatingConstraint=G,this.RelatedConstraints=j,this.type=347226245}}e.IfcConstraintRelationship=k;class X extends Yt{constructor(D,L,G){super(),this.HourOffset=D,this.MinuteOffset=L,this.Sense=G,this.type=1065062679}}e.IfcCoordinatedUniversalTimeOffset=X;class we extends j1{constructor(D,L,G,j,te,de,Ie,Se){super(D,L,G,j,te,de),this.Name=D,this.Description=L,this.AppliedValue=G,this.UnitBasis=j,this.ApplicableDate=te,this.FixedUntilDate=de,this.CostType=Ie,this.Condition=Se,this.type=602808272}}e.IfcCostValue=we;class xe extends Yt{constructor(D,L,G,j,te){super(),this.RelatingMonetaryUnit=D,this.RelatedMonetaryUnit=L,this.ExchangeRate=G,this.RateDateTime=j,this.RateSource=te,this.type=539742890}}e.IfcCurrencyRelationship=xe;class Ke extends Yt{constructor(D,L){super(),this.Name=D,this.PatternList=L,this.type=1105321065}}e.IfcCurveStyleFont=Ke;class yt extends Yt{constructor(D,L,G){super(),this.Name=D,this.CurveFont=L,this.CurveFontScaling=G,this.type=2367409068}}e.IfcCurveStyleFontAndScaling=yt;class gt extends Yt{constructor(D,L){super(),this.VisibleSegmentLength=D,this.InvisibleSegmentLength=L,this.type=3510044353}}e.IfcCurveStyleFontPattern=gt;class Rt extends Yt{constructor(D,L){super(),this.DateComponent=D,this.TimeComponent=L,this.type=1072939445}}e.IfcDateAndTime=Rt;class $t extends Yt{constructor(D,L,G){super(),this.Elements=D,this.UnitType=L,this.UserDefinedType=G,this.type=1765591967}}e.IfcDerivedUnit=$t;class Ri extends Yt{constructor(D,L){super(),this.Unit=D,this.Exponent=L,this.type=1045800335}}e.IfcDerivedUnitElement=Ri;class Vi extends Yt{constructor(D,L,G,j,te,de,Ie){super(),this.LengthExponent=D,this.MassExponent=L,this.TimeExponent=G,this.ElectricCurrentExponent=j,this.ThermodynamicTemperatureExponent=te,this.AmountOfSubstanceExponent=de,this.LuminousIntensityExponent=Ie,this.type=2949456006}}e.IfcDimensionalExponents=Vi;class tn extends Yt{constructor(D,L,G){super(),this.FileExtension=D,this.MimeContentType=L,this.MimeSubtype=G,this.type=1376555844}}e.IfcDocumentElectronicFormat=tn;class qi extends Yt{constructor(D,L,G,j,te,de,Ie,Se,Be,wt,Ui,yn,qn,Pn,qo,zc,Au){super(),this.DocumentId=D,this.Name=L,this.Description=G,this.DocumentReferences=j,this.Purpose=te,this.IntendedUse=de,this.Scope=Ie,this.Revision=Se,this.DocumentOwner=Be,this.Editors=wt,this.CreationTime=Ui,this.LastRevisionTime=yn,this.ElectronicFormat=qn,this.ValidFrom=Pn,this.ValidUntil=qo,this.Confidentiality=zc,this.Status=Au,this.type=1154170062}}e.IfcDocumentInformation=qi;class Yi extends Yt{constructor(D,L,G){super(),this.RelatingDocument=D,this.RelatedDocuments=L,this.RelationshipType=G,this.type=770865208}}e.IfcDocumentInformationRelationship=Yi;class Kn extends Yt{constructor(D,L,G,j){super(),this.Name=D,this.Description=L,this.RelatingDraughtingCallout=G,this.RelatedDraughtingCallout=j,this.type=3796139169}}e.IfcDraughtingCalloutRelationship=Kn;class Fs extends j1{constructor(D,L,G,j,te,de,Ie,Se,Be){super(D,L,G,j,te,de),this.Name=D,this.Description=L,this.AppliedValue=G,this.UnitBasis=j,this.ApplicableDate=te,this.FixedUntilDate=de,this.ImpactType=Ie,this.Category=Se,this.UserDefinedCategory=Be,this.type=1648886627}}e.IfcEnvironmentalImpactValue=Fs;class us extends Yt{constructor(D,L,G){super(),this.Location=D,this.ItemReference=L,this.Name=G,this.type=3200245327}}e.IfcExternalReference=us;class gs extends us{constructor(D,L,G){super(D,L,G),this.Location=D,this.ItemReference=L,this.Name=G,this.type=2242383968}}e.IfcExternallyDefinedHatchStyle=gs;class ir extends us{constructor(D,L,G){super(D,L,G),this.Location=D,this.ItemReference=L,this.Name=G,this.type=1040185647}}e.IfcExternallyDefinedSurfaceStyle=ir;class zl extends us{constructor(D,L,G){super(D,L,G),this.Location=D,this.ItemReference=L,this.Name=G,this.type=3207319532}}e.IfcExternallyDefinedSymbol=zl;class wc extends us{constructor(D,L,G){super(D,L,G),this.Location=D,this.ItemReference=L,this.Name=G,this.type=3548104201}}e.IfcExternallyDefinedTextFont=wc;class Ba extends Yt{constructor(D,L,G){super(),this.AxisTag=D,this.AxisCurve=L,this.SameSense=G,this.type=852622518}}e.IfcGridAxis=Ba;class ar extends Yt{constructor(D,L){super(),this.TimeStamp=D,this.ListValues=L,this.type=3020489413}}e.IfcIrregularTimeSeriesValue=ar;class K4 extends Yt{constructor(D,L,G,j,te){super(),this.Name=D,this.Version=L,this.Publisher=G,this.VersionDate=j,this.LibraryReference=te,this.type=2655187982}}e.IfcLibraryInformation=K4;class rA extends us{constructor(D,L,G){super(D,L,G),this.Location=D,this.ItemReference=L,this.Name=G,this.type=3452421091}}e.IfcLibraryReference=rA;class xM extends Yt{constructor(D,L,G){super(),this.MainPlaneAngle=D,this.SecondaryPlaneAngle=L,this.LuminousIntensity=G,this.type=4162380809}}e.IfcLightDistributionData=xM;class OM extends Yt{constructor(D,L){super(),this.LightDistributionCurve=D,this.DistributionData=L,this.type=1566485204}}e.IfcLightIntensityDistribution=OM;class LM extends Yt{constructor(D,L,G,j,te){super(),this.HourComponent=D,this.MinuteComponent=L,this.SecondComponent=G,this.Zone=j,this.DaylightSavingOffset=te,this.type=30780891}}e.IfcLocalTime=LM;class PM extends Yt{constructor(D){super(),this.Name=D,this.type=1838606355}}e.IfcMaterial=PM;class x_ extends Yt{constructor(D,L){super(),this.MaterialClassifications=D,this.ClassifiedMaterial=L,this.type=1847130766}}e.IfcMaterialClassificationRelationship=x_;class MM extends Yt{constructor(D,L,G){super(),this.Material=D,this.LayerThickness=L,this.IsVentilated=G,this.type=248100487}}e.IfcMaterialLayer=MM;class $x extends Yt{constructor(D,L){super(),this.MaterialLayers=D,this.LayerSetName=L,this.type=3303938423}}e.IfcMaterialLayerSet=$x;class BM extends Yt{constructor(D,L,G,j){super(),this.ForLayerSet=D,this.LayerSetDirection=L,this.DirectionSense=G,this.OffsetFromReferenceLine=j,this.type=1303795690}}e.IfcMaterialLayerSetUsage=BM;class lA extends Yt{constructor(D){super(),this.Materials=D,this.type=2199411900}}e.IfcMaterialList=lA;class wI extends Yt{constructor(D){super(),this.Material=D,this.type=3265635763}}e.IfcMaterialProperties=wI;class FM extends Yt{constructor(D,L){super(),this.ValueComponent=D,this.UnitComponent=L,this.type=2597039031}}e.IfcMeasureWithUnit=FM;class aA extends wI{constructor(D,L,G,j,te,de){super(D),this.Material=D,this.DynamicViscosity=L,this.YoungModulus=G,this.ShearModulus=j,this.PoissonRatio=te,this.ThermalExpansionCoefficient=de,this.type=4256014907}}e.IfcMechanicalMaterialProperties=aA;class UM extends aA{constructor(D,L,G,j,te,de,Ie,Se,Be,wt,Ui,yn,qn){super(D,L,G,j,te,de),this.Material=D,this.DynamicViscosity=L,this.YoungModulus=G,this.ShearModulus=j,this.PoissonRatio=te,this.ThermalExpansionCoefficient=de,this.YieldStress=Ie,this.UltimateStress=Se,this.UltimateStrain=Be,this.HardeningModule=wt,this.ProportionalStress=Ui,this.PlasticStrain=yn,this.Relaxations=qn,this.type=677618848}}e.IfcMechanicalSteelMaterialProperties=UM;class Q4 extends Nt{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie),this.Name=D,this.Description=L,this.ConstraintGrade=G,this.ConstraintSource=j,this.CreatingActor=te,this.CreationTime=de,this.UserDefinedGrade=Ie,this.Benchmark=Se,this.ValueSource=Be,this.DataValue=wt,this.type=3368373690}}e.IfcMetric=Q4;class Zx extends Yt{constructor(D){super(),this.Currency=D,this.type=2706619895}}e.IfcMonetaryUnit=Zx;class uA extends Yt{constructor(D,L){super(),this.Dimensions=D,this.UnitType=L,this.type=1918398963}}e.IfcNamedUnit=uA;class O_ extends Yt{constructor(){super(),this.type=3701648758}}e.IfcObjectPlacement=O_;class L_ extends Nt{constructor(D,L,G,j,te,de,Ie,Se,Be,wt,Ui){super(D,L,G,j,te,de,Ie),this.Name=D,this.Description=L,this.ConstraintGrade=G,this.ConstraintSource=j,this.CreatingActor=te,this.CreationTime=de,this.UserDefinedGrade=Ie,this.BenchmarkValues=Se,this.ResultValues=Be,this.ObjectiveQualifier=wt,this.UserDefinedQualifier=Ui,this.type=2251480897}}e.IfcObjective=L_;class Kx extends wI{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D),this.Material=D,this.VisibleTransmittance=L,this.SolarTransmittance=G,this.ThermalIrTransmittance=j,this.ThermalIrEmissivityBack=te,this.ThermalIrEmissivityFront=de,this.VisibleReflectanceBack=Ie,this.VisibleReflectanceFront=Se,this.SolarReflectanceFront=Be,this.SolarReflectanceBack=wt,this.type=1227763645}}e.IfcOpticalMaterialProperties=Kx;class Qx extends Yt{constructor(D,L,G,j,te){super(),this.Id=D,this.Name=L,this.Description=G,this.Roles=j,this.Addresses=te,this.type=4251960020}}e.IfcOrganization=Qx;class HM extends Yt{constructor(D,L,G,j){super(),this.Name=D,this.Description=L,this.RelatingOrganization=G,this.RelatedOrganizations=j,this.type=1411181986}}e.IfcOrganizationRelationship=HM;class GM extends Yt{constructor(D,L,G,j,te,de,Ie,Se){super(),this.OwningUser=D,this.OwningApplication=L,this.State=G,this.ChangeAction=j,this.LastModifiedDate=te,this.LastModifyingUser=de,this.LastModifyingApplication=Ie,this.CreationDate=Se,this.type=1207048766}}e.IfcOwnerHistory=GM;class VM extends Yt{constructor(D,L,G,j,te,de,Ie,Se){super(),this.Id=D,this.FamilyName=L,this.GivenName=G,this.MiddleNames=j,this.PrefixTitles=te,this.SuffixTitles=de,this.Roles=Ie,this.Addresses=Se,this.type=2077209135}}e.IfcPerson=VM;class kM extends Yt{constructor(D,L,G){super(),this.ThePerson=D,this.TheOrganization=L,this.Roles=G,this.type=101040310}}e.IfcPersonAndOrganization=kM;class cg extends Yt{constructor(D,L){super(),this.Name=D,this.Description=L,this.type=2483315170}}e.IfcPhysicalQuantity=cg;class uh extends cg{constructor(D,L,G){super(D,L),this.Name=D,this.Description=L,this.Unit=G,this.type=2226359599}}e.IfcPhysicalSimpleQuantity=uh;class zM extends Y1{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G),this.Purpose=D,this.Description=L,this.UserDefinedPurpose=G,this.InternalLocation=j,this.AddressLines=te,this.PostalBox=de,this.Town=Ie,this.Region=Se,this.PostalCode=Be,this.Country=wt,this.type=3355820592}}e.IfcPostalAddress=zM;class J4 extends Yt{constructor(D){super(),this.Name=D,this.type=3727388367}}e.IfcPreDefinedItem=J4;class cA extends J4{constructor(D){super(D),this.Name=D,this.type=990879717}}e.IfcPreDefinedSymbol=cA;class WM extends cA{constructor(D){super(D),this.Name=D,this.type=3213052703}}e.IfcPreDefinedTerminatorSymbol=WM;class P_ extends J4{constructor(D){super(D),this.Name=D,this.type=1775413392}}e.IfcPreDefinedTextFont=P_;class Jx extends Yt{constructor(D,L,G,j){super(),this.Name=D,this.Description=L,this.AssignedItems=G,this.Identifier=j,this.type=2022622350}}e.IfcPresentationLayerAssignment=Jx;class YM extends Jx{constructor(D,L,G,j,te,de,Ie,Se){super(D,L,G,j),this.Name=D,this.Description=L,this.AssignedItems=G,this.Identifier=j,this.LayerOn=te,this.LayerFrozen=de,this.LayerBlocked=Ie,this.LayerStyles=Se,this.type=1304840413}}e.IfcPresentationLayerWithStyle=YM;class dg extends Yt{constructor(D){super(),this.Name=D,this.type=3119450353}}e.IfcPresentationStyle=dg;class jM extends Yt{constructor(D){super(),this.Styles=D,this.type=2417041796}}e.IfcPresentationStyleAssignment=jM;class M_ extends Yt{constructor(D,L,G){super(),this.Name=D,this.Description=L,this.Representations=G,this.type=2095639259}}e.IfcProductRepresentation=M_;class qM extends wI{constructor(D,L,G,j,te){super(D),this.Material=D,this.SpecificHeatCapacity=L,this.N20Content=G,this.COContent=j,this.CO2Content=te,this.type=2267347899}}e.IfcProductsOfCombustionProperties=qM;class ch extends Yt{constructor(D,L){super(),this.ProfileType=D,this.ProfileName=L,this.type=3958567839}}e.IfcProfileDef=ch;class dA extends Yt{constructor(D,L){super(),this.ProfileName=D,this.ProfileDefinition=L,this.type=2802850158}}e.IfcProfileProperties=dA;class B_ extends Yt{constructor(D,L){super(),this.Name=D,this.Description=L,this.type=2598011224}}e.IfcProperty=B_;class $M extends Yt{constructor(D,L,G,j){super(),this.RelatingConstraint=D,this.RelatedProperties=L,this.Name=G,this.Description=j,this.type=3896028662}}e.IfcPropertyConstraintRelationship=$M;class ZM extends Yt{constructor(D,L,G,j,te){super(),this.DependingProperty=D,this.DependantProperty=L,this.Name=G,this.Description=j,this.Expression=te,this.type=148025276}}e.IfcPropertyDependencyRelationship=ZM;class hA extends Yt{constructor(D,L,G){super(),this.Name=D,this.EnumerationValues=L,this.Unit=G,this.type=3710013099}}e.IfcPropertyEnumeration=hA;class fA extends uh{constructor(D,L,G,j){super(D,L,G),this.Name=D,this.Description=L,this.Unit=G,this.AreaValue=j,this.type=2044713172}}e.IfcQuantityArea=fA;class KM extends uh{constructor(D,L,G,j){super(D,L,G),this.Name=D,this.Description=L,this.Unit=G,this.CountValue=j,this.type=2093928680}}e.IfcQuantityCount=KM;class F_ extends uh{constructor(D,L,G,j){super(D,L,G),this.Name=D,this.Description=L,this.Unit=G,this.LengthValue=j,this.type=931644368}}e.IfcQuantityLength=F_;class Xx extends uh{constructor(D,L,G,j){super(D,L,G),this.Name=D,this.Description=L,this.Unit=G,this.TimeValue=j,this.type=3252649465}}e.IfcQuantityTime=Xx;class QM extends uh{constructor(D,L,G,j){super(D,L,G),this.Name=D,this.Description=L,this.Unit=G,this.VolumeValue=j,this.type=2405470396}}e.IfcQuantityVolume=QM;class pA extends uh{constructor(D,L,G,j){super(D,L,G),this.Name=D,this.Description=L,this.Unit=G,this.WeightValue=j,this.type=825690147}}e.IfcQuantityWeight=pA;class IA extends Yt{constructor(D,L,G,j){super(),this.ReferencedDocument=D,this.ReferencingValues=L,this.Name=G,this.Description=j,this.type=2692823254}}e.IfcReferencesValueDocument=IA;class U_ extends Yt{constructor(D,L,G,j,te,de){super(),this.TotalCrossSectionArea=D,this.SteelGrade=L,this.BarSurface=G,this.EffectiveDepth=j,this.NominalBarDiameter=te,this.BarCount=de,this.type=1580146022}}e.IfcReinforcementBarProperties=U_;class eO extends Yt{constructor(D,L){super(),this.RelaxationValue=D,this.InitialStress=L,this.type=1222501353}}e.IfcRelaxation=eO;class H_ extends Yt{constructor(D,L,G,j){super(),this.ContextOfItems=D,this.RepresentationIdentifier=L,this.RepresentationType=G,this.Items=j,this.type=1076942058}}e.IfcRepresentation=H_;class hg extends Yt{constructor(D,L){super(),this.ContextIdentifier=D,this.ContextType=L,this.type=3377609919}}e.IfcRepresentationContext=hg;class fg extends Yt{constructor(){super(),this.type=3008791417}}e.IfcRepresentationItem=fg;class JM extends Yt{constructor(D,L){super(),this.MappingOrigin=D,this.MappedRepresentation=L,this.type=1660063152}}e.IfcRepresentationMap=JM;class G_ extends dA{constructor(D,L,G,j,te,de,Ie){super(D,L),this.ProfileName=D,this.ProfileDefinition=L,this.Thickness=G,this.RibHeight=j,this.RibWidth=te,this.RibSpacing=de,this.Direction=Ie,this.type=3679540991}}e.IfcRibPlateProfileProperties=G_;class sf extends Yt{constructor(D,L,G,j){super(),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.type=2341007311}}e.IfcRoot=sf;class V_ extends uA{constructor(D,L,G){super(new u(0),D),this.UnitType=D,this.Prefix=L,this.Name=G,this.type=448429030}}e.IfcSIUnit=V_;class Wl extends Yt{constructor(D,L,G){super(),this.SectionType=D,this.StartProfile=L,this.EndProfile=G,this.type=2042790032}}e.IfcSectionProperties=Wl;class tO extends Yt{constructor(D,L,G,j,te,de){super(),this.LongitudinalStartPosition=D,this.LongitudinalEndPosition=L,this.TransversePosition=G,this.ReinforcementRole=j,this.SectionDefinition=te,this.CrossSectionReinforcementDefinitions=de,this.type=4165799628}}e.IfcSectionReinforcementProperties=tO;class XM extends Yt{constructor(D,L,G,j,te){super(),this.ShapeRepresentations=D,this.Name=L,this.Description=G,this.ProductDefinitional=j,this.PartOfProductDefinitionShape=te,this.type=867548509}}e.IfcShapeAspect=XM;class QE extends H_{constructor(D,L,G,j){super(D,L,G,j),this.ContextOfItems=D,this.RepresentationIdentifier=L,this.RepresentationType=G,this.Items=j,this.type=3982875396}}e.IfcShapeModel=QE;class eB extends QE{constructor(D,L,G,j){super(D,L,G,j),this.ContextOfItems=D,this.RepresentationIdentifier=L,this.RepresentationType=G,this.Items=j,this.type=4240577450}}e.IfcShapeRepresentation=eB;class of extends B_{constructor(D,L){super(D,L),this.Name=D,this.Description=L,this.type=3692461612}}e.IfcSimpleProperty=of;class x0 extends Yt{constructor(D){super(),this.Name=D,this.type=2273995522}}e.IfcStructuralConnectionCondition=x0;class iO extends Yt{constructor(D){super(),this.Name=D,this.type=2162789131}}e.IfcStructuralLoad=iO;class vI extends iO{constructor(D){super(D),this.Name=D,this.type=2525727697}}e.IfcStructuralLoadStatic=vI;class tB extends vI{constructor(D,L,G,j){super(D),this.Name=D,this.DeltaT_Constant=L,this.DeltaT_Y=G,this.DeltaT_Z=j,this.type=3408363356}}e.IfcStructuralLoadTemperature=tB;class nO extends H_{constructor(D,L,G,j){super(D,L,G,j),this.ContextOfItems=D,this.RepresentationIdentifier=L,this.RepresentationType=G,this.Items=j,this.type=2830218821}}e.IfcStyleModel=nO;class sO extends fg{constructor(D,L,G){super(),this.Item=D,this.Styles=L,this.Name=G,this.type=3958052878}}e.IfcStyledItem=sO;class iB extends nO{constructor(D,L,G,j){super(D,L,G,j),this.ContextOfItems=D,this.RepresentationIdentifier=L,this.RepresentationType=G,this.Items=j,this.type=3049322572}}e.IfcStyledRepresentation=iB;class nB extends dg{constructor(D,L,G){super(D),this.Name=D,this.Side=L,this.Styles=G,this.type=1300840506}}e.IfcSurfaceStyle=nB;class sB extends Yt{constructor(D,L,G,j){super(),this.DiffuseTransmissionColour=D,this.DiffuseReflectionColour=L,this.TransmissionColour=G,this.ReflectanceColour=j,this.type=3303107099}}e.IfcSurfaceStyleLighting=sB;class oB extends Yt{constructor(D,L){super(),this.RefractionIndex=D,this.DispersionFactor=L,this.type=1607154358}}e.IfcSurfaceStyleRefraction=oB;class oO extends Yt{constructor(D){super(),this.SurfaceColour=D,this.type=846575682}}e.IfcSurfaceStyleShading=oO;class rO extends Yt{constructor(D){super(),this.Textures=D,this.type=1351298697}}e.IfcSurfaceStyleWithTextures=rO;class pg extends Yt{constructor(D,L,G,j){super(),this.RepeatS=D,this.RepeatT=L,this.TextureType=G,this.TextureTransform=j,this.type=626085974}}e.IfcSurfaceTexture=pg;class lO extends dg{constructor(D,L){super(D),this.Name=D,this.StyleOfSymbol=L,this.type=1290481447}}e.IfcSymbolStyle=lO;class rf extends Yt{constructor(D,L){super(),this.Name=D,this.Rows=L,this.type=985171141}}e.IfcTable=rf;class aO extends Yt{constructor(D,L){super(),this.RowCells=D,this.IsHeading=L,this.type=531007025}}e.IfcTableRow=aO;class RI extends Y1{constructor(D,L,G,j,te,de,Ie,Se){super(D,L,G),this.Purpose=D,this.Description=L,this.UserDefinedPurpose=G,this.TelephoneNumbers=j,this.FacsimileNumbers=te,this.PagerNumber=de,this.ElectronicMailAddresses=Ie,this.WWWHomePageURL=Se,this.type=912023232}}e.IfcTelecomAddress=RI;class mA extends dg{constructor(D,L,G,j){super(D),this.Name=D,this.TextCharacterAppearance=L,this.TextStyle=G,this.TextFontStyle=j,this.type=1447204868}}e.IfcTextStyle=mA;class rB extends P_{constructor(D,L,G,j,te,de){super(D),this.Name=D,this.FontFamily=L,this.FontStyle=G,this.FontVariant=j,this.FontWeight=te,this.FontSize=de,this.type=1983826977}}e.IfcTextStyleFontModel=rB;class JE extends Yt{constructor(D,L){super(),this.Colour=D,this.BackgroundColour=L,this.type=2636378356}}e.IfcTextStyleForDefinedFont=JE;class lB extends Yt{constructor(D,L,G,j,te,de,Ie){super(),this.TextIndent=D,this.TextAlign=L,this.TextDecoration=G,this.LetterSpacing=j,this.WordSpacing=te,this.TextTransform=de,this.LineHeight=Ie,this.type=1640371178}}e.IfcTextStyleTextModel=lB;class k_ extends Yt{constructor(D,L,G,j,te){super(),this.BoxHeight=D,this.BoxWidth=L,this.BoxSlantAngle=G,this.BoxRotateAngle=j,this.CharacterSpacing=te,this.type=1484833681}}e.IfcTextStyleWithBoxCharacteristics=k_;class X4 extends Yt{constructor(){super(),this.type=280115917}}e.IfcTextureCoordinate=X4;class z_ extends X4{constructor(D,L){super(),this.Mode=D,this.Parameter=L,this.type=1742049831}}e.IfcTextureCoordinateGenerator=z_;class W_ extends X4{constructor(D){super(),this.TextureMaps=D,this.type=2552916305}}e.IfcTextureMap=W_;class aB extends Yt{constructor(D){super(),this.Coordinates=D,this.type=1210645708}}e.IfcTextureVertex=aB;class Ig extends wI{constructor(D,L,G,j,te){super(D),this.Material=D,this.SpecificHeatCapacity=L,this.BoilingPoint=G,this.FreezingPoint=j,this.ThermalConductivity=te,this.type=3317419933}}e.IfcThermalMaterialProperties=Ig;class ip extends Yt{constructor(D,L,G,j,te,de,Ie,Se){super(),this.Name=D,this.Description=L,this.StartTime=G,this.EndTime=j,this.TimeSeriesDataType=te,this.DataOrigin=de,this.UserDefinedDataOrigin=Ie,this.Unit=Se,this.type=3101149627}}e.IfcTimeSeries=ip;class uB extends Yt{constructor(D,L){super(),this.ReferencedTimeSeries=D,this.TimeSeriesReferences=L,this.type=1718945513}}e.IfcTimeSeriesReferenceRelationship=uB;class uO extends Yt{constructor(D){super(),this.ListValues=D,this.type=581633288}}e.IfcTimeSeriesValue=uO;class J1 extends fg{constructor(){super(),this.type=1377556343}}e.IfcTopologicalRepresentationItem=J1;class cB extends QE{constructor(D,L,G,j){super(D,L,G,j),this.ContextOfItems=D,this.RepresentationIdentifier=L,this.RepresentationType=G,this.Items=j,this.type=1735638870}}e.IfcTopologyRepresentation=cB;class dB extends Yt{constructor(D){super(),this.Units=D,this.type=180925521}}e.IfcUnitAssignment=dB;class yA extends J1{constructor(){super(),this.type=2799835756}}e.IfcVertex=yA;class X1 extends Yt{constructor(D,L){super(),this.TextureVertices=D,this.TexturePoints=L,this.type=3304826586}}e.IfcVertexBasedTextureMap=X1;class hB extends yA{constructor(D){super(),this.VertexGeometry=D,this.type=1907098498}}e.IfcVertexPoint=hB;class Ta extends Yt{constructor(D,L){super(),this.IntersectingAxes=D,this.OffsetDistances=L,this.type=891718957}}e.IfcVirtualGridIntersection=Ta;class cO extends wI{constructor(D,L,G,j,te,de,Ie,Se){super(D),this.Material=D,this.IsPotable=L,this.Hardness=G,this.AlkalinityConcentration=j,this.AcidityConcentration=te,this.ImpuritiesContent=de,this.PHLevel=Ie,this.DissolvedSolidsContent=Se,this.type=1065908215}}e.IfcWaterProperties=cO;class hm extends sO{constructor(D,L,G){super(D,L,G),this.Item=D,this.Styles=L,this.Name=G,this.type=2442683028}}e.IfcAnnotationOccurrence=hm;class ev extends hm{constructor(D,L,G){super(D,L,G),this.Item=D,this.Styles=L,this.Name=G,this.type=962685235}}e.IfcAnnotationSurfaceOccurrence=ev;class EA extends hm{constructor(D,L,G){super(D,L,G),this.Item=D,this.Styles=L,this.Name=G,this.type=3612888222}}e.IfcAnnotationSymbolOccurrence=EA;class XE extends hm{constructor(D,L,G){super(D,L,G),this.Item=D,this.Styles=L,this.Name=G,this.type=2297822566}}e.IfcAnnotationTextOccurrence=XE;class Y_ extends ch{constructor(D,L,G){super(D,L),this.ProfileType=D,this.ProfileName=L,this.OuterCurve=G,this.type=3798115385}}e.IfcArbitraryClosedProfileDef=Y_;class mg extends ch{constructor(D,L,G){super(D,L),this.ProfileType=D,this.ProfileName=L,this.Curve=G,this.type=1310608509}}e.IfcArbitraryOpenProfileDef=mg;class fB extends Y_{constructor(D,L,G,j){super(D,L,G),this.ProfileType=D,this.ProfileName=L,this.OuterCurve=G,this.InnerCurves=j,this.type=2705031697}}e.IfcArbitraryProfileDefWithVoids=fB;class pB extends pg{constructor(D,L,G,j,te,de){super(D,L,G,j),this.RepeatS=D,this.RepeatT=L,this.TextureType=G,this.TextureTransform=j,this.RasterFormat=te,this.RasterCode=de,this.type=616511568}}e.IfcBlobTexture=pB;class IB extends mg{constructor(D,L,G,j){super(D,L,G),this.ProfileType=D,this.ProfileName=L,this.Curve=G,this.Thickness=j,this.type=3150382593}}e.IfcCenterLineProfileDef=IB;class mB extends us{constructor(D,L,G,j){super(D,L,G),this.Location=D,this.ItemReference=L,this.Name=G,this.ReferencedSource=j,this.type=647927063}}e.IfcClassificationReference=mB;class TA extends le{constructor(D,L,G,j){super(D),this.Name=D,this.Red=L,this.Green=G,this.Blue=j,this.type=776857604}}e.IfcColourRgb=TA;class yB extends B_{constructor(D,L,G,j){super(D,L),this.Name=D,this.Description=L,this.UsageName=G,this.HasProperties=j,this.type=2542286263}}e.IfcComplexProperty=yB;class EB extends ch{constructor(D,L,G,j){super(D,L),this.ProfileType=D,this.ProfileName=L,this.Profiles=G,this.Label=j,this.type=1485152156}}e.IfcCompositeProfileDef=EB;class j_ extends J1{constructor(D){super(),this.CfsFaces=D,this.type=370225590}}e.IfcConnectedFaceSet=j_;class TB extends be{constructor(D,L){super(),this.CurveOnRelatingElement=D,this.CurveOnRelatedElement=L,this.type=1981873012}}e.IfcConnectionCurveGeometry=TB;class gB extends Ve{constructor(D,L,G,j,te){super(D,L),this.PointOnRelatingElement=D,this.PointOnRelatedElement=L,this.EccentricityInX=G,this.EccentricityInY=j,this.EccentricityInZ=te,this.type=45288368}}e.IfcConnectionPointEccentricity=gB;class tv extends uA{constructor(D,L,G){super(D,L),this.Dimensions=D,this.UnitType=L,this.Name=G,this.type=3050246964}}e.IfcContextDependentUnit=tv;class dO extends uA{constructor(D,L,G,j){super(D,L),this.Dimensions=D,this.UnitType=L,this.Name=G,this.ConversionFactor=j,this.type=2889183280}}e.IfcConversionBasedUnit=dO;class lf extends dg{constructor(D,L,G,j){super(D),this.Name=D,this.CurveFont=L,this.CurveWidth=G,this.CurveColour=j,this.type=3800577675}}e.IfcCurveStyle=lf;class wB extends ch{constructor(D,L,G,j,te){super(D,L),this.ProfileType=D,this.ProfileName=L,this.ParentProfile=G,this.Operator=j,this.Label=te,this.type=3632507154}}e.IfcDerivedProfileDef=wB;class SI extends Kn{constructor(D,L,G,j){super(D,L,G,j),this.Name=D,this.Description=L,this.RelatingDraughtingCallout=G,this.RelatedDraughtingCallout=j,this.type=2273265877}}e.IfcDimensionCalloutRelationship=SI;class hO extends Kn{constructor(D,L,G,j){super(D,L,G,j),this.Name=D,this.Description=L,this.RelatingDraughtingCallout=G,this.RelatedDraughtingCallout=j,this.type=1694125774}}e.IfcDimensionPair=hO;class gA extends us{constructor(D,L,G){super(D,L,G),this.Location=D,this.ItemReference=L,this.Name=G,this.type=3732053477}}e.IfcDocumentReference=gA;class vB extends P_{constructor(D){super(D),this.Name=D,this.type=4170525392}}e.IfcDraughtingPreDefinedTextFont=vB;class fm extends J1{constructor(D,L){super(),this.EdgeStart=D,this.EdgeEnd=L,this.type=3900360178}}e.IfcEdge=fm;class RB extends fm{constructor(D,L,G,j){super(D,L),this.EdgeStart=D,this.EdgeEnd=L,this.EdgeGeometry=G,this.SameSense=j,this.type=476780140}}e.IfcEdgeCurve=RB;class wA extends wI{constructor(D,L,G,j){super(D),this.Material=D,this.ExtendedProperties=L,this.Description=G,this.Name=j,this.type=1860660968}}e.IfcExtendedMaterialProperties=wA;class q_ extends J1{constructor(D){super(),this.Bounds=D,this.type=2556980723}}e.IfcFace=q_;class vA extends J1{constructor(D,L){super(),this.Bound=D,this.Orientation=L,this.type=1809719519}}e.IfcFaceBound=vA;class $_ extends vA{constructor(D,L){super(D,L),this.Bound=D,this.Orientation=L,this.type=803316827}}e.IfcFaceOuterBound=$_;class SB extends q_{constructor(D,L,G){super(D),this.Bounds=D,this.FaceSurface=L,this.SameSense=G,this.type=3008276851}}e.IfcFaceSurface=SB;class Z_ extends x0{constructor(D,L,G,j,te,de,Ie){super(D),this.Name=D,this.TensionFailureX=L,this.TensionFailureY=G,this.TensionFailureZ=j,this.CompressionFailureX=te,this.CompressionFailureY=de,this.CompressionFailureZ=Ie,this.type=4219587988}}e.IfcFailureConnectionCondition=Z_;class yg extends dg{constructor(D,L){super(D),this.Name=D,this.FillStyles=L,this.type=738692330}}e.IfcFillAreaStyle=yg;class AB extends wI{constructor(D,L,G,j,te){super(D),this.Material=D,this.CombustionTemperature=L,this.CarbonContent=G,this.LowerHeatingValue=j,this.HigherHeatingValue=te,this.type=3857492461}}e.IfcFuelProperties=AB;class K_ extends wI{constructor(D,L,G,j){super(D),this.Material=D,this.MolecularWeight=L,this.Porosity=G,this.MassDensity=j,this.type=803998398}}e.IfcGeneralMaterialProperties=K_;class fO extends dA{constructor(D,L,G,j,te,de,Ie){super(D,L),this.ProfileName=D,this.ProfileDefinition=L,this.PhysicalWeight=G,this.Perimeter=j,this.MinimumPlateThickness=te,this.MaximumPlateThickness=de,this.CrossSectionArea=Ie,this.type=1446786286}}e.IfcGeneralProfileProperties=fO;class RA extends hg{constructor(D,L,G,j,te,de){super(D,L),this.ContextIdentifier=D,this.ContextType=L,this.CoordinateSpaceDimension=G,this.Precision=j,this.WorldCoordinateSystem=te,this.TrueNorth=de,this.type=3448662350}}e.IfcGeometricRepresentationContext=RA;class vo extends fg{constructor(){super(),this.type=2453401579}}e.IfcGeometricRepresentationItem=vo;class bB extends RA{constructor(D,L,G,j,te,de){super(D,L,new b(0),null,new u(0),null),this.ContextIdentifier=D,this.ContextType=L,this.ParentContext=G,this.TargetScale=j,this.TargetView=te,this.UserDefinedTargetView=de,this.type=4142052618}}e.IfcGeometricRepresentationSubContext=bB;class pO extends vo{constructor(D){super(),this.Elements=D,this.type=3590301190}}e.IfcGeometricSet=pO;class IO extends O_{constructor(D,L){super(),this.PlacementLocation=D,this.PlacementRefDirection=L,this.type=178086475}}e.IfcGridPlacement=IO;class SA extends vo{constructor(D,L){super(),this.BaseSurface=D,this.AgreementFlag=L,this.type=812098782}}e.IfcHalfSpaceSolid=SA;class NB extends wI{constructor(D,L,G,j,te,de){super(D),this.Material=D,this.UpperVaporResistanceFactor=L,this.LowerVaporResistanceFactor=G,this.IsothermalMoistureCapacity=j,this.VaporPermeability=te,this.MoistureDiffusivity=de,this.type=2445078500}}e.IfcHygroscopicMaterialProperties=NB;class AA extends pg{constructor(D,L,G,j,te){super(D,L,G,j),this.RepeatS=D,this.RepeatT=L,this.TextureType=G,this.TextureTransform=j,this.UrlReference=te,this.type=3905492369}}e.IfcImageTexture=AA;class _B extends ip{constructor(D,L,G,j,te,de,Ie,Se,Be){super(D,L,G,j,te,de,Ie,Se),this.Name=D,this.Description=L,this.StartTime=G,this.EndTime=j,this.TimeSeriesDataType=te,this.DataOrigin=de,this.UserDefinedDataOrigin=Ie,this.Unit=Se,this.Values=Be,this.type=3741457305}}e.IfcIrregularTimeSeries=_B;class iv extends vo{constructor(D,L,G,j){super(),this.Name=D,this.LightColour=L,this.AmbientIntensity=G,this.Intensity=j,this.type=1402838566}}e.IfcLightSource=iv;class DB extends iv{constructor(D,L,G,j){super(D,L,G,j),this.Name=D,this.LightColour=L,this.AmbientIntensity=G,this.Intensity=j,this.type=125510826}}e.IfcLightSourceAmbient=DB;class Q_ extends iv{constructor(D,L,G,j,te){super(D,L,G,j),this.Name=D,this.LightColour=L,this.AmbientIntensity=G,this.Intensity=j,this.Orientation=te,this.type=2604431987}}e.IfcLightSourceDirectional=Q_;class CB extends iv{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j),this.Name=D,this.LightColour=L,this.AmbientIntensity=G,this.Intensity=j,this.Position=te,this.ColourAppearance=de,this.ColourTemperature=Ie,this.LuminousFlux=Se,this.LightEmissionSource=Be,this.LightDistributionDataSource=wt,this.type=4266656042}}e.IfcLightSourceGoniometric=CB;class mO extends iv{constructor(D,L,G,j,te,de,Ie,Se,Be){super(D,L,G,j),this.Name=D,this.LightColour=L,this.AmbientIntensity=G,this.Intensity=j,this.Position=te,this.Radius=de,this.ConstantAttenuation=Ie,this.DistanceAttenuation=Se,this.QuadricAttenuation=Be,this.type=1520743889}}e.IfcLightSourcePositional=mO;class xB extends mO{constructor(D,L,G,j,te,de,Ie,Se,Be,wt,Ui,yn,qn){super(D,L,G,j,te,de,Ie,Se,Be),this.Name=D,this.LightColour=L,this.AmbientIntensity=G,this.Intensity=j,this.Position=te,this.Radius=de,this.ConstantAttenuation=Ie,this.DistanceAttenuation=Se,this.QuadricAttenuation=Be,this.Orientation=wt,this.ConcentrationExponent=Ui,this.SpreadAngle=yn,this.BeamWidthAngle=qn,this.type=3422422726}}e.IfcLightSourceSpot=xB;class bA extends O_{constructor(D,L){super(),this.PlacementRelTo=D,this.RelativePlacement=L,this.type=2624227202}}e.IfcLocalPlacement=bA;class NA extends J1{constructor(){super(),this.type=1008929658}}e.IfcLoop=NA;class _A extends fg{constructor(D,L){super(),this.MappingSource=D,this.MappingTarget=L,this.type=2347385850}}e.IfcMappedItem=_A;class J_ extends M_{constructor(D,L,G,j){super(D,L,G),this.Name=D,this.Description=L,this.Representations=G,this.RepresentedMaterial=j,this.type=2022407955}}e.IfcMaterialDefinitionRepresentation=J_;class yO extends aA{constructor(D,L,G,j,te,de,Ie,Se,Be,wt,Ui,yn){super(D,L,G,j,te,de),this.Material=D,this.DynamicViscosity=L,this.YoungModulus=G,this.ShearModulus=j,this.PoissonRatio=te,this.ThermalExpansionCoefficient=de,this.CompressiveStrength=Ie,this.MaxAggregateSize=Se,this.AdmixturesDescription=Be,this.Workability=wt,this.ProtectivePoreRatio=Ui,this.WaterImpermeability=yn,this.type=1430189142}}e.IfcMechanicalConcreteMaterialProperties=yO;class DA extends sf{constructor(D,L,G,j){super(D,L,G,j),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.type=219451334}}e.IfcObjectDefinition=DA;class X_ extends vo{constructor(D){super(),this.RepeatFactor=D,this.type=2833995503}}e.IfcOneDirectionRepeatFactor=X_;class OB extends j_{constructor(D){super(D),this.CfsFaces=D,this.type=2665983363}}e.IfcOpenShell=OB;class EO extends fm{constructor(D,L){super(new u(0),new u(0)),this.EdgeElement=D,this.Orientation=L,this.type=1029017970}}e.IfcOrientedEdge=EO;class dh extends ch{constructor(D,L,G){super(D,L),this.ProfileType=D,this.ProfileName=L,this.Position=G,this.type=2529465313}}e.IfcParameterizedProfileDef=dh;class eD extends J1{constructor(D){super(),this.EdgeList=D,this.type=2519244187}}e.IfcPath=eD;class TO extends cg{constructor(D,L,G,j,te,de){super(D,L),this.Name=D,this.Description=L,this.HasQuantities=G,this.Discrimination=j,this.Quality=te,this.Usage=de,this.type=3021840470}}e.IfcPhysicalComplexQuantity=TO;class Qs extends pg{constructor(D,L,G,j,te,de,Ie,Se){super(D,L,G,j),this.RepeatS=D,this.RepeatT=L,this.TextureType=G,this.TextureTransform=j,this.Width=te,this.Height=de,this.ColourComponents=Ie,this.Pixel=Se,this.type=597895409}}e.IfcPixelTexture=Qs;class CA extends vo{constructor(D){super(),this.Location=D,this.type=2004835150}}e.IfcPlacement=CA;class tD extends vo{constructor(D,L){super(),this.SizeInX=D,this.SizeInY=L,this.type=1663979128}}e.IfcPlanarExtent=tD;class nv extends vo{constructor(){super(),this.type=2067069095}}e.IfcPoint=nv;class iD extends nv{constructor(D,L){super(),this.BasisCurve=D,this.PointParameter=L,this.type=4022376103}}e.IfcPointOnCurve=iD;class LB extends nv{constructor(D,L,G){super(),this.BasisSurface=D,this.PointParameterU=L,this.PointParameterV=G,this.type=1423911732}}e.IfcPointOnSurface=LB;class PB extends NA{constructor(D){super(),this.Polygon=D,this.type=2924175390}}e.IfcPolyLoop=PB;class gO extends SA{constructor(D,L,G,j){super(D,L),this.BaseSurface=D,this.AgreementFlag=L,this.Position=G,this.PolygonalBoundary=j,this.type=2775532180}}e.IfcPolygonalBoundedHalfSpace=gO;class wO extends J4{constructor(D){super(D),this.Name=D,this.type=759155922}}e.IfcPreDefinedColour=wO;class vO extends J4{constructor(D){super(D),this.Name=D,this.type=2559016684}}e.IfcPreDefinedCurveFont=vO;class MB extends cA{constructor(D){super(D),this.Name=D,this.type=433424934}}e.IfcPreDefinedDimensionSymbol=MB;class Eg extends cA{constructor(D){super(D),this.Name=D,this.type=179317114}}e.IfcPreDefinedPointMarkerSymbol=Eg;class RO extends M_{constructor(D,L,G){super(D,L,G),this.Name=D,this.Description=L,this.Representations=G,this.type=673634403}}e.IfcProductDefinitionShape=RO;class BB extends of{constructor(D,L,G,j,te){super(D,L),this.Name=D,this.Description=L,this.UpperBoundValue=G,this.LowerBoundValue=j,this.Unit=te,this.type=871118103}}e.IfcPropertyBoundedValue=BB;class SO extends sf{constructor(D,L,G,j){super(D,L,G,j),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.type=1680319473}}e.IfcPropertyDefinition=SO;class AO extends of{constructor(D,L,G,j){super(D,L),this.Name=D,this.Description=L,this.EnumerationValues=G,this.EnumerationReference=j,this.type=4166981789}}e.IfcPropertyEnumeratedValue=AO;class FB extends of{constructor(D,L,G,j){super(D,L),this.Name=D,this.Description=L,this.ListValues=G,this.Unit=j,this.type=2752243245}}e.IfcPropertyListValue=FB;class UB extends of{constructor(D,L,G,j){super(D,L),this.Name=D,this.Description=L,this.UsageName=G,this.PropertyReference=j,this.type=941946838}}e.IfcPropertyReferenceValue=UB;class Fa extends SO{constructor(D,L,G,j){super(D,L,G,j),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.type=3357820518}}e.IfcPropertySetDefinition=Fa;class bO extends of{constructor(D,L,G,j){super(D,L),this.Name=D,this.Description=L,this.NominalValue=G,this.Unit=j,this.type=3650150729}}e.IfcPropertySingleValue=bO;class HB extends of{constructor(D,L,G,j,te,de,Ie){super(D,L),this.Name=D,this.Description=L,this.DefiningValues=G,this.DefinedValues=j,this.Expression=te,this.DefiningUnit=de,this.DefinedUnit=Ie,this.type=110355661}}e.IfcPropertyTableValue=HB;class sv extends dh{constructor(D,L,G,j,te){super(D,L,G),this.ProfileType=D,this.ProfileName=L,this.Position=G,this.XDim=j,this.YDim=te,this.type=3615266464}}e.IfcRectangleProfileDef=sv;class GB extends ip{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se),this.Name=D,this.Description=L,this.StartTime=G,this.EndTime=j,this.TimeSeriesDataType=te,this.DataOrigin=de,this.UserDefinedDataOrigin=Ie,this.Unit=Se,this.TimeStep=Be,this.Values=wt,this.type=3413951693}}e.IfcRegularTimeSeries=GB;class VB extends Fa{constructor(D,L,G,j,te,de){super(D,L,G,j),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.DefinitionType=te,this.ReinforcementSectionDefinitions=de,this.type=3765753017}}e.IfcReinforcementDefinitionProperties=VB;class Tg extends sf{constructor(D,L,G,j){super(D,L,G,j),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.type=478536968}}e.IfcRelationship=Tg;class nD extends sv{constructor(D,L,G,j,te,de){super(D,L,G,j,te),this.ProfileType=D,this.ProfileName=L,this.Position=G,this.XDim=j,this.YDim=te,this.RoundingRadius=de,this.type=2778083089}}e.IfcRoundedRectangleProfileDef=nD;class kB extends vo{constructor(D,L,G){super(),this.SpineCurve=D,this.CrossSections=L,this.CrossSectionPositions=G,this.type=1509187699}}e.IfcSectionedSpine=kB;class zB extends Fa{constructor(D,L,G,j,te,de,Ie,Se){super(D,L,G,j),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.PredefinedType=te,this.UpperValue=de,this.MostUsedValue=Ie,this.LowerValue=Se,this.type=2411513650}}e.IfcServiceLifeFactor=zB;class WB extends vo{constructor(D){super(),this.SbsmBoundary=D,this.type=4124623270}}e.IfcShellBasedSurfaceModel=WB;class YB extends x0{constructor(D,L,G,j){super(D),this.Name=D,this.SlippageX=L,this.SlippageY=G,this.SlippageZ=j,this.type=2609359061}}e.IfcSlippageConnectionCondition=YB;class ey extends vo{constructor(){super(),this.type=723233188}}e.IfcSolidModel=ey;class jB extends Fa{constructor(D,L,G,j,te,de,Ie){super(D,L,G,j),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.IsAttenuating=te,this.SoundScale=de,this.SoundValues=Ie,this.type=2485662743}}e.IfcSoundProperties=jB;class NO extends Fa{constructor(D,L,G,j,te,de,Ie){super(D,L,G,j),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.SoundLevelTimeSeries=te,this.Frequency=de,this.SoundLevelSingleValue=Ie,this.type=1202362311}}e.IfcSoundValue=NO;class qB extends Fa{constructor(D,L,G,j,te,de,Ie,Se,Be,wt,Ui,yn,qn,Pn){super(D,L,G,j),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableValueRatio=te,this.ThermalLoadSource=de,this.PropertySource=Ie,this.SourceDescription=Se,this.MaximumValue=Be,this.MinimumValue=wt,this.ThermalLoadTimeSeriesValues=Ui,this.UserDefinedThermalLoadSource=yn,this.UserDefinedPropertySource=qn,this.ThermalLoadType=Pn,this.type=390701378}}e.IfcSpaceThermalLoadProperties=qB;class af extends vI{constructor(D,L,G,j,te,de,Ie){super(D),this.Name=D,this.LinearForceX=L,this.LinearForceY=G,this.LinearForceZ=j,this.LinearMomentX=te,this.LinearMomentY=de,this.LinearMomentZ=Ie,this.type=1595516126}}e.IfcStructuralLoadLinearForce=af;class $B extends vI{constructor(D,L,G,j){super(D),this.Name=D,this.PlanarForceX=L,this.PlanarForceY=G,this.PlanarForceZ=j,this.type=2668620305}}e.IfcStructuralLoadPlanarForce=$B;class ov extends vI{constructor(D,L,G,j,te,de,Ie){super(D),this.Name=D,this.DisplacementX=L,this.DisplacementY=G,this.DisplacementZ=j,this.RotationalDisplacementRX=te,this.RotationalDisplacementRY=de,this.RotationalDisplacementRZ=Ie,this.type=2473145415}}e.IfcStructuralLoadSingleDisplacement=ov;class ZB extends ov{constructor(D,L,G,j,te,de,Ie,Se){super(D,L,G,j,te,de,Ie),this.Name=D,this.DisplacementX=L,this.DisplacementY=G,this.DisplacementZ=j,this.RotationalDisplacementRX=te,this.RotationalDisplacementRY=de,this.RotationalDisplacementRZ=Ie,this.Distortion=Se,this.type=1973038258}}e.IfcStructuralLoadSingleDisplacementDistortion=ZB;class rv extends vI{constructor(D,L,G,j,te,de,Ie){super(D),this.Name=D,this.ForceX=L,this.ForceY=G,this.ForceZ=j,this.MomentX=te,this.MomentY=de,this.MomentZ=Ie,this.type=1597423693}}e.IfcStructuralLoadSingleForce=rv;class xA extends rv{constructor(D,L,G,j,te,de,Ie,Se){super(D,L,G,j,te,de,Ie),this.Name=D,this.ForceX=L,this.ForceY=G,this.ForceZ=j,this.MomentX=te,this.MomentY=de,this.MomentZ=Ie,this.WarpingMoment=Se,this.type=1190533807}}e.IfcStructuralLoadSingleForceWarping=xA;class lv extends fO{constructor(D,L,G,j,te,de,Ie,Se,Be,wt,Ui,yn,qn,Pn,qo,zc,Au,ay,uy,Vg,kg,zg,Wg){super(D,L,G,j,te,de,Ie),this.ProfileName=D,this.ProfileDefinition=L,this.PhysicalWeight=G,this.Perimeter=j,this.MinimumPlateThickness=te,this.MaximumPlateThickness=de,this.CrossSectionArea=Ie,this.TorsionalConstantX=Se,this.MomentOfInertiaYZ=Be,this.MomentOfInertiaY=wt,this.MomentOfInertiaZ=Ui,this.WarpingConstant=yn,this.ShearCentreZ=qn,this.ShearCentreY=Pn,this.ShearDeformationAreaZ=qo,this.ShearDeformationAreaY=zc,this.MaximumSectionModulusY=Au,this.MinimumSectionModulusY=ay,this.MaximumSectionModulusZ=uy,this.MinimumSectionModulusZ=Vg,this.TorsionalSectionModulus=kg,this.CentreOfGravityInX=zg,this.CentreOfGravityInY=Wg,this.type=3843319758}}e.IfcStructuralProfileProperties=lv;class _O extends lv{constructor(D,L,G,j,te,de,Ie,Se,Be,wt,Ui,yn,qn,Pn,qo,zc,Au,ay,uy,Vg,kg,zg,Wg,MU,BU,FU,UU){super(D,L,G,j,te,de,Ie,Se,Be,wt,Ui,yn,qn,Pn,qo,zc,Au,ay,uy,Vg,kg,zg,Wg),this.ProfileName=D,this.ProfileDefinition=L,this.PhysicalWeight=G,this.Perimeter=j,this.MinimumPlateThickness=te,this.MaximumPlateThickness=de,this.CrossSectionArea=Ie,this.TorsionalConstantX=Se,this.MomentOfInertiaYZ=Be,this.MomentOfInertiaY=wt,this.MomentOfInertiaZ=Ui,this.WarpingConstant=yn,this.ShearCentreZ=qn,this.ShearCentreY=Pn,this.ShearDeformationAreaZ=qo,this.ShearDeformationAreaY=zc,this.MaximumSectionModulusY=Au,this.MinimumSectionModulusY=ay,this.MaximumSectionModulusZ=uy,this.MinimumSectionModulusZ=Vg,this.TorsionalSectionModulus=kg,this.CentreOfGravityInX=zg,this.CentreOfGravityInY=Wg,this.ShearAreaZ=MU,this.ShearAreaY=BU,this.PlasticShapeFactorY=FU,this.PlasticShapeFactorZ=UU,this.type=3653947884}}e.IfcStructuralSteelProfileProperties=_O;class DO extends fm{constructor(D,L,G){super(D,L),this.EdgeStart=D,this.EdgeEnd=L,this.ParentEdge=G,this.type=2233826070}}e.IfcSubedge=DO;class OA extends vo{constructor(){super(),this.type=2513912981}}e.IfcSurface=OA;class CO extends oO{constructor(D,L,G,j,te,de,Ie,Se,Be){super(D),this.SurfaceColour=D,this.Transparency=L,this.DiffuseColour=G,this.TransmissionColour=j,this.DiffuseTransmissionColour=te,this.ReflectionColour=de,this.SpecularColour=Ie,this.SpecularHighlight=Se,this.ReflectanceMethod=Be,this.type=1878645084}}e.IfcSurfaceStyleRendering=CO;class eT extends ey{constructor(D,L){super(),this.SweptArea=D,this.Position=L,this.type=2247615214}}e.IfcSweptAreaSolid=eT;class LA extends ey{constructor(D,L,G,j,te){super(),this.Directrix=D,this.Radius=L,this.InnerRadius=G,this.StartParam=j,this.EndParam=te,this.type=1260650574}}e.IfcSweptDiskSolid=LA;class av extends OA{constructor(D,L){super(),this.SweptCurve=D,this.Position=L,this.type=230924584}}e.IfcSweptSurface=av;class jo extends dh{constructor(D,L,G,j,te,de,Ie,Se,Be,wt,Ui,yn,qn){super(D,L,G),this.ProfileType=D,this.ProfileName=L,this.Position=G,this.Depth=j,this.FlangeWidth=te,this.WebThickness=de,this.FlangeThickness=Ie,this.FilletRadius=Se,this.FlangeEdgeRadius=Be,this.WebEdgeRadius=wt,this.WebSlope=Ui,this.FlangeSlope=yn,this.CentreOfGravityInY=qn,this.type=3071757647}}e.IfcTShapeProfileDef=jo;class xO extends EA{constructor(D,L,G,j){super(D,L,G),this.Item=D,this.Styles=L,this.Name=G,this.AnnotatedCurve=j,this.type=3028897424}}e.IfcTerminatorSymbol=xO;class uv extends vo{constructor(D,L,G){super(),this.Literal=D,this.Placement=L,this.Path=G,this.type=4282788508}}e.IfcTextLiteral=uv;class sD extends uv{constructor(D,L,G,j,te){super(D,L,G),this.Literal=D,this.Placement=L,this.Path=G,this.Extent=j,this.BoxAlignment=te,this.type=3124975700}}e.IfcTextLiteralWithExtent=sD;class oD extends dh{constructor(D,L,G,j,te,de,Ie){super(D,L,G),this.ProfileType=D,this.ProfileName=L,this.Position=G,this.BottomXDim=j,this.TopXDim=te,this.YDim=de,this.TopXOffset=Ie,this.type=2715220739}}e.IfcTrapeziumProfileDef=oD;class PA extends X_{constructor(D,L){super(D),this.RepeatFactor=D,this.SecondRepeatFactor=L,this.type=1345879162}}e.IfcTwoDirectionRepeatFactor=PA;class MA extends DA{constructor(D,L,G,j,te,de){super(D,L,G,j),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.type=1628702193}}e.IfcTypeObject=MA;class tT extends MA{constructor(D,L,G,j,te,de,Ie,Se){super(D,L,G,j,te,de),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.type=2347495698}}e.IfcTypeProduct=tT;class rD extends dh{constructor(D,L,G,j,te,de,Ie,Se,Be,wt,Ui){super(D,L,G),this.ProfileType=D,this.ProfileName=L,this.Position=G,this.Depth=j,this.FlangeWidth=te,this.WebThickness=de,this.FlangeThickness=Ie,this.FilletRadius=Se,this.EdgeRadius=Be,this.FlangeSlope=wt,this.CentreOfGravityInX=Ui,this.type=427810014}}e.IfcUShapeProfileDef=rD;class KB extends vo{constructor(D,L){super(),this.Orientation=D,this.Magnitude=L,this.type=1417489154}}e.IfcVector=KB;class QB extends NA{constructor(D){super(),this.LoopVertex=D,this.type=2759199220}}e.IfcVertexLoop=QB;class np extends Fa{constructor(D,L,G,j,te,de,Ie,Se,Be,wt,Ui,yn,qn){super(D,L,G,j),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.LiningDepth=te,this.LiningThickness=de,this.TransomThickness=Ie,this.MullionThickness=Se,this.FirstTransomOffset=Be,this.SecondTransomOffset=wt,this.FirstMullionOffset=Ui,this.SecondMullionOffset=yn,this.ShapeAspectStyle=qn,this.type=336235671}}e.IfcWindowLiningProperties=np;class JB extends Fa{constructor(D,L,G,j,te,de,Ie,Se,Be){super(D,L,G,j),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.OperationType=te,this.PanelPosition=de,this.FrameDepth=Ie,this.FrameThickness=Se,this.ShapeAspectStyle=Be,this.type=512836454}}e.IfcWindowPanelProperties=JB;class XB extends tT{constructor(D,L,G,j,te,de,Ie,Se,Be,wt,Ui,yn){super(D,L,G,j,te,de,Ie,Se),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ConstructionType=Be,this.OperationType=wt,this.ParameterTakesPrecedence=Ui,this.Sizeable=yn,this.type=1299126871}}e.IfcWindowStyle=XB;class e9 extends dh{constructor(D,L,G,j,te,de,Ie,Se,Be){super(D,L,G),this.ProfileType=D,this.ProfileName=L,this.Position=G,this.Depth=j,this.FlangeWidth=te,this.WebThickness=de,this.FlangeThickness=Ie,this.FilletRadius=Se,this.EdgeRadius=Be,this.type=2543172580}}e.IfcZShapeProfileDef=e9;class BA extends hm{constructor(D,L,G){super(D,L,G),this.Item=D,this.Styles=L,this.Name=G,this.type=3288037868}}e.IfcAnnotationCurveOccurrence=BA;class t9 extends vo{constructor(D,L){super(),this.OuterBoundary=D,this.InnerBoundaries=L,this.type=669184980}}e.IfcAnnotationFillArea=t9;class i9 extends hm{constructor(D,L,G,j,te){super(D,L,G),this.Item=D,this.Styles=L,this.Name=G,this.FillStyleTarget=j,this.GlobalOrLocal=te,this.type=2265737646}}e.IfcAnnotationFillAreaOccurrence=i9;class n9 extends vo{constructor(D,L){super(),this.Item=D,this.TextureCoordinates=L,this.type=1302238472}}e.IfcAnnotationSurface=n9;class FA extends CA{constructor(D,L){super(D),this.Location=D,this.Axis=L,this.type=4261334040}}e.IfcAxis1Placement=FA;class iT extends CA{constructor(D,L){super(D),this.Location=D,this.RefDirection=L,this.type=3125803723}}e.IfcAxis2Placement2D=iT;class s9 extends CA{constructor(D,L,G){super(D),this.Location=D,this.Axis=L,this.RefDirection=G,this.type=2740243338}}e.IfcAxis2Placement3D=s9;class gg extends vo{constructor(D,L,G){super(),this.Operator=D,this.FirstOperand=L,this.SecondOperand=G,this.type=2736907675}}e.IfcBooleanResult=gg;class lD extends OA{constructor(){super(),this.type=4182860854}}e.IfcBoundedSurface=lD;class o9 extends vo{constructor(D,L,G,j){super(),this.Corner=D,this.XDim=L,this.YDim=G,this.ZDim=j,this.type=2581212453}}e.IfcBoundingBox=o9;class OO extends SA{constructor(D,L,G){super(D,L),this.BaseSurface=D,this.AgreementFlag=L,this.Enclosure=G,this.type=2713105998}}e.IfcBoxedHalfSpace=OO;class LO extends dh{constructor(D,L,G,j,te,de,Ie,Se,Be){super(D,L,G),this.ProfileType=D,this.ProfileName=L,this.Position=G,this.Depth=j,this.Width=te,this.WallThickness=de,this.Girth=Ie,this.InternalFilletRadius=Se,this.CentreOfGravityInX=Be,this.type=2898889636}}e.IfcCShapeProfileDef=LO;class PO extends nv{constructor(D){super(),this.Coordinates=D,this.type=1123145078}}e.IfcCartesianPoint=PO;class aD extends vo{constructor(D,L,G,j){super(),this.Axis1=D,this.Axis2=L,this.LocalOrigin=G,this.Scale=j,this.type=59481748}}e.IfcCartesianTransformationOperator=aD;class MO extends aD{constructor(D,L,G,j){super(D,L,G,j),this.Axis1=D,this.Axis2=L,this.LocalOrigin=G,this.Scale=j,this.type=3749851601}}e.IfcCartesianTransformationOperator2D=MO;class UA extends MO{constructor(D,L,G,j,te){super(D,L,G,j),this.Axis1=D,this.Axis2=L,this.LocalOrigin=G,this.Scale=j,this.Scale2=te,this.type=3486308946}}e.IfcCartesianTransformationOperator2DnonUniform=UA;class cv extends aD{constructor(D,L,G,j,te){super(D,L,G,j),this.Axis1=D,this.Axis2=L,this.LocalOrigin=G,this.Scale=j,this.Axis3=te,this.type=3331915920}}e.IfcCartesianTransformationOperator3D=cv;class dv extends cv{constructor(D,L,G,j,te,de,Ie){super(D,L,G,j,te),this.Axis1=D,this.Axis2=L,this.LocalOrigin=G,this.Scale=j,this.Axis3=te,this.Scale2=de,this.Scale3=Ie,this.type=1416205885}}e.IfcCartesianTransformationOperator3DnonUniform=dv;class uD extends dh{constructor(D,L,G,j){super(D,L,G),this.ProfileType=D,this.ProfileName=L,this.Position=G,this.Radius=j,this.type=1383045692}}e.IfcCircleProfileDef=uD;class r9 extends j_{constructor(D){super(D),this.CfsFaces=D,this.type=2205249479}}e.IfcClosedShell=r9;class cD extends vo{constructor(D,L,G){super(),this.Transition=D,this.SameSense=L,this.ParentCurve=G,this.type=2485617015}}e.IfcCompositeCurveSegment=cD;class uf extends dh{constructor(D,L,G,j,te,de,Ie,Se,Be,wt,Ui,yn,qn,Pn,qo){super(D,L,G),this.ProfileType=D,this.ProfileName=L,this.Position=G,this.OverallHeight=j,this.BaseWidth2=te,this.Radius=de,this.HeadWidth=Ie,this.HeadDepth2=Se,this.HeadDepth3=Be,this.WebThickness=wt,this.BaseWidth4=Ui,this.BaseDepth1=yn,this.BaseDepth2=qn,this.BaseDepth3=Pn,this.CentreOfGravityInY=qo,this.type=4133800736}}e.IfcCraneRailAShapeProfileDef=uf;class dD extends dh{constructor(D,L,G,j,te,de,Ie,Se,Be,wt,Ui,yn){super(D,L,G),this.ProfileType=D,this.ProfileName=L,this.Position=G,this.OverallHeight=j,this.HeadWidth=te,this.Radius=de,this.HeadDepth2=Ie,this.HeadDepth3=Se,this.WebThickness=Be,this.BaseDepth1=wt,this.BaseDepth2=Ui,this.CentreOfGravityInY=yn,this.type=194851669}}e.IfcCraneRailFShapeProfileDef=dD;class nT extends vo{constructor(D){super(),this.Position=D,this.type=2506170314}}e.IfcCsgPrimitive3D=nT;class l9 extends ey{constructor(D){super(),this.TreeRootExpression=D,this.type=2147822146}}e.IfcCsgSolid=l9;class AI extends vo{constructor(){super(),this.type=2601014836}}e.IfcCurve=AI;class BO extends lD{constructor(D,L,G){super(),this.BasisSurface=D,this.OuterBoundary=L,this.InnerBoundaries=G,this.type=2827736869}}e.IfcCurveBoundedPlane=BO;class ty extends vo{constructor(D,L){super(),this.Definition=D,this.Target=L,this.type=693772133}}e.IfcDefinedSymbol=ty;class HA extends BA{constructor(D,L,G){super(D,L,G),this.Item=D,this.Styles=L,this.Name=G,this.type=606661476}}e.IfcDimensionCurve=HA;class hv extends xO{constructor(D,L,G,j,te){super(D,L,G,j),this.Item=D,this.Styles=L,this.Name=G,this.AnnotatedCurve=j,this.Role=te,this.type=4054601972}}e.IfcDimensionCurveTerminator=hv;class FO extends vo{constructor(D){super(),this.DirectionRatios=D,this.type=32440307}}e.IfcDirection=FO;class a9 extends Fa{constructor(D,L,G,j,te,de,Ie,Se,Be,wt,Ui,yn,qn,Pn,qo){super(D,L,G,j),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.LiningDepth=te,this.LiningThickness=de,this.ThresholdDepth=Ie,this.ThresholdThickness=Se,this.TransomThickness=Be,this.TransomOffset=wt,this.LiningOffset=Ui,this.ThresholdOffset=yn,this.CasingThickness=qn,this.CasingDepth=Pn,this.ShapeAspectStyle=qo,this.type=2963535650}}e.IfcDoorLiningProperties=a9;class u9 extends Fa{constructor(D,L,G,j,te,de,Ie,Se,Be){super(D,L,G,j),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.PanelDepth=te,this.PanelOperation=de,this.PanelWidth=Ie,this.PanelPosition=Se,this.ShapeAspectStyle=Be,this.type=1714330368}}e.IfcDoorPanelProperties=u9;class GA extends tT{constructor(D,L,G,j,te,de,Ie,Se,Be,wt,Ui,yn){super(D,L,G,j,te,de,Ie,Se),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.OperationType=Be,this.ConstructionType=wt,this.ParameterTakesPrecedence=Ui,this.Sizeable=yn,this.type=526551008}}e.IfcDoorStyle=GA;class wg extends vo{constructor(D){super(),this.Contents=D,this.type=3073041342}}e.IfcDraughtingCallout=wg;class UO extends wO{constructor(D){super(D),this.Name=D,this.type=445594917}}e.IfcDraughtingPreDefinedColour=UO;class c9 extends vO{constructor(D){super(D),this.Name=D,this.type=4006246654}}e.IfcDraughtingPreDefinedCurveFont=c9;class d9 extends NA{constructor(D){super(),this.EdgeList=D,this.type=1472233963}}e.IfcEdgeLoop=d9;class hD extends Fa{constructor(D,L,G,j,te,de){super(D,L,G,j),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.MethodOfMeasurement=te,this.Quantities=de,this.type=1883228015}}e.IfcElementQuantity=hD;class pm extends tT{constructor(D,L,G,j,te,de,Ie,Se,Be){super(D,L,G,j,te,de,Ie,Se),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.type=339256511}}e.IfcElementType=pm;class HO extends OA{constructor(D){super(),this.Position=D,this.type=2777663545}}e.IfcElementarySurface=HO;class VA extends dh{constructor(D,L,G,j,te){super(D,L,G),this.ProfileType=D,this.ProfileName=L,this.Position=G,this.SemiAxis1=j,this.SemiAxis2=te,this.type=2835456948}}e.IfcEllipseProfileDef=VA;class fv extends Fa{constructor(D,L,G,j,te,de){super(D,L,G,j),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.EnergySequence=te,this.UserDefinedEnergySequence=de,this.type=80994333}}e.IfcEnergyProperties=fv;class vg extends eT{constructor(D,L,G,j){super(D,L),this.SweptArea=D,this.Position=L,this.ExtrudedDirection=G,this.Depth=j,this.type=477187591}}e.IfcExtrudedAreaSolid=vg;class fD extends vo{constructor(D){super(),this.FbsmFaces=D,this.type=2047409740}}e.IfcFaceBasedSurfaceModel=fD;class h9 extends vo{constructor(D,L,G,j,te){super(),this.HatchLineAppearance=D,this.StartOfNextHatchLine=L,this.PointOfReferenceHatchLine=G,this.PatternStart=j,this.HatchLineAngle=te,this.type=374418227}}e.IfcFillAreaStyleHatching=h9;class f9 extends vo{constructor(D){super(),this.Symbol=D,this.type=4203026998}}e.IfcFillAreaStyleTileSymbolWithStyle=f9;class sT extends vo{constructor(D,L,G){super(),this.TilingPattern=D,this.Tiles=L,this.TilingScale=G,this.type=315944413}}e.IfcFillAreaStyleTiles=sT;class pD extends Fa{constructor(D,L,G,j,te,de,Ie,Se,Be,wt,Ui,yn,qn,Pn,qo,zc,Au,ay,uy){super(D,L,G,j),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.PropertySource=te,this.FlowConditionTimeSeries=de,this.VelocityTimeSeries=Ie,this.FlowrateTimeSeries=Se,this.Fluid=Be,this.PressureTimeSeries=wt,this.UserDefinedPropertySource=Ui,this.TemperatureSingleValue=yn,this.WetBulbTemperatureSingleValue=qn,this.WetBulbTemperatureTimeSeries=Pn,this.TemperatureTimeSeries=qo,this.FlowrateSingleValue=zc,this.FlowConditionSingleValue=Au,this.VelocitySingleValue=ay,this.PressureSingleValue=uy,this.type=3455213021}}e.IfcFluidFlowProperties=pD;class ID extends pm{constructor(D,L,G,j,te,de,Ie,Se,Be){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.type=4238390223}}e.IfcFurnishingElementType=ID;class p9 extends ID{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.AssemblyPlace=wt,this.type=1268542332}}e.IfcFurnitureType=p9;class mD extends pO{constructor(D){super(D),this.Elements=D,this.type=987898635}}e.IfcGeometricCurveSet=mD;class yD extends dh{constructor(D,L,G,j,te,de,Ie,Se){super(D,L,G),this.ProfileType=D,this.ProfileName=L,this.Position=G,this.OverallWidth=j,this.OverallDepth=te,this.WebThickness=de,this.FlangeThickness=Ie,this.FilletRadius=Se,this.type=1484403080}}e.IfcIShapeProfileDef=yD;class I9 extends dh{constructor(D,L,G,j,te,de,Ie,Se,Be,wt,Ui){super(D,L,G),this.ProfileType=D,this.ProfileName=L,this.Position=G,this.Depth=j,this.Width=te,this.Thickness=de,this.FilletRadius=Ie,this.EdgeRadius=Se,this.LegSlope=Be,this.CentreOfGravityInX=wt,this.CentreOfGravityInY=Ui,this.type=572779678}}e.IfcLShapeProfileDef=I9;class GO extends AI{constructor(D,L){super(),this.Pnt=D,this.Dir=L,this.type=1281925730}}e.IfcLine=GO;class pv extends ey{constructor(D){super(),this.Outer=D,this.type=1425443689}}e.IfcManifoldSolidBrep=pv;class Im extends DA{constructor(D,L,G,j,te){super(D,L,G,j),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.type=3888040117}}e.IfcObject=Im;class oT extends AI{constructor(D,L,G){super(),this.BasisCurve=D,this.Distance=L,this.SelfIntersect=G,this.type=3388369263}}e.IfcOffsetCurve2D=oT;class m9 extends AI{constructor(D,L,G,j){super(),this.BasisCurve=D,this.Distance=L,this.SelfIntersect=G,this.RefDirection=j,this.type=3505215534}}e.IfcOffsetCurve3D=m9;class Rg extends Fa{constructor(D,L,G,j,te,de,Ie,Se,Be){super(D,L,G,j),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.OperationType=te,this.PanelPosition=de,this.FrameDepth=Ie,this.FrameThickness=Se,this.ShapeAspectStyle=Be,this.type=3566463478}}e.IfcPermeableCoveringProperties=Rg;class VO extends tD{constructor(D,L,G){super(D,L),this.SizeInX=D,this.SizeInY=L,this.Placement=G,this.type=603570806}}e.IfcPlanarBox=VO;class rT extends HO{constructor(D){super(D),this.Position=D,this.type=220341763}}e.IfcPlane=rT;class Sg extends Im{constructor(D,L,G,j,te){super(D,L,G,j,te),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.type=2945172077}}e.IfcProcess=Sg;class mm extends Im{constructor(D,L,G,j,te,de,Ie){super(D,L,G,j,te),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.type=4208778838}}e.IfcProduct=mm;class lT extends Im{constructor(D,L,G,j,te,de,Ie,Se,Be){super(D,L,G,j,te),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.LongName=de,this.Phase=Ie,this.RepresentationContexts=Se,this.UnitsInContext=Be,this.type=103090709}}e.IfcProject=lT;class y9 extends BA{constructor(D,L,G){super(D,L,G),this.Item=D,this.Styles=L,this.Name=G,this.type=4194566429}}e.IfcProjectionCurve=y9;class iy extends Fa{constructor(D,L,G,j,te){super(D,L,G,j),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.HasProperties=te,this.type=1451395588}}e.IfcPropertySet=iy;class Iv extends mm{constructor(D,L,G,j,te,de,Ie,Se,Be){super(D,L,G,j,te,de,Ie),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.ProxyType=Se,this.Tag=Be,this.type=3219374653}}e.IfcProxy=Iv;class E9 extends sv{constructor(D,L,G,j,te,de,Ie,Se){super(D,L,G,j,te),this.ProfileType=D,this.ProfileName=L,this.Position=G,this.XDim=j,this.YDim=te,this.WallThickness=de,this.InnerFilletRadius=Ie,this.OuterFilletRadius=Se,this.type=2770003689}}e.IfcRectangleHollowProfileDef=E9;class kA extends nT{constructor(D,L,G,j){super(D),this.Position=D,this.XLength=L,this.YLength=G,this.Height=j,this.type=2798486643}}e.IfcRectangularPyramid=kA;class kO extends lD{constructor(D,L,G,j,te,de,Ie){super(),this.BasisSurface=D,this.U1=L,this.V1=G,this.U2=j,this.V2=te,this.Usense=de,this.Vsense=Ie,this.type=3454111270}}e.IfcRectangularTrimmedSurface=kO;class aT extends Tg{constructor(D,L,G,j,te,de){super(D,L,G,j),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.RelatedObjects=te,this.RelatedObjectsType=de,this.type=3939117080}}e.IfcRelAssigns=aT;class zA extends aT{constructor(D,L,G,j,te,de,Ie,Se){super(D,L,G,j,te,de),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.RelatedObjects=te,this.RelatedObjectsType=de,this.RelatingActor=Ie,this.ActingRole=Se,this.type=1683148259}}e.IfcRelAssignsToActor=zA;class cf extends aT{constructor(D,L,G,j,te,de,Ie){super(D,L,G,j,te,de),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.RelatedObjects=te,this.RelatedObjectsType=de,this.RelatingControl=Ie,this.type=2495723537}}e.IfcRelAssignsToControl=cf;class uT extends aT{constructor(D,L,G,j,te,de,Ie){super(D,L,G,j,te,de),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.RelatedObjects=te,this.RelatedObjectsType=de,this.RelatingGroup=Ie,this.type=1307041759}}e.IfcRelAssignsToGroup=uT;class zO extends aT{constructor(D,L,G,j,te,de,Ie,Se){super(D,L,G,j,te,de),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.RelatedObjects=te,this.RelatedObjectsType=de,this.RelatingProcess=Ie,this.QuantityInProcess=Se,this.type=4278684876}}e.IfcRelAssignsToProcess=zO;class T9 extends aT{constructor(D,L,G,j,te,de,Ie){super(D,L,G,j,te,de),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.RelatedObjects=te,this.RelatedObjectsType=de,this.RelatingProduct=Ie,this.type=2857406711}}e.IfcRelAssignsToProduct=T9;class WO extends cf{constructor(D,L,G,j,te,de,Ie){super(D,L,G,j,te,de,Ie),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.RelatedObjects=te,this.RelatedObjectsType=de,this.RelatingControl=Ie,this.type=3372526763}}e.IfcRelAssignsToProjectOrder=WO;class g9 extends aT{constructor(D,L,G,j,te,de,Ie){super(D,L,G,j,te,de),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.RelatedObjects=te,this.RelatedObjectsType=de,this.RelatingResource=Ie,this.type=205026976}}e.IfcRelAssignsToResource=g9;class df extends Tg{constructor(D,L,G,j,te){super(D,L,G,j),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.RelatedObjects=te,this.type=1865459582}}e.IfcRelAssociates=df;class WA extends df{constructor(D,L,G,j,te,de){super(D,L,G,j,te),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.RelatedObjects=te,this.RelatingAppliedValue=de,this.type=1327628568}}e.IfcRelAssociatesAppliedValue=WA;class ED extends df{constructor(D,L,G,j,te,de){super(D,L,G,j,te),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.RelatedObjects=te,this.RelatingApproval=de,this.type=4095574036}}e.IfcRelAssociatesApproval=ED;class YO extends df{constructor(D,L,G,j,te,de){super(D,L,G,j,te),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.RelatedObjects=te,this.RelatingClassification=de,this.type=919958153}}e.IfcRelAssociatesClassification=YO;class TD extends df{constructor(D,L,G,j,te,de,Ie){super(D,L,G,j,te),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.RelatedObjects=te,this.Intent=de,this.RelatingConstraint=Ie,this.type=2728634034}}e.IfcRelAssociatesConstraint=TD;class w9 extends df{constructor(D,L,G,j,te,de){super(D,L,G,j,te),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.RelatedObjects=te,this.RelatingDocument=de,this.type=982818633}}e.IfcRelAssociatesDocument=w9;class v9 extends df{constructor(D,L,G,j,te,de){super(D,L,G,j,te),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.RelatedObjects=te,this.RelatingLibrary=de,this.type=3840914261}}e.IfcRelAssociatesLibrary=v9;class R9 extends df{constructor(D,L,G,j,te,de){super(D,L,G,j,te),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.RelatedObjects=te,this.RelatingMaterial=de,this.type=2655215786}}e.IfcRelAssociatesMaterial=R9;class S9 extends df{constructor(D,L,G,j,te,de,Ie,Se){super(D,L,G,j,te),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.RelatedObjects=te,this.RelatingProfileProperties=de,this.ProfileSectionLocation=Ie,this.ProfileOrientation=Se,this.type=2851387026}}e.IfcRelAssociatesProfileProperties=S9;class Yl extends Tg{constructor(D,L,G,j){super(D,L,G,j),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.type=826625072}}e.IfcRelConnects=Yl;class gD extends Yl{constructor(D,L,G,j,te,de,Ie){super(D,L,G,j),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ConnectionGeometry=te,this.RelatingElement=de,this.RelatedElement=Ie,this.type=1204542856}}e.IfcRelConnectsElements=gD;class A9 extends gD{constructor(D,L,G,j,te,de,Ie,Se,Be,wt,Ui){super(D,L,G,j,te,de,Ie),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ConnectionGeometry=te,this.RelatingElement=de,this.RelatedElement=Ie,this.RelatingPriorities=Se,this.RelatedPriorities=Be,this.RelatedConnectionType=wt,this.RelatingConnectionType=Ui,this.type=3945020480}}e.IfcRelConnectsPathElements=A9;class b9 extends Yl{constructor(D,L,G,j,te,de){super(D,L,G,j),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.RelatingPort=te,this.RelatedElement=de,this.type=4201705270}}e.IfcRelConnectsPortToElement=b9;class N9 extends Yl{constructor(D,L,G,j,te,de,Ie){super(D,L,G,j),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.RelatingPort=te,this.RelatedPort=de,this.RealizingElement=Ie,this.type=3190031847}}e.IfcRelConnectsPorts=N9;class wD extends Yl{constructor(D,L,G,j,te,de){super(D,L,G,j),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.RelatingElement=te,this.RelatedStructuralActivity=de,this.type=2127690289}}e.IfcRelConnectsStructuralActivity=wD;class ny extends Yl{constructor(D,L,G,j,te,de){super(D,L,G,j),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.RelatingElement=te,this.RelatedStructuralMember=de,this.type=3912681535}}e.IfcRelConnectsStructuralElement=ny;class Ag extends Yl{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.RelatingStructuralMember=te,this.RelatedStructuralConnection=de,this.AppliedCondition=Ie,this.AdditionalConditions=Se,this.SupportedLength=Be,this.ConditionCoordinateSystem=wt,this.type=1638771189}}e.IfcRelConnectsStructuralMember=Ag;class _9 extends Ag{constructor(D,L,G,j,te,de,Ie,Se,Be,wt,Ui){super(D,L,G,j,te,de,Ie,Se,Be,wt),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.RelatingStructuralMember=te,this.RelatedStructuralConnection=de,this.AppliedCondition=Ie,this.AdditionalConditions=Se,this.SupportedLength=Be,this.ConditionCoordinateSystem=wt,this.ConnectionConstraint=Ui,this.type=504942748}}e.IfcRelConnectsWithEccentricity=_9;class D9 extends gD{constructor(D,L,G,j,te,de,Ie,Se,Be){super(D,L,G,j,te,de,Ie),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ConnectionGeometry=te,this.RelatingElement=de,this.RelatedElement=Ie,this.RealizingElements=Se,this.ConnectionType=Be,this.type=3678494232}}e.IfcRelConnectsWithRealizingElements=D9;class C9 extends Yl{constructor(D,L,G,j,te,de){super(D,L,G,j),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.RelatedElements=te,this.RelatingStructure=de,this.type=3242617779}}e.IfcRelContainedInSpatialStructure=C9;class x9 extends Yl{constructor(D,L,G,j,te,de){super(D,L,G,j),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.RelatingBuildingElement=te,this.RelatedCoverings=de,this.type=886880790}}e.IfcRelCoversBldgElements=x9;class YA extends Yl{constructor(D,L,G,j,te,de){super(D,L,G,j),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.RelatedSpace=te,this.RelatedCoverings=de,this.type=2802773753}}e.IfcRelCoversSpaces=YA;class jA extends Tg{constructor(D,L,G,j,te,de){super(D,L,G,j),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.RelatingObject=te,this.RelatedObjects=de,this.type=2551354335}}e.IfcRelDecomposes=jA;class ym extends Tg{constructor(D,L,G,j,te){super(D,L,G,j),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.RelatedObjects=te,this.type=693640335}}e.IfcRelDefines=ym;class qA extends ym{constructor(D,L,G,j,te,de){super(D,L,G,j,te),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.RelatedObjects=te,this.RelatingPropertyDefinition=de,this.type=4186316022}}e.IfcRelDefinesByProperties=qA;class mv extends ym{constructor(D,L,G,j,te,de){super(D,L,G,j,te),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.RelatedObjects=te,this.RelatingType=de,this.type=781010003}}e.IfcRelDefinesByType=mv;class Em extends Yl{constructor(D,L,G,j,te,de){super(D,L,G,j),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.RelatingOpeningElement=te,this.RelatedBuildingElement=de,this.type=3940055652}}e.IfcRelFillsElement=Em;class jO extends Yl{constructor(D,L,G,j,te,de){super(D,L,G,j),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.RelatedControlElements=te,this.RelatingFlowElement=de,this.type=279856033}}e.IfcRelFlowControlElements=jO;class O9 extends Yl{constructor(D,L,G,j,te,de,Ie,Se,Be){super(D,L,G,j),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.DailyInteraction=te,this.ImportanceRating=de,this.LocationOfInteraction=Ie,this.RelatedSpaceProgram=Se,this.RelatingSpaceProgram=Be,this.type=4189434867}}e.IfcRelInteractionRequirements=O9;class qO extends jA{constructor(D,L,G,j,te,de){super(D,L,G,j,te,de),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.RelatingObject=te,this.RelatedObjects=de,this.type=3268803585}}e.IfcRelNests=qO;class L9 extends zA{constructor(D,L,G,j,te,de,Ie,Se){super(D,L,G,j,te,de,Ie,Se),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.RelatedObjects=te,this.RelatedObjectsType=de,this.RelatingActor=Ie,this.ActingRole=Se,this.type=2051452291}}e.IfcRelOccupiesSpaces=L9;class P9 extends qA{constructor(D,L,G,j,te,de,Ie){super(D,L,G,j,te,de),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.RelatedObjects=te,this.RelatingPropertyDefinition=de,this.OverridingProperties=Ie,this.type=202636808}}e.IfcRelOverridesProperties=P9;class M9 extends Yl{constructor(D,L,G,j,te,de){super(D,L,G,j),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.RelatingElement=te,this.RelatedFeatureElement=de,this.type=750771296}}e.IfcRelProjectsElement=M9;class $O extends Yl{constructor(D,L,G,j,te,de){super(D,L,G,j),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.RelatedElements=te,this.RelatingStructure=de,this.type=1245217292}}e.IfcRelReferencedInSpatialStructure=$O;class cT extends cf{constructor(D,L,G,j,te,de,Ie){super(D,L,G,j,te,de,Ie),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.RelatedObjects=te,this.RelatedObjectsType=de,this.RelatingControl=Ie,this.type=1058617721}}e.IfcRelSchedulesCostItems=cT;class vD extends Yl{constructor(D,L,G,j,te,de,Ie,Se){super(D,L,G,j),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.RelatingProcess=te,this.RelatedProcess=de,this.TimeLag=Ie,this.SequenceType=Se,this.type=4122056220}}e.IfcRelSequence=vD;class B9 extends Yl{constructor(D,L,G,j,te,de){super(D,L,G,j),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.RelatingSystem=te,this.RelatedBuildings=de,this.type=366585022}}e.IfcRelServicesBuildings=B9;class sy extends Yl{constructor(D,L,G,j,te,de,Ie,Se,Be){super(D,L,G,j),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.RelatingSpace=te,this.RelatedBuildingElement=de,this.ConnectionGeometry=Ie,this.PhysicalOrVirtualBoundary=Se,this.InternalOrExternalBoundary=Be,this.type=3451746338}}e.IfcRelSpaceBoundary=sy;class F9 extends Yl{constructor(D,L,G,j,te,de){super(D,L,G,j),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.RelatingBuildingElement=te,this.RelatedOpeningElement=de,this.type=1401173127}}e.IfcRelVoidsElement=F9;class bI extends Im{constructor(D,L,G,j,te){super(D,L,G,j,te),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.type=2914609552}}e.IfcResource=bI;class U9 extends eT{constructor(D,L,G,j){super(D,L),this.SweptArea=D,this.Position=L,this.Axis=G,this.Angle=j,this.type=1856042241}}e.IfcRevolvedAreaSolid=U9;class H9 extends nT{constructor(D,L,G){super(D),this.Position=D,this.Height=L,this.BottomRadius=G,this.type=4158566097}}e.IfcRightCircularCone=H9;class G9 extends nT{constructor(D,L,G){super(D),this.Position=D,this.Height=L,this.Radius=G,this.type=3626867408}}e.IfcRightCircularCylinder=G9;class sp extends mm{constructor(D,L,G,j,te,de,Ie,Se,Be){super(D,L,G,j,te,de,Ie),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.LongName=Se,this.CompositionType=Be,this.type=2706606064}}e.IfcSpatialStructureElement=sp;class $A extends pm{constructor(D,L,G,j,te,de,Ie,Se,Be){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.type=3893378262}}e.IfcSpatialStructureElementType=$A;class V9 extends nT{constructor(D,L){super(D),this.Position=D,this.Radius=L,this.type=451544542}}e.IfcSphere=V9;class ZA extends mm{constructor(D,L,G,j,te,de,Ie,Se,Be){super(D,L,G,j,te,de,Ie),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.AppliedLoad=Se,this.GlobalOrLocal=Be,this.type=3544373492}}e.IfcStructuralActivity=ZA;class op extends mm{constructor(D,L,G,j,te,de,Ie){super(D,L,G,j,te,de,Ie),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.type=3136571912}}e.IfcStructuralItem=op;class dT extends op{constructor(D,L,G,j,te,de,Ie){super(D,L,G,j,te,de,Ie),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.type=530289379}}e.IfcStructuralMember=dT;class ZO extends ZA{constructor(D,L,G,j,te,de,Ie,Se,Be){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.AppliedLoad=Se,this.GlobalOrLocal=Be,this.type=3689010777}}e.IfcStructuralReaction=ZO;class KO extends dT{constructor(D,L,G,j,te,de,Ie,Se,Be){super(D,L,G,j,te,de,Ie),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.PredefinedType=Se,this.Thickness=Be,this.type=3979015343}}e.IfcStructuralSurfaceMember=KO;class oy extends KO{constructor(D,L,G,j,te,de,Ie,Se,Be,wt,Ui){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.PredefinedType=Se,this.Thickness=Be,this.SubsequentThickness=wt,this.VaryingThicknessLocation=Ui,this.type=2218152070}}e.IfcStructuralSurfaceMemberVarying=oy;class k9 extends wg{constructor(D){super(D),this.Contents=D,this.type=4070609034}}e.IfcStructuredDimensionCallout=k9;class z9 extends eT{constructor(D,L,G,j,te,de){super(D,L),this.SweptArea=D,this.Position=L,this.Directrix=G,this.StartParam=j,this.EndParam=te,this.ReferenceSurface=de,this.type=2028607225}}e.IfcSurfaceCurveSweptAreaSolid=z9;class W9 extends av{constructor(D,L,G,j){super(D,L),this.SweptCurve=D,this.Position=L,this.ExtrudedDirection=G,this.Depth=j,this.type=2809605785}}e.IfcSurfaceOfLinearExtrusion=W9;class Y9 extends av{constructor(D,L,G){super(D,L),this.SweptCurve=D,this.Position=L,this.AxisPosition=G,this.type=4124788165}}e.IfcSurfaceOfRevolution=Y9;class QO extends ID{constructor(D,L,G,j,te,de,Ie,Se,Be){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.type=1580310250}}e.IfcSystemFurnitureElementType=QO;class yv extends Sg{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.TaskId=de,this.Status=Ie,this.WorkMethod=Se,this.IsMilestone=Be,this.Priority=wt,this.type=3473067441}}e.IfcTask=yv;class vc extends pm{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.PredefinedType=wt,this.type=2097647324}}e.IfcTransportElementType=vc;class KA extends Im{constructor(D,L,G,j,te,de){super(D,L,G,j,te),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.TheActor=de,this.type=2296667514}}e.IfcActor=KA;class j9 extends mm{constructor(D,L,G,j,te,de,Ie){super(D,L,G,j,te,de,Ie),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.type=1674181508}}e.IfcAnnotation=j9;class q9 extends yD{constructor(D,L,G,j,te,de,Ie,Se,Be,wt,Ui,yn){super(D,L,G,j,te,de,Ie,Se),this.ProfileType=D,this.ProfileName=L,this.Position=G,this.OverallWidth=j,this.OverallDepth=te,this.WebThickness=de,this.FlangeThickness=Ie,this.FilletRadius=Se,this.TopFlangeWidth=Be,this.TopFlangeThickness=wt,this.TopFlangeFilletRadius=Ui,this.CentreOfGravityInY=yn,this.type=3207858831}}e.IfcAsymmetricIShapeProfileDef=q9;class JO extends nT{constructor(D,L,G,j){super(D),this.Position=D,this.XLength=L,this.YLength=G,this.ZLength=j,this.type=1334484129}}e.IfcBlock=JO;class $9 extends gg{constructor(D,L,G){super(D,L,G),this.Operator=D,this.FirstOperand=L,this.SecondOperand=G,this.type=3649129432}}e.IfcBooleanClippingResult=$9;class bg extends AI{constructor(){super(),this.type=1260505505}}e.IfcBoundedCurve=bg;class Z9 extends sp{constructor(D,L,G,j,te,de,Ie,Se,Be,wt,Ui,yn){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.LongName=Se,this.CompositionType=Be,this.ElevationOfRefHeight=wt,this.ElevationOfTerrain=Ui,this.BuildingAddress=yn,this.type=4031249490}}e.IfcBuilding=Z9;class hh extends pm{constructor(D,L,G,j,te,de,Ie,Se,Be){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.type=1950629157}}e.IfcBuildingElementType=hh;class K9 extends sp{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.LongName=Se,this.CompositionType=Be,this.Elevation=wt,this.type=3124254112}}e.IfcBuildingStorey=K9;class RD extends uD{constructor(D,L,G,j,te){super(D,L,G,j),this.ProfileType=D,this.ProfileName=L,this.Position=G,this.Radius=j,this.WallThickness=te,this.type=2937912522}}e.IfcCircleHollowProfileDef=RD;class hT extends hh{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.PredefinedType=wt,this.type=300633059}}e.IfcColumnType=hT;class Ev extends bg{constructor(D,L){super(),this.Segments=D,this.SelfIntersect=L,this.type=3732776249}}e.IfcCompositeCurve=Ev;class fT extends AI{constructor(D){super(),this.Position=D,this.type=2510884976}}e.IfcConic=fT;class rp extends bI{constructor(D,L,G,j,te,de,Ie,Se,Be){super(D,L,G,j,te),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ResourceIdentifier=de,this.ResourceGroup=Ie,this.ResourceConsumption=Se,this.BaseQuantity=Be,this.type=2559216714}}e.IfcConstructionResource=rp;class Rc extends Im{constructor(D,L,G,j,te){super(D,L,G,j,te),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.type=3293443760}}e.IfcControl=Rc;class Q9 extends Rc{constructor(D,L,G,j,te){super(D,L,G,j,te),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.type=3895139033}}e.IfcCostItem=Q9;class J9 extends Rc{constructor(D,L,G,j,te,de,Ie,Se,Be,wt,Ui,yn,qn){super(D,L,G,j,te),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.SubmittedBy=de,this.PreparedBy=Ie,this.SubmittedOn=Se,this.Status=Be,this.TargetUsers=wt,this.UpdateDate=Ui,this.ID=yn,this.PredefinedType=qn,this.type=1419761937}}e.IfcCostSchedule=J9;class X9 extends hh{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.PredefinedType=wt,this.type=1916426348}}e.IfcCoveringType=X9;class eF extends rp{constructor(D,L,G,j,te,de,Ie,Se,Be){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ResourceIdentifier=de,this.ResourceGroup=Ie,this.ResourceConsumption=Se,this.BaseQuantity=Be,this.type=3295246426}}e.IfcCrewResource=eF;class XO extends hh{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.PredefinedType=wt,this.type=1457835157}}e.IfcCurtainWallType=XO;class Ng extends wg{constructor(D){super(D),this.Contents=D,this.type=681481545}}e.IfcDimensionCurveDirectedCallout=Ng;class Tm extends pm{constructor(D,L,G,j,te,de,Ie,Se,Be){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.type=3256556792}}e.IfcDistributionElementType=Tm;class NI extends Tm{constructor(D,L,G,j,te,de,Ie,Se,Be){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.type=3849074793}}e.IfcDistributionFlowElementType=NI;class QA extends fv{constructor(D,L,G,j,te,de,Ie,Se,Be,wt,Ui,yn,qn,Pn){super(D,L,G,j,te,de),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.EnergySequence=te,this.UserDefinedEnergySequence=de,this.ElectricCurrentType=Ie,this.InputVoltage=Se,this.InputFrequency=Be,this.FullLoadCurrent=wt,this.MinimumCircuitCurrent=Ui,this.MaximumPowerInput=yn,this.RatedPowerInput=qn,this.InputPhase=Pn,this.type=360485395}}e.IfcElectricalBaseProperties=QA;class ga extends mm{constructor(D,L,G,j,te,de,Ie,Se){super(D,L,G,j,te,de,Ie),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.Tag=Se,this.type=1758889154}}e.IfcElement=ga;class tF extends ga{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.Tag=Se,this.AssemblyPlace=Be,this.PredefinedType=wt,this.type=4123344466}}e.IfcElementAssembly=tF;class JA extends ga{constructor(D,L,G,j,te,de,Ie,Se){super(D,L,G,j,te,de,Ie,Se),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.Tag=Se,this.type=1623761950}}e.IfcElementComponent=JA;class XA extends pm{constructor(D,L,G,j,te,de,Ie,Se,Be){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.type=2590856083}}e.IfcElementComponentType=XA;class iF extends fT{constructor(D,L,G){super(D),this.Position=D,this.SemiAxis1=L,this.SemiAxis2=G,this.type=1704287377}}e.IfcEllipse=iF;class wa extends NI{constructor(D,L,G,j,te,de,Ie,Se,Be){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.type=2107101300}}e.IfcEnergyConversionDeviceType=wa;class nF extends ga{constructor(D,L,G,j,te,de,Ie,Se){super(D,L,G,j,te,de,Ie,Se),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.Tag=Se,this.type=1962604670}}e.IfcEquipmentElement=nF;class eL extends Rc{constructor(D,L,G,j,te){super(D,L,G,j,te),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.type=3272907226}}e.IfcEquipmentStandard=eL;class tL extends wa{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.PredefinedType=wt,this.type=3174744832}}e.IfcEvaporativeCoolerType=tL;class sF extends wa{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.PredefinedType=wt,this.type=3390157468}}e.IfcEvaporatorType=sF;class oF extends pv{constructor(D){super(D),this.Outer=D,this.type=807026263}}e.IfcFacetedBrep=oF;class SD extends pv{constructor(D,L){super(D),this.Outer=D,this.Voids=L,this.type=3737207727}}e.IfcFacetedBrepWithVoids=SD;class iL extends JA{constructor(D,L,G,j,te,de,Ie,Se){super(D,L,G,j,te,de,Ie,Se),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.Tag=Se,this.type=647756555}}e.IfcFastener=iL;class Tv extends XA{constructor(D,L,G,j,te,de,Ie,Se,Be){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.type=2489546625}}e.IfcFastenerType=Tv;class gv extends ga{constructor(D,L,G,j,te,de,Ie,Se){super(D,L,G,j,te,de,Ie,Se),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.Tag=Se,this.type=2827207264}}e.IfcFeatureElement=gv;class _g extends gv{constructor(D,L,G,j,te,de,Ie,Se){super(D,L,G,j,te,de,Ie,Se),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.Tag=Se,this.type=2143335405}}e.IfcFeatureElementAddition=_g;class _I extends gv{constructor(D,L,G,j,te,de,Ie,Se){super(D,L,G,j,te,de,Ie,Se),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.Tag=Se,this.type=1287392070}}e.IfcFeatureElementSubtraction=_I;class ry extends NI{constructor(D,L,G,j,te,de,Ie,Se,Be){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.type=3907093117}}e.IfcFlowControllerType=ry;class wv extends NI{constructor(D,L,G,j,te,de,Ie,Se,Be){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.type=3198132628}}e.IfcFlowFittingType=wv;class nL extends ry{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.PredefinedType=wt,this.type=3815607619}}e.IfcFlowMeterType=nL;class eb extends NI{constructor(D,L,G,j,te,de,Ie,Se,Be){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.type=1482959167}}e.IfcFlowMovingDeviceType=eb;class pT extends NI{constructor(D,L,G,j,te,de,Ie,Se,Be){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.type=1834744321}}e.IfcFlowSegmentType=pT;class vv extends NI{constructor(D,L,G,j,te,de,Ie,Se,Be){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.type=1339347760}}e.IfcFlowStorageDeviceType=vv;class O0 extends NI{constructor(D,L,G,j,te,de,Ie,Se,Be){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.type=2297155007}}e.IfcFlowTerminalType=O0;class fh extends NI{constructor(D,L,G,j,te,de,Ie,Se,Be){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.type=3009222698}}e.IfcFlowTreatmentDeviceType=fh;class sL extends ga{constructor(D,L,G,j,te,de,Ie,Se){super(D,L,G,j,te,de,Ie,Se),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.Tag=Se,this.type=263784265}}e.IfcFurnishingElement=sL;class rF extends Rc{constructor(D,L,G,j,te){super(D,L,G,j,te),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.type=814719939}}e.IfcFurnitureStandard=rF;class lF extends O0{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.PredefinedType=wt,this.type=200128114}}e.IfcGasTerminalType=lF;class aF extends mm{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.UAxes=Se,this.VAxes=Be,this.WAxes=wt,this.type=3009204131}}e.IfcGrid=aF;class DI extends Im{constructor(D,L,G,j,te){super(D,L,G,j,te),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.type=2706460486}}e.IfcGroup=DI;class uF extends wa{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.PredefinedType=wt,this.type=1251058090}}e.IfcHeatExchangerType=uF;class cF extends wa{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.PredefinedType=wt,this.type=1806887404}}e.IfcHumidifierType=cF;class Su extends DI{constructor(D,L,G,j,te,de,Ie,Se,Be,wt,Ui){super(D,L,G,j,te),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.InventoryType=de,this.Jurisdiction=Ie,this.ResponsiblePersons=Se,this.LastUpdateDate=Be,this.CurrentValue=wt,this.OriginalValue=Ui,this.type=2391368822}}e.IfcInventory=Su;class AD extends wv{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.PredefinedType=wt,this.type=4288270099}}e.IfcJunctionBoxType=AD;class dF extends rp{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ResourceIdentifier=de,this.ResourceGroup=Ie,this.ResourceConsumption=Se,this.BaseQuantity=Be,this.SkillSet=wt,this.type=3827777499}}e.IfcLaborResource=dF;class hF extends O0{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.PredefinedType=wt,this.type=1051575348}}e.IfcLampType=hF;class bD extends O0{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.PredefinedType=wt,this.type=1161773419}}e.IfcLightFixtureType=bD;class fF extends Ng{constructor(D){super(D),this.Contents=D,this.type=2506943328}}e.IfcLinearDimension=fF;class oL extends iL{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.Tag=Se,this.NominalDiameter=Be,this.NominalLength=wt,this.type=377706215}}e.IfcMechanicalFastener=oL;class pF extends Tv{constructor(D,L,G,j,te,de,Ie,Se,Be){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.type=2108223431}}e.IfcMechanicalFastenerType=pF;class IF extends hh{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.PredefinedType=wt,this.type=3181161470}}e.IfcMemberType=IF;class mF extends wa{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.PredefinedType=wt,this.type=977012517}}e.IfcMotorConnectionType=mF;class rL extends yv{constructor(D,L,G,j,te,de,Ie,Se,Be,wt,Ui,yn,qn){super(D,L,G,j,te,de,Ie,Se,Be,wt),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.TaskId=de,this.Status=Ie,this.WorkMethod=Se,this.IsMilestone=Be,this.Priority=wt,this.MoveFrom=Ui,this.MoveTo=yn,this.PunchList=qn,this.type=1916936684}}e.IfcMove=rL;class lL extends KA{constructor(D,L,G,j,te,de,Ie){super(D,L,G,j,te,de),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.TheActor=de,this.PredefinedType=Ie,this.type=4143007308}}e.IfcOccupant=lL;class yF extends _I{constructor(D,L,G,j,te,de,Ie,Se){super(D,L,G,j,te,de,Ie,Se),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.Tag=Se,this.type=3588315303}}e.IfcOpeningElement=yF;class Dg extends yv{constructor(D,L,G,j,te,de,Ie,Se,Be,wt,Ui){super(D,L,G,j,te,de,Ie,Se,Be,wt),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.TaskId=de,this.Status=Ie,this.WorkMethod=Se,this.IsMilestone=Be,this.Priority=wt,this.ActionID=Ui,this.type=3425660407}}e.IfcOrderAction=Dg;class Cg extends O0{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.PredefinedType=wt,this.type=2837617999}}e.IfcOutletType=Cg;class aL extends Rc{constructor(D,L,G,j,te,de){super(D,L,G,j,te),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.LifeCyclePhase=de,this.type=2382730787}}e.IfcPerformanceHistory=aL;class EF extends Rc{constructor(D,L,G,j,te,de){super(D,L,G,j,te),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.PermitID=de,this.type=3327091369}}e.IfcPermit=EF;class TF extends wv{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.PredefinedType=wt,this.type=804291784}}e.IfcPipeFittingType=TF;class xg extends pT{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.PredefinedType=wt,this.type=4231323485}}e.IfcPipeSegmentType=xg;class gF extends hh{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.PredefinedType=wt,this.type=4017108033}}e.IfcPlateType=gF;class gr extends bg{constructor(D){super(),this.Points=D,this.type=3724593414}}e.IfcPolyline=gr;class uL extends mm{constructor(D,L,G,j,te,de,Ie){super(D,L,G,j,te,de,Ie),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.type=3740093272}}e.IfcPort=uL;class wF extends Sg{constructor(D,L,G,j,te,de,Ie,Se){super(D,L,G,j,te),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ProcedureID=de,this.ProcedureType=Ie,this.UserDefinedProcedureType=Se,this.type=2744685151}}e.IfcProcedure=wF;class vF extends Rc{constructor(D,L,G,j,te,de,Ie,Se){super(D,L,G,j,te),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ID=de,this.PredefinedType=Ie,this.Status=Se,this.type=2904328755}}e.IfcProjectOrder=vF;class RF extends Rc{constructor(D,L,G,j,te,de,Ie){super(D,L,G,j,te),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.Records=de,this.PredefinedType=Ie,this.type=3642467123}}e.IfcProjectOrderRecord=RF;class SF extends _g{constructor(D,L,G,j,te,de,Ie,Se){super(D,L,G,j,te,de,Ie,Se),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.Tag=Se,this.type=3651124850}}e.IfcProjectionElement=SF;class AF extends ry{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.PredefinedType=wt,this.type=1842657554}}e.IfcProtectiveDeviceType=AF;class cL extends eb{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.PredefinedType=wt,this.type=2250791053}}e.IfcPumpType=cL;class ND extends Ng{constructor(D){super(D),this.Contents=D,this.type=3248260540}}e.IfcRadiusDimension=ND;class tb extends hh{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.PredefinedType=wt,this.type=2893384427}}e.IfcRailingType=tb;class bF extends hh{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.PredefinedType=wt,this.type=2324767716}}e.IfcRampFlightType=bF;class NF extends jA{constructor(D,L,G,j,te,de){super(D,L,G,j,te,de),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.RelatingObject=te,this.RelatedObjects=de,this.type=160246688}}e.IfcRelAggregates=NF;class _F extends cf{constructor(D,L,G,j,te,de,Ie,Se){super(D,L,G,j,te,de,Ie),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.RelatedObjects=te,this.RelatedObjectsType=de,this.RelatingControl=Ie,this.TimeForTask=Se,this.type=2863920197}}e.IfcRelAssignsTasks=_F;class ly extends O0{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.PredefinedType=wt,this.type=1768891740}}e.IfcSanitaryTerminalType=ly;class CI extends Rc{constructor(D,L,G,j,te,de,Ie,Se,Be,wt,Ui,yn,qn,Pn,qo,zc,Au,ay,uy,Vg,kg,zg,Wg){super(D,L,G,j,te),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ActualStart=de,this.EarlyStart=Ie,this.LateStart=Se,this.ScheduleStart=Be,this.ActualFinish=wt,this.EarlyFinish=Ui,this.LateFinish=yn,this.ScheduleFinish=qn,this.ScheduleDuration=Pn,this.ActualDuration=qo,this.RemainingTime=zc,this.FreeFloat=Au,this.TotalFloat=ay,this.IsCritical=uy,this.StatusTime=Vg,this.StartFloat=kg,this.FinishFloat=zg,this.Completion=Wg,this.type=3517283431}}e.IfcScheduleTimeControl=CI;class DF extends Rc{constructor(D,L,G,j,te,de,Ie){super(D,L,G,j,te),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ServiceLifeType=de,this.ServiceLifeDuration=Ie,this.type=4105383287}}e.IfcServiceLife=DF;class CF extends sp{constructor(D,L,G,j,te,de,Ie,Se,Be,wt,Ui,yn,qn,Pn){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.LongName=Se,this.CompositionType=Be,this.RefLatitude=wt,this.RefLongitude=Ui,this.RefElevation=yn,this.LandTitleNumber=qn,this.SiteAddress=Pn,this.type=4097777520}}e.IfcSite=CF;class xF extends hh{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.PredefinedType=wt,this.type=2533589738}}e.IfcSlabType=xF;class dL extends sp{constructor(D,L,G,j,te,de,Ie,Se,Be,wt,Ui){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.LongName=Se,this.CompositionType=Be,this.InteriorOrExteriorSpace=wt,this.ElevationWithFlooring=Ui,this.type=3856911033}}e.IfcSpace=dL;class OF extends wa{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.PredefinedType=wt,this.type=1305183839}}e.IfcSpaceHeaterType=OF;class LF extends Rc{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.SpaceProgramIdentifier=de,this.MaxRequiredArea=Ie,this.MinRequiredArea=Se,this.RequestedLocation=Be,this.StandardRequiredArea=wt,this.type=652456506}}e.IfcSpaceProgram=LF;class _D extends $A{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.PredefinedType=wt,this.type=3812236995}}e.IfcSpaceType=_D;class ph extends O0{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.PredefinedType=wt,this.type=3112655638}}e.IfcStackTerminalType=ph;class DD extends hh{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.PredefinedType=wt,this.type=1039846685}}e.IfcStairFlightType=DD;class gm extends ZA{constructor(D,L,G,j,te,de,Ie,Se,Be,wt,Ui){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.AppliedLoad=Se,this.GlobalOrLocal=Be,this.DestabilizingLoad=wt,this.CausedBy=Ui,this.type=682877961}}e.IfcStructuralAction=gm;class Rv extends op{constructor(D,L,G,j,te,de,Ie,Se){super(D,L,G,j,te,de,Ie),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.AppliedCondition=Se,this.type=1179482911}}e.IfcStructuralConnection=Rv;class PF extends Rv{constructor(D,L,G,j,te,de,Ie,Se){super(D,L,G,j,te,de,Ie,Se),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.AppliedCondition=Se,this.type=4243806635}}e.IfcStructuralCurveConnection=PF;class hL extends dT{constructor(D,L,G,j,te,de,Ie,Se){super(D,L,G,j,te,de,Ie),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.PredefinedType=Se,this.type=214636428}}e.IfcStructuralCurveMember=hL;class lp extends hL{constructor(D,L,G,j,te,de,Ie,Se){super(D,L,G,j,te,de,Ie,Se),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.PredefinedType=Se,this.type=2445595289}}e.IfcStructuralCurveMemberVarying=lp;class fL extends gm{constructor(D,L,G,j,te,de,Ie,Se,Be,wt,Ui,yn){super(D,L,G,j,te,de,Ie,Se,Be,wt,Ui),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.AppliedLoad=Se,this.GlobalOrLocal=Be,this.DestabilizingLoad=wt,this.CausedBy=Ui,this.ProjectedOrTrue=yn,this.type=1807405624}}e.IfcStructuralLinearAction=fL;class IT extends fL{constructor(D,L,G,j,te,de,Ie,Se,Be,wt,Ui,yn,qn,Pn){super(D,L,G,j,te,de,Ie,Se,Be,wt,Ui,yn),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.AppliedLoad=Se,this.GlobalOrLocal=Be,this.DestabilizingLoad=wt,this.CausedBy=Ui,this.ProjectedOrTrue=yn,this.VaryingAppliedLoadLocation=qn,this.SubsequentAppliedLoads=Pn,this.type=1721250024}}e.IfcStructuralLinearActionVarying=IT;class wm extends DI{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.PredefinedType=de,this.ActionType=Ie,this.ActionSource=Se,this.Coefficient=Be,this.Purpose=wt,this.type=1252848954}}e.IfcStructuralLoadGroup=wm;class xI extends gm{constructor(D,L,G,j,te,de,Ie,Se,Be,wt,Ui,yn){super(D,L,G,j,te,de,Ie,Se,Be,wt,Ui),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.AppliedLoad=Se,this.GlobalOrLocal=Be,this.DestabilizingLoad=wt,this.CausedBy=Ui,this.ProjectedOrTrue=yn,this.type=1621171031}}e.IfcStructuralPlanarAction=xI;class CD extends xI{constructor(D,L,G,j,te,de,Ie,Se,Be,wt,Ui,yn,qn,Pn){super(D,L,G,j,te,de,Ie,Se,Be,wt,Ui,yn),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.AppliedLoad=Se,this.GlobalOrLocal=Be,this.DestabilizingLoad=wt,this.CausedBy=Ui,this.ProjectedOrTrue=yn,this.VaryingAppliedLoadLocation=qn,this.SubsequentAppliedLoads=Pn,this.type=3987759626}}e.IfcStructuralPlanarActionVarying=CD;class ur extends gm{constructor(D,L,G,j,te,de,Ie,Se,Be,wt,Ui){super(D,L,G,j,te,de,Ie,Se,Be,wt,Ui),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.AppliedLoad=Se,this.GlobalOrLocal=Be,this.DestabilizingLoad=wt,this.CausedBy=Ui,this.type=2082059205}}e.IfcStructuralPointAction=ur;class pL extends Rv{constructor(D,L,G,j,te,de,Ie,Se){super(D,L,G,j,te,de,Ie,Se),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.AppliedCondition=Se,this.type=734778138}}e.IfcStructuralPointConnection=pL;class MF extends ZO{constructor(D,L,G,j,te,de,Ie,Se,Be){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.AppliedLoad=Se,this.GlobalOrLocal=Be,this.type=1235345126}}e.IfcStructuralPointReaction=MF;class BF extends DI{constructor(D,L,G,j,te,de,Ie,Se){super(D,L,G,j,te),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.TheoryType=de,this.ResultForLoadGroup=Ie,this.IsLinear=Se,this.type=2986769608}}e.IfcStructuralResultGroup=BF;class FF extends Rv{constructor(D,L,G,j,te,de,Ie,Se){super(D,L,G,j,te,de,Ie,Se),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.AppliedCondition=Se,this.type=1975003073}}e.IfcStructuralSurfaceConnection=FF;class ib extends rp{constructor(D,L,G,j,te,de,Ie,Se,Be,wt,Ui){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ResourceIdentifier=de,this.ResourceGroup=Ie,this.ResourceConsumption=Se,this.BaseQuantity=Be,this.SubContractor=wt,this.JobDescription=Ui,this.type=148013059}}e.IfcSubContractResource=ib;class IL extends ry{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.PredefinedType=wt,this.type=2315554128}}e.IfcSwitchingDeviceType=IL;class xD extends DI{constructor(D,L,G,j,te){super(D,L,G,j,te),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.type=2254336722}}e.IfcSystem=xD;class UF extends vv{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.PredefinedType=wt,this.type=5716631}}e.IfcTankType=UF;class HF extends Rc{constructor(D,L,G,j,te,de,Ie,Se){super(D,L,G,j,te),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ApplicableDates=de,this.TimeSeriesScheduleType=Ie,this.TimeSeries=Se,this.type=1637806684}}e.IfcTimeSeriesSchedule=HF;class nb extends wa{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.PredefinedType=wt,this.type=1692211062}}e.IfcTransformerType=nb;class mL extends ga{constructor(D,L,G,j,te,de,Ie,Se,Be,wt,Ui){super(D,L,G,j,te,de,Ie,Se),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.Tag=Se,this.OperationType=Be,this.CapacityByWeight=wt,this.CapacityByNumber=Ui,this.type=1620046519}}e.IfcTransportElement=mL;class Sv extends bg{constructor(D,L,G,j,te){super(),this.BasisCurve=D,this.Trim1=L,this.Trim2=G,this.SenseAgreement=j,this.MasterRepresentation=te,this.type=3593883385}}e.IfcTrimmedCurve=Sv;class vm extends wa{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.PredefinedType=wt,this.type=1600972822}}e.IfcTubeBundleType=vm;class Og extends wa{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.PredefinedType=wt,this.type=1911125066}}e.IfcUnitaryEquipmentType=Og;class OD extends ry{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.PredefinedType=wt,this.type=728799441}}e.IfcValveType=OD;class Av extends ga{constructor(D,L,G,j,te,de,Ie,Se){super(D,L,G,j,te,de,Ie,Se),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.Tag=Se,this.type=2769231204}}e.IfcVirtualElement=Av;class bv extends hh{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.PredefinedType=wt,this.type=1898987631}}e.IfcWallType=bv;class LD extends O0{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.PredefinedType=wt,this.type=1133259667}}e.IfcWasteTerminalType=LD;class Sc extends Rc{constructor(D,L,G,j,te,de,Ie,Se,Be,wt,Ui,yn,qn,Pn,qo){super(D,L,G,j,te),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.Identifier=de,this.CreationDate=Ie,this.Creators=Se,this.Purpose=Be,this.Duration=wt,this.TotalFloat=Ui,this.StartTime=yn,this.FinishTime=qn,this.WorkControlType=Pn,this.UserDefinedControlType=qo,this.type=1028945134}}e.IfcWorkControl=Sc;class sb extends Sc{constructor(D,L,G,j,te,de,Ie,Se,Be,wt,Ui,yn,qn,Pn,qo){super(D,L,G,j,te,de,Ie,Se,Be,wt,Ui,yn,qn,Pn,qo),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.Identifier=de,this.CreationDate=Ie,this.Creators=Se,this.Purpose=Be,this.Duration=wt,this.TotalFloat=Ui,this.StartTime=yn,this.FinishTime=qn,this.WorkControlType=Pn,this.UserDefinedControlType=qo,this.type=4218914973}}e.IfcWorkPlan=sb;class yL extends Sc{constructor(D,L,G,j,te,de,Ie,Se,Be,wt,Ui,yn,qn,Pn,qo){super(D,L,G,j,te,de,Ie,Se,Be,wt,Ui,yn,qn,Pn,qo),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.Identifier=de,this.CreationDate=Ie,this.Creators=Se,this.Purpose=Be,this.Duration=wt,this.TotalFloat=Ui,this.StartTime=yn,this.FinishTime=qn,this.WorkControlType=Pn,this.UserDefinedControlType=qo,this.type=3342526732}}e.IfcWorkSchedule=yL;class ob extends DI{constructor(D,L,G,j,te){super(D,L,G,j,te),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.type=1033361043}}e.IfcZone=ob;class GF extends Ev{constructor(D,L){super(D,L),this.Segments=D,this.SelfIntersect=L,this.type=1213861670}}e.Ifc2DCompositeCurve=GF;class VF extends Rc{constructor(D,L,G,j,te,de){super(D,L,G,j,te),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.RequestID=de,this.type=3821786052}}e.IfcActionRequest=VF;class EL extends ry{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.PredefinedType=wt,this.type=1411407467}}e.IfcAirTerminalBoxType=EL;class mT extends O0{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.PredefinedType=wt,this.type=3352864051}}e.IfcAirTerminalType=mT;class kF extends wa{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.PredefinedType=wt,this.type=1871374353}}e.IfcAirToAirHeatRecoveryType=kF;class zF extends Ng{constructor(D){super(D),this.Contents=D,this.type=2470393545}}e.IfcAngularDimension=zF;class Lg extends DI{constructor(D,L,G,j,te,de,Ie,Se,Be,wt,Ui,yn,qn,Pn){super(D,L,G,j,te),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.AssetID=de,this.OriginalValue=Ie,this.CurrentValue=Se,this.TotalReplacementCost=Be,this.Owner=wt,this.User=Ui,this.ResponsiblePerson=yn,this.IncorporationDate=qn,this.DepreciatedValue=Pn,this.type=3460190687}}e.IfcAsset=Lg;class TL extends bg{constructor(D,L,G,j,te){super(),this.Degree=D,this.ControlPointsList=L,this.CurveForm=G,this.ClosedCurve=j,this.SelfIntersect=te,this.type=1967976161}}e.IfcBSplineCurve=TL;class Eo extends hh{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.PredefinedType=wt,this.type=819618141}}e.IfcBeamType=Eo;class gL extends TL{constructor(D,L,G,j,te){super(D,L,G,j,te),this.Degree=D,this.ControlPointsList=L,this.CurveForm=G,this.ClosedCurve=j,this.SelfIntersect=te,this.type=1916977116}}e.IfcBezierCurve=gL;class WF extends wa{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.PredefinedType=wt,this.type=231477066}}e.IfcBoilerType=WF;class Cr extends ga{constructor(D,L,G,j,te,de,Ie,Se){super(D,L,G,j,te,de,Ie,Se),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.Tag=Se,this.type=3299480353}}e.IfcBuildingElement=Cr;class PD extends Cr{constructor(D,L,G,j,te,de,Ie,Se){super(D,L,G,j,te,de,Ie,Se),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.Tag=Se,this.type=52481810}}e.IfcBuildingElementComponent=PD;class YF extends PD{constructor(D,L,G,j,te,de,Ie,Se){super(D,L,G,j,te,de,Ie,Se),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.Tag=Se,this.type=2979338954}}e.IfcBuildingElementPart=YF;class jF extends Cr{constructor(D,L,G,j,te,de,Ie,Se,Be){super(D,L,G,j,te,de,Ie,Se),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.Tag=Se,this.CompositionType=Be,this.type=1095909175}}e.IfcBuildingElementProxy=jF;class rb extends hh{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.PredefinedType=wt,this.type=1909888760}}e.IfcBuildingElementProxyType=rb;class wL extends wv{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.PredefinedType=wt,this.type=395041908}}e.IfcCableCarrierFittingType=wL;class MD extends pT{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.PredefinedType=wt,this.type=3293546465}}e.IfcCableCarrierSegmentType=MD;class qF extends pT{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.PredefinedType=wt,this.type=1285652485}}e.IfcCableSegmentType=qF;class $F extends wa{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.PredefinedType=wt,this.type=2951183804}}e.IfcChillerType=$F;class vL extends fT{constructor(D,L){super(D),this.Position=D,this.Radius=L,this.type=2611217952}}e.IfcCircle=vL;class yT extends wa{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.PredefinedType=wt,this.type=2301859152}}e.IfcCoilType=yT;class Rm extends Cr{constructor(D,L,G,j,te,de,Ie,Se){super(D,L,G,j,te,de,Ie,Se),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.Tag=Se,this.type=843113511}}e.IfcColumn=Rm;class ZF extends eb{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.PredefinedType=wt,this.type=3850581409}}e.IfcCompressorType=ZF;class KF extends wa{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.PredefinedType=wt,this.type=2816379211}}e.IfcCondenserType=KF;class QF extends DI{constructor(D,L,G,j,te){super(D,L,G,j,te),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.type=2188551683}}e.IfcCondition=QF;class JF extends Rc{constructor(D,L,G,j,te,de,Ie){super(D,L,G,j,te),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.Criterion=de,this.CriterionDateTime=Ie,this.type=1163958913}}e.IfcConditionCriterion=JF;class XF extends rp{constructor(D,L,G,j,te,de,Ie,Se,Be){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ResourceIdentifier=de,this.ResourceGroup=Ie,this.ResourceConsumption=Se,this.BaseQuantity=Be,this.type=3898045240}}e.IfcConstructionEquipmentResource=XF;class eU extends rp{constructor(D,L,G,j,te,de,Ie,Se,Be,wt,Ui){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ResourceIdentifier=de,this.ResourceGroup=Ie,this.ResourceConsumption=Se,this.BaseQuantity=Be,this.Suppliers=wt,this.UsageRatio=Ui,this.type=1060000209}}e.IfcConstructionMaterialResource=eU;class tU extends rp{constructor(D,L,G,j,te,de,Ie,Se,Be){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ResourceIdentifier=de,this.ResourceGroup=Ie,this.ResourceConsumption=Se,this.BaseQuantity=Be,this.type=488727124}}e.IfcConstructionProductResource=tU;class iU extends wa{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.PredefinedType=wt,this.type=335055490}}e.IfcCooledBeamType=iU;class BD extends wa{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.PredefinedType=wt,this.type=2954562838}}e.IfcCoolingTowerType=BD;class RL extends Cr{constructor(D,L,G,j,te,de,Ie,Se,Be){super(D,L,G,j,te,de,Ie,Se),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.Tag=Se,this.PredefinedType=Be,this.type=1973544240}}e.IfcCovering=RL;class FD extends Cr{constructor(D,L,G,j,te,de,Ie,Se){super(D,L,G,j,te,de,Ie,Se),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.Tag=Se,this.type=3495092785}}e.IfcCurtainWall=FD;class OI extends ry{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.PredefinedType=wt,this.type=3961806047}}e.IfcDamperType=OI;class nU extends Ng{constructor(D){super(D),this.Contents=D,this.type=4147604152}}e.IfcDiameterDimension=nU;class sU extends JA{constructor(D,L,G,j,te,de,Ie,Se){super(D,L,G,j,te,de,Ie,Se),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.Tag=Se,this.type=1335981549}}e.IfcDiscreteAccessory=sU;class SL extends XA{constructor(D,L,G,j,te,de,Ie,Se,Be){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.type=2635815018}}e.IfcDiscreteAccessoryType=SL;class oU extends NI{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.PredefinedType=wt,this.type=1599208980}}e.IfcDistributionChamberElementType=oU;class Pg extends Tm{constructor(D,L,G,j,te,de,Ie,Se,Be){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.type=2063403501}}e.IfcDistributionControlElementType=Pg;class L0 extends ga{constructor(D,L,G,j,te,de,Ie,Se){super(D,L,G,j,te,de,Ie,Se),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.Tag=Se,this.type=1945004755}}e.IfcDistributionElement=L0;class LI extends L0{constructor(D,L,G,j,te,de,Ie,Se){super(D,L,G,j,te,de,Ie,Se),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.Tag=Se,this.type=3040386961}}e.IfcDistributionFlowElement=LI;class Nv extends uL{constructor(D,L,G,j,te,de,Ie,Se){super(D,L,G,j,te,de,Ie),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.FlowDirection=Se,this.type=3041715199}}e.IfcDistributionPort=Nv;class P0 extends Cr{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.Tag=Se,this.OverallHeight=Be,this.OverallWidth=wt,this.type=395920057}}e.IfcDoor=P0;class PI extends wv{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.PredefinedType=wt,this.type=869906466}}e.IfcDuctFittingType=PI;class rU extends pT{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.PredefinedType=wt,this.type=3760055223}}e.IfcDuctSegmentType=rU;class xr extends fh{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.PredefinedType=wt,this.type=2030761528}}e.IfcDuctSilencerType=xr;class UD extends _I{constructor(D,L,G,j,te,de,Ie,Se,Be){super(D,L,G,j,te,de,Ie,Se),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.Tag=Se,this.FeatureLength=Be,this.type=855621170}}e.IfcEdgeFeature=UD;class lU extends O0{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.PredefinedType=wt,this.type=663422040}}e.IfcElectricApplianceType=lU;class aU extends vv{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.PredefinedType=wt,this.type=3277789161}}e.IfcElectricFlowStorageDeviceType=aU;class uU extends wa{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.PredefinedType=wt,this.type=1534661035}}e.IfcElectricGeneratorType=uU;class AL extends O0{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.PredefinedType=wt,this.type=1365060375}}e.IfcElectricHeaterType=AL;class bL extends wa{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.PredefinedType=wt,this.type=1217240411}}e.IfcElectricMotorType=bL;class cU extends ry{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.PredefinedType=wt,this.type=712377611}}e.IfcElectricTimeControlType=cU;class Mg extends xD{constructor(D,L,G,j,te){super(D,L,G,j,te),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.type=1634875225}}e.IfcElectricalCircuit=Mg;class Bg extends ga{constructor(D,L,G,j,te,de,Ie,Se){super(D,L,G,j,te,de,Ie,Se),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.Tag=Se,this.type=857184966}}e.IfcElectricalElement=Bg;class dU extends LI{constructor(D,L,G,j,te,de,Ie,Se){super(D,L,G,j,te,de,Ie,Se),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.Tag=Se,this.type=1658829314}}e.IfcEnergyConversionDevice=dU;class hU extends eb{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.PredefinedType=wt,this.type=346874300}}e.IfcFanType=hU;class fU extends fh{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.PredefinedType=wt,this.type=1810631287}}e.IfcFilterType=fU;class lb extends O0{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.PredefinedType=wt,this.type=4222183408}}e.IfcFireSuppressionTerminalType=lb;class Fg extends LI{constructor(D,L,G,j,te,de,Ie,Se){super(D,L,G,j,te,de,Ie,Se),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.Tag=Se,this.type=2058353004}}e.IfcFlowController=Fg;class ET extends LI{constructor(D,L,G,j,te,de,Ie,Se){super(D,L,G,j,te,de,Ie,Se),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.Tag=Se,this.type=4278956645}}e.IfcFlowFitting=ET;class ap extends Pg{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.PredefinedType=wt,this.type=4037862832}}e.IfcFlowInstrumentType=ap;class Ug extends LI{constructor(D,L,G,j,te,de,Ie,Se){super(D,L,G,j,te,de,Ie,Se),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.Tag=Se,this.type=3132237377}}e.IfcFlowMovingDevice=Ug;class NL extends LI{constructor(D,L,G,j,te,de,Ie,Se){super(D,L,G,j,te,de,Ie,Se),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.Tag=Se,this.type=987401354}}e.IfcFlowSegment=NL;class ab extends LI{constructor(D,L,G,j,te,de,Ie,Se){super(D,L,G,j,te,de,Ie,Se),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.Tag=Se,this.type=707683696}}e.IfcFlowStorageDevice=ab;class Hg extends LI{constructor(D,L,G,j,te,de,Ie,Se){super(D,L,G,j,te,de,Ie,Se),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.Tag=Se,this.type=2223149337}}e.IfcFlowTerminal=Hg;class HD extends LI{constructor(D,L,G,j,te,de,Ie,Se){super(D,L,G,j,te,de,Ie,Se),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.Tag=Se,this.type=3508470533}}e.IfcFlowTreatmentDevice=HD;class Ua extends Cr{constructor(D,L,G,j,te,de,Ie,Se,Be){super(D,L,G,j,te,de,Ie,Se),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.Tag=Se,this.PredefinedType=Be,this.type=900683007}}e.IfcFooting=Ua;class _v extends Cr{constructor(D,L,G,j,te,de,Ie,Se){super(D,L,G,j,te,de,Ie,Se),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.Tag=Se,this.type=1073191201}}e.IfcMember=_v;class pU extends Cr{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.Tag=Se,this.PredefinedType=Be,this.ConstructionType=wt,this.type=1687234759}}e.IfcPile=pU;class GD extends Cr{constructor(D,L,G,j,te,de,Ie,Se){super(D,L,G,j,te,de,Ie,Se),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.Tag=Se,this.type=3171933400}}e.IfcPlate=GD;class IU extends Cr{constructor(D,L,G,j,te,de,Ie,Se,Be){super(D,L,G,j,te,de,Ie,Se),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.Tag=Se,this.PredefinedType=Be,this.type=2262370178}}e.IfcRailing=IU;class _L extends Cr{constructor(D,L,G,j,te,de,Ie,Se,Be){super(D,L,G,j,te,de,Ie,Se),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.Tag=Se,this.ShapeType=Be,this.type=3024970846}}e.IfcRamp=_L;class VD extends Cr{constructor(D,L,G,j,te,de,Ie,Se){super(D,L,G,j,te,de,Ie,Se),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.Tag=Se,this.type=3283111854}}e.IfcRampFlight=VD;class mU extends gL{constructor(D,L,G,j,te,de){super(D,L,G,j,te),this.Degree=D,this.ControlPointsList=L,this.CurveForm=G,this.ClosedCurve=j,this.SelfIntersect=te,this.WeightsData=de,this.type=3055160366}}e.IfcRationalBezierCurve=mU;class Dv extends PD{constructor(D,L,G,j,te,de,Ie,Se,Be){super(D,L,G,j,te,de,Ie,Se),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.Tag=Se,this.SteelGrade=Be,this.type=3027567501}}e.IfcReinforcingElement=Dv;class Gg extends Dv{constructor(D,L,G,j,te,de,Ie,Se,Be,wt,Ui,yn,qn,Pn,qo,zc,Au){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.Tag=Se,this.SteelGrade=Be,this.MeshLength=wt,this.MeshWidth=Ui,this.LongitudinalBarNominalDiameter=yn,this.TransverseBarNominalDiameter=qn,this.LongitudinalBarCrossSectionArea=Pn,this.TransverseBarCrossSectionArea=qo,this.LongitudinalBarSpacing=zc,this.TransverseBarSpacing=Au,this.type=2320036040}}e.IfcReinforcingMesh=Gg;class Cv extends Cr{constructor(D,L,G,j,te,de,Ie,Se,Be){super(D,L,G,j,te,de,Ie,Se),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.Tag=Se,this.ShapeType=Be,this.type=2016517767}}e.IfcRoof=Cv;class yU extends UD{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.Tag=Se,this.FeatureLength=Be,this.Radius=wt,this.type=1376911519}}e.IfcRoundedEdgeFeature=yU;class EU extends Pg{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.PredefinedType=wt,this.type=1783015770}}e.IfcSensorType=EU;class TU extends Cr{constructor(D,L,G,j,te,de,Ie,Se,Be){super(D,L,G,j,te,de,Ie,Se),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.Tag=Se,this.PredefinedType=Be,this.type=1529196076}}e.IfcSlab=TU;class gU extends Cr{constructor(D,L,G,j,te,de,Ie,Se,Be){super(D,L,G,j,te,de,Ie,Se),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.Tag=Se,this.ShapeType=Be,this.type=331165859}}e.IfcStair=gU;class wU extends Cr{constructor(D,L,G,j,te,de,Ie,Se,Be,wt,Ui,yn){super(D,L,G,j,te,de,Ie,Se),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.Tag=Se,this.NumberOfRiser=Be,this.NumberOfTreads=wt,this.RiserHeight=Ui,this.TreadLength=yn,this.type=4252922144}}e.IfcStairFlight=wU;class vU extends xD{constructor(D,L,G,j,te,de,Ie,Se,Be){super(D,L,G,j,te),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.PredefinedType=de,this.OrientationOf2DPlane=Ie,this.LoadedBy=Se,this.HasResults=Be,this.type=2515109513}}e.IfcStructuralAnalysisModel=vU;class RU extends Dv{constructor(D,L,G,j,te,de,Ie,Se,Be,wt,Ui,yn,qn,Pn,qo,zc,Au){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.Tag=Se,this.SteelGrade=Be,this.PredefinedType=wt,this.NominalDiameter=Ui,this.CrossSectionArea=yn,this.TensionForce=qn,this.PreStress=Pn,this.FrictionCoefficient=qo,this.AnchorageSlip=zc,this.MinCurvatureRadius=Au,this.type=3824725483}}e.IfcTendon=RU;class SU extends Dv{constructor(D,L,G,j,te,de,Ie,Se,Be){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.Tag=Se,this.SteelGrade=Be,this.type=2347447852}}e.IfcTendonAnchor=SU;class AU extends SL{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.PredefinedType=wt,this.type=3313531582}}e.IfcVibrationIsolatorType=AU;class DL extends Cr{constructor(D,L,G,j,te,de,Ie,Se){super(D,L,G,j,te,de,Ie,Se),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.Tag=Se,this.type=2391406946}}e.IfcWall=DL;class bU extends DL{constructor(D,L,G,j,te,de,Ie,Se){super(D,L,G,j,te,de,Ie,Se),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.Tag=Se,this.type=3512223829}}e.IfcWallStandardCase=bU;class NU extends Cr{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.Tag=Se,this.OverallHeight=Be,this.OverallWidth=wt,this.type=3304561284}}e.IfcWindow=NU;class xv extends Pg{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.PredefinedType=wt,this.type=2874132201}}e.IfcActuatorType=xv;class _U extends Pg{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.PredefinedType=wt,this.type=3001207471}}e.IfcAlarmType=_U;class DU extends Cr{constructor(D,L,G,j,te,de,Ie,Se){super(D,L,G,j,te,de,Ie,Se),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.Tag=Se,this.type=753842376}}e.IfcBeam=DU;class CU extends UD{constructor(D,L,G,j,te,de,Ie,Se,Be,wt,Ui){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.Tag=Se,this.FeatureLength=Be,this.Width=wt,this.Height=Ui,this.type=2454782716}}e.IfcChamferEdgeFeature=CU;class xU extends Pg{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ApplicableOccurrence=te,this.HasPropertySets=de,this.RepresentationMaps=Ie,this.Tag=Se,this.ElementType=Be,this.PredefinedType=wt,this.type=578613899}}e.IfcControllerType=xU;class OU extends LI{constructor(D,L,G,j,te,de,Ie,Se){super(D,L,G,j,te,de,Ie,Se),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.Tag=Se,this.type=1052013943}}e.IfcDistributionChamberElement=OU;class LU extends L0{constructor(D,L,G,j,te,de,Ie,Se,Be){super(D,L,G,j,te,de,Ie,Se),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.Tag=Se,this.ControlElementId=Be,this.type=1062813311}}e.IfcDistributionControlElement=LU;class PU extends Fg{constructor(D,L,G,j,te,de,Ie,Se,Be,wt){super(D,L,G,j,te,de,Ie,Se),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.Tag=Se,this.DistributionPointFunction=Be,this.UserDefinedFunction=wt,this.type=3700593921}}e.IfcElectricDistributionPoint=PU;class kD extends Dv{constructor(D,L,G,j,te,de,Ie,Se,Be,wt,Ui,yn,qn,Pn){super(D,L,G,j,te,de,Ie,Se,Be),this.GlobalId=D,this.OwnerHistory=L,this.Name=G,this.Description=j,this.ObjectType=te,this.ObjectPlacement=de,this.Representation=Ie,this.Tag=Se,this.SteelGrade=Be,this.NominalDiameter=wt,this.CrossSectionArea=Ui,this.BarLength=yn,this.BarRole=qn,this.BarSurface=Pn,this.type=979691226}}e.IfcReinforcingBar=kD})(f||(f={}));SN[2]=["IFC4"];y6[2]={3630933823:e=>new c.IfcActorRole(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcText((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),618182010:e=>new c.IfcAddress(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),639542469:e=>new c.IfcApplication(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),new c.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),new c.IfcIdentifier((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),411424972:e=>new c.IfcAppliedValue((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2]),(e[3]??void 0)===void 0||e[3]===""?null:new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,2,e[3]),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcDate((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new c.IfcDate((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new c.IfcLabel((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8],(e[9]??void 0)===void 0||e[9]===""?null:e[9]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[]),130549933:e=>new c.IfcApproval((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcIdentifier((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcText((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcDateTime((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new c.IfcLabel((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new c.IfcText((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,2,e[7]),(e[8]??void 0)===void 0||e[8]===""?null:new u((e[8]??void 0)===void 0||e[8]===""?null:e[8].value,2,e[8])),4037036970:e=>new c.IfcBoundaryCondition((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value)),1560379544:e=>new c.IfcBoundaryEdgeCondition((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:Si(2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:Si(2,e[2]),(e[3]??void 0)===void 0||e[3]===""?null:Si(2,e[3]),(e[4]??void 0)===void 0||e[4]===""?null:Si(2,e[4]),(e[5]??void 0)===void 0||e[5]===""?null:Si(2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:Si(2,e[6])),3367102660:e=>new c.IfcBoundaryFaceCondition((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:Si(2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:Si(2,e[2]),(e[3]??void 0)===void 0||e[3]===""?null:Si(2,e[3])),1387855156:e=>new c.IfcBoundaryNodeCondition((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:Si(2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:Si(2,e[2]),(e[3]??void 0)===void 0||e[3]===""?null:Si(2,e[3]),(e[4]??void 0)===void 0||e[4]===""?null:Si(2,e[4]),(e[5]??void 0)===void 0||e[5]===""?null:Si(2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:Si(2,e[6])),2069777674:e=>new c.IfcBoundaryNodeConditionWarping((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:Si(2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:Si(2,e[2]),(e[3]??void 0)===void 0||e[3]===""?null:Si(2,e[3]),(e[4]??void 0)===void 0||e[4]===""?null:Si(2,e[4]),(e[5]??void 0)===void 0||e[5]===""?null:Si(2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:Si(2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:Si(2,e[7])),2859738748:e=>new c.IfcConnectionGeometry,2614616156:e=>new c.IfcConnectionPointGeometry(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1])),2732653382:e=>new c.IfcConnectionSurfaceGeometry(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1])),775493141:e=>new c.IfcConnectionVolumeGeometry(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1])),1959218052:e=>new c.IfcConstraint(new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),e[2],(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcLabel((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,2,e[4]),(e[5]??void 0)===void 0||e[5]===""?null:new c.IfcDateTime((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new c.IfcLabel((e[6]??void 0)===void 0||e[6]===""?null:e[6].value)),1785450214:e=>new c.IfcCoordinateOperation(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1])),1466758467:e=>new c.IfcCoordinateReferenceSystem(new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcIdentifier((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcIdentifier((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),602808272:e=>new c.IfcCostValue((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2]),(e[3]??void 0)===void 0||e[3]===""?null:new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,2,e[3]),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcDate((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new c.IfcDate((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new c.IfcLabel((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8],(e[9]??void 0)===void 0||e[9]===""?null:e[9]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[]),1765591967:e=>new c.IfcDerivedUnit(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],e[1],(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),1045800335:e=>new c.IfcDerivedUnitElement(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),new mt((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,10)),2949456006:e=>new c.IfcDimensionalExponents(new mt((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,10),new mt((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,10),new mt((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,10),new mt((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,10),new mt((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,10),new mt((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,10),new mt((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,10)),4294318154:e=>new c.IfcExternalInformation,3200245327:e=>new c.IfcExternalReference((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcURIReference((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcIdentifier((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),2242383968:e=>new c.IfcExternallyDefinedHatchStyle((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcURIReference((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcIdentifier((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),1040185647:e=>new c.IfcExternallyDefinedSurfaceStyle((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcURIReference((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcIdentifier((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),3548104201:e=>new c.IfcExternallyDefinedTextFont((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcURIReference((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcIdentifier((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),852622518:e=>new c.IfcGridAxis((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),new c.IfcBoolean((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),3020489413:e=>new c.IfcIrregularTimeSeriesValue(new c.IfcDateTime((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?Si(2,t):null)||[]),2655187982:e=>new c.IfcLibraryInformation(new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2]),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcDateTime((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcURIReference((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new c.IfcText((e[5]??void 0)===void 0||e[5]===""?null:e[5].value)),3452421091:e=>new c.IfcLibraryReference((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcURIReference((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcIdentifier((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLanguageId((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5])),4162380809:e=>new c.IfcLightDistributionData(new c.IfcPlaneAngleMeasure((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new c.IfcPlaneAngleMeasure(t.value):null)||[],e[2]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new c.IfcLuminousIntensityDistributionMeasure(t.value):null)||[]),1566485204:e=>new c.IfcLightIntensityDistribution(e[0],e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[]),3057273783:e=>new c.IfcMapConversion(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),new c.IfcLengthMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),new c.IfcLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new c.IfcLengthMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new c.IfcReal((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new c.IfcReal((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcReal((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),1847130766:e=>new c.IfcMaterialClassificationRelationship(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1])),760658860:e=>new c.IfcMaterialDefinition,248100487:e=>new c.IfcMaterialLayer((e[0]??void 0)===void 0||e[0]===""?null:new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),new c.IfcNonNegativeLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLogical((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcLabel((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcText((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new c.IfcLabel((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new c.IfcInteger((e[6]??void 0)===void 0||e[6]===""?null:e[6].value)),3303938423:e=>new c.IfcMaterialLayerSet(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcText((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),1847252529:e=>new c.IfcMaterialLayerWithOffsets((e[0]??void 0)===void 0||e[0]===""?null:new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),new c.IfcNonNegativeLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLogical((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcLabel((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcText((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new c.IfcLabel((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new c.IfcInteger((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),e[7],new c.IfcLengthMeasure((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),2199411900:e=>new c.IfcMaterialList(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[]),2235152071:e=>new c.IfcMaterialProfile((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2]),new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,2,e[3]),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcInteger((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new c.IfcLabel((e[5]??void 0)===void 0||e[5]===""?null:e[5].value)),164193824:e=>new c.IfcMaterialProfileSet((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),e[2]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[3]??void 0)===void 0||e[3]===""?null:new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,2,e[3])),552965576:e=>new c.IfcMaterialProfileWithOffsets((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2]),new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,2,e[3]),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcInteger((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new c.IfcLabel((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),new c.IfcLengthMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value)),1507914824:e=>new c.IfcMaterialUsageDefinition,2597039031:e=>new c.IfcMeasureWithUnit(Si(2,e[0]),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1])),3368373690:e=>new c.IfcMetric(new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),e[2],(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcLabel((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,2,e[4]),(e[5]??void 0)===void 0||e[5]===""?null:new c.IfcDateTime((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new c.IfcLabel((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),e[7],(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new u((e[9]??void 0)===void 0||e[9]===""?null:e[9].value,2,e[9]),(e[10]??void 0)===void 0||e[10]===""?null:new u((e[10]??void 0)===void 0||e[10]===""?null:e[10].value,2,e[10])),2706619895:e=>new c.IfcMonetaryUnit(new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value)),1918398963:e=>new c.IfcNamedUnit(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),e[1]),3701648758:e=>new c.IfcObjectPlacement,2251480897:e=>new c.IfcObjective(new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),e[2],(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcLabel((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,2,e[4]),(e[5]??void 0)===void 0||e[5]===""?null:new c.IfcDateTime((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new c.IfcLabel((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:e[7]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],e[8],e[9],(e[10]??void 0)===void 0||e[10]===""?null:new c.IfcLabel((e[10]??void 0)===void 0||e[10]===""?null:e[10].value)),4251960020:e=>new c.IfcOrganization((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcIdentifier((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new c.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcText((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:e[3]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[4]??void 0)===void 0||e[4]===""?null:e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[]),1207048766:e=>new c.IfcOwnerHistory(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),e[2],e[3],(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcTimeStamp((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),new c.IfcTimeStamp((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),2077209135:e=>new c.IfcPerson((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcIdentifier((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:e[3]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new c.IfcLabel(t.value):null)||[],(e[4]??void 0)===void 0||e[4]===""?null:e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new c.IfcLabel(t.value):null)||[],(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new c.IfcLabel(t.value):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:e[7]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[]),101040310:e=>new c.IfcPersonAndOrganization(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:e[2]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[]),2483315170:e=>new c.IfcPhysicalQuantity(new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value)),2226359599:e=>new c.IfcPhysicalSimpleQuantity(new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2])),3355820592:e=>new c.IfcPostalAddress(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcLabel((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new c.IfcLabel(t.value):null)||[],(e[5]??void 0)===void 0||e[5]===""?null:new c.IfcLabel((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new c.IfcLabel((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new c.IfcLabel((e[9]??void 0)===void 0||e[9]===""?null:e[9].value)),677532197:e=>new c.IfcPresentationItem,2022622350:e=>new c.IfcPresentationLayerAssignment(new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),e[2]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcIdentifier((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),1304840413:e=>new c.IfcPresentationLayerWithStyle(new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),e[2]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcIdentifier((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new c.IfcLogical((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),new c.IfcLogical((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),new c.IfcLogical((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:e[7]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[]),3119450353:e=>new c.IfcPresentationStyle((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value)),2417041796:e=>new c.IfcPresentationStyleAssignment(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[]),2095639259:e=>new c.IfcProductRepresentation((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),e[2]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[]),3958567839:e=>new c.IfcProfileDef(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value)),3843373140:e=>new c.IfcProjectedCRS(new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcIdentifier((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcIdentifier((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new c.IfcIdentifier((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6])),986844984:e=>new c.IfcPropertyAbstraction,3710013099:e=>new c.IfcPropertyEnumeration(new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?Si(2,t):null)||[],(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2])),2044713172:e=>new c.IfcQuantityArea(new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2]),new c.IfcAreaMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),2093928680:e=>new c.IfcQuantityCount(new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2]),new c.IfcCountMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),931644368:e=>new c.IfcQuantityLength(new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2]),new c.IfcLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),3252649465:e=>new c.IfcQuantityTime(new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2]),new c.IfcTimeMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),2405470396:e=>new c.IfcQuantityVolume(new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2]),new c.IfcVolumeMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),825690147:e=>new c.IfcQuantityWeight(new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2]),new c.IfcMassMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),3915482550:e=>new c.IfcRecurrencePattern(e[0],(e[1]??void 0)===void 0||e[1]===""?null:e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new c.IfcDayInMonthNumber(t.value):null)||[],(e[2]??void 0)===void 0||e[2]===""?null:e[2]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new c.IfcDayInWeekNumber(t.value):null)||[],(e[3]??void 0)===void 0||e[3]===""?null:e[3]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new c.IfcMonthInYearNumber(t.value):null)||[],(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcInteger((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new c.IfcInteger((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new c.IfcInteger((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:e[7]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[]),2433181523:e=>new c.IfcReference((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcIdentifier((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcIdentifier((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:e[3]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new c.IfcInteger(t.value):null)||[],(e[4]??void 0)===void 0||e[4]===""?null:new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,2,e[4])),1076942058:e=>new c.IfcRepresentation(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),e[3]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[]),3377609919:e=>new c.IfcRepresentationContext((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value)),3008791417:e=>new c.IfcRepresentationItem,1660063152:e=>new c.IfcRepresentationMap(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1])),2439245199:e=>new c.IfcResourceLevelRelationship((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value)),2341007311:e=>new c.IfcRoot(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),448429030:e=>new c.IfcSIUnit(e[0],e[1],e[2]),1054537805:e=>new c.IfcSchedulingTime((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),e[1],(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),867548509:e=>new c.IfcShapeAspect(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcText((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),new c.IfcLogical((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,2,e[4])),3982875396:e=>new c.IfcShapeModel(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),e[3]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[]),4240577450:e=>new c.IfcShapeRepresentation(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),e[3]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[]),2273995522:e=>new c.IfcStructuralConnectionCondition((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value)),2162789131:e=>new c.IfcStructuralLoad((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value)),3478079324:e=>new c.IfcStructuralLoadConfiguration((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[2]??void 0)===void 0||e[2]===""?null:e[2]?.map(t=>t?.map(i=>(i?.value??void 0)!==void 0&&i?.value!==""?new c.IfcLengthMeasure(i.value):null)||[])),609421318:e=>new c.IfcStructuralLoadOrResult((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value)),2525727697:e=>new c.IfcStructuralLoadStatic((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value)),3408363356:e=>new c.IfcStructuralLoadTemperature((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcThermodynamicTemperatureMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcThermodynamicTemperatureMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcThermodynamicTemperatureMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),2830218821:e=>new c.IfcStyleModel(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),e[3]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[]),3958052878:e=>new c.IfcStyledItem((e[0]??void 0)===void 0||e[0]===""?null:new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),3049322572:e=>new c.IfcStyledRepresentation(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),e[3]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[]),2934153892:e=>new c.IfcSurfaceReinforcementArea((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new c.IfcLengthMeasure(t.value):null)||[],(e[2]??void 0)===void 0||e[2]===""?null:e[2]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new c.IfcLengthMeasure(t.value):null)||[],(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcRatioMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),1300840506:e=>new c.IfcSurfaceStyle((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),e[1],e[2]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[]),3303107099:e=>new c.IfcSurfaceStyleLighting(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2]),new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,2,e[3])),1607154358:e=>new c.IfcSurfaceStyleRefraction((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcReal((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcReal((e[1]??void 0)===void 0||e[1]===""?null:e[1].value)),846575682:e=>new c.IfcSurfaceStyleShading(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcNormalisedRatioMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value)),1351298697:e=>new c.IfcSurfaceStyleWithTextures(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[]),626085974:e=>new c.IfcSurfaceTexture(new c.IfcBoolean((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new c.IfcBoolean((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcIdentifier((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,2,e[3]),(e[4]??void 0)===void 0||e[4]===""?null:e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new c.IfcIdentifier(t.value):null)||[]),985171141:e=>new c.IfcTable((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[2]??void 0)===void 0||e[2]===""?null:e[2]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[]),2043862942:e=>new c.IfcTableColumn((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcIdentifier((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcText((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,2,e[3]),(e[4]??void 0)===void 0||e[4]===""?null:new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,2,e[4])),531007025:e=>new c.IfcTableRow((e[0]??void 0)===void 0||e[0]===""?null:e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?Si(2,t):null)||[],(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcBoolean((e[1]??void 0)===void 0||e[1]===""?null:e[1].value)),1549132990:e=>new c.IfcTaskTime((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),e[1],(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),e[3],(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcDuration((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new c.IfcDateTime((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new c.IfcDateTime((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcDateTime((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcDateTime((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new c.IfcDateTime((e[9]??void 0)===void 0||e[9]===""?null:e[9].value),(e[10]??void 0)===void 0||e[10]===""?null:new c.IfcDateTime((e[10]??void 0)===void 0||e[10]===""?null:e[10].value),(e[11]??void 0)===void 0||e[11]===""?null:new c.IfcDuration((e[11]??void 0)===void 0||e[11]===""?null:e[11].value),(e[12]??void 0)===void 0||e[12]===""?null:new c.IfcDuration((e[12]??void 0)===void 0||e[12]===""?null:e[12].value),(e[13]??void 0)===void 0||e[13]===""?null:new c.IfcBoolean((e[13]??void 0)===void 0||e[13]===""?null:e[13].value),(e[14]??void 0)===void 0||e[14]===""?null:new c.IfcDateTime((e[14]??void 0)===void 0||e[14]===""?null:e[14].value),(e[15]??void 0)===void 0||e[15]===""?null:new c.IfcDuration((e[15]??void 0)===void 0||e[15]===""?null:e[15].value),(e[16]??void 0)===void 0||e[16]===""?null:new c.IfcDateTime((e[16]??void 0)===void 0||e[16]===""?null:e[16].value),(e[17]??void 0)===void 0||e[17]===""?null:new c.IfcDateTime((e[17]??void 0)===void 0||e[17]===""?null:e[17].value),(e[18]??void 0)===void 0||e[18]===""?null:new c.IfcDuration((e[18]??void 0)===void 0||e[18]===""?null:e[18].value),(e[19]??void 0)===void 0||e[19]===""?null:new c.IfcPositiveRatioMeasure((e[19]??void 0)===void 0||e[19]===""?null:e[19].value)),2771591690:e=>new c.IfcTaskTimeRecurring((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),e[1],(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),e[3],(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcDuration((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new c.IfcDateTime((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new c.IfcDateTime((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcDateTime((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcDateTime((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new c.IfcDateTime((e[9]??void 0)===void 0||e[9]===""?null:e[9].value),(e[10]??void 0)===void 0||e[10]===""?null:new c.IfcDateTime((e[10]??void 0)===void 0||e[10]===""?null:e[10].value),(e[11]??void 0)===void 0||e[11]===""?null:new c.IfcDuration((e[11]??void 0)===void 0||e[11]===""?null:e[11].value),(e[12]??void 0)===void 0||e[12]===""?null:new c.IfcDuration((e[12]??void 0)===void 0||e[12]===""?null:e[12].value),(e[13]??void 0)===void 0||e[13]===""?null:new c.IfcBoolean((e[13]??void 0)===void 0||e[13]===""?null:e[13].value),(e[14]??void 0)===void 0||e[14]===""?null:new c.IfcDateTime((e[14]??void 0)===void 0||e[14]===""?null:e[14].value),(e[15]??void 0)===void 0||e[15]===""?null:new c.IfcDuration((e[15]??void 0)===void 0||e[15]===""?null:e[15].value),(e[16]??void 0)===void 0||e[16]===""?null:new c.IfcDateTime((e[16]??void 0)===void 0||e[16]===""?null:e[16].value),(e[17]??void 0)===void 0||e[17]===""?null:new c.IfcDateTime((e[17]??void 0)===void 0||e[17]===""?null:e[17].value),(e[18]??void 0)===void 0||e[18]===""?null:new c.IfcDuration((e[18]??void 0)===void 0||e[18]===""?null:e[18].value),(e[19]??void 0)===void 0||e[19]===""?null:new c.IfcPositiveRatioMeasure((e[19]??void 0)===void 0||e[19]===""?null:e[19].value),new u((e[20]??void 0)===void 0||e[20]===""?null:e[20].value,2,e[20])),912023232:e=>new c.IfcTelecomAddress(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:e[3]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new c.IfcLabel(t.value):null)||[],(e[4]??void 0)===void 0||e[4]===""?null:e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new c.IfcLabel(t.value):null)||[],(e[5]??void 0)===void 0||e[5]===""?null:new c.IfcLabel((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new c.IfcLabel(t.value):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcURIReference((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:e[8]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new c.IfcURIReference(t.value):null)||[]),1447204868:e=>new c.IfcTextStyle((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2]),new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,2,e[3]),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcBoolean((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),2636378356:e=>new c.IfcTextStyleForDefinedFont(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1])),1640371178:e=>new c.IfcTextStyleTextModel((e[0]??void 0)===void 0||e[0]===""?null:Si(2,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcTextAlignment((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcTextDecoration((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:Si(2,e[3]),(e[4]??void 0)===void 0||e[4]===""?null:Si(2,e[4]),(e[5]??void 0)===void 0||e[5]===""?null:new c.IfcTextTransformation((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:Si(2,e[6])),280115917:e=>new c.IfcTextureCoordinate(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[]),1742049831:e=>new c.IfcTextureCoordinateGenerator(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],new c.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:e[2]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new c.IfcReal(t.value):null)||[]),2552916305:e=>new c.IfcTextureMap(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2])),1210645708:e=>new c.IfcTextureVertex(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new c.IfcParameterValue(t.value):null)||[]),3611470254:e=>new c.IfcTextureVertexList(e[0]?.map(t=>t?.map(i=>(i?.value??void 0)!==void 0&&i?.value!==""?new c.IfcParameterValue(i.value):null)||[])),1199560280:e=>new c.IfcTimePeriod(new c.IfcTime((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new c.IfcTime((e[1]??void 0)===void 0||e[1]===""?null:e[1].value)),3101149627:e=>new c.IfcTimeSeries(new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new c.IfcDateTime((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),new c.IfcDateTime((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4],e[5],(e[6]??void 0)===void 0||e[6]===""?null:new c.IfcLabel((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,2,e[7])),581633288:e=>new c.IfcTimeSeriesValue(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?Si(2,t):null)||[]),1377556343:e=>new c.IfcTopologicalRepresentationItem,1735638870:e=>new c.IfcTopologyRepresentation(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),e[3]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[]),180925521:e=>new c.IfcUnitAssignment(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[]),2799835756:e=>new c.IfcVertex,1907098498:e=>new c.IfcVertexPoint(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0])),891718957:e=>new c.IfcVirtualGridIntersection(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new c.IfcLengthMeasure(t.value):null)||[]),1236880293:e=>new c.IfcWorkTime((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),e[1],(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,2,e[3]),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcDate((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new c.IfcDate((e[5]??void 0)===void 0||e[5]===""?null:e[5].value)),3869604511:e=>new c.IfcApprovalRelationship((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2]),e[3]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[]),3798115385:e=>new c.IfcArbitraryClosedProfileDef(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2])),1310608509:e=>new c.IfcArbitraryOpenProfileDef(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2])),2705031697:e=>new c.IfcArbitraryProfileDefWithVoids(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2]),e[3]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[]),616511568:e=>new c.IfcBlobTexture(new c.IfcBoolean((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new c.IfcBoolean((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcIdentifier((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,2,e[3]),(e[4]??void 0)===void 0||e[4]===""?null:e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new c.IfcIdentifier(t.value):null)||[],new c.IfcIdentifier((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),new c.IfcBinary((e[6]??void 0)===void 0||e[6]===""?null:e[6].value)),3150382593:e=>new c.IfcCenterLineProfileDef(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2]),new c.IfcPositiveLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),747523909:e=>new c.IfcClassification((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcDate((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),new c.IfcLabel((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcText((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new c.IfcURIReference((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new c.IfcIdentifier(t.value):null)||[]),647927063:e=>new c.IfcClassificationReference((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcURIReference((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcIdentifier((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,2,e[3]),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcText((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new c.IfcIdentifier((e[5]??void 0)===void 0||e[5]===""?null:e[5].value)),3285139300:e=>new c.IfcColourRgbList(e[0]?.map(t=>t?.map(i=>(i?.value??void 0)!==void 0&&i?.value!==""?new c.IfcNormalisedRatioMeasure(i.value):null)||[])),3264961684:e=>new c.IfcColourSpecification((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value)),1485152156:e=>new c.IfcCompositeProfileDef(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),e[2]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcLabel((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),370225590:e=>new c.IfcConnectedFaceSet(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[]),1981873012:e=>new c.IfcConnectionCurveGeometry(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1])),45288368:e=>new c.IfcConnectionPointEccentricity(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLengthMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLengthMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),3050246964:e=>new c.IfcContextDependentUnit(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),e[1],new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),2889183280:e=>new c.IfcConversionBasedUnit(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),e[1],new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,2,e[3])),2713554722:e=>new c.IfcConversionBasedUnitWithOffset(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),e[1],new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,2,e[3]),new c.IfcReal((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),539742890:e=>new c.IfcCurrencyRelationship((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2]),new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,2,e[3]),new c.IfcPositiveRatioMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new c.IfcDateTime((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6])),3800577675:e=>new c.IfcCurveStyle((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:Si(2,e[2]),(e[3]??void 0)===void 0||e[3]===""?null:new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,2,e[3]),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcBoolean((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),1105321065:e=>new c.IfcCurveStyleFont((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[]),2367409068:e=>new c.IfcCurveStyleFontAndScaling((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),new c.IfcPositiveRatioMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),3510044353:e=>new c.IfcCurveStyleFontPattern(new c.IfcLengthMeasure((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new c.IfcPositiveLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value)),3632507154:e=>new c.IfcDerivedProfileDef(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2]),new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,2,e[3]),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),1154170062:e=>new c.IfcDocumentInformation(new c.IfcIdentifier((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new c.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcText((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcURIReference((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcText((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new c.IfcText((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new c.IfcText((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new u((e[8]??void 0)===void 0||e[8]===""?null:e[8].value,2,e[8]),(e[9]??void 0)===void 0||e[9]===""?null:e[9]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[10]??void 0)===void 0||e[10]===""?null:new c.IfcDateTime((e[10]??void 0)===void 0||e[10]===""?null:e[10].value),(e[11]??void 0)===void 0||e[11]===""?null:new c.IfcDateTime((e[11]??void 0)===void 0||e[11]===""?null:e[11].value),(e[12]??void 0)===void 0||e[12]===""?null:new c.IfcIdentifier((e[12]??void 0)===void 0||e[12]===""?null:e[12].value),(e[13]??void 0)===void 0||e[13]===""?null:new c.IfcDate((e[13]??void 0)===void 0||e[13]===""?null:e[13].value),(e[14]??void 0)===void 0||e[14]===""?null:new c.IfcDate((e[14]??void 0)===void 0||e[14]===""?null:e[14].value),e[15],e[16]),770865208:e=>new c.IfcDocumentInformationRelationship((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2]),e[3]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),3732053477:e=>new c.IfcDocumentReference((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcURIReference((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcIdentifier((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,2,e[4])),3900360178:e=>new c.IfcEdge(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1])),476780140:e=>new c.IfcEdgeCurve(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2]),new c.IfcBoolean((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),211053100:e=>new c.IfcEventTime((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),e[1],(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcDateTime((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcDateTime((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new c.IfcDateTime((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new c.IfcDateTime((e[6]??void 0)===void 0||e[6]===""?null:e[6].value)),297599258:e=>new c.IfcExtendedProperties((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcIdentifier((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),e[2]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[]),1437805879:e=>new c.IfcExternalReferenceRelationship((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2]),e[3]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[]),2556980723:e=>new c.IfcFace(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[]),1809719519:e=>new c.IfcFaceBound(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),new c.IfcBoolean((e[1]??void 0)===void 0||e[1]===""?null:e[1].value)),803316827:e=>new c.IfcFaceOuterBound(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),new c.IfcBoolean((e[1]??void 0)===void 0||e[1]===""?null:e[1].value)),3008276851:e=>new c.IfcFaceSurface(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),new c.IfcBoolean((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),4219587988:e=>new c.IfcFailureConnectionCondition((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcForceMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcForceMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcForceMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcForceMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new c.IfcForceMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new c.IfcForceMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value)),738692330:e=>new c.IfcFillAreaStyle((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcBoolean((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),3448662350:e=>new c.IfcGeometricRepresentationContext((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new c.IfcDimensionCount((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcReal((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,2,e[4]),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5])),2453401579:e=>new c.IfcGeometricRepresentationItem,4142052618:e=>new c.IfcGeometricRepresentationSubContext((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2]),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcPositiveRatioMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4],(e[5]??void 0)===void 0||e[5]===""?null:new c.IfcLabel((e[5]??void 0)===void 0||e[5]===""?null:e[5].value)),3590301190:e=>new c.IfcGeometricSet(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[]),178086475:e=>new c.IfcGridPlacement(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1])),812098782:e=>new c.IfcHalfSpaceSolid(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),new c.IfcBoolean((e[1]??void 0)===void 0||e[1]===""?null:e[1].value)),3905492369:e=>new c.IfcImageTexture(new c.IfcBoolean((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new c.IfcBoolean((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcIdentifier((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,2,e[3]),(e[4]??void 0)===void 0||e[4]===""?null:e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new c.IfcIdentifier(t.value):null)||[],new c.IfcURIReference((e[5]??void 0)===void 0||e[5]===""?null:e[5].value)),3570813810:e=>new c.IfcIndexedColourMap(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcNormalisedRatioMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2]),e[3]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new c.IfcPositiveInteger(t.value):null)||[]),1437953363:e=>new c.IfcIndexedTextureMap(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2])),2133299955:e=>new c.IfcIndexedTriangleTextureMap(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2]),(e[3]??void 0)===void 0||e[3]===""?null:e[3]?.map(t=>t?.map(i=>(i?.value??void 0)!==void 0&&i?.value!==""?new c.IfcPositiveInteger(i.value):null)||[])),3741457305:e=>new c.IfcIrregularTimeSeries(new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new c.IfcDateTime((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),new c.IfcDateTime((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4],e[5],(e[6]??void 0)===void 0||e[6]===""?null:new c.IfcLabel((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,2,e[7]),e[8]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[]),1585845231:e=>new c.IfcLagTime((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),e[1],(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),Si(2,e[3]),e[4]),1402838566:e=>new c.IfcLightSource((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcNormalisedRatioMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcNormalisedRatioMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),125510826:e=>new c.IfcLightSourceAmbient((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcNormalisedRatioMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcNormalisedRatioMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),2604431987:e=>new c.IfcLightSourceDirectional((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcNormalisedRatioMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcNormalisedRatioMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,2,e[4])),4266656042:e=>new c.IfcLightSourceGoniometric((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcNormalisedRatioMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcNormalisedRatioMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,2,e[4]),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),new c.IfcThermodynamicTemperatureMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),new c.IfcLuminousFluxMeasure((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8],new u((e[9]??void 0)===void 0||e[9]===""?null:e[9].value,2,e[9])),1520743889:e=>new c.IfcLightSourcePositional((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcNormalisedRatioMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcNormalisedRatioMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,2,e[4]),new c.IfcPositiveLengthMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),new c.IfcReal((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),new c.IfcReal((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),new c.IfcReal((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),3422422726:e=>new c.IfcLightSourceSpot((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcNormalisedRatioMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcNormalisedRatioMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,2,e[4]),new c.IfcPositiveLengthMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),new c.IfcReal((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),new c.IfcReal((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),new c.IfcReal((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),new u((e[9]??void 0)===void 0||e[9]===""?null:e[9].value,2,e[9]),(e[10]??void 0)===void 0||e[10]===""?null:new c.IfcReal((e[10]??void 0)===void 0||e[10]===""?null:e[10].value),new c.IfcPositivePlaneAngleMeasure((e[11]??void 0)===void 0||e[11]===""?null:e[11].value),new c.IfcPositivePlaneAngleMeasure((e[12]??void 0)===void 0||e[12]===""?null:e[12].value)),2624227202:e=>new c.IfcLocalPlacement((e[0]??void 0)===void 0||e[0]===""?null:new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1])),1008929658:e=>new c.IfcLoop,2347385850:e=>new c.IfcMappedItem(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1])),1838606355:e=>new c.IfcMaterial(new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),3708119e3:e=>new c.IfcMaterialConstituent((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2]),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcNormalisedRatioMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),2852063980:e=>new c.IfcMaterialConstituentSet((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:e[2]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[]),2022407955:e=>new c.IfcMaterialDefinitionRepresentation((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),e[2]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,2,e[3])),1303795690:e=>new c.IfcMaterialLayerSetUsage(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),e[1],e[2],new c.IfcLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcPositiveLengthMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),3079605661:e=>new c.IfcMaterialProfileSetUsage(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcCardinalPointReference((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcPositiveLengthMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),3404854881:e=>new c.IfcMaterialProfileSetUsageTapering(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcCardinalPointReference((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcPositiveLengthMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,2,e[3]),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcCardinalPointReference((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),3265635763:e=>new c.IfcMaterialProperties((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcIdentifier((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),e[2]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,2,e[3])),853536259:e=>new c.IfcMaterialRelationship((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2]),e[3]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),2998442950:e=>new c.IfcMirroredProfileDef(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2]),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcLabel((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),219451334:e=>new c.IfcObjectDefinition(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),2665983363:e=>new c.IfcOpenShell(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[]),1411181986:e=>new c.IfcOrganizationRelationship((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2]),e[3]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[]),1029017970:e=>new c.IfcOrientedEdge(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),new c.IfcBoolean((e[1]??void 0)===void 0||e[1]===""?null:e[1].value)),2529465313:e=>new c.IfcParameterizedProfileDef(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2])),2519244187:e=>new c.IfcPath(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[]),3021840470:e=>new c.IfcPhysicalComplexQuantity(new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),e[2]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],new c.IfcLabel((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new c.IfcLabel((e[5]??void 0)===void 0||e[5]===""?null:e[5].value)),597895409:e=>new c.IfcPixelTexture(new c.IfcBoolean((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new c.IfcBoolean((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcIdentifier((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,2,e[3]),(e[4]??void 0)===void 0||e[4]===""?null:e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new c.IfcIdentifier(t.value):null)||[],new c.IfcInteger((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),new c.IfcInteger((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),new c.IfcInteger((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new c.IfcBinary(t.value):null)||[]),2004835150:e=>new c.IfcPlacement(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0])),1663979128:e=>new c.IfcPlanarExtent(new c.IfcLengthMeasure((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new c.IfcLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value)),2067069095:e=>new c.IfcPoint,4022376103:e=>new c.IfcPointOnCurve(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),new c.IfcParameterValue((e[1]??void 0)===void 0||e[1]===""?null:e[1].value)),1423911732:e=>new c.IfcPointOnSurface(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),new c.IfcParameterValue((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new c.IfcParameterValue((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),2924175390:e=>new c.IfcPolyLoop(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[]),2775532180:e=>new c.IfcPolygonalBoundedHalfSpace(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),new c.IfcBoolean((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2]),new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,2,e[3])),3727388367:e=>new c.IfcPreDefinedItem(new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value)),3778827333:e=>new c.IfcPreDefinedProperties,1775413392:e=>new c.IfcPreDefinedTextFont(new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value)),673634403:e=>new c.IfcProductDefinitionShape((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),e[2]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[]),2802850158:e=>new c.IfcProfileProperties((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcIdentifier((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),e[2]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,2,e[3])),2598011224:e=>new c.IfcProperty(new c.IfcIdentifier((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value)),1680319473:e=>new c.IfcPropertyDefinition(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),148025276:e=>new c.IfcPropertyDependencyRelationship((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2]),new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,2,e[3]),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcText((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),3357820518:e=>new c.IfcPropertySetDefinition(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),1482703590:e=>new c.IfcPropertyTemplateDefinition(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),2090586900:e=>new c.IfcQuantitySet(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),3615266464:e=>new c.IfcRectangleProfileDef(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2]),new c.IfcPositiveLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new c.IfcPositiveLengthMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),3413951693:e=>new c.IfcRegularTimeSeries(new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new c.IfcDateTime((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),new c.IfcDateTime((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4],e[5],(e[6]??void 0)===void 0||e[6]===""?null:new c.IfcLabel((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,2,e[7]),new c.IfcTimeMeasure((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[]),1580146022:e=>new c.IfcReinforcementBarProperties(new c.IfcAreaMeasure((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new c.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),e[2],(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcPositiveLengthMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new c.IfcCountMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value)),478536968:e=>new c.IfcRelationship(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),2943643501:e=>new c.IfcResourceApprovalRelationship((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),e[2]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,2,e[3])),1608871552:e=>new c.IfcResourceConstraintRelationship((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2]),e[3]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[]),1042787934:e=>new c.IfcResourceTime((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),e[1],(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcDuration((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcPositiveRatioMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new c.IfcDateTime((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new c.IfcDateTime((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcDuration((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new c.IfcBoolean((e[9]??void 0)===void 0||e[9]===""?null:e[9].value),(e[10]??void 0)===void 0||e[10]===""?null:new c.IfcDateTime((e[10]??void 0)===void 0||e[10]===""?null:e[10].value),(e[11]??void 0)===void 0||e[11]===""?null:new c.IfcDuration((e[11]??void 0)===void 0||e[11]===""?null:e[11].value),(e[12]??void 0)===void 0||e[12]===""?null:new c.IfcPositiveRatioMeasure((e[12]??void 0)===void 0||e[12]===""?null:e[12].value),(e[13]??void 0)===void 0||e[13]===""?null:new c.IfcDateTime((e[13]??void 0)===void 0||e[13]===""?null:e[13].value),(e[14]??void 0)===void 0||e[14]===""?null:new c.IfcDateTime((e[14]??void 0)===void 0||e[14]===""?null:e[14].value),(e[15]??void 0)===void 0||e[15]===""?null:new c.IfcDuration((e[15]??void 0)===void 0||e[15]===""?null:e[15].value),(e[16]??void 0)===void 0||e[16]===""?null:new c.IfcPositiveRatioMeasure((e[16]??void 0)===void 0||e[16]===""?null:e[16].value),(e[17]??void 0)===void 0||e[17]===""?null:new c.IfcPositiveRatioMeasure((e[17]??void 0)===void 0||e[17]===""?null:e[17].value)),2778083089:e=>new c.IfcRoundedRectangleProfileDef(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2]),new c.IfcPositiveLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new c.IfcPositiveLengthMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),new c.IfcPositiveLengthMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value)),2042790032:e=>new c.IfcSectionProperties(e[0],new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2])),4165799628:e=>new c.IfcSectionReinforcementProperties(new c.IfcLengthMeasure((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new c.IfcLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLengthMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),e[3],new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,2,e[4]),e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[]),1509187699:e=>new c.IfcSectionedSpine(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],e[2]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[]),4124623270:e=>new c.IfcShellBasedSurfaceModel(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[]),3692461612:e=>new c.IfcSimpleProperty(new c.IfcIdentifier((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value)),2609359061:e=>new c.IfcSlippageConnectionCondition((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLengthMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),723233188:e=>new c.IfcSolidModel,1595516126:e=>new c.IfcStructuralLoadLinearForce((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcLinearForceMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLinearForceMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcLinearForceMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLinearMomentMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new c.IfcLinearMomentMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new c.IfcLinearMomentMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value)),2668620305:e=>new c.IfcStructuralLoadPlanarForce((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcPlanarForceMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcPlanarForceMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcPlanarForceMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),2473145415:e=>new c.IfcStructuralLoadSingleDisplacement((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLengthMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcPlaneAngleMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new c.IfcPlaneAngleMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new c.IfcPlaneAngleMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value)),1973038258:e=>new c.IfcStructuralLoadSingleDisplacementDistortion((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLengthMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcPlaneAngleMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new c.IfcPlaneAngleMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new c.IfcPlaneAngleMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcCurvatureMeasure((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),1597423693:e=>new c.IfcStructuralLoadSingleForce((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcForceMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcForceMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcForceMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcTorqueMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new c.IfcTorqueMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new c.IfcTorqueMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value)),1190533807:e=>new c.IfcStructuralLoadSingleForceWarping((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcForceMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcForceMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcForceMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcTorqueMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new c.IfcTorqueMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new c.IfcTorqueMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcWarpingMomentMeasure((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),2233826070:e=>new c.IfcSubedge(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2])),2513912981:e=>new c.IfcSurface,1878645084:e=>new c.IfcSurfaceStyleRendering(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcNormalisedRatioMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2]),(e[3]??void 0)===void 0||e[3]===""?null:new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,2,e[3]),(e[4]??void 0)===void 0||e[4]===""?null:new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,2,e[4]),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:Si(2,e[7]),e[8]),2247615214:e=>new c.IfcSweptAreaSolid(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1])),1260650574:e=>new c.IfcSweptDiskSolid(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),new c.IfcPositiveLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcPositiveLengthMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcParameterValue((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcParameterValue((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),1096409881:e=>new c.IfcSweptDiskSolidPolygonal(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),new c.IfcPositiveLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcPositiveLengthMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcParameterValue((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcParameterValue((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new c.IfcPositiveLengthMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value)),230924584:e=>new c.IfcSweptSurface(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1])),3071757647:e=>new c.IfcTShapeProfileDef(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2]),new c.IfcPositiveLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new c.IfcPositiveLengthMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),new c.IfcPositiveLengthMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),new c.IfcPositiveLengthMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcNonNegativeLengthMeasure((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcNonNegativeLengthMeasure((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new c.IfcNonNegativeLengthMeasure((e[9]??void 0)===void 0||e[9]===""?null:e[9].value),(e[10]??void 0)===void 0||e[10]===""?null:new c.IfcPlaneAngleMeasure((e[10]??void 0)===void 0||e[10]===""?null:e[10].value),(e[11]??void 0)===void 0||e[11]===""?null:new c.IfcPlaneAngleMeasure((e[11]??void 0)===void 0||e[11]===""?null:e[11].value)),901063453:e=>new c.IfcTessellatedItem,4282788508:e=>new c.IfcTextLiteral(new c.IfcPresentableText((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),e[2]),3124975700:e=>new c.IfcTextLiteralWithExtent(new c.IfcPresentableText((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),e[2],new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,2,e[3]),new c.IfcBoxAlignment((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),1983826977:e=>new c.IfcTextStyleFontModel(new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new c.IfcTextFontName(t.value):null)||[],(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcFontStyle((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcFontVariant((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcFontWeight((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),Si(2,e[5])),2715220739:e=>new c.IfcTrapeziumProfileDef(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2]),new c.IfcPositiveLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new c.IfcPositiveLengthMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),new c.IfcPositiveLengthMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),new c.IfcLengthMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value)),1628702193:e=>new c.IfcTypeObject(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[]),3736923433:e=>new c.IfcTypeProcess(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:new c.IfcIdentifier((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcText((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),2347495698:e=>new c.IfcTypeProduct(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),3698973494:e=>new c.IfcTypeResource(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:new c.IfcIdentifier((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcText((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),427810014:e=>new c.IfcUShapeProfileDef(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2]),new c.IfcPositiveLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new c.IfcPositiveLengthMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),new c.IfcPositiveLengthMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),new c.IfcPositiveLengthMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcNonNegativeLengthMeasure((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcNonNegativeLengthMeasure((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new c.IfcPlaneAngleMeasure((e[9]??void 0)===void 0||e[9]===""?null:e[9].value)),1417489154:e=>new c.IfcVector(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),new c.IfcLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value)),2759199220:e=>new c.IfcVertexLoop(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0])),1299126871:e=>new c.IfcWindowStyle(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8],e[9],new c.IfcBoolean((e[10]??void 0)===void 0||e[10]===""?null:e[10].value),new c.IfcBoolean((e[11]??void 0)===void 0||e[11]===""?null:e[11].value)),2543172580:e=>new c.IfcZShapeProfileDef(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2]),new c.IfcPositiveLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new c.IfcPositiveLengthMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),new c.IfcPositiveLengthMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),new c.IfcPositiveLengthMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcNonNegativeLengthMeasure((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcNonNegativeLengthMeasure((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),3406155212:e=>new c.IfcAdvancedFace(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),new c.IfcBoolean((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),669184980:e=>new c.IfcAnnotationFillArea(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[]),3207858831:e=>new c.IfcAsymmetricIShapeProfileDef(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2]),new c.IfcPositiveLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new c.IfcPositiveLengthMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),new c.IfcPositiveLengthMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),new c.IfcPositiveLengthMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcNonNegativeLengthMeasure((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),new c.IfcPositiveLengthMeasure((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new c.IfcPositiveLengthMeasure((e[9]??void 0)===void 0||e[9]===""?null:e[9].value),(e[10]??void 0)===void 0||e[10]===""?null:new c.IfcNonNegativeLengthMeasure((e[10]??void 0)===void 0||e[10]===""?null:e[10].value),(e[11]??void 0)===void 0||e[11]===""?null:new c.IfcNonNegativeLengthMeasure((e[11]??void 0)===void 0||e[11]===""?null:e[11].value),(e[12]??void 0)===void 0||e[12]===""?null:new c.IfcPlaneAngleMeasure((e[12]??void 0)===void 0||e[12]===""?null:e[12].value),(e[13]??void 0)===void 0||e[13]===""?null:new c.IfcNonNegativeLengthMeasure((e[13]??void 0)===void 0||e[13]===""?null:e[13].value),(e[14]??void 0)===void 0||e[14]===""?null:new c.IfcPlaneAngleMeasure((e[14]??void 0)===void 0||e[14]===""?null:e[14].value)),4261334040:e=>new c.IfcAxis1Placement(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1])),3125803723:e=>new c.IfcAxis2Placement2D(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1])),2740243338:e=>new c.IfcAxis2Placement3D(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2])),2736907675:e=>new c.IfcBooleanResult(e[0],new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2])),4182860854:e=>new c.IfcBoundedSurface,2581212453:e=>new c.IfcBoundingBox(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),new c.IfcPositiveLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new c.IfcPositiveLengthMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),new c.IfcPositiveLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),2713105998:e=>new c.IfcBoxedHalfSpace(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),new c.IfcBoolean((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2])),2898889636:e=>new c.IfcCShapeProfileDef(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2]),new c.IfcPositiveLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new c.IfcPositiveLengthMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),new c.IfcPositiveLengthMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),new c.IfcPositiveLengthMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcNonNegativeLengthMeasure((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),1123145078:e=>new c.IfcCartesianPoint(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new c.IfcLengthMeasure(t.value):null)||[]),574549367:e=>new c.IfcCartesianPointList,1675464909:e=>new c.IfcCartesianPointList2D(e[0]?.map(t=>t?.map(i=>(i?.value??void 0)!==void 0&&i?.value!==""?new c.IfcLengthMeasure(i.value):null)||[])),2059837836:e=>new c.IfcCartesianPointList3D(e[0]?.map(t=>t?.map(i=>(i?.value??void 0)!==void 0&&i?.value!==""?new c.IfcLengthMeasure(i.value):null)||[])),59481748:e=>new c.IfcCartesianTransformationOperator((e[0]??void 0)===void 0||e[0]===""?null:new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2]),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcReal((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),3749851601:e=>new c.IfcCartesianTransformationOperator2D((e[0]??void 0)===void 0||e[0]===""?null:new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2]),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcReal((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),3486308946:e=>new c.IfcCartesianTransformationOperator2DnonUniform((e[0]??void 0)===void 0||e[0]===""?null:new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2]),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcReal((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcReal((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),3331915920:e=>new c.IfcCartesianTransformationOperator3D((e[0]??void 0)===void 0||e[0]===""?null:new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2]),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcReal((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,2,e[4])),1416205885:e=>new c.IfcCartesianTransformationOperator3DnonUniform((e[0]??void 0)===void 0||e[0]===""?null:new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2]),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcReal((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,2,e[4]),(e[5]??void 0)===void 0||e[5]===""?null:new c.IfcReal((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new c.IfcReal((e[6]??void 0)===void 0||e[6]===""?null:e[6].value)),1383045692:e=>new c.IfcCircleProfileDef(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2]),new c.IfcPositiveLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),2205249479:e=>new c.IfcClosedShell(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[]),776857604:e=>new c.IfcColourRgb((e[0]??void 0)===void 0||e[0]===""?null:new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new c.IfcNormalisedRatioMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new c.IfcNormalisedRatioMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),new c.IfcNormalisedRatioMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),2542286263:e=>new c.IfcComplexProperty(new c.IfcIdentifier((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new c.IfcIdentifier((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),e[3]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[]),2485617015:e=>new c.IfcCompositeCurveSegment(e[0],new c.IfcBoolean((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2])),2574617495:e=>new c.IfcConstructionResourceType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:new c.IfcIdentifier((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcText((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:e[9]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[10]??void 0)===void 0||e[10]===""?null:new u((e[10]??void 0)===void 0||e[10]===""?null:e[10].value,2,e[10])),3419103109:e=>new c.IfcContext(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new c.IfcLabel((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new c.IfcLabel((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:e[7]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[8]??void 0)===void 0||e[8]===""?null:new u((e[8]??void 0)===void 0||e[8]===""?null:e[8].value,2,e[8])),1815067380:e=>new c.IfcCrewResourceType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:new c.IfcIdentifier((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcText((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:e[9]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[10]??void 0)===void 0||e[10]===""?null:new u((e[10]??void 0)===void 0||e[10]===""?null:e[10].value,2,e[10]),e[11]),2506170314:e=>new c.IfcCsgPrimitive3D(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0])),2147822146:e=>new c.IfcCsgSolid(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0])),2601014836:e=>new c.IfcCurve,2827736869:e=>new c.IfcCurveBoundedPlane(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:e[2]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[]),2629017746:e=>new c.IfcCurveBoundedSurface(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],new c.IfcBoolean((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),32440307:e=>new c.IfcDirection(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new c.IfcReal(t.value):null)||[]),526551008:e=>new c.IfcDoorStyle(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8],e[9],new c.IfcBoolean((e[10]??void 0)===void 0||e[10]===""?null:e[10].value),new c.IfcBoolean((e[11]??void 0)===void 0||e[11]===""?null:e[11].value)),1472233963:e=>new c.IfcEdgeLoop(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[]),1883228015:e=>new c.IfcElementQuantity(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[]),339256511:e=>new c.IfcElementType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),2777663545:e=>new c.IfcElementarySurface(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0])),2835456948:e=>new c.IfcEllipseProfileDef(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2]),new c.IfcPositiveLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new c.IfcPositiveLengthMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),4024345920:e=>new c.IfcEventType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:new c.IfcIdentifier((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcText((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9],e[10],(e[11]??void 0)===void 0||e[11]===""?null:new c.IfcLabel((e[11]??void 0)===void 0||e[11]===""?null:e[11].value)),477187591:e=>new c.IfcExtrudedAreaSolid(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2]),new c.IfcPositiveLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),2804161546:e=>new c.IfcExtrudedAreaSolidTapered(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2]),new c.IfcPositiveLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,2,e[4])),2047409740:e=>new c.IfcFaceBasedSurfaceModel(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[]),374418227:e=>new c.IfcFillAreaStyleHatching(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2]),(e[3]??void 0)===void 0||e[3]===""?null:new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,2,e[3]),new c.IfcPlaneAngleMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),315944413:e=>new c.IfcFillAreaStyleTiles(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],new c.IfcPositiveRatioMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),2652556860:e=>new c.IfcFixedReferenceSweptAreaSolid(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2]),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcParameterValue((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcParameterValue((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5])),4238390223:e=>new c.IfcFurnishingElementType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),1268542332:e=>new c.IfcFurnitureType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9],e[10]),4095422895:e=>new c.IfcGeographicElementType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),987898635:e=>new c.IfcGeometricCurveSet(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[]),1484403080:e=>new c.IfcIShapeProfileDef(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2]),new c.IfcPositiveLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new c.IfcPositiveLengthMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),new c.IfcPositiveLengthMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),new c.IfcPositiveLengthMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcNonNegativeLengthMeasure((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcNonNegativeLengthMeasure((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new c.IfcPlaneAngleMeasure((e[9]??void 0)===void 0||e[9]===""?null:e[9].value)),178912537:e=>new c.IfcIndexedPolygonalFace(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new c.IfcPositiveInteger(t.value):null)||[]),2294589976:e=>new c.IfcIndexedPolygonalFaceWithVoids(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new c.IfcPositiveInteger(t.value):null)||[],e[1]?.map(t=>t?.map(i=>(i?.value??void 0)!==void 0&&i?.value!==""?new c.IfcPositiveInteger(i.value):null)||[])),572779678:e=>new c.IfcLShapeProfileDef(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2]),new c.IfcPositiveLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcPositiveLengthMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),new c.IfcPositiveLengthMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new c.IfcNonNegativeLengthMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcNonNegativeLengthMeasure((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcPlaneAngleMeasure((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),428585644:e=>new c.IfcLaborResourceType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:new c.IfcIdentifier((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcText((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:e[9]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[10]??void 0)===void 0||e[10]===""?null:new u((e[10]??void 0)===void 0||e[10]===""?null:e[10].value,2,e[10]),e[11]),1281925730:e=>new c.IfcLine(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1])),1425443689:e=>new c.IfcManifoldSolidBrep(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0])),3888040117:e=>new c.IfcObject(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),3388369263:e=>new c.IfcOffsetCurve2D(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),new c.IfcLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new c.IfcLogical((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),3505215534:e=>new c.IfcOffsetCurve3D(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),new c.IfcLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new c.IfcLogical((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,2,e[3])),1682466193:e=>new c.IfcPcurve(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1])),603570806:e=>new c.IfcPlanarBox(new c.IfcLengthMeasure((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new c.IfcLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2])),220341763:e=>new c.IfcPlane(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0])),759155922:e=>new c.IfcPreDefinedColour(new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value)),2559016684:e=>new c.IfcPreDefinedCurveFont(new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value)),3967405729:e=>new c.IfcPreDefinedPropertySet(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),569719735:e=>new c.IfcProcedureType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:new c.IfcIdentifier((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcText((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),2945172077:e=>new c.IfcProcess(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new c.IfcIdentifier((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new c.IfcText((e[6]??void 0)===void 0||e[6]===""?null:e[6].value)),4208778838:e=>new c.IfcProduct(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6])),103090709:e=>new c.IfcProject(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new c.IfcLabel((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new c.IfcLabel((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:e[7]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[8]??void 0)===void 0||e[8]===""?null:new u((e[8]??void 0)===void 0||e[8]===""?null:e[8].value,2,e[8])),653396225:e=>new c.IfcProjectLibrary(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new c.IfcLabel((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new c.IfcLabel((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:e[7]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[8]??void 0)===void 0||e[8]===""?null:new u((e[8]??void 0)===void 0||e[8]===""?null:e[8].value,2,e[8])),871118103:e=>new c.IfcPropertyBoundedValue(new c.IfcIdentifier((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:Si(2,e[2]),(e[3]??void 0)===void 0||e[3]===""?null:Si(2,e[3]),(e[4]??void 0)===void 0||e[4]===""?null:new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,2,e[4]),(e[5]??void 0)===void 0||e[5]===""?null:Si(2,e[5])),4166981789:e=>new c.IfcPropertyEnumeratedValue(new c.IfcIdentifier((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:e[2]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?Si(2,t):null)||[],(e[3]??void 0)===void 0||e[3]===""?null:new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,2,e[3])),2752243245:e=>new c.IfcPropertyListValue(new c.IfcIdentifier((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:e[2]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?Si(2,t):null)||[],(e[3]??void 0)===void 0||e[3]===""?null:new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,2,e[3])),941946838:e=>new c.IfcPropertyReferenceValue(new c.IfcIdentifier((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcText((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,2,e[3])),1451395588:e=>new c.IfcPropertySet(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[]),492091185:e=>new c.IfcPropertySetTemplate(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4],(e[5]??void 0)===void 0||e[5]===""?null:new c.IfcIdentifier((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[]),3650150729:e=>new c.IfcPropertySingleValue(new c.IfcIdentifier((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:Si(2,e[2]),(e[3]??void 0)===void 0||e[3]===""?null:new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,2,e[3])),110355661:e=>new c.IfcPropertyTableValue(new c.IfcIdentifier((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:e[2]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?Si(2,t):null)||[],(e[3]??void 0)===void 0||e[3]===""?null:e[3]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?Si(2,t):null)||[],(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcText((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),e[7]),3521284610:e=>new c.IfcPropertyTemplate(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),3219374653:e=>new c.IfcProxy(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),e[7],(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),2770003689:e=>new c.IfcRectangleHollowProfileDef(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2]),new c.IfcPositiveLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new c.IfcPositiveLengthMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),new c.IfcPositiveLengthMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new c.IfcNonNegativeLengthMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcNonNegativeLengthMeasure((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),2798486643:e=>new c.IfcRectangularPyramid(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),new c.IfcPositiveLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new c.IfcPositiveLengthMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),new c.IfcPositiveLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),3454111270:e=>new c.IfcRectangularTrimmedSurface(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),new c.IfcParameterValue((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new c.IfcParameterValue((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),new c.IfcParameterValue((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new c.IfcParameterValue((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),new c.IfcBoolean((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),new c.IfcBoolean((e[6]??void 0)===void 0||e[6]===""?null:e[6].value)),3765753017:e=>new c.IfcReinforcementDefinitionProperties(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[]),3939117080:e=>new c.IfcRelAssigns(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],e[5]),1683148259:e=>new c.IfcRelAssignsToActor(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],e[5],new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,2,e[7])),2495723537:e=>new c.IfcRelAssignsToControl(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],e[5],new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6])),1307041759:e=>new c.IfcRelAssignsToGroup(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],e[5],new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6])),1027710054:e=>new c.IfcRelAssignsToGroupByFactor(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],e[5],new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),new c.IfcRatioMeasure((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),4278684876:e=>new c.IfcRelAssignsToProcess(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],e[5],new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,2,e[7])),2857406711:e=>new c.IfcRelAssignsToProduct(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],e[5],new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6])),205026976:e=>new c.IfcRelAssignsToResource(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],e[5],new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6])),1865459582:e=>new c.IfcRelAssociates(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[]),4095574036:e=>new c.IfcRelAssociatesApproval(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5])),919958153:e=>new c.IfcRelAssociatesClassification(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5])),2728634034:e=>new c.IfcRelAssociatesConstraint(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[5]??void 0)===void 0||e[5]===""?null:new c.IfcLabel((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6])),982818633:e=>new c.IfcRelAssociatesDocument(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5])),3840914261:e=>new c.IfcRelAssociatesLibrary(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5])),2655215786:e=>new c.IfcRelAssociatesMaterial(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5])),826625072:e=>new c.IfcRelConnects(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),1204542856:e=>new c.IfcRelConnectsElements(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,2,e[4]),new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6])),3945020480:e=>new c.IfcRelConnectsPathElements(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,2,e[4]),new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:e[7]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new c.IfcInteger(t.value):null)||[],(e[8]??void 0)===void 0||e[8]===""?null:e[8]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new c.IfcInteger(t.value):null)||[],e[9],e[10]),4201705270:e=>new c.IfcRelConnectsPortToElement(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,2,e[4]),new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5])),3190031847:e=>new c.IfcRelConnectsPorts(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,2,e[4]),new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6])),2127690289:e=>new c.IfcRelConnectsStructuralActivity(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,2,e[4]),new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5])),1638771189:e=>new c.IfcRelConnectsStructuralMember(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,2,e[4]),new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,2,e[7]),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLengthMeasure((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new u((e[9]??void 0)===void 0||e[9]===""?null:e[9].value,2,e[9])),504942748:e=>new c.IfcRelConnectsWithEccentricity(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,2,e[4]),new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,2,e[7]),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLengthMeasure((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new u((e[9]??void 0)===void 0||e[9]===""?null:e[9].value,2,e[9]),new u((e[10]??void 0)===void 0||e[10]===""?null:e[10].value,2,e[10])),3678494232:e=>new c.IfcRelConnectsWithRealizingElements(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,2,e[4]),new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),e[7]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),3242617779:e=>new c.IfcRelContainedInSpatialStructure(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5])),886880790:e=>new c.IfcRelCoversBldgElements(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,2,e[4]),e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[]),2802773753:e=>new c.IfcRelCoversSpaces(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,2,e[4]),e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[]),2565941209:e=>new c.IfcRelDeclares(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,2,e[4]),e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[]),2551354335:e=>new c.IfcRelDecomposes(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),693640335:e=>new c.IfcRelDefines(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),1462361463:e=>new c.IfcRelDefinesByObject(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5])),4186316022:e=>new c.IfcRelDefinesByProperties(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5])),307848117:e=>new c.IfcRelDefinesByTemplate(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5])),781010003:e=>new c.IfcRelDefinesByType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5])),3940055652:e=>new c.IfcRelFillsElement(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,2,e[4]),new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5])),279856033:e=>new c.IfcRelFlowControlElements(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5])),427948657:e=>new c.IfcRelInterferesElements(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,2,e[4]),new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:e[8].value),3268803585:e=>new c.IfcRelNests(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,2,e[4]),e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[]),750771296:e=>new c.IfcRelProjectsElement(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,2,e[4]),new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5])),1245217292:e=>new c.IfcRelReferencedInSpatialStructure(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5])),4122056220:e=>new c.IfcRelSequence(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,2,e[4]),new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),e[7],(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),366585022:e=>new c.IfcRelServicesBuildings(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,2,e[4]),e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[]),3451746338:e=>new c.IfcRelSpaceBoundary(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,2,e[4]),new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),e[7],e[8]),3523091289:e=>new c.IfcRelSpaceBoundary1stLevel(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,2,e[4]),new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),e[7],e[8],(e[9]??void 0)===void 0||e[9]===""?null:new u((e[9]??void 0)===void 0||e[9]===""?null:e[9].value,2,e[9])),1521410863:e=>new c.IfcRelSpaceBoundary2ndLevel(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,2,e[4]),new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),e[7],e[8],(e[9]??void 0)===void 0||e[9]===""?null:new u((e[9]??void 0)===void 0||e[9]===""?null:e[9].value,2,e[9]),(e[10]??void 0)===void 0||e[10]===""?null:new u((e[10]??void 0)===void 0||e[10]===""?null:e[10].value,2,e[10])),1401173127:e=>new c.IfcRelVoidsElement(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,2,e[4]),new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5])),816062949:e=>new c.IfcReparametrisedCompositeCurveSegment(e[0],new c.IfcBoolean((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2]),new c.IfcParameterValue((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),2914609552:e=>new c.IfcResource(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new c.IfcIdentifier((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new c.IfcText((e[6]??void 0)===void 0||e[6]===""?null:e[6].value)),1856042241:e=>new c.IfcRevolvedAreaSolid(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2]),new c.IfcPlaneAngleMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),3243963512:e=>new c.IfcRevolvedAreaSolidTapered(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2]),new c.IfcPlaneAngleMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,2,e[4])),4158566097:e=>new c.IfcRightCircularCone(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),new c.IfcPositiveLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new c.IfcPositiveLengthMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),3626867408:e=>new c.IfcRightCircularCylinder(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),new c.IfcPositiveLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new c.IfcPositiveLengthMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),3663146110:e=>new c.IfcSimplePropertyTemplate(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4],(e[5]??void 0)===void 0||e[5]===""?null:new c.IfcLabel((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new c.IfcLabel((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,2,e[7]),(e[8]??void 0)===void 0||e[8]===""?null:new u((e[8]??void 0)===void 0||e[8]===""?null:e[8].value,2,e[8]),(e[9]??void 0)===void 0||e[9]===""?null:new u((e[9]??void 0)===void 0||e[9]===""?null:e[9].value,2,e[9]),(e[10]??void 0)===void 0||e[10]===""?null:new c.IfcLabel((e[10]??void 0)===void 0||e[10]===""?null:e[10].value),e[11]),1412071761:e=>new c.IfcSpatialElement(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),710998568:e=>new c.IfcSpatialElementType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),2706606064:e=>new c.IfcSpatialStructureElement(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),3893378262:e=>new c.IfcSpatialStructureElementType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),463610769:e=>new c.IfcSpatialZone(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),2481509218:e=>new c.IfcSpatialZoneType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9],(e[10]??void 0)===void 0||e[10]===""?null:new c.IfcLabel((e[10]??void 0)===void 0||e[10]===""?null:e[10].value)),451544542:e=>new c.IfcSphere(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),new c.IfcPositiveLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value)),4015995234:e=>new c.IfcSphericalSurface(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),new c.IfcPositiveLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value)),3544373492:e=>new c.IfcStructuralActivity(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,2,e[7]),e[8]),3136571912:e=>new c.IfcStructuralItem(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6])),530289379:e=>new c.IfcStructuralMember(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6])),3689010777:e=>new c.IfcStructuralReaction(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,2,e[7]),e[8]),3979015343:e=>new c.IfcStructuralSurfaceMember(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),e[7],(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcPositiveLengthMeasure((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),2218152070:e=>new c.IfcStructuralSurfaceMemberVarying(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),e[7],(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcPositiveLengthMeasure((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),603775116:e=>new c.IfcStructuralSurfaceReaction(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,2,e[7]),e[8],e[9]),4095615324:e=>new c.IfcSubContractResourceType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:new c.IfcIdentifier((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcText((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:e[9]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[10]??void 0)===void 0||e[10]===""?null:new u((e[10]??void 0)===void 0||e[10]===""?null:e[10].value,2,e[10]),e[11]),699246055:e=>new c.IfcSurfaceCurve(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],e[2]),2028607225:e=>new c.IfcSurfaceCurveSweptAreaSolid(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2]),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcParameterValue((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcParameterValue((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5])),2809605785:e=>new c.IfcSurfaceOfLinearExtrusion(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2]),new c.IfcLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),4124788165:e=>new c.IfcSurfaceOfRevolution(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2])),1580310250:e=>new c.IfcSystemFurnitureElementType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),3473067441:e=>new c.IfcTask(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new c.IfcIdentifier((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new c.IfcText((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),new c.IfcBoolean((e[9]??void 0)===void 0||e[9]===""?null:e[9].value),(e[10]??void 0)===void 0||e[10]===""?null:new c.IfcInteger((e[10]??void 0)===void 0||e[10]===""?null:e[10].value),(e[11]??void 0)===void 0||e[11]===""?null:new u((e[11]??void 0)===void 0||e[11]===""?null:e[11].value,2,e[11]),e[12]),3206491090:e=>new c.IfcTaskType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:new c.IfcIdentifier((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcText((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9],(e[10]??void 0)===void 0||e[10]===""?null:new c.IfcLabel((e[10]??void 0)===void 0||e[10]===""?null:e[10].value)),2387106220:e=>new c.IfcTessellatedFaceSet(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0])),1935646853:e=>new c.IfcToroidalSurface(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),new c.IfcPositiveLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new c.IfcPositiveLengthMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),2097647324:e=>new c.IfcTransportElementType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),2916149573:e=>new c.IfcTriangulatedFaceSet(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:e[1]?.map(t=>t?.map(i=>(i?.value??void 0)!==void 0&&i?.value!==""?new c.IfcParameterValue(i.value):null)||[]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcBoolean((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),e[3]?.map(t=>t?.map(i=>(i?.value??void 0)!==void 0&&i?.value!==""?new c.IfcPositiveInteger(i.value):null)||[]),(e[4]??void 0)===void 0||e[4]===""?null:e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new c.IfcPositiveInteger(t.value):null)||[]),336235671:e=>new c.IfcWindowLiningProperties(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcPositiveLengthMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new c.IfcNonNegativeLengthMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new c.IfcNonNegativeLengthMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcNonNegativeLengthMeasure((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcNormalisedRatioMeasure((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new c.IfcNormalisedRatioMeasure((e[9]??void 0)===void 0||e[9]===""?null:e[9].value),(e[10]??void 0)===void 0||e[10]===""?null:new c.IfcNormalisedRatioMeasure((e[10]??void 0)===void 0||e[10]===""?null:e[10].value),(e[11]??void 0)===void 0||e[11]===""?null:new c.IfcNormalisedRatioMeasure((e[11]??void 0)===void 0||e[11]===""?null:e[11].value),(e[12]??void 0)===void 0||e[12]===""?null:new u((e[12]??void 0)===void 0||e[12]===""?null:e[12].value,2,e[12]),(e[13]??void 0)===void 0||e[13]===""?null:new c.IfcLengthMeasure((e[13]??void 0)===void 0||e[13]===""?null:e[13].value),(e[14]??void 0)===void 0||e[14]===""?null:new c.IfcLengthMeasure((e[14]??void 0)===void 0||e[14]===""?null:e[14].value),(e[15]??void 0)===void 0||e[15]===""?null:new c.IfcLengthMeasure((e[15]??void 0)===void 0||e[15]===""?null:e[15].value)),512836454:e=>new c.IfcWindowPanelProperties(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4],e[5],(e[6]??void 0)===void 0||e[6]===""?null:new c.IfcPositiveLengthMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcPositiveLengthMeasure((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new u((e[8]??void 0)===void 0||e[8]===""?null:e[8].value,2,e[8])),2296667514:e=>new c.IfcActor(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5])),1635779807:e=>new c.IfcAdvancedBrep(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0])),2603310189:e=>new c.IfcAdvancedBrepWithVoids(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[]),1674181508:e=>new c.IfcAnnotation(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6])),2887950389:e=>new c.IfcBSplineSurface(new c.IfcInteger((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new c.IfcInteger((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),e[2]?.map(t=>t?.map(i=>(i?.value??void 0)!==void 0&&i?.value!==""?new u(i.value,2,i):null)||[]),e[3],new c.IfcLogical((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),new c.IfcLogical((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),new c.IfcLogical((e[6]??void 0)===void 0||e[6]===""?null:e[6].value)),167062518:e=>new c.IfcBSplineSurfaceWithKnots(new c.IfcInteger((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new c.IfcInteger((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),e[2]?.map(t=>t?.map(i=>(i?.value??void 0)!==void 0&&i?.value!==""?new u(i.value,2,i):null)||[]),e[3],new c.IfcLogical((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),new c.IfcLogical((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),new c.IfcLogical((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),e[7]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new c.IfcInteger(t.value):null)||[],e[8]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new c.IfcInteger(t.value):null)||[],e[9]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new c.IfcParameterValue(t.value):null)||[],e[10]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new c.IfcParameterValue(t.value):null)||[],e[11]),1334484129:e=>new c.IfcBlock(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),new c.IfcPositiveLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new c.IfcPositiveLengthMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),new c.IfcPositiveLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),3649129432:e=>new c.IfcBooleanClippingResult(e[0],new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2])),1260505505:e=>new c.IfcBoundedCurve,4031249490:e=>new c.IfcBuilding(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8],(e[9]??void 0)===void 0||e[9]===""?null:new c.IfcLengthMeasure((e[9]??void 0)===void 0||e[9]===""?null:e[9].value),(e[10]??void 0)===void 0||e[10]===""?null:new c.IfcLengthMeasure((e[10]??void 0)===void 0||e[10]===""?null:e[10].value),(e[11]??void 0)===void 0||e[11]===""?null:new u((e[11]??void 0)===void 0||e[11]===""?null:e[11].value,2,e[11])),1950629157:e=>new c.IfcBuildingElementType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),3124254112:e=>new c.IfcBuildingStorey(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8],(e[9]??void 0)===void 0||e[9]===""?null:new c.IfcLengthMeasure((e[9]??void 0)===void 0||e[9]===""?null:e[9].value)),2197970202:e=>new c.IfcChimneyType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),2937912522:e=>new c.IfcCircleHollowProfileDef(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,2,e[2]),new c.IfcPositiveLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new c.IfcPositiveLengthMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),3893394355:e=>new c.IfcCivilElementType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),300633059:e=>new c.IfcColumnType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),3875453745:e=>new c.IfcComplexPropertyTemplate(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),e[5],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[]),3732776249:e=>new c.IfcCompositeCurve(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],new c.IfcLogical((e[1]??void 0)===void 0||e[1]===""?null:e[1].value)),15328376:e=>new c.IfcCompositeCurveOnSurface(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],new c.IfcLogical((e[1]??void 0)===void 0||e[1]===""?null:e[1].value)),2510884976:e=>new c.IfcConic(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0])),2185764099:e=>new c.IfcConstructionEquipmentResourceType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:new c.IfcIdentifier((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcText((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:e[9]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[10]??void 0)===void 0||e[10]===""?null:new u((e[10]??void 0)===void 0||e[10]===""?null:e[10].value,2,e[10]),e[11]),4105962743:e=>new c.IfcConstructionMaterialResourceType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:new c.IfcIdentifier((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcText((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:e[9]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[10]??void 0)===void 0||e[10]===""?null:new u((e[10]??void 0)===void 0||e[10]===""?null:e[10].value,2,e[10]),e[11]),1525564444:e=>new c.IfcConstructionProductResourceType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:new c.IfcIdentifier((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcText((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:e[9]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[10]??void 0)===void 0||e[10]===""?null:new u((e[10]??void 0)===void 0||e[10]===""?null:e[10].value,2,e[10]),e[11]),2559216714:e=>new c.IfcConstructionResource(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new c.IfcIdentifier((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new c.IfcText((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,2,e[7]),(e[8]??void 0)===void 0||e[8]===""?null:e[8]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[9]??void 0)===void 0||e[9]===""?null:new u((e[9]??void 0)===void 0||e[9]===""?null:e[9].value,2,e[9])),3293443760:e=>new c.IfcControl(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new c.IfcIdentifier((e[5]??void 0)===void 0||e[5]===""?null:e[5].value)),3895139033:e=>new c.IfcCostItem(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new c.IfcIdentifier((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),e[6],(e[7]??void 0)===void 0||e[7]===""?null:e[7]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[8]??void 0)===void 0||e[8]===""?null:e[8]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[]),1419761937:e=>new c.IfcCostSchedule(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new c.IfcIdentifier((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),e[6],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcDateTime((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new c.IfcDateTime((e[9]??void 0)===void 0||e[9]===""?null:e[9].value)),1916426348:e=>new c.IfcCoveringType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),3295246426:e=>new c.IfcCrewResource(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new c.IfcIdentifier((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new c.IfcText((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,2,e[7]),(e[8]??void 0)===void 0||e[8]===""?null:e[8]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[9]??void 0)===void 0||e[9]===""?null:new u((e[9]??void 0)===void 0||e[9]===""?null:e[9].value,2,e[9]),e[10]),1457835157:e=>new c.IfcCurtainWallType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1213902940:e=>new c.IfcCylindricalSurface(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),new c.IfcPositiveLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value)),3256556792:e=>new c.IfcDistributionElementType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),3849074793:e=>new c.IfcDistributionFlowElementType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),2963535650:e=>new c.IfcDoorLiningProperties(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcPositiveLengthMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new c.IfcNonNegativeLengthMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new c.IfcPositiveLengthMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcNonNegativeLengthMeasure((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcNonNegativeLengthMeasure((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new c.IfcLengthMeasure((e[9]??void 0)===void 0||e[9]===""?null:e[9].value),(e[10]??void 0)===void 0||e[10]===""?null:new c.IfcLengthMeasure((e[10]??void 0)===void 0||e[10]===""?null:e[10].value),(e[11]??void 0)===void 0||e[11]===""?null:new c.IfcLengthMeasure((e[11]??void 0)===void 0||e[11]===""?null:e[11].value),(e[12]??void 0)===void 0||e[12]===""?null:new c.IfcPositiveLengthMeasure((e[12]??void 0)===void 0||e[12]===""?null:e[12].value),(e[13]??void 0)===void 0||e[13]===""?null:new c.IfcPositiveLengthMeasure((e[13]??void 0)===void 0||e[13]===""?null:e[13].value),(e[14]??void 0)===void 0||e[14]===""?null:new u((e[14]??void 0)===void 0||e[14]===""?null:e[14].value,2,e[14]),(e[15]??void 0)===void 0||e[15]===""?null:new c.IfcLengthMeasure((e[15]??void 0)===void 0||e[15]===""?null:e[15].value),(e[16]??void 0)===void 0||e[16]===""?null:new c.IfcLengthMeasure((e[16]??void 0)===void 0||e[16]===""?null:e[16].value)),1714330368:e=>new c.IfcDoorPanelProperties(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcPositiveLengthMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),e[5],(e[6]??void 0)===void 0||e[6]===""?null:new c.IfcNormalisedRatioMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),e[7],(e[8]??void 0)===void 0||e[8]===""?null:new u((e[8]??void 0)===void 0||e[8]===""?null:e[8].value,2,e[8])),2323601079:e=>new c.IfcDoorType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9],e[10],(e[11]??void 0)===void 0||e[11]===""?null:new c.IfcBoolean((e[11]??void 0)===void 0||e[11]===""?null:e[11].value),(e[12]??void 0)===void 0||e[12]===""?null:new c.IfcLabel((e[12]??void 0)===void 0||e[12]===""?null:e[12].value)),445594917:e=>new c.IfcDraughtingPreDefinedColour(new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value)),4006246654:e=>new c.IfcDraughtingPreDefinedCurveFont(new c.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value)),1758889154:e=>new c.IfcElement(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),4123344466:e=>new c.IfcElementAssembly(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8],e[9]),2397081782:e=>new c.IfcElementAssemblyType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1623761950:e=>new c.IfcElementComponent(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),2590856083:e=>new c.IfcElementComponentType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),1704287377:e=>new c.IfcEllipse(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),new c.IfcPositiveLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new c.IfcPositiveLengthMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),2107101300:e=>new c.IfcEnergyConversionDeviceType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),132023988:e=>new c.IfcEngineType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),3174744832:e=>new c.IfcEvaporativeCoolerType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),3390157468:e=>new c.IfcEvaporatorType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),4148101412:e=>new c.IfcEvent(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new c.IfcIdentifier((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new c.IfcText((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),e[7],e[8],(e[9]??void 0)===void 0||e[9]===""?null:new c.IfcLabel((e[9]??void 0)===void 0||e[9]===""?null:e[9].value),(e[10]??void 0)===void 0||e[10]===""?null:new u((e[10]??void 0)===void 0||e[10]===""?null:e[10].value,2,e[10])),2853485674:e=>new c.IfcExternalSpatialStructureElement(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),807026263:e=>new c.IfcFacetedBrep(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0])),3737207727:e=>new c.IfcFacetedBrepWithVoids(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[]),647756555:e=>new c.IfcFastener(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),2489546625:e=>new c.IfcFastenerType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),2827207264:e=>new c.IfcFeatureElement(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),2143335405:e=>new c.IfcFeatureElementAddition(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),1287392070:e=>new c.IfcFeatureElementSubtraction(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),3907093117:e=>new c.IfcFlowControllerType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),3198132628:e=>new c.IfcFlowFittingType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),3815607619:e=>new c.IfcFlowMeterType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1482959167:e=>new c.IfcFlowMovingDeviceType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),1834744321:e=>new c.IfcFlowSegmentType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),1339347760:e=>new c.IfcFlowStorageDeviceType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),2297155007:e=>new c.IfcFlowTerminalType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),3009222698:e=>new c.IfcFlowTreatmentDeviceType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),1893162501:e=>new c.IfcFootingType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),263784265:e=>new c.IfcFurnishingElement(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),1509553395:e=>new c.IfcFurniture(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),3493046030:e=>new c.IfcGeographicElement(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),3009204131:e=>new c.IfcGrid(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),e[7]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],e[8]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[9]??void 0)===void 0||e[9]===""?null:e[9]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],e[10]),2706460486:e=>new c.IfcGroup(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),1251058090:e=>new c.IfcHeatExchangerType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1806887404:e=>new c.IfcHumidifierType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),2571569899:e=>new c.IfcIndexedPolyCurve(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?Si(2,t):null)||[],(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcBoolean((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),3946677679:e=>new c.IfcInterceptorType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),3113134337:e=>new c.IfcIntersectionCurve(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],e[2]),2391368822:e=>new c.IfcInventory(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),e[5],(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:e[7]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcDate((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new u((e[9]??void 0)===void 0||e[9]===""?null:e[9].value,2,e[9]),(e[10]??void 0)===void 0||e[10]===""?null:new u((e[10]??void 0)===void 0||e[10]===""?null:e[10].value,2,e[10])),4288270099:e=>new c.IfcJunctionBoxType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),3827777499:e=>new c.IfcLaborResource(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new c.IfcIdentifier((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new c.IfcText((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,2,e[7]),(e[8]??void 0)===void 0||e[8]===""?null:e[8]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[9]??void 0)===void 0||e[9]===""?null:new u((e[9]??void 0)===void 0||e[9]===""?null:e[9].value,2,e[9]),e[10]),1051575348:e=>new c.IfcLampType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1161773419:e=>new c.IfcLightFixtureType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),377706215:e=>new c.IfcMechanicalFastener(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcPositiveLengthMeasure((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new c.IfcPositiveLengthMeasure((e[9]??void 0)===void 0||e[9]===""?null:e[9].value),e[10]),2108223431:e=>new c.IfcMechanicalFastenerType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9],(e[10]??void 0)===void 0||e[10]===""?null:new c.IfcPositiveLengthMeasure((e[10]??void 0)===void 0||e[10]===""?null:e[10].value),(e[11]??void 0)===void 0||e[11]===""?null:new c.IfcPositiveLengthMeasure((e[11]??void 0)===void 0||e[11]===""?null:e[11].value)),1114901282:e=>new c.IfcMedicalDeviceType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),3181161470:e=>new c.IfcMemberType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),977012517:e=>new c.IfcMotorConnectionType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),4143007308:e=>new c.IfcOccupant(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),e[6]),3588315303:e=>new c.IfcOpeningElement(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),3079942009:e=>new c.IfcOpeningStandardCase(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),2837617999:e=>new c.IfcOutletType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),2382730787:e=>new c.IfcPerformanceHistory(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new c.IfcIdentifier((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),new c.IfcLabel((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),e[7]),3566463478:e=>new c.IfcPermeableCoveringProperties(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4],e[5],(e[6]??void 0)===void 0||e[6]===""?null:new c.IfcPositiveLengthMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcPositiveLengthMeasure((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new u((e[8]??void 0)===void 0||e[8]===""?null:e[8].value,2,e[8])),3327091369:e=>new c.IfcPermit(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new c.IfcIdentifier((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),e[6],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcText((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),1158309216:e=>new c.IfcPileType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),804291784:e=>new c.IfcPipeFittingType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),4231323485:e=>new c.IfcPipeSegmentType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),4017108033:e=>new c.IfcPlateType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),2839578677:e=>new c.IfcPolygonalFaceSet(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new c.IfcBoolean((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),e[2]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[3]??void 0)===void 0||e[3]===""?null:e[3]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new c.IfcPositiveInteger(t.value):null)||[]),3724593414:e=>new c.IfcPolyline(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[]),3740093272:e=>new c.IfcPort(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6])),2744685151:e=>new c.IfcProcedure(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new c.IfcIdentifier((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new c.IfcText((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),e[7]),2904328755:e=>new c.IfcProjectOrder(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new c.IfcIdentifier((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),e[6],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcText((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),3651124850:e=>new c.IfcProjectionElement(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),1842657554:e=>new c.IfcProtectiveDeviceType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),2250791053:e=>new c.IfcPumpType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),2893384427:e=>new c.IfcRailingType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),2324767716:e=>new c.IfcRampFlightType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1469900589:e=>new c.IfcRampType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),683857671:e=>new c.IfcRationalBSplineSurfaceWithKnots(new c.IfcInteger((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new c.IfcInteger((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),e[2]?.map(t=>t?.map(i=>(i?.value??void 0)!==void 0&&i?.value!==""?new u(i.value,2,i):null)||[]),e[3],new c.IfcLogical((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),new c.IfcLogical((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),new c.IfcLogical((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),e[7]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new c.IfcInteger(t.value):null)||[],e[8]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new c.IfcInteger(t.value):null)||[],e[9]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new c.IfcParameterValue(t.value):null)||[],e[10]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new c.IfcParameterValue(t.value):null)||[],e[11],e[12]?.map(t=>t?.map(i=>(i?.value??void 0)!==void 0&&i?.value!==""?new c.IfcReal(i.value):null)||[])),3027567501:e=>new c.IfcReinforcingElement(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),964333572:e=>new c.IfcReinforcingElementType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),2320036040:e=>new c.IfcReinforcingMesh(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new c.IfcPositiveLengthMeasure((e[9]??void 0)===void 0||e[9]===""?null:e[9].value),(e[10]??void 0)===void 0||e[10]===""?null:new c.IfcPositiveLengthMeasure((e[10]??void 0)===void 0||e[10]===""?null:e[10].value),(e[11]??void 0)===void 0||e[11]===""?null:new c.IfcPositiveLengthMeasure((e[11]??void 0)===void 0||e[11]===""?null:e[11].value),(e[12]??void 0)===void 0||e[12]===""?null:new c.IfcPositiveLengthMeasure((e[12]??void 0)===void 0||e[12]===""?null:e[12].value),(e[13]??void 0)===void 0||e[13]===""?null:new c.IfcAreaMeasure((e[13]??void 0)===void 0||e[13]===""?null:e[13].value),(e[14]??void 0)===void 0||e[14]===""?null:new c.IfcAreaMeasure((e[14]??void 0)===void 0||e[14]===""?null:e[14].value),(e[15]??void 0)===void 0||e[15]===""?null:new c.IfcPositiveLengthMeasure((e[15]??void 0)===void 0||e[15]===""?null:e[15].value),(e[16]??void 0)===void 0||e[16]===""?null:new c.IfcPositiveLengthMeasure((e[16]??void 0)===void 0||e[16]===""?null:e[16].value),e[17]),2310774935:e=>new c.IfcReinforcingMeshType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9],(e[10]??void 0)===void 0||e[10]===""?null:new c.IfcPositiveLengthMeasure((e[10]??void 0)===void 0||e[10]===""?null:e[10].value),(e[11]??void 0)===void 0||e[11]===""?null:new c.IfcPositiveLengthMeasure((e[11]??void 0)===void 0||e[11]===""?null:e[11].value),(e[12]??void 0)===void 0||e[12]===""?null:new c.IfcPositiveLengthMeasure((e[12]??void 0)===void 0||e[12]===""?null:e[12].value),(e[13]??void 0)===void 0||e[13]===""?null:new c.IfcPositiveLengthMeasure((e[13]??void 0)===void 0||e[13]===""?null:e[13].value),(e[14]??void 0)===void 0||e[14]===""?null:new c.IfcAreaMeasure((e[14]??void 0)===void 0||e[14]===""?null:e[14].value),(e[15]??void 0)===void 0||e[15]===""?null:new c.IfcAreaMeasure((e[15]??void 0)===void 0||e[15]===""?null:e[15].value),(e[16]??void 0)===void 0||e[16]===""?null:new c.IfcPositiveLengthMeasure((e[16]??void 0)===void 0||e[16]===""?null:e[16].value),(e[17]??void 0)===void 0||e[17]===""?null:new c.IfcPositiveLengthMeasure((e[17]??void 0)===void 0||e[17]===""?null:e[17].value),(e[18]??void 0)===void 0||e[18]===""?null:new c.IfcLabel((e[18]??void 0)===void 0||e[18]===""?null:e[18].value),(e[19]??void 0)===void 0||e[19]===""?null:e[19]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?Si(2,t):null)||[]),160246688:e=>new c.IfcRelAggregates(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,2,e[4]),e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[]),2781568857:e=>new c.IfcRoofType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1768891740:e=>new c.IfcSanitaryTerminalType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),2157484638:e=>new c.IfcSeamCurve(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],e[2]),4074543187:e=>new c.IfcShadingDeviceType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),4097777520:e=>new c.IfcSite(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8],(e[9]??void 0)===void 0||e[9]===""?null:new c.IfcCompoundPlaneAngleMeasure(e[9].map(t=>t.value)),(e[10]??void 0)===void 0||e[10]===""?null:new c.IfcCompoundPlaneAngleMeasure(e[10].map(t=>t.value)),(e[11]??void 0)===void 0||e[11]===""?null:new c.IfcLengthMeasure((e[11]??void 0)===void 0||e[11]===""?null:e[11].value),(e[12]??void 0)===void 0||e[12]===""?null:new c.IfcLabel((e[12]??void 0)===void 0||e[12]===""?null:e[12].value),(e[13]??void 0)===void 0||e[13]===""?null:new u((e[13]??void 0)===void 0||e[13]===""?null:e[13].value,2,e[13])),2533589738:e=>new c.IfcSlabType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1072016465:e=>new c.IfcSolarDeviceType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),3856911033:e=>new c.IfcSpace(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8],e[9],(e[10]??void 0)===void 0||e[10]===""?null:new c.IfcLengthMeasure((e[10]??void 0)===void 0||e[10]===""?null:e[10].value)),1305183839:e=>new c.IfcSpaceHeaterType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),3812236995:e=>new c.IfcSpaceType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9],(e[10]??void 0)===void 0||e[10]===""?null:new c.IfcLabel((e[10]??void 0)===void 0||e[10]===""?null:e[10].value)),3112655638:e=>new c.IfcStackTerminalType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1039846685:e=>new c.IfcStairFlightType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),338393293:e=>new c.IfcStairType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),682877961:e=>new c.IfcStructuralAction(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,2,e[7]),e[8],(e[9]??void 0)===void 0||e[9]===""?null:new c.IfcBoolean((e[9]??void 0)===void 0||e[9]===""?null:e[9].value)),1179482911:e=>new c.IfcStructuralConnection(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,2,e[7])),1004757350:e=>new c.IfcStructuralCurveAction(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,2,e[7]),e[8],(e[9]??void 0)===void 0||e[9]===""?null:new c.IfcBoolean((e[9]??void 0)===void 0||e[9]===""?null:e[9].value),e[10],e[11]),4243806635:e=>new c.IfcStructuralCurveConnection(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,2,e[7]),new u((e[8]??void 0)===void 0||e[8]===""?null:e[8].value,2,e[8])),214636428:e=>new c.IfcStructuralCurveMember(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),e[7],new u((e[8]??void 0)===void 0||e[8]===""?null:e[8].value,2,e[8])),2445595289:e=>new c.IfcStructuralCurveMemberVarying(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),e[7],new u((e[8]??void 0)===void 0||e[8]===""?null:e[8].value,2,e[8])),2757150158:e=>new c.IfcStructuralCurveReaction(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,2,e[7]),e[8],e[9]),1807405624:e=>new c.IfcStructuralLinearAction(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,2,e[7]),e[8],(e[9]??void 0)===void 0||e[9]===""?null:new c.IfcBoolean((e[9]??void 0)===void 0||e[9]===""?null:e[9].value),e[10],e[11]),1252848954:e=>new c.IfcStructuralLoadGroup(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),e[5],e[6],e[7],(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcRatioMeasure((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new c.IfcLabel((e[9]??void 0)===void 0||e[9]===""?null:e[9].value)),2082059205:e=>new c.IfcStructuralPointAction(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,2,e[7]),e[8],(e[9]??void 0)===void 0||e[9]===""?null:new c.IfcBoolean((e[9]??void 0)===void 0||e[9]===""?null:e[9].value)),734778138:e=>new c.IfcStructuralPointConnection(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,2,e[7]),(e[8]??void 0)===void 0||e[8]===""?null:new u((e[8]??void 0)===void 0||e[8]===""?null:e[8].value,2,e[8])),1235345126:e=>new c.IfcStructuralPointReaction(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,2,e[7]),e[8]),2986769608:e=>new c.IfcStructuralResultGroup(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),e[5],(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),new c.IfcBoolean((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),3657597509:e=>new c.IfcStructuralSurfaceAction(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,2,e[7]),e[8],(e[9]??void 0)===void 0||e[9]===""?null:new c.IfcBoolean((e[9]??void 0)===void 0||e[9]===""?null:e[9].value),e[10],e[11]),1975003073:e=>new c.IfcStructuralSurfaceConnection(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,2,e[7])),148013059:e=>new c.IfcSubContractResource(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new c.IfcIdentifier((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new c.IfcText((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,2,e[7]),(e[8]??void 0)===void 0||e[8]===""?null:e[8]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[9]??void 0)===void 0||e[9]===""?null:new u((e[9]??void 0)===void 0||e[9]===""?null:e[9].value,2,e[9]),e[10]),3101698114:e=>new c.IfcSurfaceFeature(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),2315554128:e=>new c.IfcSwitchingDeviceType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),2254336722:e=>new c.IfcSystem(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),413509423:e=>new c.IfcSystemFurnitureElement(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),5716631:e=>new c.IfcTankType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),3824725483:e=>new c.IfcTendon(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9],(e[10]??void 0)===void 0||e[10]===""?null:new c.IfcPositiveLengthMeasure((e[10]??void 0)===void 0||e[10]===""?null:e[10].value),(e[11]??void 0)===void 0||e[11]===""?null:new c.IfcAreaMeasure((e[11]??void 0)===void 0||e[11]===""?null:e[11].value),(e[12]??void 0)===void 0||e[12]===""?null:new c.IfcForceMeasure((e[12]??void 0)===void 0||e[12]===""?null:e[12].value),(e[13]??void 0)===void 0||e[13]===""?null:new c.IfcPressureMeasure((e[13]??void 0)===void 0||e[13]===""?null:e[13].value),(e[14]??void 0)===void 0||e[14]===""?null:new c.IfcNormalisedRatioMeasure((e[14]??void 0)===void 0||e[14]===""?null:e[14].value),(e[15]??void 0)===void 0||e[15]===""?null:new c.IfcPositiveLengthMeasure((e[15]??void 0)===void 0||e[15]===""?null:e[15].value),(e[16]??void 0)===void 0||e[16]===""?null:new c.IfcPositiveLengthMeasure((e[16]??void 0)===void 0||e[16]===""?null:e[16].value)),2347447852:e=>new c.IfcTendonAnchor(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),3081323446:e=>new c.IfcTendonAnchorType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),2415094496:e=>new c.IfcTendonType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9],(e[10]??void 0)===void 0||e[10]===""?null:new c.IfcPositiveLengthMeasure((e[10]??void 0)===void 0||e[10]===""?null:e[10].value),(e[11]??void 0)===void 0||e[11]===""?null:new c.IfcAreaMeasure((e[11]??void 0)===void 0||e[11]===""?null:e[11].value),(e[12]??void 0)===void 0||e[12]===""?null:new c.IfcPositiveLengthMeasure((e[12]??void 0)===void 0||e[12]===""?null:e[12].value)),1692211062:e=>new c.IfcTransformerType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1620046519:e=>new c.IfcTransportElement(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),3593883385:e=>new c.IfcTrimmedCurve(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],e[2]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],new c.IfcBoolean((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]),1600972822:e=>new c.IfcTubeBundleType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1911125066:e=>new c.IfcUnitaryEquipmentType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),728799441:e=>new c.IfcValveType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),2391383451:e=>new c.IfcVibrationIsolator(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),3313531582:e=>new c.IfcVibrationIsolatorType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),2769231204:e=>new c.IfcVirtualElement(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),926996030:e=>new c.IfcVoidingFeature(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),1898987631:e=>new c.IfcWallType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1133259667:e=>new c.IfcWasteTerminalType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),4009809668:e=>new c.IfcWindowType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9],e[10],(e[11]??void 0)===void 0||e[11]===""?null:new c.IfcBoolean((e[11]??void 0)===void 0||e[11]===""?null:e[11].value),(e[12]??void 0)===void 0||e[12]===""?null:new c.IfcLabel((e[12]??void 0)===void 0||e[12]===""?null:e[12].value)),4088093105:e=>new c.IfcWorkCalendar(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new c.IfcIdentifier((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:e[7]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],e[8]),1028945134:e=>new c.IfcWorkControl(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new c.IfcIdentifier((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),new c.IfcDateTime((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:e[7]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new c.IfcDuration((e[9]??void 0)===void 0||e[9]===""?null:e[9].value),(e[10]??void 0)===void 0||e[10]===""?null:new c.IfcDuration((e[10]??void 0)===void 0||e[10]===""?null:e[10].value),new c.IfcDateTime((e[11]??void 0)===void 0||e[11]===""?null:e[11].value),(e[12]??void 0)===void 0||e[12]===""?null:new c.IfcDateTime((e[12]??void 0)===void 0||e[12]===""?null:e[12].value)),4218914973:e=>new c.IfcWorkPlan(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new c.IfcIdentifier((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),new c.IfcDateTime((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:e[7]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new c.IfcDuration((e[9]??void 0)===void 0||e[9]===""?null:e[9].value),(e[10]??void 0)===void 0||e[10]===""?null:new c.IfcDuration((e[10]??void 0)===void 0||e[10]===""?null:e[10].value),new c.IfcDateTime((e[11]??void 0)===void 0||e[11]===""?null:e[11].value),(e[12]??void 0)===void 0||e[12]===""?null:new c.IfcDateTime((e[12]??void 0)===void 0||e[12]===""?null:e[12].value),e[13]),3342526732:e=>new c.IfcWorkSchedule(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new c.IfcIdentifier((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),new c.IfcDateTime((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:e[7]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new c.IfcDuration((e[9]??void 0)===void 0||e[9]===""?null:e[9].value),(e[10]??void 0)===void 0||e[10]===""?null:new c.IfcDuration((e[10]??void 0)===void 0||e[10]===""?null:e[10].value),new c.IfcDateTime((e[11]??void 0)===void 0||e[11]===""?null:e[11].value),(e[12]??void 0)===void 0||e[12]===""?null:new c.IfcDateTime((e[12]??void 0)===void 0||e[12]===""?null:e[12].value),e[13]),1033361043:e=>new c.IfcZone(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new c.IfcLabel((e[5]??void 0)===void 0||e[5]===""?null:e[5].value)),3821786052:e=>new c.IfcActionRequest(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new c.IfcIdentifier((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),e[6],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcText((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),1411407467:e=>new c.IfcAirTerminalBoxType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),3352864051:e=>new c.IfcAirTerminalType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1871374353:e=>new c.IfcAirToAirHeatRecoveryType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),3460190687:e=>new c.IfcAsset(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new c.IfcIdentifier((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,2,e[7]),(e[8]??void 0)===void 0||e[8]===""?null:new u((e[8]??void 0)===void 0||e[8]===""?null:e[8].value,2,e[8]),(e[9]??void 0)===void 0||e[9]===""?null:new u((e[9]??void 0)===void 0||e[9]===""?null:e[9].value,2,e[9]),(e[10]??void 0)===void 0||e[10]===""?null:new u((e[10]??void 0)===void 0||e[10]===""?null:e[10].value,2,e[10]),(e[11]??void 0)===void 0||e[11]===""?null:new u((e[11]??void 0)===void 0||e[11]===""?null:e[11].value,2,e[11]),(e[12]??void 0)===void 0||e[12]===""?null:new c.IfcDate((e[12]??void 0)===void 0||e[12]===""?null:e[12].value),(e[13]??void 0)===void 0||e[13]===""?null:new u((e[13]??void 0)===void 0||e[13]===""?null:e[13].value,2,e[13])),1532957894:e=>new c.IfcAudioVisualApplianceType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1967976161:e=>new c.IfcBSplineCurve(new c.IfcInteger((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],e[2],new c.IfcLogical((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new c.IfcLogical((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),2461110595:e=>new c.IfcBSplineCurveWithKnots(new c.IfcInteger((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],e[2],new c.IfcLogical((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new c.IfcLogical((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new c.IfcInteger(t.value):null)||[],e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new c.IfcParameterValue(t.value):null)||[],e[7]),819618141:e=>new c.IfcBeamType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),231477066:e=>new c.IfcBoilerType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1136057603:e=>new c.IfcBoundaryCurve(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],new c.IfcLogical((e[1]??void 0)===void 0||e[1]===""?null:e[1].value)),3299480353:e=>new c.IfcBuildingElement(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),2979338954:e=>new c.IfcBuildingElementPart(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),39481116:e=>new c.IfcBuildingElementPartType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1095909175:e=>new c.IfcBuildingElementProxy(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),1909888760:e=>new c.IfcBuildingElementProxyType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1177604601:e=>new c.IfcBuildingSystem(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),e[5],(e[6]??void 0)===void 0||e[6]===""?null:new c.IfcLabel((e[6]??void 0)===void 0||e[6]===""?null:e[6].value)),2188180465:e=>new c.IfcBurnerType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),395041908:e=>new c.IfcCableCarrierFittingType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),3293546465:e=>new c.IfcCableCarrierSegmentType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),2674252688:e=>new c.IfcCableFittingType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1285652485:e=>new c.IfcCableSegmentType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),2951183804:e=>new c.IfcChillerType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),3296154744:e=>new c.IfcChimney(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),2611217952:e=>new c.IfcCircle(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,2,e[0]),new c.IfcPositiveLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value)),1677625105:e=>new c.IfcCivilElement(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),2301859152:e=>new c.IfcCoilType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),843113511:e=>new c.IfcColumn(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),905975707:e=>new c.IfcColumnStandardCase(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),400855858:e=>new c.IfcCommunicationsApplianceType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),3850581409:e=>new c.IfcCompressorType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),2816379211:e=>new c.IfcCondenserType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),3898045240:e=>new c.IfcConstructionEquipmentResource(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new c.IfcIdentifier((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new c.IfcText((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,2,e[7]),(e[8]??void 0)===void 0||e[8]===""?null:e[8]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[9]??void 0)===void 0||e[9]===""?null:new u((e[9]??void 0)===void 0||e[9]===""?null:e[9].value,2,e[9]),e[10]),1060000209:e=>new c.IfcConstructionMaterialResource(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new c.IfcIdentifier((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new c.IfcText((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,2,e[7]),(e[8]??void 0)===void 0||e[8]===""?null:e[8]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[9]??void 0)===void 0||e[9]===""?null:new u((e[9]??void 0)===void 0||e[9]===""?null:e[9].value,2,e[9]),e[10]),488727124:e=>new c.IfcConstructionProductResource(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new c.IfcIdentifier((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new c.IfcText((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,2,e[7]),(e[8]??void 0)===void 0||e[8]===""?null:e[8]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[9]??void 0)===void 0||e[9]===""?null:new u((e[9]??void 0)===void 0||e[9]===""?null:e[9].value,2,e[9]),e[10]),335055490:e=>new c.IfcCooledBeamType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),2954562838:e=>new c.IfcCoolingTowerType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1973544240:e=>new c.IfcCovering(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),3495092785:e=>new c.IfcCurtainWall(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),3961806047:e=>new c.IfcDamperType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1335981549:e=>new c.IfcDiscreteAccessory(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),2635815018:e=>new c.IfcDiscreteAccessoryType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1599208980:e=>new c.IfcDistributionChamberElementType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),2063403501:e=>new c.IfcDistributionControlElementType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),1945004755:e=>new c.IfcDistributionElement(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),3040386961:e=>new c.IfcDistributionFlowElement(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),3041715199:e=>new c.IfcDistributionPort(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),e[7],e[8],e[9]),3205830791:e=>new c.IfcDistributionSystem(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new c.IfcLabel((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),e[6]),395920057:e=>new c.IfcDoor(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcPositiveLengthMeasure((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new c.IfcPositiveLengthMeasure((e[9]??void 0)===void 0||e[9]===""?null:e[9].value),e[10],e[11],(e[12]??void 0)===void 0||e[12]===""?null:new c.IfcLabel((e[12]??void 0)===void 0||e[12]===""?null:e[12].value)),3242481149:e=>new c.IfcDoorStandardCase(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcPositiveLengthMeasure((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new c.IfcPositiveLengthMeasure((e[9]??void 0)===void 0||e[9]===""?null:e[9].value),e[10],e[11],(e[12]??void 0)===void 0||e[12]===""?null:new c.IfcLabel((e[12]??void 0)===void 0||e[12]===""?null:e[12].value)),869906466:e=>new c.IfcDuctFittingType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),3760055223:e=>new c.IfcDuctSegmentType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),2030761528:e=>new c.IfcDuctSilencerType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),663422040:e=>new c.IfcElectricApplianceType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),2417008758:e=>new c.IfcElectricDistributionBoardType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),3277789161:e=>new c.IfcElectricFlowStorageDeviceType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1534661035:e=>new c.IfcElectricGeneratorType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1217240411:e=>new c.IfcElectricMotorType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),712377611:e=>new c.IfcElectricTimeControlType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1658829314:e=>new c.IfcEnergyConversionDevice(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),2814081492:e=>new c.IfcEngine(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),3747195512:e=>new c.IfcEvaporativeCooler(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),484807127:e=>new c.IfcEvaporator(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),1209101575:e=>new c.IfcExternalSpatialElement(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),346874300:e=>new c.IfcFanType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1810631287:e=>new c.IfcFilterType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),4222183408:e=>new c.IfcFireSuppressionTerminalType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),2058353004:e=>new c.IfcFlowController(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),4278956645:e=>new c.IfcFlowFitting(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),4037862832:e=>new c.IfcFlowInstrumentType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),2188021234:e=>new c.IfcFlowMeter(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),3132237377:e=>new c.IfcFlowMovingDevice(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),987401354:e=>new c.IfcFlowSegment(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),707683696:e=>new c.IfcFlowStorageDevice(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),2223149337:e=>new c.IfcFlowTerminal(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),3508470533:e=>new c.IfcFlowTreatmentDevice(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),900683007:e=>new c.IfcFooting(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),3319311131:e=>new c.IfcHeatExchanger(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),2068733104:e=>new c.IfcHumidifier(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),4175244083:e=>new c.IfcInterceptor(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),2176052936:e=>new c.IfcJunctionBox(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),76236018:e=>new c.IfcLamp(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),629592764:e=>new c.IfcLightFixture(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),1437502449:e=>new c.IfcMedicalDevice(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),1073191201:e=>new c.IfcMember(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),1911478936:e=>new c.IfcMemberStandardCase(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),2474470126:e=>new c.IfcMotorConnection(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),144952367:e=>new c.IfcOuterBoundaryCurve(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],new c.IfcLogical((e[1]??void 0)===void 0||e[1]===""?null:e[1].value)),3694346114:e=>new c.IfcOutlet(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),1687234759:e=>new c.IfcPile(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8],e[9]),310824031:e=>new c.IfcPipeFitting(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),3612865200:e=>new c.IfcPipeSegment(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),3171933400:e=>new c.IfcPlate(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),1156407060:e=>new c.IfcPlateStandardCase(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),738039164:e=>new c.IfcProtectiveDevice(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),655969474:e=>new c.IfcProtectiveDeviceTrippingUnitType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),90941305:e=>new c.IfcPump(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),2262370178:e=>new c.IfcRailing(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),3024970846:e=>new c.IfcRamp(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),3283111854:e=>new c.IfcRampFlight(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),1232101972:e=>new c.IfcRationalBSplineCurveWithKnots(new c.IfcInteger((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],e[2],new c.IfcLogical((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new c.IfcLogical((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new c.IfcInteger(t.value):null)||[],e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new c.IfcParameterValue(t.value):null)||[],e[7],e[8]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new c.IfcReal(t.value):null)||[]),979691226:e=>new c.IfcReinforcingBar(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new c.IfcPositiveLengthMeasure((e[9]??void 0)===void 0||e[9]===""?null:e[9].value),(e[10]??void 0)===void 0||e[10]===""?null:new c.IfcAreaMeasure((e[10]??void 0)===void 0||e[10]===""?null:e[10].value),(e[11]??void 0)===void 0||e[11]===""?null:new c.IfcPositiveLengthMeasure((e[11]??void 0)===void 0||e[11]===""?null:e[11].value),e[12],e[13]),2572171363:e=>new c.IfcReinforcingBarType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9],(e[10]??void 0)===void 0||e[10]===""?null:new c.IfcPositiveLengthMeasure((e[10]??void 0)===void 0||e[10]===""?null:e[10].value),(e[11]??void 0)===void 0||e[11]===""?null:new c.IfcAreaMeasure((e[11]??void 0)===void 0||e[11]===""?null:e[11].value),(e[12]??void 0)===void 0||e[12]===""?null:new c.IfcPositiveLengthMeasure((e[12]??void 0)===void 0||e[12]===""?null:e[12].value),e[13],(e[14]??void 0)===void 0||e[14]===""?null:new c.IfcLabel((e[14]??void 0)===void 0||e[14]===""?null:e[14].value),(e[15]??void 0)===void 0||e[15]===""?null:e[15]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?Si(2,t):null)||[]),2016517767:e=>new c.IfcRoof(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),3053780830:e=>new c.IfcSanitaryTerminal(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),1783015770:e=>new c.IfcSensorType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1329646415:e=>new c.IfcShadingDevice(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),1529196076:e=>new c.IfcSlab(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),3127900445:e=>new c.IfcSlabElementedCase(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),3027962421:e=>new c.IfcSlabStandardCase(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),3420628829:e=>new c.IfcSolarDevice(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),1999602285:e=>new c.IfcSpaceHeater(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),1404847402:e=>new c.IfcStackTerminal(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),331165859:e=>new c.IfcStair(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),4252922144:e=>new c.IfcStairFlight(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcInteger((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new c.IfcInteger((e[9]??void 0)===void 0||e[9]===""?null:e[9].value),(e[10]??void 0)===void 0||e[10]===""?null:new c.IfcPositiveLengthMeasure((e[10]??void 0)===void 0||e[10]===""?null:e[10].value),(e[11]??void 0)===void 0||e[11]===""?null:new c.IfcPositiveLengthMeasure((e[11]??void 0)===void 0||e[11]===""?null:e[11].value),e[12]),2515109513:e=>new c.IfcStructuralAnalysisModel(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),e[5],(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:e[7]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[8]??void 0)===void 0||e[8]===""?null:e[8]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[9]??void 0)===void 0||e[9]===""?null:new u((e[9]??void 0)===void 0||e[9]===""?null:e[9].value,2,e[9])),385403989:e=>new c.IfcStructuralLoadCase(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),e[5],e[6],e[7],(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcRatioMeasure((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new c.IfcLabel((e[9]??void 0)===void 0||e[9]===""?null:e[9].value),(e[10]??void 0)===void 0||e[10]===""?null:e[10]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new c.IfcRatioMeasure(t.value):null)||[]),1621171031:e=>new c.IfcStructuralPlanarAction(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,2,e[7]),e[8],(e[9]??void 0)===void 0||e[9]===""?null:new c.IfcBoolean((e[9]??void 0)===void 0||e[9]===""?null:e[9].value),e[10],e[11]),1162798199:e=>new c.IfcSwitchingDevice(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),812556717:e=>new c.IfcTank(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),3825984169:e=>new c.IfcTransformer(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),3026737570:e=>new c.IfcTubeBundle(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),3179687236:e=>new c.IfcUnitaryControlElementType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),4292641817:e=>new c.IfcUnitaryEquipment(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),4207607924:e=>new c.IfcValve(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),2391406946:e=>new c.IfcWall(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),4156078855:e=>new c.IfcWallElementedCase(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),3512223829:e=>new c.IfcWallStandardCase(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),4237592921:e=>new c.IfcWasteTerminal(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),3304561284:e=>new c.IfcWindow(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcPositiveLengthMeasure((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new c.IfcPositiveLengthMeasure((e[9]??void 0)===void 0||e[9]===""?null:e[9].value),e[10],e[11],(e[12]??void 0)===void 0||e[12]===""?null:new c.IfcLabel((e[12]??void 0)===void 0||e[12]===""?null:e[12].value)),486154966:e=>new c.IfcWindowStandardCase(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcPositiveLengthMeasure((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new c.IfcPositiveLengthMeasure((e[9]??void 0)===void 0||e[9]===""?null:e[9].value),e[10],e[11],(e[12]??void 0)===void 0||e[12]===""?null:new c.IfcLabel((e[12]??void 0)===void 0||e[12]===""?null:e[12].value)),2874132201:e=>new c.IfcActuatorType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1634111441:e=>new c.IfcAirTerminal(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),177149247:e=>new c.IfcAirTerminalBox(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),2056796094:e=>new c.IfcAirToAirHeatRecovery(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),3001207471:e=>new c.IfcAlarmType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),277319702:e=>new c.IfcAudioVisualAppliance(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),753842376:e=>new c.IfcBeam(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),2906023776:e=>new c.IfcBeamStandardCase(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),32344328:e=>new c.IfcBoiler(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),2938176219:e=>new c.IfcBurner(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),635142910:e=>new c.IfcCableCarrierFitting(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),3758799889:e=>new c.IfcCableCarrierSegment(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),1051757585:e=>new c.IfcCableFitting(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),4217484030:e=>new c.IfcCableSegment(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),3902619387:e=>new c.IfcChiller(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),639361253:e=>new c.IfcCoil(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),3221913625:e=>new c.IfcCommunicationsAppliance(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),3571504051:e=>new c.IfcCompressor(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),2272882330:e=>new c.IfcCondenser(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),578613899:e=>new c.IfcControllerType(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,2,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new c.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),4136498852:e=>new c.IfcCooledBeam(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),3640358203:e=>new c.IfcCoolingTower(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),4074379575:e=>new c.IfcDamper(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),1052013943:e=>new c.IfcDistributionChamberElement(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),562808652:e=>new c.IfcDistributionCircuit(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new c.IfcLabel((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),e[6]),1062813311:e=>new c.IfcDistributionControlElement(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),342316401:e=>new c.IfcDuctFitting(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),3518393246:e=>new c.IfcDuctSegment(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),1360408905:e=>new c.IfcDuctSilencer(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),1904799276:e=>new c.IfcElectricAppliance(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),862014818:e=>new c.IfcElectricDistributionBoard(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),3310460725:e=>new c.IfcElectricFlowStorageDevice(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),264262732:e=>new c.IfcElectricGenerator(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),402227799:e=>new c.IfcElectricMotor(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),1003880860:e=>new c.IfcElectricTimeControl(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),3415622556:e=>new c.IfcFan(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),819412036:e=>new c.IfcFilter(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),1426591983:e=>new c.IfcFireSuppressionTerminal(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),182646315:e=>new c.IfcFlowInstrument(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),2295281155:e=>new c.IfcProtectiveDeviceTrippingUnit(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),4086658281:e=>new c.IfcSensor(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),630975310:e=>new c.IfcUnitaryControlElement(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),4288193352:e=>new c.IfcActuator(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),3087945054:e=>new c.IfcAlarm(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),25142252:e=>new c.IfcController(new c.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,2,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new c.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new c.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new c.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,2,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,2,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new c.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8])};RN[2]={618182010:[rq,uq],411424972:[Eq],4037036970:[V6,Tq,gq,wq],1387855156:[V6],2859738748:[Z7,dV,j6,dS,n8],2614616156:[dS],1959218052:[dq,hq],1785450214:[z7],1466758467:[uV],4294318154:[yq,Vie,fq],3200245327:[j7,_N,i8,pq,Iq,mq],760658860:[z6,lV,yV,V5,tV,cV,a2,iV,mV],248100487:[iV],2235152071:[tV],1507914824:[QG,rV,IV],1918398963:[JG,eq,tq,t8],3701648758:[S1,Qj],2483315170:[Po,mS,yS,ES,TS,gS,wS,cq],2226359599:[mS,yS,ES,TS,gS,wS],677532197:[b3,M7,D5,B7,H5,k7,Pie,wy,EV,TV,gV,NN,wV,aV,wie,bie,_5,YI,tE,H7,A3,Nie,_ie,F7,bN,U7,Die,w1,tS,hV,fV,pV],2022622350:[aq],3119450353:[Y7,$7,oq,X7],2095639259:[W7,W6],3958567839:[z5,W5,w6,Cy,K5,J5,Ow,A6,eS,N6,D6,Ly,Zw,sS,$j,KG,q7,K7,hS,Q7,fS,J7],986844984:[Ao,P5,N3,M5,B5,F5,U5,V7,xie,nV,sV,oV,mie,ts,Pr,Eie,Cie],1076942058:[pS,e8,H6,IS,lq],3377609919:[zf,Y6],3008791417:[u2,Y5,j5,q5,$5,zp,jp,Cw,Mm,XT,Zm,Wp,Hf,m3,Ep,Sp,jm,Iu,xy,o5,r5,c6,S5,R3,S3,My,Z5,xw,Pw,Mw,Bw,Uw,v6,wN,kw,Jp,Gy,Xp,Vy,Q5,b5,N5,E6,R6,R1,X5,S6,b6,Yw,_6,Gp,u5,R5,g3,A5,$G,y3,c5,h5,Zp,Vw,km,r3,a5,E1,w3,Qp,Wy,f1,p1,$y,iS,Uh,Yp,qm,E3,Py,Uy,T5,jw,WI,c3,y1,bw,$m,Kp,qw,C6,nS,x6,ky,Kw,Qw,L6,Gw,P6,Yy,jy,qy,M6,g1,Xw,e2,t2,i2,F6,zy,Zy,rS,By,lS,Jj,oS,Fy,zw,Ky,B6,Xy,aS,v3,Jy,uS,$w,Jw,eE,cS,Hy,Qy,l2,n2,U6,sq,et],2439245199:[Ir,_a,$n,vS,T6,ai,RS,Hie,SS],2341007311:[pe,So,Fe,ce,Ei,M,rt,lt,B,je,me,Fh,kp,at,Gn,$s,Ye,_e,ti,ut,j0,ct,tt,qp,ks,vn,ua,Bt,dt,$p,ve,k5,Os,Gf,Vf,Oy,kf,qI,ie,ns,Te,bo,T3,Is,is,q0,re,Yj,Vp,I5,d6,v1,ZG,Jo,vy,Ry,Sy,Ay,by,Dy,f6,jI,m6,O6,qj,Km,aa,Pm,QT,JT,Fp,Xm,W0,KT,e1,l1,_w,Qm,Af,bf,Jm,s5,t1,s1,o1,u1,c1,Dw,r1,Lw,vf,Rf,Sf,Nf,Df,Pf,d1,Fw,wf,n1,Rr,_h,Dh,Ch,xh,Oh,Lh,Ph,Ou,Ql,Jc,rd,$d,Xl,Qc,od,pd,Rd,bd,Nd,Pd,Md,Fd,kd,Wd,Yd,jd,ea,nd,Od,ta,ld,yd,Td,Gd,ia,Xc,fd,Ud,na,ad,Ed,gd,Vd,qd,sa,ed,sd,ud,Ad,_d,Ld,Hd,Qd,oa,td,id,cd,dd,hd,Id,md,wd,vd,Sd,Dd,Cd,xd,Bd,zd,Zd,Kd,Jd,Xd,e0,ra,qu,H0,Wm,yw,Lu,Ew,Pu,Jl,Tw,Mu,Bu,Fu,gw,ww,Uu,vp,Hu,Gu,Vu,ku,vw,zu,Ka,Rw,Wu,Yu,Sw,ju,Zu,Ku,Aw,Qu,Rp,Xu,p3,G0,n0,Ym,Np,Lp,k0,_p,Mh,qT,tu,d0,la,h0,Cf,$u,Xa,bp,vr,Mr,Br,Fr,xc,iu,uc,Of,z0,a1,Y0,s0,r0,u0,_f,eu,a0,hu,m0,Bf,I1,Cu,Um,l0,xu,Gm,V0,o0,Hm,zm,Mf,m1,Bm,e3,u3,nc,fu,pu,du,Up,p5,g5,Da,i1,l5,h1,Hw,g6,h6,eI,qG,i3,n3,s3,l3,d3,f3,E5,p6,a3,c0,Ff,f5,i0,Fm,Cc,mp,Tp,gp,wp,Vm,Oc,f0,xf,t3,ja,qa,$a,Ip,Za,yp,Qa,t0,Ja,Hr,jr,bh,nu,Ur,Yr,gh,Rh,ll,ul,ml,yl,El,Rl,Ah,Al,bl,su,Wr,pl,ou,qr,il,nl,wl,ru,Gr,Xr,Tl,lu,$r,wh,sl,vl,Nl,au,Vr,Th,Zr,al,cl,Il,gl,Cl,uu,kr,zr,Kr,Qr,Jr,el,tl,vh,ol,rl,dl,hl,fl,Sh,Sl,_l,Dl,xl,Ol,Nh,cu,p0,Lf,o3,Ju,ec,Ap,tc,Dp,ic,sc,Cp,xp,Op,oc,rc,lc,zI,ac,Pp,Mp,cc,dc,hc,Bp,I3,Bh,h3,I0,y0,Uf,T1,w5,v5,Ww,d5,m5,y5,I6,ws,Zj],1054537805:[Iie,yie,Tie,gie,XG,vie],3982875396:[H6,IS],2273995522:[Wj,Xj],2162789131:[eV,Ny,C5,_y,x5,O5,L5,G5,G7,Rie,Sie],609421318:[eV,Ny,C5,_y,x5,O5,L5,G5,G7],2525727697:[Ny,C5,_y,x5,O5,L5,G5],2830218821:[pS],846575682:[tS],626085974:[F7,bN,U7],1549132990:[XG],280115917:[_5,YI,tE,H7],3101149627:[jj,Kj],1377556343:[oS,Fy,zw,Ky,B6,Xy,aS,v3,Jy,uS,$w,Jw,eE,cS,Hy,Qy,l2,n2,U6],2799835756:[n2],3798115385:[fS],1310608509:[hS],3264961684:[NN],370225590:[Hy,Qy],2889183280:[JG],3632507154:[KG],3900360178:[$w,Jw,eE],297599258:[ts,Pr],2556980723:[v3,Jy],1809719519:[Xy],3008276851:[v3],3448662350:[zf],2453401579:[Y5,j5,q5,$5,zp,jp,Cw,Mm,XT,Zm,Wp,Hf,m3,Ep,Sp,jm,Iu,xy,o5,r5,c6,S5,R3,S3,My,Z5,xw,Pw,Mw,Bw,Uw,v6,wN,kw,Jp,Gy,Xp,Vy,Q5,b5,N5,E6,R6,R1,X5,S6,b6,Yw,_6,Gp,u5,R5,g3,A5,$G,y3,c5,h5,Zp,Vw,km,r3,a5,E1,w3,Qp,Wy,f1,p1,$y,iS,Uh,Yp,qm,E3,Py,Uy,T5,jw,WI,c3,y1,bw,$m,Kp,qw,C6,nS,x6,ky,Kw,Qw,L6,Gw,P6,Yy,jy,qy,M6,g1,Xw,e2,t2,i2,F6,zy,Zy,rS,By,lS],3590301190:[By],812098782:[zy,Zy],1437953363:[_5],1402838566:[g1,Xw,e2,t2,i2],1520743889:[g1],1008929658:[Fy,zw,Ky],3079605661:[QG],219451334:[Km,aa,Pm,QT,JT,Fp,Xm,W0,KT,e1,l1,_w,Qm,Af,bf,Jm,s5,t1,s1,o1,u1,c1,Dw,r1,Lw,vf,Rf,Sf,Nf,Df,Pf,d1,Fw,wf,n1,Rr,_h,Dh,Ch,xh,Oh,Lh,Ph,Ou,Ql,Jc,rd,$d,Xl,Qc,od,pd,Rd,bd,Nd,Pd,Md,Fd,kd,Wd,Yd,jd,ea,nd,Od,ta,ld,yd,Td,Gd,ia,Xc,fd,Ud,na,ad,Ed,gd,Vd,qd,sa,ed,sd,ud,Ad,_d,Ld,Hd,Qd,oa,td,id,cd,dd,hd,Id,md,wd,vd,Sd,Dd,Cd,xd,Bd,zd,Zd,Kd,Jd,Xd,e0,ra,qu,H0,Wm,yw,Lu,Ew,Pu,Jl,Tw,Mu,Bu,Fu,gw,ww,Uu,vp,Hu,Gu,Vu,ku,vw,zu,Ka,Rw,Wu,Yu,Sw,ju,Zu,Ku,Aw,Qu,Rp,Xu,p3,G0,n0,Ym,Np,Lp,k0,_p,Mh,qT,tu,d0,la,h0,Cf,$u,Xa,bp,vr,Mr,Br,Fr,xc,iu,uc,Of,z0,a1,Y0,s0,r0,u0,_f,eu,a0,hu,m0,Bf,I1,Cu,Um,l0,xu,Gm,V0,o0,Hm,zm,Mf,m1,Bm,e3,u3,nc,fu,pu,du,Up,p5,g5,Da,i1,l5,h1,Hw,g6,h6,eI,qG,i3,n3,s3,l3,d3,f3,E5,p6,a3,c0,Ff,f5,i0,Fm,Cc,mp,Tp,gp,wp,Vm,Oc,f0,xf,t3,ja,qa,$a,Ip,Za,yp,Qa,t0,Ja,Hr,jr,bh,nu,Ur,Yr,gh,Rh,ll,ul,ml,yl,El,Rl,Ah,Al,bl,su,Wr,pl,ou,qr,il,nl,wl,ru,Gr,Xr,Tl,lu,$r,wh,sl,vl,Nl,au,Vr,Th,Zr,al,cl,Il,gl,Cl,uu,kr,zr,Kr,Qr,Jr,el,tl,vh,ol,rl,dl,hl,fl,Sh,Sl,_l,Dl,xl,Ol,Nh,cu,p0,Lf,o3,Ju,ec,Ap,tc,Dp,ic,sc,Cp,xp,Op,oc,rc,lc,zI,ac,Pp,Mp,cc,dc,hc,Bp,I3,Bh,h3,I0,y0,Uf,T1,w5,v5,Ww,d5,m5,y5,I6,ws],2529465313:[z5,W5,w6,Cy,K5,J5,Ow,A6,eS,N6,D6,Ly,Zw,sS],2004835150:[Yy,jy,qy],1663979128:[Gw],2067069095:[ky,Kw,Qw],3727388367:[b3,M7,D5,B7,H5,k7],3778827333:[nV,sV,oV],1775413392:[H5],2598011224:[Ao,P5,N3,M5,B5,F5,U5,V7],1680319473:[Vp,I5,d6,v1,ZG,Jo,vy,Ry,Sy,Ay,by,Dy,f6,jI,m6,O6],3357820518:[Jo,vy,Ry,Sy,Ay,by,Dy,f6,jI,m6],1482703590:[Vp,I5,d6,v1],2090586900:[jI],3615266464:[Ly,Zw],478536968:[pe,So,Fe,ce,Ei,M,rt,lt,B,je,me,Fh,kp,at,Gn,$s,Ye,_e,ti,ut,j0,ct,tt,qp,ks,vn,ua,Bt,dt,$p,ve,k5,Os,Gf,Vf,Oy,kf,qI,ie,ns,Te,bo,T3,Is,is,q0,re],3692461612:[P5,N3,M5,B5,F5,U5],723233188:[Uh,Yp,qm,E3,Py,Uy,T5,jw,WI,c3,y1,bw,$m,Kp,qw],2473145415:[_y],1597423693:[Ny],2513912981:[y3,c5,h5,Zp,Vw,km,r3,a5,E1,w3,Qp,Wy,f1,p1,$y],2247615214:[WI,c3,y1,bw,$m,Kp],1260650574:[T5],230924584:[f1,p1],901063453:[Gp,u5,R5,g3,A5],4282788508:[Yw],1628702193:[i3,n3,s3,l3,d3,f3,E5,p6,a3,c0,Ff,f5,i0,Fm,Cc,mp,Tp,gp,wp,Vm,Oc,f0,xf,t3,ja,qa,$a,Ip,Za,yp,Qa,t0,Ja,Hr,jr,bh,nu,Ur,Yr,gh,Rh,ll,ul,ml,yl,El,Rl,Ah,Al,bl,su,Wr,pl,ou,qr,il,nl,wl,ru,Gr,Xr,Tl,lu,$r,wh,sl,vl,Nl,au,Vr,Th,Zr,al,cl,Il,gl,Cl,uu,kr,zr,Kr,Qr,Jr,el,tl,vh,ol,rl,dl,hl,fl,Sh,Sl,_l,Dl,xl,Ol,Nh,cu,p0,Lf,o3,Ju,ec,Ap,tc,Dp,ic,sc,Cp,xp,Op,oc,rc,lc,zI,ac,Pp,Mp,cc,dc,hc,Bp,I3,Bh,h3,I0,y0,Uf,T1,w5,v5,Ww,d5,m5,y5,I6],3736923433:[d5,m5,y5],2347495698:[a3,c0,Ff,f5,i0,Fm,Cc,mp,Tp,gp,wp,Vm,Oc,f0,xf,t3,ja,qa,$a,Ip,Za,yp,Qa,t0,Ja,Hr,jr,bh,nu,Ur,Yr,gh,Rh,ll,ul,ml,yl,El,Rl,Ah,Al,bl,su,Wr,pl,ou,qr,il,nl,wl,ru,Gr,Xr,Tl,lu,$r,wh,sl,vl,Nl,au,Vr,Th,Zr,al,cl,Il,gl,Cl,uu,kr,zr,Kr,Qr,Jr,el,tl,vh,ol,rl,dl,hl,fl,Sh,Sl,_l,Dl,xl,Ol,Nh,cu,p0,Lf,o3,Ju,ec,Ap,tc,Dp,ic,sc,Cp,xp,Op,oc,rc,lc,zI,ac,Pp,Mp,cc,dc,hc,Bp,I3,Bh,h3,I0,y0,Uf,T1,w5,v5],3698973494:[i3,n3,s3,l3,d3,f3,E5],2736907675:[R1],4182860854:[km,r3,a5,E1,w3,Qp],574549367:[b5,N5],59481748:[Jp,Gy,Xp,Vy],3749851601:[Xp],3331915920:[Jp],1383045692:[Cy],2485617015:[wN],2574617495:[i3,n3,s3,l3,d3,f3],3419103109:[h6,eI],2506170314:[xw,Pw,Mw,Bw,Uw],2601014836:[zp,jp,Cw,Mm,XT,Zm,Wp,Hf,m3,Ep,Sp,jm,Iu,xy,o5,r5,c6,S5,R3,S3,My],339256511:[i0,Fm,Cc,mp,Tp,gp,wp,Vm,Oc,f0,xf,t3,ja,qa,$a,Ip,Za,yp,Qa,t0,Ja,Hr,jr,bh,nu,Ur,Yr,gh,Rh,ll,ul,ml,yl,El,Rl,Ah,Al,bl,su,Wr,pl,ou,qr,il,nl,wl,ru,Gr,Xr,Tl,lu,$r,wh,sl,vl,Nl,au,Vr,Th,Zr,al,cl,Il,gl,Cl,uu,kr,zr,Kr,Qr,Jr,el,tl,vh,ol,rl,dl,hl,fl,Sh,Sl,_l,Dl,xl,Ol,Nh,cu,p0,Lf,o3,Ju,ec,Ap,tc,Dp,ic,sc,Cp,xp,Op,oc,rc,lc,zI,ac,Pp,Mp,cc,dc,hc,Bp,I3,Bh,h3,I0,y0,Uf],2777663545:[y3,c5,h5,Zp],477187591:[$m],4238390223:[I0,y0],178912537:[g3],1425443689:[Uh,Yp,qm,E3],3888040117:[Km,aa,Pm,QT,JT,Fp,Xm,W0,KT,e1,l1,_w,Qm,Af,bf,Jm,s5,t1,s1,o1,u1,c1,Dw,r1,Lw,vf,Rf,Sf,Nf,Df,Pf,d1,Fw,wf,n1,Rr,_h,Dh,Ch,xh,Oh,Lh,Ph,Ou,Ql,Jc,rd,$d,Xl,Qc,od,pd,Rd,bd,Nd,Pd,Md,Fd,kd,Wd,Yd,jd,ea,nd,Od,ta,ld,yd,Td,Gd,ia,Xc,fd,Ud,na,ad,Ed,gd,Vd,qd,sa,ed,sd,ud,Ad,_d,Ld,Hd,Qd,oa,td,id,cd,dd,hd,Id,md,wd,vd,Sd,Dd,Cd,xd,Bd,zd,Zd,Kd,Jd,Xd,e0,ra,qu,H0,Wm,yw,Lu,Ew,Pu,Jl,Tw,Mu,Bu,Fu,gw,ww,Uu,vp,Hu,Gu,Vu,ku,vw,zu,Ka,Rw,Wu,Yu,Sw,ju,Zu,Ku,Aw,Qu,Rp,Xu,p3,G0,n0,Ym,Np,Lp,k0,_p,Mh,qT,tu,d0,la,h0,Cf,$u,Xa,bp,vr,Mr,Br,Fr,xc,iu,uc,Of,z0,a1,Y0,s0,r0,u0,_f,eu,a0,hu,m0,Bf,I1,Cu,Um,l0,xu,Gm,V0,o0,Hm,zm,Mf,m1,Bm,e3,u3,nc,fu,pu,du,Up,p5,g5,Da,i1,l5,h1,Hw],759155922:[D5],2559016684:[b3],3967405729:[vy,Ry,Sy,Ay,by,Dy],2945172077:[i1,l5,h1],4208778838:[wf,n1,Rr,_h,Dh,Ch,xh,Oh,Lh,Ph,Ou,Ql,Jc,rd,$d,Xl,Qc,od,pd,Rd,bd,Nd,Pd,Md,Fd,kd,Wd,Yd,jd,ea,nd,Od,ta,ld,yd,Td,Gd,ia,Xc,fd,Ud,na,ad,Ed,gd,Vd,qd,sa,ed,sd,ud,Ad,_d,Ld,Hd,Qd,oa,td,id,cd,dd,hd,Id,md,wd,vd,Sd,Dd,Cd,xd,Bd,zd,Zd,Kd,Jd,Xd,e0,ra,qu,H0,Wm,yw,Lu,Ew,Pu,Jl,Tw,Mu,Bu,Fu,gw,ww,Uu,vp,Hu,Gu,Vu,ku,vw,zu,Ka,Rw,Wu,Yu,Sw,ju,Zu,Ku,Aw,Qu,Rp,Xu,p3,G0,n0,Ym,Np,Lp,k0,_p,Mh,qT,tu,d0,la,h0,Cf,$u,Xa,bp,vr,Mr,Br,Fr,xc,iu,uc,Of,z0,a1,Y0,s0,r0,u0,_f,eu,a0,hu,m0,Bf,I1,Cu,Um,l0,xu,Gm,V0,o0,Hm,zm,Mf,m1,Bm,e3,u3,nc,fu,pu,du,Up,p5,g5],3521284610:[Vp,I5],3939117080:[ns,Te,bo,T3,Is,is,q0],1307041759:[T3],1865459582:[Os,Gf,Vf,Oy,kf,qI],826625072:[Fh,kp,at,Gn,$s,Ye,_e,ti,ut,j0,ct,tt,qp,ks,vn,ua,Bt,dt,$p,ve],1204542856:[dt,$p],1638771189:[qp],2551354335:[M,rt,lt,B],693640335:[pe,So,Fe,ce],3451746338:[Fh,kp],3523091289:[Fh],2914609552:[vf,Rf,Sf,Nf,Df,Pf,d1],1856042241:[c3],1412071761:[Bm,e3,u3,nc,fu,pu,du,Up],710998568:[a3,c0,Ff],2706606064:[nc,fu,pu,du],3893378262:[c0],3544373492:[Cu,Um,l0,xu,Gm,V0,o0,Hm,zm,Mf],3136571912:[s0,r0,u0,_f,eu,a0,hu,m0,Bf],530289379:[eu,a0,hu,m0],3689010777:[o0,Hm,zm],3979015343:[hu],699246055:[o5,r5],2387106220:[Gp,u5],2296667514:[r1],1635779807:[qm],2887950389:[km,r3],167062518:[km],1260505505:[Mm,XT,Zm,Wp,Hf,m3,Ep,Sp,jm,Iu],1950629157:[Ju,ec,Ap,tc,Dp,ic,sc,Cp,xp,Op,oc,rc,lc,zI,ac,Pp,Mp,cc,dc,hc,Bp],3732776249:[Ep,Sp,jm],15328376:[Ep,Sp],2510884976:[zp,jp],2559216714:[vf,Rf,Sf,Nf,Df,Pf],3293443760:[Qm,Af,bf,Jm,s5,t1,s1,o1,u1,c1],3256556792:[ja,qa,$a,Ip,Za,yp,Qa,t0,Ja,Hr,jr,bh,nu,Ur,Yr,gh,Rh,ll,ul,ml,yl,El,Rl,Ah,Al,bl,su,Wr,pl,ou,qr,il,nl,wl,ru,Gr,Xr,Tl,lu,$r,wh,sl,vl,Nl,au,Vr,Th,Zr,al,cl,Il,gl,Cl,uu,kr,zr,Kr,Qr,Jr,el,tl,vh,ol,rl,dl,hl,fl,Sh,Sl,_l,Dl,xl,Ol,Nh,cu,p0],3849074793:[Ja,Hr,jr,bh,nu,Ur,Yr,gh,Rh,ll,ul,ml,yl,El,Rl,Ah,Al,bl,su,Wr,pl,ou,qr,il,nl,wl,ru,Gr,Xr,Tl,lu,$r,wh,sl,vl,Nl,au,Vr,Th,Zr,al,cl,Il,gl,Cl,uu,kr,zr,Kr,Qr,Jr,el,tl,vh,ol,rl,dl,hl,fl,Sh,Sl,_l,Dl,xl,Ol,Nh,cu],1758889154:[_h,Dh,Ch,xh,Oh,Lh,Ph,Ou,Ql,Jc,rd,$d,Xl,Qc,od,pd,Rd,bd,Nd,Pd,Md,Fd,kd,Wd,Yd,jd,ea,nd,Od,ta,ld,yd,Td,Gd,ia,Xc,fd,Ud,na,ad,Ed,gd,Vd,qd,sa,ed,sd,ud,Ad,_d,Ld,Hd,Qd,oa,td,id,cd,dd,hd,Id,md,wd,vd,Sd,Dd,Cd,xd,Bd,zd,Zd,Kd,Jd,Xd,e0,ra,qu,H0,Wm,yw,Lu,Ew,Pu,Jl,Tw,Mu,Bu,Fu,gw,ww,Uu,vp,Hu,Gu,Vu,ku,vw,zu,Ka,Rw,Wu,Yu,Sw,ju,Zu,Ku,Aw,Qu,Rp,Xu,p3,G0,n0,Ym,Np,Lp,k0,_p,Mh,qT,tu,d0,la,h0,Cf,$u,Xa,bp,vr,Mr,Br,Fr,xc,iu,uc,Of,z0],1623761950:[$u,Xa,bp,vr,Mr,Br,Fr,xc,iu,uc],2590856083:[i0,Fm,Cc,mp,Tp,gp,wp,Vm,Oc,f0],2107101300:[kr,zr,Kr,Qr,Jr,el,tl,vh,ol,rl,dl,hl,fl,Sh,Sl,_l,Dl,xl,Ol,Nh],2853485674:[Bm],807026263:[Uh],2827207264:[_p,Mh,qT,tu,d0,la,h0],2143335405:[la],1287392070:[Mh,qT,tu],3907093117:[Vr,Th,Zr,al,cl,Il,gl,Cl],3198132628:[$r,wh,sl,vl,Nl],1482959167:[Gr,Xr,Tl],1834744321:[qr,il,nl,wl],1339347760:[Wr,pl],2297155007:[Ur,Yr,gh,Rh,ll,ul,ml,yl,El,Rl,Ah,Al,bl],3009222698:[Hr,jr,bh],263784265:[Np,Lp],2706460486:[Km,aa,Pm,QT,JT,Fp,Xm,W0,KT,e1,l1],3588315303:[qT],3740093272:[wf],3027567501:[vr,Mr,Br,Fr],964333572:[mp,Tp,gp,wp],682877961:[Cu,Um,l0,xu,Gm],1179482911:[s0,r0,u0],1004757350:[xu],214636428:[eu],1252848954:[KT],3657597509:[Cu],2254336722:[aa,Pm,QT,JT,Fp],1028945134:[Af,bf],1967976161:[Mm,XT],2461110595:[Mm],1136057603:[Ep],3299480353:[yw,Lu,Ew,Pu,Jl,Tw,Mu,Bu,Fu,gw,ww,Uu,vp,Hu,Gu,Vu,ku,vw,zu,Ka,Rw,Wu,Yu,Sw,ju,Zu,Ku,Aw,Qu,Rp,Xu],843113511:[Aw],2063403501:[ja,qa,$a,Ip,Za,yp,Qa],1945004755:[_h,Dh,Ch,xh,Oh,Lh,Ph,Ou,Ql,Jc,rd,$d,Xl,Qc,od,pd,Rd,bd,Nd,Pd,Md,Fd,kd,Wd,Yd,jd,ea,nd,Od,ta,ld,yd,Td,Gd,ia,Xc,fd,Ud,na,ad,Ed,gd,Vd,qd,sa,ed,sd,ud,Ad,_d,Ld,Hd,Qd,oa,td,id,cd,dd,hd,Id,md,wd,vd,Sd,Dd,Cd,xd,Bd,zd,Zd,Kd,Jd,Xd,e0,ra,qu],3040386961:[Ql,Jc,rd,$d,Xl,Qc,od,pd,Rd,bd,Nd,Pd,Md,Fd,kd,Wd,Yd,jd,ea,nd,Od,ta,ld,yd,Td,Gd,ia,Xc,fd,Ud,na,ad,Ed,gd,Vd,qd,sa,ed,sd,ud,Ad,_d,Ld,Hd,Qd,oa,td,id,cd,dd,hd,Id,md,wd,vd,Sd,Dd,Cd,xd,Bd,zd,Zd,Kd,Jd,Xd,e0,ra],3205830791:[Pm],395920057:[Sw],1658829314:[td,id,cd,dd,hd,Id,md,wd,vd,Sd,Dd,Cd,xd,Bd,zd,Zd,Kd,Jd,Xd,e0],2058353004:[ed,sd,ud,Ad,_d,Ld,Hd,Qd],4278956645:[ad,Ed,gd,Vd,qd],3132237377:[Xc,fd,Ud],987401354:[ld,yd,Td,Gd],707683696:[nd,Od],2223149337:[Qc,od,pd,Rd,bd,Nd,Pd,Md,Fd,kd,Wd,Yd,jd],3508470533:[Jc,rd,$d],1073191201:[Rw],3171933400:[vw],1529196076:[gw,ww],2391406946:[Jl,Tw],3304561284:[Ew],753842376:[yw],1062813311:[_h,Dh,Ch,xh,Oh,Lh,Ph]};vV[2]={3630933823:[["HasExternalReference",ai,3,!0]],618182010:[["OfPerson",o2,7,!0],["OfOrganization",r2,4,!0]],411424972:[["HasExternalReference",ai,3,!0]],130549933:[["HasExternalReferences",ai,3,!0],["ApprovedObjects",qI,5,!0],["ApprovedResources",_a,3,!0],["IsRelatedWith",SS,3,!0],["Relates",SS,2,!0]],1959218052:[["HasExternalReferences",ai,3,!0],["PropertiesForConstraint",Ir,2,!0]],1466758467:[["HasCoordinateOperation",Nw,0,!0]],602808272:[["HasExternalReference",ai,3,!0]],3200245327:[["ExternalReferenceForResources",ai,2,!0]],2242383968:[["ExternalReferenceForResources",ai,2,!0]],1040185647:[["ExternalReferenceForResources",ai,2,!0]],3548104201:[["ExternalReferenceForResources",ai,2,!0]],852622518:[["PartOfW",Rr,9,!0],["PartOfV",Rr,8,!0],["PartOfU",Rr,7,!0],["HasIntersections",iq,0,!0]],2655187982:[["LibraryInfoForObjects",Gf,5,!0],["HasLibraryReferences",i8,5,!0]],3452421091:[["ExternalReferenceForResources",ai,2,!0],["LibraryRefForObjects",Gf,5,!0]],760658860:[["AssociatedTo",Os,5,!0],["HasExternalReferences",ai,3,!0],["HasProperties",Pr,3,!0]],248100487:[["AssociatedTo",Os,5,!0],["HasExternalReferences",ai,3,!0],["HasProperties",Pr,3,!0],["ToMaterialLayerSet",a2,0,!1]],3303938423:[["AssociatedTo",Os,5,!0],["HasExternalReferences",ai,3,!0],["HasProperties",Pr,3,!0]],1847252529:[["AssociatedTo",Os,5,!0],["HasExternalReferences",ai,3,!0],["HasProperties",Pr,3,!0],["ToMaterialLayerSet",a2,0,!1]],2235152071:[["AssociatedTo",Os,5,!0],["HasExternalReferences",ai,3,!0],["HasProperties",Pr,3,!0],["ToMaterialProfileSet",V5,2,!1]],164193824:[["AssociatedTo",Os,5,!0],["HasExternalReferences",ai,3,!0],["HasProperties",Pr,3,!0]],552965576:[["AssociatedTo",Os,5,!0],["HasExternalReferences",ai,3,!0],["HasProperties",Pr,3,!0],["ToMaterialProfileSet",V5,2,!1]],1507914824:[["AssociatedTo",Os,5,!0]],3368373690:[["HasExternalReferences",ai,3,!0],["PropertiesForConstraint",Ir,2,!0]],3701648758:[["PlacesObject",Da,5,!0],["ReferencedByPlacements",S1,0,!0]],2251480897:[["HasExternalReferences",ai,3,!0],["PropertiesForConstraint",Ir,2,!0]],4251960020:[["IsRelatedBy",vS,3,!0],["Relates",vS,2,!0],["Engages",G6,1,!0]],2077209135:[["EngagedIn",G6,0,!0]],2483315170:[["HasExternalReferences",ai,3,!0],["PartOfComplex",Po,2,!0]],2226359599:[["HasExternalReferences",ai,3,!0],["PartOfComplex",Po,2,!0]],3355820592:[["OfPerson",o2,7,!0],["OfOrganization",r2,4,!0]],3958567839:[["HasExternalReference",ai,3,!0],["HasProperties",ts,3,!0]],3843373140:[["HasCoordinateOperation",Nw,0,!0]],986844984:[["HasExternalReferences",ai,3,!0]],3710013099:[["HasExternalReferences",ai,3,!0]],2044713172:[["HasExternalReferences",ai,3,!0],["PartOfComplex",Po,2,!0]],2093928680:[["HasExternalReferences",ai,3,!0],["PartOfComplex",Po,2,!0]],931644368:[["HasExternalReferences",ai,3,!0],["PartOfComplex",Po,2,!0]],3252649465:[["HasExternalReferences",ai,3,!0],["PartOfComplex",Po,2,!0]],2405470396:[["HasExternalReferences",ai,3,!0],["PartOfComplex",Po,2,!0]],825690147:[["HasExternalReferences",ai,3,!0],["PartOfComplex",Po,2,!0]],1076942058:[["RepresentationMap",fc,1,!0],["LayerAssignments",Je,2,!0],["OfProductRepresentation",E0,2,!0]],3377609919:[["RepresentationsInContext",s2,0,!0]],3008791417:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],1660063152:[["HasShapeAspects",Hp,4,!0],["MapUsage",u2,0,!0]],3982875396:[["RepresentationMap",fc,1,!0],["LayerAssignments",Je,2,!0],["OfProductRepresentation",E0,2,!0],["OfShapeAspect",Hp,0,!0]],4240577450:[["RepresentationMap",fc,1,!0],["LayerAssignments",Je,2,!0],["OfProductRepresentation",E0,2,!0],["OfShapeAspect",Hp,0,!0]],2830218821:[["RepresentationMap",fc,1,!0],["LayerAssignments",Je,2,!0],["OfProductRepresentation",E0,2,!0]],3958052878:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],3049322572:[["RepresentationMap",fc,1,!0],["LayerAssignments",Je,2,!0],["OfProductRepresentation",E0,2,!0]],626085974:[["IsMappedBy",A3,0,!0],["UsedInStyles",w1,0,!0]],912023232:[["OfPerson",o2,7,!0],["OfOrganization",r2,4,!0]],3101149627:[["HasExternalReference",ai,3,!0]],1377556343:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],1735638870:[["RepresentationMap",fc,1,!0],["LayerAssignments",Je,2,!0],["OfProductRepresentation",E0,2,!0],["OfShapeAspect",Hp,0,!0]],2799835756:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],1907098498:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],3798115385:[["HasExternalReference",ai,3,!0],["HasProperties",ts,3,!0]],1310608509:[["HasExternalReference",ai,3,!0],["HasProperties",ts,3,!0]],2705031697:[["HasExternalReference",ai,3,!0],["HasProperties",ts,3,!0]],616511568:[["IsMappedBy",A3,0,!0],["UsedInStyles",w1,0,!0]],3150382593:[["HasExternalReference",ai,3,!0],["HasProperties",ts,3,!0]],747523909:[["ClassificationForObjects",kf,5,!0],["HasReferences",_N,3,!0]],647927063:[["ExternalReferenceForResources",ai,2,!0],["ClassificationRefForObjects",kf,5,!0],["HasReferences",_N,3,!0]],1485152156:[["HasExternalReference",ai,3,!0],["HasProperties",ts,3,!0]],370225590:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],3050246964:[["HasExternalReference",ai,3,!0]],2889183280:[["HasExternalReference",ai,3,!0]],2713554722:[["HasExternalReference",ai,3,!0]],3632507154:[["HasExternalReference",ai,3,!0],["HasProperties",ts,3,!0]],1154170062:[["DocumentInfoForObjects",Vf,5,!0],["HasDocumentReferences",j7,4,!0],["IsPointedTo",RS,3,!0],["IsPointer",RS,2,!0]],3732053477:[["ExternalReferenceForResources",ai,2,!0],["DocumentRefForObjects",Vf,5,!0]],3900360178:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],476780140:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],297599258:[["HasExternalReferences",ai,3,!0]],2556980723:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0],["HasTextureMaps",tE,2,!0]],1809719519:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],803316827:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],3008276851:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0],["HasTextureMaps",tE,2,!0]],3448662350:[["RepresentationsInContext",s2,0,!0],["HasSubContexts",zf,6,!0],["HasCoordinateOperation",Nw,0,!0]],2453401579:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],4142052618:[["RepresentationsInContext",s2,0,!0],["HasSubContexts",zf,6,!0],["HasCoordinateOperation",Nw,0,!0]],3590301190:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],178086475:[["PlacesObject",Da,5,!0],["ReferencedByPlacements",S1,0,!0]],812098782:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],3905492369:[["IsMappedBy",A3,0,!0],["UsedInStyles",w1,0,!0]],3741457305:[["HasExternalReference",ai,3,!0]],1402838566:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],125510826:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],2604431987:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],4266656042:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],1520743889:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],3422422726:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],2624227202:[["PlacesObject",Da,5,!0],["ReferencedByPlacements",S1,0,!0]],1008929658:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],2347385850:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],1838606355:[["AssociatedTo",Os,5,!0],["HasExternalReferences",ai,3,!0],["HasProperties",Pr,3,!0],["HasRepresentation",W6,3,!0],["IsRelatedWith",T6,3,!0],["RelatesTo",T6,2,!0]],3708119e3:[["AssociatedTo",Os,5,!0],["HasExternalReferences",ai,3,!0],["HasProperties",Pr,3,!0],["ToMaterialConstituentSet",z6,2,!1]],2852063980:[["AssociatedTo",Os,5,!0],["HasExternalReferences",ai,3,!0],["HasProperties",Pr,3,!0]],1303795690:[["AssociatedTo",Os,5,!0]],3079605661:[["AssociatedTo",Os,5,!0]],3404854881:[["AssociatedTo",Os,5,!0]],3265635763:[["HasExternalReferences",ai,3,!0]],2998442950:[["HasExternalReference",ai,3,!0],["HasProperties",ts,3,!0]],219451334:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0]],2665983363:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],1029017970:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],2529465313:[["HasExternalReference",ai,3,!0],["HasProperties",ts,3,!0]],2519244187:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],3021840470:[["HasExternalReferences",ai,3,!0],["PartOfComplex",Po,2,!0]],597895409:[["IsMappedBy",A3,0,!0],["UsedInStyles",w1,0,!0]],2004835150:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],1663979128:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],2067069095:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],4022376103:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],1423911732:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],2924175390:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],2775532180:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],3778827333:[["HasExternalReferences",ai,3,!0]],673634403:[["ShapeOfProduct",Da,6,!0],["HasShapeAspects",Hp,4,!0]],2802850158:[["HasExternalReferences",ai,3,!0]],2598011224:[["HasExternalReferences",ai,3,!0],["PartOfPset",Jo,4,!0],["PropertyForDependance",$n,2,!0],["PropertyDependsOn",$n,3,!0],["PartOfComplex",Ao,3,!0],["HasConstraints",Ir,3,!0],["HasApprovals",_a,2,!0]],1680319473:[["HasContext",me,5,!0],["HasAssociations",ie,4,!0]],3357820518:[["HasContext",me,5,!0],["HasAssociations",ie,4,!0],["DefinesType",ws,5,!0],["IsDefinedBy",So,4,!0],["DefinesOccurrence",Fe,5,!0]],1482703590:[["HasContext",me,5,!0],["HasAssociations",ie,4,!0]],2090586900:[["HasContext",me,5,!0],["HasAssociations",ie,4,!0],["DefinesType",ws,5,!0],["IsDefinedBy",So,4,!0],["DefinesOccurrence",Fe,5,!0]],3615266464:[["HasExternalReference",ai,3,!0],["HasProperties",ts,3,!0]],3413951693:[["HasExternalReference",ai,3,!0]],1580146022:[["HasExternalReferences",ai,3,!0]],2778083089:[["HasExternalReference",ai,3,!0],["HasProperties",ts,3,!0]],2042790032:[["HasExternalReferences",ai,3,!0]],4165799628:[["HasExternalReferences",ai,3,!0]],1509187699:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],4124623270:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],3692461612:[["HasExternalReferences",ai,3,!0],["PartOfPset",Jo,4,!0],["PropertyForDependance",$n,2,!0],["PropertyDependsOn",$n,3,!0],["PartOfComplex",Ao,3,!0],["HasConstraints",Ir,3,!0],["HasApprovals",_a,2,!0]],723233188:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],2233826070:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],2513912981:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],2247615214:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],1260650574:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],1096409881:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],230924584:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],3071757647:[["HasExternalReference",ai,3,!0],["HasProperties",ts,3,!0]],901063453:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],4282788508:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],3124975700:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],2715220739:[["HasExternalReference",ai,3,!0],["HasProperties",ts,3,!0]],1628702193:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0]],3736923433:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["OperatesOn",bo,6,!0]],2347495698:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],3698973494:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ResourceOf",ns,6,!0]],427810014:[["HasExternalReference",ai,3,!0],["HasProperties",ts,3,!0]],1417489154:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],2759199220:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],1299126871:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],2543172580:[["HasExternalReference",ai,3,!0],["HasProperties",ts,3,!0]],3406155212:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0],["HasTextureMaps",tE,2,!0]],669184980:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],3207858831:[["HasExternalReference",ai,3,!0],["HasProperties",ts,3,!0]],4261334040:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],3125803723:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],2740243338:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],2736907675:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],4182860854:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],2581212453:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],2713105998:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],2898889636:[["HasExternalReference",ai,3,!0],["HasProperties",ts,3,!0]],1123145078:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],574549367:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],1675464909:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],2059837836:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],59481748:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],3749851601:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],3486308946:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],3331915920:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],1416205885:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],1383045692:[["HasExternalReference",ai,3,!0],["HasProperties",ts,3,!0]],2205249479:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],2542286263:[["HasExternalReferences",ai,3,!0],["PartOfPset",Jo,4,!0],["PropertyForDependance",$n,2,!0],["PropertyDependsOn",$n,3,!0],["PartOfComplex",Ao,3,!0],["HasConstraints",Ir,3,!0],["HasApprovals",_a,2,!0]],2485617015:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0],["UsingCurves",Iu,0,!0]],2574617495:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ResourceOf",ns,6,!0]],3419103109:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Fe,4,!0],["Declares",me,4,!0]],1815067380:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ResourceOf",ns,6,!0]],2506170314:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],2147822146:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],2601014836:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],2827736869:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],2629017746:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],32440307:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],526551008:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1472233963:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],1883228015:[["HasContext",me,5,!0],["HasAssociations",ie,4,!0],["DefinesType",ws,5,!0],["IsDefinedBy",So,4,!0],["DefinesOccurrence",Fe,5,!0]],339256511:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],2777663545:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],2835456948:[["HasExternalReference",ai,3,!0],["HasProperties",ts,3,!0]],4024345920:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["OperatesOn",bo,6,!0]],477187591:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],2804161546:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],2047409740:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],374418227:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],315944413:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],2652556860:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],4238390223:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1268542332:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],4095422895:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],987898635:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],1484403080:[["HasExternalReference",ai,3,!0],["HasProperties",ts,3,!0]],178912537:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0],["ToFaceSet",Gp,2,!0]],2294589976:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0],["ToFaceSet",Gp,2,!0]],572779678:[["HasExternalReference",ai,3,!0],["HasProperties",ts,3,!0]],428585644:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ResourceOf",ns,6,!0]],1281925730:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],1425443689:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],3888040117:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0]],3388369263:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],3505215534:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],1682466193:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],603570806:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],220341763:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],3967405729:[["HasContext",me,5,!0],["HasAssociations",ie,4,!0],["DefinesType",ws,5,!0],["IsDefinedBy",So,4,!0],["DefinesOccurrence",Fe,5,!0]],569719735:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["OperatesOn",bo,6,!0]],2945172077:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["IsPredecessorTo",$s,4,!0],["IsSuccessorFrom",$s,5,!0],["OperatesOn",bo,6,!0]],4208778838:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0]],103090709:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Fe,4,!0],["Declares",me,4,!0]],653396225:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Fe,4,!0],["Declares",me,4,!0]],871118103:[["HasExternalReferences",ai,3,!0],["PartOfPset",Jo,4,!0],["PropertyForDependance",$n,2,!0],["PropertyDependsOn",$n,3,!0],["PartOfComplex",Ao,3,!0],["HasConstraints",Ir,3,!0],["HasApprovals",_a,2,!0]],4166981789:[["HasExternalReferences",ai,3,!0],["PartOfPset",Jo,4,!0],["PropertyForDependance",$n,2,!0],["PropertyDependsOn",$n,3,!0],["PartOfComplex",Ao,3,!0],["HasConstraints",Ir,3,!0],["HasApprovals",_a,2,!0]],2752243245:[["HasExternalReferences",ai,3,!0],["PartOfPset",Jo,4,!0],["PropertyForDependance",$n,2,!0],["PropertyDependsOn",$n,3,!0],["PartOfComplex",Ao,3,!0],["HasConstraints",Ir,3,!0],["HasApprovals",_a,2,!0]],941946838:[["HasExternalReferences",ai,3,!0],["PartOfPset",Jo,4,!0],["PropertyForDependance",$n,2,!0],["PropertyDependsOn",$n,3,!0],["PartOfComplex",Ao,3,!0],["HasConstraints",Ir,3,!0],["HasApprovals",_a,2,!0]],1451395588:[["HasContext",me,5,!0],["HasAssociations",ie,4,!0],["DefinesType",ws,5,!0],["IsDefinedBy",So,4,!0],["DefinesOccurrence",Fe,5,!0]],492091185:[["HasContext",me,5,!0],["HasAssociations",ie,4,!0],["Defines",So,5,!0]],3650150729:[["HasExternalReferences",ai,3,!0],["PartOfPset",Jo,4,!0],["PropertyForDependance",$n,2,!0],["PropertyDependsOn",$n,3,!0],["PartOfComplex",Ao,3,!0],["HasConstraints",Ir,3,!0],["HasApprovals",_a,2,!0]],110355661:[["HasExternalReferences",ai,3,!0],["PartOfPset",Jo,4,!0],["PropertyForDependance",$n,2,!0],["PropertyDependsOn",$n,3,!0],["PartOfComplex",Ao,3,!0],["HasConstraints",Ir,3,!0],["HasApprovals",_a,2,!0]],3521284610:[["HasContext",me,5,!0],["HasAssociations",ie,4,!0],["PartOfComplexTemplate",Vp,6,!0],["PartOfPsetTemplate",v1,6,!0]],3219374653:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0]],2770003689:[["HasExternalReference",ai,3,!0],["HasProperties",ts,3,!0]],2798486643:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],3454111270:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],3765753017:[["HasContext",me,5,!0],["HasAssociations",ie,4,!0],["DefinesType",ws,5,!0],["IsDefinedBy",So,4,!0],["DefinesOccurrence",Fe,5,!0]],3523091289:[["InnerBoundaries",kp,9,!0]],1521410863:[["InnerBoundaries",kp,9,!0],["Corresponds",Fh,10,!0]],816062949:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0],["UsingCurves",Iu,0,!0]],2914609552:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ResourceOf",ns,6,!0]],1856042241:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],3243963512:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],4158566097:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],3626867408:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],3663146110:[["HasContext",me,5,!0],["HasAssociations",ie,4,!0],["PartOfComplexTemplate",Vp,6,!0],["PartOfPsetTemplate",v1,6,!0]],1412071761:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["ContainsElements",tt,5,!0],["ServicedBySystems",Gn,5,!0],["ReferencesElements",Ye,5,!0]],710998568:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],2706606064:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["ContainsElements",tt,5,!0],["ServicedBySystems",Gn,5,!0],["ReferencesElements",Ye,5,!0]],3893378262:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],463610769:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["ContainsElements",tt,5,!0],["ServicedBySystems",Gn,5,!0],["ReferencesElements",Ye,5,!0]],2481509218:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],451544542:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],4015995234:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],3544373492:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["AssignedToStructuralItem",vn,5,!0]],3136571912:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["AssignedStructuralActivity",vn,4,!0]],530289379:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["AssignedStructuralActivity",vn,4,!0],["ConnectedBy",ks,4,!0]],3689010777:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["AssignedToStructuralItem",vn,5,!0]],3979015343:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["AssignedStructuralActivity",vn,4,!0],["ConnectedBy",ks,4,!0]],2218152070:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["AssignedStructuralActivity",vn,4,!0],["ConnectedBy",ks,4,!0]],603775116:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["AssignedToStructuralItem",vn,5,!0]],4095615324:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ResourceOf",ns,6,!0]],699246055:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],2028607225:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],2809605785:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],4124788165:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],1580310250:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],3473067441:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["IsPredecessorTo",$s,4,!0],["IsSuccessorFrom",$s,5,!0],["OperatesOn",bo,6,!0]],3206491090:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["OperatesOn",bo,6,!0]],2387106220:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0],["HasColours",wy,0,!0],["HasTextures",YI,1,!0]],1935646853:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],2097647324:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],2916149573:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0],["HasColours",wy,0,!0],["HasTextures",YI,1,!0]],336235671:[["HasContext",me,5,!0],["HasAssociations",ie,4,!0],["DefinesType",ws,5,!0],["IsDefinedBy",So,4,!0],["DefinesOccurrence",Fe,5,!0]],512836454:[["HasContext",me,5,!0],["HasAssociations",ie,4,!0],["DefinesType",ws,5,!0],["IsDefinedBy",So,4,!0],["DefinesOccurrence",Fe,5,!0]],2296667514:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["IsActingUpon",q0,6,!0]],1635779807:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],2603310189:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],1674181508:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["ContainedInStructure",tt,4,!0]],2887950389:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],167062518:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],1334484129:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],3649129432:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],1260505505:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],4031249490:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["ContainsElements",tt,5,!0],["ServicedBySystems",Gn,5,!0],["ReferencesElements",Ye,5,!0]],1950629157:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],3124254112:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["ContainsElements",tt,5,!0],["ServicedBySystems",Gn,5,!0],["ReferencesElements",Ye,5,!0]],2197970202:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],2937912522:[["HasExternalReference",ai,3,!0],["HasProperties",ts,3,!0]],3893394355:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],300633059:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],3875453745:[["HasContext",me,5,!0],["HasAssociations",ie,4,!0],["PartOfComplexTemplate",Vp,6,!0],["PartOfPsetTemplate",v1,6,!0]],3732776249:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],15328376:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],2510884976:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],2185764099:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ResourceOf",ns,6,!0]],4105962743:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ResourceOf",ns,6,!0]],1525564444:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ResourceOf",ns,6,!0]],2559216714:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ResourceOf",ns,6,!0]],3293443760:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["Controls",is,6,!0]],3895139033:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["Controls",is,6,!0]],1419761937:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["Controls",is,6,!0]],1916426348:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],3295246426:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ResourceOf",ns,6,!0]],1457835157:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1213902940:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],3256556792:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],3849074793:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],2963535650:[["HasContext",me,5,!0],["HasAssociations",ie,4,!0],["DefinesType",ws,5,!0],["IsDefinedBy",So,4,!0],["DefinesOccurrence",Fe,5,!0]],1714330368:[["HasContext",me,5,!0],["HasAssociations",ie,4,!0],["DefinesType",ws,5,!0],["IsDefinedBy",So,4,!0],["DefinesOccurrence",Fe,5,!0]],2323601079:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1758889154:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0]],4123344466:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0]],2397081782:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1623761950:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0]],2590856083:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1704287377:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],2107101300:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],132023988:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],3174744832:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],3390157468:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],4148101412:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["IsPredecessorTo",$s,4,!0],["IsSuccessorFrom",$s,5,!0],["OperatesOn",bo,6,!0]],2853485674:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["ContainsElements",tt,5,!0],["ServicedBySystems",Gn,5,!0],["ReferencesElements",Ye,5,!0]],807026263:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],3737207727:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],647756555:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0]],2489546625:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],2827207264:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0]],2143335405:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["ProjectsElements",lt,5,!1]],1287392070:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["VoidsElements",rt,5,!1]],3907093117:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],3198132628:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],3815607619:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1482959167:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1834744321:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1339347760:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],2297155007:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],3009222698:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1893162501:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],263784265:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0]],1509553395:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0]],3493046030:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0]],3009204131:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["ContainedInStructure",tt,4,!0]],2706460486:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["IsGroupedBy",Is,6,!0]],1251058090:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1806887404:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],2571569899:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],3946677679:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],3113134337:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],2391368822:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["IsGroupedBy",Is,6,!0]],4288270099:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],3827777499:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ResourceOf",ns,6,!0]],1051575348:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1161773419:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],377706215:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0]],2108223431:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1114901282:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],3181161470:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],977012517:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],4143007308:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["IsActingUpon",q0,6,!0]],3588315303:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["VoidsElements",rt,5,!1],["HasFillings",ut,4,!0]],3079942009:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["VoidsElements",rt,5,!1],["HasFillings",ut,4,!0]],2837617999:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],2382730787:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["Controls",is,6,!0]],3566463478:[["HasContext",me,5,!0],["HasAssociations",ie,4,!0],["DefinesType",ws,5,!0],["IsDefinedBy",So,4,!0],["DefinesOccurrence",Fe,5,!0]],3327091369:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["Controls",is,6,!0]],1158309216:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],804291784:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],4231323485:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],4017108033:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],2839578677:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0],["HasColours",wy,0,!0],["HasTextures",YI,1,!0]],3724593414:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],3740093272:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["ContainedIn",Bt,4,!0],["ConnectedFrom",ua,5,!0],["ConnectedTo",ua,4,!0]],2744685151:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["IsPredecessorTo",$s,4,!0],["IsSuccessorFrom",$s,5,!0],["OperatesOn",bo,6,!0]],2904328755:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["Controls",is,6,!0]],3651124850:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["ProjectsElements",lt,5,!1]],1842657554:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],2250791053:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],2893384427:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],2324767716:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1469900589:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],683857671:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],3027567501:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0]],964333572:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],2320036040:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0]],2310774935:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],2781568857:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1768891740:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],2157484638:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],4074543187:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],4097777520:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["ContainsElements",tt,5,!0],["ServicedBySystems",Gn,5,!0],["ReferencesElements",Ye,5,!0]],2533589738:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1072016465:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],3856911033:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["ContainsElements",tt,5,!0],["ServicedBySystems",Gn,5,!0],["ReferencesElements",Ye,5,!0],["HasCoverings",j0,4,!0],["BoundedBy",at,4,!0]],1305183839:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],3812236995:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],3112655638:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1039846685:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],338393293:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],682877961:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["AssignedToStructuralItem",vn,5,!0]],1179482911:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["AssignedStructuralActivity",vn,4,!0],["ConnectsStructuralMembers",ks,5,!0]],1004757350:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["AssignedToStructuralItem",vn,5,!0]],4243806635:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["AssignedStructuralActivity",vn,4,!0],["ConnectsStructuralMembers",ks,5,!0]],214636428:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["AssignedStructuralActivity",vn,4,!0],["ConnectedBy",ks,4,!0]],2445595289:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["AssignedStructuralActivity",vn,4,!0],["ConnectedBy",ks,4,!0]],2757150158:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["AssignedToStructuralItem",vn,5,!0]],1807405624:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["AssignedToStructuralItem",vn,5,!0]],1252848954:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["IsGroupedBy",Is,6,!0],["SourceOfResultGroup",W0,6,!0],["LoadGroupFor",aa,7,!0]],2082059205:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["AssignedToStructuralItem",vn,5,!0]],734778138:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["AssignedStructuralActivity",vn,4,!0],["ConnectsStructuralMembers",ks,5,!0]],1235345126:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["AssignedToStructuralItem",vn,5,!0]],2986769608:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["IsGroupedBy",Is,6,!0],["ResultGroupFor",aa,8,!0]],3657597509:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["AssignedToStructuralItem",vn,5,!0]],1975003073:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["AssignedStructuralActivity",vn,4,!0],["ConnectsStructuralMembers",ks,5,!0]],148013059:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ResourceOf",ns,6,!0]],3101698114:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0]],2315554128:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],2254336722:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["IsGroupedBy",Is,6,!0],["ServicesBuildings",Gn,4,!0]],413509423:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0]],5716631:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],3824725483:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0]],2347447852:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0]],3081323446:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],2415094496:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1692211062:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1620046519:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0]],3593883385:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],1600972822:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1911125066:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],728799441:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],2391383451:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0]],3313531582:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],2769231204:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0]],926996030:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["VoidsElements",rt,5,!1]],1898987631:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1133259667:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],4009809668:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],4088093105:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["Controls",is,6,!0]],1028945134:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["Controls",is,6,!0]],4218914973:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["Controls",is,6,!0]],3342526732:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["Controls",is,6,!0]],1033361043:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["IsGroupedBy",Is,6,!0],["ServicesBuildings",Gn,4,!0]],3821786052:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["Controls",is,6,!0]],1411407467:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],3352864051:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1871374353:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],3460190687:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["IsGroupedBy",Is,6,!0]],1532957894:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1967976161:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],2461110595:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],819618141:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],231477066:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1136057603:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],3299480353:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0]],2979338954:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0]],39481116:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1095909175:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0]],1909888760:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1177604601:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["IsGroupedBy",Is,6,!0],["ServicesBuildings",Gn,4,!0]],2188180465:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],395041908:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],3293546465:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],2674252688:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1285652485:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],2951183804:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],3296154744:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0]],2611217952:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],1677625105:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0]],2301859152:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],843113511:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0]],905975707:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0]],400855858:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],3850581409:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],2816379211:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],3898045240:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ResourceOf",ns,6,!0]],1060000209:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ResourceOf",ns,6,!0]],488727124:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ResourceOf",ns,6,!0]],335055490:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],2954562838:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1973544240:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["CoversSpaces",j0,5,!0],["CoversElements",ct,5,!0]],3495092785:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0]],3961806047:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1335981549:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0]],2635815018:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1599208980:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],2063403501:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1945004755:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0]],3040386961:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],3041715199:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["ContainedIn",Bt,4,!0],["ConnectedFrom",ua,5,!0],["ConnectedTo",ua,4,!0]],3205830791:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["IsGroupedBy",Is,6,!0],["ServicesBuildings",Gn,4,!0]],395920057:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0]],3242481149:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0]],869906466:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],3760055223:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],2030761528:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],663422040:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],2417008758:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],3277789161:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1534661035:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1217240411:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],712377611:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1658829314:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],2814081492:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],3747195512:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],484807127:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],1209101575:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["ContainsElements",tt,5,!0],["ServicedBySystems",Gn,5,!0],["ReferencesElements",Ye,5,!0],["BoundedBy",at,4,!0]],346874300:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1810631287:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],4222183408:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],2058353004:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],4278956645:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],4037862832:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],2188021234:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],3132237377:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],987401354:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],707683696:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],2223149337:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],3508470533:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],900683007:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0]],3319311131:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],2068733104:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],4175244083:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],2176052936:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],76236018:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],629592764:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],1437502449:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],1073191201:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0]],1911478936:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0]],2474470126:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],144952367:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],3694346114:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],1687234759:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0]],310824031:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],3612865200:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],3171933400:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0]],1156407060:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0]],738039164:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],655969474:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],90941305:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],2262370178:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0]],3024970846:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0]],3283111854:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0]],1232101972:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],979691226:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0]],2572171363:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],2016517767:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0]],3053780830:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],1783015770:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1329646415:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0]],1529196076:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0]],3127900445:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0]],3027962421:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0]],3420628829:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],1999602285:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],1404847402:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],331165859:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0]],4252922144:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0]],2515109513:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["IsGroupedBy",Is,6,!0],["ServicesBuildings",Gn,4,!0]],385403989:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["IsGroupedBy",Is,6,!0],["SourceOfResultGroup",W0,6,!0],["LoadGroupFor",aa,7,!0]],1621171031:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["AssignedToStructuralItem",vn,5,!0]],1162798199:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],812556717:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],3825984169:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],3026737570:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],3179687236:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],4292641817:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],4207607924:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],2391406946:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0]],4156078855:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0]],3512223829:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0]],4237592921:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],3304561284:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0]],486154966:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0]],2874132201:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1634111441:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],177149247:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],2056796094:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],3001207471:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],277319702:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],753842376:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0]],2906023776:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0]],32344328:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],2938176219:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],635142910:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],3758799889:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],1051757585:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],4217484030:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],3902619387:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],639361253:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],3221913625:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],3571504051:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],2272882330:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],578613899:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],4136498852:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],3640358203:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],4074379575:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],1052013943:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],562808652:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["IsGroupedBy",Is,6,!0],["ServicesBuildings",Gn,4,!0]],1062813311:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["AssignedToFlowElement",ti,4,!0]],342316401:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],3518393246:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],1360408905:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],1904799276:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],862014818:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],3310460725:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],264262732:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],402227799:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],1003880860:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],3415622556:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],819412036:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],1426591983:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],182646315:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["AssignedToFlowElement",ti,4,!0]],2295281155:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["AssignedToFlowElement",ti,4,!0]],4086658281:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["AssignedToFlowElement",ti,4,!0]],630975310:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["AssignedToFlowElement",ti,4,!0]],4288193352:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["AssignedToFlowElement",ti,4,!0]],3087945054:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["AssignedToFlowElement",ti,4,!0]],25142252:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["ReferencedInStructures",Ye,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasPorts",Bt,5,!0],["AssignedToFlowElement",ti,4,!0]]};RV[2]={3630933823:e=>new c.IfcActorRole(e[0],e[1],e[2]),618182010:e=>new c.IfcAddress(e[0],e[1],e[2]),639542469:e=>new c.IfcApplication(e[0],e[1],e[2],e[3]),411424972:e=>new c.IfcAppliedValue(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),130549933:e=>new c.IfcApproval(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),4037036970:e=>new c.IfcBoundaryCondition(e[0]),1560379544:e=>new c.IfcBoundaryEdgeCondition(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),3367102660:e=>new c.IfcBoundaryFaceCondition(e[0],e[1],e[2],e[3]),1387855156:e=>new c.IfcBoundaryNodeCondition(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),2069777674:e=>new c.IfcBoundaryNodeConditionWarping(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),2859738748:e=>new c.IfcConnectionGeometry,2614616156:e=>new c.IfcConnectionPointGeometry(e[0],e[1]),2732653382:e=>new c.IfcConnectionSurfaceGeometry(e[0],e[1]),775493141:e=>new c.IfcConnectionVolumeGeometry(e[0],e[1]),1959218052:e=>new c.IfcConstraint(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),1785450214:e=>new c.IfcCoordinateOperation(e[0],e[1]),1466758467:e=>new c.IfcCoordinateReferenceSystem(e[0],e[1],e[2],e[3]),602808272:e=>new c.IfcCostValue(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1765591967:e=>new c.IfcDerivedUnit(e[0],e[1],e[2]),1045800335:e=>new c.IfcDerivedUnitElement(e[0],e[1]),2949456006:e=>new c.IfcDimensionalExponents(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),4294318154:e=>new c.IfcExternalInformation,3200245327:e=>new c.IfcExternalReference(e[0],e[1],e[2]),2242383968:e=>new c.IfcExternallyDefinedHatchStyle(e[0],e[1],e[2]),1040185647:e=>new c.IfcExternallyDefinedSurfaceStyle(e[0],e[1],e[2]),3548104201:e=>new c.IfcExternallyDefinedTextFont(e[0],e[1],e[2]),852622518:e=>new c.IfcGridAxis(e[0],e[1],e[2]),3020489413:e=>new c.IfcIrregularTimeSeriesValue(e[0],e[1]),2655187982:e=>new c.IfcLibraryInformation(e[0],e[1],e[2],e[3],e[4],e[5]),3452421091:e=>new c.IfcLibraryReference(e[0],e[1],e[2],e[3],e[4],e[5]),4162380809:e=>new c.IfcLightDistributionData(e[0],e[1],e[2]),1566485204:e=>new c.IfcLightIntensityDistribution(e[0],e[1]),3057273783:e=>new c.IfcMapConversion(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),1847130766:e=>new c.IfcMaterialClassificationRelationship(e[0],e[1]),760658860:e=>new c.IfcMaterialDefinition,248100487:e=>new c.IfcMaterialLayer(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),3303938423:e=>new c.IfcMaterialLayerSet(e[0],e[1],e[2]),1847252529:e=>new c.IfcMaterialLayerWithOffsets(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2199411900:e=>new c.IfcMaterialList(e[0]),2235152071:e=>new c.IfcMaterialProfile(e[0],e[1],e[2],e[3],e[4],e[5]),164193824:e=>new c.IfcMaterialProfileSet(e[0],e[1],e[2],e[3]),552965576:e=>new c.IfcMaterialProfileWithOffsets(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),1507914824:e=>new c.IfcMaterialUsageDefinition,2597039031:e=>new c.IfcMeasureWithUnit(e[0],e[1]),3368373690:e=>new c.IfcMetric(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10]),2706619895:e=>new c.IfcMonetaryUnit(e[0]),1918398963:e=>new c.IfcNamedUnit(e[0],e[1]),3701648758:e=>new c.IfcObjectPlacement,2251480897:e=>new c.IfcObjective(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10]),4251960020:e=>new c.IfcOrganization(e[0],e[1],e[2],e[3],e[4]),1207048766:e=>new c.IfcOwnerHistory(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),2077209135:e=>new c.IfcPerson(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),101040310:e=>new c.IfcPersonAndOrganization(e[0],e[1],e[2]),2483315170:e=>new c.IfcPhysicalQuantity(e[0],e[1]),2226359599:e=>new c.IfcPhysicalSimpleQuantity(e[0],e[1],e[2]),3355820592:e=>new c.IfcPostalAddress(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),677532197:e=>new c.IfcPresentationItem,2022622350:e=>new c.IfcPresentationLayerAssignment(e[0],e[1],e[2],e[3]),1304840413:e=>new c.IfcPresentationLayerWithStyle(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),3119450353:e=>new c.IfcPresentationStyle(e[0]),2417041796:e=>new c.IfcPresentationStyleAssignment(e[0]),2095639259:e=>new c.IfcProductRepresentation(e[0],e[1],e[2]),3958567839:e=>new c.IfcProfileDef(e[0],e[1]),3843373140:e=>new c.IfcProjectedCRS(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),986844984:e=>new c.IfcPropertyAbstraction,3710013099:e=>new c.IfcPropertyEnumeration(e[0],e[1],e[2]),2044713172:e=>new c.IfcQuantityArea(e[0],e[1],e[2],e[3],e[4]),2093928680:e=>new c.IfcQuantityCount(e[0],e[1],e[2],e[3],e[4]),931644368:e=>new c.IfcQuantityLength(e[0],e[1],e[2],e[3],e[4]),3252649465:e=>new c.IfcQuantityTime(e[0],e[1],e[2],e[3],e[4]),2405470396:e=>new c.IfcQuantityVolume(e[0],e[1],e[2],e[3],e[4]),825690147:e=>new c.IfcQuantityWeight(e[0],e[1],e[2],e[3],e[4]),3915482550:e=>new c.IfcRecurrencePattern(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),2433181523:e=>new c.IfcReference(e[0],e[1],e[2],e[3],e[4]),1076942058:e=>new c.IfcRepresentation(e[0],e[1],e[2],e[3]),3377609919:e=>new c.IfcRepresentationContext(e[0],e[1]),3008791417:e=>new c.IfcRepresentationItem,1660063152:e=>new c.IfcRepresentationMap(e[0],e[1]),2439245199:e=>new c.IfcResourceLevelRelationship(e[0],e[1]),2341007311:e=>new c.IfcRoot(e[0],e[1],e[2],e[3]),448429030:e=>new c.IfcSIUnit(e[0],e[1],e[2]),1054537805:e=>new c.IfcSchedulingTime(e[0],e[1],e[2]),867548509:e=>new c.IfcShapeAspect(e[0],e[1],e[2],e[3],e[4]),3982875396:e=>new c.IfcShapeModel(e[0],e[1],e[2],e[3]),4240577450:e=>new c.IfcShapeRepresentation(e[0],e[1],e[2],e[3]),2273995522:e=>new c.IfcStructuralConnectionCondition(e[0]),2162789131:e=>new c.IfcStructuralLoad(e[0]),3478079324:e=>new c.IfcStructuralLoadConfiguration(e[0],e[1],e[2]),609421318:e=>new c.IfcStructuralLoadOrResult(e[0]),2525727697:e=>new c.IfcStructuralLoadStatic(e[0]),3408363356:e=>new c.IfcStructuralLoadTemperature(e[0],e[1],e[2],e[3]),2830218821:e=>new c.IfcStyleModel(e[0],e[1],e[2],e[3]),3958052878:e=>new c.IfcStyledItem(e[0],e[1],e[2]),3049322572:e=>new c.IfcStyledRepresentation(e[0],e[1],e[2],e[3]),2934153892:e=>new c.IfcSurfaceReinforcementArea(e[0],e[1],e[2],e[3]),1300840506:e=>new c.IfcSurfaceStyle(e[0],e[1],e[2]),3303107099:e=>new c.IfcSurfaceStyleLighting(e[0],e[1],e[2],e[3]),1607154358:e=>new c.IfcSurfaceStyleRefraction(e[0],e[1]),846575682:e=>new c.IfcSurfaceStyleShading(e[0],e[1]),1351298697:e=>new c.IfcSurfaceStyleWithTextures(e[0]),626085974:e=>new c.IfcSurfaceTexture(e[0],e[1],e[2],e[3],e[4]),985171141:e=>new c.IfcTable(e[0],e[1],e[2]),2043862942:e=>new c.IfcTableColumn(e[0],e[1],e[2],e[3],e[4]),531007025:e=>new c.IfcTableRow(e[0],e[1]),1549132990:e=>new c.IfcTaskTime(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15],e[16],e[17],e[18],e[19]),2771591690:e=>new c.IfcTaskTimeRecurring(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15],e[16],e[17],e[18],e[19],e[20]),912023232:e=>new c.IfcTelecomAddress(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1447204868:e=>new c.IfcTextStyle(e[0],e[1],e[2],e[3],e[4]),2636378356:e=>new c.IfcTextStyleForDefinedFont(e[0],e[1]),1640371178:e=>new c.IfcTextStyleTextModel(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),280115917:e=>new c.IfcTextureCoordinate(e[0]),1742049831:e=>new c.IfcTextureCoordinateGenerator(e[0],e[1],e[2]),2552916305:e=>new c.IfcTextureMap(e[0],e[1],e[2]),1210645708:e=>new c.IfcTextureVertex(e[0]),3611470254:e=>new c.IfcTextureVertexList(e[0]),1199560280:e=>new c.IfcTimePeriod(e[0],e[1]),3101149627:e=>new c.IfcTimeSeries(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),581633288:e=>new c.IfcTimeSeriesValue(e[0]),1377556343:e=>new c.IfcTopologicalRepresentationItem,1735638870:e=>new c.IfcTopologyRepresentation(e[0],e[1],e[2],e[3]),180925521:e=>new c.IfcUnitAssignment(e[0]),2799835756:e=>new c.IfcVertex,1907098498:e=>new c.IfcVertexPoint(e[0]),891718957:e=>new c.IfcVirtualGridIntersection(e[0],e[1]),1236880293:e=>new c.IfcWorkTime(e[0],e[1],e[2],e[3],e[4],e[5]),3869604511:e=>new c.IfcApprovalRelationship(e[0],e[1],e[2],e[3]),3798115385:e=>new c.IfcArbitraryClosedProfileDef(e[0],e[1],e[2]),1310608509:e=>new c.IfcArbitraryOpenProfileDef(e[0],e[1],e[2]),2705031697:e=>new c.IfcArbitraryProfileDefWithVoids(e[0],e[1],e[2],e[3]),616511568:e=>new c.IfcBlobTexture(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),3150382593:e=>new c.IfcCenterLineProfileDef(e[0],e[1],e[2],e[3]),747523909:e=>new c.IfcClassification(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),647927063:e=>new c.IfcClassificationReference(e[0],e[1],e[2],e[3],e[4],e[5]),3285139300:e=>new c.IfcColourRgbList(e[0]),3264961684:e=>new c.IfcColourSpecification(e[0]),1485152156:e=>new c.IfcCompositeProfileDef(e[0],e[1],e[2],e[3]),370225590:e=>new c.IfcConnectedFaceSet(e[0]),1981873012:e=>new c.IfcConnectionCurveGeometry(e[0],e[1]),45288368:e=>new c.IfcConnectionPointEccentricity(e[0],e[1],e[2],e[3],e[4]),3050246964:e=>new c.IfcContextDependentUnit(e[0],e[1],e[2]),2889183280:e=>new c.IfcConversionBasedUnit(e[0],e[1],e[2],e[3]),2713554722:e=>new c.IfcConversionBasedUnitWithOffset(e[0],e[1],e[2],e[3],e[4]),539742890:e=>new c.IfcCurrencyRelationship(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),3800577675:e=>new c.IfcCurveStyle(e[0],e[1],e[2],e[3],e[4]),1105321065:e=>new c.IfcCurveStyleFont(e[0],e[1]),2367409068:e=>new c.IfcCurveStyleFontAndScaling(e[0],e[1],e[2]),3510044353:e=>new c.IfcCurveStyleFontPattern(e[0],e[1]),3632507154:e=>new c.IfcDerivedProfileDef(e[0],e[1],e[2],e[3],e[4]),1154170062:e=>new c.IfcDocumentInformation(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15],e[16]),770865208:e=>new c.IfcDocumentInformationRelationship(e[0],e[1],e[2],e[3],e[4]),3732053477:e=>new c.IfcDocumentReference(e[0],e[1],e[2],e[3],e[4]),3900360178:e=>new c.IfcEdge(e[0],e[1]),476780140:e=>new c.IfcEdgeCurve(e[0],e[1],e[2],e[3]),211053100:e=>new c.IfcEventTime(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),297599258:e=>new c.IfcExtendedProperties(e[0],e[1],e[2]),1437805879:e=>new c.IfcExternalReferenceRelationship(e[0],e[1],e[2],e[3]),2556980723:e=>new c.IfcFace(e[0]),1809719519:e=>new c.IfcFaceBound(e[0],e[1]),803316827:e=>new c.IfcFaceOuterBound(e[0],e[1]),3008276851:e=>new c.IfcFaceSurface(e[0],e[1],e[2]),4219587988:e=>new c.IfcFailureConnectionCondition(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),738692330:e=>new c.IfcFillAreaStyle(e[0],e[1],e[2]),3448662350:e=>new c.IfcGeometricRepresentationContext(e[0],e[1],e[2],e[3],e[4],e[5]),2453401579:e=>new c.IfcGeometricRepresentationItem,4142052618:e=>new c.IfcGeometricRepresentationSubContext(e[0],e[1],e[2],e[3],e[4],e[5]),3590301190:e=>new c.IfcGeometricSet(e[0]),178086475:e=>new c.IfcGridPlacement(e[0],e[1]),812098782:e=>new c.IfcHalfSpaceSolid(e[0],e[1]),3905492369:e=>new c.IfcImageTexture(e[0],e[1],e[2],e[3],e[4],e[5]),3570813810:e=>new c.IfcIndexedColourMap(e[0],e[1],e[2],e[3]),1437953363:e=>new c.IfcIndexedTextureMap(e[0],e[1],e[2]),2133299955:e=>new c.IfcIndexedTriangleTextureMap(e[0],e[1],e[2],e[3]),3741457305:e=>new c.IfcIrregularTimeSeries(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1585845231:e=>new c.IfcLagTime(e[0],e[1],e[2],e[3],e[4]),1402838566:e=>new c.IfcLightSource(e[0],e[1],e[2],e[3]),125510826:e=>new c.IfcLightSourceAmbient(e[0],e[1],e[2],e[3]),2604431987:e=>new c.IfcLightSourceDirectional(e[0],e[1],e[2],e[3],e[4]),4266656042:e=>new c.IfcLightSourceGoniometric(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1520743889:e=>new c.IfcLightSourcePositional(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3422422726:e=>new c.IfcLightSourceSpot(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12]),2624227202:e=>new c.IfcLocalPlacement(e[0],e[1]),1008929658:e=>new c.IfcLoop,2347385850:e=>new c.IfcMappedItem(e[0],e[1]),1838606355:e=>new c.IfcMaterial(e[0],e[1],e[2]),3708119e3:e=>new c.IfcMaterialConstituent(e[0],e[1],e[2],e[3],e[4]),2852063980:e=>new c.IfcMaterialConstituentSet(e[0],e[1],e[2]),2022407955:e=>new c.IfcMaterialDefinitionRepresentation(e[0],e[1],e[2],e[3]),1303795690:e=>new c.IfcMaterialLayerSetUsage(e[0],e[1],e[2],e[3],e[4]),3079605661:e=>new c.IfcMaterialProfileSetUsage(e[0],e[1],e[2]),3404854881:e=>new c.IfcMaterialProfileSetUsageTapering(e[0],e[1],e[2],e[3],e[4]),3265635763:e=>new c.IfcMaterialProperties(e[0],e[1],e[2],e[3]),853536259:e=>new c.IfcMaterialRelationship(e[0],e[1],e[2],e[3],e[4]),2998442950:e=>new c.IfcMirroredProfileDef(e[0],e[1],e[2],e[3]),219451334:e=>new c.IfcObjectDefinition(e[0],e[1],e[2],e[3]),2665983363:e=>new c.IfcOpenShell(e[0]),1411181986:e=>new c.IfcOrganizationRelationship(e[0],e[1],e[2],e[3]),1029017970:e=>new c.IfcOrientedEdge(e[0],e[1]),2529465313:e=>new c.IfcParameterizedProfileDef(e[0],e[1],e[2]),2519244187:e=>new c.IfcPath(e[0]),3021840470:e=>new c.IfcPhysicalComplexQuantity(e[0],e[1],e[2],e[3],e[4],e[5]),597895409:e=>new c.IfcPixelTexture(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2004835150:e=>new c.IfcPlacement(e[0]),1663979128:e=>new c.IfcPlanarExtent(e[0],e[1]),2067069095:e=>new c.IfcPoint,4022376103:e=>new c.IfcPointOnCurve(e[0],e[1]),1423911732:e=>new c.IfcPointOnSurface(e[0],e[1],e[2]),2924175390:e=>new c.IfcPolyLoop(e[0]),2775532180:e=>new c.IfcPolygonalBoundedHalfSpace(e[0],e[1],e[2],e[3]),3727388367:e=>new c.IfcPreDefinedItem(e[0]),3778827333:e=>new c.IfcPreDefinedProperties,1775413392:e=>new c.IfcPreDefinedTextFont(e[0]),673634403:e=>new c.IfcProductDefinitionShape(e[0],e[1],e[2]),2802850158:e=>new c.IfcProfileProperties(e[0],e[1],e[2],e[3]),2598011224:e=>new c.IfcProperty(e[0],e[1]),1680319473:e=>new c.IfcPropertyDefinition(e[0],e[1],e[2],e[3]),148025276:e=>new c.IfcPropertyDependencyRelationship(e[0],e[1],e[2],e[3],e[4]),3357820518:e=>new c.IfcPropertySetDefinition(e[0],e[1],e[2],e[3]),1482703590:e=>new c.IfcPropertyTemplateDefinition(e[0],e[1],e[2],e[3]),2090586900:e=>new c.IfcQuantitySet(e[0],e[1],e[2],e[3]),3615266464:e=>new c.IfcRectangleProfileDef(e[0],e[1],e[2],e[3],e[4]),3413951693:e=>new c.IfcRegularTimeSeries(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1580146022:e=>new c.IfcReinforcementBarProperties(e[0],e[1],e[2],e[3],e[4],e[5]),478536968:e=>new c.IfcRelationship(e[0],e[1],e[2],e[3]),2943643501:e=>new c.IfcResourceApprovalRelationship(e[0],e[1],e[2],e[3]),1608871552:e=>new c.IfcResourceConstraintRelationship(e[0],e[1],e[2],e[3]),1042787934:e=>new c.IfcResourceTime(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15],e[16],e[17]),2778083089:e=>new c.IfcRoundedRectangleProfileDef(e[0],e[1],e[2],e[3],e[4],e[5]),2042790032:e=>new c.IfcSectionProperties(e[0],e[1],e[2]),4165799628:e=>new c.IfcSectionReinforcementProperties(e[0],e[1],e[2],e[3],e[4],e[5]),1509187699:e=>new c.IfcSectionedSpine(e[0],e[1],e[2]),4124623270:e=>new c.IfcShellBasedSurfaceModel(e[0]),3692461612:e=>new c.IfcSimpleProperty(e[0],e[1]),2609359061:e=>new c.IfcSlippageConnectionCondition(e[0],e[1],e[2],e[3]),723233188:e=>new c.IfcSolidModel,1595516126:e=>new c.IfcStructuralLoadLinearForce(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),2668620305:e=>new c.IfcStructuralLoadPlanarForce(e[0],e[1],e[2],e[3]),2473145415:e=>new c.IfcStructuralLoadSingleDisplacement(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),1973038258:e=>new c.IfcStructuralLoadSingleDisplacementDistortion(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),1597423693:e=>new c.IfcStructuralLoadSingleForce(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),1190533807:e=>new c.IfcStructuralLoadSingleForceWarping(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),2233826070:e=>new c.IfcSubedge(e[0],e[1],e[2]),2513912981:e=>new c.IfcSurface,1878645084:e=>new c.IfcSurfaceStyleRendering(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2247615214:e=>new c.IfcSweptAreaSolid(e[0],e[1]),1260650574:e=>new c.IfcSweptDiskSolid(e[0],e[1],e[2],e[3],e[4]),1096409881:e=>new c.IfcSweptDiskSolidPolygonal(e[0],e[1],e[2],e[3],e[4],e[5]),230924584:e=>new c.IfcSweptSurface(e[0],e[1]),3071757647:e=>new c.IfcTShapeProfileDef(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11]),901063453:e=>new c.IfcTessellatedItem,4282788508:e=>new c.IfcTextLiteral(e[0],e[1],e[2]),3124975700:e=>new c.IfcTextLiteralWithExtent(e[0],e[1],e[2],e[3],e[4]),1983826977:e=>new c.IfcTextStyleFontModel(e[0],e[1],e[2],e[3],e[4],e[5]),2715220739:e=>new c.IfcTrapeziumProfileDef(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),1628702193:e=>new c.IfcTypeObject(e[0],e[1],e[2],e[3],e[4],e[5]),3736923433:e=>new c.IfcTypeProcess(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2347495698:e=>new c.IfcTypeProduct(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),3698973494:e=>new c.IfcTypeResource(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),427810014:e=>new c.IfcUShapeProfileDef(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1417489154:e=>new c.IfcVector(e[0],e[1]),2759199220:e=>new c.IfcVertexLoop(e[0]),1299126871:e=>new c.IfcWindowStyle(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11]),2543172580:e=>new c.IfcZShapeProfileDef(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3406155212:e=>new c.IfcAdvancedFace(e[0],e[1],e[2]),669184980:e=>new c.IfcAnnotationFillArea(e[0],e[1]),3207858831:e=>new c.IfcAsymmetricIShapeProfileDef(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14]),4261334040:e=>new c.IfcAxis1Placement(e[0],e[1]),3125803723:e=>new c.IfcAxis2Placement2D(e[0],e[1]),2740243338:e=>new c.IfcAxis2Placement3D(e[0],e[1],e[2]),2736907675:e=>new c.IfcBooleanResult(e[0],e[1],e[2]),4182860854:e=>new c.IfcBoundedSurface,2581212453:e=>new c.IfcBoundingBox(e[0],e[1],e[2],e[3]),2713105998:e=>new c.IfcBoxedHalfSpace(e[0],e[1],e[2]),2898889636:e=>new c.IfcCShapeProfileDef(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),1123145078:e=>new c.IfcCartesianPoint(e[0]),574549367:e=>new c.IfcCartesianPointList,1675464909:e=>new c.IfcCartesianPointList2D(e[0]),2059837836:e=>new c.IfcCartesianPointList3D(e[0]),59481748:e=>new c.IfcCartesianTransformationOperator(e[0],e[1],e[2],e[3]),3749851601:e=>new c.IfcCartesianTransformationOperator2D(e[0],e[1],e[2],e[3]),3486308946:e=>new c.IfcCartesianTransformationOperator2DnonUniform(e[0],e[1],e[2],e[3],e[4]),3331915920:e=>new c.IfcCartesianTransformationOperator3D(e[0],e[1],e[2],e[3],e[4]),1416205885:e=>new c.IfcCartesianTransformationOperator3DnonUniform(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),1383045692:e=>new c.IfcCircleProfileDef(e[0],e[1],e[2],e[3]),2205249479:e=>new c.IfcClosedShell(e[0]),776857604:e=>new c.IfcColourRgb(e[0],e[1],e[2],e[3]),2542286263:e=>new c.IfcComplexProperty(e[0],e[1],e[2],e[3]),2485617015:e=>new c.IfcCompositeCurveSegment(e[0],e[1],e[2]),2574617495:e=>new c.IfcConstructionResourceType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10]),3419103109:e=>new c.IfcContext(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1815067380:e=>new c.IfcCrewResourceType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11]),2506170314:e=>new c.IfcCsgPrimitive3D(e[0]),2147822146:e=>new c.IfcCsgSolid(e[0]),2601014836:e=>new c.IfcCurve,2827736869:e=>new c.IfcCurveBoundedPlane(e[0],e[1],e[2]),2629017746:e=>new c.IfcCurveBoundedSurface(e[0],e[1],e[2]),32440307:e=>new c.IfcDirection(e[0]),526551008:e=>new c.IfcDoorStyle(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11]),1472233963:e=>new c.IfcEdgeLoop(e[0]),1883228015:e=>new c.IfcElementQuantity(e[0],e[1],e[2],e[3],e[4],e[5]),339256511:e=>new c.IfcElementType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2777663545:e=>new c.IfcElementarySurface(e[0]),2835456948:e=>new c.IfcEllipseProfileDef(e[0],e[1],e[2],e[3],e[4]),4024345920:e=>new c.IfcEventType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11]),477187591:e=>new c.IfcExtrudedAreaSolid(e[0],e[1],e[2],e[3]),2804161546:e=>new c.IfcExtrudedAreaSolidTapered(e[0],e[1],e[2],e[3],e[4]),2047409740:e=>new c.IfcFaceBasedSurfaceModel(e[0]),374418227:e=>new c.IfcFillAreaStyleHatching(e[0],e[1],e[2],e[3],e[4]),315944413:e=>new c.IfcFillAreaStyleTiles(e[0],e[1],e[2]),2652556860:e=>new c.IfcFixedReferenceSweptAreaSolid(e[0],e[1],e[2],e[3],e[4],e[5]),4238390223:e=>new c.IfcFurnishingElementType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1268542332:e=>new c.IfcFurnitureType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10]),4095422895:e=>new c.IfcGeographicElementType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),987898635:e=>new c.IfcGeometricCurveSet(e[0]),1484403080:e=>new c.IfcIShapeProfileDef(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),178912537:e=>new c.IfcIndexedPolygonalFace(e[0]),2294589976:e=>new c.IfcIndexedPolygonalFaceWithVoids(e[0],e[1]),572779678:e=>new c.IfcLShapeProfileDef(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),428585644:e=>new c.IfcLaborResourceType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11]),1281925730:e=>new c.IfcLine(e[0],e[1]),1425443689:e=>new c.IfcManifoldSolidBrep(e[0]),3888040117:e=>new c.IfcObject(e[0],e[1],e[2],e[3],e[4]),3388369263:e=>new c.IfcOffsetCurve2D(e[0],e[1],e[2]),3505215534:e=>new c.IfcOffsetCurve3D(e[0],e[1],e[2],e[3]),1682466193:e=>new c.IfcPcurve(e[0],e[1]),603570806:e=>new c.IfcPlanarBox(e[0],e[1],e[2]),220341763:e=>new c.IfcPlane(e[0]),759155922:e=>new c.IfcPreDefinedColour(e[0]),2559016684:e=>new c.IfcPreDefinedCurveFont(e[0]),3967405729:e=>new c.IfcPreDefinedPropertySet(e[0],e[1],e[2],e[3]),569719735:e=>new c.IfcProcedureType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2945172077:e=>new c.IfcProcess(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),4208778838:e=>new c.IfcProduct(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),103090709:e=>new c.IfcProject(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),653396225:e=>new c.IfcProjectLibrary(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),871118103:e=>new c.IfcPropertyBoundedValue(e[0],e[1],e[2],e[3],e[4],e[5]),4166981789:e=>new c.IfcPropertyEnumeratedValue(e[0],e[1],e[2],e[3]),2752243245:e=>new c.IfcPropertyListValue(e[0],e[1],e[2],e[3]),941946838:e=>new c.IfcPropertyReferenceValue(e[0],e[1],e[2],e[3]),1451395588:e=>new c.IfcPropertySet(e[0],e[1],e[2],e[3],e[4]),492091185:e=>new c.IfcPropertySetTemplate(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),3650150729:e=>new c.IfcPropertySingleValue(e[0],e[1],e[2],e[3]),110355661:e=>new c.IfcPropertyTableValue(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),3521284610:e=>new c.IfcPropertyTemplate(e[0],e[1],e[2],e[3]),3219374653:e=>new c.IfcProxy(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2770003689:e=>new c.IfcRectangleHollowProfileDef(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),2798486643:e=>new c.IfcRectangularPyramid(e[0],e[1],e[2],e[3]),3454111270:e=>new c.IfcRectangularTrimmedSurface(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),3765753017:e=>new c.IfcReinforcementDefinitionProperties(e[0],e[1],e[2],e[3],e[4],e[5]),3939117080:e=>new c.IfcRelAssigns(e[0],e[1],e[2],e[3],e[4],e[5]),1683148259:e=>new c.IfcRelAssignsToActor(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),2495723537:e=>new c.IfcRelAssignsToControl(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),1307041759:e=>new c.IfcRelAssignsToGroup(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),1027710054:e=>new c.IfcRelAssignsToGroupByFactor(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),4278684876:e=>new c.IfcRelAssignsToProcess(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),2857406711:e=>new c.IfcRelAssignsToProduct(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),205026976:e=>new c.IfcRelAssignsToResource(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),1865459582:e=>new c.IfcRelAssociates(e[0],e[1],e[2],e[3],e[4]),4095574036:e=>new c.IfcRelAssociatesApproval(e[0],e[1],e[2],e[3],e[4],e[5]),919958153:e=>new c.IfcRelAssociatesClassification(e[0],e[1],e[2],e[3],e[4],e[5]),2728634034:e=>new c.IfcRelAssociatesConstraint(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),982818633:e=>new c.IfcRelAssociatesDocument(e[0],e[1],e[2],e[3],e[4],e[5]),3840914261:e=>new c.IfcRelAssociatesLibrary(e[0],e[1],e[2],e[3],e[4],e[5]),2655215786:e=>new c.IfcRelAssociatesMaterial(e[0],e[1],e[2],e[3],e[4],e[5]),826625072:e=>new c.IfcRelConnects(e[0],e[1],e[2],e[3]),1204542856:e=>new c.IfcRelConnectsElements(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),3945020480:e=>new c.IfcRelConnectsPathElements(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10]),4201705270:e=>new c.IfcRelConnectsPortToElement(e[0],e[1],e[2],e[3],e[4],e[5]),3190031847:e=>new c.IfcRelConnectsPorts(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),2127690289:e=>new c.IfcRelConnectsStructuralActivity(e[0],e[1],e[2],e[3],e[4],e[5]),1638771189:e=>new c.IfcRelConnectsStructuralMember(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),504942748:e=>new c.IfcRelConnectsWithEccentricity(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10]),3678494232:e=>new c.IfcRelConnectsWithRealizingElements(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3242617779:e=>new c.IfcRelContainedInSpatialStructure(e[0],e[1],e[2],e[3],e[4],e[5]),886880790:e=>new c.IfcRelCoversBldgElements(e[0],e[1],e[2],e[3],e[4],e[5]),2802773753:e=>new c.IfcRelCoversSpaces(e[0],e[1],e[2],e[3],e[4],e[5]),2565941209:e=>new c.IfcRelDeclares(e[0],e[1],e[2],e[3],e[4],e[5]),2551354335:e=>new c.IfcRelDecomposes(e[0],e[1],e[2],e[3]),693640335:e=>new c.IfcRelDefines(e[0],e[1],e[2],e[3]),1462361463:e=>new c.IfcRelDefinesByObject(e[0],e[1],e[2],e[3],e[4],e[5]),4186316022:e=>new c.IfcRelDefinesByProperties(e[0],e[1],e[2],e[3],e[4],e[5]),307848117:e=>new c.IfcRelDefinesByTemplate(e[0],e[1],e[2],e[3],e[4],e[5]),781010003:e=>new c.IfcRelDefinesByType(e[0],e[1],e[2],e[3],e[4],e[5]),3940055652:e=>new c.IfcRelFillsElement(e[0],e[1],e[2],e[3],e[4],e[5]),279856033:e=>new c.IfcRelFlowControlElements(e[0],e[1],e[2],e[3],e[4],e[5]),427948657:e=>new c.IfcRelInterferesElements(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3268803585:e=>new c.IfcRelNests(e[0],e[1],e[2],e[3],e[4],e[5]),750771296:e=>new c.IfcRelProjectsElement(e[0],e[1],e[2],e[3],e[4],e[5]),1245217292:e=>new c.IfcRelReferencedInSpatialStructure(e[0],e[1],e[2],e[3],e[4],e[5]),4122056220:e=>new c.IfcRelSequence(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),366585022:e=>new c.IfcRelServicesBuildings(e[0],e[1],e[2],e[3],e[4],e[5]),3451746338:e=>new c.IfcRelSpaceBoundary(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3523091289:e=>new c.IfcRelSpaceBoundary1stLevel(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1521410863:e=>new c.IfcRelSpaceBoundary2ndLevel(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10]),1401173127:e=>new c.IfcRelVoidsElement(e[0],e[1],e[2],e[3],e[4],e[5]),816062949:e=>new c.IfcReparametrisedCompositeCurveSegment(e[0],e[1],e[2],e[3]),2914609552:e=>new c.IfcResource(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),1856042241:e=>new c.IfcRevolvedAreaSolid(e[0],e[1],e[2],e[3]),3243963512:e=>new c.IfcRevolvedAreaSolidTapered(e[0],e[1],e[2],e[3],e[4]),4158566097:e=>new c.IfcRightCircularCone(e[0],e[1],e[2]),3626867408:e=>new c.IfcRightCircularCylinder(e[0],e[1],e[2]),3663146110:e=>new c.IfcSimplePropertyTemplate(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11]),1412071761:e=>new c.IfcSpatialElement(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),710998568:e=>new c.IfcSpatialElementType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2706606064:e=>new c.IfcSpatialStructureElement(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3893378262:e=>new c.IfcSpatialStructureElementType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),463610769:e=>new c.IfcSpatialZone(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2481509218:e=>new c.IfcSpatialZoneType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10]),451544542:e=>new c.IfcSphere(e[0],e[1]),4015995234:e=>new c.IfcSphericalSurface(e[0],e[1]),3544373492:e=>new c.IfcStructuralActivity(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3136571912:e=>new c.IfcStructuralItem(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),530289379:e=>new c.IfcStructuralMember(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),3689010777:e=>new c.IfcStructuralReaction(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3979015343:e=>new c.IfcStructuralSurfaceMember(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2218152070:e=>new c.IfcStructuralSurfaceMemberVarying(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),603775116:e=>new c.IfcStructuralSurfaceReaction(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),4095615324:e=>new c.IfcSubContractResourceType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11]),699246055:e=>new c.IfcSurfaceCurve(e[0],e[1],e[2]),2028607225:e=>new c.IfcSurfaceCurveSweptAreaSolid(e[0],e[1],e[2],e[3],e[4],e[5]),2809605785:e=>new c.IfcSurfaceOfLinearExtrusion(e[0],e[1],e[2],e[3]),4124788165:e=>new c.IfcSurfaceOfRevolution(e[0],e[1],e[2]),1580310250:e=>new c.IfcSystemFurnitureElementType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),3473067441:e=>new c.IfcTask(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12]),3206491090:e=>new c.IfcTaskType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10]),2387106220:e=>new c.IfcTessellatedFaceSet(e[0]),1935646853:e=>new c.IfcToroidalSurface(e[0],e[1],e[2]),2097647324:e=>new c.IfcTransportElementType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2916149573:e=>new c.IfcTriangulatedFaceSet(e[0],e[1],e[2],e[3],e[4]),336235671:e=>new c.IfcWindowLiningProperties(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15]),512836454:e=>new c.IfcWindowPanelProperties(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2296667514:e=>new c.IfcActor(e[0],e[1],e[2],e[3],e[4],e[5]),1635779807:e=>new c.IfcAdvancedBrep(e[0]),2603310189:e=>new c.IfcAdvancedBrepWithVoids(e[0],e[1]),1674181508:e=>new c.IfcAnnotation(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),2887950389:e=>new c.IfcBSplineSurface(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),167062518:e=>new c.IfcBSplineSurfaceWithKnots(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11]),1334484129:e=>new c.IfcBlock(e[0],e[1],e[2],e[3]),3649129432:e=>new c.IfcBooleanClippingResult(e[0],e[1],e[2]),1260505505:e=>new c.IfcBoundedCurve,4031249490:e=>new c.IfcBuilding(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11]),1950629157:e=>new c.IfcBuildingElementType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3124254112:e=>new c.IfcBuildingStorey(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2197970202:e=>new c.IfcChimneyType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2937912522:e=>new c.IfcCircleHollowProfileDef(e[0],e[1],e[2],e[3],e[4]),3893394355:e=>new c.IfcCivilElementType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),300633059:e=>new c.IfcColumnType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),3875453745:e=>new c.IfcComplexPropertyTemplate(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),3732776249:e=>new c.IfcCompositeCurve(e[0],e[1]),15328376:e=>new c.IfcCompositeCurveOnSurface(e[0],e[1]),2510884976:e=>new c.IfcConic(e[0]),2185764099:e=>new c.IfcConstructionEquipmentResourceType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11]),4105962743:e=>new c.IfcConstructionMaterialResourceType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11]),1525564444:e=>new c.IfcConstructionProductResourceType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11]),2559216714:e=>new c.IfcConstructionResource(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),3293443760:e=>new c.IfcControl(e[0],e[1],e[2],e[3],e[4],e[5]),3895139033:e=>new c.IfcCostItem(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1419761937:e=>new c.IfcCostSchedule(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1916426348:e=>new c.IfcCoveringType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),3295246426:e=>new c.IfcCrewResource(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10]),1457835157:e=>new c.IfcCurtainWallType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1213902940:e=>new c.IfcCylindricalSurface(e[0],e[1]),3256556792:e=>new c.IfcDistributionElementType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3849074793:e=>new c.IfcDistributionFlowElementType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2963535650:e=>new c.IfcDoorLiningProperties(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15],e[16]),1714330368:e=>new c.IfcDoorPanelProperties(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2323601079:e=>new c.IfcDoorType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12]),445594917:e=>new c.IfcDraughtingPreDefinedColour(e[0]),4006246654:e=>new c.IfcDraughtingPreDefinedCurveFont(e[0]),1758889154:e=>new c.IfcElement(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),4123344466:e=>new c.IfcElementAssembly(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2397081782:e=>new c.IfcElementAssemblyType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1623761950:e=>new c.IfcElementComponent(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),2590856083:e=>new c.IfcElementComponentType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1704287377:e=>new c.IfcEllipse(e[0],e[1],e[2]),2107101300:e=>new c.IfcEnergyConversionDeviceType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),132023988:e=>new c.IfcEngineType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),3174744832:e=>new c.IfcEvaporativeCoolerType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),3390157468:e=>new c.IfcEvaporatorType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),4148101412:e=>new c.IfcEvent(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10]),2853485674:e=>new c.IfcExternalSpatialStructureElement(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),807026263:e=>new c.IfcFacetedBrep(e[0]),3737207727:e=>new c.IfcFacetedBrepWithVoids(e[0],e[1]),647756555:e=>new c.IfcFastener(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2489546625:e=>new c.IfcFastenerType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2827207264:e=>new c.IfcFeatureElement(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),2143335405:e=>new c.IfcFeatureElementAddition(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),1287392070:e=>new c.IfcFeatureElementSubtraction(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),3907093117:e=>new c.IfcFlowControllerType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3198132628:e=>new c.IfcFlowFittingType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3815607619:e=>new c.IfcFlowMeterType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1482959167:e=>new c.IfcFlowMovingDeviceType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1834744321:e=>new c.IfcFlowSegmentType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1339347760:e=>new c.IfcFlowStorageDeviceType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2297155007:e=>new c.IfcFlowTerminalType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3009222698:e=>new c.IfcFlowTreatmentDeviceType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1893162501:e=>new c.IfcFootingType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),263784265:e=>new c.IfcFurnishingElement(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),1509553395:e=>new c.IfcFurniture(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3493046030:e=>new c.IfcGeographicElement(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3009204131:e=>new c.IfcGrid(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10]),2706460486:e=>new c.IfcGroup(e[0],e[1],e[2],e[3],e[4]),1251058090:e=>new c.IfcHeatExchangerType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1806887404:e=>new c.IfcHumidifierType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2571569899:e=>new c.IfcIndexedPolyCurve(e[0],e[1],e[2]),3946677679:e=>new c.IfcInterceptorType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),3113134337:e=>new c.IfcIntersectionCurve(e[0],e[1],e[2]),2391368822:e=>new c.IfcInventory(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10]),4288270099:e=>new c.IfcJunctionBoxType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),3827777499:e=>new c.IfcLaborResource(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10]),1051575348:e=>new c.IfcLampType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1161773419:e=>new c.IfcLightFixtureType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),377706215:e=>new c.IfcMechanicalFastener(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10]),2108223431:e=>new c.IfcMechanicalFastenerType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11]),1114901282:e=>new c.IfcMedicalDeviceType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),3181161470:e=>new c.IfcMemberType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),977012517:e=>new c.IfcMotorConnectionType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),4143007308:e=>new c.IfcOccupant(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),3588315303:e=>new c.IfcOpeningElement(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3079942009:e=>new c.IfcOpeningStandardCase(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2837617999:e=>new c.IfcOutletType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2382730787:e=>new c.IfcPerformanceHistory(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),3566463478:e=>new c.IfcPermeableCoveringProperties(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3327091369:e=>new c.IfcPermit(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1158309216:e=>new c.IfcPileType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),804291784:e=>new c.IfcPipeFittingType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),4231323485:e=>new c.IfcPipeSegmentType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),4017108033:e=>new c.IfcPlateType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2839578677:e=>new c.IfcPolygonalFaceSet(e[0],e[1],e[2],e[3]),3724593414:e=>new c.IfcPolyline(e[0]),3740093272:e=>new c.IfcPort(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),2744685151:e=>new c.IfcProcedure(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),2904328755:e=>new c.IfcProjectOrder(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3651124850:e=>new c.IfcProjectionElement(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1842657554:e=>new c.IfcProtectiveDeviceType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2250791053:e=>new c.IfcPumpType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2893384427:e=>new c.IfcRailingType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2324767716:e=>new c.IfcRampFlightType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1469900589:e=>new c.IfcRampType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),683857671:e=>new c.IfcRationalBSplineSurfaceWithKnots(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12]),3027567501:e=>new c.IfcReinforcingElement(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),964333572:e=>new c.IfcReinforcingElementType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2320036040:e=>new c.IfcReinforcingMesh(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15],e[16],e[17]),2310774935:e=>new c.IfcReinforcingMeshType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15],e[16],e[17],e[18],e[19]),160246688:e=>new c.IfcRelAggregates(e[0],e[1],e[2],e[3],e[4],e[5]),2781568857:e=>new c.IfcRoofType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1768891740:e=>new c.IfcSanitaryTerminalType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2157484638:e=>new c.IfcSeamCurve(e[0],e[1],e[2]),4074543187:e=>new c.IfcShadingDeviceType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),4097777520:e=>new c.IfcSite(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13]),2533589738:e=>new c.IfcSlabType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1072016465:e=>new c.IfcSolarDeviceType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),3856911033:e=>new c.IfcSpace(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10]),1305183839:e=>new c.IfcSpaceHeaterType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),3812236995:e=>new c.IfcSpaceType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10]),3112655638:e=>new c.IfcStackTerminalType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1039846685:e=>new c.IfcStairFlightType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),338393293:e=>new c.IfcStairType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),682877961:e=>new c.IfcStructuralAction(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1179482911:e=>new c.IfcStructuralConnection(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),1004757350:e=>new c.IfcStructuralCurveAction(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11]),4243806635:e=>new c.IfcStructuralCurveConnection(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),214636428:e=>new c.IfcStructuralCurveMember(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2445595289:e=>new c.IfcStructuralCurveMemberVarying(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2757150158:e=>new c.IfcStructuralCurveReaction(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1807405624:e=>new c.IfcStructuralLinearAction(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11]),1252848954:e=>new c.IfcStructuralLoadGroup(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2082059205:e=>new c.IfcStructuralPointAction(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),734778138:e=>new c.IfcStructuralPointConnection(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1235345126:e=>new c.IfcStructuralPointReaction(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2986769608:e=>new c.IfcStructuralResultGroup(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),3657597509:e=>new c.IfcStructuralSurfaceAction(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11]),1975003073:e=>new c.IfcStructuralSurfaceConnection(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),148013059:e=>new c.IfcSubContractResource(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10]),3101698114:e=>new c.IfcSurfaceFeature(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2315554128:e=>new c.IfcSwitchingDeviceType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2254336722:e=>new c.IfcSystem(e[0],e[1],e[2],e[3],e[4]),413509423:e=>new c.IfcSystemFurnitureElement(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),5716631:e=>new c.IfcTankType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),3824725483:e=>new c.IfcTendon(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15],e[16]),2347447852:e=>new c.IfcTendonAnchor(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),3081323446:e=>new c.IfcTendonAnchorType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2415094496:e=>new c.IfcTendonType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12]),1692211062:e=>new c.IfcTransformerType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1620046519:e=>new c.IfcTransportElement(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3593883385:e=>new c.IfcTrimmedCurve(e[0],e[1],e[2],e[3],e[4]),1600972822:e=>new c.IfcTubeBundleType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1911125066:e=>new c.IfcUnitaryEquipmentType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),728799441:e=>new c.IfcValveType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2391383451:e=>new c.IfcVibrationIsolator(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3313531582:e=>new c.IfcVibrationIsolatorType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2769231204:e=>new c.IfcVirtualElement(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),926996030:e=>new c.IfcVoidingFeature(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1898987631:e=>new c.IfcWallType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1133259667:e=>new c.IfcWasteTerminalType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),4009809668:e=>new c.IfcWindowType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12]),4088093105:e=>new c.IfcWorkCalendar(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1028945134:e=>new c.IfcWorkControl(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12]),4218914973:e=>new c.IfcWorkPlan(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13]),3342526732:e=>new c.IfcWorkSchedule(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13]),1033361043:e=>new c.IfcZone(e[0],e[1],e[2],e[3],e[4],e[5]),3821786052:e=>new c.IfcActionRequest(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1411407467:e=>new c.IfcAirTerminalBoxType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),3352864051:e=>new c.IfcAirTerminalType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1871374353:e=>new c.IfcAirToAirHeatRecoveryType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),3460190687:e=>new c.IfcAsset(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13]),1532957894:e=>new c.IfcAudioVisualApplianceType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1967976161:e=>new c.IfcBSplineCurve(e[0],e[1],e[2],e[3],e[4]),2461110595:e=>new c.IfcBSplineCurveWithKnots(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),819618141:e=>new c.IfcBeamType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),231477066:e=>new c.IfcBoilerType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1136057603:e=>new c.IfcBoundaryCurve(e[0],e[1]),3299480353:e=>new c.IfcBuildingElement(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),2979338954:e=>new c.IfcBuildingElementPart(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),39481116:e=>new c.IfcBuildingElementPartType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1095909175:e=>new c.IfcBuildingElementProxy(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1909888760:e=>new c.IfcBuildingElementProxyType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1177604601:e=>new c.IfcBuildingSystem(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),2188180465:e=>new c.IfcBurnerType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),395041908:e=>new c.IfcCableCarrierFittingType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),3293546465:e=>new c.IfcCableCarrierSegmentType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2674252688:e=>new c.IfcCableFittingType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1285652485:e=>new c.IfcCableSegmentType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2951183804:e=>new c.IfcChillerType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),3296154744:e=>new c.IfcChimney(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2611217952:e=>new c.IfcCircle(e[0],e[1]),1677625105:e=>new c.IfcCivilElement(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),2301859152:e=>new c.IfcCoilType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),843113511:e=>new c.IfcColumn(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),905975707:e=>new c.IfcColumnStandardCase(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),400855858:e=>new c.IfcCommunicationsApplianceType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),3850581409:e=>new c.IfcCompressorType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2816379211:e=>new c.IfcCondenserType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),3898045240:e=>new c.IfcConstructionEquipmentResource(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10]),1060000209:e=>new c.IfcConstructionMaterialResource(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10]),488727124:e=>new c.IfcConstructionProductResource(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10]),335055490:e=>new c.IfcCooledBeamType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2954562838:e=>new c.IfcCoolingTowerType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1973544240:e=>new c.IfcCovering(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3495092785:e=>new c.IfcCurtainWall(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3961806047:e=>new c.IfcDamperType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1335981549:e=>new c.IfcDiscreteAccessory(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2635815018:e=>new c.IfcDiscreteAccessoryType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1599208980:e=>new c.IfcDistributionChamberElementType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2063403501:e=>new c.IfcDistributionControlElementType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1945004755:e=>new c.IfcDistributionElement(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),3040386961:e=>new c.IfcDistributionFlowElement(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),3041715199:e=>new c.IfcDistributionPort(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),3205830791:e=>new c.IfcDistributionSystem(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),395920057:e=>new c.IfcDoor(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12]),3242481149:e=>new c.IfcDoorStandardCase(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12]),869906466:e=>new c.IfcDuctFittingType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),3760055223:e=>new c.IfcDuctSegmentType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2030761528:e=>new c.IfcDuctSilencerType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),663422040:e=>new c.IfcElectricApplianceType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2417008758:e=>new c.IfcElectricDistributionBoardType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),3277789161:e=>new c.IfcElectricFlowStorageDeviceType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1534661035:e=>new c.IfcElectricGeneratorType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1217240411:e=>new c.IfcElectricMotorType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),712377611:e=>new c.IfcElectricTimeControlType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1658829314:e=>new c.IfcEnergyConversionDevice(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),2814081492:e=>new c.IfcEngine(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3747195512:e=>new c.IfcEvaporativeCooler(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),484807127:e=>new c.IfcEvaporator(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1209101575:e=>new c.IfcExternalSpatialElement(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),346874300:e=>new c.IfcFanType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1810631287:e=>new c.IfcFilterType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),4222183408:e=>new c.IfcFireSuppressionTerminalType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2058353004:e=>new c.IfcFlowController(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),4278956645:e=>new c.IfcFlowFitting(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),4037862832:e=>new c.IfcFlowInstrumentType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2188021234:e=>new c.IfcFlowMeter(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3132237377:e=>new c.IfcFlowMovingDevice(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),987401354:e=>new c.IfcFlowSegment(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),707683696:e=>new c.IfcFlowStorageDevice(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),2223149337:e=>new c.IfcFlowTerminal(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),3508470533:e=>new c.IfcFlowTreatmentDevice(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),900683007:e=>new c.IfcFooting(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3319311131:e=>new c.IfcHeatExchanger(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2068733104:e=>new c.IfcHumidifier(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),4175244083:e=>new c.IfcInterceptor(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2176052936:e=>new c.IfcJunctionBox(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),76236018:e=>new c.IfcLamp(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),629592764:e=>new c.IfcLightFixture(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1437502449:e=>new c.IfcMedicalDevice(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1073191201:e=>new c.IfcMember(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1911478936:e=>new c.IfcMemberStandardCase(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2474470126:e=>new c.IfcMotorConnection(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),144952367:e=>new c.IfcOuterBoundaryCurve(e[0],e[1]),3694346114:e=>new c.IfcOutlet(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1687234759:e=>new c.IfcPile(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),310824031:e=>new c.IfcPipeFitting(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3612865200:e=>new c.IfcPipeSegment(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3171933400:e=>new c.IfcPlate(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1156407060:e=>new c.IfcPlateStandardCase(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),738039164:e=>new c.IfcProtectiveDevice(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),655969474:e=>new c.IfcProtectiveDeviceTrippingUnitType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),90941305:e=>new c.IfcPump(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2262370178:e=>new c.IfcRailing(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3024970846:e=>new c.IfcRamp(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3283111854:e=>new c.IfcRampFlight(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1232101972:e=>new c.IfcRationalBSplineCurveWithKnots(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),979691226:e=>new c.IfcReinforcingBar(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13]),2572171363:e=>new c.IfcReinforcingBarType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15]),2016517767:e=>new c.IfcRoof(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3053780830:e=>new c.IfcSanitaryTerminal(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1783015770:e=>new c.IfcSensorType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1329646415:e=>new c.IfcShadingDevice(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1529196076:e=>new c.IfcSlab(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3127900445:e=>new c.IfcSlabElementedCase(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3027962421:e=>new c.IfcSlabStandardCase(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3420628829:e=>new c.IfcSolarDevice(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1999602285:e=>new c.IfcSpaceHeater(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1404847402:e=>new c.IfcStackTerminal(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),331165859:e=>new c.IfcStair(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),4252922144:e=>new c.IfcStairFlight(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12]),2515109513:e=>new c.IfcStructuralAnalysisModel(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),385403989:e=>new c.IfcStructuralLoadCase(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10]),1621171031:e=>new c.IfcStructuralPlanarAction(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11]),1162798199:e=>new c.IfcSwitchingDevice(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),812556717:e=>new c.IfcTank(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3825984169:e=>new c.IfcTransformer(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3026737570:e=>new c.IfcTubeBundle(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3179687236:e=>new c.IfcUnitaryControlElementType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),4292641817:e=>new c.IfcUnitaryEquipment(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),4207607924:e=>new c.IfcValve(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2391406946:e=>new c.IfcWall(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),4156078855:e=>new c.IfcWallElementedCase(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3512223829:e=>new c.IfcWallStandardCase(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),4237592921:e=>new c.IfcWasteTerminal(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3304561284:e=>new c.IfcWindow(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12]),486154966:e=>new c.IfcWindowStandardCase(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12]),2874132201:e=>new c.IfcActuatorType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1634111441:e=>new c.IfcAirTerminal(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),177149247:e=>new c.IfcAirTerminalBox(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2056796094:e=>new c.IfcAirToAirHeatRecovery(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3001207471:e=>new c.IfcAlarmType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),277319702:e=>new c.IfcAudioVisualAppliance(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),753842376:e=>new c.IfcBeam(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2906023776:e=>new c.IfcBeamStandardCase(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),32344328:e=>new c.IfcBoiler(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2938176219:e=>new c.IfcBurner(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),635142910:e=>new c.IfcCableCarrierFitting(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3758799889:e=>new c.IfcCableCarrierSegment(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1051757585:e=>new c.IfcCableFitting(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),4217484030:e=>new c.IfcCableSegment(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3902619387:e=>new c.IfcChiller(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),639361253:e=>new c.IfcCoil(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3221913625:e=>new c.IfcCommunicationsAppliance(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3571504051:e=>new c.IfcCompressor(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2272882330:e=>new c.IfcCondenser(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),578613899:e=>new c.IfcControllerType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),4136498852:e=>new c.IfcCooledBeam(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3640358203:e=>new c.IfcCoolingTower(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),4074379575:e=>new c.IfcDamper(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1052013943:e=>new c.IfcDistributionChamberElement(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),562808652:e=>new c.IfcDistributionCircuit(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),1062813311:e=>new c.IfcDistributionControlElement(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),342316401:e=>new c.IfcDuctFitting(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3518393246:e=>new c.IfcDuctSegment(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1360408905:e=>new c.IfcDuctSilencer(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1904799276:e=>new c.IfcElectricAppliance(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),862014818:e=>new c.IfcElectricDistributionBoard(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3310460725:e=>new c.IfcElectricFlowStorageDevice(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),264262732:e=>new c.IfcElectricGenerator(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),402227799:e=>new c.IfcElectricMotor(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1003880860:e=>new c.IfcElectricTimeControl(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3415622556:e=>new c.IfcFan(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),819412036:e=>new c.IfcFilter(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1426591983:e=>new c.IfcFireSuppressionTerminal(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),182646315:e=>new c.IfcFlowInstrument(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2295281155:e=>new c.IfcProtectiveDeviceTrippingUnit(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),4086658281:e=>new c.IfcSensor(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),630975310:e=>new c.IfcUnitaryControlElement(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),4288193352:e=>new c.IfcActuator(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3087945054:e=>new c.IfcAlarm(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),25142252:e=>new c.IfcController(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8])};SV[2]={3630933823:e=>[e.Role,e.UserDefinedRole,e.Description],618182010:e=>[e.Purpose,e.Description,e.UserDefinedPurpose],639542469:e=>[e.ApplicationDeveloper,e.Version,e.ApplicationFullName,e.ApplicationIdentifier],411424972:e=>[e.Name,e.Description,Ge(e.AppliedValue),e.UnitBasis,e.ApplicableDate,e.FixedUntilDate,e.Category,e.Condition,e.ArithmeticOperator,e.Components],130549933:e=>[e.Identifier,e.Name,e.Description,e.TimeOfApproval,e.Status,e.Level,e.Qualifier,Ge(e.RequestingApproval),Ge(e.GivingApproval)],4037036970:e=>[e.Name],1560379544:e=>[e.Name,(e.TranslationalStiffnessByLengthX??void 0)===void 0?null:Ge(e.TranslationalStiffnessByLengthX),(e.TranslationalStiffnessByLengthY??void 0)===void 0?null:Ge(e.TranslationalStiffnessByLengthY),(e.TranslationalStiffnessByLengthZ??void 0)===void 0?null:Ge(e.TranslationalStiffnessByLengthZ),(e.RotationalStiffnessByLengthX??void 0)===void 0?null:Ge(e.RotationalStiffnessByLengthX),(e.RotationalStiffnessByLengthY??void 0)===void 0?null:Ge(e.RotationalStiffnessByLengthY),(e.RotationalStiffnessByLengthZ??void 0)===void 0?null:Ge(e.RotationalStiffnessByLengthZ)],3367102660:e=>[e.Name,(e.TranslationalStiffnessByAreaX??void 0)===void 0?null:Ge(e.TranslationalStiffnessByAreaX),(e.TranslationalStiffnessByAreaY??void 0)===void 0?null:Ge(e.TranslationalStiffnessByAreaY),(e.TranslationalStiffnessByAreaZ??void 0)===void 0?null:Ge(e.TranslationalStiffnessByAreaZ)],1387855156:e=>[e.Name,(e.TranslationalStiffnessX??void 0)===void 0?null:Ge(e.TranslationalStiffnessX),(e.TranslationalStiffnessY??void 0)===void 0?null:Ge(e.TranslationalStiffnessY),(e.TranslationalStiffnessZ??void 0)===void 0?null:Ge(e.TranslationalStiffnessZ),(e.RotationalStiffnessX??void 0)===void 0?null:Ge(e.RotationalStiffnessX),(e.RotationalStiffnessY??void 0)===void 0?null:Ge(e.RotationalStiffnessY),(e.RotationalStiffnessZ??void 0)===void 0?null:Ge(e.RotationalStiffnessZ)],2069777674:e=>[e.Name,(e.TranslationalStiffnessX??void 0)===void 0?null:Ge(e.TranslationalStiffnessX),(e.TranslationalStiffnessY??void 0)===void 0?null:Ge(e.TranslationalStiffnessY),(e.TranslationalStiffnessZ??void 0)===void 0?null:Ge(e.TranslationalStiffnessZ),(e.RotationalStiffnessX??void 0)===void 0?null:Ge(e.RotationalStiffnessX),(e.RotationalStiffnessY??void 0)===void 0?null:Ge(e.RotationalStiffnessY),(e.RotationalStiffnessZ??void 0)===void 0?null:Ge(e.RotationalStiffnessZ),(e.WarpingStiffness??void 0)===void 0?null:Ge(e.WarpingStiffness)],2859738748:e=>[],2614616156:e=>[Ge(e.PointOnRelatingElement),Ge(e.PointOnRelatedElement)],2732653382:e=>[Ge(e.SurfaceOnRelatingElement),Ge(e.SurfaceOnRelatedElement)],775493141:e=>[Ge(e.VolumeOnRelatingElement),Ge(e.VolumeOnRelatedElement)],1959218052:e=>[e.Name,e.Description,e.ConstraintGrade,e.ConstraintSource,Ge(e.CreatingActor),e.CreationTime,e.UserDefinedGrade],1785450214:e=>[Ge(e.SourceCRS),e.TargetCRS],1466758467:e=>[e.Name,e.Description,e.GeodeticDatum,e.VerticalDatum],602808272:e=>[e.Name,e.Description,Ge(e.AppliedValue),e.UnitBasis,e.ApplicableDate,e.FixedUntilDate,e.Category,e.Condition,e.ArithmeticOperator,e.Components],1765591967:e=>[e.Elements,e.UnitType,e.UserDefinedType],1045800335:e=>[e.Unit,e.Exponent],2949456006:e=>[e.LengthExponent,e.MassExponent,e.TimeExponent,e.ElectricCurrentExponent,e.ThermodynamicTemperatureExponent,e.AmountOfSubstanceExponent,e.LuminousIntensityExponent],4294318154:e=>[],3200245327:e=>[e.Location,e.Identification,e.Name],2242383968:e=>[e.Location,e.Identification,e.Name],1040185647:e=>[e.Location,e.Identification,e.Name],3548104201:e=>[e.Location,e.Identification,e.Name],852622518:e=>[e.AxisTag,e.AxisCurve,{type:3,value:e.SameSense.value}],3020489413:e=>[e.TimeStamp,e.ListValues.map(t=>Ge(t))],2655187982:e=>[e.Name,e.Version,Ge(e.Publisher),e.VersionDate,e.Location,e.Description],3452421091:e=>[e.Location,e.Identification,e.Name,e.Description,e.Language,e.ReferencedLibrary],4162380809:e=>[e.MainPlaneAngle,e.SecondaryPlaneAngle,e.LuminousIntensity],1566485204:e=>[e.LightDistributionCurve,e.DistributionData],3057273783:e=>[Ge(e.SourceCRS),e.TargetCRS,e.Eastings,e.Northings,e.OrthogonalHeight,e.XAxisAbscissa,e.XAxisOrdinate,e.Scale],1847130766:e=>[Ge(e.MaterialClassifications),e.ClassifiedMaterial],760658860:e=>[],248100487:e=>[e.Material,e.LayerThickness,e.IsVentilated==null?null:{type:3,value:e.IsVentilated.value},e.Name,e.Description,e.Category,e.Priority],3303938423:e=>[e.MaterialLayers,e.LayerSetName,e.Description],1847252529:e=>[e.Material,e.LayerThickness,e.IsVentilated==null?null:{type:3,value:e.IsVentilated.value},e.Name,e.Description,e.Category,e.Priority,e.OffsetDirection,e.OffsetValues],2199411900:e=>[e.Materials],2235152071:e=>[e.Name,e.Description,e.Material,e.Profile,e.Priority,e.Category],164193824:e=>[e.Name,e.Description,e.MaterialProfiles,e.CompositeProfile],552965576:e=>[e.Name,e.Description,e.Material,e.Profile,e.Priority,e.Category,e.OffsetValues],1507914824:e=>[],2597039031:e=>[Ge(e.ValueComponent),Ge(e.UnitComponent)],3368373690:e=>[e.Name,e.Description,e.ConstraintGrade,e.ConstraintSource,Ge(e.CreatingActor),e.CreationTime,e.UserDefinedGrade,e.Benchmark,e.ValueSource,Ge(e.DataValue),e.ReferencePath],2706619895:e=>[e.Currency],1918398963:e=>[e.Dimensions,e.UnitType],3701648758:e=>[],2251480897:e=>[e.Name,e.Description,e.ConstraintGrade,e.ConstraintSource,Ge(e.CreatingActor),e.CreationTime,e.UserDefinedGrade,e.BenchmarkValues,e.LogicalAggregator,e.ObjectiveQualifier,e.UserDefinedQualifier],4251960020:e=>[e.Identification,e.Name,e.Description,e.Roles,e.Addresses],1207048766:e=>[e.OwningUser,e.OwningApplication,e.State,e.ChangeAction,e.LastModifiedDate,e.LastModifyingUser,e.LastModifyingApplication,e.CreationDate],2077209135:e=>[e.Identification,e.FamilyName,e.GivenName,e.MiddleNames,e.PrefixTitles,e.SuffixTitles,e.Roles,e.Addresses],101040310:e=>[e.ThePerson,e.TheOrganization,e.Roles],2483315170:e=>[e.Name,e.Description],2226359599:e=>[e.Name,e.Description,e.Unit],3355820592:e=>[e.Purpose,e.Description,e.UserDefinedPurpose,e.InternalLocation,e.AddressLines,e.PostalBox,e.Town,e.Region,e.PostalCode,e.Country],677532197:e=>[],2022622350:e=>[e.Name,e.Description,Ge(e.AssignedItems),e.Identifier],1304840413:e=>[e.Name,e.Description,Ge(e.AssignedItems),e.Identifier,{type:3,value:e.LayerOn.value},{type:3,value:e.LayerFrozen.value},{type:3,value:e.LayerBlocked.value},e.LayerStyles],3119450353:e=>[e.Name],2417041796:e=>[Ge(e.Styles)],2095639259:e=>[e.Name,e.Description,e.Representations],3958567839:e=>[e.ProfileType,e.ProfileName],3843373140:e=>[e.Name,e.Description,e.GeodeticDatum,e.VerticalDatum,e.MapProjection,e.MapZone,e.MapUnit],986844984:e=>[],3710013099:e=>[e.Name,e.EnumerationValues.map(t=>Ge(t)),Ge(e.Unit)],2044713172:e=>[e.Name,e.Description,e.Unit,e.AreaValue,e.Formula],2093928680:e=>[e.Name,e.Description,e.Unit,e.CountValue,e.Formula],931644368:e=>[e.Name,e.Description,e.Unit,e.LengthValue,e.Formula],3252649465:e=>[e.Name,e.Description,e.Unit,e.TimeValue,e.Formula],2405470396:e=>[e.Name,e.Description,e.Unit,e.VolumeValue,e.Formula],825690147:e=>[e.Name,e.Description,e.Unit,e.WeightValue,e.Formula],3915482550:e=>[e.RecurrenceType,e.DayComponent,e.WeekdayComponent,e.MonthComponent,e.Position,e.Interval,e.Occurrences,e.TimePeriods],2433181523:e=>[e.TypeIdentifier,e.AttributeIdentifier,e.InstanceName,e.ListPositions,e.InnerReference],1076942058:e=>[e.ContextOfItems,e.RepresentationIdentifier,e.RepresentationType,e.Items],3377609919:e=>[e.ContextIdentifier,e.ContextType],3008791417:e=>[],1660063152:e=>[Ge(e.MappingOrigin),e.MappedRepresentation],2439245199:e=>[e.Name,e.Description],2341007311:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description],448429030:e=>[void 0,e.UnitType,e.Prefix,e.Name],1054537805:e=>[e.Name,e.DataOrigin,e.UserDefinedDataOrigin],867548509:e=>[e.ShapeRepresentations,e.Name,e.Description,{type:3,value:e.ProductDefinitional.value},Ge(e.PartOfProductDefinitionShape)],3982875396:e=>[e.ContextOfItems,e.RepresentationIdentifier,e.RepresentationType,e.Items],4240577450:e=>[e.ContextOfItems,e.RepresentationIdentifier,e.RepresentationType,e.Items],2273995522:e=>[e.Name],2162789131:e=>[e.Name],3478079324:e=>[e.Name,e.Values,e.Locations],609421318:e=>[e.Name],2525727697:e=>[e.Name],3408363356:e=>[e.Name,e.DeltaTConstant,e.DeltaTY,e.DeltaTZ],2830218821:e=>[e.ContextOfItems,e.RepresentationIdentifier,e.RepresentationType,e.Items],3958052878:e=>[e.Item,Ge(e.Styles),e.Name],3049322572:e=>[e.ContextOfItems,e.RepresentationIdentifier,e.RepresentationType,e.Items],2934153892:e=>[e.Name,e.SurfaceReinforcement1,e.SurfaceReinforcement2,e.ShearReinforcement],1300840506:e=>[e.Name,e.Side,Ge(e.Styles)],3303107099:e=>[e.DiffuseTransmissionColour,e.DiffuseReflectionColour,e.TransmissionColour,e.ReflectanceColour],1607154358:e=>[e.RefractionIndex,e.DispersionFactor],846575682:e=>[e.SurfaceColour,e.Transparency],1351298697:e=>[e.Textures],626085974:e=>[{type:3,value:e.RepeatS.value},{type:3,value:e.RepeatT.value},e.Mode,e.TextureTransform,e.Parameter],985171141:e=>[e.Name,e.Rows,e.Columns],2043862942:e=>[e.Identifier,e.Name,e.Description,Ge(e.Unit),e.ReferencePath],531007025:e=>[(e.RowCells??void 0)===void 0?null:e.RowCells.map(t=>Ge(t)),e.IsHeading==null?null:{type:3,value:e.IsHeading.value}],1549132990:e=>[e.Name,e.DataOrigin,e.UserDefinedDataOrigin,e.DurationType,e.ScheduleDuration,e.ScheduleStart,e.ScheduleFinish,e.EarlyStart,e.EarlyFinish,e.LateStart,e.LateFinish,e.FreeFloat,e.TotalFloat,e.IsCritical==null?null:{type:3,value:e.IsCritical.value},e.StatusTime,e.ActualDuration,e.ActualStart,e.ActualFinish,e.RemainingTime,e.Completion],2771591690:e=>[e.Name,e.DataOrigin,e.UserDefinedDataOrigin,e.DurationType,e.ScheduleDuration,e.ScheduleStart,e.ScheduleFinish,e.EarlyStart,e.EarlyFinish,e.LateStart,e.LateFinish,e.FreeFloat,e.TotalFloat,e.IsCritical==null?null:{type:3,value:e.IsCritical.value},e.StatusTime,e.ActualDuration,e.ActualStart,e.ActualFinish,e.RemainingTime,e.Completion,e.Recurrence],912023232:e=>[e.Purpose,e.Description,e.UserDefinedPurpose,e.TelephoneNumbers,e.FacsimileNumbers,e.PagerNumber,e.ElectronicMailAddresses,e.WWWHomePageURL,e.MessagingIDs],1447204868:e=>[e.Name,e.TextCharacterAppearance,e.TextStyle,Ge(e.TextFontStyle),e.ModelOrDraughting==null?null:{type:3,value:e.ModelOrDraughting.value}],2636378356:e=>[Ge(e.Colour),Ge(e.BackgroundColour)],1640371178:e=>[(e.TextIndent??void 0)===void 0?null:Ge(e.TextIndent),e.TextAlign,e.TextDecoration,(e.LetterSpacing??void 0)===void 0?null:Ge(e.LetterSpacing),(e.WordSpacing??void 0)===void 0?null:Ge(e.WordSpacing),e.TextTransform,(e.LineHeight??void 0)===void 0?null:Ge(e.LineHeight)],280115917:e=>[e.Maps],1742049831:e=>[e.Maps,e.Mode,e.Parameter],2552916305:e=>[e.Maps,e.Vertices,e.MappedTo],1210645708:e=>[e.Coordinates],3611470254:e=>[e.TexCoordsList],1199560280:e=>[e.StartTime,e.EndTime],3101149627:e=>[e.Name,e.Description,e.StartTime,e.EndTime,e.TimeSeriesDataType,e.DataOrigin,e.UserDefinedDataOrigin,Ge(e.Unit)],581633288:e=>[e.ListValues.map(t=>Ge(t))],1377556343:e=>[],1735638870:e=>[e.ContextOfItems,e.RepresentationIdentifier,e.RepresentationType,e.Items],180925521:e=>[Ge(e.Units)],2799835756:e=>[],1907098498:e=>[e.VertexGeometry],891718957:e=>[e.IntersectingAxes,e.OffsetDistances],1236880293:e=>[e.Name,e.DataOrigin,e.UserDefinedDataOrigin,e.RecurrencePattern,e.Start,e.Finish],3869604511:e=>[e.Name,e.Description,e.RelatingApproval,e.RelatedApprovals],3798115385:e=>[e.ProfileType,e.ProfileName,e.OuterCurve],1310608509:e=>[e.ProfileType,e.ProfileName,e.Curve],2705031697:e=>[e.ProfileType,e.ProfileName,e.OuterCurve,e.InnerCurves],616511568:e=>[{type:3,value:e.RepeatS.value},{type:3,value:e.RepeatT.value},e.Mode,e.TextureTransform,e.Parameter,e.RasterFormat,e.RasterCode],3150382593:e=>[e.ProfileType,e.ProfileName,e.Curve,e.Thickness],747523909:e=>[e.Source,e.Edition,e.EditionDate,e.Name,e.Description,e.Location,e.ReferenceTokens],647927063:e=>[e.Location,e.Identification,e.Name,Ge(e.ReferencedSource),e.Description,e.Sort],3285139300:e=>[e.ColourList],3264961684:e=>[e.Name],1485152156:e=>[e.ProfileType,e.ProfileName,e.Profiles,e.Label],370225590:e=>[e.CfsFaces],1981873012:e=>[Ge(e.CurveOnRelatingElement),Ge(e.CurveOnRelatedElement)],45288368:e=>[Ge(e.PointOnRelatingElement),Ge(e.PointOnRelatedElement),e.EccentricityInX,e.EccentricityInY,e.EccentricityInZ],3050246964:e=>[e.Dimensions,e.UnitType,e.Name],2889183280:e=>[e.Dimensions,e.UnitType,e.Name,e.ConversionFactor],2713554722:e=>[e.Dimensions,e.UnitType,e.Name,e.ConversionFactor,e.ConversionOffset],539742890:e=>[e.Name,e.Description,e.RelatingMonetaryUnit,e.RelatedMonetaryUnit,e.ExchangeRate,e.RateDateTime,e.RateSource],3800577675:e=>[e.Name,Ge(e.CurveFont),(e.CurveWidth??void 0)===void 0?null:Ge(e.CurveWidth),Ge(e.CurveColour),e.ModelOrDraughting==null?null:{type:3,value:e.ModelOrDraughting.value}],1105321065:e=>[e.Name,e.PatternList],2367409068:e=>[e.Name,Ge(e.CurveFont),e.CurveFontScaling],3510044353:e=>[e.VisibleSegmentLength,e.InvisibleSegmentLength],3632507154:e=>[e.ProfileType,e.ProfileName,e.ParentProfile,e.Operator,e.Label],1154170062:e=>[e.Identification,e.Name,e.Description,e.Location,e.Purpose,e.IntendedUse,e.Scope,e.Revision,Ge(e.DocumentOwner),Ge(e.Editors),e.CreationTime,e.LastRevisionTime,e.ElectronicFormat,e.ValidFrom,e.ValidUntil,e.Confidentiality,e.Status],770865208:e=>[e.Name,e.Description,e.RelatingDocument,e.RelatedDocuments,e.RelationshipType],3732053477:e=>[e.Location,e.Identification,e.Name,e.Description,e.ReferencedDocument],3900360178:e=>[e.EdgeStart,e.EdgeEnd],476780140:e=>[e.EdgeStart,e.EdgeEnd,e.EdgeGeometry,{type:3,value:e.SameSense.value}],211053100:e=>[e.Name,e.DataOrigin,e.UserDefinedDataOrigin,e.ActualDate,e.EarlyDate,e.LateDate,e.ScheduleDate],297599258:e=>[e.Name,e.Description,e.Properties],1437805879:e=>[e.Name,e.Description,e.RelatingReference,Ge(e.RelatedResourceObjects)],2556980723:e=>[e.Bounds],1809719519:e=>[e.Bound,{type:3,value:e.Orientation.value}],803316827:e=>[e.Bound,{type:3,value:e.Orientation.value}],3008276851:e=>[e.Bounds,e.FaceSurface,{type:3,value:e.SameSense.value}],4219587988:e=>[e.Name,e.TensionFailureX,e.TensionFailureY,e.TensionFailureZ,e.CompressionFailureX,e.CompressionFailureY,e.CompressionFailureZ],738692330:e=>[e.Name,Ge(e.FillStyles),e.ModelorDraughting==null?null:{type:3,value:e.ModelorDraughting.value}],3448662350:e=>[e.ContextIdentifier,e.ContextType,e.CoordinateSpaceDimension,e.Precision,Ge(e.WorldCoordinateSystem),e.TrueNorth],2453401579:e=>[],4142052618:e=>[e.ContextIdentifier,e.ContextType,void 0,void 0,void 0,void 0,e.ParentContext,e.TargetScale,e.TargetView,e.UserDefinedTargetView],3590301190:e=>[Ge(e.Elements)],178086475:e=>[e.PlacementLocation,Ge(e.PlacementRefDirection)],812098782:e=>[e.BaseSurface,{type:3,value:e.AgreementFlag.value}],3905492369:e=>[{type:3,value:e.RepeatS.value},{type:3,value:e.RepeatT.value},e.Mode,e.TextureTransform,e.Parameter,e.URLReference],3570813810:e=>[e.MappedTo,e.Opacity,e.Colours,e.ColourIndex],1437953363:e=>[e.Maps,e.MappedTo,e.TexCoords],2133299955:e=>[e.Maps,e.MappedTo,e.TexCoords,e.TexCoordIndex],3741457305:e=>[e.Name,e.Description,e.StartTime,e.EndTime,e.TimeSeriesDataType,e.DataOrigin,e.UserDefinedDataOrigin,Ge(e.Unit),e.Values],1585845231:e=>[e.Name,e.DataOrigin,e.UserDefinedDataOrigin,Ge(e.LagValue),e.DurationType],1402838566:e=>[e.Name,e.LightColour,e.AmbientIntensity,e.Intensity],125510826:e=>[e.Name,e.LightColour,e.AmbientIntensity,e.Intensity],2604431987:e=>[e.Name,e.LightColour,e.AmbientIntensity,e.Intensity,e.Orientation],4266656042:e=>[e.Name,e.LightColour,e.AmbientIntensity,e.Intensity,e.Position,e.ColourAppearance,e.ColourTemperature,e.LuminousFlux,e.LightEmissionSource,Ge(e.LightDistributionDataSource)],1520743889:e=>[e.Name,e.LightColour,e.AmbientIntensity,e.Intensity,e.Position,e.Radius,e.ConstantAttenuation,e.DistanceAttenuation,e.QuadricAttenuation],3422422726:e=>[e.Name,e.LightColour,e.AmbientIntensity,e.Intensity,e.Position,e.Radius,e.ConstantAttenuation,e.DistanceAttenuation,e.QuadricAttenuation,e.Orientation,e.ConcentrationExponent,e.SpreadAngle,e.BeamWidthAngle],2624227202:e=>[e.PlacementRelTo,Ge(e.RelativePlacement)],1008929658:e=>[],2347385850:e=>[e.MappingSource,e.MappingTarget],1838606355:e=>[e.Name,e.Description,e.Category],3708119e3:e=>[e.Name,e.Description,e.Material,e.Fraction,e.Category],2852063980:e=>[e.Name,e.Description,e.MaterialConstituents],2022407955:e=>[e.Name,e.Description,e.Representations,e.RepresentedMaterial],1303795690:e=>[e.ForLayerSet,e.LayerSetDirection,e.DirectionSense,e.OffsetFromReferenceLine,e.ReferenceExtent],3079605661:e=>[e.ForProfileSet,e.CardinalPoint,e.ReferenceExtent],3404854881:e=>[e.ForProfileSet,e.CardinalPoint,e.ReferenceExtent,e.ForProfileEndSet,e.CardinalEndPoint],3265635763:e=>[e.Name,e.Description,e.Properties,e.Material],853536259:e=>[e.Name,e.Description,e.RelatingMaterial,e.RelatedMaterials,e.Expression],2998442950:e=>[e.ProfileType,e.ProfileName,e.ParentProfile,void 0,e.Label],219451334:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description],2665983363:e=>[e.CfsFaces],1411181986:e=>[e.Name,e.Description,e.RelatingOrganization,e.RelatedOrganizations],1029017970:e=>[void 0,void 0,e.EdgeElement,{type:3,value:e.Orientation.value}],2529465313:e=>[e.ProfileType,e.ProfileName,e.Position],2519244187:e=>[e.EdgeList],3021840470:e=>[e.Name,e.Description,e.HasQuantities,e.Discrimination,e.Quality,e.Usage],597895409:e=>[{type:3,value:e.RepeatS.value},{type:3,value:e.RepeatT.value},e.Mode,e.TextureTransform,e.Parameter,e.Width,e.Height,e.ColourComponents,e.Pixel],2004835150:e=>[e.Location],1663979128:e=>[e.SizeInX,e.SizeInY],2067069095:e=>[],4022376103:e=>[e.BasisCurve,e.PointParameter],1423911732:e=>[e.BasisSurface,e.PointParameterU,e.PointParameterV],2924175390:e=>[e.Polygon],2775532180:e=>[e.BaseSurface,{type:3,value:e.AgreementFlag.value},e.Position,e.PolygonalBoundary],3727388367:e=>[e.Name],3778827333:e=>[],1775413392:e=>[e.Name],673634403:e=>[e.Name,e.Description,e.Representations],2802850158:e=>[e.Name,e.Description,e.Properties,e.ProfileDefinition],2598011224:e=>[e.Name,e.Description],1680319473:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description],148025276:e=>[e.Name,e.Description,e.DependingProperty,e.DependantProperty,e.Expression],3357820518:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description],1482703590:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description],2090586900:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description],3615266464:e=>[e.ProfileType,e.ProfileName,e.Position,e.XDim,e.YDim],3413951693:e=>[e.Name,e.Description,e.StartTime,e.EndTime,e.TimeSeriesDataType,e.DataOrigin,e.UserDefinedDataOrigin,Ge(e.Unit),e.TimeStep,e.Values],1580146022:e=>[e.TotalCrossSectionArea,e.SteelGrade,e.BarSurface,e.EffectiveDepth,e.NominalBarDiameter,e.BarCount],478536968:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description],2943643501:e=>[e.Name,e.Description,Ge(e.RelatedResourceObjects),e.RelatingApproval],1608871552:e=>[e.Name,e.Description,e.RelatingConstraint,Ge(e.RelatedResourceObjects)],1042787934:e=>[e.Name,e.DataOrigin,e.UserDefinedDataOrigin,e.ScheduleWork,e.ScheduleUsage,e.ScheduleStart,e.ScheduleFinish,e.ScheduleContour,e.LevelingDelay,e.IsOverAllocated==null?null:{type:3,value:e.IsOverAllocated.value},e.StatusTime,e.ActualWork,e.ActualUsage,e.ActualStart,e.ActualFinish,e.RemainingWork,e.RemainingUsage,e.Completion],2778083089:e=>[e.ProfileType,e.ProfileName,e.Position,e.XDim,e.YDim,e.RoundingRadius],2042790032:e=>[e.SectionType,e.StartProfile,e.EndProfile],4165799628:e=>[e.LongitudinalStartPosition,e.LongitudinalEndPosition,e.TransversePosition,e.ReinforcementRole,e.SectionDefinition,e.CrossSectionReinforcementDefinitions],1509187699:e=>[e.SpineCurve,e.CrossSections,e.CrossSectionPositions],4124623270:e=>[Ge(e.SbsmBoundary)],3692461612:e=>[e.Name,e.Description],2609359061:e=>[e.Name,e.SlippageX,e.SlippageY,e.SlippageZ],723233188:e=>[],1595516126:e=>[e.Name,e.LinearForceX,e.LinearForceY,e.LinearForceZ,e.LinearMomentX,e.LinearMomentY,e.LinearMomentZ],2668620305:e=>[e.Name,e.PlanarForceX,e.PlanarForceY,e.PlanarForceZ],2473145415:e=>[e.Name,e.DisplacementX,e.DisplacementY,e.DisplacementZ,e.RotationalDisplacementRX,e.RotationalDisplacementRY,e.RotationalDisplacementRZ],1973038258:e=>[e.Name,e.DisplacementX,e.DisplacementY,e.DisplacementZ,e.RotationalDisplacementRX,e.RotationalDisplacementRY,e.RotationalDisplacementRZ,e.Distortion],1597423693:e=>[e.Name,e.ForceX,e.ForceY,e.ForceZ,e.MomentX,e.MomentY,e.MomentZ],1190533807:e=>[e.Name,e.ForceX,e.ForceY,e.ForceZ,e.MomentX,e.MomentY,e.MomentZ,e.WarpingMoment],2233826070:e=>[e.EdgeStart,e.EdgeEnd,e.ParentEdge],2513912981:e=>[],1878645084:e=>[e.SurfaceColour,e.Transparency,Ge(e.DiffuseColour),Ge(e.TransmissionColour),Ge(e.DiffuseTransmissionColour),Ge(e.ReflectionColour),Ge(e.SpecularColour),(e.SpecularHighlight??void 0)===void 0?null:Ge(e.SpecularHighlight),e.ReflectanceMethod],2247615214:e=>[e.SweptArea,e.Position],1260650574:e=>[e.Directrix,e.Radius,e.InnerRadius,e.StartParam,e.EndParam],1096409881:e=>[e.Directrix,e.Radius,e.InnerRadius,e.StartParam,e.EndParam,e.FilletRadius],230924584:e=>[e.SweptCurve,e.Position],3071757647:e=>[e.ProfileType,e.ProfileName,e.Position,e.Depth,e.FlangeWidth,e.WebThickness,e.FlangeThickness,e.FilletRadius,e.FlangeEdgeRadius,e.WebEdgeRadius,e.WebSlope,e.FlangeSlope],901063453:e=>[],4282788508:e=>[e.Literal,Ge(e.Placement),e.Path],3124975700:e=>[e.Literal,Ge(e.Placement),e.Path,e.Extent,e.BoxAlignment],1983826977:e=>[e.Name,e.FontFamily,e.FontStyle,e.FontVariant,e.FontWeight,Ge(e.FontSize)],2715220739:e=>[e.ProfileType,e.ProfileName,e.Position,e.BottomXDim,e.TopXDim,e.YDim,e.TopXOffset],1628702193:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets],3736923433:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.Identification,e.LongDescription,e.ProcessType],2347495698:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag],3698973494:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.Identification,e.LongDescription,e.ResourceType],427810014:e=>[e.ProfileType,e.ProfileName,e.Position,e.Depth,e.FlangeWidth,e.WebThickness,e.FlangeThickness,e.FilletRadius,e.EdgeRadius,e.FlangeSlope],1417489154:e=>[e.Orientation,e.Magnitude],2759199220:e=>[e.LoopVertex],1299126871:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ConstructionType,e.OperationType,{type:3,value:e.ParameterTakesPrecedence.value},{type:3,value:e.Sizeable.value}],2543172580:e=>[e.ProfileType,e.ProfileName,e.Position,e.Depth,e.FlangeWidth,e.WebThickness,e.FlangeThickness,e.FilletRadius,e.EdgeRadius],3406155212:e=>[e.Bounds,e.FaceSurface,{type:3,value:e.SameSense.value}],669184980:e=>[e.OuterBoundary,e.InnerBoundaries],3207858831:e=>[e.ProfileType,e.ProfileName,e.Position,e.BottomFlangeWidth,e.OverallDepth,e.WebThickness,e.BottomFlangeThickness,e.BottomFlangeFilletRadius,e.TopFlangeWidth,e.TopFlangeThickness,e.TopFlangeFilletRadius,e.BottomFlangeEdgeRadius,e.BottomFlangeSlope,e.TopFlangeEdgeRadius,e.TopFlangeSlope],4261334040:e=>[e.Location,e.Axis],3125803723:e=>[e.Location,e.RefDirection],2740243338:e=>[e.Location,e.Axis,e.RefDirection],2736907675:e=>[e.Operator,Ge(e.FirstOperand),Ge(e.SecondOperand)],4182860854:e=>[],2581212453:e=>[e.Corner,e.XDim,e.YDim,e.ZDim],2713105998:e=>[e.BaseSurface,{type:3,value:e.AgreementFlag.value},e.Enclosure],2898889636:e=>[e.ProfileType,e.ProfileName,e.Position,e.Depth,e.Width,e.WallThickness,e.Girth,e.InternalFilletRadius],1123145078:e=>[e.Coordinates],574549367:e=>[],1675464909:e=>[e.CoordList],2059837836:e=>[e.CoordList],59481748:e=>[e.Axis1,e.Axis2,e.LocalOrigin,e.Scale],3749851601:e=>[e.Axis1,e.Axis2,e.LocalOrigin,e.Scale],3486308946:e=>[e.Axis1,e.Axis2,e.LocalOrigin,e.Scale,e.Scale2],3331915920:e=>[e.Axis1,e.Axis2,e.LocalOrigin,e.Scale,e.Axis3],1416205885:e=>[e.Axis1,e.Axis2,e.LocalOrigin,e.Scale,e.Axis3,e.Scale2,e.Scale3],1383045692:e=>[e.ProfileType,e.ProfileName,e.Position,e.Radius],2205249479:e=>[e.CfsFaces],776857604:e=>[e.Name,e.Red,e.Green,e.Blue],2542286263:e=>[e.Name,e.Description,e.UsageName,e.HasProperties],2485617015:e=>[e.Transition,{type:3,value:e.SameSense.value},e.ParentCurve],2574617495:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.Identification,e.LongDescription,e.ResourceType,e.BaseCosts,e.BaseQuantity],3419103109:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.LongName,e.Phase,e.RepresentationContexts,e.UnitsInContext],1815067380:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.Identification,e.LongDescription,e.ResourceType,e.BaseCosts,e.BaseQuantity,e.PredefinedType],2506170314:e=>[e.Position],2147822146:e=>[Ge(e.TreeRootExpression)],2601014836:e=>[],2827736869:e=>[e.BasisSurface,e.OuterBoundary,e.InnerBoundaries],2629017746:e=>[e.BasisSurface,e.Boundaries,{type:3,value:e.ImplicitOuter.value}],32440307:e=>[e.DirectionRatios],526551008:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.OperationType,e.ConstructionType,{type:3,value:e.ParameterTakesPrecedence.value},{type:3,value:e.Sizeable.value}],1472233963:e=>[e.EdgeList],1883228015:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.MethodOfMeasurement,e.Quantities],339256511:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType],2777663545:e=>[e.Position],2835456948:e=>[e.ProfileType,e.ProfileName,e.Position,e.SemiAxis1,e.SemiAxis2],4024345920:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.Identification,e.LongDescription,e.ProcessType,e.PredefinedType,e.EventTriggerType,e.UserDefinedEventTriggerType],477187591:e=>[e.SweptArea,e.Position,e.ExtrudedDirection,e.Depth],2804161546:e=>[e.SweptArea,e.Position,e.ExtrudedDirection,e.Depth,e.EndSweptArea],2047409740:e=>[e.FbsmFaces],374418227:e=>[e.HatchLineAppearance,Ge(e.StartOfNextHatchLine),e.PointOfReferenceHatchLine,e.PatternStart,e.HatchLineAngle],315944413:e=>[e.TilingPattern,e.Tiles,e.TilingScale],2652556860:e=>[e.SweptArea,e.Position,e.Directrix,e.StartParam,e.EndParam,e.FixedReference],4238390223:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType],1268542332:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.AssemblyPlace,e.PredefinedType],4095422895:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],987898635:e=>[Ge(e.Elements)],1484403080:e=>[e.ProfileType,e.ProfileName,e.Position,e.OverallWidth,e.OverallDepth,e.WebThickness,e.FlangeThickness,e.FilletRadius,e.FlangeEdgeRadius,e.FlangeSlope],178912537:e=>[e.CoordIndex],2294589976:e=>[e.CoordIndex,e.InnerCoordIndices],572779678:e=>[e.ProfileType,e.ProfileName,e.Position,e.Depth,e.Width,e.Thickness,e.FilletRadius,e.EdgeRadius,e.LegSlope],428585644:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.Identification,e.LongDescription,e.ResourceType,e.BaseCosts,e.BaseQuantity,e.PredefinedType],1281925730:e=>[e.Pnt,e.Dir],1425443689:e=>[e.Outer],3888040117:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType],3388369263:e=>[e.BasisCurve,e.Distance,{type:3,value:e.SelfIntersect.value}],3505215534:e=>[e.BasisCurve,e.Distance,{type:3,value:e.SelfIntersect.value},e.RefDirection],1682466193:e=>[e.BasisSurface,e.ReferenceCurve],603570806:e=>[e.SizeInX,e.SizeInY,Ge(e.Placement)],220341763:e=>[e.Position],759155922:e=>[e.Name],2559016684:e=>[e.Name],3967405729:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description],569719735:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.Identification,e.LongDescription,e.ProcessType,e.PredefinedType],2945172077:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.Identification,e.LongDescription],4208778838:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation],103090709:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.LongName,e.Phase,e.RepresentationContexts,e.UnitsInContext],653396225:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.LongName,e.Phase,e.RepresentationContexts,e.UnitsInContext],871118103:e=>[e.Name,e.Description,(e.UpperBoundValue??void 0)===void 0?null:Ge(e.UpperBoundValue),(e.LowerBoundValue??void 0)===void 0?null:Ge(e.LowerBoundValue),Ge(e.Unit),(e.SetPointValue??void 0)===void 0?null:Ge(e.SetPointValue)],4166981789:e=>[e.Name,e.Description,(e.EnumerationValues??void 0)===void 0?null:e.EnumerationValues.map(t=>Ge(t)),e.EnumerationReference],2752243245:e=>[e.Name,e.Description,(e.ListValues??void 0)===void 0?null:e.ListValues.map(t=>Ge(t)),Ge(e.Unit)],941946838:e=>[e.Name,e.Description,e.UsageName,Ge(e.PropertyReference)],1451395588:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.HasProperties],492091185:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.TemplateType,e.ApplicableEntity,e.HasPropertyTemplates],3650150729:e=>[e.Name,e.Description,(e.NominalValue??void 0)===void 0?null:Ge(e.NominalValue),Ge(e.Unit)],110355661:e=>[e.Name,e.Description,(e.DefiningValues??void 0)===void 0?null:e.DefiningValues.map(t=>Ge(t)),(e.DefinedValues??void 0)===void 0?null:e.DefinedValues.map(t=>Ge(t)),e.Expression,Ge(e.DefiningUnit),Ge(e.DefinedUnit),e.CurveInterpolation],3521284610:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description],3219374653:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.ProxyType,e.Tag],2770003689:e=>[e.ProfileType,e.ProfileName,e.Position,e.XDim,e.YDim,e.WallThickness,e.InnerFilletRadius,e.OuterFilletRadius],2798486643:e=>[e.Position,e.XLength,e.YLength,e.Height],3454111270:e=>[e.BasisSurface,e.U1,e.V1,e.U2,e.V2,{type:3,value:e.Usense.value},{type:3,value:e.Vsense.value}],3765753017:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.DefinitionType,e.ReinforcementSectionDefinitions],3939117080:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatedObjects,e.RelatedObjectsType],1683148259:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatedObjects,e.RelatedObjectsType,e.RelatingActor,e.ActingRole],2495723537:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatedObjects,e.RelatedObjectsType,e.RelatingControl],1307041759:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatedObjects,e.RelatedObjectsType,e.RelatingGroup],1027710054:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatedObjects,e.RelatedObjectsType,e.RelatingGroup,e.Factor],4278684876:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatedObjects,e.RelatedObjectsType,Ge(e.RelatingProcess),e.QuantityInProcess],2857406711:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatedObjects,e.RelatedObjectsType,Ge(e.RelatingProduct)],205026976:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatedObjects,e.RelatedObjectsType,Ge(e.RelatingResource)],1865459582:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,Ge(e.RelatedObjects)],4095574036:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,Ge(e.RelatedObjects),e.RelatingApproval],919958153:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,Ge(e.RelatedObjects),Ge(e.RelatingClassification)],2728634034:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,Ge(e.RelatedObjects),e.Intent,e.RelatingConstraint],982818633:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,Ge(e.RelatedObjects),Ge(e.RelatingDocument)],3840914261:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,Ge(e.RelatedObjects),Ge(e.RelatingLibrary)],2655215786:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,Ge(e.RelatedObjects),Ge(e.RelatingMaterial)],826625072:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description],1204542856:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ConnectionGeometry,e.RelatingElement,e.RelatedElement],3945020480:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ConnectionGeometry,e.RelatingElement,e.RelatedElement,e.RelatingPriorities,e.RelatedPriorities,e.RelatedConnectionType,e.RelatingConnectionType],4201705270:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatingPort,e.RelatedElement],3190031847:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatingPort,e.RelatedPort,e.RealizingElement],2127690289:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,Ge(e.RelatingElement),e.RelatedStructuralActivity],1638771189:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatingStructuralMember,e.RelatedStructuralConnection,e.AppliedCondition,e.AdditionalConditions,e.SupportedLength,e.ConditionCoordinateSystem],504942748:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatingStructuralMember,e.RelatedStructuralConnection,e.AppliedCondition,e.AdditionalConditions,e.SupportedLength,e.ConditionCoordinateSystem,e.ConnectionConstraint],3678494232:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ConnectionGeometry,e.RelatingElement,e.RelatedElement,e.RealizingElements,e.ConnectionType],3242617779:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatedElements,e.RelatingStructure],886880790:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatingBuildingElement,e.RelatedCoverings],2802773753:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatingSpace,e.RelatedCoverings],2565941209:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatingContext,Ge(e.RelatedDefinitions)],2551354335:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description],693640335:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description],1462361463:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatedObjects,e.RelatingObject],4186316022:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatedObjects,Ge(e.RelatingPropertyDefinition)],307848117:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatedPropertySets,e.RelatingTemplate],781010003:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatedObjects,e.RelatingType],3940055652:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatingOpeningElement,e.RelatedBuildingElement],279856033:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatedControlElements,e.RelatingFlowElement],427948657:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatingElement,e.RelatedElement,e.InterferenceGeometry,e.InterferenceType,e.ImpliedOrder],3268803585:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatingObject,e.RelatedObjects],750771296:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatingElement,e.RelatedFeatureElement],1245217292:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatedElements,e.RelatingStructure],4122056220:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatingProcess,e.RelatedProcess,e.TimeLag,e.SequenceType,e.UserDefinedSequenceType],366585022:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatingSystem,e.RelatedBuildings],3451746338:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,Ge(e.RelatingSpace),e.RelatedBuildingElement,e.ConnectionGeometry,e.PhysicalOrVirtualBoundary,e.InternalOrExternalBoundary],3523091289:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,Ge(e.RelatingSpace),e.RelatedBuildingElement,e.ConnectionGeometry,e.PhysicalOrVirtualBoundary,e.InternalOrExternalBoundary,e.ParentBoundary],1521410863:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,Ge(e.RelatingSpace),e.RelatedBuildingElement,e.ConnectionGeometry,e.PhysicalOrVirtualBoundary,e.InternalOrExternalBoundary,e.ParentBoundary,e.CorrespondingBoundary],1401173127:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatingBuildingElement,e.RelatedOpeningElement],816062949:e=>[e.Transition,{type:3,value:e.SameSense.value},e.ParentCurve,e.ParamLength],2914609552:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.Identification,e.LongDescription],1856042241:e=>[e.SweptArea,e.Position,e.Axis,e.Angle],3243963512:e=>[e.SweptArea,e.Position,e.Axis,e.Angle,e.EndSweptArea],4158566097:e=>[e.Position,e.Height,e.BottomRadius],3626867408:e=>[e.Position,e.Height,e.Radius],3663146110:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.TemplateType,e.PrimaryMeasureType,e.SecondaryMeasureType,e.Enumerators,Ge(e.PrimaryUnit),Ge(e.SecondaryUnit),e.Expression,e.AccessState],1412071761:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.LongName],710998568:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType],2706606064:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.LongName,e.CompositionType],3893378262:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType],463610769:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.LongName,e.PredefinedType],2481509218:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType,e.LongName],451544542:e=>[e.Position,e.Radius],4015995234:e=>[e.Position,e.Radius],3544373492:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.AppliedLoad,e.GlobalOrLocal],3136571912:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation],530289379:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation],3689010777:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.AppliedLoad,e.GlobalOrLocal],3979015343:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.PredefinedType,e.Thickness],2218152070:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.PredefinedType,e.Thickness],603775116:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.AppliedLoad,e.GlobalOrLocal,e.PredefinedType],4095615324:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.Identification,e.LongDescription,e.ResourceType,e.BaseCosts,e.BaseQuantity,e.PredefinedType],699246055:e=>[e.Curve3D,e.AssociatedGeometry,e.MasterRepresentation],2028607225:e=>[e.SweptArea,e.Position,e.Directrix,e.StartParam,e.EndParam,e.ReferenceSurface],2809605785:e=>[e.SweptCurve,e.Position,e.ExtrudedDirection,e.Depth],4124788165:e=>[e.SweptCurve,e.Position,e.AxisPosition],1580310250:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],3473067441:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.Identification,e.LongDescription,e.Status,e.WorkMethod,{type:3,value:e.IsMilestone.value},e.Priority,e.TaskTime,e.PredefinedType],3206491090:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.Identification,e.LongDescription,e.ProcessType,e.PredefinedType,e.WorkMethod],2387106220:e=>[e.Coordinates],1935646853:e=>[e.Position,e.MajorRadius,e.MinorRadius],2097647324:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],2916149573:e=>[e.Coordinates,e.Normals,e.Closed==null?null:{type:3,value:e.Closed.value},e.CoordIndex,e.PnIndex],336235671:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.LiningDepth,e.LiningThickness,e.TransomThickness,e.MullionThickness,e.FirstTransomOffset,e.SecondTransomOffset,e.FirstMullionOffset,e.SecondMullionOffset,e.ShapeAspectStyle,e.LiningOffset,e.LiningToPanelOffsetX,e.LiningToPanelOffsetY],512836454:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.OperationType,e.PanelPosition,e.FrameDepth,e.FrameThickness,e.ShapeAspectStyle],2296667514:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,Ge(e.TheActor)],1635779807:e=>[e.Outer],2603310189:e=>[e.Outer,e.Voids],1674181508:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation],2887950389:e=>[e.UDegree,e.VDegree,e.ControlPointsList,e.SurfaceForm,{type:3,value:e.UClosed.value},{type:3,value:e.VClosed.value},{type:3,value:e.SelfIntersect.value}],167062518:e=>[e.UDegree,e.VDegree,e.ControlPointsList,e.SurfaceForm,{type:3,value:e.UClosed.value},{type:3,value:e.VClosed.value},{type:3,value:e.SelfIntersect.value},e.UMultiplicities,e.VMultiplicities,e.UKnots,e.VKnots,e.KnotSpec],1334484129:e=>[e.Position,e.XLength,e.YLength,e.ZLength],3649129432:e=>[e.Operator,Ge(e.FirstOperand),Ge(e.SecondOperand)],1260505505:e=>[],4031249490:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.LongName,e.CompositionType,e.ElevationOfRefHeight,e.ElevationOfTerrain,e.BuildingAddress],1950629157:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType],3124254112:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.LongName,e.CompositionType,e.Elevation],2197970202:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],2937912522:e=>[e.ProfileType,e.ProfileName,e.Position,e.Radius,e.WallThickness],3893394355:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType],300633059:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],3875453745:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.UsageName,e.TemplateType,e.HasPropertyTemplates],3732776249:e=>[e.Segments,{type:3,value:e.SelfIntersect.value}],15328376:e=>[e.Segments,{type:3,value:e.SelfIntersect.value}],2510884976:e=>[Ge(e.Position)],2185764099:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.Identification,e.LongDescription,e.ResourceType,e.BaseCosts,e.BaseQuantity,e.PredefinedType],4105962743:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.Identification,e.LongDescription,e.ResourceType,e.BaseCosts,e.BaseQuantity,e.PredefinedType],1525564444:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.Identification,e.LongDescription,e.ResourceType,e.BaseCosts,e.BaseQuantity,e.PredefinedType],2559216714:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.Identification,e.LongDescription,e.Usage,e.BaseCosts,e.BaseQuantity],3293443760:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.Identification],3895139033:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.Identification,e.PredefinedType,e.CostValues,e.CostQuantities],1419761937:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.Identification,e.PredefinedType,e.Status,e.SubmittedOn,e.UpdateDate],1916426348:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],3295246426:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.Identification,e.LongDescription,e.Usage,e.BaseCosts,e.BaseQuantity,e.PredefinedType],1457835157:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1213902940:e=>[e.Position,e.Radius],3256556792:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType],3849074793:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType],2963535650:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.LiningDepth,e.LiningThickness,e.ThresholdDepth,e.ThresholdThickness,e.TransomThickness,e.TransomOffset,e.LiningOffset,e.ThresholdOffset,e.CasingThickness,e.CasingDepth,e.ShapeAspectStyle,e.LiningToPanelOffsetX,e.LiningToPanelOffsetY],1714330368:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.PanelDepth,e.PanelOperation,e.PanelWidth,e.PanelPosition,e.ShapeAspectStyle],2323601079:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType,e.OperationType,e.ParameterTakesPrecedence==null?null:{type:3,value:e.ParameterTakesPrecedence.value},e.UserDefinedOperationType],445594917:e=>[e.Name],4006246654:e=>[e.Name],1758889154:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],4123344466:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.AssemblyPlace,e.PredefinedType],2397081782:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1623761950:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],2590856083:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType],1704287377:e=>[Ge(e.Position),e.SemiAxis1,e.SemiAxis2],2107101300:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType],132023988:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],3174744832:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],3390157468:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],4148101412:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.Identification,e.LongDescription,e.PredefinedType,e.EventTriggerType,e.UserDefinedEventTriggerType,e.EventOccurenceTime],2853485674:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.LongName],807026263:e=>[e.Outer],3737207727:e=>[e.Outer,e.Voids],647756555:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],2489546625:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],2827207264:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],2143335405:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],1287392070:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],3907093117:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType],3198132628:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType],3815607619:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1482959167:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType],1834744321:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType],1339347760:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType],2297155007:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType],3009222698:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType],1893162501:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],263784265:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],1509553395:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],3493046030:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],3009204131:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.UAxes,e.VAxes,e.WAxes,e.PredefinedType],2706460486:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType],1251058090:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1806887404:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],2571569899:e=>[e.Points,(e.Segments??void 0)===void 0?null:e.Segments.map(t=>Ge(t)),e.SelfIntersect==null?null:{type:3,value:e.SelfIntersect.value}],3946677679:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],3113134337:e=>[e.Curve3D,e.AssociatedGeometry,e.MasterRepresentation],2391368822:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.PredefinedType,Ge(e.Jurisdiction),e.ResponsiblePersons,e.LastUpdateDate,e.CurrentValue,e.OriginalValue],4288270099:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],3827777499:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.Identification,e.LongDescription,e.Usage,e.BaseCosts,e.BaseQuantity,e.PredefinedType],1051575348:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1161773419:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],377706215:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.NominalDiameter,e.NominalLength,e.PredefinedType],2108223431:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType,e.NominalDiameter,e.NominalLength],1114901282:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],3181161470:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],977012517:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],4143007308:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,Ge(e.TheActor),e.PredefinedType],3588315303:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],3079942009:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],2837617999:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],2382730787:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.Identification,e.LifeCyclePhase,e.PredefinedType],3566463478:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.OperationType,e.PanelPosition,e.FrameDepth,e.FrameThickness,e.ShapeAspectStyle],3327091369:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.Identification,e.PredefinedType,e.Status,e.LongDescription],1158309216:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],804291784:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],4231323485:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],4017108033:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],2839578677:e=>[e.Coordinates,e.Closed==null?null:{type:3,value:e.Closed.value},e.Faces,e.PnIndex],3724593414:e=>[e.Points],3740093272:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation],2744685151:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.Identification,e.LongDescription,e.PredefinedType],2904328755:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.Identification,e.PredefinedType,e.Status,e.LongDescription],3651124850:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],1842657554:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],2250791053:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],2893384427:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],2324767716:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1469900589:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],683857671:e=>[e.UDegree,e.VDegree,e.ControlPointsList,e.SurfaceForm,{type:3,value:e.UClosed.value},{type:3,value:e.VClosed.value},{type:3,value:e.SelfIntersect.value},e.UMultiplicities,e.VMultiplicities,e.UKnots,e.VKnots,e.KnotSpec,e.WeightsData],3027567501:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.SteelGrade],964333572:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType],2320036040:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.SteelGrade,e.MeshLength,e.MeshWidth,e.LongitudinalBarNominalDiameter,e.TransverseBarNominalDiameter,e.LongitudinalBarCrossSectionArea,e.TransverseBarCrossSectionArea,e.LongitudinalBarSpacing,e.TransverseBarSpacing,e.PredefinedType],2310774935:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType,e.MeshLength,e.MeshWidth,e.LongitudinalBarNominalDiameter,e.TransverseBarNominalDiameter,e.LongitudinalBarCrossSectionArea,e.TransverseBarCrossSectionArea,e.LongitudinalBarSpacing,e.TransverseBarSpacing,e.BendingShapeCode,(e.BendingParameters??void 0)===void 0?null:e.BendingParameters.map(t=>Ge(t))],160246688:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatingObject,e.RelatedObjects],2781568857:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1768891740:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],2157484638:e=>[e.Curve3D,e.AssociatedGeometry,e.MasterRepresentation],4074543187:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],4097777520:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.LongName,e.CompositionType,e.RefLatitude,e.RefLongitude,e.RefElevation,e.LandTitleNumber,e.SiteAddress],2533589738:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1072016465:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],3856911033:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.LongName,e.CompositionType,e.PredefinedType,e.ElevationWithFlooring],1305183839:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],3812236995:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType,e.LongName],3112655638:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1039846685:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],338393293:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],682877961:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.AppliedLoad,e.GlobalOrLocal,e.DestabilizingLoad==null?null:{type:3,value:e.DestabilizingLoad.value}],1179482911:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.AppliedCondition],1004757350:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.AppliedLoad,e.GlobalOrLocal,e.DestabilizingLoad==null?null:{type:3,value:e.DestabilizingLoad.value},e.ProjectedOrTrue,e.PredefinedType],4243806635:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.AppliedCondition,e.Axis],214636428:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.PredefinedType,e.Axis],2445595289:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.PredefinedType,e.Axis],2757150158:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.AppliedLoad,e.GlobalOrLocal,e.PredefinedType],1807405624:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.AppliedLoad,e.GlobalOrLocal,e.DestabilizingLoad==null?null:{type:3,value:e.DestabilizingLoad.value},e.ProjectedOrTrue,e.PredefinedType],1252848954:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.PredefinedType,e.ActionType,e.ActionSource,e.Coefficient,e.Purpose],2082059205:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.AppliedLoad,e.GlobalOrLocal,e.DestabilizingLoad==null?null:{type:3,value:e.DestabilizingLoad.value}],734778138:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.AppliedCondition,e.ConditionCoordinateSystem],1235345126:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.AppliedLoad,e.GlobalOrLocal],2986769608:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.TheoryType,e.ResultForLoadGroup,{type:3,value:e.IsLinear.value}],3657597509:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.AppliedLoad,e.GlobalOrLocal,e.DestabilizingLoad==null?null:{type:3,value:e.DestabilizingLoad.value},e.ProjectedOrTrue,e.PredefinedType],1975003073:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.AppliedCondition],148013059:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.Identification,e.LongDescription,e.Usage,e.BaseCosts,e.BaseQuantity,e.PredefinedType],3101698114:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],2315554128:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],2254336722:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType],413509423:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],5716631:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],3824725483:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.SteelGrade,e.PredefinedType,e.NominalDiameter,e.CrossSectionArea,e.TensionForce,e.PreStress,e.FrictionCoefficient,e.AnchorageSlip,e.MinCurvatureRadius],2347447852:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.SteelGrade,e.PredefinedType],3081323446:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],2415094496:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType,e.NominalDiameter,e.CrossSectionArea,e.SheathDiameter],1692211062:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1620046519:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],3593883385:e=>[e.BasisCurve,Ge(e.Trim1),Ge(e.Trim2),{type:3,value:e.SenseAgreement.value},e.MasterRepresentation],1600972822:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1911125066:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],728799441:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],2391383451:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],3313531582:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],2769231204:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],926996030:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],1898987631:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1133259667:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],4009809668:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType,e.PartitioningType,e.ParameterTakesPrecedence==null?null:{type:3,value:e.ParameterTakesPrecedence.value},e.UserDefinedPartitioningType],4088093105:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.Identification,e.WorkingTimes,e.ExceptionTimes,e.PredefinedType],1028945134:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.Identification,e.CreationDate,e.Creators,e.Purpose,e.Duration,e.TotalFloat,e.StartTime,e.FinishTime],4218914973:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.Identification,e.CreationDate,e.Creators,e.Purpose,e.Duration,e.TotalFloat,e.StartTime,e.FinishTime,e.PredefinedType],3342526732:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.Identification,e.CreationDate,e.Creators,e.Purpose,e.Duration,e.TotalFloat,e.StartTime,e.FinishTime,e.PredefinedType],1033361043:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.LongName],3821786052:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.Identification,e.PredefinedType,e.Status,e.LongDescription],1411407467:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],3352864051:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1871374353:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],3460190687:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.Identification,e.OriginalValue,e.CurrentValue,e.TotalReplacementCost,Ge(e.Owner),Ge(e.User),e.ResponsiblePerson,e.IncorporationDate,e.DepreciatedValue],1532957894:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1967976161:e=>[e.Degree,e.ControlPointsList,e.CurveForm,{type:3,value:e.ClosedCurve.value},{type:3,value:e.SelfIntersect.value}],2461110595:e=>[e.Degree,e.ControlPointsList,e.CurveForm,{type:3,value:e.ClosedCurve.value},{type:3,value:e.SelfIntersect.value},e.KnotMultiplicities,e.Knots,e.KnotSpec],819618141:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],231477066:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1136057603:e=>[e.Segments,{type:3,value:e.SelfIntersect.value}],3299480353:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],2979338954:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],39481116:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1095909175:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],1909888760:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1177604601:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.PredefinedType,e.LongName],2188180465:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],395041908:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],3293546465:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],2674252688:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1285652485:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],2951183804:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],3296154744:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],2611217952:e=>[Ge(e.Position),e.Radius],1677625105:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],2301859152:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],843113511:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],905975707:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],400855858:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],3850581409:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],2816379211:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],3898045240:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.Identification,e.LongDescription,e.Usage,e.BaseCosts,e.BaseQuantity,e.PredefinedType],1060000209:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.Identification,e.LongDescription,e.Usage,e.BaseCosts,e.BaseQuantity,e.PredefinedType],488727124:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.Identification,e.LongDescription,e.Usage,e.BaseCosts,e.BaseQuantity,e.PredefinedType],335055490:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],2954562838:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1973544240:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],3495092785:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],3961806047:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1335981549:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],2635815018:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1599208980:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],2063403501:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType],1945004755:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],3040386961:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],3041715199:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.FlowDirection,e.PredefinedType,e.SystemType],3205830791:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.LongName,e.PredefinedType],395920057:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.OverallHeight,e.OverallWidth,e.PredefinedType,e.OperationType,e.UserDefinedOperationType],3242481149:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.OverallHeight,e.OverallWidth,e.PredefinedType,e.OperationType,e.UserDefinedOperationType],869906466:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],3760055223:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],2030761528:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],663422040:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],2417008758:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],3277789161:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1534661035:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1217240411:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],712377611:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1658829314:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],2814081492:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],3747195512:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],484807127:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],1209101575:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.LongName,e.PredefinedType],346874300:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1810631287:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],4222183408:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],2058353004:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],4278956645:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],4037862832:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],2188021234:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],3132237377:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],987401354:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],707683696:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],2223149337:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],3508470533:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],900683007:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],3319311131:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],2068733104:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],4175244083:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],2176052936:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],76236018:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],629592764:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],1437502449:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],1073191201:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],1911478936:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],2474470126:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],144952367:e=>[e.Segments,{type:3,value:e.SelfIntersect.value}],3694346114:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],1687234759:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType,e.ConstructionType],310824031:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],3612865200:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],3171933400:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],1156407060:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],738039164:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],655969474:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],90941305:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],2262370178:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],3024970846:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],3283111854:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],1232101972:e=>[e.Degree,e.ControlPointsList,e.CurveForm,{type:3,value:e.ClosedCurve.value},{type:3,value:e.SelfIntersect.value},e.KnotMultiplicities,e.Knots,e.KnotSpec,e.WeightsData],979691226:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.SteelGrade,e.NominalDiameter,e.CrossSectionArea,e.BarLength,e.PredefinedType,e.BarSurface],2572171363:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType,e.NominalDiameter,e.CrossSectionArea,e.BarLength,e.BarSurface,e.BendingShapeCode,(e.BendingParameters??void 0)===void 0?null:e.BendingParameters.map(t=>Ge(t))],2016517767:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],3053780830:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],1783015770:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1329646415:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],1529196076:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],3127900445:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],3027962421:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],3420628829:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],1999602285:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],1404847402:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],331165859:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],4252922144:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.NumberOfRisers,e.NumberOfTreads,e.RiserHeight,e.TreadLength,e.PredefinedType],2515109513:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.PredefinedType,e.OrientationOf2DPlane,e.LoadedBy,e.HasResults,e.SharedPlacement],385403989:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.PredefinedType,e.ActionType,e.ActionSource,e.Coefficient,e.Purpose,e.SelfWeightCoefficients],1621171031:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.AppliedLoad,e.GlobalOrLocal,e.DestabilizingLoad==null?null:{type:3,value:e.DestabilizingLoad.value},e.ProjectedOrTrue,e.PredefinedType],1162798199:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],812556717:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],3825984169:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],3026737570:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],3179687236:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],4292641817:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],4207607924:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],2391406946:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],4156078855:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],3512223829:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],4237592921:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],3304561284:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.OverallHeight,e.OverallWidth,e.PredefinedType,e.PartitioningType,e.UserDefinedPartitioningType],486154966:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.OverallHeight,e.OverallWidth,e.PredefinedType,e.PartitioningType,e.UserDefinedPartitioningType],2874132201:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1634111441:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],177149247:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],2056796094:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],3001207471:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],277319702:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],753842376:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],2906023776:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],32344328:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],2938176219:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],635142910:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],3758799889:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],1051757585:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],4217484030:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],3902619387:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],639361253:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],3221913625:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],3571504051:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],2272882330:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],578613899:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],4136498852:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],3640358203:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],4074379575:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],1052013943:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],562808652:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.LongName,e.PredefinedType],1062813311:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],342316401:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],3518393246:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],1360408905:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],1904799276:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],862014818:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],3310460725:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],264262732:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],402227799:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],1003880860:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],3415622556:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],819412036:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],1426591983:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],182646315:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],2295281155:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],4086658281:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],630975310:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],4288193352:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],3087945054:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],25142252:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType]};k6[2]={3699917729:e=>new c.IfcAbsorbedDoseMeasure(e),4182062534:e=>new c.IfcAccelerationMeasure(e),360377573:e=>new c.IfcAmountOfSubstanceMeasure(e),632304761:e=>new c.IfcAngularVelocityMeasure(e),3683503648:e=>new c.IfcArcIndex(e.map(t=>t.value)),1500781891:e=>new c.IfcAreaDensityMeasure(e),2650437152:e=>new c.IfcAreaMeasure(e),2314439260:e=>new c.IfcBinary(e),2735952531:e=>new c.IfcBoolean(e),1867003952:e=>new c.IfcBoxAlignment(e),1683019596:e=>new c.IfcCardinalPointReference(e),2991860651:e=>new c.IfcComplexNumber(e.map(t=>t.value)),3812528620:e=>new c.IfcCompoundPlaneAngleMeasure(e.map(t=>t.value)),3238673880:e=>new c.IfcContextDependentMeasure(e),1778710042:e=>new c.IfcCountMeasure(e),94842927:e=>new c.IfcCurvatureMeasure(e),937566702:e=>new c.IfcDate(e),2195413836:e=>new c.IfcDateTime(e),86635668:e=>new c.IfcDayInMonthNumber(e),3701338814:e=>new c.IfcDayInWeekNumber(e),1514641115:e=>new c.IfcDescriptiveMeasure(e),4134073009:e=>new c.IfcDimensionCount(e),524656162:e=>new c.IfcDoseEquivalentMeasure(e),2541165894:e=>new c.IfcDuration(e),69416015:e=>new c.IfcDynamicViscosityMeasure(e),1827137117:e=>new c.IfcElectricCapacitanceMeasure(e),3818826038:e=>new c.IfcElectricChargeMeasure(e),2093906313:e=>new c.IfcElectricConductanceMeasure(e),3790457270:e=>new c.IfcElectricCurrentMeasure(e),2951915441:e=>new c.IfcElectricResistanceMeasure(e),2506197118:e=>new c.IfcElectricVoltageMeasure(e),2078135608:e=>new c.IfcEnergyMeasure(e),1102727119:e=>new c.IfcFontStyle(e),2715512545:e=>new c.IfcFontVariant(e),2590844177:e=>new c.IfcFontWeight(e),1361398929:e=>new c.IfcForceMeasure(e),3044325142:e=>new c.IfcFrequencyMeasure(e),3064340077:e=>new c.IfcGloballyUniqueId(e),3113092358:e=>new c.IfcHeatFluxDensityMeasure(e),1158859006:e=>new c.IfcHeatingValueMeasure(e),983778844:e=>new c.IfcIdentifier(e),3358199106:e=>new c.IfcIlluminanceMeasure(e),2679005408:e=>new c.IfcInductanceMeasure(e),1939436016:e=>new c.IfcInteger(e),3809634241:e=>new c.IfcIntegerCountRateMeasure(e),3686016028:e=>new c.IfcIonConcentrationMeasure(e),3192672207:e=>new c.IfcIsothermalMoistureCapacityMeasure(e),2054016361:e=>new c.IfcKinematicViscosityMeasure(e),3258342251:e=>new c.IfcLabel(e),1275358634:e=>new c.IfcLanguageId(e),1243674935:e=>new c.IfcLengthMeasure(e),1774176899:e=>new c.IfcLineIndex(e.map(t=>t.value)),191860431:e=>new c.IfcLinearForceMeasure(e),2128979029:e=>new c.IfcLinearMomentMeasure(e),1307019551:e=>new c.IfcLinearStiffnessMeasure(e),3086160713:e=>new c.IfcLinearVelocityMeasure(e),503418787:e=>new c.IfcLogical(e),2095003142:e=>new c.IfcLuminousFluxMeasure(e),2755797622:e=>new c.IfcLuminousIntensityDistributionMeasure(e),151039812:e=>new c.IfcLuminousIntensityMeasure(e),286949696:e=>new c.IfcMagneticFluxDensityMeasure(e),2486716878:e=>new c.IfcMagneticFluxMeasure(e),1477762836:e=>new c.IfcMassDensityMeasure(e),4017473158:e=>new c.IfcMassFlowRateMeasure(e),3124614049:e=>new c.IfcMassMeasure(e),3531705166:e=>new c.IfcMassPerLengthMeasure(e),3341486342:e=>new c.IfcModulusOfElasticityMeasure(e),2173214787:e=>new c.IfcModulusOfLinearSubgradeReactionMeasure(e),1052454078:e=>new c.IfcModulusOfRotationalSubgradeReactionMeasure(e),1753493141:e=>new c.IfcModulusOfSubgradeReactionMeasure(e),3177669450:e=>new c.IfcMoistureDiffusivityMeasure(e),1648970520:e=>new c.IfcMolecularWeightMeasure(e),3114022597:e=>new c.IfcMomentOfInertiaMeasure(e),2615040989:e=>new c.IfcMonetaryMeasure(e),765770214:e=>new c.IfcMonthInYearNumber(e),525895558:e=>new c.IfcNonNegativeLengthMeasure(e),2095195183:e=>new c.IfcNormalisedRatioMeasure(e),2395907400:e=>new c.IfcNumericMeasure(e),929793134:e=>new c.IfcPHMeasure(e),2260317790:e=>new c.IfcParameterValue(e),2642773653:e=>new c.IfcPlanarForceMeasure(e),4042175685:e=>new c.IfcPlaneAngleMeasure(e),1790229001:e=>new c.IfcPositiveInteger(e),2815919920:e=>new c.IfcPositiveLengthMeasure(e),3054510233:e=>new c.IfcPositivePlaneAngleMeasure(e),1245737093:e=>new c.IfcPositiveRatioMeasure(e),1364037233:e=>new c.IfcPowerMeasure(e),2169031380:e=>new c.IfcPresentableText(e),3665567075:e=>new c.IfcPressureMeasure(e),2798247006:e=>new c.IfcPropertySetDefinitionSet(e.map(t=>t.value)),3972513137:e=>new c.IfcRadioActivityMeasure(e),96294661:e=>new c.IfcRatioMeasure(e),200335297:e=>new c.IfcReal(e),2133746277:e=>new c.IfcRotationalFrequencyMeasure(e),1755127002:e=>new c.IfcRotationalMassMeasure(e),3211557302:e=>new c.IfcRotationalStiffnessMeasure(e),3467162246:e=>new c.IfcSectionModulusMeasure(e),2190458107:e=>new c.IfcSectionalAreaIntegralMeasure(e),408310005:e=>new c.IfcShearModulusMeasure(e),3471399674:e=>new c.IfcSolidAngleMeasure(e),4157543285:e=>new c.IfcSoundPowerLevelMeasure(e),846465480:e=>new c.IfcSoundPowerMeasure(e),3457685358:e=>new c.IfcSoundPressureLevelMeasure(e),993287707:e=>new c.IfcSoundPressureMeasure(e),3477203348:e=>new c.IfcSpecificHeatCapacityMeasure(e),2757832317:e=>new c.IfcSpecularExponent(e),361837227:e=>new c.IfcSpecularRoughness(e),58845555:e=>new c.IfcTemperatureGradientMeasure(e),1209108979:e=>new c.IfcTemperatureRateOfChangeMeasure(e),2801250643:e=>new c.IfcText(e),1460886941:e=>new c.IfcTextAlignment(e),3490877962:e=>new c.IfcTextDecoration(e),603696268:e=>new c.IfcTextFontName(e),296282323:e=>new c.IfcTextTransformation(e),232962298:e=>new c.IfcThermalAdmittanceMeasure(e),2645777649:e=>new c.IfcThermalConductivityMeasure(e),2281867870:e=>new c.IfcThermalExpansionCoefficientMeasure(e),857959152:e=>new c.IfcThermalResistanceMeasure(e),2016195849:e=>new c.IfcThermalTransmittanceMeasure(e),743184107:e=>new c.IfcThermodynamicTemperatureMeasure(e),4075327185:e=>new c.IfcTime(e),2726807636:e=>new c.IfcTimeMeasure(e),2591213694:e=>new c.IfcTimeStamp(e),1278329552:e=>new c.IfcTorqueMeasure(e),950732822:e=>new c.IfcURIReference(e),3345633955:e=>new c.IfcVaporPermeabilityMeasure(e),3458127941:e=>new c.IfcVolumeMeasure(e),2593997549:e=>new c.IfcVolumetricFlowRateMeasure(e),51269191:e=>new c.IfcWarpingConstantMeasure(e),1718600412:e=>new c.IfcWarpingMomentMeasure(e)};var c;(e=>{class t extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCABSORBEDDOSEMEASURE"}}e.IfcAbsorbedDoseMeasure=t;class i extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCACCELERATIONMEASURE"}}e.IfcAccelerationMeasure=i;class n extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCAMOUNTOFSUBSTANCEMEASURE"}}e.IfcAmountOfSubstanceMeasure=n;class s extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCANGULARVELOCITYMEASURE"}}e.IfcAngularVelocityMeasure=s;class o{constructor(w){this.value=w,this.type=5}}e.IfcArcIndex=o;class r extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCAREADENSITYMEASURE"}}e.IfcAreaDensityMeasure=r;class l extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCAREAMEASURE"}}e.IfcAreaMeasure=l;class d extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCBINARY"}}e.IfcBinary=d;class h{constructor(w){this.type=3,this.name="IFCBOOLEAN",this.value=w}}e.IfcBoolean=h;class p{constructor(w){this.value=w,this.type=1,this.name="IFCBOXALIGNMENT"}}e.IfcBoxAlignment=p;class I extends mt{constructor(){super(...arguments),this.type=10,this.name="IFCCARDINALPOINTREFERENCE"}}e.IfcCardinalPointReference=I;class m{constructor(w){this.value=w,this.type=4}}e.IfcComplexNumber=m;class y{constructor(w){this.value=w,this.type=10}}e.IfcCompoundPlaneAngleMeasure=y;class T extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCCONTEXTDEPENDENTMEASURE"}}e.IfcContextDependentMeasure=T;class R extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCCOUNTMEASURE"}}e.IfcCountMeasure=R;class b extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCCURVATUREMEASURE"}}e.IfcCurvatureMeasure=b;class A{constructor(w){this.value=w,this.type=1,this.name="IFCDATE"}}e.IfcDate=A;class O{constructor(w){this.value=w,this.type=1,this.name="IFCDATETIME"}}e.IfcDateTime=O;class P extends mt{constructor(){super(...arguments),this.type=10,this.name="IFCDAYINMONTHNUMBER"}}e.IfcDayInMonthNumber=P;class U extends mt{constructor(){super(...arguments),this.type=10,this.name="IFCDAYINWEEKNUMBER"}}e.IfcDayInWeekNumber=U;class Z{constructor(w){this.value=w,this.type=1,this.name="IFCDESCRIPTIVEMEASURE"}}e.IfcDescriptiveMeasure=Z;class ne extends mt{constructor(){super(...arguments),this.type=10,this.name="IFCDIMENSIONCOUNT"}}e.IfcDimensionCount=ne;class K extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCDOSEEQUIVALENTMEASURE"}}e.IfcDoseEquivalentMeasure=K;class oe{constructor(w){this.value=w,this.type=1,this.name="IFCDURATION"}}e.IfcDuration=oe;class se extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCDYNAMICVISCOSITYMEASURE"}}e.IfcDynamicViscosityMeasure=se;class he extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCELECTRICCAPACITANCEMEASURE"}}e.IfcElectricCapacitanceMeasure=he;class Re extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCELECTRICCHARGEMEASURE"}}e.IfcElectricChargeMeasure=Re;class ee extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCELECTRICCONDUCTANCEMEASURE"}}e.IfcElectricConductanceMeasure=ee;class Ae extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCELECTRICCURRENTMEASURE"}}e.IfcElectricCurrentMeasure=Ae;class Ee extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCELECTRICRESISTANCEMEASURE"}}e.IfcElectricResistanceMeasure=Ee;class Ce extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCELECTRICVOLTAGEMEASURE"}}e.IfcElectricVoltageMeasure=Ce;class Qe extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCENERGYMEASURE"}}e.IfcEnergyMeasure=Qe;class qe{constructor(w){this.value=w,this.type=1,this.name="IFCFONTSTYLE"}}e.IfcFontStyle=qe;class St{constructor(w){this.value=w,this.type=1,this.name="IFCFONTVARIANT"}}e.IfcFontVariant=St;class $e{constructor(w){this.value=w,this.type=1,this.name="IFCFONTWEIGHT"}}e.IfcFontWeight=$e;class ke extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCFORCEMEASURE"}}e.IfcForceMeasure=ke;class It extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCFREQUENCYMEASURE"}}e.IfcFrequencyMeasure=It;class ft{constructor(w){this.value=w,this.type=1,this.name="IFCGLOBALLYUNIQUEID"}}e.IfcGloballyUniqueId=ft;class Dt extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCHEATFLUXDENSITYMEASURE"}}e.IfcHeatFluxDensityMeasure=Dt;class Zt extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCHEATINGVALUEMEASURE"}}e.IfcHeatingValueMeasure=Zt;class Ct{constructor(w){this.value=w,this.type=1,this.name="IFCIDENTIFIER"}}e.IfcIdentifier=Ct;class Ut extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCILLUMINANCEMEASURE"}}e.IfcIlluminanceMeasure=Ut;class ii extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCINDUCTANCEMEASURE"}}e.IfcInductanceMeasure=ii;class Vt extends mt{constructor(){super(...arguments),this.type=10,this.name="IFCINTEGER"}}e.IfcInteger=Vt;class Kt extends mt{constructor(){super(...arguments),this.type=10,this.name="IFCINTEGERCOUNTRATEMEASURE"}}e.IfcIntegerCountRateMeasure=Kt;class ui extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCIONCONCENTRATIONMEASURE"}}e.IfcIonConcentrationMeasure=ui;class jt extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCISOTHERMALMOISTURECAPACITYMEASURE"}}e.IfcIsothermalMoistureCapacityMeasure=jt;class Oe extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCKINEMATICVISCOSITYMEASURE"}}e.IfcKinematicViscosityMeasure=Oe;class Ft{constructor(w){this.value=w,this.type=1,this.name="IFCLABEL"}}e.IfcLabel=Ft;class ge{constructor(w){this.value=w,this.type=1,this.name="IFCLANGUAGEID"}}e.IfcLanguageId=ge;class Ue extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCLENGTHMEASURE"}}e.IfcLengthMeasure=Ue;class Pe{constructor(w){this.value=w,this.type=5}}e.IfcLineIndex=Pe;class Me extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCLINEARFORCEMEASURE"}}e.IfcLinearForceMeasure=Me;class ze extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCLINEARMOMENTMEASURE"}}e.IfcLinearMomentMeasure=ze;class pt extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCLINEARSTIFFNESSMEASURE"}}e.IfcLinearStiffnessMeasure=pt;class He extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCLINEARVELOCITYMEASURE"}}e.IfcLinearVelocityMeasure=He;class At{constructor(w){this.type=3,this.name="IFCLOGICAL",this.value=w}}e.IfcLogical=At;class Tt extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCLUMINOUSFLUXMEASURE"}}e.IfcLuminousFluxMeasure=Tt;class Lt extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCLUMINOUSINTENSITYDISTRIBUTIONMEASURE"}}e.IfcLuminousIntensityDistributionMeasure=Lt;class Ht extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCLUMINOUSINTENSITYMEASURE"}}e.IfcLuminousIntensityMeasure=Ht;class ri extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCMAGNETICFLUXDENSITYMEASURE"}}e.IfcMagneticFluxDensityMeasure=ri;class Xe extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCMAGNETICFLUXMEASURE"}}e.IfcMagneticFluxMeasure=Xe;class We extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCMASSDENSITYMEASURE"}}e.IfcMassDensityMeasure=We;class Mt extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCMASSFLOWRATEMEASURE"}}e.IfcMassFlowRateMeasure=Mt;class si extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCMASSMEASURE"}}e.IfcMassMeasure=si;class gi extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCMASSPERLENGTHMEASURE"}}e.IfcMassPerLengthMeasure=gi;class mi extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCMODULUSOFELASTICITYMEASURE"}}e.IfcModulusOfElasticityMeasure=mi;class bi extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCMODULUSOFLINEARSUBGRADEREACTIONMEASURE"}}e.IfcModulusOfLinearSubgradeReactionMeasure=bi;class Qt extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCMODULUSOFROTATIONALSUBGRADEREACTIONMEASURE"}}e.IfcModulusOfRotationalSubgradeReactionMeasure=Qt;class di extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCMODULUSOFSUBGRADEREACTIONMEASURE"}}e.IfcModulusOfSubgradeReactionMeasure=di;class Wi extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCMOISTUREDIFFUSIVITYMEASURE"}}e.IfcMoistureDiffusivityMeasure=Wi;class ki extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCMOLECULARWEIGHTMEASURE"}}e.IfcMolecularWeightMeasure=ki;class Pi extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCMOMENTOFINERTIAMEASURE"}}e.IfcMomentOfInertiaMeasure=Pi;class Di extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCMONETARYMEASURE"}}e.IfcMonetaryMeasure=Di;class dn extends mt{constructor(){super(...arguments),this.type=10,this.name="IFCMONTHINYEARNUMBER"}}e.IfcMonthInYearNumber=dn;class Ln extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCNONNEGATIVELENGTHMEASURE"}}e.IfcNonNegativeLengthMeasure=Ln;class Zi extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCNORMALISEDRATIOMEASURE"}}e.IfcNormalisedRatioMeasure=Zi;class kt extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCNUMERICMEASURE"}}e.IfcNumericMeasure=kt;class Gi extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCPHMEASURE"}}e.IfcPHMeasure=Gi;class wi extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCPARAMETERVALUE"}}e.IfcParameterValue=wi;class Qi extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCPLANARFORCEMEASURE"}}e.IfcPlanarForceMeasure=Qi;class Fi extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCPLANEANGLEMEASURE"}}e.IfcPlaneAngleMeasure=Fi;class Ci extends mt{constructor(){super(...arguments),this.type=10,this.name="IFCPOSITIVEINTEGER"}}e.IfcPositiveInteger=Ci;class cn extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCPOSITIVELENGTHMEASURE"}}e.IfcPositiveLengthMeasure=cn;class Un extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCPOSITIVEPLANEANGLEMEASURE"}}e.IfcPositivePlaneAngleMeasure=Un;class hn extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCPOSITIVERATIOMEASURE"}}e.IfcPositiveRatioMeasure=hn;class Rs extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCPOWERMEASURE"}}e.IfcPowerMeasure=Rs;class Wo{constructor(w){this.value=w,this.type=1,this.name="IFCPRESENTABLETEXT"}}e.IfcPresentableText=Wo;class Io extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCPRESSUREMEASURE"}}e.IfcPressureMeasure=Io;class ao{constructor(w){this.value=w,this.type=5}}e.IfcPropertySetDefinitionSet=ao;class Ma extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCRADIOACTIVITYMEASURE"}}e.IfcRadioActivityMeasure=Ma;class Yn extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCRATIOMEASURE"}}e.IfcRatioMeasure=Yn;class wu extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCREAL"}}e.IfcReal=wu;class mo extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCROTATIONALFREQUENCYMEASURE"}}e.IfcRotationalFrequencyMeasure=mo;class Ia extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCROTATIONALMASSMEASURE"}}e.IfcRotationalMassMeasure=Ia;class Er extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCROTATIONALSTIFFNESSMEASURE"}}e.IfcRotationalStiffnessMeasure=Er;class Vl extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCSECTIONMODULUSMEASURE"}}e.IfcSectionModulusMeasure=Vl;class Nr extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCSECTIONALAREAINTEGRALMEASURE"}}e.IfcSectionalAreaIntegralMeasure=Nr;class Ni extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCSHEARMODULUSMEASURE"}}e.IfcShearModulusMeasure=Ni;class _r extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCSOLIDANGLEMEASURE"}}e.IfcSolidAngleMeasure=_r;class Hc extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCSOUNDPOWERLEVELMEASURE"}}e.IfcSoundPowerLevelMeasure=Hc;class Dr extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCSOUNDPOWERMEASURE"}}e.IfcSoundPowerMeasure=Dr;class ma extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCSOUNDPRESSURELEVELMEASURE"}}e.IfcSoundPressureLevelMeasure=ma;class A0 extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCSOUNDPRESSUREMEASURE"}}e.IfcSoundPressureMeasure=A0;class Gc extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCSPECIFICHEATCAPACITYMEASURE"}}e.IfcSpecificHeatCapacityMeasure=Gc;class Vc extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCSPECULAREXPONENT"}}e.IfcSpecularExponent=Vc;class yo extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCSPECULARROUGHNESS"}}e.IfcSpecularRoughness=yo;class vu extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCTEMPERATUREGRADIENTMEASURE"}}e.IfcTemperatureGradientMeasure=vu;class Es extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCTEMPERATURERATEOFCHANGEMEASURE"}}e.IfcTemperatureRateOfChangeMeasure=Es;class ht{constructor(w){this.value=w,this.type=1,this.name="IFCTEXT"}}e.IfcText=ht;class qt{constructor(w){this.value=w,this.type=1,this.name="IFCTEXTALIGNMENT"}}e.IfcTextAlignment=qt;class ni{constructor(w){this.value=w,this.type=1,this.name="IFCTEXTDECORATION"}}e.IfcTextDecoration=ni;class ei{constructor(w){this.value=w,this.type=1,this.name="IFCTEXTFONTNAME"}}e.IfcTextFontName=ei;class Xt{constructor(w){this.value=w,this.type=1,this.name="IFCTEXTTRANSFORMATION"}}e.IfcTextTransformation=Xt;class ji extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCTHERMALADMITTANCEMEASURE"}}e.IfcThermalAdmittanceMeasure=ji;class rn extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCTHERMALCONDUCTIVITYMEASURE"}}e.IfcThermalConductivityMeasure=rn;class Ki extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCTHERMALEXPANSIONCOEFFICIENTMEASURE"}}e.IfcThermalExpansionCoefficientMeasure=Ki;class fn extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCTHERMALRESISTANCEMEASURE"}}e.IfcThermalResistanceMeasure=fn;class En extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCTHERMALTRANSMITTANCEMEASURE"}}e.IfcThermalTransmittanceMeasure=En;class zn extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCTHERMODYNAMICTEMPERATUREMEASURE"}}e.IfcThermodynamicTemperatureMeasure=zn;class Vn{constructor(w){this.value=w,this.type=1,this.name="IFCTIME"}}e.IfcTime=Vn;class wn extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCTIMEMEASURE"}}e.IfcTimeMeasure=wn;class Ds extends mt{constructor(){super(...arguments),this.type=10,this.name="IFCTIMESTAMP"}}e.IfcTimeStamp=Ds;class Ws extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCTORQUEMEASURE"}}e.IfcTorqueMeasure=Ws;class Ys{constructor(w){this.value=w,this.type=1,this.name="IFCURIREFERENCE"}}e.IfcURIReference=Ys;class hs extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCVAPORPERMEABILITYMEASURE"}}e.IfcVaporPermeabilityMeasure=hs;class uo extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCVOLUMEMEASURE"}}e.IfcVolumeMeasure=uo;class sn extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCVOLUMETRICFLOWRATEMEASURE"}}e.IfcVolumetricFlowRateMeasure=sn;class eo extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCWARPINGCONSTANTMEASURE"}}e.IfcWarpingConstantMeasure=eo;class Xn extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCWARPINGMOMENTMEASURE"}}e.IfcWarpingMomentMeasure=Xn;class Do{static{this.EMAIL={type:3,value:"EMAIL"}}static{this.FAX={type:3,value:"FAX"}}static{this.PHONE={type:3,value:"PHONE"}}static{this.POST={type:3,value:"POST"}}static{this.VERBAL={type:3,value:"VERBAL"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcActionRequestTypeEnum=Do;class lr{static{this.DEAD_LOAD_G={type:3,value:"DEAD_LOAD_G"}}static{this.COMPLETION_G1={type:3,value:"COMPLETION_G1"}}static{this.LIVE_LOAD_Q={type:3,value:"LIVE_LOAD_Q"}}static{this.SNOW_S={type:3,value:"SNOW_S"}}static{this.WIND_W={type:3,value:"WIND_W"}}static{this.PRESTRESSING_P={type:3,value:"PRESTRESSING_P"}}static{this.SETTLEMENT_U={type:3,value:"SETTLEMENT_U"}}static{this.TEMPERATURE_T={type:3,value:"TEMPERATURE_T"}}static{this.EARTHQUAKE_E={type:3,value:"EARTHQUAKE_E"}}static{this.FIRE={type:3,value:"FIRE"}}static{this.IMPULSE={type:3,value:"IMPULSE"}}static{this.IMPACT={type:3,value:"IMPACT"}}static{this.TRANSPORT={type:3,value:"TRANSPORT"}}static{this.ERECTION={type:3,value:"ERECTION"}}static{this.PROPPING={type:3,value:"PROPPING"}}static{this.SYSTEM_IMPERFECTION={type:3,value:"SYSTEM_IMPERFECTION"}}static{this.SHRINKAGE={type:3,value:"SHRINKAGE"}}static{this.CREEP={type:3,value:"CREEP"}}static{this.LACK_OF_FIT={type:3,value:"LACK_OF_FIT"}}static{this.BUOYANCY={type:3,value:"BUOYANCY"}}static{this.ICE={type:3,value:"ICE"}}static{this.CURRENT={type:3,value:"CURRENT"}}static{this.WAVE={type:3,value:"WAVE"}}static{this.RAIN={type:3,value:"RAIN"}}static{this.BRAKES={type:3,value:"BRAKES"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcActionSourceTypeEnum=lr;class Bo{static{this.PERMANENT_G={type:3,value:"PERMANENT_G"}}static{this.VARIABLE_Q={type:3,value:"VARIABLE_Q"}}static{this.EXTRAORDINARY_A={type:3,value:"EXTRAORDINARY_A"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcActionTypeEnum=Bo;class Fo{static{this.ELECTRICACTUATOR={type:3,value:"ELECTRICACTUATOR"}}static{this.HANDOPERATEDACTUATOR={type:3,value:"HANDOPERATEDACTUATOR"}}static{this.HYDRAULICACTUATOR={type:3,value:"HYDRAULICACTUATOR"}}static{this.PNEUMATICACTUATOR={type:3,value:"PNEUMATICACTUATOR"}}static{this.THERMOSTATICACTUATOR={type:3,value:"THERMOSTATICACTUATOR"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcActuatorTypeEnum=Fo;class rs{static{this.OFFICE={type:3,value:"OFFICE"}}static{this.SITE={type:3,value:"SITE"}}static{this.HOME={type:3,value:"HOME"}}static{this.DISTRIBUTIONPOINT={type:3,value:"DISTRIBUTIONPOINT"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}}e.IfcAddressTypeEnum=rs;class Ts{static{this.CONSTANTFLOW={type:3,value:"CONSTANTFLOW"}}static{this.VARIABLEFLOWPRESSUREDEPENDANT={type:3,value:"VARIABLEFLOWPRESSUREDEPENDANT"}}static{this.VARIABLEFLOWPRESSUREINDEPENDANT={type:3,value:"VARIABLEFLOWPRESSUREINDEPENDANT"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcAirTerminalBoxTypeEnum=Ts;class ls{static{this.DIFFUSER={type:3,value:"DIFFUSER"}}static{this.GRILLE={type:3,value:"GRILLE"}}static{this.LOUVRE={type:3,value:"LOUVRE"}}static{this.REGISTER={type:3,value:"REGISTER"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcAirTerminalTypeEnum=ls;class Ss{static{this.FIXEDPLATECOUNTERFLOWEXCHANGER={type:3,value:"FIXEDPLATECOUNTERFLOWEXCHANGER"}}static{this.FIXEDPLATECROSSFLOWEXCHANGER={type:3,value:"FIXEDPLATECROSSFLOWEXCHANGER"}}static{this.FIXEDPLATEPARALLELFLOWEXCHANGER={type:3,value:"FIXEDPLATEPARALLELFLOWEXCHANGER"}}static{this.ROTARYWHEEL={type:3,value:"ROTARYWHEEL"}}static{this.RUNAROUNDCOILLOOP={type:3,value:"RUNAROUNDCOILLOOP"}}static{this.HEATPIPE={type:3,value:"HEATPIPE"}}static{this.TWINTOWERENTHALPYRECOVERYLOOPS={type:3,value:"TWINTOWERENTHALPYRECOVERYLOOPS"}}static{this.THERMOSIPHONSEALEDTUBEHEATEXCHANGERS={type:3,value:"THERMOSIPHONSEALEDTUBEHEATEXCHANGERS"}}static{this.THERMOSIPHONCOILTYPEHEATEXCHANGERS={type:3,value:"THERMOSIPHONCOILTYPEHEATEXCHANGERS"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcAirToAirHeatRecoveryTypeEnum=Ss;class Tr{static{this.BELL={type:3,value:"BELL"}}static{this.BREAKGLASSBUTTON={type:3,value:"BREAKGLASSBUTTON"}}static{this.LIGHT={type:3,value:"LIGHT"}}static{this.MANUALPULLBOX={type:3,value:"MANUALPULLBOX"}}static{this.SIREN={type:3,value:"SIREN"}}static{this.WHISTLE={type:3,value:"WHISTLE"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcAlarmTypeEnum=Tr;class hr{static{this.IN_PLANE_LOADING_2D={type:3,value:"IN_PLANE_LOADING_2D"}}static{this.OUT_PLANE_LOADING_2D={type:3,value:"OUT_PLANE_LOADING_2D"}}static{this.LOADING_3D={type:3,value:"LOADING_3D"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcAnalysisModelTypeEnum=hr;class b0{static{this.FIRST_ORDER_THEORY={type:3,value:"FIRST_ORDER_THEORY"}}static{this.SECOND_ORDER_THEORY={type:3,value:"SECOND_ORDER_THEORY"}}static{this.THIRD_ORDER_THEORY={type:3,value:"THIRD_ORDER_THEORY"}}static{this.FULL_NONLINEAR_THEORY={type:3,value:"FULL_NONLINEAR_THEORY"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcAnalysisTheoryTypeEnum=b0;class N0{static{this.ADD={type:3,value:"ADD"}}static{this.DIVIDE={type:3,value:"DIVIDE"}}static{this.MULTIPLY={type:3,value:"MULTIPLY"}}static{this.SUBTRACT={type:3,value:"SUBTRACT"}}}e.IfcArithmeticOperatorEnum=N0;class th{static{this.SITE={type:3,value:"SITE"}}static{this.FACTORY={type:3,value:"FACTORY"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcAssemblyPlaceEnum=th;class kc{static{this.AMPLIFIER={type:3,value:"AMPLIFIER"}}static{this.CAMERA={type:3,value:"CAMERA"}}static{this.DISPLAY={type:3,value:"DISPLAY"}}static{this.MICROPHONE={type:3,value:"MICROPHONE"}}static{this.PLAYER={type:3,value:"PLAYER"}}static{this.PROJECTOR={type:3,value:"PROJECTOR"}}static{this.RECEIVER={type:3,value:"RECEIVER"}}static{this.SPEAKER={type:3,value:"SPEAKER"}}static{this.SWITCHER={type:3,value:"SWITCHER"}}static{this.TELEPHONE={type:3,value:"TELEPHONE"}}static{this.TUNER={type:3,value:"TUNER"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcAudioVisualApplianceTypeEnum=kc;class Jh{static{this.POLYLINE_FORM={type:3,value:"POLYLINE_FORM"}}static{this.CIRCULAR_ARC={type:3,value:"CIRCULAR_ARC"}}static{this.ELLIPTIC_ARC={type:3,value:"ELLIPTIC_ARC"}}static{this.PARABOLIC_ARC={type:3,value:"PARABOLIC_ARC"}}static{this.HYPERBOLIC_ARC={type:3,value:"HYPERBOLIC_ARC"}}static{this.UNSPECIFIED={type:3,value:"UNSPECIFIED"}}}e.IfcBSplineCurveForm=Jh;class Xh{static{this.PLANE_SURF={type:3,value:"PLANE_SURF"}}static{this.CYLINDRICAL_SURF={type:3,value:"CYLINDRICAL_SURF"}}static{this.CONICAL_SURF={type:3,value:"CONICAL_SURF"}}static{this.SPHERICAL_SURF={type:3,value:"SPHERICAL_SURF"}}static{this.TOROIDAL_SURF={type:3,value:"TOROIDAL_SURF"}}static{this.SURF_OF_REVOLUTION={type:3,value:"SURF_OF_REVOLUTION"}}static{this.RULED_SURF={type:3,value:"RULED_SURF"}}static{this.GENERALISED_CONE={type:3,value:"GENERALISED_CONE"}}static{this.QUADRIC_SURF={type:3,value:"QUADRIC_SURF"}}static{this.SURF_OF_LINEAR_EXTRUSION={type:3,value:"SURF_OF_LINEAR_EXTRUSION"}}static{this.UNSPECIFIED={type:3,value:"UNSPECIFIED"}}}e.IfcBSplineSurfaceForm=Xh;class ih{static{this.BEAM={type:3,value:"BEAM"}}static{this.JOIST={type:3,value:"JOIST"}}static{this.HOLLOWCORE={type:3,value:"HOLLOWCORE"}}static{this.LINTEL={type:3,value:"LINTEL"}}static{this.SPANDREL={type:3,value:"SPANDREL"}}static{this.T_BEAM={type:3,value:"T_BEAM"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcBeamTypeEnum=ih;class nh{static{this.GREATERTHAN={type:3,value:"GREATERTHAN"}}static{this.GREATERTHANOREQUALTO={type:3,value:"GREATERTHANOREQUALTO"}}static{this.LESSTHAN={type:3,value:"LESSTHAN"}}static{this.LESSTHANOREQUALTO={type:3,value:"LESSTHANOREQUALTO"}}static{this.EQUALTO={type:3,value:"EQUALTO"}}static{this.NOTEQUALTO={type:3,value:"NOTEQUALTO"}}static{this.INCLUDES={type:3,value:"INCLUDES"}}static{this.NOTINCLUDES={type:3,value:"NOTINCLUDES"}}static{this.INCLUDEDIN={type:3,value:"INCLUDEDIN"}}static{this.NOTINCLUDEDIN={type:3,value:"NOTINCLUDEDIN"}}}e.IfcBenchmarkEnum=nh;class pI{static{this.WATER={type:3,value:"WATER"}}static{this.STEAM={type:3,value:"STEAM"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcBoilerTypeEnum=pI;class _0{static{this.UNION={type:3,value:"UNION"}}static{this.INTERSECTION={type:3,value:"INTERSECTION"}}static{this.DIFFERENCE={type:3,value:"DIFFERENCE"}}}e.IfcBooleanOperator=_0;class to{static{this.INSULATION={type:3,value:"INSULATION"}}static{this.PRECASTPANEL={type:3,value:"PRECASTPANEL"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcBuildingElementPartTypeEnum=to;class Jf{static{this.COMPLEX={type:3,value:"COMPLEX"}}static{this.ELEMENT={type:3,value:"ELEMENT"}}static{this.PARTIAL={type:3,value:"PARTIAL"}}static{this.PROVISIONFORVOID={type:3,value:"PROVISIONFORVOID"}}static{this.PROVISIONFORSPACE={type:3,value:"PROVISIONFORSPACE"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcBuildingElementProxyTypeEnum=Jf;class io{static{this.FENESTRATION={type:3,value:"FENESTRATION"}}static{this.FOUNDATION={type:3,value:"FOUNDATION"}}static{this.LOADBEARING={type:3,value:"LOADBEARING"}}static{this.OUTERSHELL={type:3,value:"OUTERSHELL"}}static{this.SHADING={type:3,value:"SHADING"}}static{this.TRANSPORT={type:3,value:"TRANSPORT"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcBuildingSystemTypeEnum=io;class sh{static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcBurnerTypeEnum=sh;class U1{static{this.BEND={type:3,value:"BEND"}}static{this.CROSS={type:3,value:"CROSS"}}static{this.REDUCER={type:3,value:"REDUCER"}}static{this.TEE={type:3,value:"TEE"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcCableCarrierFittingTypeEnum=U1;class ef{static{this.CABLELADDERSEGMENT={type:3,value:"CABLELADDERSEGMENT"}}static{this.CABLETRAYSEGMENT={type:3,value:"CABLETRAYSEGMENT"}}static{this.CABLETRUNKINGSEGMENT={type:3,value:"CABLETRUNKINGSEGMENT"}}static{this.CONDUITSEGMENT={type:3,value:"CONDUITSEGMENT"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcCableCarrierSegmentTypeEnum=ef;class Xf{static{this.CONNECTOR={type:3,value:"CONNECTOR"}}static{this.ENTRY={type:3,value:"ENTRY"}}static{this.EXIT={type:3,value:"EXIT"}}static{this.JUNCTION={type:3,value:"JUNCTION"}}static{this.TRANSITION={type:3,value:"TRANSITION"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcCableFittingTypeEnum=Xf;class bt{static{this.BUSBARSEGMENT={type:3,value:"BUSBARSEGMENT"}}static{this.CABLESEGMENT={type:3,value:"CABLESEGMENT"}}static{this.CONDUCTORSEGMENT={type:3,value:"CONDUCTORSEGMENT"}}static{this.CORESEGMENT={type:3,value:"CORESEGMENT"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcCableSegmentTypeEnum=bt;class vi{static{this.NOCHANGE={type:3,value:"NOCHANGE"}}static{this.MODIFIED={type:3,value:"MODIFIED"}}static{this.ADDED={type:3,value:"ADDED"}}static{this.DELETED={type:3,value:"DELETED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcChangeActionEnum=vi;class zi{static{this.AIRCOOLED={type:3,value:"AIRCOOLED"}}static{this.WATERCOOLED={type:3,value:"WATERCOOLED"}}static{this.HEATRECOVERY={type:3,value:"HEATRECOVERY"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcChillerTypeEnum=zi;class Rn{static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcChimneyTypeEnum=Rn;class _n{static{this.DXCOOLINGCOIL={type:3,value:"DXCOOLINGCOIL"}}static{this.ELECTRICHEATINGCOIL={type:3,value:"ELECTRICHEATINGCOIL"}}static{this.GASHEATINGCOIL={type:3,value:"GASHEATINGCOIL"}}static{this.HYDRONICCOIL={type:3,value:"HYDRONICCOIL"}}static{this.STEAMHEATINGCOIL={type:3,value:"STEAMHEATINGCOIL"}}static{this.WATERCOOLINGCOIL={type:3,value:"WATERCOOLINGCOIL"}}static{this.WATERHEATINGCOIL={type:3,value:"WATERHEATINGCOIL"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcCoilTypeEnum=_n;class Cn{static{this.COLUMN={type:3,value:"COLUMN"}}static{this.PILASTER={type:3,value:"PILASTER"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcColumnTypeEnum=Cn;class Wn{static{this.ANTENNA={type:3,value:"ANTENNA"}}static{this.COMPUTER={type:3,value:"COMPUTER"}}static{this.FAX={type:3,value:"FAX"}}static{this.GATEWAY={type:3,value:"GATEWAY"}}static{this.MODEM={type:3,value:"MODEM"}}static{this.NETWORKAPPLIANCE={type:3,value:"NETWORKAPPLIANCE"}}static{this.NETWORKBRIDGE={type:3,value:"NETWORKBRIDGE"}}static{this.NETWORKHUB={type:3,value:"NETWORKHUB"}}static{this.PRINTER={type:3,value:"PRINTER"}}static{this.REPEATER={type:3,value:"REPEATER"}}static{this.ROUTER={type:3,value:"ROUTER"}}static{this.SCANNER={type:3,value:"SCANNER"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcCommunicationsApplianceTypeEnum=Wn;class An{static{this.P_COMPLEX={type:3,value:"P_COMPLEX"}}static{this.Q_COMPLEX={type:3,value:"Q_COMPLEX"}}}e.IfcComplexPropertyTemplateTypeEnum=An;class js{static{this.DYNAMIC={type:3,value:"DYNAMIC"}}static{this.RECIPROCATING={type:3,value:"RECIPROCATING"}}static{this.ROTARY={type:3,value:"ROTARY"}}static{this.SCROLL={type:3,value:"SCROLL"}}static{this.TROCHOIDAL={type:3,value:"TROCHOIDAL"}}static{this.SINGLESTAGE={type:3,value:"SINGLESTAGE"}}static{this.BOOSTER={type:3,value:"BOOSTER"}}static{this.OPENTYPE={type:3,value:"OPENTYPE"}}static{this.HERMETIC={type:3,value:"HERMETIC"}}static{this.SEMIHERMETIC={type:3,value:"SEMIHERMETIC"}}static{this.WELDEDSHELLHERMETIC={type:3,value:"WELDEDSHELLHERMETIC"}}static{this.ROLLINGPISTON={type:3,value:"ROLLINGPISTON"}}static{this.ROTARYVANE={type:3,value:"ROTARYVANE"}}static{this.SINGLESCREW={type:3,value:"SINGLESCREW"}}static{this.TWINSCREW={type:3,value:"TWINSCREW"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcCompressorTypeEnum=js;class Uo{static{this.AIRCOOLED={type:3,value:"AIRCOOLED"}}static{this.EVAPORATIVECOOLED={type:3,value:"EVAPORATIVECOOLED"}}static{this.WATERCOOLED={type:3,value:"WATERCOOLED"}}static{this.WATERCOOLEDBRAZEDPLATE={type:3,value:"WATERCOOLEDBRAZEDPLATE"}}static{this.WATERCOOLEDSHELLCOIL={type:3,value:"WATERCOOLEDSHELLCOIL"}}static{this.WATERCOOLEDSHELLTUBE={type:3,value:"WATERCOOLEDSHELLTUBE"}}static{this.WATERCOOLEDTUBEINTUBE={type:3,value:"WATERCOOLEDTUBEINTUBE"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcCondenserTypeEnum=Uo;class Yo{static{this.ATPATH={type:3,value:"ATPATH"}}static{this.ATSTART={type:3,value:"ATSTART"}}static{this.ATEND={type:3,value:"ATEND"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcConnectionTypeEnum=Yo;class ya{static{this.HARD={type:3,value:"HARD"}}static{this.SOFT={type:3,value:"SOFT"}}static{this.ADVISORY={type:3,value:"ADVISORY"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcConstraintEnum=ya;class D0{static{this.DEMOLISHING={type:3,value:"DEMOLISHING"}}static{this.EARTHMOVING={type:3,value:"EARTHMOVING"}}static{this.ERECTING={type:3,value:"ERECTING"}}static{this.HEATING={type:3,value:"HEATING"}}static{this.LIGHTING={type:3,value:"LIGHTING"}}static{this.PAVING={type:3,value:"PAVING"}}static{this.PUMPING={type:3,value:"PUMPING"}}static{this.TRANSPORTING={type:3,value:"TRANSPORTING"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcConstructionEquipmentResourceTypeEnum=D0;class ep{static{this.AGGREGATES={type:3,value:"AGGREGATES"}}static{this.CONCRETE={type:3,value:"CONCRETE"}}static{this.DRYWALL={type:3,value:"DRYWALL"}}static{this.FUEL={type:3,value:"FUEL"}}static{this.GYPSUM={type:3,value:"GYPSUM"}}static{this.MASONRY={type:3,value:"MASONRY"}}static{this.METAL={type:3,value:"METAL"}}static{this.PLASTIC={type:3,value:"PLASTIC"}}static{this.WOOD={type:3,value:"WOOD"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}}e.IfcConstructionMaterialResourceTypeEnum=ep;class NE{static{this.ASSEMBLY={type:3,value:"ASSEMBLY"}}static{this.FORMWORK={type:3,value:"FORMWORK"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcConstructionProductResourceTypeEnum=NE;class H1{static{this.FLOATING={type:3,value:"FLOATING"}}static{this.PROGRAMMABLE={type:3,value:"PROGRAMMABLE"}}static{this.PROPORTIONAL={type:3,value:"PROPORTIONAL"}}static{this.MULTIPOSITION={type:3,value:"MULTIPOSITION"}}static{this.TWOPOSITION={type:3,value:"TWOPOSITION"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcControllerTypeEnum=H1;class kl{static{this.ACTIVE={type:3,value:"ACTIVE"}}static{this.PASSIVE={type:3,value:"PASSIVE"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcCooledBeamTypeEnum=kl;class Ru{static{this.NATURALDRAFT={type:3,value:"NATURALDRAFT"}}static{this.MECHANICALINDUCEDDRAFT={type:3,value:"MECHANICALINDUCEDDRAFT"}}static{this.MECHANICALFORCEDDRAFT={type:3,value:"MECHANICALFORCEDDRAFT"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcCoolingTowerTypeEnum=Ru;class Ea{static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcCostItemTypeEnum=Ea;class _E{static{this.BUDGET={type:3,value:"BUDGET"}}static{this.COSTPLAN={type:3,value:"COSTPLAN"}}static{this.ESTIMATE={type:3,value:"ESTIMATE"}}static{this.TENDER={type:3,value:"TENDER"}}static{this.PRICEDBILLOFQUANTITIES={type:3,value:"PRICEDBILLOFQUANTITIES"}}static{this.UNPRICEDBILLOFQUANTITIES={type:3,value:"UNPRICEDBILLOFQUANTITIES"}}static{this.SCHEDULEOFRATES={type:3,value:"SCHEDULEOFRATES"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcCostScheduleTypeEnum=_E;class j3{static{this.CEILING={type:3,value:"CEILING"}}static{this.FLOORING={type:3,value:"FLOORING"}}static{this.CLADDING={type:3,value:"CLADDING"}}static{this.ROOFING={type:3,value:"ROOFING"}}static{this.MOLDING={type:3,value:"MOLDING"}}static{this.SKIRTINGBOARD={type:3,value:"SKIRTINGBOARD"}}static{this.INSULATION={type:3,value:"INSULATION"}}static{this.MEMBRANE={type:3,value:"MEMBRANE"}}static{this.SLEEVING={type:3,value:"SLEEVING"}}static{this.WRAPPING={type:3,value:"WRAPPING"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcCoveringTypeEnum=j3;class q3{static{this.OFFICE={type:3,value:"OFFICE"}}static{this.SITE={type:3,value:"SITE"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcCrewResourceTypeEnum=q3;class II{static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcCurtainWallTypeEnum=II;class $3{static{this.LINEAR={type:3,value:"LINEAR"}}static{this.LOG_LINEAR={type:3,value:"LOG_LINEAR"}}static{this.LOG_LOG={type:3,value:"LOG_LOG"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcCurveInterpolationEnum=$3;class i4{static{this.BACKDRAFTDAMPER={type:3,value:"BACKDRAFTDAMPER"}}static{this.BALANCINGDAMPER={type:3,value:"BALANCINGDAMPER"}}static{this.BLASTDAMPER={type:3,value:"BLASTDAMPER"}}static{this.CONTROLDAMPER={type:3,value:"CONTROLDAMPER"}}static{this.FIREDAMPER={type:3,value:"FIREDAMPER"}}static{this.FIRESMOKEDAMPER={type:3,value:"FIRESMOKEDAMPER"}}static{this.FUMEHOODEXHAUST={type:3,value:"FUMEHOODEXHAUST"}}static{this.GRAVITYDAMPER={type:3,value:"GRAVITYDAMPER"}}static{this.GRAVITYRELIEFDAMPER={type:3,value:"GRAVITYRELIEFDAMPER"}}static{this.RELIEFDAMPER={type:3,value:"RELIEFDAMPER"}}static{this.SMOKEDAMPER={type:3,value:"SMOKEDAMPER"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcDamperTypeEnum=i4;class Z3{static{this.MEASURED={type:3,value:"MEASURED"}}static{this.PREDICTED={type:3,value:"PREDICTED"}}static{this.SIMULATED={type:3,value:"SIMULATED"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcDataOriginEnum=Z3;class DE{static{this.ANGULARVELOCITYUNIT={type:3,value:"ANGULARVELOCITYUNIT"}}static{this.AREADENSITYUNIT={type:3,value:"AREADENSITYUNIT"}}static{this.COMPOUNDPLANEANGLEUNIT={type:3,value:"COMPOUNDPLANEANGLEUNIT"}}static{this.DYNAMICVISCOSITYUNIT={type:3,value:"DYNAMICVISCOSITYUNIT"}}static{this.HEATFLUXDENSITYUNIT={type:3,value:"HEATFLUXDENSITYUNIT"}}static{this.INTEGERCOUNTRATEUNIT={type:3,value:"INTEGERCOUNTRATEUNIT"}}static{this.ISOTHERMALMOISTURECAPACITYUNIT={type:3,value:"ISOTHERMALMOISTURECAPACITYUNIT"}}static{this.KINEMATICVISCOSITYUNIT={type:3,value:"KINEMATICVISCOSITYUNIT"}}static{this.LINEARVELOCITYUNIT={type:3,value:"LINEARVELOCITYUNIT"}}static{this.MASSDENSITYUNIT={type:3,value:"MASSDENSITYUNIT"}}static{this.MASSFLOWRATEUNIT={type:3,value:"MASSFLOWRATEUNIT"}}static{this.MOISTUREDIFFUSIVITYUNIT={type:3,value:"MOISTUREDIFFUSIVITYUNIT"}}static{this.MOLECULARWEIGHTUNIT={type:3,value:"MOLECULARWEIGHTUNIT"}}static{this.SPECIFICHEATCAPACITYUNIT={type:3,value:"SPECIFICHEATCAPACITYUNIT"}}static{this.THERMALADMITTANCEUNIT={type:3,value:"THERMALADMITTANCEUNIT"}}static{this.THERMALCONDUCTANCEUNIT={type:3,value:"THERMALCONDUCTANCEUNIT"}}static{this.THERMALRESISTANCEUNIT={type:3,value:"THERMALRESISTANCEUNIT"}}static{this.THERMALTRANSMITTANCEUNIT={type:3,value:"THERMALTRANSMITTANCEUNIT"}}static{this.VAPORPERMEABILITYUNIT={type:3,value:"VAPORPERMEABILITYUNIT"}}static{this.VOLUMETRICFLOWRATEUNIT={type:3,value:"VOLUMETRICFLOWRATEUNIT"}}static{this.ROTATIONALFREQUENCYUNIT={type:3,value:"ROTATIONALFREQUENCYUNIT"}}static{this.TORQUEUNIT={type:3,value:"TORQUEUNIT"}}static{this.MOMENTOFINERTIAUNIT={type:3,value:"MOMENTOFINERTIAUNIT"}}static{this.LINEARMOMENTUNIT={type:3,value:"LINEARMOMENTUNIT"}}static{this.LINEARFORCEUNIT={type:3,value:"LINEARFORCEUNIT"}}static{this.PLANARFORCEUNIT={type:3,value:"PLANARFORCEUNIT"}}static{this.MODULUSOFELASTICITYUNIT={type:3,value:"MODULUSOFELASTICITYUNIT"}}static{this.SHEARMODULUSUNIT={type:3,value:"SHEARMODULUSUNIT"}}static{this.LINEARSTIFFNESSUNIT={type:3,value:"LINEARSTIFFNESSUNIT"}}static{this.ROTATIONALSTIFFNESSUNIT={type:3,value:"ROTATIONALSTIFFNESSUNIT"}}static{this.MODULUSOFSUBGRADEREACTIONUNIT={type:3,value:"MODULUSOFSUBGRADEREACTIONUNIT"}}static{this.ACCELERATIONUNIT={type:3,value:"ACCELERATIONUNIT"}}static{this.CURVATUREUNIT={type:3,value:"CURVATUREUNIT"}}static{this.HEATINGVALUEUNIT={type:3,value:"HEATINGVALUEUNIT"}}static{this.IONCONCENTRATIONUNIT={type:3,value:"IONCONCENTRATIONUNIT"}}static{this.LUMINOUSINTENSITYDISTRIBUTIONUNIT={type:3,value:"LUMINOUSINTENSITYDISTRIBUTIONUNIT"}}static{this.MASSPERLENGTHUNIT={type:3,value:"MASSPERLENGTHUNIT"}}static{this.MODULUSOFLINEARSUBGRADEREACTIONUNIT={type:3,value:"MODULUSOFLINEARSUBGRADEREACTIONUNIT"}}static{this.MODULUSOFROTATIONALSUBGRADEREACTIONUNIT={type:3,value:"MODULUSOFROTATIONALSUBGRADEREACTIONUNIT"}}static{this.PHUNIT={type:3,value:"PHUNIT"}}static{this.ROTATIONALMASSUNIT={type:3,value:"ROTATIONALMASSUNIT"}}static{this.SECTIONAREAINTEGRALUNIT={type:3,value:"SECTIONAREAINTEGRALUNIT"}}static{this.SECTIONMODULUSUNIT={type:3,value:"SECTIONMODULUSUNIT"}}static{this.SOUNDPOWERLEVELUNIT={type:3,value:"SOUNDPOWERLEVELUNIT"}}static{this.SOUNDPOWERUNIT={type:3,value:"SOUNDPOWERUNIT"}}static{this.SOUNDPRESSURELEVELUNIT={type:3,value:"SOUNDPRESSURELEVELUNIT"}}static{this.SOUNDPRESSUREUNIT={type:3,value:"SOUNDPRESSUREUNIT"}}static{this.TEMPERATUREGRADIENTUNIT={type:3,value:"TEMPERATUREGRADIENTUNIT"}}static{this.TEMPERATURERATEOFCHANGEUNIT={type:3,value:"TEMPERATURERATEOFCHANGEUNIT"}}static{this.THERMALEXPANSIONCOEFFICIENTUNIT={type:3,value:"THERMALEXPANSIONCOEFFICIENTUNIT"}}static{this.WARPINGCONSTANTUNIT={type:3,value:"WARPINGCONSTANTUNIT"}}static{this.WARPINGMOMENTUNIT={type:3,value:"WARPINGMOMENTUNIT"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}}e.IfcDerivedUnitEnum=DE;class n4{static{this.POSITIVE={type:3,value:"POSITIVE"}}static{this.NEGATIVE={type:3,value:"NEGATIVE"}}}e.IfcDirectionSenseEnum=n4;class CE{static{this.ANCHORPLATE={type:3,value:"ANCHORPLATE"}}static{this.BRACKET={type:3,value:"BRACKET"}}static{this.SHOE={type:3,value:"SHOE"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcDiscreteAccessoryTypeEnum=CE;class s4{static{this.FORMEDDUCT={type:3,value:"FORMEDDUCT"}}static{this.INSPECTIONCHAMBER={type:3,value:"INSPECTIONCHAMBER"}}static{this.INSPECTIONPIT={type:3,value:"INSPECTIONPIT"}}static{this.MANHOLE={type:3,value:"MANHOLE"}}static{this.METERCHAMBER={type:3,value:"METERCHAMBER"}}static{this.SUMP={type:3,value:"SUMP"}}static{this.TRENCH={type:3,value:"TRENCH"}}static{this.VALVECHAMBER={type:3,value:"VALVECHAMBER"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcDistributionChamberElementTypeEnum=s4;class o4{static{this.CABLE={type:3,value:"CABLE"}}static{this.CABLECARRIER={type:3,value:"CABLECARRIER"}}static{this.DUCT={type:3,value:"DUCT"}}static{this.PIPE={type:3,value:"PIPE"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcDistributionPortTypeEnum=o4;class r4{static{this.AIRCONDITIONING={type:3,value:"AIRCONDITIONING"}}static{this.AUDIOVISUAL={type:3,value:"AUDIOVISUAL"}}static{this.CHEMICAL={type:3,value:"CHEMICAL"}}static{this.CHILLEDWATER={type:3,value:"CHILLEDWATER"}}static{this.COMMUNICATION={type:3,value:"COMMUNICATION"}}static{this.COMPRESSEDAIR={type:3,value:"COMPRESSEDAIR"}}static{this.CONDENSERWATER={type:3,value:"CONDENSERWATER"}}static{this.CONTROL={type:3,value:"CONTROL"}}static{this.CONVEYING={type:3,value:"CONVEYING"}}static{this.DATA={type:3,value:"DATA"}}static{this.DISPOSAL={type:3,value:"DISPOSAL"}}static{this.DOMESTICCOLDWATER={type:3,value:"DOMESTICCOLDWATER"}}static{this.DOMESTICHOTWATER={type:3,value:"DOMESTICHOTWATER"}}static{this.DRAINAGE={type:3,value:"DRAINAGE"}}static{this.EARTHING={type:3,value:"EARTHING"}}static{this.ELECTRICAL={type:3,value:"ELECTRICAL"}}static{this.ELECTROACOUSTIC={type:3,value:"ELECTROACOUSTIC"}}static{this.EXHAUST={type:3,value:"EXHAUST"}}static{this.FIREPROTECTION={type:3,value:"FIREPROTECTION"}}static{this.FUEL={type:3,value:"FUEL"}}static{this.GAS={type:3,value:"GAS"}}static{this.HAZARDOUS={type:3,value:"HAZARDOUS"}}static{this.HEATING={type:3,value:"HEATING"}}static{this.LIGHTING={type:3,value:"LIGHTING"}}static{this.LIGHTNINGPROTECTION={type:3,value:"LIGHTNINGPROTECTION"}}static{this.MUNICIPALSOLIDWASTE={type:3,value:"MUNICIPALSOLIDWASTE"}}static{this.OIL={type:3,value:"OIL"}}static{this.OPERATIONAL={type:3,value:"OPERATIONAL"}}static{this.POWERGENERATION={type:3,value:"POWERGENERATION"}}static{this.RAINWATER={type:3,value:"RAINWATER"}}static{this.REFRIGERATION={type:3,value:"REFRIGERATION"}}static{this.SECURITY={type:3,value:"SECURITY"}}static{this.SEWAGE={type:3,value:"SEWAGE"}}static{this.SIGNAL={type:3,value:"SIGNAL"}}static{this.STORMWATER={type:3,value:"STORMWATER"}}static{this.TELEPHONE={type:3,value:"TELEPHONE"}}static{this.TV={type:3,value:"TV"}}static{this.VACUUM={type:3,value:"VACUUM"}}static{this.VENT={type:3,value:"VENT"}}static{this.VENTILATION={type:3,value:"VENTILATION"}}static{this.WASTEWATER={type:3,value:"WASTEWATER"}}static{this.WATERSUPPLY={type:3,value:"WATERSUPPLY"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcDistributionSystemEnum=r4;class l4{static{this.PUBLIC={type:3,value:"PUBLIC"}}static{this.RESTRICTED={type:3,value:"RESTRICTED"}}static{this.CONFIDENTIAL={type:3,value:"CONFIDENTIAL"}}static{this.PERSONAL={type:3,value:"PERSONAL"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcDocumentConfidentialityEnum=l4;class a4{static{this.DRAFT={type:3,value:"DRAFT"}}static{this.FINALDRAFT={type:3,value:"FINALDRAFT"}}static{this.FINAL={type:3,value:"FINAL"}}static{this.REVISION={type:3,value:"REVISION"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcDocumentStatusEnum=a4;class xE{static{this.SWINGING={type:3,value:"SWINGING"}}static{this.DOUBLE_ACTING={type:3,value:"DOUBLE_ACTING"}}static{this.SLIDING={type:3,value:"SLIDING"}}static{this.FOLDING={type:3,value:"FOLDING"}}static{this.REVOLVING={type:3,value:"REVOLVING"}}static{this.ROLLINGUP={type:3,value:"ROLLINGUP"}}static{this.FIXEDPANEL={type:3,value:"FIXEDPANEL"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcDoorPanelOperationEnum=xE;class u4{static{this.LEFT={type:3,value:"LEFT"}}static{this.MIDDLE={type:3,value:"MIDDLE"}}static{this.RIGHT={type:3,value:"RIGHT"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcDoorPanelPositionEnum=u4;class c4{static{this.ALUMINIUM={type:3,value:"ALUMINIUM"}}static{this.HIGH_GRADE_STEEL={type:3,value:"HIGH_GRADE_STEEL"}}static{this.STEEL={type:3,value:"STEEL"}}static{this.WOOD={type:3,value:"WOOD"}}static{this.ALUMINIUM_WOOD={type:3,value:"ALUMINIUM_WOOD"}}static{this.ALUMINIUM_PLASTIC={type:3,value:"ALUMINIUM_PLASTIC"}}static{this.PLASTIC={type:3,value:"PLASTIC"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcDoorStyleConstructionEnum=c4;class d4{static{this.SINGLE_SWING_LEFT={type:3,value:"SINGLE_SWING_LEFT"}}static{this.SINGLE_SWING_RIGHT={type:3,value:"SINGLE_SWING_RIGHT"}}static{this.DOUBLE_DOOR_SINGLE_SWING={type:3,value:"DOUBLE_DOOR_SINGLE_SWING"}}static{this.DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_LEFT={type:3,value:"DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_LEFT"}}static{this.DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_RIGHT={type:3,value:"DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_RIGHT"}}static{this.DOUBLE_SWING_LEFT={type:3,value:"DOUBLE_SWING_LEFT"}}static{this.DOUBLE_SWING_RIGHT={type:3,value:"DOUBLE_SWING_RIGHT"}}static{this.DOUBLE_DOOR_DOUBLE_SWING={type:3,value:"DOUBLE_DOOR_DOUBLE_SWING"}}static{this.SLIDING_TO_LEFT={type:3,value:"SLIDING_TO_LEFT"}}static{this.SLIDING_TO_RIGHT={type:3,value:"SLIDING_TO_RIGHT"}}static{this.DOUBLE_DOOR_SLIDING={type:3,value:"DOUBLE_DOOR_SLIDING"}}static{this.FOLDING_TO_LEFT={type:3,value:"FOLDING_TO_LEFT"}}static{this.FOLDING_TO_RIGHT={type:3,value:"FOLDING_TO_RIGHT"}}static{this.DOUBLE_DOOR_FOLDING={type:3,value:"DOUBLE_DOOR_FOLDING"}}static{this.REVOLVING={type:3,value:"REVOLVING"}}static{this.ROLLINGUP={type:3,value:"ROLLINGUP"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcDoorStyleOperationEnum=d4;class h4{static{this.DOOR={type:3,value:"DOOR"}}static{this.GATE={type:3,value:"GATE"}}static{this.TRAPDOOR={type:3,value:"TRAPDOOR"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcDoorTypeEnum=h4;class K3{static{this.SINGLE_SWING_LEFT={type:3,value:"SINGLE_SWING_LEFT"}}static{this.SINGLE_SWING_RIGHT={type:3,value:"SINGLE_SWING_RIGHT"}}static{this.DOUBLE_DOOR_SINGLE_SWING={type:3,value:"DOUBLE_DOOR_SINGLE_SWING"}}static{this.DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_LEFT={type:3,value:"DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_LEFT"}}static{this.DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_RIGHT={type:3,value:"DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_RIGHT"}}static{this.DOUBLE_SWING_LEFT={type:3,value:"DOUBLE_SWING_LEFT"}}static{this.DOUBLE_SWING_RIGHT={type:3,value:"DOUBLE_SWING_RIGHT"}}static{this.DOUBLE_DOOR_DOUBLE_SWING={type:3,value:"DOUBLE_DOOR_DOUBLE_SWING"}}static{this.SLIDING_TO_LEFT={type:3,value:"SLIDING_TO_LEFT"}}static{this.SLIDING_TO_RIGHT={type:3,value:"SLIDING_TO_RIGHT"}}static{this.DOUBLE_DOOR_SLIDING={type:3,value:"DOUBLE_DOOR_SLIDING"}}static{this.FOLDING_TO_LEFT={type:3,value:"FOLDING_TO_LEFT"}}static{this.FOLDING_TO_RIGHT={type:3,value:"FOLDING_TO_RIGHT"}}static{this.DOUBLE_DOOR_FOLDING={type:3,value:"DOUBLE_DOOR_FOLDING"}}static{this.REVOLVING={type:3,value:"REVOLVING"}}static{this.ROLLINGUP={type:3,value:"ROLLINGUP"}}static{this.SWING_FIXED_LEFT={type:3,value:"SWING_FIXED_LEFT"}}static{this.SWING_FIXED_RIGHT={type:3,value:"SWING_FIXED_RIGHT"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcDoorTypeOperationEnum=K3;class f4{static{this.BEND={type:3,value:"BEND"}}static{this.CONNECTOR={type:3,value:"CONNECTOR"}}static{this.ENTRY={type:3,value:"ENTRY"}}static{this.EXIT={type:3,value:"EXIT"}}static{this.JUNCTION={type:3,value:"JUNCTION"}}static{this.OBSTRUCTION={type:3,value:"OBSTRUCTION"}}static{this.TRANSITION={type:3,value:"TRANSITION"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcDuctFittingTypeEnum=f4;class OE{static{this.RIGIDSEGMENT={type:3,value:"RIGIDSEGMENT"}}static{this.FLEXIBLESEGMENT={type:3,value:"FLEXIBLESEGMENT"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcDuctSegmentTypeEnum=OE;class p4{static{this.FLATOVAL={type:3,value:"FLATOVAL"}}static{this.RECTANGULAR={type:3,value:"RECTANGULAR"}}static{this.ROUND={type:3,value:"ROUND"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcDuctSilencerTypeEnum=p4;class LE{static{this.DISHWASHER={type:3,value:"DISHWASHER"}}static{this.ELECTRICCOOKER={type:3,value:"ELECTRICCOOKER"}}static{this.FREESTANDINGELECTRICHEATER={type:3,value:"FREESTANDINGELECTRICHEATER"}}static{this.FREESTANDINGFAN={type:3,value:"FREESTANDINGFAN"}}static{this.FREESTANDINGWATERHEATER={type:3,value:"FREESTANDINGWATERHEATER"}}static{this.FREESTANDINGWATERCOOLER={type:3,value:"FREESTANDINGWATERCOOLER"}}static{this.FREEZER={type:3,value:"FREEZER"}}static{this.FRIDGE_FREEZER={type:3,value:"FRIDGE_FREEZER"}}static{this.HANDDRYER={type:3,value:"HANDDRYER"}}static{this.KITCHENMACHINE={type:3,value:"KITCHENMACHINE"}}static{this.MICROWAVE={type:3,value:"MICROWAVE"}}static{this.PHOTOCOPIER={type:3,value:"PHOTOCOPIER"}}static{this.REFRIGERATOR={type:3,value:"REFRIGERATOR"}}static{this.TUMBLEDRYER={type:3,value:"TUMBLEDRYER"}}static{this.VENDINGMACHINE={type:3,value:"VENDINGMACHINE"}}static{this.WASHINGMACHINE={type:3,value:"WASHINGMACHINE"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcElectricApplianceTypeEnum=LE;class G1{static{this.CONSUMERUNIT={type:3,value:"CONSUMERUNIT"}}static{this.DISTRIBUTIONBOARD={type:3,value:"DISTRIBUTIONBOARD"}}static{this.MOTORCONTROLCENTRE={type:3,value:"MOTORCONTROLCENTRE"}}static{this.SWITCHBOARD={type:3,value:"SWITCHBOARD"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcElectricDistributionBoardTypeEnum=G1;class I4{static{this.BATTERY={type:3,value:"BATTERY"}}static{this.CAPACITORBANK={type:3,value:"CAPACITORBANK"}}static{this.HARMONICFILTER={type:3,value:"HARMONICFILTER"}}static{this.INDUCTORBANK={type:3,value:"INDUCTORBANK"}}static{this.UPS={type:3,value:"UPS"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcElectricFlowStorageDeviceTypeEnum=I4;class PE{static{this.CHP={type:3,value:"CHP"}}static{this.ENGINEGENERATOR={type:3,value:"ENGINEGENERATOR"}}static{this.STANDALONE={type:3,value:"STANDALONE"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcElectricGeneratorTypeEnum=PE;class m4{static{this.DC={type:3,value:"DC"}}static{this.INDUCTION={type:3,value:"INDUCTION"}}static{this.POLYPHASE={type:3,value:"POLYPHASE"}}static{this.RELUCTANCESYNCHRONOUS={type:3,value:"RELUCTANCESYNCHRONOUS"}}static{this.SYNCHRONOUS={type:3,value:"SYNCHRONOUS"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcElectricMotorTypeEnum=m4;class y4{static{this.TIMECLOCK={type:3,value:"TIMECLOCK"}}static{this.TIMEDELAY={type:3,value:"TIMEDELAY"}}static{this.RELAY={type:3,value:"RELAY"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcElectricTimeControlTypeEnum=y4;class E4{static{this.ACCESSORY_ASSEMBLY={type:3,value:"ACCESSORY_ASSEMBLY"}}static{this.ARCH={type:3,value:"ARCH"}}static{this.BEAM_GRID={type:3,value:"BEAM_GRID"}}static{this.BRACED_FRAME={type:3,value:"BRACED_FRAME"}}static{this.GIRDER={type:3,value:"GIRDER"}}static{this.REINFORCEMENT_UNIT={type:3,value:"REINFORCEMENT_UNIT"}}static{this.RIGID_FRAME={type:3,value:"RIGID_FRAME"}}static{this.SLAB_FIELD={type:3,value:"SLAB_FIELD"}}static{this.TRUSS={type:3,value:"TRUSS"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcElementAssemblyTypeEnum=E4;class T4{static{this.COMPLEX={type:3,value:"COMPLEX"}}static{this.ELEMENT={type:3,value:"ELEMENT"}}static{this.PARTIAL={type:3,value:"PARTIAL"}}}e.IfcElementCompositionEnum=T4;class ME{static{this.EXTERNALCOMBUSTION={type:3,value:"EXTERNALCOMBUSTION"}}static{this.INTERNALCOMBUSTION={type:3,value:"INTERNALCOMBUSTION"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcEngineTypeEnum=ME;class g4{static{this.DIRECTEVAPORATIVERANDOMMEDIAAIRCOOLER={type:3,value:"DIRECTEVAPORATIVERANDOMMEDIAAIRCOOLER"}}static{this.DIRECTEVAPORATIVERIGIDMEDIAAIRCOOLER={type:3,value:"DIRECTEVAPORATIVERIGIDMEDIAAIRCOOLER"}}static{this.DIRECTEVAPORATIVESLINGERSPACKAGEDAIRCOOLER={type:3,value:"DIRECTEVAPORATIVESLINGERSPACKAGEDAIRCOOLER"}}static{this.DIRECTEVAPORATIVEPACKAGEDROTARYAIRCOOLER={type:3,value:"DIRECTEVAPORATIVEPACKAGEDROTARYAIRCOOLER"}}static{this.DIRECTEVAPORATIVEAIRWASHER={type:3,value:"DIRECTEVAPORATIVEAIRWASHER"}}static{this.INDIRECTEVAPORATIVEPACKAGEAIRCOOLER={type:3,value:"INDIRECTEVAPORATIVEPACKAGEAIRCOOLER"}}static{this.INDIRECTEVAPORATIVEWETCOIL={type:3,value:"INDIRECTEVAPORATIVEWETCOIL"}}static{this.INDIRECTEVAPORATIVECOOLINGTOWERORCOILCOOLER={type:3,value:"INDIRECTEVAPORATIVECOOLINGTOWERORCOILCOOLER"}}static{this.INDIRECTDIRECTCOMBINATION={type:3,value:"INDIRECTDIRECTCOMBINATION"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcEvaporativeCoolerTypeEnum=g4;class w4{static{this.DIRECTEXPANSION={type:3,value:"DIRECTEXPANSION"}}static{this.DIRECTEXPANSIONSHELLANDTUBE={type:3,value:"DIRECTEXPANSIONSHELLANDTUBE"}}static{this.DIRECTEXPANSIONTUBEINTUBE={type:3,value:"DIRECTEXPANSIONTUBEINTUBE"}}static{this.DIRECTEXPANSIONBRAZEDPLATE={type:3,value:"DIRECTEXPANSIONBRAZEDPLATE"}}static{this.FLOODEDSHELLANDTUBE={type:3,value:"FLOODEDSHELLANDTUBE"}}static{this.SHELLANDCOIL={type:3,value:"SHELLANDCOIL"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcEvaporatorTypeEnum=w4;class mI{static{this.EVENTRULE={type:3,value:"EVENTRULE"}}static{this.EVENTMESSAGE={type:3,value:"EVENTMESSAGE"}}static{this.EVENTTIME={type:3,value:"EVENTTIME"}}static{this.EVENTCOMPLEX={type:3,value:"EVENTCOMPLEX"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcEventTriggerTypeEnum=mI;class Q3{static{this.STARTEVENT={type:3,value:"STARTEVENT"}}static{this.ENDEVENT={type:3,value:"ENDEVENT"}}static{this.INTERMEDIATEEVENT={type:3,value:"INTERMEDIATEEVENT"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcEventTypeEnum=Q3;class BE{static{this.EXTERNAL={type:3,value:"EXTERNAL"}}static{this.EXTERNAL_EARTH={type:3,value:"EXTERNAL_EARTH"}}static{this.EXTERNAL_WATER={type:3,value:"EXTERNAL_WATER"}}static{this.EXTERNAL_FIRE={type:3,value:"EXTERNAL_FIRE"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcExternalSpatialElementTypeEnum=BE;class V1{static{this.CENTRIFUGALFORWARDCURVED={type:3,value:"CENTRIFUGALFORWARDCURVED"}}static{this.CENTRIFUGALRADIAL={type:3,value:"CENTRIFUGALRADIAL"}}static{this.CENTRIFUGALBACKWARDINCLINEDCURVED={type:3,value:"CENTRIFUGALBACKWARDINCLINEDCURVED"}}static{this.CENTRIFUGALAIRFOIL={type:3,value:"CENTRIFUGALAIRFOIL"}}static{this.TUBEAXIAL={type:3,value:"TUBEAXIAL"}}static{this.VANEAXIAL={type:3,value:"VANEAXIAL"}}static{this.PROPELLORAXIAL={type:3,value:"PROPELLORAXIAL"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcFanTypeEnum=V1;class v4{static{this.GLUE={type:3,value:"GLUE"}}static{this.MORTAR={type:3,value:"MORTAR"}}static{this.WELD={type:3,value:"WELD"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcFastenerTypeEnum=v4;class R4{static{this.AIRPARTICLEFILTER={type:3,value:"AIRPARTICLEFILTER"}}static{this.COMPRESSEDAIRFILTER={type:3,value:"COMPRESSEDAIRFILTER"}}static{this.ODORFILTER={type:3,value:"ODORFILTER"}}static{this.OILFILTER={type:3,value:"OILFILTER"}}static{this.STRAINER={type:3,value:"STRAINER"}}static{this.WATERFILTER={type:3,value:"WATERFILTER"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcFilterTypeEnum=R4;class S4{static{this.BREECHINGINLET={type:3,value:"BREECHINGINLET"}}static{this.FIREHYDRANT={type:3,value:"FIREHYDRANT"}}static{this.HOSEREEL={type:3,value:"HOSEREEL"}}static{this.SPRINKLER={type:3,value:"SPRINKLER"}}static{this.SPRINKLERDEFLECTOR={type:3,value:"SPRINKLERDEFLECTOR"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcFireSuppressionTerminalTypeEnum=S4;class A4{static{this.SOURCE={type:3,value:"SOURCE"}}static{this.SINK={type:3,value:"SINK"}}static{this.SOURCEANDSINK={type:3,value:"SOURCEANDSINK"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcFlowDirectionEnum=A4;class J3{static{this.PRESSUREGAUGE={type:3,value:"PRESSUREGAUGE"}}static{this.THERMOMETER={type:3,value:"THERMOMETER"}}static{this.AMMETER={type:3,value:"AMMETER"}}static{this.FREQUENCYMETER={type:3,value:"FREQUENCYMETER"}}static{this.POWERFACTORMETER={type:3,value:"POWERFACTORMETER"}}static{this.PHASEANGLEMETER={type:3,value:"PHASEANGLEMETER"}}static{this.VOLTMETER_PEAK={type:3,value:"VOLTMETER_PEAK"}}static{this.VOLTMETER_RMS={type:3,value:"VOLTMETER_RMS"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcFlowInstrumentTypeEnum=J3;class b4{static{this.ENERGYMETER={type:3,value:"ENERGYMETER"}}static{this.GASMETER={type:3,value:"GASMETER"}}static{this.OILMETER={type:3,value:"OILMETER"}}static{this.WATERMETER={type:3,value:"WATERMETER"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcFlowMeterTypeEnum=b4;class N4{static{this.CAISSON_FOUNDATION={type:3,value:"CAISSON_FOUNDATION"}}static{this.FOOTING_BEAM={type:3,value:"FOOTING_BEAM"}}static{this.PAD_FOOTING={type:3,value:"PAD_FOOTING"}}static{this.PILE_CAP={type:3,value:"PILE_CAP"}}static{this.STRIP_FOOTING={type:3,value:"STRIP_FOOTING"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcFootingTypeEnum=N4;class _4{static{this.CHAIR={type:3,value:"CHAIR"}}static{this.TABLE={type:3,value:"TABLE"}}static{this.DESK={type:3,value:"DESK"}}static{this.BED={type:3,value:"BED"}}static{this.FILECABINET={type:3,value:"FILECABINET"}}static{this.SHELF={type:3,value:"SHELF"}}static{this.SOFA={type:3,value:"SOFA"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcFurnitureTypeEnum=_4;class D4{static{this.TERRAIN={type:3,value:"TERRAIN"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcGeographicElementTypeEnum=D4;class C4{static{this.GRAPH_VIEW={type:3,value:"GRAPH_VIEW"}}static{this.SKETCH_VIEW={type:3,value:"SKETCH_VIEW"}}static{this.MODEL_VIEW={type:3,value:"MODEL_VIEW"}}static{this.PLAN_VIEW={type:3,value:"PLAN_VIEW"}}static{this.REFLECTED_PLAN_VIEW={type:3,value:"REFLECTED_PLAN_VIEW"}}static{this.SECTION_VIEW={type:3,value:"SECTION_VIEW"}}static{this.ELEVATION_VIEW={type:3,value:"ELEVATION_VIEW"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcGeometricProjectionEnum=C4;class x4{static{this.GLOBAL_COORDS={type:3,value:"GLOBAL_COORDS"}}static{this.LOCAL_COORDS={type:3,value:"LOCAL_COORDS"}}}e.IfcGlobalOrLocalEnum=x4;class O4{static{this.RECTANGULAR={type:3,value:"RECTANGULAR"}}static{this.RADIAL={type:3,value:"RADIAL"}}static{this.TRIANGULAR={type:3,value:"TRIANGULAR"}}static{this.IRREGULAR={type:3,value:"IRREGULAR"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcGridTypeEnum=O4;class L4{static{this.PLATE={type:3,value:"PLATE"}}static{this.SHELLANDTUBE={type:3,value:"SHELLANDTUBE"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcHeatExchangerTypeEnum=L4;class P4{static{this.STEAMINJECTION={type:3,value:"STEAMINJECTION"}}static{this.ADIABATICAIRWASHER={type:3,value:"ADIABATICAIRWASHER"}}static{this.ADIABATICPAN={type:3,value:"ADIABATICPAN"}}static{this.ADIABATICWETTEDELEMENT={type:3,value:"ADIABATICWETTEDELEMENT"}}static{this.ADIABATICATOMIZING={type:3,value:"ADIABATICATOMIZING"}}static{this.ADIABATICULTRASONIC={type:3,value:"ADIABATICULTRASONIC"}}static{this.ADIABATICRIGIDMEDIA={type:3,value:"ADIABATICRIGIDMEDIA"}}static{this.ADIABATICCOMPRESSEDAIRNOZZLE={type:3,value:"ADIABATICCOMPRESSEDAIRNOZZLE"}}static{this.ASSISTEDELECTRIC={type:3,value:"ASSISTEDELECTRIC"}}static{this.ASSISTEDNATURALGAS={type:3,value:"ASSISTEDNATURALGAS"}}static{this.ASSISTEDPROPANE={type:3,value:"ASSISTEDPROPANE"}}static{this.ASSISTEDBUTANE={type:3,value:"ASSISTEDBUTANE"}}static{this.ASSISTEDSTEAM={type:3,value:"ASSISTEDSTEAM"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcHumidifierTypeEnum=P4;class M4{static{this.CYCLONIC={type:3,value:"CYCLONIC"}}static{this.GREASE={type:3,value:"GREASE"}}static{this.OIL={type:3,value:"OIL"}}static{this.PETROL={type:3,value:"PETROL"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcInterceptorTypeEnum=M4;class FE{static{this.INTERNAL={type:3,value:"INTERNAL"}}static{this.EXTERNAL={type:3,value:"EXTERNAL"}}static{this.EXTERNAL_EARTH={type:3,value:"EXTERNAL_EARTH"}}static{this.EXTERNAL_WATER={type:3,value:"EXTERNAL_WATER"}}static{this.EXTERNAL_FIRE={type:3,value:"EXTERNAL_FIRE"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcInternalOrExternalEnum=FE;class B4{static{this.ASSETINVENTORY={type:3,value:"ASSETINVENTORY"}}static{this.SPACEINVENTORY={type:3,value:"SPACEINVENTORY"}}static{this.FURNITUREINVENTORY={type:3,value:"FURNITUREINVENTORY"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcInventoryTypeEnum=B4;class um{static{this.DATA={type:3,value:"DATA"}}static{this.POWER={type:3,value:"POWER"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcJunctionBoxTypeEnum=um;class F4{static{this.UNIFORM_KNOTS={type:3,value:"UNIFORM_KNOTS"}}static{this.QUASI_UNIFORM_KNOTS={type:3,value:"QUASI_UNIFORM_KNOTS"}}static{this.PIECEWISE_BEZIER_KNOTS={type:3,value:"PIECEWISE_BEZIER_KNOTS"}}static{this.UNSPECIFIED={type:3,value:"UNSPECIFIED"}}}e.IfcKnotType=F4;class cm{static{this.ADMINISTRATION={type:3,value:"ADMINISTRATION"}}static{this.CARPENTRY={type:3,value:"CARPENTRY"}}static{this.CLEANING={type:3,value:"CLEANING"}}static{this.CONCRETE={type:3,value:"CONCRETE"}}static{this.DRYWALL={type:3,value:"DRYWALL"}}static{this.ELECTRIC={type:3,value:"ELECTRIC"}}static{this.FINISHING={type:3,value:"FINISHING"}}static{this.FLOORING={type:3,value:"FLOORING"}}static{this.GENERAL={type:3,value:"GENERAL"}}static{this.HVAC={type:3,value:"HVAC"}}static{this.LANDSCAPING={type:3,value:"LANDSCAPING"}}static{this.MASONRY={type:3,value:"MASONRY"}}static{this.PAINTING={type:3,value:"PAINTING"}}static{this.PAVING={type:3,value:"PAVING"}}static{this.PLUMBING={type:3,value:"PLUMBING"}}static{this.ROOFING={type:3,value:"ROOFING"}}static{this.SITEGRADING={type:3,value:"SITEGRADING"}}static{this.STEELWORK={type:3,value:"STEELWORK"}}static{this.SURVEYING={type:3,value:"SURVEYING"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcLaborResourceTypeEnum=cm;class qs{static{this.COMPACTFLUORESCENT={type:3,value:"COMPACTFLUORESCENT"}}static{this.FLUORESCENT={type:3,value:"FLUORESCENT"}}static{this.HALOGEN={type:3,value:"HALOGEN"}}static{this.HIGHPRESSUREMERCURY={type:3,value:"HIGHPRESSUREMERCURY"}}static{this.HIGHPRESSURESODIUM={type:3,value:"HIGHPRESSURESODIUM"}}static{this.LED={type:3,value:"LED"}}static{this.METALHALIDE={type:3,value:"METALHALIDE"}}static{this.OLED={type:3,value:"OLED"}}static{this.TUNGSTENFILAMENT={type:3,value:"TUNGSTENFILAMENT"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcLampTypeEnum=qs;class X3{static{this.AXIS1={type:3,value:"AXIS1"}}static{this.AXIS2={type:3,value:"AXIS2"}}static{this.AXIS3={type:3,value:"AXIS3"}}}e.IfcLayerSetDirectionEnum=X3;class UE{static{this.TYPE_A={type:3,value:"TYPE_A"}}static{this.TYPE_B={type:3,value:"TYPE_B"}}static{this.TYPE_C={type:3,value:"TYPE_C"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcLightDistributionCurveEnum=UE;class yI{static{this.COMPACTFLUORESCENT={type:3,value:"COMPACTFLUORESCENT"}}static{this.FLUORESCENT={type:3,value:"FLUORESCENT"}}static{this.HIGHPRESSUREMERCURY={type:3,value:"HIGHPRESSUREMERCURY"}}static{this.HIGHPRESSURESODIUM={type:3,value:"HIGHPRESSURESODIUM"}}static{this.LIGHTEMITTINGDIODE={type:3,value:"LIGHTEMITTINGDIODE"}}static{this.LOWPRESSURESODIUM={type:3,value:"LOWPRESSURESODIUM"}}static{this.LOWVOLTAGEHALOGEN={type:3,value:"LOWVOLTAGEHALOGEN"}}static{this.MAINVOLTAGEHALOGEN={type:3,value:"MAINVOLTAGEHALOGEN"}}static{this.METALHALIDE={type:3,value:"METALHALIDE"}}static{this.TUNGSTENFILAMENT={type:3,value:"TUNGSTENFILAMENT"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcLightEmissionSourceEnum=yI;class HE{static{this.POINTSOURCE={type:3,value:"POINTSOURCE"}}static{this.DIRECTIONSOURCE={type:3,value:"DIRECTIONSOURCE"}}static{this.SECURITYLIGHTING={type:3,value:"SECURITYLIGHTING"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcLightFixtureTypeEnum=HE;class GE{static{this.LOAD_GROUP={type:3,value:"LOAD_GROUP"}}static{this.LOAD_CASE={type:3,value:"LOAD_CASE"}}static{this.LOAD_COMBINATION={type:3,value:"LOAD_COMBINATION"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcLoadGroupTypeEnum=GE;class U4{static{this.LOGICALAND={type:3,value:"LOGICALAND"}}static{this.LOGICALOR={type:3,value:"LOGICALOR"}}static{this.LOGICALXOR={type:3,value:"LOGICALXOR"}}static{this.LOGICALNOTAND={type:3,value:"LOGICALNOTAND"}}static{this.LOGICALNOTOR={type:3,value:"LOGICALNOTOR"}}}e.IfcLogicalOperatorEnum=U4;class oh{static{this.ANCHORBOLT={type:3,value:"ANCHORBOLT"}}static{this.BOLT={type:3,value:"BOLT"}}static{this.DOWEL={type:3,value:"DOWEL"}}static{this.NAIL={type:3,value:"NAIL"}}static{this.NAILPLATE={type:3,value:"NAILPLATE"}}static{this.RIVET={type:3,value:"RIVET"}}static{this.SCREW={type:3,value:"SCREW"}}static{this.SHEARCONNECTOR={type:3,value:"SHEARCONNECTOR"}}static{this.STAPLE={type:3,value:"STAPLE"}}static{this.STUDSHEARCONNECTOR={type:3,value:"STUDSHEARCONNECTOR"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcMechanicalFastenerTypeEnum=oh;class eg{static{this.AIRSTATION={type:3,value:"AIRSTATION"}}static{this.FEEDAIRUNIT={type:3,value:"FEEDAIRUNIT"}}static{this.OXYGENGENERATOR={type:3,value:"OXYGENGENERATOR"}}static{this.OXYGENPLANT={type:3,value:"OXYGENPLANT"}}static{this.VACUUMSTATION={type:3,value:"VACUUMSTATION"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcMedicalDeviceTypeEnum=eg;class fs{static{this.BRACE={type:3,value:"BRACE"}}static{this.CHORD={type:3,value:"CHORD"}}static{this.COLLAR={type:3,value:"COLLAR"}}static{this.MEMBER={type:3,value:"MEMBER"}}static{this.MULLION={type:3,value:"MULLION"}}static{this.PLATE={type:3,value:"PLATE"}}static{this.POST={type:3,value:"POST"}}static{this.PURLIN={type:3,value:"PURLIN"}}static{this.RAFTER={type:3,value:"RAFTER"}}static{this.STRINGER={type:3,value:"STRINGER"}}static{this.STRUT={type:3,value:"STRUT"}}static{this.STUD={type:3,value:"STUD"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcMemberTypeEnum=fs;class H4{static{this.BELTDRIVE={type:3,value:"BELTDRIVE"}}static{this.COUPLING={type:3,value:"COUPLING"}}static{this.DIRECTDRIVE={type:3,value:"DIRECTDRIVE"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcMotorConnectionTypeEnum=H4;class VE{static{this.NULL={type:3,value:"NULL"}}}e.IfcNullStyle=VE;class G4{static{this.PRODUCT={type:3,value:"PRODUCT"}}static{this.PROCESS={type:3,value:"PROCESS"}}static{this.CONTROL={type:3,value:"CONTROL"}}static{this.RESOURCE={type:3,value:"RESOURCE"}}static{this.ACTOR={type:3,value:"ACTOR"}}static{this.GROUP={type:3,value:"GROUP"}}static{this.PROJECT={type:3,value:"PROJECT"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcObjectTypeEnum=G4;class tg{static{this.CODECOMPLIANCE={type:3,value:"CODECOMPLIANCE"}}static{this.CODEWAIVER={type:3,value:"CODEWAIVER"}}static{this.DESIGNINTENT={type:3,value:"DESIGNINTENT"}}static{this.EXTERNAL={type:3,value:"EXTERNAL"}}static{this.HEALTHANDSAFETY={type:3,value:"HEALTHANDSAFETY"}}static{this.MERGECONFLICT={type:3,value:"MERGECONFLICT"}}static{this.MODELVIEW={type:3,value:"MODELVIEW"}}static{this.PARAMETER={type:3,value:"PARAMETER"}}static{this.REQUIREMENT={type:3,value:"REQUIREMENT"}}static{this.SPECIFICATION={type:3,value:"SPECIFICATION"}}static{this.TRIGGERCONDITION={type:3,value:"TRIGGERCONDITION"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcObjectiveEnum=tg;class kE{static{this.ASSIGNEE={type:3,value:"ASSIGNEE"}}static{this.ASSIGNOR={type:3,value:"ASSIGNOR"}}static{this.LESSEE={type:3,value:"LESSEE"}}static{this.LESSOR={type:3,value:"LESSOR"}}static{this.LETTINGAGENT={type:3,value:"LETTINGAGENT"}}static{this.OWNER={type:3,value:"OWNER"}}static{this.TENANT={type:3,value:"TENANT"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcOccupantTypeEnum=kE;class V4{static{this.OPENING={type:3,value:"OPENING"}}static{this.RECESS={type:3,value:"RECESS"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcOpeningElementTypeEnum=V4;class dm{static{this.AUDIOVISUALOUTLET={type:3,value:"AUDIOVISUALOUTLET"}}static{this.COMMUNICATIONSOUTLET={type:3,value:"COMMUNICATIONSOUTLET"}}static{this.POWEROUTLET={type:3,value:"POWEROUTLET"}}static{this.DATAOUTLET={type:3,value:"DATAOUTLET"}}static{this.TELEPHONEOUTLET={type:3,value:"TELEPHONEOUTLET"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcOutletTypeEnum=dm;class tf{static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcPerformanceHistoryTypeEnum=tf;class EI{static{this.GRILL={type:3,value:"GRILL"}}static{this.LOUVER={type:3,value:"LOUVER"}}static{this.SCREEN={type:3,value:"SCREEN"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcPermeableCoveringOperationEnum=EI;class Ls{static{this.ACCESS={type:3,value:"ACCESS"}}static{this.BUILDING={type:3,value:"BUILDING"}}static{this.WORK={type:3,value:"WORK"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcPermitTypeEnum=Ls;class tp{static{this.PHYSICAL={type:3,value:"PHYSICAL"}}static{this.VIRTUAL={type:3,value:"VIRTUAL"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcPhysicalOrVirtualEnum=tp;class zE{static{this.CAST_IN_PLACE={type:3,value:"CAST_IN_PLACE"}}static{this.COMPOSITE={type:3,value:"COMPOSITE"}}static{this.PRECAST_CONCRETE={type:3,value:"PRECAST_CONCRETE"}}static{this.PREFAB_STEEL={type:3,value:"PREFAB_STEEL"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcPileConstructionEnum=zE;class TI{static{this.BORED={type:3,value:"BORED"}}static{this.DRIVEN={type:3,value:"DRIVEN"}}static{this.JETGROUTING={type:3,value:"JETGROUTING"}}static{this.COHESION={type:3,value:"COHESION"}}static{this.FRICTION={type:3,value:"FRICTION"}}static{this.SUPPORT={type:3,value:"SUPPORT"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcPileTypeEnum=TI;class k1{static{this.BEND={type:3,value:"BEND"}}static{this.CONNECTOR={type:3,value:"CONNECTOR"}}static{this.ENTRY={type:3,value:"ENTRY"}}static{this.EXIT={type:3,value:"EXIT"}}static{this.JUNCTION={type:3,value:"JUNCTION"}}static{this.OBSTRUCTION={type:3,value:"OBSTRUCTION"}}static{this.TRANSITION={type:3,value:"TRANSITION"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcPipeFittingTypeEnum=k1;class WE{static{this.CULVERT={type:3,value:"CULVERT"}}static{this.FLEXIBLESEGMENT={type:3,value:"FLEXIBLESEGMENT"}}static{this.RIGIDSEGMENT={type:3,value:"RIGIDSEGMENT"}}static{this.GUTTER={type:3,value:"GUTTER"}}static{this.SPOOL={type:3,value:"SPOOL"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcPipeSegmentTypeEnum=WE;class ig{static{this.CURTAIN_PANEL={type:3,value:"CURTAIN_PANEL"}}static{this.SHEET={type:3,value:"SHEET"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcPlateTypeEnum=ig;class nf{static{this.CURVE3D={type:3,value:"CURVE3D"}}static{this.PCURVE_S1={type:3,value:"PCURVE_S1"}}static{this.PCURVE_S2={type:3,value:"PCURVE_S2"}}}e.IfcPreferredSurfaceCurveRepresentation=nf;class st{static{this.ADVICE_CAUTION={type:3,value:"ADVICE_CAUTION"}}static{this.ADVICE_NOTE={type:3,value:"ADVICE_NOTE"}}static{this.ADVICE_WARNING={type:3,value:"ADVICE_WARNING"}}static{this.CALIBRATION={type:3,value:"CALIBRATION"}}static{this.DIAGNOSTIC={type:3,value:"DIAGNOSTIC"}}static{this.SHUTDOWN={type:3,value:"SHUTDOWN"}}static{this.STARTUP={type:3,value:"STARTUP"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcProcedureTypeEnum=st;class jn{static{this.CURVE={type:3,value:"CURVE"}}static{this.AREA={type:3,value:"AREA"}}}e.IfcProfileTypeEnum=jn;class k4{static{this.CHANGEORDER={type:3,value:"CHANGEORDER"}}static{this.MAINTENANCEWORKORDER={type:3,value:"MAINTENANCEWORKORDER"}}static{this.MOVEORDER={type:3,value:"MOVEORDER"}}static{this.PURCHASEORDER={type:3,value:"PURCHASEORDER"}}static{this.WORKORDER={type:3,value:"WORKORDER"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcProjectOrderTypeEnum=k4;class YE{static{this.PROJECTED_LENGTH={type:3,value:"PROJECTED_LENGTH"}}static{this.TRUE_LENGTH={type:3,value:"TRUE_LENGTH"}}}e.IfcProjectedOrTrueLengthEnum=YE;class z4{static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcProjectionElementTypeEnum=z4;class W4{static{this.PSET_TYPEDRIVENONLY={type:3,value:"PSET_TYPEDRIVENONLY"}}static{this.PSET_TYPEDRIVENOVERRIDE={type:3,value:"PSET_TYPEDRIVENOVERRIDE"}}static{this.PSET_OCCURRENCEDRIVEN={type:3,value:"PSET_OCCURRENCEDRIVEN"}}static{this.PSET_PERFORMANCEDRIVEN={type:3,value:"PSET_PERFORMANCEDRIVEN"}}static{this.QTO_TYPEDRIVENONLY={type:3,value:"QTO_TYPEDRIVENONLY"}}static{this.QTO_TYPEDRIVENOVERRIDE={type:3,value:"QTO_TYPEDRIVENOVERRIDE"}}static{this.QTO_OCCURRENCEDRIVEN={type:3,value:"QTO_OCCURRENCEDRIVEN"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcPropertySetTemplateTypeEnum=W4;class Y4{static{this.ELECTRONIC={type:3,value:"ELECTRONIC"}}static{this.ELECTROMAGNETIC={type:3,value:"ELECTROMAGNETIC"}}static{this.RESIDUALCURRENT={type:3,value:"RESIDUALCURRENT"}}static{this.THERMAL={type:3,value:"THERMAL"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcProtectiveDeviceTrippingUnitTypeEnum=Y4;class ng{static{this.CIRCUITBREAKER={type:3,value:"CIRCUITBREAKER"}}static{this.EARTHLEAKAGECIRCUITBREAKER={type:3,value:"EARTHLEAKAGECIRCUITBREAKER"}}static{this.EARTHINGSWITCH={type:3,value:"EARTHINGSWITCH"}}static{this.FUSEDISCONNECTOR={type:3,value:"FUSEDISCONNECTOR"}}static{this.RESIDUALCURRENTCIRCUITBREAKER={type:3,value:"RESIDUALCURRENTCIRCUITBREAKER"}}static{this.RESIDUALCURRENTSWITCH={type:3,value:"RESIDUALCURRENTSWITCH"}}static{this.VARISTOR={type:3,value:"VARISTOR"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcProtectiveDeviceTypeEnum=ng;class j4{static{this.CIRCULATOR={type:3,value:"CIRCULATOR"}}static{this.ENDSUCTION={type:3,value:"ENDSUCTION"}}static{this.SPLITCASE={type:3,value:"SPLITCASE"}}static{this.SUBMERSIBLEPUMP={type:3,value:"SUBMERSIBLEPUMP"}}static{this.SUMPPUMP={type:3,value:"SUMPPUMP"}}static{this.VERTICALINLINE={type:3,value:"VERTICALINLINE"}}static{this.VERTICALTURBINE={type:3,value:"VERTICALTURBINE"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcPumpTypeEnum=j4;class sg{static{this.HANDRAIL={type:3,value:"HANDRAIL"}}static{this.GUARDRAIL={type:3,value:"GUARDRAIL"}}static{this.BALUSTRADE={type:3,value:"BALUSTRADE"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcRailingTypeEnum=sg;class q4{static{this.STRAIGHT={type:3,value:"STRAIGHT"}}static{this.SPIRAL={type:3,value:"SPIRAL"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcRampFlightTypeEnum=q4;class ot{static{this.STRAIGHT_RUN_RAMP={type:3,value:"STRAIGHT_RUN_RAMP"}}static{this.TWO_STRAIGHT_RUN_RAMP={type:3,value:"TWO_STRAIGHT_RUN_RAMP"}}static{this.QUARTER_TURN_RAMP={type:3,value:"QUARTER_TURN_RAMP"}}static{this.TWO_QUARTER_TURN_RAMP={type:3,value:"TWO_QUARTER_TURN_RAMP"}}static{this.HALF_TURN_RAMP={type:3,value:"HALF_TURN_RAMP"}}static{this.SPIRAL_RAMP={type:3,value:"SPIRAL_RAMP"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcRampTypeEnum=ot;class gI{static{this.DAILY={type:3,value:"DAILY"}}static{this.WEEKLY={type:3,value:"WEEKLY"}}static{this.MONTHLY_BY_DAY_OF_MONTH={type:3,value:"MONTHLY_BY_DAY_OF_MONTH"}}static{this.MONTHLY_BY_POSITION={type:3,value:"MONTHLY_BY_POSITION"}}static{this.BY_DAY_COUNT={type:3,value:"BY_DAY_COUNT"}}static{this.BY_WEEKDAY_COUNT={type:3,value:"BY_WEEKDAY_COUNT"}}static{this.YEARLY_BY_DAY_OF_MONTH={type:3,value:"YEARLY_BY_DAY_OF_MONTH"}}static{this.YEARLY_BY_POSITION={type:3,value:"YEARLY_BY_POSITION"}}}e.IfcRecurrenceTypeEnum=gI;class jE{static{this.BLINN={type:3,value:"BLINN"}}static{this.FLAT={type:3,value:"FLAT"}}static{this.GLASS={type:3,value:"GLASS"}}static{this.MATT={type:3,value:"MATT"}}static{this.METAL={type:3,value:"METAL"}}static{this.MIRROR={type:3,value:"MIRROR"}}static{this.PHONG={type:3,value:"PHONG"}}static{this.PLASTIC={type:3,value:"PLASTIC"}}static{this.STRAUSS={type:3,value:"STRAUSS"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcReflectanceMethodEnum=jE;class C0{static{this.MAIN={type:3,value:"MAIN"}}static{this.SHEAR={type:3,value:"SHEAR"}}static{this.LIGATURE={type:3,value:"LIGATURE"}}static{this.STUD={type:3,value:"STUD"}}static{this.PUNCHING={type:3,value:"PUNCHING"}}static{this.EDGE={type:3,value:"EDGE"}}static{this.RING={type:3,value:"RING"}}static{this.ANCHORING={type:3,value:"ANCHORING"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcReinforcingBarRoleEnum=C0;class qE{static{this.PLAIN={type:3,value:"PLAIN"}}static{this.TEXTURED={type:3,value:"TEXTURED"}}}e.IfcReinforcingBarSurfaceEnum=qE;class z1{static{this.ANCHORING={type:3,value:"ANCHORING"}}static{this.EDGE={type:3,value:"EDGE"}}static{this.LIGATURE={type:3,value:"LIGATURE"}}static{this.MAIN={type:3,value:"MAIN"}}static{this.PUNCHING={type:3,value:"PUNCHING"}}static{this.RING={type:3,value:"RING"}}static{this.SHEAR={type:3,value:"SHEAR"}}static{this.STUD={type:3,value:"STUD"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcReinforcingBarTypeEnum=z1;class W1{static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcReinforcingMeshTypeEnum=W1;class $4{static{this.SUPPLIER={type:3,value:"SUPPLIER"}}static{this.MANUFACTURER={type:3,value:"MANUFACTURER"}}static{this.CONTRACTOR={type:3,value:"CONTRACTOR"}}static{this.SUBCONTRACTOR={type:3,value:"SUBCONTRACTOR"}}static{this.ARCHITECT={type:3,value:"ARCHITECT"}}static{this.STRUCTURALENGINEER={type:3,value:"STRUCTURALENGINEER"}}static{this.COSTENGINEER={type:3,value:"COSTENGINEER"}}static{this.CLIENT={type:3,value:"CLIENT"}}static{this.BUILDINGOWNER={type:3,value:"BUILDINGOWNER"}}static{this.BUILDINGOPERATOR={type:3,value:"BUILDINGOPERATOR"}}static{this.MECHANICALENGINEER={type:3,value:"MECHANICALENGINEER"}}static{this.ELECTRICALENGINEER={type:3,value:"ELECTRICALENGINEER"}}static{this.PROJECTMANAGER={type:3,value:"PROJECTMANAGER"}}static{this.FACILITIESMANAGER={type:3,value:"FACILITIESMANAGER"}}static{this.CIVILENGINEER={type:3,value:"CIVILENGINEER"}}static{this.COMMISSIONINGENGINEER={type:3,value:"COMMISSIONINGENGINEER"}}static{this.ENGINEER={type:3,value:"ENGINEER"}}static{this.OWNER={type:3,value:"OWNER"}}static{this.CONSULTANT={type:3,value:"CONSULTANT"}}static{this.CONSTRUCTIONMANAGER={type:3,value:"CONSTRUCTIONMANAGER"}}static{this.FIELDCONSTRUCTIONMANAGER={type:3,value:"FIELDCONSTRUCTIONMANAGER"}}static{this.RESELLER={type:3,value:"RESELLER"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}}e.IfcRoleEnum=$4;class $E{static{this.FLAT_ROOF={type:3,value:"FLAT_ROOF"}}static{this.SHED_ROOF={type:3,value:"SHED_ROOF"}}static{this.GABLE_ROOF={type:3,value:"GABLE_ROOF"}}static{this.HIP_ROOF={type:3,value:"HIP_ROOF"}}static{this.HIPPED_GABLE_ROOF={type:3,value:"HIPPED_GABLE_ROOF"}}static{this.GAMBREL_ROOF={type:3,value:"GAMBREL_ROOF"}}static{this.MANSARD_ROOF={type:3,value:"MANSARD_ROOF"}}static{this.BARREL_ROOF={type:3,value:"BARREL_ROOF"}}static{this.RAINBOW_ROOF={type:3,value:"RAINBOW_ROOF"}}static{this.BUTTERFLY_ROOF={type:3,value:"BUTTERFLY_ROOF"}}static{this.PAVILION_ROOF={type:3,value:"PAVILION_ROOF"}}static{this.DOME_ROOF={type:3,value:"DOME_ROOF"}}static{this.FREEFORM={type:3,value:"FREEFORM"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcRoofTypeEnum=$E;class Y1{static{this.EXA={type:3,value:"EXA"}}static{this.PETA={type:3,value:"PETA"}}static{this.TERA={type:3,value:"TERA"}}static{this.GIGA={type:3,value:"GIGA"}}static{this.MEGA={type:3,value:"MEGA"}}static{this.KILO={type:3,value:"KILO"}}static{this.HECTO={type:3,value:"HECTO"}}static{this.DECA={type:3,value:"DECA"}}static{this.DECI={type:3,value:"DECI"}}static{this.CENTI={type:3,value:"CENTI"}}static{this.MILLI={type:3,value:"MILLI"}}static{this.MICRO={type:3,value:"MICRO"}}static{this.NANO={type:3,value:"NANO"}}static{this.PICO={type:3,value:"PICO"}}static{this.FEMTO={type:3,value:"FEMTO"}}static{this.ATTO={type:3,value:"ATTO"}}}e.IfcSIPrefix=Y1;class og{static{this.AMPERE={type:3,value:"AMPERE"}}static{this.BECQUEREL={type:3,value:"BECQUEREL"}}static{this.CANDELA={type:3,value:"CANDELA"}}static{this.COULOMB={type:3,value:"COULOMB"}}static{this.CUBIC_METRE={type:3,value:"CUBIC_METRE"}}static{this.DEGREE_CELSIUS={type:3,value:"DEGREE_CELSIUS"}}static{this.FARAD={type:3,value:"FARAD"}}static{this.GRAM={type:3,value:"GRAM"}}static{this.GRAY={type:3,value:"GRAY"}}static{this.HENRY={type:3,value:"HENRY"}}static{this.HERTZ={type:3,value:"HERTZ"}}static{this.JOULE={type:3,value:"JOULE"}}static{this.KELVIN={type:3,value:"KELVIN"}}static{this.LUMEN={type:3,value:"LUMEN"}}static{this.LUX={type:3,value:"LUX"}}static{this.METRE={type:3,value:"METRE"}}static{this.MOLE={type:3,value:"MOLE"}}static{this.NEWTON={type:3,value:"NEWTON"}}static{this.OHM={type:3,value:"OHM"}}static{this.PASCAL={type:3,value:"PASCAL"}}static{this.RADIAN={type:3,value:"RADIAN"}}static{this.SECOND={type:3,value:"SECOND"}}static{this.SIEMENS={type:3,value:"SIEMENS"}}static{this.SIEVERT={type:3,value:"SIEVERT"}}static{this.SQUARE_METRE={type:3,value:"SQUARE_METRE"}}static{this.STERADIAN={type:3,value:"STERADIAN"}}static{this.TESLA={type:3,value:"TESLA"}}static{this.VOLT={type:3,value:"VOLT"}}static{this.WATT={type:3,value:"WATT"}}static{this.WEBER={type:3,value:"WEBER"}}}e.IfcSIUnitName=og;class j1{static{this.BATH={type:3,value:"BATH"}}static{this.BIDET={type:3,value:"BIDET"}}static{this.CISTERN={type:3,value:"CISTERN"}}static{this.SHOWER={type:3,value:"SHOWER"}}static{this.SINK={type:3,value:"SINK"}}static{this.SANITARYFOUNTAIN={type:3,value:"SANITARYFOUNTAIN"}}static{this.TOILETPAN={type:3,value:"TOILETPAN"}}static{this.URINAL={type:3,value:"URINAL"}}static{this.WASHHANDBASIN={type:3,value:"WASHHANDBASIN"}}static{this.WCSEAT={type:3,value:"WCSEAT"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcSanitaryTerminalTypeEnum=j1;class rg{static{this.UNIFORM={type:3,value:"UNIFORM"}}static{this.TAPERED={type:3,value:"TAPERED"}}}e.IfcSectionTypeEnum=rg;class rh{static{this.COSENSOR={type:3,value:"COSENSOR"}}static{this.CO2SENSOR={type:3,value:"CO2SENSOR"}}static{this.CONDUCTANCESENSOR={type:3,value:"CONDUCTANCESENSOR"}}static{this.CONTACTSENSOR={type:3,value:"CONTACTSENSOR"}}static{this.FIRESENSOR={type:3,value:"FIRESENSOR"}}static{this.FLOWSENSOR={type:3,value:"FLOWSENSOR"}}static{this.FROSTSENSOR={type:3,value:"FROSTSENSOR"}}static{this.GASSENSOR={type:3,value:"GASSENSOR"}}static{this.HEATSENSOR={type:3,value:"HEATSENSOR"}}static{this.HUMIDITYSENSOR={type:3,value:"HUMIDITYSENSOR"}}static{this.IDENTIFIERSENSOR={type:3,value:"IDENTIFIERSENSOR"}}static{this.IONCONCENTRATIONSENSOR={type:3,value:"IONCONCENTRATIONSENSOR"}}static{this.LEVELSENSOR={type:3,value:"LEVELSENSOR"}}static{this.LIGHTSENSOR={type:3,value:"LIGHTSENSOR"}}static{this.MOISTURESENSOR={type:3,value:"MOISTURESENSOR"}}static{this.MOVEMENTSENSOR={type:3,value:"MOVEMENTSENSOR"}}static{this.PHSENSOR={type:3,value:"PHSENSOR"}}static{this.PRESSURESENSOR={type:3,value:"PRESSURESENSOR"}}static{this.RADIATIONSENSOR={type:3,value:"RADIATIONSENSOR"}}static{this.RADIOACTIVITYSENSOR={type:3,value:"RADIOACTIVITYSENSOR"}}static{this.SMOKESENSOR={type:3,value:"SMOKESENSOR"}}static{this.SOUNDSENSOR={type:3,value:"SOUNDSENSOR"}}static{this.TEMPERATURESENSOR={type:3,value:"TEMPERATURESENSOR"}}static{this.WINDSENSOR={type:3,value:"WINDSENSOR"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcSensorTypeEnum=rh;class q1{static{this.START_START={type:3,value:"START_START"}}static{this.START_FINISH={type:3,value:"START_FINISH"}}static{this.FINISH_START={type:3,value:"FINISH_START"}}static{this.FINISH_FINISH={type:3,value:"FINISH_FINISH"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcSequenceEnum=q1;class $1{static{this.JALOUSIE={type:3,value:"JALOUSIE"}}static{this.SHUTTER={type:3,value:"SHUTTER"}}static{this.AWNING={type:3,value:"AWNING"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcShadingDeviceTypeEnum=$1;class Z4{static{this.P_SINGLEVALUE={type:3,value:"P_SINGLEVALUE"}}static{this.P_ENUMERATEDVALUE={type:3,value:"P_ENUMERATEDVALUE"}}static{this.P_BOUNDEDVALUE={type:3,value:"P_BOUNDEDVALUE"}}static{this.P_LISTVALUE={type:3,value:"P_LISTVALUE"}}static{this.P_TABLEVALUE={type:3,value:"P_TABLEVALUE"}}static{this.P_REFERENCEVALUE={type:3,value:"P_REFERENCEVALUE"}}static{this.Q_LENGTH={type:3,value:"Q_LENGTH"}}static{this.Q_AREA={type:3,value:"Q_AREA"}}static{this.Q_VOLUME={type:3,value:"Q_VOLUME"}}static{this.Q_COUNT={type:3,value:"Q_COUNT"}}static{this.Q_WEIGHT={type:3,value:"Q_WEIGHT"}}static{this.Q_TIME={type:3,value:"Q_TIME"}}}e.IfcSimplePropertyTemplateTypeEnum=Z4;class lh{static{this.FLOOR={type:3,value:"FLOOR"}}static{this.ROOF={type:3,value:"ROOF"}}static{this.LANDING={type:3,value:"LANDING"}}static{this.BASESLAB={type:3,value:"BASESLAB"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcSlabTypeEnum=lh;class Z1{static{this.SOLARCOLLECTOR={type:3,value:"SOLARCOLLECTOR"}}static{this.SOLARPANEL={type:3,value:"SOLARPANEL"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcSolarDeviceTypeEnum=Z1;class lg{static{this.CONVECTOR={type:3,value:"CONVECTOR"}}static{this.RADIATOR={type:3,value:"RADIATOR"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcSpaceHeaterTypeEnum=lg;class K1{static{this.SPACE={type:3,value:"SPACE"}}static{this.PARKING={type:3,value:"PARKING"}}static{this.GFA={type:3,value:"GFA"}}static{this.INTERNAL={type:3,value:"INTERNAL"}}static{this.EXTERNAL={type:3,value:"EXTERNAL"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcSpaceTypeEnum=K1;class ZE{static{this.CONSTRUCTION={type:3,value:"CONSTRUCTION"}}static{this.FIRESAFETY={type:3,value:"FIRESAFETY"}}static{this.LIGHTING={type:3,value:"LIGHTING"}}static{this.OCCUPANCY={type:3,value:"OCCUPANCY"}}static{this.SECURITY={type:3,value:"SECURITY"}}static{this.THERMAL={type:3,value:"THERMAL"}}static{this.TRANSPORT={type:3,value:"TRANSPORT"}}static{this.VENTILATION={type:3,value:"VENTILATION"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcSpatialZoneTypeEnum=ZE;class KE{static{this.BIRDCAGE={type:3,value:"BIRDCAGE"}}static{this.COWL={type:3,value:"COWL"}}static{this.RAINWATERHOPPER={type:3,value:"RAINWATERHOPPER"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcStackTerminalTypeEnum=KE;class ag{static{this.STRAIGHT={type:3,value:"STRAIGHT"}}static{this.WINDER={type:3,value:"WINDER"}}static{this.SPIRAL={type:3,value:"SPIRAL"}}static{this.CURVED={type:3,value:"CURVED"}}static{this.FREEFORM={type:3,value:"FREEFORM"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcStairFlightTypeEnum=ag;class Q1{static{this.STRAIGHT_RUN_STAIR={type:3,value:"STRAIGHT_RUN_STAIR"}}static{this.TWO_STRAIGHT_RUN_STAIR={type:3,value:"TWO_STRAIGHT_RUN_STAIR"}}static{this.QUARTER_WINDING_STAIR={type:3,value:"QUARTER_WINDING_STAIR"}}static{this.QUARTER_TURN_STAIR={type:3,value:"QUARTER_TURN_STAIR"}}static{this.HALF_WINDING_STAIR={type:3,value:"HALF_WINDING_STAIR"}}static{this.HALF_TURN_STAIR={type:3,value:"HALF_TURN_STAIR"}}static{this.TWO_QUARTER_WINDING_STAIR={type:3,value:"TWO_QUARTER_WINDING_STAIR"}}static{this.TWO_QUARTER_TURN_STAIR={type:3,value:"TWO_QUARTER_TURN_STAIR"}}static{this.THREE_QUARTER_WINDING_STAIR={type:3,value:"THREE_QUARTER_WINDING_STAIR"}}static{this.THREE_QUARTER_TURN_STAIR={type:3,value:"THREE_QUARTER_TURN_STAIR"}}static{this.SPIRAL_STAIR={type:3,value:"SPIRAL_STAIR"}}static{this.DOUBLE_RETURN_STAIR={type:3,value:"DOUBLE_RETURN_STAIR"}}static{this.CURVED_RUN_STAIR={type:3,value:"CURVED_RUN_STAIR"}}static{this.TWO_CURVED_RUN_STAIR={type:3,value:"TWO_CURVED_RUN_STAIR"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcStairTypeEnum=Q1;class ug{static{this.READWRITE={type:3,value:"READWRITE"}}static{this.READONLY={type:3,value:"READONLY"}}static{this.LOCKED={type:3,value:"LOCKED"}}static{this.READWRITELOCKED={type:3,value:"READWRITELOCKED"}}static{this.READONLYLOCKED={type:3,value:"READONLYLOCKED"}}}e.IfcStateEnum=ug;class ah{static{this.CONST={type:3,value:"CONST"}}static{this.LINEAR={type:3,value:"LINEAR"}}static{this.POLYGONAL={type:3,value:"POLYGONAL"}}static{this.EQUIDISTANT={type:3,value:"EQUIDISTANT"}}static{this.SINUS={type:3,value:"SINUS"}}static{this.PARABOLA={type:3,value:"PARABOLA"}}static{this.DISCRETE={type:3,value:"DISCRETE"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcStructuralCurveActivityTypeEnum=ah;class W{static{this.RIGID_JOINED_MEMBER={type:3,value:"RIGID_JOINED_MEMBER"}}static{this.PIN_JOINED_MEMBER={type:3,value:"PIN_JOINED_MEMBER"}}static{this.CABLE={type:3,value:"CABLE"}}static{this.TENSION_MEMBER={type:3,value:"TENSION_MEMBER"}}static{this.COMPRESSION_MEMBER={type:3,value:"COMPRESSION_MEMBER"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcStructuralCurveMemberTypeEnum=W;class le{static{this.CONST={type:3,value:"CONST"}}static{this.BILINEAR={type:3,value:"BILINEAR"}}static{this.DISCRETE={type:3,value:"DISCRETE"}}static{this.ISOCONTOUR={type:3,value:"ISOCONTOUR"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcStructuralSurfaceActivityTypeEnum=le;class be{static{this.BENDING_ELEMENT={type:3,value:"BENDING_ELEMENT"}}static{this.MEMBRANE_ELEMENT={type:3,value:"MEMBRANE_ELEMENT"}}static{this.SHELL={type:3,value:"SHELL"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcStructuralSurfaceMemberTypeEnum=be;class Ve{static{this.PURCHASE={type:3,value:"PURCHASE"}}static{this.WORK={type:3,value:"WORK"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcSubContractResourceTypeEnum=Ve;class nt{static{this.MARK={type:3,value:"MARK"}}static{this.TAG={type:3,value:"TAG"}}static{this.TREATMENT={type:3,value:"TREATMENT"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcSurfaceFeatureTypeEnum=nt;class vt{static{this.POSITIVE={type:3,value:"POSITIVE"}}static{this.NEGATIVE={type:3,value:"NEGATIVE"}}static{this.BOTH={type:3,value:"BOTH"}}}e.IfcSurfaceSide=vt;class Nt{static{this.CONTACTOR={type:3,value:"CONTACTOR"}}static{this.DIMMERSWITCH={type:3,value:"DIMMERSWITCH"}}static{this.EMERGENCYSTOP={type:3,value:"EMERGENCYSTOP"}}static{this.KEYPAD={type:3,value:"KEYPAD"}}static{this.MOMENTARYSWITCH={type:3,value:"MOMENTARYSWITCH"}}static{this.SELECTORSWITCH={type:3,value:"SELECTORSWITCH"}}static{this.STARTER={type:3,value:"STARTER"}}static{this.SWITCHDISCONNECTOR={type:3,value:"SWITCHDISCONNECTOR"}}static{this.TOGGLESWITCH={type:3,value:"TOGGLESWITCH"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcSwitchingDeviceTypeEnum=Nt;class xt{static{this.PANEL={type:3,value:"PANEL"}}static{this.WORKSURFACE={type:3,value:"WORKSURFACE"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcSystemFurnitureElementTypeEnum=xt;class Jt{static{this.BASIN={type:3,value:"BASIN"}}static{this.BREAKPRESSURE={type:3,value:"BREAKPRESSURE"}}static{this.EXPANSION={type:3,value:"EXPANSION"}}static{this.FEEDANDEXPANSION={type:3,value:"FEEDANDEXPANSION"}}static{this.PRESSUREVESSEL={type:3,value:"PRESSUREVESSEL"}}static{this.STORAGE={type:3,value:"STORAGE"}}static{this.VESSEL={type:3,value:"VESSEL"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcTankTypeEnum=Jt;class k{static{this.ELAPSEDTIME={type:3,value:"ELAPSEDTIME"}}static{this.WORKTIME={type:3,value:"WORKTIME"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcTaskDurationEnum=k;class X{static{this.ATTENDANCE={type:3,value:"ATTENDANCE"}}static{this.CONSTRUCTION={type:3,value:"CONSTRUCTION"}}static{this.DEMOLITION={type:3,value:"DEMOLITION"}}static{this.DISMANTLE={type:3,value:"DISMANTLE"}}static{this.DISPOSAL={type:3,value:"DISPOSAL"}}static{this.INSTALLATION={type:3,value:"INSTALLATION"}}static{this.LOGISTIC={type:3,value:"LOGISTIC"}}static{this.MAINTENANCE={type:3,value:"MAINTENANCE"}}static{this.MOVE={type:3,value:"MOVE"}}static{this.OPERATION={type:3,value:"OPERATION"}}static{this.REMOVAL={type:3,value:"REMOVAL"}}static{this.RENOVATION={type:3,value:"RENOVATION"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcTaskTypeEnum=X;class we{static{this.COUPLER={type:3,value:"COUPLER"}}static{this.FIXED_END={type:3,value:"FIXED_END"}}static{this.TENSIONING_END={type:3,value:"TENSIONING_END"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcTendonAnchorTypeEnum=we;class xe{static{this.BAR={type:3,value:"BAR"}}static{this.COATED={type:3,value:"COATED"}}static{this.STRAND={type:3,value:"STRAND"}}static{this.WIRE={type:3,value:"WIRE"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcTendonTypeEnum=xe;class Ke{static{this.LEFT={type:3,value:"LEFT"}}static{this.RIGHT={type:3,value:"RIGHT"}}static{this.UP={type:3,value:"UP"}}static{this.DOWN={type:3,value:"DOWN"}}}e.IfcTextPath=Ke;class yt{static{this.CONTINUOUS={type:3,value:"CONTINUOUS"}}static{this.DISCRETE={type:3,value:"DISCRETE"}}static{this.DISCRETEBINARY={type:3,value:"DISCRETEBINARY"}}static{this.PIECEWISEBINARY={type:3,value:"PIECEWISEBINARY"}}static{this.PIECEWISECONSTANT={type:3,value:"PIECEWISECONSTANT"}}static{this.PIECEWISECONTINUOUS={type:3,value:"PIECEWISECONTINUOUS"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcTimeSeriesDataTypeEnum=yt;class gt{static{this.CURRENT={type:3,value:"CURRENT"}}static{this.FREQUENCY={type:3,value:"FREQUENCY"}}static{this.INVERTER={type:3,value:"INVERTER"}}static{this.RECTIFIER={type:3,value:"RECTIFIER"}}static{this.VOLTAGE={type:3,value:"VOLTAGE"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcTransformerTypeEnum=gt;class Rt{static{this.DISCONTINUOUS={type:3,value:"DISCONTINUOUS"}}static{this.CONTINUOUS={type:3,value:"CONTINUOUS"}}static{this.CONTSAMEGRADIENT={type:3,value:"CONTSAMEGRADIENT"}}static{this.CONTSAMEGRADIENTSAMECURVATURE={type:3,value:"CONTSAMEGRADIENTSAMECURVATURE"}}}e.IfcTransitionCode=Rt;class $t{static{this.ELEVATOR={type:3,value:"ELEVATOR"}}static{this.ESCALATOR={type:3,value:"ESCALATOR"}}static{this.MOVINGWALKWAY={type:3,value:"MOVINGWALKWAY"}}static{this.CRANEWAY={type:3,value:"CRANEWAY"}}static{this.LIFTINGGEAR={type:3,value:"LIFTINGGEAR"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcTransportElementTypeEnum=$t;class Ri{static{this.CARTESIAN={type:3,value:"CARTESIAN"}}static{this.PARAMETER={type:3,value:"PARAMETER"}}static{this.UNSPECIFIED={type:3,value:"UNSPECIFIED"}}}e.IfcTrimmingPreference=Ri;class Vi{static{this.FINNED={type:3,value:"FINNED"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcTubeBundleTypeEnum=Vi;class tn{static{this.ABSORBEDDOSEUNIT={type:3,value:"ABSORBEDDOSEUNIT"}}static{this.AMOUNTOFSUBSTANCEUNIT={type:3,value:"AMOUNTOFSUBSTANCEUNIT"}}static{this.AREAUNIT={type:3,value:"AREAUNIT"}}static{this.DOSEEQUIVALENTUNIT={type:3,value:"DOSEEQUIVALENTUNIT"}}static{this.ELECTRICCAPACITANCEUNIT={type:3,value:"ELECTRICCAPACITANCEUNIT"}}static{this.ELECTRICCHARGEUNIT={type:3,value:"ELECTRICCHARGEUNIT"}}static{this.ELECTRICCONDUCTANCEUNIT={type:3,value:"ELECTRICCONDUCTANCEUNIT"}}static{this.ELECTRICCURRENTUNIT={type:3,value:"ELECTRICCURRENTUNIT"}}static{this.ELECTRICRESISTANCEUNIT={type:3,value:"ELECTRICRESISTANCEUNIT"}}static{this.ELECTRICVOLTAGEUNIT={type:3,value:"ELECTRICVOLTAGEUNIT"}}static{this.ENERGYUNIT={type:3,value:"ENERGYUNIT"}}static{this.FORCEUNIT={type:3,value:"FORCEUNIT"}}static{this.FREQUENCYUNIT={type:3,value:"FREQUENCYUNIT"}}static{this.ILLUMINANCEUNIT={type:3,value:"ILLUMINANCEUNIT"}}static{this.INDUCTANCEUNIT={type:3,value:"INDUCTANCEUNIT"}}static{this.LENGTHUNIT={type:3,value:"LENGTHUNIT"}}static{this.LUMINOUSFLUXUNIT={type:3,value:"LUMINOUSFLUXUNIT"}}static{this.LUMINOUSINTENSITYUNIT={type:3,value:"LUMINOUSINTENSITYUNIT"}}static{this.MAGNETICFLUXDENSITYUNIT={type:3,value:"MAGNETICFLUXDENSITYUNIT"}}static{this.MAGNETICFLUXUNIT={type:3,value:"MAGNETICFLUXUNIT"}}static{this.MASSUNIT={type:3,value:"MASSUNIT"}}static{this.PLANEANGLEUNIT={type:3,value:"PLANEANGLEUNIT"}}static{this.POWERUNIT={type:3,value:"POWERUNIT"}}static{this.PRESSUREUNIT={type:3,value:"PRESSUREUNIT"}}static{this.RADIOACTIVITYUNIT={type:3,value:"RADIOACTIVITYUNIT"}}static{this.SOLIDANGLEUNIT={type:3,value:"SOLIDANGLEUNIT"}}static{this.THERMODYNAMICTEMPERATUREUNIT={type:3,value:"THERMODYNAMICTEMPERATUREUNIT"}}static{this.TIMEUNIT={type:3,value:"TIMEUNIT"}}static{this.VOLUMEUNIT={type:3,value:"VOLUMEUNIT"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}}e.IfcUnitEnum=tn;class qi{static{this.ALARMPANEL={type:3,value:"ALARMPANEL"}}static{this.CONTROLPANEL={type:3,value:"CONTROLPANEL"}}static{this.GASDETECTIONPANEL={type:3,value:"GASDETECTIONPANEL"}}static{this.INDICATORPANEL={type:3,value:"INDICATORPANEL"}}static{this.MIMICPANEL={type:3,value:"MIMICPANEL"}}static{this.HUMIDISTAT={type:3,value:"HUMIDISTAT"}}static{this.THERMOSTAT={type:3,value:"THERMOSTAT"}}static{this.WEATHERSTATION={type:3,value:"WEATHERSTATION"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcUnitaryControlElementTypeEnum=qi;class Yi{static{this.AIRHANDLER={type:3,value:"AIRHANDLER"}}static{this.AIRCONDITIONINGUNIT={type:3,value:"AIRCONDITIONINGUNIT"}}static{this.DEHUMIDIFIER={type:3,value:"DEHUMIDIFIER"}}static{this.SPLITSYSTEM={type:3,value:"SPLITSYSTEM"}}static{this.ROOFTOPUNIT={type:3,value:"ROOFTOPUNIT"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcUnitaryEquipmentTypeEnum=Yi;class Kn{static{this.AIRRELEASE={type:3,value:"AIRRELEASE"}}static{this.ANTIVACUUM={type:3,value:"ANTIVACUUM"}}static{this.CHANGEOVER={type:3,value:"CHANGEOVER"}}static{this.CHECK={type:3,value:"CHECK"}}static{this.COMMISSIONING={type:3,value:"COMMISSIONING"}}static{this.DIVERTING={type:3,value:"DIVERTING"}}static{this.DRAWOFFCOCK={type:3,value:"DRAWOFFCOCK"}}static{this.DOUBLECHECK={type:3,value:"DOUBLECHECK"}}static{this.DOUBLEREGULATING={type:3,value:"DOUBLEREGULATING"}}static{this.FAUCET={type:3,value:"FAUCET"}}static{this.FLUSHING={type:3,value:"FLUSHING"}}static{this.GASCOCK={type:3,value:"GASCOCK"}}static{this.GASTAP={type:3,value:"GASTAP"}}static{this.ISOLATING={type:3,value:"ISOLATING"}}static{this.MIXING={type:3,value:"MIXING"}}static{this.PRESSUREREDUCING={type:3,value:"PRESSUREREDUCING"}}static{this.PRESSURERELIEF={type:3,value:"PRESSURERELIEF"}}static{this.REGULATING={type:3,value:"REGULATING"}}static{this.SAFETYCUTOFF={type:3,value:"SAFETYCUTOFF"}}static{this.STEAMTRAP={type:3,value:"STEAMTRAP"}}static{this.STOPCOCK={type:3,value:"STOPCOCK"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcValveTypeEnum=Kn;class Fs{static{this.COMPRESSION={type:3,value:"COMPRESSION"}}static{this.SPRING={type:3,value:"SPRING"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcVibrationIsolatorTypeEnum=Fs;class us{static{this.CUTOUT={type:3,value:"CUTOUT"}}static{this.NOTCH={type:3,value:"NOTCH"}}static{this.HOLE={type:3,value:"HOLE"}}static{this.MITER={type:3,value:"MITER"}}static{this.CHAMFER={type:3,value:"CHAMFER"}}static{this.EDGE={type:3,value:"EDGE"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcVoidingFeatureTypeEnum=us;class gs{static{this.MOVABLE={type:3,value:"MOVABLE"}}static{this.PARAPET={type:3,value:"PARAPET"}}static{this.PARTITIONING={type:3,value:"PARTITIONING"}}static{this.PLUMBINGWALL={type:3,value:"PLUMBINGWALL"}}static{this.SHEAR={type:3,value:"SHEAR"}}static{this.SOLIDWALL={type:3,value:"SOLIDWALL"}}static{this.STANDARD={type:3,value:"STANDARD"}}static{this.POLYGONAL={type:3,value:"POLYGONAL"}}static{this.ELEMENTEDWALL={type:3,value:"ELEMENTEDWALL"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcWallTypeEnum=gs;class ir{static{this.FLOORTRAP={type:3,value:"FLOORTRAP"}}static{this.FLOORWASTE={type:3,value:"FLOORWASTE"}}static{this.GULLYSUMP={type:3,value:"GULLYSUMP"}}static{this.GULLYTRAP={type:3,value:"GULLYTRAP"}}static{this.ROOFDRAIN={type:3,value:"ROOFDRAIN"}}static{this.WASTEDISPOSALUNIT={type:3,value:"WASTEDISPOSALUNIT"}}static{this.WASTETRAP={type:3,value:"WASTETRAP"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcWasteTerminalTypeEnum=ir;class zl{static{this.SIDEHUNGRIGHTHAND={type:3,value:"SIDEHUNGRIGHTHAND"}}static{this.SIDEHUNGLEFTHAND={type:3,value:"SIDEHUNGLEFTHAND"}}static{this.TILTANDTURNRIGHTHAND={type:3,value:"TILTANDTURNRIGHTHAND"}}static{this.TILTANDTURNLEFTHAND={type:3,value:"TILTANDTURNLEFTHAND"}}static{this.TOPHUNG={type:3,value:"TOPHUNG"}}static{this.BOTTOMHUNG={type:3,value:"BOTTOMHUNG"}}static{this.PIVOTHORIZONTAL={type:3,value:"PIVOTHORIZONTAL"}}static{this.PIVOTVERTICAL={type:3,value:"PIVOTVERTICAL"}}static{this.SLIDINGHORIZONTAL={type:3,value:"SLIDINGHORIZONTAL"}}static{this.SLIDINGVERTICAL={type:3,value:"SLIDINGVERTICAL"}}static{this.REMOVABLECASEMENT={type:3,value:"REMOVABLECASEMENT"}}static{this.FIXEDCASEMENT={type:3,value:"FIXEDCASEMENT"}}static{this.OTHEROPERATION={type:3,value:"OTHEROPERATION"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcWindowPanelOperationEnum=zl;class wc{static{this.LEFT={type:3,value:"LEFT"}}static{this.MIDDLE={type:3,value:"MIDDLE"}}static{this.RIGHT={type:3,value:"RIGHT"}}static{this.BOTTOM={type:3,value:"BOTTOM"}}static{this.TOP={type:3,value:"TOP"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcWindowPanelPositionEnum=wc;class Ba{static{this.ALUMINIUM={type:3,value:"ALUMINIUM"}}static{this.HIGH_GRADE_STEEL={type:3,value:"HIGH_GRADE_STEEL"}}static{this.STEEL={type:3,value:"STEEL"}}static{this.WOOD={type:3,value:"WOOD"}}static{this.ALUMINIUM_WOOD={type:3,value:"ALUMINIUM_WOOD"}}static{this.PLASTIC={type:3,value:"PLASTIC"}}static{this.OTHER_CONSTRUCTION={type:3,value:"OTHER_CONSTRUCTION"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcWindowStyleConstructionEnum=Ba;class ar{static{this.SINGLE_PANEL={type:3,value:"SINGLE_PANEL"}}static{this.DOUBLE_PANEL_VERTICAL={type:3,value:"DOUBLE_PANEL_VERTICAL"}}static{this.DOUBLE_PANEL_HORIZONTAL={type:3,value:"DOUBLE_PANEL_HORIZONTAL"}}static{this.TRIPLE_PANEL_VERTICAL={type:3,value:"TRIPLE_PANEL_VERTICAL"}}static{this.TRIPLE_PANEL_BOTTOM={type:3,value:"TRIPLE_PANEL_BOTTOM"}}static{this.TRIPLE_PANEL_TOP={type:3,value:"TRIPLE_PANEL_TOP"}}static{this.TRIPLE_PANEL_LEFT={type:3,value:"TRIPLE_PANEL_LEFT"}}static{this.TRIPLE_PANEL_RIGHT={type:3,value:"TRIPLE_PANEL_RIGHT"}}static{this.TRIPLE_PANEL_HORIZONTAL={type:3,value:"TRIPLE_PANEL_HORIZONTAL"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcWindowStyleOperationEnum=ar;class K4{static{this.WINDOW={type:3,value:"WINDOW"}}static{this.SKYLIGHT={type:3,value:"SKYLIGHT"}}static{this.LIGHTDOME={type:3,value:"LIGHTDOME"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcWindowTypeEnum=K4;class rA{static{this.SINGLE_PANEL={type:3,value:"SINGLE_PANEL"}}static{this.DOUBLE_PANEL_VERTICAL={type:3,value:"DOUBLE_PANEL_VERTICAL"}}static{this.DOUBLE_PANEL_HORIZONTAL={type:3,value:"DOUBLE_PANEL_HORIZONTAL"}}static{this.TRIPLE_PANEL_VERTICAL={type:3,value:"TRIPLE_PANEL_VERTICAL"}}static{this.TRIPLE_PANEL_BOTTOM={type:3,value:"TRIPLE_PANEL_BOTTOM"}}static{this.TRIPLE_PANEL_TOP={type:3,value:"TRIPLE_PANEL_TOP"}}static{this.TRIPLE_PANEL_LEFT={type:3,value:"TRIPLE_PANEL_LEFT"}}static{this.TRIPLE_PANEL_RIGHT={type:3,value:"TRIPLE_PANEL_RIGHT"}}static{this.TRIPLE_PANEL_HORIZONTAL={type:3,value:"TRIPLE_PANEL_HORIZONTAL"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcWindowTypePartitioningEnum=rA;class xM{static{this.FIRSTSHIFT={type:3,value:"FIRSTSHIFT"}}static{this.SECONDSHIFT={type:3,value:"SECONDSHIFT"}}static{this.THIRDSHIFT={type:3,value:"THIRDSHIFT"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcWorkCalendarTypeEnum=xM;class OM{static{this.ACTUAL={type:3,value:"ACTUAL"}}static{this.BASELINE={type:3,value:"BASELINE"}}static{this.PLANNED={type:3,value:"PLANNED"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcWorkPlanTypeEnum=OM;class LM{static{this.ACTUAL={type:3,value:"ACTUAL"}}static{this.BASELINE={type:3,value:"BASELINE"}}static{this.PLANNED={type:3,value:"PLANNED"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcWorkScheduleTypeEnum=LM;class PM extends Yt{constructor(w,S,_){super(),this.Role=w,this.UserDefinedRole=S,this.Description=_,this.type=3630933823}}e.IfcActorRole=PM;class x_ extends Yt{constructor(w,S,_){super(),this.Purpose=w,this.Description=S,this.UserDefinedPurpose=_,this.type=618182010}}e.IfcAddress=x_;class MM extends Yt{constructor(w,S,_,x){super(),this.ApplicationDeveloper=w,this.Version=S,this.ApplicationFullName=_,this.ApplicationIdentifier=x,this.type=639542469}}e.IfcApplication=MM;class $x extends Yt{constructor(w,S,_,x,H,z,$,J,fe,it){super(),this.Name=w,this.Description=S,this.AppliedValue=_,this.UnitBasis=x,this.ApplicableDate=H,this.FixedUntilDate=z,this.Category=$,this.Condition=J,this.ArithmeticOperator=fe,this.Components=it,this.type=411424972}}e.IfcAppliedValue=$x;class BM extends Yt{constructor(w,S,_,x,H,z,$,J,fe){super(),this.Identifier=w,this.Name=S,this.Description=_,this.TimeOfApproval=x,this.Status=H,this.Level=z,this.Qualifier=$,this.RequestingApproval=J,this.GivingApproval=fe,this.type=130549933}}e.IfcApproval=BM;class lA extends Yt{constructor(w){super(),this.Name=w,this.type=4037036970}}e.IfcBoundaryCondition=lA;class wI extends lA{constructor(w,S,_,x,H,z,$){super(w),this.Name=w,this.TranslationalStiffnessByLengthX=S,this.TranslationalStiffnessByLengthY=_,this.TranslationalStiffnessByLengthZ=x,this.RotationalStiffnessByLengthX=H,this.RotationalStiffnessByLengthY=z,this.RotationalStiffnessByLengthZ=$,this.type=1560379544}}e.IfcBoundaryEdgeCondition=wI;class FM extends lA{constructor(w,S,_,x){super(w),this.Name=w,this.TranslationalStiffnessByAreaX=S,this.TranslationalStiffnessByAreaY=_,this.TranslationalStiffnessByAreaZ=x,this.type=3367102660}}e.IfcBoundaryFaceCondition=FM;class aA extends lA{constructor(w,S,_,x,H,z,$){super(w),this.Name=w,this.TranslationalStiffnessX=S,this.TranslationalStiffnessY=_,this.TranslationalStiffnessZ=x,this.RotationalStiffnessX=H,this.RotationalStiffnessY=z,this.RotationalStiffnessZ=$,this.type=1387855156}}e.IfcBoundaryNodeCondition=aA;class UM extends aA{constructor(w,S,_,x,H,z,$,J){super(w,S,_,x,H,z,$),this.Name=w,this.TranslationalStiffnessX=S,this.TranslationalStiffnessY=_,this.TranslationalStiffnessZ=x,this.RotationalStiffnessX=H,this.RotationalStiffnessY=z,this.RotationalStiffnessZ=$,this.WarpingStiffness=J,this.type=2069777674}}e.IfcBoundaryNodeConditionWarping=UM;class Q4 extends Yt{constructor(){super(),this.type=2859738748}}e.IfcConnectionGeometry=Q4;class Zx extends Q4{constructor(w,S){super(),this.PointOnRelatingElement=w,this.PointOnRelatedElement=S,this.type=2614616156}}e.IfcConnectionPointGeometry=Zx;class uA extends Q4{constructor(w,S){super(),this.SurfaceOnRelatingElement=w,this.SurfaceOnRelatedElement=S,this.type=2732653382}}e.IfcConnectionSurfaceGeometry=uA;class O_ extends Q4{constructor(w,S){super(),this.VolumeOnRelatingElement=w,this.VolumeOnRelatedElement=S,this.type=775493141}}e.IfcConnectionVolumeGeometry=O_;class L_ extends Yt{constructor(w,S,_,x,H,z,$){super(),this.Name=w,this.Description=S,this.ConstraintGrade=_,this.ConstraintSource=x,this.CreatingActor=H,this.CreationTime=z,this.UserDefinedGrade=$,this.type=1959218052}}e.IfcConstraint=L_;class Kx extends Yt{constructor(w,S){super(),this.SourceCRS=w,this.TargetCRS=S,this.type=1785450214}}e.IfcCoordinateOperation=Kx;class Qx extends Yt{constructor(w,S,_,x){super(),this.Name=w,this.Description=S,this.GeodeticDatum=_,this.VerticalDatum=x,this.type=1466758467}}e.IfcCoordinateReferenceSystem=Qx;class HM extends $x{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe,it),this.Name=w,this.Description=S,this.AppliedValue=_,this.UnitBasis=x,this.ApplicableDate=H,this.FixedUntilDate=z,this.Category=$,this.Condition=J,this.ArithmeticOperator=fe,this.Components=it,this.type=602808272}}e.IfcCostValue=HM;class GM extends Yt{constructor(w,S,_){super(),this.Elements=w,this.UnitType=S,this.UserDefinedType=_,this.type=1765591967}}e.IfcDerivedUnit=GM;class VM extends Yt{constructor(w,S){super(),this.Unit=w,this.Exponent=S,this.type=1045800335}}e.IfcDerivedUnitElement=VM;class kM extends Yt{constructor(w,S,_,x,H,z,$){super(),this.LengthExponent=w,this.MassExponent=S,this.TimeExponent=_,this.ElectricCurrentExponent=x,this.ThermodynamicTemperatureExponent=H,this.AmountOfSubstanceExponent=z,this.LuminousIntensityExponent=$,this.type=2949456006}}e.IfcDimensionalExponents=kM;class cg extends Yt{constructor(){super(),this.type=4294318154}}e.IfcExternalInformation=cg;class uh extends Yt{constructor(w,S,_){super(),this.Location=w,this.Identification=S,this.Name=_,this.type=3200245327}}e.IfcExternalReference=uh;class zM extends uh{constructor(w,S,_){super(w,S,_),this.Location=w,this.Identification=S,this.Name=_,this.type=2242383968}}e.IfcExternallyDefinedHatchStyle=zM;class J4 extends uh{constructor(w,S,_){super(w,S,_),this.Location=w,this.Identification=S,this.Name=_,this.type=1040185647}}e.IfcExternallyDefinedSurfaceStyle=J4;class cA extends uh{constructor(w,S,_){super(w,S,_),this.Location=w,this.Identification=S,this.Name=_,this.type=3548104201}}e.IfcExternallyDefinedTextFont=cA;class WM extends Yt{constructor(w,S,_){super(),this.AxisTag=w,this.AxisCurve=S,this.SameSense=_,this.type=852622518}}e.IfcGridAxis=WM;class P_ extends Yt{constructor(w,S){super(),this.TimeStamp=w,this.ListValues=S,this.type=3020489413}}e.IfcIrregularTimeSeriesValue=P_;class Jx extends cg{constructor(w,S,_,x,H,z){super(),this.Name=w,this.Version=S,this.Publisher=_,this.VersionDate=x,this.Location=H,this.Description=z,this.type=2655187982}}e.IfcLibraryInformation=Jx;class YM extends uh{constructor(w,S,_,x,H,z){super(w,S,_),this.Location=w,this.Identification=S,this.Name=_,this.Description=x,this.Language=H,this.ReferencedLibrary=z,this.type=3452421091}}e.IfcLibraryReference=YM;class dg extends Yt{constructor(w,S,_){super(),this.MainPlaneAngle=w,this.SecondaryPlaneAngle=S,this.LuminousIntensity=_,this.type=4162380809}}e.IfcLightDistributionData=dg;class jM extends Yt{constructor(w,S){super(),this.LightDistributionCurve=w,this.DistributionData=S,this.type=1566485204}}e.IfcLightIntensityDistribution=jM;class M_ extends Kx{constructor(w,S,_,x,H,z,$,J){super(w,S),this.SourceCRS=w,this.TargetCRS=S,this.Eastings=_,this.Northings=x,this.OrthogonalHeight=H,this.XAxisAbscissa=z,this.XAxisOrdinate=$,this.Scale=J,this.type=3057273783}}e.IfcMapConversion=M_;class qM extends Yt{constructor(w,S){super(),this.MaterialClassifications=w,this.ClassifiedMaterial=S,this.type=1847130766}}e.IfcMaterialClassificationRelationship=qM;class ch extends Yt{constructor(){super(),this.type=760658860}}e.IfcMaterialDefinition=ch;class dA extends ch{constructor(w,S,_,x,H,z,$){super(),this.Material=w,this.LayerThickness=S,this.IsVentilated=_,this.Name=x,this.Description=H,this.Category=z,this.Priority=$,this.type=248100487}}e.IfcMaterialLayer=dA;class B_ extends ch{constructor(w,S,_){super(),this.MaterialLayers=w,this.LayerSetName=S,this.Description=_,this.type=3303938423}}e.IfcMaterialLayerSet=B_;class $M extends dA{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$),this.Material=w,this.LayerThickness=S,this.IsVentilated=_,this.Name=x,this.Description=H,this.Category=z,this.Priority=$,this.OffsetDirection=J,this.OffsetValues=fe,this.type=1847252529}}e.IfcMaterialLayerWithOffsets=$M;class ZM extends Yt{constructor(w){super(),this.Materials=w,this.type=2199411900}}e.IfcMaterialList=ZM;class hA extends ch{constructor(w,S,_,x,H,z){super(),this.Name=w,this.Description=S,this.Material=_,this.Profile=x,this.Priority=H,this.Category=z,this.type=2235152071}}e.IfcMaterialProfile=hA;class fA extends ch{constructor(w,S,_,x){super(),this.Name=w,this.Description=S,this.MaterialProfiles=_,this.CompositeProfile=x,this.type=164193824}}e.IfcMaterialProfileSet=fA;class KM extends hA{constructor(w,S,_,x,H,z,$){super(w,S,_,x,H,z),this.Name=w,this.Description=S,this.Material=_,this.Profile=x,this.Priority=H,this.Category=z,this.OffsetValues=$,this.type=552965576}}e.IfcMaterialProfileWithOffsets=KM;class F_ extends Yt{constructor(){super(),this.type=1507914824}}e.IfcMaterialUsageDefinition=F_;class Xx extends Yt{constructor(w,S){super(),this.ValueComponent=w,this.UnitComponent=S,this.type=2597039031}}e.IfcMeasureWithUnit=Xx;class QM extends L_{constructor(w,S,_,x,H,z,$,J,fe,it,pi){super(w,S,_,x,H,z,$),this.Name=w,this.Description=S,this.ConstraintGrade=_,this.ConstraintSource=x,this.CreatingActor=H,this.CreationTime=z,this.UserDefinedGrade=$,this.Benchmark=J,this.ValueSource=fe,this.DataValue=it,this.ReferencePath=pi,this.type=3368373690}}e.IfcMetric=QM;class pA extends Yt{constructor(w){super(),this.Currency=w,this.type=2706619895}}e.IfcMonetaryUnit=pA;class IA extends Yt{constructor(w,S){super(),this.Dimensions=w,this.UnitType=S,this.type=1918398963}}e.IfcNamedUnit=IA;class U_ extends Yt{constructor(){super(),this.type=3701648758}}e.IfcObjectPlacement=U_;class eO extends L_{constructor(w,S,_,x,H,z,$,J,fe,it,pi){super(w,S,_,x,H,z,$),this.Name=w,this.Description=S,this.ConstraintGrade=_,this.ConstraintSource=x,this.CreatingActor=H,this.CreationTime=z,this.UserDefinedGrade=$,this.BenchmarkValues=J,this.LogicalAggregator=fe,this.ObjectiveQualifier=it,this.UserDefinedQualifier=pi,this.type=2251480897}}e.IfcObjective=eO;class H_ extends Yt{constructor(w,S,_,x,H){super(),this.Identification=w,this.Name=S,this.Description=_,this.Roles=x,this.Addresses=H,this.type=4251960020}}e.IfcOrganization=H_;class hg extends Yt{constructor(w,S,_,x,H,z,$,J){super(),this.OwningUser=w,this.OwningApplication=S,this.State=_,this.ChangeAction=x,this.LastModifiedDate=H,this.LastModifyingUser=z,this.LastModifyingApplication=$,this.CreationDate=J,this.type=1207048766}}e.IfcOwnerHistory=hg;class fg extends Yt{constructor(w,S,_,x,H,z,$,J){super(),this.Identification=w,this.FamilyName=S,this.GivenName=_,this.MiddleNames=x,this.PrefixTitles=H,this.SuffixTitles=z,this.Roles=$,this.Addresses=J,this.type=2077209135}}e.IfcPerson=fg;class JM extends Yt{constructor(w,S,_){super(),this.ThePerson=w,this.TheOrganization=S,this.Roles=_,this.type=101040310}}e.IfcPersonAndOrganization=JM;class G_ extends Yt{constructor(w,S){super(),this.Name=w,this.Description=S,this.type=2483315170}}e.IfcPhysicalQuantity=G_;class sf extends G_{constructor(w,S,_){super(w,S),this.Name=w,this.Description=S,this.Unit=_,this.type=2226359599}}e.IfcPhysicalSimpleQuantity=sf;class V_ extends x_{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_),this.Purpose=w,this.Description=S,this.UserDefinedPurpose=_,this.InternalLocation=x,this.AddressLines=H,this.PostalBox=z,this.Town=$,this.Region=J,this.PostalCode=fe,this.Country=it,this.type=3355820592}}e.IfcPostalAddress=V_;class Wl extends Yt{constructor(){super(),this.type=677532197}}e.IfcPresentationItem=Wl;class tO extends Yt{constructor(w,S,_,x){super(),this.Name=w,this.Description=S,this.AssignedItems=_,this.Identifier=x,this.type=2022622350}}e.IfcPresentationLayerAssignment=tO;class XM extends tO{constructor(w,S,_,x,H,z,$,J){super(w,S,_,x),this.Name=w,this.Description=S,this.AssignedItems=_,this.Identifier=x,this.LayerOn=H,this.LayerFrozen=z,this.LayerBlocked=$,this.LayerStyles=J,this.type=1304840413}}e.IfcPresentationLayerWithStyle=XM;class QE extends Yt{constructor(w){super(),this.Name=w,this.type=3119450353}}e.IfcPresentationStyle=QE;class eB extends Yt{constructor(w){super(),this.Styles=w,this.type=2417041796}}e.IfcPresentationStyleAssignment=eB;class of extends Yt{constructor(w,S,_){super(),this.Name=w,this.Description=S,this.Representations=_,this.type=2095639259}}e.IfcProductRepresentation=of;class x0 extends Yt{constructor(w,S){super(),this.ProfileType=w,this.ProfileName=S,this.type=3958567839}}e.IfcProfileDef=x0;class iO extends Qx{constructor(w,S,_,x,H,z,$){super(w,S,_,x),this.Name=w,this.Description=S,this.GeodeticDatum=_,this.VerticalDatum=x,this.MapProjection=H,this.MapZone=z,this.MapUnit=$,this.type=3843373140}}e.IfcProjectedCRS=iO;class vI extends Yt{constructor(){super(),this.type=986844984}}e.IfcPropertyAbstraction=vI;class tB extends vI{constructor(w,S,_){super(),this.Name=w,this.EnumerationValues=S,this.Unit=_,this.type=3710013099}}e.IfcPropertyEnumeration=tB;class nO extends sf{constructor(w,S,_,x,H){super(w,S,_),this.Name=w,this.Description=S,this.Unit=_,this.AreaValue=x,this.Formula=H,this.type=2044713172}}e.IfcQuantityArea=nO;class sO extends sf{constructor(w,S,_,x,H){super(w,S,_),this.Name=w,this.Description=S,this.Unit=_,this.CountValue=x,this.Formula=H,this.type=2093928680}}e.IfcQuantityCount=sO;class iB extends sf{constructor(w,S,_,x,H){super(w,S,_),this.Name=w,this.Description=S,this.Unit=_,this.LengthValue=x,this.Formula=H,this.type=931644368}}e.IfcQuantityLength=iB;class nB extends sf{constructor(w,S,_,x,H){super(w,S,_),this.Name=w,this.Description=S,this.Unit=_,this.TimeValue=x,this.Formula=H,this.type=3252649465}}e.IfcQuantityTime=nB;class sB extends sf{constructor(w,S,_,x,H){super(w,S,_),this.Name=w,this.Description=S,this.Unit=_,this.VolumeValue=x,this.Formula=H,this.type=2405470396}}e.IfcQuantityVolume=sB;class oB extends sf{constructor(w,S,_,x,H){super(w,S,_),this.Name=w,this.Description=S,this.Unit=_,this.WeightValue=x,this.Formula=H,this.type=825690147}}e.IfcQuantityWeight=oB;class oO extends Yt{constructor(w,S,_,x,H,z,$,J){super(),this.RecurrenceType=w,this.DayComponent=S,this.WeekdayComponent=_,this.MonthComponent=x,this.Position=H,this.Interval=z,this.Occurrences=$,this.TimePeriods=J,this.type=3915482550}}e.IfcRecurrencePattern=oO;class rO extends Yt{constructor(w,S,_,x,H){super(),this.TypeIdentifier=w,this.AttributeIdentifier=S,this.InstanceName=_,this.ListPositions=x,this.InnerReference=H,this.type=2433181523}}e.IfcReference=rO;class pg extends Yt{constructor(w,S,_,x){super(),this.ContextOfItems=w,this.RepresentationIdentifier=S,this.RepresentationType=_,this.Items=x,this.type=1076942058}}e.IfcRepresentation=pg;class lO extends Yt{constructor(w,S){super(),this.ContextIdentifier=w,this.ContextType=S,this.type=3377609919}}e.IfcRepresentationContext=lO;class rf extends Yt{constructor(){super(),this.type=3008791417}}e.IfcRepresentationItem=rf;class aO extends Yt{constructor(w,S){super(),this.MappingOrigin=w,this.MappedRepresentation=S,this.type=1660063152}}e.IfcRepresentationMap=aO;class RI extends Yt{constructor(w,S){super(),this.Name=w,this.Description=S,this.type=2439245199}}e.IfcResourceLevelRelationship=RI;class mA extends Yt{constructor(w,S,_,x){super(),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.type=2341007311}}e.IfcRoot=mA;class rB extends IA{constructor(w,S,_){super(new u(0),w),this.UnitType=w,this.Prefix=S,this.Name=_,this.type=448429030}}e.IfcSIUnit=rB;class JE extends Yt{constructor(w,S,_){super(),this.Name=w,this.DataOrigin=S,this.UserDefinedDataOrigin=_,this.type=1054537805}}e.IfcSchedulingTime=JE;class lB extends Yt{constructor(w,S,_,x,H){super(),this.ShapeRepresentations=w,this.Name=S,this.Description=_,this.ProductDefinitional=x,this.PartOfProductDefinitionShape=H,this.type=867548509}}e.IfcShapeAspect=lB;class k_ extends pg{constructor(w,S,_,x){super(w,S,_,x),this.ContextOfItems=w,this.RepresentationIdentifier=S,this.RepresentationType=_,this.Items=x,this.type=3982875396}}e.IfcShapeModel=k_;class X4 extends k_{constructor(w,S,_,x){super(w,S,_,x),this.ContextOfItems=w,this.RepresentationIdentifier=S,this.RepresentationType=_,this.Items=x,this.type=4240577450}}e.IfcShapeRepresentation=X4;class z_ extends Yt{constructor(w){super(),this.Name=w,this.type=2273995522}}e.IfcStructuralConnectionCondition=z_;class W_ extends Yt{constructor(w){super(),this.Name=w,this.type=2162789131}}e.IfcStructuralLoad=W_;class aB extends W_{constructor(w,S,_){super(w),this.Name=w,this.Values=S,this.Locations=_,this.type=3478079324}}e.IfcStructuralLoadConfiguration=aB;class Ig extends W_{constructor(w){super(w),this.Name=w,this.type=609421318}}e.IfcStructuralLoadOrResult=Ig;class ip extends Ig{constructor(w){super(w),this.Name=w,this.type=2525727697}}e.IfcStructuralLoadStatic=ip;class uB extends ip{constructor(w,S,_,x){super(w),this.Name=w,this.DeltaTConstant=S,this.DeltaTY=_,this.DeltaTZ=x,this.type=3408363356}}e.IfcStructuralLoadTemperature=uB;class uO extends pg{constructor(w,S,_,x){super(w,S,_,x),this.ContextOfItems=w,this.RepresentationIdentifier=S,this.RepresentationType=_,this.Items=x,this.type=2830218821}}e.IfcStyleModel=uO;class J1 extends rf{constructor(w,S,_){super(),this.Item=w,this.Styles=S,this.Name=_,this.type=3958052878}}e.IfcStyledItem=J1;class cB extends uO{constructor(w,S,_,x){super(w,S,_,x),this.ContextOfItems=w,this.RepresentationIdentifier=S,this.RepresentationType=_,this.Items=x,this.type=3049322572}}e.IfcStyledRepresentation=cB;class dB extends Ig{constructor(w,S,_,x){super(w),this.Name=w,this.SurfaceReinforcement1=S,this.SurfaceReinforcement2=_,this.ShearReinforcement=x,this.type=2934153892}}e.IfcSurfaceReinforcementArea=dB;class yA extends QE{constructor(w,S,_){super(w),this.Name=w,this.Side=S,this.Styles=_,this.type=1300840506}}e.IfcSurfaceStyle=yA;class X1 extends Wl{constructor(w,S,_,x){super(),this.DiffuseTransmissionColour=w,this.DiffuseReflectionColour=S,this.TransmissionColour=_,this.ReflectanceColour=x,this.type=3303107099}}e.IfcSurfaceStyleLighting=X1;class hB extends Wl{constructor(w,S){super(),this.RefractionIndex=w,this.DispersionFactor=S,this.type=1607154358}}e.IfcSurfaceStyleRefraction=hB;class Ta extends Wl{constructor(w,S){super(),this.SurfaceColour=w,this.Transparency=S,this.type=846575682}}e.IfcSurfaceStyleShading=Ta;class cO extends Wl{constructor(w){super(),this.Textures=w,this.type=1351298697}}e.IfcSurfaceStyleWithTextures=cO;class hm extends Wl{constructor(w,S,_,x,H){super(),this.RepeatS=w,this.RepeatT=S,this.Mode=_,this.TextureTransform=x,this.Parameter=H,this.type=626085974}}e.IfcSurfaceTexture=hm;class ev extends Yt{constructor(w,S,_){super(),this.Name=w,this.Rows=S,this.Columns=_,this.type=985171141}}e.IfcTable=ev;class EA extends Yt{constructor(w,S,_,x,H){super(),this.Identifier=w,this.Name=S,this.Description=_,this.Unit=x,this.ReferencePath=H,this.type=2043862942}}e.IfcTableColumn=EA;class XE extends Yt{constructor(w,S){super(),this.RowCells=w,this.IsHeading=S,this.type=531007025}}e.IfcTableRow=XE;class Y_ extends JE{constructor(w,S,_,x,H,z,$,J,fe,it,pi,Bi,Dn,go,jl,Or,Ra,MI,ql,fy){super(w,S,_),this.Name=w,this.DataOrigin=S,this.UserDefinedDataOrigin=_,this.DurationType=x,this.ScheduleDuration=H,this.ScheduleStart=z,this.ScheduleFinish=$,this.EarlyStart=J,this.EarlyFinish=fe,this.LateStart=it,this.LateFinish=pi,this.FreeFloat=Bi,this.TotalFloat=Dn,this.IsCritical=go,this.StatusTime=jl,this.ActualDuration=Or,this.ActualStart=Ra,this.ActualFinish=MI,this.RemainingTime=ql,this.Completion=fy,this.type=1549132990}}e.IfcTaskTime=Y_;class mg extends Y_{constructor(w,S,_,x,H,z,$,J,fe,it,pi,Bi,Dn,go,jl,Or,Ra,MI,ql,fy,Tee){super(w,S,_,x,H,z,$,J,fe,it,pi,Bi,Dn,go,jl,Or,Ra,MI,ql,fy),this.Name=w,this.DataOrigin=S,this.UserDefinedDataOrigin=_,this.DurationType=x,this.ScheduleDuration=H,this.ScheduleStart=z,this.ScheduleFinish=$,this.EarlyStart=J,this.EarlyFinish=fe,this.LateStart=it,this.LateFinish=pi,this.FreeFloat=Bi,this.TotalFloat=Dn,this.IsCritical=go,this.StatusTime=jl,this.ActualDuration=Or,this.ActualStart=Ra,this.ActualFinish=MI,this.RemainingTime=ql,this.Completion=fy,this.Recurrence=Tee,this.type=2771591690}}e.IfcTaskTimeRecurring=mg;class fB extends x_{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_),this.Purpose=w,this.Description=S,this.UserDefinedPurpose=_,this.TelephoneNumbers=x,this.FacsimileNumbers=H,this.PagerNumber=z,this.ElectronicMailAddresses=$,this.WWWHomePageURL=J,this.MessagingIDs=fe,this.type=912023232}}e.IfcTelecomAddress=fB;class pB extends QE{constructor(w,S,_,x,H){super(w),this.Name=w,this.TextCharacterAppearance=S,this.TextStyle=_,this.TextFontStyle=x,this.ModelOrDraughting=H,this.type=1447204868}}e.IfcTextStyle=pB;class IB extends Wl{constructor(w,S){super(),this.Colour=w,this.BackgroundColour=S,this.type=2636378356}}e.IfcTextStyleForDefinedFont=IB;class mB extends Wl{constructor(w,S,_,x,H,z,$){super(),this.TextIndent=w,this.TextAlign=S,this.TextDecoration=_,this.LetterSpacing=x,this.WordSpacing=H,this.TextTransform=z,this.LineHeight=$,this.type=1640371178}}e.IfcTextStyleTextModel=mB;class TA extends Wl{constructor(w){super(),this.Maps=w,this.type=280115917}}e.IfcTextureCoordinate=TA;class yB extends TA{constructor(w,S,_){super(w),this.Maps=w,this.Mode=S,this.Parameter=_,this.type=1742049831}}e.IfcTextureCoordinateGenerator=yB;class EB extends TA{constructor(w,S,_){super(w),this.Maps=w,this.Vertices=S,this.MappedTo=_,this.type=2552916305}}e.IfcTextureMap=EB;class j_ extends Wl{constructor(w){super(),this.Coordinates=w,this.type=1210645708}}e.IfcTextureVertex=j_;class TB extends Wl{constructor(w){super(),this.TexCoordsList=w,this.type=3611470254}}e.IfcTextureVertexList=TB;class gB extends Yt{constructor(w,S){super(),this.StartTime=w,this.EndTime=S,this.type=1199560280}}e.IfcTimePeriod=gB;class tv extends Yt{constructor(w,S,_,x,H,z,$,J){super(),this.Name=w,this.Description=S,this.StartTime=_,this.EndTime=x,this.TimeSeriesDataType=H,this.DataOrigin=z,this.UserDefinedDataOrigin=$,this.Unit=J,this.type=3101149627}}e.IfcTimeSeries=tv;class dO extends Yt{constructor(w){super(),this.ListValues=w,this.type=581633288}}e.IfcTimeSeriesValue=dO;class lf extends rf{constructor(){super(),this.type=1377556343}}e.IfcTopologicalRepresentationItem=lf;class wB extends k_{constructor(w,S,_,x){super(w,S,_,x),this.ContextOfItems=w,this.RepresentationIdentifier=S,this.RepresentationType=_,this.Items=x,this.type=1735638870}}e.IfcTopologyRepresentation=wB;class SI extends Yt{constructor(w){super(),this.Units=w,this.type=180925521}}e.IfcUnitAssignment=SI;class hO extends lf{constructor(){super(),this.type=2799835756}}e.IfcVertex=hO;class gA extends hO{constructor(w){super(),this.VertexGeometry=w,this.type=1907098498}}e.IfcVertexPoint=gA;class vB extends Yt{constructor(w,S){super(),this.IntersectingAxes=w,this.OffsetDistances=S,this.type=891718957}}e.IfcVirtualGridIntersection=vB;class fm extends JE{constructor(w,S,_,x,H,z){super(w,S,_),this.Name=w,this.DataOrigin=S,this.UserDefinedDataOrigin=_,this.RecurrencePattern=x,this.Start=H,this.Finish=z,this.type=1236880293}}e.IfcWorkTime=fm;class RB extends RI{constructor(w,S,_,x){super(w,S),this.Name=w,this.Description=S,this.RelatingApproval=_,this.RelatedApprovals=x,this.type=3869604511}}e.IfcApprovalRelationship=RB;class wA extends x0{constructor(w,S,_){super(w,S),this.ProfileType=w,this.ProfileName=S,this.OuterCurve=_,this.type=3798115385}}e.IfcArbitraryClosedProfileDef=wA;class q_ extends x0{constructor(w,S,_){super(w,S),this.ProfileType=w,this.ProfileName=S,this.Curve=_,this.type=1310608509}}e.IfcArbitraryOpenProfileDef=q_;class vA extends wA{constructor(w,S,_,x){super(w,S,_),this.ProfileType=w,this.ProfileName=S,this.OuterCurve=_,this.InnerCurves=x,this.type=2705031697}}e.IfcArbitraryProfileDefWithVoids=vA;class $_ extends hm{constructor(w,S,_,x,H,z,$){super(w,S,_,x,H),this.RepeatS=w,this.RepeatT=S,this.Mode=_,this.TextureTransform=x,this.Parameter=H,this.RasterFormat=z,this.RasterCode=$,this.type=616511568}}e.IfcBlobTexture=$_;class SB extends q_{constructor(w,S,_,x){super(w,S,_),this.ProfileType=w,this.ProfileName=S,this.Curve=_,this.Thickness=x,this.type=3150382593}}e.IfcCenterLineProfileDef=SB;class Z_ extends cg{constructor(w,S,_,x,H,z,$){super(),this.Source=w,this.Edition=S,this.EditionDate=_,this.Name=x,this.Description=H,this.Location=z,this.ReferenceTokens=$,this.type=747523909}}e.IfcClassification=Z_;class yg extends uh{constructor(w,S,_,x,H,z){super(w,S,_),this.Location=w,this.Identification=S,this.Name=_,this.ReferencedSource=x,this.Description=H,this.Sort=z,this.type=647927063}}e.IfcClassificationReference=yg;class AB extends Wl{constructor(w){super(),this.ColourList=w,this.type=3285139300}}e.IfcColourRgbList=AB;class K_ extends Wl{constructor(w){super(),this.Name=w,this.type=3264961684}}e.IfcColourSpecification=K_;class fO extends x0{constructor(w,S,_,x){super(w,S),this.ProfileType=w,this.ProfileName=S,this.Profiles=_,this.Label=x,this.type=1485152156}}e.IfcCompositeProfileDef=fO;class RA extends lf{constructor(w){super(),this.CfsFaces=w,this.type=370225590}}e.IfcConnectedFaceSet=RA;class vo extends Q4{constructor(w,S){super(),this.CurveOnRelatingElement=w,this.CurveOnRelatedElement=S,this.type=1981873012}}e.IfcConnectionCurveGeometry=vo;class bB extends Zx{constructor(w,S,_,x,H){super(w,S),this.PointOnRelatingElement=w,this.PointOnRelatedElement=S,this.EccentricityInX=_,this.EccentricityInY=x,this.EccentricityInZ=H,this.type=45288368}}e.IfcConnectionPointEccentricity=bB;class pO extends IA{constructor(w,S,_){super(w,S),this.Dimensions=w,this.UnitType=S,this.Name=_,this.type=3050246964}}e.IfcContextDependentUnit=pO;class IO extends IA{constructor(w,S,_,x){super(w,S),this.Dimensions=w,this.UnitType=S,this.Name=_,this.ConversionFactor=x,this.type=2889183280}}e.IfcConversionBasedUnit=IO;class SA extends IO{constructor(w,S,_,x,H){super(w,S,_,x),this.Dimensions=w,this.UnitType=S,this.Name=_,this.ConversionFactor=x,this.ConversionOffset=H,this.type=2713554722}}e.IfcConversionBasedUnitWithOffset=SA;class NB extends RI{constructor(w,S,_,x,H,z,$){super(w,S),this.Name=w,this.Description=S,this.RelatingMonetaryUnit=_,this.RelatedMonetaryUnit=x,this.ExchangeRate=H,this.RateDateTime=z,this.RateSource=$,this.type=539742890}}e.IfcCurrencyRelationship=NB;class AA extends QE{constructor(w,S,_,x,H){super(w),this.Name=w,this.CurveFont=S,this.CurveWidth=_,this.CurveColour=x,this.ModelOrDraughting=H,this.type=3800577675}}e.IfcCurveStyle=AA;class _B extends Wl{constructor(w,S){super(),this.Name=w,this.PatternList=S,this.type=1105321065}}e.IfcCurveStyleFont=_B;class iv extends Wl{constructor(w,S,_){super(),this.Name=w,this.CurveFont=S,this.CurveFontScaling=_,this.type=2367409068}}e.IfcCurveStyleFontAndScaling=iv;class DB extends Wl{constructor(w,S){super(),this.VisibleSegmentLength=w,this.InvisibleSegmentLength=S,this.type=3510044353}}e.IfcCurveStyleFontPattern=DB;class Q_ extends x0{constructor(w,S,_,x,H){super(w,S),this.ProfileType=w,this.ProfileName=S,this.ParentProfile=_,this.Operator=x,this.Label=H,this.type=3632507154}}e.IfcDerivedProfileDef=Q_;class CB extends cg{constructor(w,S,_,x,H,z,$,J,fe,it,pi,Bi,Dn,go,jl,Or,Ra){super(),this.Identification=w,this.Name=S,this.Description=_,this.Location=x,this.Purpose=H,this.IntendedUse=z,this.Scope=$,this.Revision=J,this.DocumentOwner=fe,this.Editors=it,this.CreationTime=pi,this.LastRevisionTime=Bi,this.ElectronicFormat=Dn,this.ValidFrom=go,this.ValidUntil=jl,this.Confidentiality=Or,this.Status=Ra,this.type=1154170062}}e.IfcDocumentInformation=CB;class mO extends RI{constructor(w,S,_,x,H){super(w,S),this.Name=w,this.Description=S,this.RelatingDocument=_,this.RelatedDocuments=x,this.RelationshipType=H,this.type=770865208}}e.IfcDocumentInformationRelationship=mO;class xB extends uh{constructor(w,S,_,x,H){super(w,S,_),this.Location=w,this.Identification=S,this.Name=_,this.Description=x,this.ReferencedDocument=H,this.type=3732053477}}e.IfcDocumentReference=xB;class bA extends lf{constructor(w,S){super(),this.EdgeStart=w,this.EdgeEnd=S,this.type=3900360178}}e.IfcEdge=bA;class NA extends bA{constructor(w,S,_,x){super(w,S),this.EdgeStart=w,this.EdgeEnd=S,this.EdgeGeometry=_,this.SameSense=x,this.type=476780140}}e.IfcEdgeCurve=NA;class _A extends JE{constructor(w,S,_,x,H,z,$){super(w,S,_),this.Name=w,this.DataOrigin=S,this.UserDefinedDataOrigin=_,this.ActualDate=x,this.EarlyDate=H,this.LateDate=z,this.ScheduleDate=$,this.type=211053100}}e.IfcEventTime=_A;class J_ extends vI{constructor(w,S,_){super(),this.Name=w,this.Description=S,this.Properties=_,this.type=297599258}}e.IfcExtendedProperties=J_;class yO extends RI{constructor(w,S,_,x){super(w,S),this.Name=w,this.Description=S,this.RelatingReference=_,this.RelatedResourceObjects=x,this.type=1437805879}}e.IfcExternalReferenceRelationship=yO;class DA extends lf{constructor(w){super(),this.Bounds=w,this.type=2556980723}}e.IfcFace=DA;class X_ extends lf{constructor(w,S){super(),this.Bound=w,this.Orientation=S,this.type=1809719519}}e.IfcFaceBound=X_;class OB extends X_{constructor(w,S){super(w,S),this.Bound=w,this.Orientation=S,this.type=803316827}}e.IfcFaceOuterBound=OB;class EO extends DA{constructor(w,S,_){super(w),this.Bounds=w,this.FaceSurface=S,this.SameSense=_,this.type=3008276851}}e.IfcFaceSurface=EO;class dh extends z_{constructor(w,S,_,x,H,z,$){super(w),this.Name=w,this.TensionFailureX=S,this.TensionFailureY=_,this.TensionFailureZ=x,this.CompressionFailureX=H,this.CompressionFailureY=z,this.CompressionFailureZ=$,this.type=4219587988}}e.IfcFailureConnectionCondition=dh;class eD extends QE{constructor(w,S,_){super(w),this.Name=w,this.FillStyles=S,this.ModelorDraughting=_,this.type=738692330}}e.IfcFillAreaStyle=eD;class TO extends lO{constructor(w,S,_,x,H,z){super(w,S),this.ContextIdentifier=w,this.ContextType=S,this.CoordinateSpaceDimension=_,this.Precision=x,this.WorldCoordinateSystem=H,this.TrueNorth=z,this.type=3448662350}}e.IfcGeometricRepresentationContext=TO;class Qs extends rf{constructor(){super(),this.type=2453401579}}e.IfcGeometricRepresentationItem=Qs;class CA extends TO{constructor(w,S,_,x,H,z){super(w,S,new ne(0),null,new u(0),null),this.ContextIdentifier=w,this.ContextType=S,this.ParentContext=_,this.TargetScale=x,this.TargetView=H,this.UserDefinedTargetView=z,this.type=4142052618}}e.IfcGeometricRepresentationSubContext=CA;class tD extends Qs{constructor(w){super(),this.Elements=w,this.type=3590301190}}e.IfcGeometricSet=tD;class nv extends U_{constructor(w,S){super(),this.PlacementLocation=w,this.PlacementRefDirection=S,this.type=178086475}}e.IfcGridPlacement=nv;class iD extends Qs{constructor(w,S){super(),this.BaseSurface=w,this.AgreementFlag=S,this.type=812098782}}e.IfcHalfSpaceSolid=iD;class LB extends hm{constructor(w,S,_,x,H,z){super(w,S,_,x,H),this.RepeatS=w,this.RepeatT=S,this.Mode=_,this.TextureTransform=x,this.Parameter=H,this.URLReference=z,this.type=3905492369}}e.IfcImageTexture=LB;class PB extends Wl{constructor(w,S,_,x){super(),this.MappedTo=w,this.Opacity=S,this.Colours=_,this.ColourIndex=x,this.type=3570813810}}e.IfcIndexedColourMap=PB;class gO extends TA{constructor(w,S,_){super(w),this.Maps=w,this.MappedTo=S,this.TexCoords=_,this.type=1437953363}}e.IfcIndexedTextureMap=gO;class wO extends gO{constructor(w,S,_,x){super(w,S,_),this.Maps=w,this.MappedTo=S,this.TexCoords=_,this.TexCoordIndex=x,this.type=2133299955}}e.IfcIndexedTriangleTextureMap=wO;class vO extends tv{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.Name=w,this.Description=S,this.StartTime=_,this.EndTime=x,this.TimeSeriesDataType=H,this.DataOrigin=z,this.UserDefinedDataOrigin=$,this.Unit=J,this.Values=fe,this.type=3741457305}}e.IfcIrregularTimeSeries=vO;class MB extends JE{constructor(w,S,_,x,H){super(w,S,_),this.Name=w,this.DataOrigin=S,this.UserDefinedDataOrigin=_,this.LagValue=x,this.DurationType=H,this.type=1585845231}}e.IfcLagTime=MB;class Eg extends Qs{constructor(w,S,_,x){super(),this.Name=w,this.LightColour=S,this.AmbientIntensity=_,this.Intensity=x,this.type=1402838566}}e.IfcLightSource=Eg;class RO extends Eg{constructor(w,S,_,x){super(w,S,_,x),this.Name=w,this.LightColour=S,this.AmbientIntensity=_,this.Intensity=x,this.type=125510826}}e.IfcLightSourceAmbient=RO;class BB extends Eg{constructor(w,S,_,x,H){super(w,S,_,x),this.Name=w,this.LightColour=S,this.AmbientIntensity=_,this.Intensity=x,this.Orientation=H,this.type=2604431987}}e.IfcLightSourceDirectional=BB;class SO extends Eg{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x),this.Name=w,this.LightColour=S,this.AmbientIntensity=_,this.Intensity=x,this.Position=H,this.ColourAppearance=z,this.ColourTemperature=$,this.LuminousFlux=J,this.LightEmissionSource=fe,this.LightDistributionDataSource=it,this.type=4266656042}}e.IfcLightSourceGoniometric=SO;class AO extends Eg{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x),this.Name=w,this.LightColour=S,this.AmbientIntensity=_,this.Intensity=x,this.Position=H,this.Radius=z,this.ConstantAttenuation=$,this.DistanceAttenuation=J,this.QuadricAttenuation=fe,this.type=1520743889}}e.IfcLightSourcePositional=AO;class FB extends AO{constructor(w,S,_,x,H,z,$,J,fe,it,pi,Bi,Dn){super(w,S,_,x,H,z,$,J,fe),this.Name=w,this.LightColour=S,this.AmbientIntensity=_,this.Intensity=x,this.Position=H,this.Radius=z,this.ConstantAttenuation=$,this.DistanceAttenuation=J,this.QuadricAttenuation=fe,this.Orientation=it,this.ConcentrationExponent=pi,this.SpreadAngle=Bi,this.BeamWidthAngle=Dn,this.type=3422422726}}e.IfcLightSourceSpot=FB;class UB extends U_{constructor(w,S){super(),this.PlacementRelTo=w,this.RelativePlacement=S,this.type=2624227202}}e.IfcLocalPlacement=UB;class Fa extends lf{constructor(){super(),this.type=1008929658}}e.IfcLoop=Fa;class bO extends rf{constructor(w,S){super(),this.MappingSource=w,this.MappingTarget=S,this.type=2347385850}}e.IfcMappedItem=bO;class HB extends ch{constructor(w,S,_){super(),this.Name=w,this.Description=S,this.Category=_,this.type=1838606355}}e.IfcMaterial=HB;class sv extends ch{constructor(w,S,_,x,H){super(),this.Name=w,this.Description=S,this.Material=_,this.Fraction=x,this.Category=H,this.type=3708119e3}}e.IfcMaterialConstituent=sv;class GB extends ch{constructor(w,S,_){super(),this.Name=w,this.Description=S,this.MaterialConstituents=_,this.type=2852063980}}e.IfcMaterialConstituentSet=GB;class VB extends of{constructor(w,S,_,x){super(w,S,_),this.Name=w,this.Description=S,this.Representations=_,this.RepresentedMaterial=x,this.type=2022407955}}e.IfcMaterialDefinitionRepresentation=VB;class Tg extends F_{constructor(w,S,_,x,H){super(),this.ForLayerSet=w,this.LayerSetDirection=S,this.DirectionSense=_,this.OffsetFromReferenceLine=x,this.ReferenceExtent=H,this.type=1303795690}}e.IfcMaterialLayerSetUsage=Tg;class nD extends F_{constructor(w,S,_){super(),this.ForProfileSet=w,this.CardinalPoint=S,this.ReferenceExtent=_,this.type=3079605661}}e.IfcMaterialProfileSetUsage=nD;class kB extends nD{constructor(w,S,_,x,H){super(w,S,_),this.ForProfileSet=w,this.CardinalPoint=S,this.ReferenceExtent=_,this.ForProfileEndSet=x,this.CardinalEndPoint=H,this.type=3404854881}}e.IfcMaterialProfileSetUsageTapering=kB;class zB extends J_{constructor(w,S,_,x){super(w,S,_),this.Name=w,this.Description=S,this.Properties=_,this.Material=x,this.type=3265635763}}e.IfcMaterialProperties=zB;class WB extends RI{constructor(w,S,_,x,H){super(w,S),this.Name=w,this.Description=S,this.RelatingMaterial=_,this.RelatedMaterials=x,this.Expression=H,this.type=853536259}}e.IfcMaterialRelationship=WB;class YB extends Q_{constructor(w,S,_,x){super(w,S,_,new u(0),x),this.ProfileType=w,this.ProfileName=S,this.ParentProfile=_,this.Label=x,this.type=2998442950}}e.IfcMirroredProfileDef=YB;class ey extends mA{constructor(w,S,_,x){super(w,S,_,x),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.type=219451334}}e.IfcObjectDefinition=ey;class jB extends RA{constructor(w){super(w),this.CfsFaces=w,this.type=2665983363}}e.IfcOpenShell=jB;class NO extends RI{constructor(w,S,_,x){super(w,S),this.Name=w,this.Description=S,this.RelatingOrganization=_,this.RelatedOrganizations=x,this.type=1411181986}}e.IfcOrganizationRelationship=NO;class qB extends bA{constructor(w,S){super(new u(0),new u(0)),this.EdgeElement=w,this.Orientation=S,this.type=1029017970}}e.IfcOrientedEdge=qB;class af extends x0{constructor(w,S,_){super(w,S),this.ProfileType=w,this.ProfileName=S,this.Position=_,this.type=2529465313}}e.IfcParameterizedProfileDef=af;class $B extends lf{constructor(w){super(),this.EdgeList=w,this.type=2519244187}}e.IfcPath=$B;class ov extends G_{constructor(w,S,_,x,H,z){super(w,S),this.Name=w,this.Description=S,this.HasQuantities=_,this.Discrimination=x,this.Quality=H,this.Usage=z,this.type=3021840470}}e.IfcPhysicalComplexQuantity=ov;class ZB extends hm{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H),this.RepeatS=w,this.RepeatT=S,this.Mode=_,this.TextureTransform=x,this.Parameter=H,this.Width=z,this.Height=$,this.ColourComponents=J,this.Pixel=fe,this.type=597895409}}e.IfcPixelTexture=ZB;class rv extends Qs{constructor(w){super(),this.Location=w,this.type=2004835150}}e.IfcPlacement=rv;class xA extends Qs{constructor(w,S){super(),this.SizeInX=w,this.SizeInY=S,this.type=1663979128}}e.IfcPlanarExtent=xA;class lv extends Qs{constructor(){super(),this.type=2067069095}}e.IfcPoint=lv;class _O extends lv{constructor(w,S){super(),this.BasisCurve=w,this.PointParameter=S,this.type=4022376103}}e.IfcPointOnCurve=_O;class DO extends lv{constructor(w,S,_){super(),this.BasisSurface=w,this.PointParameterU=S,this.PointParameterV=_,this.type=1423911732}}e.IfcPointOnSurface=DO;class OA extends Fa{constructor(w){super(),this.Polygon=w,this.type=2924175390}}e.IfcPolyLoop=OA;class CO extends iD{constructor(w,S,_,x){super(w,S),this.BaseSurface=w,this.AgreementFlag=S,this.Position=_,this.PolygonalBoundary=x,this.type=2775532180}}e.IfcPolygonalBoundedHalfSpace=CO;class eT extends Wl{constructor(w){super(),this.Name=w,this.type=3727388367}}e.IfcPreDefinedItem=eT;class LA extends vI{constructor(){super(),this.type=3778827333}}e.IfcPreDefinedProperties=LA;class av extends eT{constructor(w){super(w),this.Name=w,this.type=1775413392}}e.IfcPreDefinedTextFont=av;class jo extends of{constructor(w,S,_){super(w,S,_),this.Name=w,this.Description=S,this.Representations=_,this.type=673634403}}e.IfcProductDefinitionShape=jo;class xO extends J_{constructor(w,S,_,x){super(w,S,_),this.Name=w,this.Description=S,this.Properties=_,this.ProfileDefinition=x,this.type=2802850158}}e.IfcProfileProperties=xO;class uv extends vI{constructor(w,S){super(),this.Name=w,this.Description=S,this.type=2598011224}}e.IfcProperty=uv;class sD extends mA{constructor(w,S,_,x){super(w,S,_,x),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.type=1680319473}}e.IfcPropertyDefinition=sD;class oD extends RI{constructor(w,S,_,x,H){super(w,S),this.Name=w,this.Description=S,this.DependingProperty=_,this.DependantProperty=x,this.Expression=H,this.type=148025276}}e.IfcPropertyDependencyRelationship=oD;class PA extends sD{constructor(w,S,_,x){super(w,S,_,x),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.type=3357820518}}e.IfcPropertySetDefinition=PA;class MA extends sD{constructor(w,S,_,x){super(w,S,_,x),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.type=1482703590}}e.IfcPropertyTemplateDefinition=MA;class tT extends PA{constructor(w,S,_,x){super(w,S,_,x),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.type=2090586900}}e.IfcQuantitySet=tT;class rD extends af{constructor(w,S,_,x,H){super(w,S,_),this.ProfileType=w,this.ProfileName=S,this.Position=_,this.XDim=x,this.YDim=H,this.type=3615266464}}e.IfcRectangleProfileDef=rD;class KB extends tv{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J),this.Name=w,this.Description=S,this.StartTime=_,this.EndTime=x,this.TimeSeriesDataType=H,this.DataOrigin=z,this.UserDefinedDataOrigin=$,this.Unit=J,this.TimeStep=fe,this.Values=it,this.type=3413951693}}e.IfcRegularTimeSeries=KB;class QB extends LA{constructor(w,S,_,x,H,z){super(),this.TotalCrossSectionArea=w,this.SteelGrade=S,this.BarSurface=_,this.EffectiveDepth=x,this.NominalBarDiameter=H,this.BarCount=z,this.type=1580146022}}e.IfcReinforcementBarProperties=QB;class np extends mA{constructor(w,S,_,x){super(w,S,_,x),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.type=478536968}}e.IfcRelationship=np;class JB extends RI{constructor(w,S,_,x){super(w,S),this.Name=w,this.Description=S,this.RelatedResourceObjects=_,this.RelatingApproval=x,this.type=2943643501}}e.IfcResourceApprovalRelationship=JB;class XB extends RI{constructor(w,S,_,x){super(w,S),this.Name=w,this.Description=S,this.RelatingConstraint=_,this.RelatedResourceObjects=x,this.type=1608871552}}e.IfcResourceConstraintRelationship=XB;class e9 extends JE{constructor(w,S,_,x,H,z,$,J,fe,it,pi,Bi,Dn,go,jl,Or,Ra,MI){super(w,S,_),this.Name=w,this.DataOrigin=S,this.UserDefinedDataOrigin=_,this.ScheduleWork=x,this.ScheduleUsage=H,this.ScheduleStart=z,this.ScheduleFinish=$,this.ScheduleContour=J,this.LevelingDelay=fe,this.IsOverAllocated=it,this.StatusTime=pi,this.ActualWork=Bi,this.ActualUsage=Dn,this.ActualStart=go,this.ActualFinish=jl,this.RemainingWork=Or,this.RemainingUsage=Ra,this.Completion=MI,this.type=1042787934}}e.IfcResourceTime=e9;class BA extends rD{constructor(w,S,_,x,H,z){super(w,S,_,x,H),this.ProfileType=w,this.ProfileName=S,this.Position=_,this.XDim=x,this.YDim=H,this.RoundingRadius=z,this.type=2778083089}}e.IfcRoundedRectangleProfileDef=BA;class t9 extends LA{constructor(w,S,_){super(),this.SectionType=w,this.StartProfile=S,this.EndProfile=_,this.type=2042790032}}e.IfcSectionProperties=t9;class i9 extends LA{constructor(w,S,_,x,H,z){super(),this.LongitudinalStartPosition=w,this.LongitudinalEndPosition=S,this.TransversePosition=_,this.ReinforcementRole=x,this.SectionDefinition=H,this.CrossSectionReinforcementDefinitions=z,this.type=4165799628}}e.IfcSectionReinforcementProperties=i9;class n9 extends Qs{constructor(w,S,_){super(),this.SpineCurve=w,this.CrossSections=S,this.CrossSectionPositions=_,this.type=1509187699}}e.IfcSectionedSpine=n9;class FA extends Qs{constructor(w){super(),this.SbsmBoundary=w,this.type=4124623270}}e.IfcShellBasedSurfaceModel=FA;class iT extends uv{constructor(w,S){super(w,S),this.Name=w,this.Description=S,this.type=3692461612}}e.IfcSimpleProperty=iT;class s9 extends z_{constructor(w,S,_,x){super(w),this.Name=w,this.SlippageX=S,this.SlippageY=_,this.SlippageZ=x,this.type=2609359061}}e.IfcSlippageConnectionCondition=s9;class gg extends Qs{constructor(){super(),this.type=723233188}}e.IfcSolidModel=gg;class lD extends ip{constructor(w,S,_,x,H,z,$){super(w),this.Name=w,this.LinearForceX=S,this.LinearForceY=_,this.LinearForceZ=x,this.LinearMomentX=H,this.LinearMomentY=z,this.LinearMomentZ=$,this.type=1595516126}}e.IfcStructuralLoadLinearForce=lD;class o9 extends ip{constructor(w,S,_,x){super(w),this.Name=w,this.PlanarForceX=S,this.PlanarForceY=_,this.PlanarForceZ=x,this.type=2668620305}}e.IfcStructuralLoadPlanarForce=o9;class OO extends ip{constructor(w,S,_,x,H,z,$){super(w),this.Name=w,this.DisplacementX=S,this.DisplacementY=_,this.DisplacementZ=x,this.RotationalDisplacementRX=H,this.RotationalDisplacementRY=z,this.RotationalDisplacementRZ=$,this.type=2473145415}}e.IfcStructuralLoadSingleDisplacement=OO;class LO extends OO{constructor(w,S,_,x,H,z,$,J){super(w,S,_,x,H,z,$),this.Name=w,this.DisplacementX=S,this.DisplacementY=_,this.DisplacementZ=x,this.RotationalDisplacementRX=H,this.RotationalDisplacementRY=z,this.RotationalDisplacementRZ=$,this.Distortion=J,this.type=1973038258}}e.IfcStructuralLoadSingleDisplacementDistortion=LO;class PO extends ip{constructor(w,S,_,x,H,z,$){super(w),this.Name=w,this.ForceX=S,this.ForceY=_,this.ForceZ=x,this.MomentX=H,this.MomentY=z,this.MomentZ=$,this.type=1597423693}}e.IfcStructuralLoadSingleForce=PO;class aD extends PO{constructor(w,S,_,x,H,z,$,J){super(w,S,_,x,H,z,$),this.Name=w,this.ForceX=S,this.ForceY=_,this.ForceZ=x,this.MomentX=H,this.MomentY=z,this.MomentZ=$,this.WarpingMoment=J,this.type=1190533807}}e.IfcStructuralLoadSingleForceWarping=aD;class MO extends bA{constructor(w,S,_){super(w,S),this.EdgeStart=w,this.EdgeEnd=S,this.ParentEdge=_,this.type=2233826070}}e.IfcSubedge=MO;class UA extends Qs{constructor(){super(),this.type=2513912981}}e.IfcSurface=UA;class cv extends Ta{constructor(w,S,_,x,H,z,$,J,fe){super(w,S),this.SurfaceColour=w,this.Transparency=S,this.DiffuseColour=_,this.TransmissionColour=x,this.DiffuseTransmissionColour=H,this.ReflectionColour=z,this.SpecularColour=$,this.SpecularHighlight=J,this.ReflectanceMethod=fe,this.type=1878645084}}e.IfcSurfaceStyleRendering=cv;class dv extends gg{constructor(w,S){super(),this.SweptArea=w,this.Position=S,this.type=2247615214}}e.IfcSweptAreaSolid=dv;class uD extends gg{constructor(w,S,_,x,H){super(),this.Directrix=w,this.Radius=S,this.InnerRadius=_,this.StartParam=x,this.EndParam=H,this.type=1260650574}}e.IfcSweptDiskSolid=uD;class r9 extends uD{constructor(w,S,_,x,H,z){super(w,S,_,x,H),this.Directrix=w,this.Radius=S,this.InnerRadius=_,this.StartParam=x,this.EndParam=H,this.FilletRadius=z,this.type=1096409881}}e.IfcSweptDiskSolidPolygonal=r9;class cD extends UA{constructor(w,S){super(),this.SweptCurve=w,this.Position=S,this.type=230924584}}e.IfcSweptSurface=cD;class uf extends af{constructor(w,S,_,x,H,z,$,J,fe,it,pi,Bi){super(w,S,_),this.ProfileType=w,this.ProfileName=S,this.Position=_,this.Depth=x,this.FlangeWidth=H,this.WebThickness=z,this.FlangeThickness=$,this.FilletRadius=J,this.FlangeEdgeRadius=fe,this.WebEdgeRadius=it,this.WebSlope=pi,this.FlangeSlope=Bi,this.type=3071757647}}e.IfcTShapeProfileDef=uf;class dD extends Qs{constructor(){super(),this.type=901063453}}e.IfcTessellatedItem=dD;class nT extends Qs{constructor(w,S,_){super(),this.Literal=w,this.Placement=S,this.Path=_,this.type=4282788508}}e.IfcTextLiteral=nT;class l9 extends nT{constructor(w,S,_,x,H){super(w,S,_),this.Literal=w,this.Placement=S,this.Path=_,this.Extent=x,this.BoxAlignment=H,this.type=3124975700}}e.IfcTextLiteralWithExtent=l9;class AI extends av{constructor(w,S,_,x,H,z){super(w),this.Name=w,this.FontFamily=S,this.FontStyle=_,this.FontVariant=x,this.FontWeight=H,this.FontSize=z,this.type=1983826977}}e.IfcTextStyleFontModel=AI;class BO extends af{constructor(w,S,_,x,H,z,$){super(w,S,_),this.ProfileType=w,this.ProfileName=S,this.Position=_,this.BottomXDim=x,this.TopXDim=H,this.YDim=z,this.TopXOffset=$,this.type=2715220739}}e.IfcTrapeziumProfileDef=BO;class ty extends ey{constructor(w,S,_,x,H,z){super(w,S,_,x),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.type=1628702193}}e.IfcTypeObject=ty;class HA extends ty{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.Identification=$,this.LongDescription=J,this.ProcessType=fe,this.type=3736923433}}e.IfcTypeProcess=HA;class hv extends ty{constructor(w,S,_,x,H,z,$,J){super(w,S,_,x,H,z),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.type=2347495698}}e.IfcTypeProduct=hv;class FO extends ty{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.Identification=$,this.LongDescription=J,this.ResourceType=fe,this.type=3698973494}}e.IfcTypeResource=FO;class a9 extends af{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_),this.ProfileType=w,this.ProfileName=S,this.Position=_,this.Depth=x,this.FlangeWidth=H,this.WebThickness=z,this.FlangeThickness=$,this.FilletRadius=J,this.EdgeRadius=fe,this.FlangeSlope=it,this.type=427810014}}e.IfcUShapeProfileDef=a9;class u9 extends Qs{constructor(w,S){super(),this.Orientation=w,this.Magnitude=S,this.type=1417489154}}e.IfcVector=u9;class GA extends Fa{constructor(w){super(),this.LoopVertex=w,this.type=2759199220}}e.IfcVertexLoop=GA;class wg extends hv{constructor(w,S,_,x,H,z,$,J,fe,it,pi,Bi){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ConstructionType=fe,this.OperationType=it,this.ParameterTakesPrecedence=pi,this.Sizeable=Bi,this.type=1299126871}}e.IfcWindowStyle=wg;class UO extends af{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_),this.ProfileType=w,this.ProfileName=S,this.Position=_,this.Depth=x,this.FlangeWidth=H,this.WebThickness=z,this.FlangeThickness=$,this.FilletRadius=J,this.EdgeRadius=fe,this.type=2543172580}}e.IfcZShapeProfileDef=UO;class c9 extends EO{constructor(w,S,_){super(w,S,_),this.Bounds=w,this.FaceSurface=S,this.SameSense=_,this.type=3406155212}}e.IfcAdvancedFace=c9;class d9 extends Qs{constructor(w,S){super(),this.OuterBoundary=w,this.InnerBoundaries=S,this.type=669184980}}e.IfcAnnotationFillArea=d9;class hD extends af{constructor(w,S,_,x,H,z,$,J,fe,it,pi,Bi,Dn,go,jl){super(w,S,_),this.ProfileType=w,this.ProfileName=S,this.Position=_,this.BottomFlangeWidth=x,this.OverallDepth=H,this.WebThickness=z,this.BottomFlangeThickness=$,this.BottomFlangeFilletRadius=J,this.TopFlangeWidth=fe,this.TopFlangeThickness=it,this.TopFlangeFilletRadius=pi,this.BottomFlangeEdgeRadius=Bi,this.BottomFlangeSlope=Dn,this.TopFlangeEdgeRadius=go,this.TopFlangeSlope=jl,this.type=3207858831}}e.IfcAsymmetricIShapeProfileDef=hD;class pm extends rv{constructor(w,S){super(w),this.Location=w,this.Axis=S,this.type=4261334040}}e.IfcAxis1Placement=pm;class HO extends rv{constructor(w,S){super(w),this.Location=w,this.RefDirection=S,this.type=3125803723}}e.IfcAxis2Placement2D=HO;class VA extends rv{constructor(w,S,_){super(w),this.Location=w,this.Axis=S,this.RefDirection=_,this.type=2740243338}}e.IfcAxis2Placement3D=VA;class fv extends Qs{constructor(w,S,_){super(),this.Operator=w,this.FirstOperand=S,this.SecondOperand=_,this.type=2736907675}}e.IfcBooleanResult=fv;class vg extends UA{constructor(){super(),this.type=4182860854}}e.IfcBoundedSurface=vg;class fD extends Qs{constructor(w,S,_,x){super(),this.Corner=w,this.XDim=S,this.YDim=_,this.ZDim=x,this.type=2581212453}}e.IfcBoundingBox=fD;class h9 extends iD{constructor(w,S,_){super(w,S),this.BaseSurface=w,this.AgreementFlag=S,this.Enclosure=_,this.type=2713105998}}e.IfcBoxedHalfSpace=h9;class f9 extends af{constructor(w,S,_,x,H,z,$,J){super(w,S,_),this.ProfileType=w,this.ProfileName=S,this.Position=_,this.Depth=x,this.Width=H,this.WallThickness=z,this.Girth=$,this.InternalFilletRadius=J,this.type=2898889636}}e.IfcCShapeProfileDef=f9;class sT extends lv{constructor(w){super(),this.Coordinates=w,this.type=1123145078}}e.IfcCartesianPoint=sT;class pD extends Qs{constructor(){super(),this.type=574549367}}e.IfcCartesianPointList=pD;class ID extends pD{constructor(w){super(),this.CoordList=w,this.type=1675464909}}e.IfcCartesianPointList2D=ID;class p9 extends pD{constructor(w){super(),this.CoordList=w,this.type=2059837836}}e.IfcCartesianPointList3D=p9;class mD extends Qs{constructor(w,S,_,x){super(),this.Axis1=w,this.Axis2=S,this.LocalOrigin=_,this.Scale=x,this.type=59481748}}e.IfcCartesianTransformationOperator=mD;class yD extends mD{constructor(w,S,_,x){super(w,S,_,x),this.Axis1=w,this.Axis2=S,this.LocalOrigin=_,this.Scale=x,this.type=3749851601}}e.IfcCartesianTransformationOperator2D=yD;class I9 extends yD{constructor(w,S,_,x,H){super(w,S,_,x),this.Axis1=w,this.Axis2=S,this.LocalOrigin=_,this.Scale=x,this.Scale2=H,this.type=3486308946}}e.IfcCartesianTransformationOperator2DnonUniform=I9;class GO extends mD{constructor(w,S,_,x,H){super(w,S,_,x),this.Axis1=w,this.Axis2=S,this.LocalOrigin=_,this.Scale=x,this.Axis3=H,this.type=3331915920}}e.IfcCartesianTransformationOperator3D=GO;class pv extends GO{constructor(w,S,_,x,H,z,$){super(w,S,_,x,H),this.Axis1=w,this.Axis2=S,this.LocalOrigin=_,this.Scale=x,this.Axis3=H,this.Scale2=z,this.Scale3=$,this.type=1416205885}}e.IfcCartesianTransformationOperator3DnonUniform=pv;class Im extends af{constructor(w,S,_,x){super(w,S,_),this.ProfileType=w,this.ProfileName=S,this.Position=_,this.Radius=x,this.type=1383045692}}e.IfcCircleProfileDef=Im;class oT extends RA{constructor(w){super(w),this.CfsFaces=w,this.type=2205249479}}e.IfcClosedShell=oT;class m9 extends K_{constructor(w,S,_,x){super(w),this.Name=w,this.Red=S,this.Green=_,this.Blue=x,this.type=776857604}}e.IfcColourRgb=m9;class Rg extends uv{constructor(w,S,_,x){super(w,S),this.Name=w,this.Description=S,this.UsageName=_,this.HasProperties=x,this.type=2542286263}}e.IfcComplexProperty=Rg;class VO extends Qs{constructor(w,S,_){super(),this.Transition=w,this.SameSense=S,this.ParentCurve=_,this.type=2485617015}}e.IfcCompositeCurveSegment=VO;class rT extends FO{constructor(w,S,_,x,H,z,$,J,fe,it,pi){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.Identification=$,this.LongDescription=J,this.ResourceType=fe,this.BaseCosts=it,this.BaseQuantity=pi,this.type=2574617495}}e.IfcConstructionResourceType=rT;class Sg extends ey{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.LongName=z,this.Phase=$,this.RepresentationContexts=J,this.UnitsInContext=fe,this.type=3419103109}}e.IfcContext=Sg;class mm extends rT{constructor(w,S,_,x,H,z,$,J,fe,it,pi,Bi){super(w,S,_,x,H,z,$,J,fe,it,pi),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.Identification=$,this.LongDescription=J,this.ResourceType=fe,this.BaseCosts=it,this.BaseQuantity=pi,this.PredefinedType=Bi,this.type=1815067380}}e.IfcCrewResourceType=mm;class lT extends Qs{constructor(w){super(),this.Position=w,this.type=2506170314}}e.IfcCsgPrimitive3D=lT;class y9 extends gg{constructor(w){super(),this.TreeRootExpression=w,this.type=2147822146}}e.IfcCsgSolid=y9;class iy extends Qs{constructor(){super(),this.type=2601014836}}e.IfcCurve=iy;class Iv extends vg{constructor(w,S,_){super(),this.BasisSurface=w,this.OuterBoundary=S,this.InnerBoundaries=_,this.type=2827736869}}e.IfcCurveBoundedPlane=Iv;class E9 extends vg{constructor(w,S,_){super(),this.BasisSurface=w,this.Boundaries=S,this.ImplicitOuter=_,this.type=2629017746}}e.IfcCurveBoundedSurface=E9;class kA extends Qs{constructor(w){super(),this.DirectionRatios=w,this.type=32440307}}e.IfcDirection=kA;class kO extends hv{constructor(w,S,_,x,H,z,$,J,fe,it,pi,Bi){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.OperationType=fe,this.ConstructionType=it,this.ParameterTakesPrecedence=pi,this.Sizeable=Bi,this.type=526551008}}e.IfcDoorStyle=kO;class aT extends Fa{constructor(w){super(),this.EdgeList=w,this.type=1472233963}}e.IfcEdgeLoop=aT;class zA extends tT{constructor(w,S,_,x,H,z){super(w,S,_,x),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.MethodOfMeasurement=H,this.Quantities=z,this.type=1883228015}}e.IfcElementQuantity=zA;class cf extends hv{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.type=339256511}}e.IfcElementType=cf;class uT extends UA{constructor(w){super(),this.Position=w,this.type=2777663545}}e.IfcElementarySurface=uT;class zO extends af{constructor(w,S,_,x,H){super(w,S,_),this.ProfileType=w,this.ProfileName=S,this.Position=_,this.SemiAxis1=x,this.SemiAxis2=H,this.type=2835456948}}e.IfcEllipseProfileDef=zO;class T9 extends HA{constructor(w,S,_,x,H,z,$,J,fe,it,pi,Bi){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.Identification=$,this.LongDescription=J,this.ProcessType=fe,this.PredefinedType=it,this.EventTriggerType=pi,this.UserDefinedEventTriggerType=Bi,this.type=4024345920}}e.IfcEventType=T9;class WO extends dv{constructor(w,S,_,x){super(w,S),this.SweptArea=w,this.Position=S,this.ExtrudedDirection=_,this.Depth=x,this.type=477187591}}e.IfcExtrudedAreaSolid=WO;class g9 extends WO{constructor(w,S,_,x,H){super(w,S,_,x),this.SweptArea=w,this.Position=S,this.ExtrudedDirection=_,this.Depth=x,this.EndSweptArea=H,this.type=2804161546}}e.IfcExtrudedAreaSolidTapered=g9;class df extends Qs{constructor(w){super(),this.FbsmFaces=w,this.type=2047409740}}e.IfcFaceBasedSurfaceModel=df;class WA extends Qs{constructor(w,S,_,x,H){super(),this.HatchLineAppearance=w,this.StartOfNextHatchLine=S,this.PointOfReferenceHatchLine=_,this.PatternStart=x,this.HatchLineAngle=H,this.type=374418227}}e.IfcFillAreaStyleHatching=WA;class ED extends Qs{constructor(w,S,_){super(),this.TilingPattern=w,this.Tiles=S,this.TilingScale=_,this.type=315944413}}e.IfcFillAreaStyleTiles=ED;class YO extends dv{constructor(w,S,_,x,H,z){super(w,S),this.SweptArea=w,this.Position=S,this.Directrix=_,this.StartParam=x,this.EndParam=H,this.FixedReference=z,this.type=2652556860}}e.IfcFixedReferenceSweptAreaSolid=YO;class TD extends cf{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.type=4238390223}}e.IfcFurnishingElementType=TD;class w9 extends TD{constructor(w,S,_,x,H,z,$,J,fe,it,pi){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.AssemblyPlace=it,this.PredefinedType=pi,this.type=1268542332}}e.IfcFurnitureType=w9;class v9 extends cf{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=4095422895}}e.IfcGeographicElementType=v9;class R9 extends tD{constructor(w){super(w),this.Elements=w,this.type=987898635}}e.IfcGeometricCurveSet=R9;class S9 extends af{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_),this.ProfileType=w,this.ProfileName=S,this.Position=_,this.OverallWidth=x,this.OverallDepth=H,this.WebThickness=z,this.FlangeThickness=$,this.FilletRadius=J,this.FlangeEdgeRadius=fe,this.FlangeSlope=it,this.type=1484403080}}e.IfcIShapeProfileDef=S9;class Yl extends dD{constructor(w){super(),this.CoordIndex=w,this.type=178912537}}e.IfcIndexedPolygonalFace=Yl;class gD extends Yl{constructor(w,S){super(w),this.CoordIndex=w,this.InnerCoordIndices=S,this.type=2294589976}}e.IfcIndexedPolygonalFaceWithVoids=gD;class A9 extends af{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_),this.ProfileType=w,this.ProfileName=S,this.Position=_,this.Depth=x,this.Width=H,this.Thickness=z,this.FilletRadius=$,this.EdgeRadius=J,this.LegSlope=fe,this.type=572779678}}e.IfcLShapeProfileDef=A9;class b9 extends rT{constructor(w,S,_,x,H,z,$,J,fe,it,pi,Bi){super(w,S,_,x,H,z,$,J,fe,it,pi),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.Identification=$,this.LongDescription=J,this.ResourceType=fe,this.BaseCosts=it,this.BaseQuantity=pi,this.PredefinedType=Bi,this.type=428585644}}e.IfcLaborResourceType=b9;class N9 extends iy{constructor(w,S){super(),this.Pnt=w,this.Dir=S,this.type=1281925730}}e.IfcLine=N9;class wD extends gg{constructor(w){super(),this.Outer=w,this.type=1425443689}}e.IfcManifoldSolidBrep=wD;class ny extends ey{constructor(w,S,_,x,H){super(w,S,_,x),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.type=3888040117}}e.IfcObject=ny;class Ag extends iy{constructor(w,S,_){super(),this.BasisCurve=w,this.Distance=S,this.SelfIntersect=_,this.type=3388369263}}e.IfcOffsetCurve2D=Ag;class _9 extends iy{constructor(w,S,_,x){super(),this.BasisCurve=w,this.Distance=S,this.SelfIntersect=_,this.RefDirection=x,this.type=3505215534}}e.IfcOffsetCurve3D=_9;class D9 extends iy{constructor(w,S){super(),this.BasisSurface=w,this.ReferenceCurve=S,this.type=1682466193}}e.IfcPcurve=D9;class C9 extends xA{constructor(w,S,_){super(w,S),this.SizeInX=w,this.SizeInY=S,this.Placement=_,this.type=603570806}}e.IfcPlanarBox=C9;class x9 extends uT{constructor(w){super(w),this.Position=w,this.type=220341763}}e.IfcPlane=x9;class YA extends eT{constructor(w){super(w),this.Name=w,this.type=759155922}}e.IfcPreDefinedColour=YA;class jA extends eT{constructor(w){super(w),this.Name=w,this.type=2559016684}}e.IfcPreDefinedCurveFont=jA;class ym extends PA{constructor(w,S,_,x){super(w,S,_,x),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.type=3967405729}}e.IfcPreDefinedPropertySet=ym;class qA extends HA{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.Identification=$,this.LongDescription=J,this.ProcessType=fe,this.PredefinedType=it,this.type=569719735}}e.IfcProcedureType=qA;class mv extends ny{constructor(w,S,_,x,H,z,$){super(w,S,_,x,H),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.Identification=z,this.LongDescription=$,this.type=2945172077}}e.IfcProcess=mv;class Em extends ny{constructor(w,S,_,x,H,z,$){super(w,S,_,x,H),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.type=4208778838}}e.IfcProduct=Em;class jO extends Sg{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.LongName=z,this.Phase=$,this.RepresentationContexts=J,this.UnitsInContext=fe,this.type=103090709}}e.IfcProject=jO;class O9 extends Sg{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.LongName=z,this.Phase=$,this.RepresentationContexts=J,this.UnitsInContext=fe,this.type=653396225}}e.IfcProjectLibrary=O9;class qO extends iT{constructor(w,S,_,x,H,z){super(w,S),this.Name=w,this.Description=S,this.UpperBoundValue=_,this.LowerBoundValue=x,this.Unit=H,this.SetPointValue=z,this.type=871118103}}e.IfcPropertyBoundedValue=qO;class L9 extends iT{constructor(w,S,_,x){super(w,S),this.Name=w,this.Description=S,this.EnumerationValues=_,this.EnumerationReference=x,this.type=4166981789}}e.IfcPropertyEnumeratedValue=L9;class P9 extends iT{constructor(w,S,_,x){super(w,S),this.Name=w,this.Description=S,this.ListValues=_,this.Unit=x,this.type=2752243245}}e.IfcPropertyListValue=P9;class M9 extends iT{constructor(w,S,_,x){super(w,S),this.Name=w,this.Description=S,this.UsageName=_,this.PropertyReference=x,this.type=941946838}}e.IfcPropertyReferenceValue=M9;class $O extends PA{constructor(w,S,_,x,H){super(w,S,_,x),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.HasProperties=H,this.type=1451395588}}e.IfcPropertySet=$O;class cT extends MA{constructor(w,S,_,x,H,z,$){super(w,S,_,x),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.TemplateType=H,this.ApplicableEntity=z,this.HasPropertyTemplates=$,this.type=492091185}}e.IfcPropertySetTemplate=cT;class vD extends iT{constructor(w,S,_,x){super(w,S),this.Name=w,this.Description=S,this.NominalValue=_,this.Unit=x,this.type=3650150729}}e.IfcPropertySingleValue=vD;class B9 extends iT{constructor(w,S,_,x,H,z,$,J){super(w,S),this.Name=w,this.Description=S,this.DefiningValues=_,this.DefinedValues=x,this.Expression=H,this.DefiningUnit=z,this.DefinedUnit=$,this.CurveInterpolation=J,this.type=110355661}}e.IfcPropertyTableValue=B9;class sy extends MA{constructor(w,S,_,x){super(w,S,_,x),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.type=3521284610}}e.IfcPropertyTemplate=sy;class F9 extends Em{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.ProxyType=J,this.Tag=fe,this.type=3219374653}}e.IfcProxy=F9;class bI extends rD{constructor(w,S,_,x,H,z,$,J){super(w,S,_,x,H),this.ProfileType=w,this.ProfileName=S,this.Position=_,this.XDim=x,this.YDim=H,this.WallThickness=z,this.InnerFilletRadius=$,this.OuterFilletRadius=J,this.type=2770003689}}e.IfcRectangleHollowProfileDef=bI;class U9 extends lT{constructor(w,S,_,x){super(w),this.Position=w,this.XLength=S,this.YLength=_,this.Height=x,this.type=2798486643}}e.IfcRectangularPyramid=U9;class H9 extends vg{constructor(w,S,_,x,H,z,$){super(),this.BasisSurface=w,this.U1=S,this.V1=_,this.U2=x,this.V2=H,this.Usense=z,this.Vsense=$,this.type=3454111270}}e.IfcRectangularTrimmedSurface=H9;class G9 extends ym{constructor(w,S,_,x,H,z){super(w,S,_,x),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.DefinitionType=H,this.ReinforcementSectionDefinitions=z,this.type=3765753017}}e.IfcReinforcementDefinitionProperties=G9;class sp extends np{constructor(w,S,_,x,H,z){super(w,S,_,x),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.RelatedObjects=H,this.RelatedObjectsType=z,this.type=3939117080}}e.IfcRelAssigns=sp;class $A extends sp{constructor(w,S,_,x,H,z,$,J){super(w,S,_,x,H,z),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.RelatedObjects=H,this.RelatedObjectsType=z,this.RelatingActor=$,this.ActingRole=J,this.type=1683148259}}e.IfcRelAssignsToActor=$A;class V9 extends sp{constructor(w,S,_,x,H,z,$){super(w,S,_,x,H,z),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.RelatedObjects=H,this.RelatedObjectsType=z,this.RelatingControl=$,this.type=2495723537}}e.IfcRelAssignsToControl=V9;class ZA extends sp{constructor(w,S,_,x,H,z,$){super(w,S,_,x,H,z),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.RelatedObjects=H,this.RelatedObjectsType=z,this.RelatingGroup=$,this.type=1307041759}}e.IfcRelAssignsToGroup=ZA;class op extends ZA{constructor(w,S,_,x,H,z,$,J){super(w,S,_,x,H,z,$),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.RelatedObjects=H,this.RelatedObjectsType=z,this.RelatingGroup=$,this.Factor=J,this.type=1027710054}}e.IfcRelAssignsToGroupByFactor=op;class dT extends sp{constructor(w,S,_,x,H,z,$,J){super(w,S,_,x,H,z),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.RelatedObjects=H,this.RelatedObjectsType=z,this.RelatingProcess=$,this.QuantityInProcess=J,this.type=4278684876}}e.IfcRelAssignsToProcess=dT;class ZO extends sp{constructor(w,S,_,x,H,z,$){super(w,S,_,x,H,z),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.RelatedObjects=H,this.RelatedObjectsType=z,this.RelatingProduct=$,this.type=2857406711}}e.IfcRelAssignsToProduct=ZO;class KO extends sp{constructor(w,S,_,x,H,z,$){super(w,S,_,x,H,z),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.RelatedObjects=H,this.RelatedObjectsType=z,this.RelatingResource=$,this.type=205026976}}e.IfcRelAssignsToResource=KO;class oy extends np{constructor(w,S,_,x,H){super(w,S,_,x),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.RelatedObjects=H,this.type=1865459582}}e.IfcRelAssociates=oy;class k9 extends oy{constructor(w,S,_,x,H,z){super(w,S,_,x,H),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.RelatedObjects=H,this.RelatingApproval=z,this.type=4095574036}}e.IfcRelAssociatesApproval=k9;class z9 extends oy{constructor(w,S,_,x,H,z){super(w,S,_,x,H),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.RelatedObjects=H,this.RelatingClassification=z,this.type=919958153}}e.IfcRelAssociatesClassification=z9;class W9 extends oy{constructor(w,S,_,x,H,z,$){super(w,S,_,x,H),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.RelatedObjects=H,this.Intent=z,this.RelatingConstraint=$,this.type=2728634034}}e.IfcRelAssociatesConstraint=W9;class Y9 extends oy{constructor(w,S,_,x,H,z){super(w,S,_,x,H),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.RelatedObjects=H,this.RelatingDocument=z,this.type=982818633}}e.IfcRelAssociatesDocument=Y9;class QO extends oy{constructor(w,S,_,x,H,z){super(w,S,_,x,H),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.RelatedObjects=H,this.RelatingLibrary=z,this.type=3840914261}}e.IfcRelAssociatesLibrary=QO;class yv extends oy{constructor(w,S,_,x,H,z){super(w,S,_,x,H),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.RelatedObjects=H,this.RelatingMaterial=z,this.type=2655215786}}e.IfcRelAssociatesMaterial=yv;class vc extends np{constructor(w,S,_,x){super(w,S,_,x),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.type=826625072}}e.IfcRelConnects=vc;class KA extends vc{constructor(w,S,_,x,H,z,$){super(w,S,_,x),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ConnectionGeometry=H,this.RelatingElement=z,this.RelatedElement=$,this.type=1204542856}}e.IfcRelConnectsElements=KA;class j9 extends KA{constructor(w,S,_,x,H,z,$,J,fe,it,pi){super(w,S,_,x,H,z,$),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ConnectionGeometry=H,this.RelatingElement=z,this.RelatedElement=$,this.RelatingPriorities=J,this.RelatedPriorities=fe,this.RelatedConnectionType=it,this.RelatingConnectionType=pi,this.type=3945020480}}e.IfcRelConnectsPathElements=j9;class q9 extends vc{constructor(w,S,_,x,H,z){super(w,S,_,x),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.RelatingPort=H,this.RelatedElement=z,this.type=4201705270}}e.IfcRelConnectsPortToElement=q9;class JO extends vc{constructor(w,S,_,x,H,z,$){super(w,S,_,x),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.RelatingPort=H,this.RelatedPort=z,this.RealizingElement=$,this.type=3190031847}}e.IfcRelConnectsPorts=JO;class $9 extends vc{constructor(w,S,_,x,H,z){super(w,S,_,x),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.RelatingElement=H,this.RelatedStructuralActivity=z,this.type=2127690289}}e.IfcRelConnectsStructuralActivity=$9;class bg extends vc{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.RelatingStructuralMember=H,this.RelatedStructuralConnection=z,this.AppliedCondition=$,this.AdditionalConditions=J,this.SupportedLength=fe,this.ConditionCoordinateSystem=it,this.type=1638771189}}e.IfcRelConnectsStructuralMember=bg;class Z9 extends bg{constructor(w,S,_,x,H,z,$,J,fe,it,pi){super(w,S,_,x,H,z,$,J,fe,it),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.RelatingStructuralMember=H,this.RelatedStructuralConnection=z,this.AppliedCondition=$,this.AdditionalConditions=J,this.SupportedLength=fe,this.ConditionCoordinateSystem=it,this.ConnectionConstraint=pi,this.type=504942748}}e.IfcRelConnectsWithEccentricity=Z9;class hh extends KA{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ConnectionGeometry=H,this.RelatingElement=z,this.RelatedElement=$,this.RealizingElements=J,this.ConnectionType=fe,this.type=3678494232}}e.IfcRelConnectsWithRealizingElements=hh;class K9 extends vc{constructor(w,S,_,x,H,z){super(w,S,_,x),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.RelatedElements=H,this.RelatingStructure=z,this.type=3242617779}}e.IfcRelContainedInSpatialStructure=K9;class RD extends vc{constructor(w,S,_,x,H,z){super(w,S,_,x),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.RelatingBuildingElement=H,this.RelatedCoverings=z,this.type=886880790}}e.IfcRelCoversBldgElements=RD;class hT extends vc{constructor(w,S,_,x,H,z){super(w,S,_,x),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.RelatingSpace=H,this.RelatedCoverings=z,this.type=2802773753}}e.IfcRelCoversSpaces=hT;class Ev extends np{constructor(w,S,_,x,H,z){super(w,S,_,x),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.RelatingContext=H,this.RelatedDefinitions=z,this.type=2565941209}}e.IfcRelDeclares=Ev;class fT extends np{constructor(w,S,_,x){super(w,S,_,x),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.type=2551354335}}e.IfcRelDecomposes=fT;class rp extends np{constructor(w,S,_,x){super(w,S,_,x),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.type=693640335}}e.IfcRelDefines=rp;class Rc extends rp{constructor(w,S,_,x,H,z){super(w,S,_,x),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.RelatedObjects=H,this.RelatingObject=z,this.type=1462361463}}e.IfcRelDefinesByObject=Rc;class Q9 extends rp{constructor(w,S,_,x,H,z){super(w,S,_,x),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.RelatedObjects=H,this.RelatingPropertyDefinition=z,this.type=4186316022}}e.IfcRelDefinesByProperties=Q9;class J9 extends rp{constructor(w,S,_,x,H,z){super(w,S,_,x),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.RelatedPropertySets=H,this.RelatingTemplate=z,this.type=307848117}}e.IfcRelDefinesByTemplate=J9;class X9 extends rp{constructor(w,S,_,x,H,z){super(w,S,_,x),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.RelatedObjects=H,this.RelatingType=z,this.type=781010003}}e.IfcRelDefinesByType=X9;class eF extends vc{constructor(w,S,_,x,H,z){super(w,S,_,x),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.RelatingOpeningElement=H,this.RelatedBuildingElement=z,this.type=3940055652}}e.IfcRelFillsElement=eF;class XO extends vc{constructor(w,S,_,x,H,z){super(w,S,_,x),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.RelatedControlElements=H,this.RelatingFlowElement=z,this.type=279856033}}e.IfcRelFlowControlElements=XO;class Ng extends vc{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.RelatingElement=H,this.RelatedElement=z,this.InterferenceGeometry=$,this.InterferenceType=J,this.ImpliedOrder=fe,this.type=427948657}}e.IfcRelInterferesElements=Ng;class Tm extends fT{constructor(w,S,_,x,H,z){super(w,S,_,x),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.RelatingObject=H,this.RelatedObjects=z,this.type=3268803585}}e.IfcRelNests=Tm;class NI extends fT{constructor(w,S,_,x,H,z){super(w,S,_,x),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.RelatingElement=H,this.RelatedFeatureElement=z,this.type=750771296}}e.IfcRelProjectsElement=NI;class QA extends vc{constructor(w,S,_,x,H,z){super(w,S,_,x),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.RelatedElements=H,this.RelatingStructure=z,this.type=1245217292}}e.IfcRelReferencedInSpatialStructure=QA;class ga extends vc{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.RelatingProcess=H,this.RelatedProcess=z,this.TimeLag=$,this.SequenceType=J,this.UserDefinedSequenceType=fe,this.type=4122056220}}e.IfcRelSequence=ga;class tF extends vc{constructor(w,S,_,x,H,z){super(w,S,_,x),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.RelatingSystem=H,this.RelatedBuildings=z,this.type=366585022}}e.IfcRelServicesBuildings=tF;class JA extends vc{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.RelatingSpace=H,this.RelatedBuildingElement=z,this.ConnectionGeometry=$,this.PhysicalOrVirtualBoundary=J,this.InternalOrExternalBoundary=fe,this.type=3451746338}}e.IfcRelSpaceBoundary=JA;class XA extends JA{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.RelatingSpace=H,this.RelatedBuildingElement=z,this.ConnectionGeometry=$,this.PhysicalOrVirtualBoundary=J,this.InternalOrExternalBoundary=fe,this.ParentBoundary=it,this.type=3523091289}}e.IfcRelSpaceBoundary1stLevel=XA;class iF extends XA{constructor(w,S,_,x,H,z,$,J,fe,it,pi){super(w,S,_,x,H,z,$,J,fe,it),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.RelatingSpace=H,this.RelatedBuildingElement=z,this.ConnectionGeometry=$,this.PhysicalOrVirtualBoundary=J,this.InternalOrExternalBoundary=fe,this.ParentBoundary=it,this.CorrespondingBoundary=pi,this.type=1521410863}}e.IfcRelSpaceBoundary2ndLevel=iF;class wa extends fT{constructor(w,S,_,x,H,z){super(w,S,_,x),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.RelatingBuildingElement=H,this.RelatedOpeningElement=z,this.type=1401173127}}e.IfcRelVoidsElement=wa;class nF extends VO{constructor(w,S,_,x){super(w,S,_),this.Transition=w,this.SameSense=S,this.ParentCurve=_,this.ParamLength=x,this.type=816062949}}e.IfcReparametrisedCompositeCurveSegment=nF;class eL extends ny{constructor(w,S,_,x,H,z,$){super(w,S,_,x,H),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.Identification=z,this.LongDescription=$,this.type=2914609552}}e.IfcResource=eL;class tL extends dv{constructor(w,S,_,x){super(w,S),this.SweptArea=w,this.Position=S,this.Axis=_,this.Angle=x,this.type=1856042241}}e.IfcRevolvedAreaSolid=tL;class sF extends tL{constructor(w,S,_,x,H){super(w,S,_,x),this.SweptArea=w,this.Position=S,this.Axis=_,this.Angle=x,this.EndSweptArea=H,this.type=3243963512}}e.IfcRevolvedAreaSolidTapered=sF;class oF extends lT{constructor(w,S,_){super(w),this.Position=w,this.Height=S,this.BottomRadius=_,this.type=4158566097}}e.IfcRightCircularCone=oF;class SD extends lT{constructor(w,S,_){super(w),this.Position=w,this.Height=S,this.Radius=_,this.type=3626867408}}e.IfcRightCircularCylinder=SD;class iL extends sy{constructor(w,S,_,x,H,z,$,J,fe,it,pi,Bi){super(w,S,_,x),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.TemplateType=H,this.PrimaryMeasureType=z,this.SecondaryMeasureType=$,this.Enumerators=J,this.PrimaryUnit=fe,this.SecondaryUnit=it,this.Expression=pi,this.AccessState=Bi,this.type=3663146110}}e.IfcSimplePropertyTemplate=iL;class Tv extends Em{constructor(w,S,_,x,H,z,$,J){super(w,S,_,x,H,z,$),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.LongName=J,this.type=1412071761}}e.IfcSpatialElement=Tv;class gv extends hv{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.type=710998568}}e.IfcSpatialElementType=gv;class _g extends Tv{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.LongName=J,this.CompositionType=fe,this.type=2706606064}}e.IfcSpatialStructureElement=_g;class _I extends gv{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.type=3893378262}}e.IfcSpatialStructureElementType=_I;class ry extends Tv{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.LongName=J,this.PredefinedType=fe,this.type=463610769}}e.IfcSpatialZone=ry;class wv extends gv{constructor(w,S,_,x,H,z,$,J,fe,it,pi){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.LongName=pi,this.type=2481509218}}e.IfcSpatialZoneType=wv;class nL extends lT{constructor(w,S){super(w),this.Position=w,this.Radius=S,this.type=451544542}}e.IfcSphere=nL;class eb extends uT{constructor(w,S){super(w),this.Position=w,this.Radius=S,this.type=4015995234}}e.IfcSphericalSurface=eb;class pT extends Em{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.AppliedLoad=J,this.GlobalOrLocal=fe,this.type=3544373492}}e.IfcStructuralActivity=pT;class vv extends Em{constructor(w,S,_,x,H,z,$){super(w,S,_,x,H,z,$),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.type=3136571912}}e.IfcStructuralItem=vv;class O0 extends vv{constructor(w,S,_,x,H,z,$){super(w,S,_,x,H,z,$),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.type=530289379}}e.IfcStructuralMember=O0;class fh extends pT{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.AppliedLoad=J,this.GlobalOrLocal=fe,this.type=3689010777}}e.IfcStructuralReaction=fh;class sL extends O0{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.PredefinedType=J,this.Thickness=fe,this.type=3979015343}}e.IfcStructuralSurfaceMember=sL;class rF extends sL{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.PredefinedType=J,this.Thickness=fe,this.type=2218152070}}e.IfcStructuralSurfaceMemberVarying=rF;class lF extends fh{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.AppliedLoad=J,this.GlobalOrLocal=fe,this.PredefinedType=it,this.type=603775116}}e.IfcStructuralSurfaceReaction=lF;class aF extends rT{constructor(w,S,_,x,H,z,$,J,fe,it,pi,Bi){super(w,S,_,x,H,z,$,J,fe,it,pi),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.Identification=$,this.LongDescription=J,this.ResourceType=fe,this.BaseCosts=it,this.BaseQuantity=pi,this.PredefinedType=Bi,this.type=4095615324}}e.IfcSubContractResourceType=aF;class DI extends iy{constructor(w,S,_){super(),this.Curve3D=w,this.AssociatedGeometry=S,this.MasterRepresentation=_,this.type=699246055}}e.IfcSurfaceCurve=DI;class uF extends dv{constructor(w,S,_,x,H,z){super(w,S),this.SweptArea=w,this.Position=S,this.Directrix=_,this.StartParam=x,this.EndParam=H,this.ReferenceSurface=z,this.type=2028607225}}e.IfcSurfaceCurveSweptAreaSolid=uF;class cF extends cD{constructor(w,S,_,x){super(w,S),this.SweptCurve=w,this.Position=S,this.ExtrudedDirection=_,this.Depth=x,this.type=2809605785}}e.IfcSurfaceOfLinearExtrusion=cF;class Su extends cD{constructor(w,S,_){super(w,S),this.SweptCurve=w,this.Position=S,this.AxisPosition=_,this.type=4124788165}}e.IfcSurfaceOfRevolution=Su;class AD extends TD{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=1580310250}}e.IfcSystemFurnitureElementType=AD;class dF extends mv{constructor(w,S,_,x,H,z,$,J,fe,it,pi,Bi,Dn){super(w,S,_,x,H,z,$),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.Identification=z,this.LongDescription=$,this.Status=J,this.WorkMethod=fe,this.IsMilestone=it,this.Priority=pi,this.TaskTime=Bi,this.PredefinedType=Dn,this.type=3473067441}}e.IfcTask=dF;class hF extends HA{constructor(w,S,_,x,H,z,$,J,fe,it,pi){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.Identification=$,this.LongDescription=J,this.ProcessType=fe,this.PredefinedType=it,this.WorkMethod=pi,this.type=3206491090}}e.IfcTaskType=hF;class bD extends dD{constructor(w){super(),this.Coordinates=w,this.type=2387106220}}e.IfcTessellatedFaceSet=bD;class fF extends uT{constructor(w,S,_){super(w),this.Position=w,this.MajorRadius=S,this.MinorRadius=_,this.type=1935646853}}e.IfcToroidalSurface=fF;class oL extends cf{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=2097647324}}e.IfcTransportElementType=oL;class pF extends bD{constructor(w,S,_,x,H){super(w),this.Coordinates=w,this.Normals=S,this.Closed=_,this.CoordIndex=x,this.PnIndex=H,this.type=2916149573}}e.IfcTriangulatedFaceSet=pF;class IF extends ym{constructor(w,S,_,x,H,z,$,J,fe,it,pi,Bi,Dn,go,jl,Or){super(w,S,_,x),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.LiningDepth=H,this.LiningThickness=z,this.TransomThickness=$,this.MullionThickness=J,this.FirstTransomOffset=fe,this.SecondTransomOffset=it,this.FirstMullionOffset=pi,this.SecondMullionOffset=Bi,this.ShapeAspectStyle=Dn,this.LiningOffset=go,this.LiningToPanelOffsetX=jl,this.LiningToPanelOffsetY=Or,this.type=336235671}}e.IfcWindowLiningProperties=IF;class mF extends ym{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.OperationType=H,this.PanelPosition=z,this.FrameDepth=$,this.FrameThickness=J,this.ShapeAspectStyle=fe,this.type=512836454}}e.IfcWindowPanelProperties=mF;class rL extends ny{constructor(w,S,_,x,H,z){super(w,S,_,x,H),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.TheActor=z,this.type=2296667514}}e.IfcActor=rL;class lL extends wD{constructor(w){super(w),this.Outer=w,this.type=1635779807}}e.IfcAdvancedBrep=lL;class yF extends lL{constructor(w,S){super(w),this.Outer=w,this.Voids=S,this.type=2603310189}}e.IfcAdvancedBrepWithVoids=yF;class Dg extends Em{constructor(w,S,_,x,H,z,$){super(w,S,_,x,H,z,$),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.type=1674181508}}e.IfcAnnotation=Dg;class Cg extends vg{constructor(w,S,_,x,H,z,$){super(),this.UDegree=w,this.VDegree=S,this.ControlPointsList=_,this.SurfaceForm=x,this.UClosed=H,this.VClosed=z,this.SelfIntersect=$,this.type=2887950389}}e.IfcBSplineSurface=Cg;class aL extends Cg{constructor(w,S,_,x,H,z,$,J,fe,it,pi,Bi){super(w,S,_,x,H,z,$),this.UDegree=w,this.VDegree=S,this.ControlPointsList=_,this.SurfaceForm=x,this.UClosed=H,this.VClosed=z,this.SelfIntersect=$,this.UMultiplicities=J,this.VMultiplicities=fe,this.UKnots=it,this.VKnots=pi,this.KnotSpec=Bi,this.type=167062518}}e.IfcBSplineSurfaceWithKnots=aL;class EF extends lT{constructor(w,S,_,x){super(w),this.Position=w,this.XLength=S,this.YLength=_,this.ZLength=x,this.type=1334484129}}e.IfcBlock=EF;class TF extends fv{constructor(w,S,_){super(w,S,_),this.Operator=w,this.FirstOperand=S,this.SecondOperand=_,this.type=3649129432}}e.IfcBooleanClippingResult=TF;class xg extends iy{constructor(){super(),this.type=1260505505}}e.IfcBoundedCurve=xg;class gF extends _g{constructor(w,S,_,x,H,z,$,J,fe,it,pi,Bi){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.LongName=J,this.CompositionType=fe,this.ElevationOfRefHeight=it,this.ElevationOfTerrain=pi,this.BuildingAddress=Bi,this.type=4031249490}}e.IfcBuilding=gF;class gr extends cf{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.type=1950629157}}e.IfcBuildingElementType=gr;class uL extends _g{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.LongName=J,this.CompositionType=fe,this.Elevation=it,this.type=3124254112}}e.IfcBuildingStorey=uL;class wF extends gr{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=2197970202}}e.IfcChimneyType=wF;class vF extends Im{constructor(w,S,_,x,H){super(w,S,_,x),this.ProfileType=w,this.ProfileName=S,this.Position=_,this.Radius=x,this.WallThickness=H,this.type=2937912522}}e.IfcCircleHollowProfileDef=vF;class RF extends cf{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.type=3893394355}}e.IfcCivilElementType=RF;class SF extends gr{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=300633059}}e.IfcColumnType=SF;class AF extends sy{constructor(w,S,_,x,H,z,$){super(w,S,_,x),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.UsageName=H,this.TemplateType=z,this.HasPropertyTemplates=$,this.type=3875453745}}e.IfcComplexPropertyTemplate=AF;class cL extends xg{constructor(w,S){super(),this.Segments=w,this.SelfIntersect=S,this.type=3732776249}}e.IfcCompositeCurve=cL;class ND extends cL{constructor(w,S){super(w,S),this.Segments=w,this.SelfIntersect=S,this.type=15328376}}e.IfcCompositeCurveOnSurface=ND;class tb extends iy{constructor(w){super(),this.Position=w,this.type=2510884976}}e.IfcConic=tb;class bF extends rT{constructor(w,S,_,x,H,z,$,J,fe,it,pi,Bi){super(w,S,_,x,H,z,$,J,fe,it,pi),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.Identification=$,this.LongDescription=J,this.ResourceType=fe,this.BaseCosts=it,this.BaseQuantity=pi,this.PredefinedType=Bi,this.type=2185764099}}e.IfcConstructionEquipmentResourceType=bF;class NF extends rT{constructor(w,S,_,x,H,z,$,J,fe,it,pi,Bi){super(w,S,_,x,H,z,$,J,fe,it,pi),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.Identification=$,this.LongDescription=J,this.ResourceType=fe,this.BaseCosts=it,this.BaseQuantity=pi,this.PredefinedType=Bi,this.type=4105962743}}e.IfcConstructionMaterialResourceType=NF;class _F extends rT{constructor(w,S,_,x,H,z,$,J,fe,it,pi,Bi){super(w,S,_,x,H,z,$,J,fe,it,pi),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.Identification=$,this.LongDescription=J,this.ResourceType=fe,this.BaseCosts=it,this.BaseQuantity=pi,this.PredefinedType=Bi,this.type=1525564444}}e.IfcConstructionProductResourceType=_F;class ly extends eL{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.Identification=z,this.LongDescription=$,this.Usage=J,this.BaseCosts=fe,this.BaseQuantity=it,this.type=2559216714}}e.IfcConstructionResource=ly;class CI extends ny{constructor(w,S,_,x,H,z){super(w,S,_,x,H),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.Identification=z,this.type=3293443760}}e.IfcControl=CI;class DF extends CI{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.Identification=z,this.PredefinedType=$,this.CostValues=J,this.CostQuantities=fe,this.type=3895139033}}e.IfcCostItem=DF;class CF extends CI{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.Identification=z,this.PredefinedType=$,this.Status=J,this.SubmittedOn=fe,this.UpdateDate=it,this.type=1419761937}}e.IfcCostSchedule=CF;class xF extends gr{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=1916426348}}e.IfcCoveringType=xF;class dL extends ly{constructor(w,S,_,x,H,z,$,J,fe,it,pi){super(w,S,_,x,H,z,$,J,fe,it),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.Identification=z,this.LongDescription=$,this.Usage=J,this.BaseCosts=fe,this.BaseQuantity=it,this.PredefinedType=pi,this.type=3295246426}}e.IfcCrewResource=dL;class OF extends gr{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=1457835157}}e.IfcCurtainWallType=OF;class LF extends uT{constructor(w,S){super(w),this.Position=w,this.Radius=S,this.type=1213902940}}e.IfcCylindricalSurface=LF;class _D extends cf{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.type=3256556792}}e.IfcDistributionElementType=_D;class ph extends _D{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.type=3849074793}}e.IfcDistributionFlowElementType=ph;class DD extends ym{constructor(w,S,_,x,H,z,$,J,fe,it,pi,Bi,Dn,go,jl,Or,Ra){super(w,S,_,x),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.LiningDepth=H,this.LiningThickness=z,this.ThresholdDepth=$,this.ThresholdThickness=J,this.TransomThickness=fe,this.TransomOffset=it,this.LiningOffset=pi,this.ThresholdOffset=Bi,this.CasingThickness=Dn,this.CasingDepth=go,this.ShapeAspectStyle=jl,this.LiningToPanelOffsetX=Or,this.LiningToPanelOffsetY=Ra,this.type=2963535650}}e.IfcDoorLiningProperties=DD;class gm extends ym{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.PanelDepth=H,this.PanelOperation=z,this.PanelWidth=$,this.PanelPosition=J,this.ShapeAspectStyle=fe,this.type=1714330368}}e.IfcDoorPanelProperties=gm;class Rv extends gr{constructor(w,S,_,x,H,z,$,J,fe,it,pi,Bi,Dn){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.OperationType=pi,this.ParameterTakesPrecedence=Bi,this.UserDefinedOperationType=Dn,this.type=2323601079}}e.IfcDoorType=Rv;class PF extends YA{constructor(w){super(w),this.Name=w,this.type=445594917}}e.IfcDraughtingPreDefinedColour=PF;class hL extends jA{constructor(w){super(w),this.Name=w,this.type=4006246654}}e.IfcDraughtingPreDefinedCurveFont=hL;class lp extends Em{constructor(w,S,_,x,H,z,$,J){super(w,S,_,x,H,z,$),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.type=1758889154}}e.IfcElement=lp;class fL extends lp{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.AssemblyPlace=fe,this.PredefinedType=it,this.type=4123344466}}e.IfcElementAssembly=fL;class IT extends cf{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=2397081782}}e.IfcElementAssemblyType=IT;class wm extends lp{constructor(w,S,_,x,H,z,$,J){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.type=1623761950}}e.IfcElementComponent=wm;class xI extends cf{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.type=2590856083}}e.IfcElementComponentType=xI;class CD extends tb{constructor(w,S,_){super(w),this.Position=w,this.SemiAxis1=S,this.SemiAxis2=_,this.type=1704287377}}e.IfcEllipse=CD;class ur extends ph{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.type=2107101300}}e.IfcEnergyConversionDeviceType=ur;class pL extends ur{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=132023988}}e.IfcEngineType=pL;class MF extends ur{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=3174744832}}e.IfcEvaporativeCoolerType=MF;class BF extends ur{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=3390157468}}e.IfcEvaporatorType=BF;class FF extends mv{constructor(w,S,_,x,H,z,$,J,fe,it,pi){super(w,S,_,x,H,z,$),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.Identification=z,this.LongDescription=$,this.PredefinedType=J,this.EventTriggerType=fe,this.UserDefinedEventTriggerType=it,this.EventOccurenceTime=pi,this.type=4148101412}}e.IfcEvent=FF;class ib extends Tv{constructor(w,S,_,x,H,z,$,J){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.LongName=J,this.type=2853485674}}e.IfcExternalSpatialStructureElement=ib;class IL extends wD{constructor(w){super(w),this.Outer=w,this.type=807026263}}e.IfcFacetedBrep=IL;class xD extends IL{constructor(w,S){super(w),this.Outer=w,this.Voids=S,this.type=3737207727}}e.IfcFacetedBrepWithVoids=xD;class UF extends wm{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=647756555}}e.IfcFastener=UF;class HF extends xI{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=2489546625}}e.IfcFastenerType=HF;class nb extends lp{constructor(w,S,_,x,H,z,$,J){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.type=2827207264}}e.IfcFeatureElement=nb;class mL extends nb{constructor(w,S,_,x,H,z,$,J){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.type=2143335405}}e.IfcFeatureElementAddition=mL;class Sv extends nb{constructor(w,S,_,x,H,z,$,J){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.type=1287392070}}e.IfcFeatureElementSubtraction=Sv;class vm extends ph{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.type=3907093117}}e.IfcFlowControllerType=vm;class Og extends ph{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.type=3198132628}}e.IfcFlowFittingType=Og;class OD extends vm{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=3815607619}}e.IfcFlowMeterType=OD;class Av extends ph{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.type=1482959167}}e.IfcFlowMovingDeviceType=Av;class bv extends ph{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.type=1834744321}}e.IfcFlowSegmentType=bv;class LD extends ph{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.type=1339347760}}e.IfcFlowStorageDeviceType=LD;class Sc extends ph{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.type=2297155007}}e.IfcFlowTerminalType=Sc;class sb extends ph{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.type=3009222698}}e.IfcFlowTreatmentDeviceType=sb;class yL extends gr{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=1893162501}}e.IfcFootingType=yL;class ob extends lp{constructor(w,S,_,x,H,z,$,J){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.type=263784265}}e.IfcFurnishingElement=ob;class GF extends ob{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=1509553395}}e.IfcFurniture=GF;class VF extends lp{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=3493046030}}e.IfcGeographicElement=VF;class EL extends Em{constructor(w,S,_,x,H,z,$,J,fe,it,pi){super(w,S,_,x,H,z,$),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.UAxes=J,this.VAxes=fe,this.WAxes=it,this.PredefinedType=pi,this.type=3009204131}}e.IfcGrid=EL;class mT extends ny{constructor(w,S,_,x,H){super(w,S,_,x,H),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.type=2706460486}}e.IfcGroup=mT;class kF extends ur{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=1251058090}}e.IfcHeatExchangerType=kF;class zF extends ur{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=1806887404}}e.IfcHumidifierType=zF;class Lg extends xg{constructor(w,S,_){super(),this.Points=w,this.Segments=S,this.SelfIntersect=_,this.type=2571569899}}e.IfcIndexedPolyCurve=Lg;class TL extends sb{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=3946677679}}e.IfcInterceptorType=TL;class Eo extends DI{constructor(w,S,_){super(w,S,_),this.Curve3D=w,this.AssociatedGeometry=S,this.MasterRepresentation=_,this.type=3113134337}}e.IfcIntersectionCurve=Eo;class gL extends mT{constructor(w,S,_,x,H,z,$,J,fe,it,pi){super(w,S,_,x,H),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.PredefinedType=z,this.Jurisdiction=$,this.ResponsiblePersons=J,this.LastUpdateDate=fe,this.CurrentValue=it,this.OriginalValue=pi,this.type=2391368822}}e.IfcInventory=gL;class WF extends Og{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=4288270099}}e.IfcJunctionBoxType=WF;class Cr extends ly{constructor(w,S,_,x,H,z,$,J,fe,it,pi){super(w,S,_,x,H,z,$,J,fe,it),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.Identification=z,this.LongDescription=$,this.Usage=J,this.BaseCosts=fe,this.BaseQuantity=it,this.PredefinedType=pi,this.type=3827777499}}e.IfcLaborResource=Cr;class PD extends Sc{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=1051575348}}e.IfcLampType=PD;class YF extends Sc{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=1161773419}}e.IfcLightFixtureType=YF;class jF extends wm{constructor(w,S,_,x,H,z,$,J,fe,it,pi){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.NominalDiameter=fe,this.NominalLength=it,this.PredefinedType=pi,this.type=377706215}}e.IfcMechanicalFastener=jF;class rb extends xI{constructor(w,S,_,x,H,z,$,J,fe,it,pi,Bi){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.NominalDiameter=pi,this.NominalLength=Bi,this.type=2108223431}}e.IfcMechanicalFastenerType=rb;class wL extends Sc{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=1114901282}}e.IfcMedicalDeviceType=wL;class MD extends gr{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=3181161470}}e.IfcMemberType=MD;class qF extends ur{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=977012517}}e.IfcMotorConnectionType=qF;class $F extends rL{constructor(w,S,_,x,H,z,$){super(w,S,_,x,H,z),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.TheActor=z,this.PredefinedType=$,this.type=4143007308}}e.IfcOccupant=$F;class vL extends Sv{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=3588315303}}e.IfcOpeningElement=vL;class yT extends vL{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=3079942009}}e.IfcOpeningStandardCase=yT;class Rm extends Sc{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=2837617999}}e.IfcOutletType=Rm;class ZF extends CI{constructor(w,S,_,x,H,z,$,J){super(w,S,_,x,H,z),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.Identification=z,this.LifeCyclePhase=$,this.PredefinedType=J,this.type=2382730787}}e.IfcPerformanceHistory=ZF;class KF extends ym{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.OperationType=H,this.PanelPosition=z,this.FrameDepth=$,this.FrameThickness=J,this.ShapeAspectStyle=fe,this.type=3566463478}}e.IfcPermeableCoveringProperties=KF;class QF extends CI{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.Identification=z,this.PredefinedType=$,this.Status=J,this.LongDescription=fe,this.type=3327091369}}e.IfcPermit=QF;class JF extends gr{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=1158309216}}e.IfcPileType=JF;class XF extends Og{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=804291784}}e.IfcPipeFittingType=XF;class eU extends bv{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=4231323485}}e.IfcPipeSegmentType=eU;class tU extends gr{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=4017108033}}e.IfcPlateType=tU;class iU extends bD{constructor(w,S,_,x){super(w),this.Coordinates=w,this.Closed=S,this.Faces=_,this.PnIndex=x,this.type=2839578677}}e.IfcPolygonalFaceSet=iU;class BD extends xg{constructor(w){super(),this.Points=w,this.type=3724593414}}e.IfcPolyline=BD;class RL extends Em{constructor(w,S,_,x,H,z,$){super(w,S,_,x,H,z,$),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.type=3740093272}}e.IfcPort=RL;class FD extends mv{constructor(w,S,_,x,H,z,$,J){super(w,S,_,x,H,z,$),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.Identification=z,this.LongDescription=$,this.PredefinedType=J,this.type=2744685151}}e.IfcProcedure=FD;class OI extends CI{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.Identification=z,this.PredefinedType=$,this.Status=J,this.LongDescription=fe,this.type=2904328755}}e.IfcProjectOrder=OI;class nU extends mL{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=3651124850}}e.IfcProjectionElement=nU;class sU extends vm{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=1842657554}}e.IfcProtectiveDeviceType=sU;class SL extends Av{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=2250791053}}e.IfcPumpType=SL;class oU extends gr{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=2893384427}}e.IfcRailingType=oU;class Pg extends gr{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=2324767716}}e.IfcRampFlightType=Pg;class L0 extends gr{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=1469900589}}e.IfcRampType=L0;class LI extends aL{constructor(w,S,_,x,H,z,$,J,fe,it,pi,Bi,Dn){super(w,S,_,x,H,z,$,J,fe,it,pi,Bi),this.UDegree=w,this.VDegree=S,this.ControlPointsList=_,this.SurfaceForm=x,this.UClosed=H,this.VClosed=z,this.SelfIntersect=$,this.UMultiplicities=J,this.VMultiplicities=fe,this.UKnots=it,this.VKnots=pi,this.KnotSpec=Bi,this.WeightsData=Dn,this.type=683857671}}e.IfcRationalBSplineSurfaceWithKnots=LI;class Nv extends wm{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.SteelGrade=fe,this.type=3027567501}}e.IfcReinforcingElement=Nv;class P0 extends xI{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.type=964333572}}e.IfcReinforcingElementType=P0;class PI extends Nv{constructor(w,S,_,x,H,z,$,J,fe,it,pi,Bi,Dn,go,jl,Or,Ra,MI){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.SteelGrade=fe,this.MeshLength=it,this.MeshWidth=pi,this.LongitudinalBarNominalDiameter=Bi,this.TransverseBarNominalDiameter=Dn,this.LongitudinalBarCrossSectionArea=go,this.TransverseBarCrossSectionArea=jl,this.LongitudinalBarSpacing=Or,this.TransverseBarSpacing=Ra,this.PredefinedType=MI,this.type=2320036040}}e.IfcReinforcingMesh=PI;class rU extends P0{constructor(w,S,_,x,H,z,$,J,fe,it,pi,Bi,Dn,go,jl,Or,Ra,MI,ql,fy){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.MeshLength=pi,this.MeshWidth=Bi,this.LongitudinalBarNominalDiameter=Dn,this.TransverseBarNominalDiameter=go,this.LongitudinalBarCrossSectionArea=jl,this.TransverseBarCrossSectionArea=Or,this.LongitudinalBarSpacing=Ra,this.TransverseBarSpacing=MI,this.BendingShapeCode=ql,this.BendingParameters=fy,this.type=2310774935}}e.IfcReinforcingMeshType=rU;class xr extends fT{constructor(w,S,_,x,H,z){super(w,S,_,x),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.RelatingObject=H,this.RelatedObjects=z,this.type=160246688}}e.IfcRelAggregates=xr;class UD extends gr{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=2781568857}}e.IfcRoofType=UD;class lU extends Sc{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=1768891740}}e.IfcSanitaryTerminalType=lU;class aU extends DI{constructor(w,S,_){super(w,S,_),this.Curve3D=w,this.AssociatedGeometry=S,this.MasterRepresentation=_,this.type=2157484638}}e.IfcSeamCurve=aU;class uU extends gr{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=4074543187}}e.IfcShadingDeviceType=uU;class AL extends _g{constructor(w,S,_,x,H,z,$,J,fe,it,pi,Bi,Dn,go){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.LongName=J,this.CompositionType=fe,this.RefLatitude=it,this.RefLongitude=pi,this.RefElevation=Bi,this.LandTitleNumber=Dn,this.SiteAddress=go,this.type=4097777520}}e.IfcSite=AL;class bL extends gr{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=2533589738}}e.IfcSlabType=bL;class cU extends ur{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=1072016465}}e.IfcSolarDeviceType=cU;class Mg extends _g{constructor(w,S,_,x,H,z,$,J,fe,it,pi){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.LongName=J,this.CompositionType=fe,this.PredefinedType=it,this.ElevationWithFlooring=pi,this.type=3856911033}}e.IfcSpace=Mg;class Bg extends Sc{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=1305183839}}e.IfcSpaceHeaterType=Bg;class dU extends _I{constructor(w,S,_,x,H,z,$,J,fe,it,pi){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.LongName=pi,this.type=3812236995}}e.IfcSpaceType=dU;class hU extends Sc{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=3112655638}}e.IfcStackTerminalType=hU;class fU extends gr{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=1039846685}}e.IfcStairFlightType=fU;class lb extends gr{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=338393293}}e.IfcStairType=lb;class Fg extends pT{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.AppliedLoad=J,this.GlobalOrLocal=fe,this.DestabilizingLoad=it,this.type=682877961}}e.IfcStructuralAction=Fg;class ET extends vv{constructor(w,S,_,x,H,z,$,J){super(w,S,_,x,H,z,$),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.AppliedCondition=J,this.type=1179482911}}e.IfcStructuralConnection=ET;class ap extends Fg{constructor(w,S,_,x,H,z,$,J,fe,it,pi,Bi){super(w,S,_,x,H,z,$,J,fe,it),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.AppliedLoad=J,this.GlobalOrLocal=fe,this.DestabilizingLoad=it,this.ProjectedOrTrue=pi,this.PredefinedType=Bi,this.type=1004757350}}e.IfcStructuralCurveAction=ap;class Ug extends ET{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.AppliedCondition=J,this.Axis=fe,this.type=4243806635}}e.IfcStructuralCurveConnection=Ug;class NL extends O0{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.PredefinedType=J,this.Axis=fe,this.type=214636428}}e.IfcStructuralCurveMember=NL;class ab extends NL{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.PredefinedType=J,this.Axis=fe,this.type=2445595289}}e.IfcStructuralCurveMemberVarying=ab;class Hg extends fh{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.AppliedLoad=J,this.GlobalOrLocal=fe,this.PredefinedType=it,this.type=2757150158}}e.IfcStructuralCurveReaction=Hg;class HD extends ap{constructor(w,S,_,x,H,z,$,J,fe,it,pi,Bi){super(w,S,_,x,H,z,$,J,fe,it,pi,Bi),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.AppliedLoad=J,this.GlobalOrLocal=fe,this.DestabilizingLoad=it,this.ProjectedOrTrue=pi,this.PredefinedType=Bi,this.type=1807405624}}e.IfcStructuralLinearAction=HD;class Ua extends mT{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.PredefinedType=z,this.ActionType=$,this.ActionSource=J,this.Coefficient=fe,this.Purpose=it,this.type=1252848954}}e.IfcStructuralLoadGroup=Ua;class _v extends Fg{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe,it),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.AppliedLoad=J,this.GlobalOrLocal=fe,this.DestabilizingLoad=it,this.type=2082059205}}e.IfcStructuralPointAction=_v;class pU extends ET{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.AppliedCondition=J,this.ConditionCoordinateSystem=fe,this.type=734778138}}e.IfcStructuralPointConnection=pU;class GD extends fh{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.AppliedLoad=J,this.GlobalOrLocal=fe,this.type=1235345126}}e.IfcStructuralPointReaction=GD;class IU extends mT{constructor(w,S,_,x,H,z,$,J){super(w,S,_,x,H),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.TheoryType=z,this.ResultForLoadGroup=$,this.IsLinear=J,this.type=2986769608}}e.IfcStructuralResultGroup=IU;class _L extends Fg{constructor(w,S,_,x,H,z,$,J,fe,it,pi,Bi){super(w,S,_,x,H,z,$,J,fe,it),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.AppliedLoad=J,this.GlobalOrLocal=fe,this.DestabilizingLoad=it,this.ProjectedOrTrue=pi,this.PredefinedType=Bi,this.type=3657597509}}e.IfcStructuralSurfaceAction=_L;class VD extends ET{constructor(w,S,_,x,H,z,$,J){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.AppliedCondition=J,this.type=1975003073}}e.IfcStructuralSurfaceConnection=VD;class mU extends ly{constructor(w,S,_,x,H,z,$,J,fe,it,pi){super(w,S,_,x,H,z,$,J,fe,it),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.Identification=z,this.LongDescription=$,this.Usage=J,this.BaseCosts=fe,this.BaseQuantity=it,this.PredefinedType=pi,this.type=148013059}}e.IfcSubContractResource=mU;class Dv extends nb{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=3101698114}}e.IfcSurfaceFeature=Dv;class Gg extends vm{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=2315554128}}e.IfcSwitchingDeviceType=Gg;class Cv extends mT{constructor(w,S,_,x,H){super(w,S,_,x,H),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.type=2254336722}}e.IfcSystem=Cv;class yU extends ob{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=413509423}}e.IfcSystemFurnitureElement=yU;class EU extends LD{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=5716631}}e.IfcTankType=EU;class TU extends Nv{constructor(w,S,_,x,H,z,$,J,fe,it,pi,Bi,Dn,go,jl,Or,Ra){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.SteelGrade=fe,this.PredefinedType=it,this.NominalDiameter=pi,this.CrossSectionArea=Bi,this.TensionForce=Dn,this.PreStress=go,this.FrictionCoefficient=jl,this.AnchorageSlip=Or,this.MinCurvatureRadius=Ra,this.type=3824725483}}e.IfcTendon=TU;class gU extends Nv{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.SteelGrade=fe,this.PredefinedType=it,this.type=2347447852}}e.IfcTendonAnchor=gU;class wU extends P0{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=3081323446}}e.IfcTendonAnchorType=wU;class vU extends P0{constructor(w,S,_,x,H,z,$,J,fe,it,pi,Bi,Dn){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.NominalDiameter=pi,this.CrossSectionArea=Bi,this.SheathDiameter=Dn,this.type=2415094496}}e.IfcTendonType=vU;class RU extends ur{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=1692211062}}e.IfcTransformerType=RU;class SU extends lp{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=1620046519}}e.IfcTransportElement=SU;class AU extends xg{constructor(w,S,_,x,H){super(),this.BasisCurve=w,this.Trim1=S,this.Trim2=_,this.SenseAgreement=x,this.MasterRepresentation=H,this.type=3593883385}}e.IfcTrimmedCurve=AU;class DL extends ur{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=1600972822}}e.IfcTubeBundleType=DL;class bU extends ur{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=1911125066}}e.IfcUnitaryEquipmentType=bU;class NU extends vm{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=728799441}}e.IfcValveType=NU;class xv extends wm{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=2391383451}}e.IfcVibrationIsolator=xv;class _U extends xI{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=3313531582}}e.IfcVibrationIsolatorType=_U;class DU extends lp{constructor(w,S,_,x,H,z,$,J){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.type=2769231204}}e.IfcVirtualElement=DU;class CU extends Sv{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=926996030}}e.IfcVoidingFeature=CU;class xU extends gr{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=1898987631}}e.IfcWallType=xU;class OU extends Sc{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=1133259667}}e.IfcWasteTerminalType=OU;class LU extends gr{constructor(w,S,_,x,H,z,$,J,fe,it,pi,Bi,Dn){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.PartitioningType=pi,this.ParameterTakesPrecedence=Bi,this.UserDefinedPartitioningType=Dn,this.type=4009809668}}e.IfcWindowType=LU;class PU extends CI{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.Identification=z,this.WorkingTimes=$,this.ExceptionTimes=J,this.PredefinedType=fe,this.type=4088093105}}e.IfcWorkCalendar=PU;class kD extends CI{constructor(w,S,_,x,H,z,$,J,fe,it,pi,Bi,Dn){super(w,S,_,x,H,z),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.Identification=z,this.CreationDate=$,this.Creators=J,this.Purpose=fe,this.Duration=it,this.TotalFloat=pi,this.StartTime=Bi,this.FinishTime=Dn,this.type=1028945134}}e.IfcWorkControl=kD;class ue extends kD{constructor(w,S,_,x,H,z,$,J,fe,it,pi,Bi,Dn,go){super(w,S,_,x,H,z,$,J,fe,it,pi,Bi,Dn),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.Identification=z,this.CreationDate=$,this.Creators=J,this.Purpose=fe,this.Duration=it,this.TotalFloat=pi,this.StartTime=Bi,this.FinishTime=Dn,this.PredefinedType=go,this.type=4218914973}}e.IfcWorkPlan=ue;class D extends kD{constructor(w,S,_,x,H,z,$,J,fe,it,pi,Bi,Dn,go){super(w,S,_,x,H,z,$,J,fe,it,pi,Bi,Dn),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.Identification=z,this.CreationDate=$,this.Creators=J,this.Purpose=fe,this.Duration=it,this.TotalFloat=pi,this.StartTime=Bi,this.FinishTime=Dn,this.PredefinedType=go,this.type=3342526732}}e.IfcWorkSchedule=D;class L extends Cv{constructor(w,S,_,x,H,z){super(w,S,_,x,H),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.LongName=z,this.type=1033361043}}e.IfcZone=L;class G extends CI{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.Identification=z,this.PredefinedType=$,this.Status=J,this.LongDescription=fe,this.type=3821786052}}e.IfcActionRequest=G;class j extends vm{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=1411407467}}e.IfcAirTerminalBoxType=j;class te extends Sc{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=3352864051}}e.IfcAirTerminalType=te;class de extends ur{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=1871374353}}e.IfcAirToAirHeatRecoveryType=de;class Ie extends mT{constructor(w,S,_,x,H,z,$,J,fe,it,pi,Bi,Dn,go){super(w,S,_,x,H),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.Identification=z,this.OriginalValue=$,this.CurrentValue=J,this.TotalReplacementCost=fe,this.Owner=it,this.User=pi,this.ResponsiblePerson=Bi,this.IncorporationDate=Dn,this.DepreciatedValue=go,this.type=3460190687}}e.IfcAsset=Ie;class Se extends Sc{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=1532957894}}e.IfcAudioVisualApplianceType=Se;class Be extends xg{constructor(w,S,_,x,H){super(),this.Degree=w,this.ControlPointsList=S,this.CurveForm=_,this.ClosedCurve=x,this.SelfIntersect=H,this.type=1967976161}}e.IfcBSplineCurve=Be;class wt extends Be{constructor(w,S,_,x,H,z,$,J){super(w,S,_,x,H),this.Degree=w,this.ControlPointsList=S,this.CurveForm=_,this.ClosedCurve=x,this.SelfIntersect=H,this.KnotMultiplicities=z,this.Knots=$,this.KnotSpec=J,this.type=2461110595}}e.IfcBSplineCurveWithKnots=wt;class Ui extends gr{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=819618141}}e.IfcBeamType=Ui;class yn extends ur{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=231477066}}e.IfcBoilerType=yn;class qn extends ND{constructor(w,S){super(w,S),this.Segments=w,this.SelfIntersect=S,this.type=1136057603}}e.IfcBoundaryCurve=qn;class Pn extends lp{constructor(w,S,_,x,H,z,$,J){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.type=3299480353}}e.IfcBuildingElement=Pn;class qo extends wm{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=2979338954}}e.IfcBuildingElementPart=qo;class zc extends xI{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=39481116}}e.IfcBuildingElementPartType=zc;class Au extends Pn{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=1095909175}}e.IfcBuildingElementProxy=Au;class ay extends gr{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=1909888760}}e.IfcBuildingElementProxyType=ay;class uy extends Cv{constructor(w,S,_,x,H,z,$){super(w,S,_,x,H),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.PredefinedType=z,this.LongName=$,this.type=1177604601}}e.IfcBuildingSystem=uy;class Vg extends ur{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=2188180465}}e.IfcBurnerType=Vg;class kg extends Og{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=395041908}}e.IfcCableCarrierFittingType=kg;class zg extends bv{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=3293546465}}e.IfcCableCarrierSegmentType=zg;class Wg extends Og{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=2674252688}}e.IfcCableFittingType=Wg;class MU extends bv{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=1285652485}}e.IfcCableSegmentType=MU;class BU extends ur{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=2951183804}}e.IfcChillerType=BU;class FU extends Pn{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=3296154744}}e.IfcChimney=FU;class UU extends tb{constructor(w,S){super(w),this.Position=w,this.Radius=S,this.type=2611217952}}e.IfcCircle=UU;class IJ extends lp{constructor(w,S,_,x,H,z,$,J){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.type=1677625105}}e.IfcCivilElement=IJ;class mJ extends ur{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=2301859152}}e.IfcCoilType=mJ;class zz extends Pn{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=843113511}}e.IfcColumn=zz;class ub extends zz{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=905975707}}e.IfcColumnStandardCase=ub;class cb extends Sc{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=400855858}}e.IfcCommunicationsApplianceType=cb;class yJ extends Av{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=3850581409}}e.IfcCompressorType=yJ;class EJ extends ur{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=2816379211}}e.IfcCondenserType=EJ;class TJ extends ly{constructor(w,S,_,x,H,z,$,J,fe,it,pi){super(w,S,_,x,H,z,$,J,fe,it),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.Identification=z,this.LongDescription=$,this.Usage=J,this.BaseCosts=fe,this.BaseQuantity=it,this.PredefinedType=pi,this.type=3898045240}}e.IfcConstructionEquipmentResource=TJ;class gJ extends ly{constructor(w,S,_,x,H,z,$,J,fe,it,pi){super(w,S,_,x,H,z,$,J,fe,it),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.Identification=z,this.LongDescription=$,this.Usage=J,this.BaseCosts=fe,this.BaseQuantity=it,this.PredefinedType=pi,this.type=1060000209}}e.IfcConstructionMaterialResource=gJ;class wJ extends ly{constructor(w,S,_,x,H,z,$,J,fe,it,pi){super(w,S,_,x,H,z,$,J,fe,it),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.Identification=z,this.LongDescription=$,this.Usage=J,this.BaseCosts=fe,this.BaseQuantity=it,this.PredefinedType=pi,this.type=488727124}}e.IfcConstructionProductResource=wJ;class vJ extends ur{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=335055490}}e.IfcCooledBeamType=vJ;class RJ extends ur{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=2954562838}}e.IfcCoolingTowerType=RJ;class SJ extends Pn{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=1973544240}}e.IfcCovering=SJ;class AJ extends Pn{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=3495092785}}e.IfcCurtainWall=AJ;class bJ extends vm{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=3961806047}}e.IfcDamperType=bJ;class NJ extends wm{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=1335981549}}e.IfcDiscreteAccessory=NJ;class _J extends xI{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=2635815018}}e.IfcDiscreteAccessoryType=_J;class DJ extends ph{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=1599208980}}e.IfcDistributionChamberElementType=DJ;class Yg extends _D{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.type=2063403501}}e.IfcDistributionControlElementType=Yg;class HU extends lp{constructor(w,S,_,x,H,z,$,J){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.type=1945004755}}e.IfcDistributionElement=HU;class cy extends HU{constructor(w,S,_,x,H,z,$,J){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.type=3040386961}}e.IfcDistributionFlowElement=cy;class CJ extends RL{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.FlowDirection=J,this.PredefinedType=fe,this.SystemType=it,this.type=3041715199}}e.IfcDistributionPort=CJ;class Wz extends Cv{constructor(w,S,_,x,H,z,$){super(w,S,_,x,H),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.LongName=z,this.PredefinedType=$,this.type=3205830791}}e.IfcDistributionSystem=Wz;class Yz extends Pn{constructor(w,S,_,x,H,z,$,J,fe,it,pi,Bi,Dn){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.OverallHeight=fe,this.OverallWidth=it,this.PredefinedType=pi,this.OperationType=Bi,this.UserDefinedOperationType=Dn,this.type=395920057}}e.IfcDoor=Yz;class xJ extends Yz{constructor(w,S,_,x,H,z,$,J,fe,it,pi,Bi,Dn){super(w,S,_,x,H,z,$,J,fe,it,pi,Bi,Dn),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.OverallHeight=fe,this.OverallWidth=it,this.PredefinedType=pi,this.OperationType=Bi,this.UserDefinedOperationType=Dn,this.type=3242481149}}e.IfcDoorStandardCase=xJ;class OJ extends Og{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=869906466}}e.IfcDuctFittingType=OJ;class LJ extends bv{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=3760055223}}e.IfcDuctSegmentType=LJ;class PJ extends sb{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=2030761528}}e.IfcDuctSilencerType=PJ;class MJ extends Sc{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=663422040}}e.IfcElectricApplianceType=MJ;class BJ extends vm{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=2417008758}}e.IfcElectricDistributionBoardType=BJ;class FJ extends LD{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=3277789161}}e.IfcElectricFlowStorageDeviceType=FJ;class CL extends ur{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=1534661035}}e.IfcElectricGeneratorType=CL;class xL extends ur{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=1217240411}}e.IfcElectricMotorType=xL;class jz extends vm{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=712377611}}e.IfcElectricTimeControlType=jz;class va extends cy{constructor(w,S,_,x,H,z,$,J){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.type=1658829314}}e.IfcEnergyConversionDevice=va;class qz extends va{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=2814081492}}e.IfcEngine=qz;class UJ extends va{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=3747195512}}e.IfcEvaporativeCooler=UJ;class HJ extends va{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=484807127}}e.IfcEvaporator=HJ;class GJ extends ib{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.LongName=J,this.PredefinedType=fe,this.type=1209101575}}e.IfcExternalSpatialElement=GJ;class $z extends Av{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=346874300}}e.IfcFanType=$z;class VJ extends sb{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=1810631287}}e.IfcFilterType=VJ;class kJ extends Sc{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=4222183408}}e.IfcFireSuppressionTerminalType=kJ;class TT extends cy{constructor(w,S,_,x,H,z,$,J){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.type=2058353004}}e.IfcFlowController=TT;class db extends cy{constructor(w,S,_,x,H,z,$,J){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.type=4278956645}}e.IfcFlowFitting=db;class Zz extends Yg{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=4037862832}}e.IfcFlowInstrumentType=Zz;class zJ extends TT{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=2188021234}}e.IfcFlowMeter=zJ;class OL extends cy{constructor(w,S,_,x,H,z,$,J){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.type=3132237377}}e.IfcFlowMovingDevice=OL;class zD extends cy{constructor(w,S,_,x,H,z,$,J){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.type=987401354}}e.IfcFlowSegment=zD;class GU extends cy{constructor(w,S,_,x,H,z,$,J){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.type=707683696}}e.IfcFlowStorageDevice=GU;class bu extends cy{constructor(w,S,_,x,H,z,$,J){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.type=2223149337}}e.IfcFlowTerminal=bu;class LL extends cy{constructor(w,S,_,x,H,z,$,J){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.type=3508470533}}e.IfcFlowTreatmentDevice=LL;class WJ extends Pn{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=900683007}}e.IfcFooting=WJ;class YJ extends va{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=3319311131}}e.IfcHeatExchanger=YJ;class jJ extends va{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=2068733104}}e.IfcHumidifier=jJ;class qJ extends LL{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=4175244083}}e.IfcInterceptor=qJ;class $J extends db{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=2176052936}}e.IfcJunctionBox=$J;class ZJ extends bu{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=76236018}}e.IfcLamp=ZJ;class KJ extends bu{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=629592764}}e.IfcLightFixture=KJ;class QJ extends bu{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=1437502449}}e.IfcMedicalDevice=QJ;class Kz extends Pn{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=1073191201}}e.IfcMember=Kz;class JJ extends Kz{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=1911478936}}e.IfcMemberStandardCase=JJ;class VU extends va{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=2474470126}}e.IfcMotorConnection=VU;class XJ extends qn{constructor(w,S){super(w,S),this.Segments=w,this.SelfIntersect=S,this.type=144952367}}e.IfcOuterBoundaryCurve=XJ;class eX extends bu{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=3694346114}}e.IfcOutlet=eX;class tX extends Pn{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.ConstructionType=it,this.type=1687234759}}e.IfcPile=tX;class iX extends db{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=310824031}}e.IfcPipeFitting=iX;class nX extends zD{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=3612865200}}e.IfcPipeSegment=nX;class Qz extends Pn{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=3171933400}}e.IfcPlate=Qz;class sX extends Qz{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=1156407060}}e.IfcPlateStandardCase=sX;class oX extends TT{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=738039164}}e.IfcProtectiveDevice=oX;class rX extends Yg{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=655969474}}e.IfcProtectiveDeviceTrippingUnitType=rX;class lX extends OL{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=90941305}}e.IfcPump=lX;class aX extends Pn{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=2262370178}}e.IfcRailing=aX;class uX extends Pn{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=3024970846}}e.IfcRamp=uX;class cX extends Pn{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=3283111854}}e.IfcRampFlight=cX;class dX extends wt{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.Degree=w,this.ControlPointsList=S,this.CurveForm=_,this.ClosedCurve=x,this.SelfIntersect=H,this.KnotMultiplicities=z,this.Knots=$,this.KnotSpec=J,this.WeightsData=fe,this.type=1232101972}}e.IfcRationalBSplineCurveWithKnots=dX;class hX extends Nv{constructor(w,S,_,x,H,z,$,J,fe,it,pi,Bi,Dn,go){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.SteelGrade=fe,this.NominalDiameter=it,this.CrossSectionArea=pi,this.BarLength=Bi,this.PredefinedType=Dn,this.BarSurface=go,this.type=979691226}}e.IfcReinforcingBar=hX;class kU extends P0{constructor(w,S,_,x,H,z,$,J,fe,it,pi,Bi,Dn,go,jl,Or){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.NominalDiameter=pi,this.CrossSectionArea=Bi,this.BarLength=Dn,this.BarSurface=go,this.BendingShapeCode=jl,this.BendingParameters=Or,this.type=2572171363}}e.IfcReinforcingBarType=kU;class fX extends Pn{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=2016517767}}e.IfcRoof=fX;class pX extends bu{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=3053780830}}e.IfcSanitaryTerminal=pX;class IX extends Yg{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=1783015770}}e.IfcSensorType=IX;class mX extends Pn{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=1329646415}}e.IfcShadingDevice=mX;class zU extends Pn{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=1529196076}}e.IfcSlab=zU;class yX extends zU{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=3127900445}}e.IfcSlabElementedCase=yX;class EX extends zU{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=3027962421}}e.IfcSlabStandardCase=EX;class TX extends va{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=3420628829}}e.IfcSolarDevice=TX;class gX extends bu{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=1999602285}}e.IfcSpaceHeater=gX;class wX extends bu{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=1404847402}}e.IfcStackTerminal=wX;class vX extends Pn{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=331165859}}e.IfcStair=vX;class RX extends Pn{constructor(w,S,_,x,H,z,$,J,fe,it,pi,Bi,Dn){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.NumberOfRisers=fe,this.NumberOfTreads=it,this.RiserHeight=pi,this.TreadLength=Bi,this.PredefinedType=Dn,this.type=4252922144}}e.IfcStairFlight=RX;class SX extends Cv{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.PredefinedType=z,this.OrientationOf2DPlane=$,this.LoadedBy=J,this.HasResults=fe,this.SharedPlacement=it,this.type=2515109513}}e.IfcStructuralAnalysisModel=SX;class Jz extends Ua{constructor(w,S,_,x,H,z,$,J,fe,it,pi){super(w,S,_,x,H,z,$,J,fe,it),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.PredefinedType=z,this.ActionType=$,this.ActionSource=J,this.Coefficient=fe,this.Purpose=it,this.SelfWeightCoefficients=pi,this.type=385403989}}e.IfcStructuralLoadCase=Jz;class Xz extends _L{constructor(w,S,_,x,H,z,$,J,fe,it,pi,Bi){super(w,S,_,x,H,z,$,J,fe,it,pi,Bi),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.AppliedLoad=J,this.GlobalOrLocal=fe,this.DestabilizingLoad=it,this.ProjectedOrTrue=pi,this.PredefinedType=Bi,this.type=1621171031}}e.IfcStructuralPlanarAction=Xz;class AX extends TT{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=1162798199}}e.IfcSwitchingDevice=AX;class bX extends GU{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=812556717}}e.IfcTank=bX;class NX extends va{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=3825984169}}e.IfcTransformer=NX;class eW extends va{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=3026737570}}e.IfcTubeBundle=eW;class _X extends Yg{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=3179687236}}e.IfcUnitaryControlElementType=_X;class DX extends va{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=4292641817}}e.IfcUnitaryEquipment=DX;class CX extends TT{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=4207607924}}e.IfcValve=CX;class WU extends Pn{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=2391406946}}e.IfcWall=WU;class xX extends WU{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=4156078855}}e.IfcWallElementedCase=xX;class OX extends WU{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=3512223829}}e.IfcWallStandardCase=OX;class LX extends bu{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=4237592921}}e.IfcWasteTerminal=LX;class To extends Pn{constructor(w,S,_,x,H,z,$,J,fe,it,pi,Bi,Dn){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.OverallHeight=fe,this.OverallWidth=it,this.PredefinedType=pi,this.PartitioningType=Bi,this.UserDefinedPartitioningType=Dn,this.type=3304561284}}e.IfcWindow=To;class PX extends To{constructor(w,S,_,x,H,z,$,J,fe,it,pi,Bi,Dn){super(w,S,_,x,H,z,$,J,fe,it,pi,Bi,Dn),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.OverallHeight=fe,this.OverallWidth=it,this.PredefinedType=pi,this.PartitioningType=Bi,this.UserDefinedPartitioningType=Dn,this.type=486154966}}e.IfcWindowStandardCase=PX;class MX extends Yg{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=2874132201}}e.IfcActuatorType=MX;class BX extends bu{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=1634111441}}e.IfcAirTerminal=BX;class FX extends TT{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=177149247}}e.IfcAirTerminalBox=FX;class UX extends va{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=2056796094}}e.IfcAirToAirHeatRecovery=UX;class HX extends Yg{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=3001207471}}e.IfcAlarmType=HX;class GX extends bu{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=277319702}}e.IfcAudioVisualAppliance=GX;class tW extends Pn{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=753842376}}e.IfcBeam=tW;class VX extends tW{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=2906023776}}e.IfcBeamStandardCase=VX;class kX extends va{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=32344328}}e.IfcBoiler=kX;class zX extends va{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=2938176219}}e.IfcBurner=zX;class WX extends db{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=635142910}}e.IfcCableCarrierFitting=WX;class YX extends zD{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=3758799889}}e.IfcCableCarrierSegment=YX;class jX extends db{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=1051757585}}e.IfcCableFitting=jX;class qX extends zD{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=4217484030}}e.IfcCableSegment=qX;class $X extends va{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=3902619387}}e.IfcChiller=$X;class ZX extends va{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=639361253}}e.IfcCoil=ZX;class KX extends bu{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=3221913625}}e.IfcCommunicationsAppliance=KX;class QX extends OL{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=3571504051}}e.IfcCompressor=QX;class JX extends va{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=2272882330}}e.IfcCondenser=JX;class XX extends Yg{constructor(w,S,_,x,H,z,$,J,fe,it){super(w,S,_,x,H,z,$,J,fe),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ApplicableOccurrence=H,this.HasPropertySets=z,this.RepresentationMaps=$,this.Tag=J,this.ElementType=fe,this.PredefinedType=it,this.type=578613899}}e.IfcControllerType=XX;class eee extends va{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=4136498852}}e.IfcCooledBeam=eee;class tee extends va{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=3640358203}}e.IfcCoolingTower=tee;class iee extends TT{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=4074379575}}e.IfcDamper=iee;class nee extends cy{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=1052013943}}e.IfcDistributionChamberElement=nee;class see extends Wz{constructor(w,S,_,x,H,z,$){super(w,S,_,x,H,z,$),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.LongName=z,this.PredefinedType=$,this.type=562808652}}e.IfcDistributionCircuit=see;class dy extends HU{constructor(w,S,_,x,H,z,$,J){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.type=1062813311}}e.IfcDistributionControlElement=dy;class oee extends db{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=342316401}}e.IfcDuctFitting=oee;class ree extends zD{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=3518393246}}e.IfcDuctSegment=ree;class lee extends LL{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=1360408905}}e.IfcDuctSilencer=lee;class aee extends bu{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=1904799276}}e.IfcElectricAppliance=aee;class jg extends TT{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=862014818}}e.IfcElectricDistributionBoard=jg;class YU extends GU{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=3310460725}}e.IfcElectricFlowStorageDevice=YU;class hy extends va{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=264262732}}e.IfcElectricGenerator=hy;class uee extends va{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=402227799}}e.IfcElectricMotor=uee;class iW extends TT{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=1003880860}}e.IfcElectricTimeControl=iW;class cee extends OL{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=3415622556}}e.IfcFan=cee;class dee extends LL{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=819412036}}e.IfcFilter=dee;class hee extends bu{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=1426591983}}e.IfcFireSuppressionTerminal=hee;class fee extends dy{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=182646315}}e.IfcFlowInstrument=fee;class pee extends dy{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=2295281155}}e.IfcProtectiveDeviceTrippingUnit=pee;class jU extends dy{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=4086658281}}e.IfcSensor=jU;class Iee extends dy{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=630975310}}e.IfcUnitaryControlElement=Iee;class mee extends dy{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=4288193352}}e.IfcActuator=mee;class yee extends dy{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=3087945054}}e.IfcAlarm=yee;class Eee extends dy{constructor(w,S,_,x,H,z,$,J,fe){super(w,S,_,x,H,z,$,J),this.GlobalId=w,this.OwnerHistory=S,this.Name=_,this.Description=x,this.ObjectType=H,this.ObjectPlacement=z,this.Representation=$,this.Tag=J,this.PredefinedType=fe,this.type=25142252}}e.IfcController=Eee})(c||(c={}));SN[3]=["IFC4X3","IFC4X1","IFC4X2","IFC4X3_RC3","IFC4X3_RC4","IFC4X3_RC1","IFC4X3_RC2","IFC4X3_ADD2","IFC4X3_ADD1"];y6[3]={3630933823:e=>new a.IfcActorRole(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcText((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),618182010:e=>new a.IfcAddress(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),2879124712:e=>new a.IfcAlignmentParameterSegment((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value)),3633395639:e=>new a.IfcAlignmentVerticalSegment((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new a.IfcLengthMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),new a.IfcNonNegativeLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new a.IfcLengthMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),new a.IfcRatioMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),new a.IfcRatioMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLengthMeasure((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),639542469:e=>new a.IfcApplication(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),new a.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),new a.IfcIdentifier((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),411424972:e=>new a.IfcAppliedValue((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2]),(e[3]??void 0)===void 0||e[3]===""?null:new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,3,e[3]),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcDate((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcDate((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new a.IfcLabel((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8],(e[9]??void 0)===void 0||e[9]===""?null:e[9]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[]),130549933:e=>new a.IfcApproval((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcIdentifier((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcText((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcDateTime((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcLabel((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new a.IfcText((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,3,e[7]),(e[8]??void 0)===void 0||e[8]===""?null:new u((e[8]??void 0)===void 0||e[8]===""?null:e[8].value,3,e[8])),4037036970:e=>new a.IfcBoundaryCondition((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value)),1560379544:e=>new a.IfcBoundaryEdgeCondition((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:Si(3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:Si(3,e[2]),(e[3]??void 0)===void 0||e[3]===""?null:Si(3,e[3]),(e[4]??void 0)===void 0||e[4]===""?null:Si(3,e[4]),(e[5]??void 0)===void 0||e[5]===""?null:Si(3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:Si(3,e[6])),3367102660:e=>new a.IfcBoundaryFaceCondition((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:Si(3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:Si(3,e[2]),(e[3]??void 0)===void 0||e[3]===""?null:Si(3,e[3])),1387855156:e=>new a.IfcBoundaryNodeCondition((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:Si(3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:Si(3,e[2]),(e[3]??void 0)===void 0||e[3]===""?null:Si(3,e[3]),(e[4]??void 0)===void 0||e[4]===""?null:Si(3,e[4]),(e[5]??void 0)===void 0||e[5]===""?null:Si(3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:Si(3,e[6])),2069777674:e=>new a.IfcBoundaryNodeConditionWarping((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:Si(3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:Si(3,e[2]),(e[3]??void 0)===void 0||e[3]===""?null:Si(3,e[3]),(e[4]??void 0)===void 0||e[4]===""?null:Si(3,e[4]),(e[5]??void 0)===void 0||e[5]===""?null:Si(3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:Si(3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:Si(3,e[7])),2859738748:e=>new a.IfcConnectionGeometry,2614616156:e=>new a.IfcConnectionPointGeometry(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1])),2732653382:e=>new a.IfcConnectionSurfaceGeometry(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1])),775493141:e=>new a.IfcConnectionVolumeGeometry(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1])),1959218052:e=>new a.IfcConstraint(new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),e[2],(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcLabel((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,3,e[4]),(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcDateTime((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new a.IfcLabel((e[6]??void 0)===void 0||e[6]===""?null:e[6].value)),1785450214:e=>new a.IfcCoordinateOperation(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1])),1466758467:e=>new a.IfcCoordinateReferenceSystem((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcIdentifier((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),602808272:e=>new a.IfcCostValue((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2]),(e[3]??void 0)===void 0||e[3]===""?null:new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,3,e[3]),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcDate((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcDate((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new a.IfcLabel((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8],(e[9]??void 0)===void 0||e[9]===""?null:e[9]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[]),1765591967:e=>new a.IfcDerivedUnit(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],e[1],(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcLabel((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),1045800335:e=>new a.IfcDerivedUnitElement(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),new mt((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,10)),2949456006:e=>new a.IfcDimensionalExponents(new mt((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,10),new mt((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,10),new mt((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,10),new mt((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,10),new mt((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,10),new mt((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,10),new mt((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,10)),4294318154:e=>new a.IfcExternalInformation,3200245327:e=>new a.IfcExternalReference((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcURIReference((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcIdentifier((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),2242383968:e=>new a.IfcExternallyDefinedHatchStyle((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcURIReference((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcIdentifier((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),1040185647:e=>new a.IfcExternallyDefinedSurfaceStyle((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcURIReference((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcIdentifier((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),3548104201:e=>new a.IfcExternallyDefinedTextFont((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcURIReference((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcIdentifier((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),917726184:e=>new a.IfcGeographicCRS((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcIdentifier((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcIdentifier((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,3,e[4]),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5])),852622518:e=>new a.IfcGridAxis((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),new a.IfcBoolean((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),3020489413:e=>new a.IfcIrregularTimeSeriesValue(new a.IfcDateTime((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?Si(3,t):null)||[]),2655187982:e=>new a.IfcLibraryInformation(new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2]),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcDateTime((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcURIReference((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcText((e[5]??void 0)===void 0||e[5]===""?null:e[5].value)),3452421091:e=>new a.IfcLibraryReference((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcURIReference((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcIdentifier((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLanguageId((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5])),4162380809:e=>new a.IfcLightDistributionData(new a.IfcPlaneAngleMeasure((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new a.IfcPlaneAngleMeasure(t.value):null)||[],e[2]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new a.IfcLuminousIntensityDistributionMeasure(t.value):null)||[]),1566485204:e=>new a.IfcLightIntensityDistribution(e[0],e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[]),3057273783:e=>new a.IfcMapConversion(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),new a.IfcLengthMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),new a.IfcLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new a.IfcLengthMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcReal((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new a.IfcReal((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcReal((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),4105526436:e=>new a.IfcMapConversionScaled(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),new a.IfcLengthMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),new a.IfcLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new a.IfcLengthMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcReal((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new a.IfcReal((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcReal((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),new a.IfcReal((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),new a.IfcReal((e[9]??void 0)===void 0||e[9]===""?null:e[9].value),new a.IfcReal((e[10]??void 0)===void 0||e[10]===""?null:e[10].value)),1847130766:e=>new a.IfcMaterialClassificationRelationship(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1])),760658860:e=>new a.IfcMaterialDefinition,248100487:e=>new a.IfcMaterialLayer((e[0]??void 0)===void 0||e[0]===""?null:new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),new a.IfcNonNegativeLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLogical((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcLabel((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcText((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcLabel((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new a.IfcInteger((e[6]??void 0)===void 0||e[6]===""?null:e[6].value)),3303938423:e=>new a.IfcMaterialLayerSet(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcText((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),1847252529:e=>new a.IfcMaterialLayerWithOffsets((e[0]??void 0)===void 0||e[0]===""?null:new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),new a.IfcNonNegativeLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLogical((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcLabel((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcText((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcLabel((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new a.IfcInteger((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),e[7],new a.IfcLengthMeasure((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),2199411900:e=>new a.IfcMaterialList(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[]),2235152071:e=>new a.IfcMaterialProfile((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2]),new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,3,e[3]),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcInteger((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcLabel((e[5]??void 0)===void 0||e[5]===""?null:e[5].value)),164193824:e=>new a.IfcMaterialProfileSet((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),e[2]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[3]??void 0)===void 0||e[3]===""?null:new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,3,e[3])),552965576:e=>new a.IfcMaterialProfileWithOffsets((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2]),new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,3,e[3]),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcInteger((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcLabel((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),new a.IfcLengthMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value)),1507914824:e=>new a.IfcMaterialUsageDefinition,2597039031:e=>new a.IfcMeasureWithUnit(Si(3,e[0]),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1])),3368373690:e=>new a.IfcMetric(new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),e[2],(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcLabel((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,3,e[4]),(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcDateTime((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new a.IfcLabel((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),e[7],(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new u((e[9]??void 0)===void 0||e[9]===""?null:e[9].value,3,e[9]),(e[10]??void 0)===void 0||e[10]===""?null:new u((e[10]??void 0)===void 0||e[10]===""?null:e[10].value,3,e[10])),2706619895:e=>new a.IfcMonetaryUnit(new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value)),1918398963:e=>new a.IfcNamedUnit(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),e[1]),3701648758:e=>new a.IfcObjectPlacement((e[0]??void 0)===void 0||e[0]===""?null:new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0])),2251480897:e=>new a.IfcObjective(new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),e[2],(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcLabel((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,3,e[4]),(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcDateTime((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new a.IfcLabel((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:e[7]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],e[8],e[9],(e[10]??void 0)===void 0||e[10]===""?null:new a.IfcLabel((e[10]??void 0)===void 0||e[10]===""?null:e[10].value)),4251960020:e=>new a.IfcOrganization((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcIdentifier((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new a.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcText((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:e[3]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[4]??void 0)===void 0||e[4]===""?null:e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[]),1207048766:e=>new a.IfcOwnerHistory(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),e[2],e[3],(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcTimeStamp((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),new a.IfcTimeStamp((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),2077209135:e=>new a.IfcPerson((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcIdentifier((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:e[3]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new a.IfcLabel(t.value):null)||[],(e[4]??void 0)===void 0||e[4]===""?null:e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new a.IfcLabel(t.value):null)||[],(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new a.IfcLabel(t.value):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:e[7]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[]),101040310:e=>new a.IfcPersonAndOrganization(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:e[2]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[]),2483315170:e=>new a.IfcPhysicalQuantity(new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value)),2226359599:e=>new a.IfcPhysicalSimpleQuantity(new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2])),3355820592:e=>new a.IfcPostalAddress(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcLabel((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new a.IfcLabel(t.value):null)||[],(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcLabel((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new a.IfcLabel((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new a.IfcLabel((e[9]??void 0)===void 0||e[9]===""?null:e[9].value)),677532197:e=>new a.IfcPresentationItem,2022622350:e=>new a.IfcPresentationLayerAssignment(new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),e[2]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcIdentifier((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),1304840413:e=>new a.IfcPresentationLayerWithStyle(new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),e[2]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcIdentifier((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new a.IfcLogical((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),new a.IfcLogical((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),new a.IfcLogical((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:e[7]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[]),3119450353:e=>new a.IfcPresentationStyle((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value)),2095639259:e=>new a.IfcProductRepresentation((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),e[2]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[]),3958567839:e=>new a.IfcProfileDef(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value)),3843373140:e=>new a.IfcProjectedCRS((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcIdentifier((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcIdentifier((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcIdentifier((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6])),986844984:e=>new a.IfcPropertyAbstraction,3710013099:e=>new a.IfcPropertyEnumeration(new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?Si(3,t):null)||[],(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2])),2044713172:e=>new a.IfcQuantityArea(new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2]),new a.IfcAreaMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),2093928680:e=>new a.IfcQuantityCount(new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2]),new a.IfcCountMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),931644368:e=>new a.IfcQuantityLength(new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2]),new a.IfcLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),2691318326:e=>new a.IfcQuantityNumber(new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2]),new a.IfcNumericMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),3252649465:e=>new a.IfcQuantityTime(new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2]),new a.IfcTimeMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),2405470396:e=>new a.IfcQuantityVolume(new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2]),new a.IfcVolumeMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),825690147:e=>new a.IfcQuantityWeight(new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2]),new a.IfcMassMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),3915482550:e=>new a.IfcRecurrencePattern(e[0],(e[1]??void 0)===void 0||e[1]===""?null:e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new a.IfcDayInMonthNumber(t.value):null)||[],(e[2]??void 0)===void 0||e[2]===""?null:e[2]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new a.IfcDayInWeekNumber(t.value):null)||[],(e[3]??void 0)===void 0||e[3]===""?null:e[3]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new a.IfcMonthInYearNumber(t.value):null)||[],(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcInteger((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcInteger((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new a.IfcInteger((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:e[7]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[]),2433181523:e=>new a.IfcReference((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcIdentifier((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcIdentifier((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:e[3]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new a.IfcInteger(t.value):null)||[],(e[4]??void 0)===void 0||e[4]===""?null:new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,3,e[4])),1076942058:e=>new a.IfcRepresentation(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),e[3]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[]),3377609919:e=>new a.IfcRepresentationContext((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value)),3008791417:e=>new a.IfcRepresentationItem,1660063152:e=>new a.IfcRepresentationMap(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1])),2439245199:e=>new a.IfcResourceLevelRelationship((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value)),1794013214:e=>new a.IfcRigidOperation(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),Si(3,e[2]),Si(3,e[3]),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLengthMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),2341007311:e=>new a.IfcRoot(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),448429030:e=>new a.IfcSIUnit(e[0],e[1],e[2]),1054537805:e=>new a.IfcSchedulingTime((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),e[1],(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),867548509:e=>new a.IfcShapeAspect(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcText((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),new a.IfcLogical((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,3,e[4])),3982875396:e=>new a.IfcShapeModel(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),e[3]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[]),4240577450:e=>new a.IfcShapeRepresentation(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),e[3]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[]),2273995522:e=>new a.IfcStructuralConnectionCondition((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value)),2162789131:e=>new a.IfcStructuralLoad((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value)),3478079324:e=>new a.IfcStructuralLoadConfiguration((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[2]??void 0)===void 0||e[2]===""?null:e[2]?.map(t=>t?.map(i=>(i?.value??void 0)!==void 0&&i?.value!==""?new a.IfcLengthMeasure(i.value):null)||[])),609421318:e=>new a.IfcStructuralLoadOrResult((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value)),2525727697:e=>new a.IfcStructuralLoadStatic((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value)),3408363356:e=>new a.IfcStructuralLoadTemperature((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcThermodynamicTemperatureMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcThermodynamicTemperatureMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcThermodynamicTemperatureMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),2830218821:e=>new a.IfcStyleModel(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),e[3]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[]),3958052878:e=>new a.IfcStyledItem((e[0]??void 0)===void 0||e[0]===""?null:new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),3049322572:e=>new a.IfcStyledRepresentation(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),e[3]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[]),2934153892:e=>new a.IfcSurfaceReinforcementArea((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new a.IfcLengthMeasure(t.value):null)||[],(e[2]??void 0)===void 0||e[2]===""?null:e[2]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new a.IfcLengthMeasure(t.value):null)||[],(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcRatioMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),1300840506:e=>new a.IfcSurfaceStyle((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),e[1],e[2]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[]),3303107099:e=>new a.IfcSurfaceStyleLighting(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2]),new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,3,e[3])),1607154358:e=>new a.IfcSurfaceStyleRefraction((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcReal((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcReal((e[1]??void 0)===void 0||e[1]===""?null:e[1].value)),846575682:e=>new a.IfcSurfaceStyleShading(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcNormalisedRatioMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value)),1351298697:e=>new a.IfcSurfaceStyleWithTextures(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[]),626085974:e=>new a.IfcSurfaceTexture(new a.IfcBoolean((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new a.IfcBoolean((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcIdentifier((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,3,e[3]),(e[4]??void 0)===void 0||e[4]===""?null:e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new a.IfcIdentifier(t.value):null)||[]),985171141:e=>new a.IfcTable((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[2]??void 0)===void 0||e[2]===""?null:e[2]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[]),2043862942:e=>new a.IfcTableColumn((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcIdentifier((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcText((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,3,e[3]),(e[4]??void 0)===void 0||e[4]===""?null:new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,3,e[4])),531007025:e=>new a.IfcTableRow((e[0]??void 0)===void 0||e[0]===""?null:e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?Si(3,t):null)||[],(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcBoolean((e[1]??void 0)===void 0||e[1]===""?null:e[1].value)),1549132990:e=>new a.IfcTaskTime((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),e[1],(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),e[3],(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcDuration((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcDateTime((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new a.IfcDateTime((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcDateTime((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcDateTime((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new a.IfcDateTime((e[9]??void 0)===void 0||e[9]===""?null:e[9].value),(e[10]??void 0)===void 0||e[10]===""?null:new a.IfcDateTime((e[10]??void 0)===void 0||e[10]===""?null:e[10].value),(e[11]??void 0)===void 0||e[11]===""?null:new a.IfcDuration((e[11]??void 0)===void 0||e[11]===""?null:e[11].value),(e[12]??void 0)===void 0||e[12]===""?null:new a.IfcDuration((e[12]??void 0)===void 0||e[12]===""?null:e[12].value),(e[13]??void 0)===void 0||e[13]===""?null:new a.IfcBoolean((e[13]??void 0)===void 0||e[13]===""?null:e[13].value),(e[14]??void 0)===void 0||e[14]===""?null:new a.IfcDateTime((e[14]??void 0)===void 0||e[14]===""?null:e[14].value),(e[15]??void 0)===void 0||e[15]===""?null:new a.IfcDuration((e[15]??void 0)===void 0||e[15]===""?null:e[15].value),(e[16]??void 0)===void 0||e[16]===""?null:new a.IfcDateTime((e[16]??void 0)===void 0||e[16]===""?null:e[16].value),(e[17]??void 0)===void 0||e[17]===""?null:new a.IfcDateTime((e[17]??void 0)===void 0||e[17]===""?null:e[17].value),(e[18]??void 0)===void 0||e[18]===""?null:new a.IfcDuration((e[18]??void 0)===void 0||e[18]===""?null:e[18].value),(e[19]??void 0)===void 0||e[19]===""?null:new a.IfcPositiveRatioMeasure((e[19]??void 0)===void 0||e[19]===""?null:e[19].value)),2771591690:e=>new a.IfcTaskTimeRecurring((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),e[1],(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),e[3],(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcDuration((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcDateTime((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new a.IfcDateTime((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcDateTime((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcDateTime((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new a.IfcDateTime((e[9]??void 0)===void 0||e[9]===""?null:e[9].value),(e[10]??void 0)===void 0||e[10]===""?null:new a.IfcDateTime((e[10]??void 0)===void 0||e[10]===""?null:e[10].value),(e[11]??void 0)===void 0||e[11]===""?null:new a.IfcDuration((e[11]??void 0)===void 0||e[11]===""?null:e[11].value),(e[12]??void 0)===void 0||e[12]===""?null:new a.IfcDuration((e[12]??void 0)===void 0||e[12]===""?null:e[12].value),(e[13]??void 0)===void 0||e[13]===""?null:new a.IfcBoolean((e[13]??void 0)===void 0||e[13]===""?null:e[13].value),(e[14]??void 0)===void 0||e[14]===""?null:new a.IfcDateTime((e[14]??void 0)===void 0||e[14]===""?null:e[14].value),(e[15]??void 0)===void 0||e[15]===""?null:new a.IfcDuration((e[15]??void 0)===void 0||e[15]===""?null:e[15].value),(e[16]??void 0)===void 0||e[16]===""?null:new a.IfcDateTime((e[16]??void 0)===void 0||e[16]===""?null:e[16].value),(e[17]??void 0)===void 0||e[17]===""?null:new a.IfcDateTime((e[17]??void 0)===void 0||e[17]===""?null:e[17].value),(e[18]??void 0)===void 0||e[18]===""?null:new a.IfcDuration((e[18]??void 0)===void 0||e[18]===""?null:e[18].value),(e[19]??void 0)===void 0||e[19]===""?null:new a.IfcPositiveRatioMeasure((e[19]??void 0)===void 0||e[19]===""?null:e[19].value),new u((e[20]??void 0)===void 0||e[20]===""?null:e[20].value,3,e[20])),912023232:e=>new a.IfcTelecomAddress(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:e[3]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new a.IfcLabel(t.value):null)||[],(e[4]??void 0)===void 0||e[4]===""?null:e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new a.IfcLabel(t.value):null)||[],(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcLabel((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new a.IfcLabel(t.value):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcURIReference((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:e[8]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new a.IfcURIReference(t.value):null)||[]),1447204868:e=>new a.IfcTextStyle((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2]),new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,3,e[3]),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcBoolean((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),2636378356:e=>new a.IfcTextStyleForDefinedFont(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1])),1640371178:e=>new a.IfcTextStyleTextModel((e[0]??void 0)===void 0||e[0]===""?null:Si(3,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcTextAlignment((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcTextDecoration((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:Si(3,e[3]),(e[4]??void 0)===void 0||e[4]===""?null:Si(3,e[4]),(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcTextTransformation((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:Si(3,e[6])),280115917:e=>new a.IfcTextureCoordinate(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[]),1742049831:e=>new a.IfcTextureCoordinateGenerator(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],new a.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:e[2]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new a.IfcReal(t.value):null)||[]),222769930:e=>new a.IfcTextureCoordinateIndices(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new a.IfcPositiveInteger(t.value):null)||[],new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1])),1010789467:e=>new a.IfcTextureCoordinateIndicesWithVoids(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new a.IfcPositiveInteger(t.value):null)||[],new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),e[2]?.map(t=>t?.map(i=>(i?.value??void 0)!==void 0&&i?.value!==""?new a.IfcPositiveInteger(i.value):null)||[])),2552916305:e=>new a.IfcTextureMap(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2])),1210645708:e=>new a.IfcTextureVertex(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new a.IfcParameterValue(t.value):null)||[]),3611470254:e=>new a.IfcTextureVertexList(e[0]?.map(t=>t?.map(i=>(i?.value??void 0)!==void 0&&i?.value!==""?new a.IfcParameterValue(i.value):null)||[])),1199560280:e=>new a.IfcTimePeriod(new a.IfcTime((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new a.IfcTime((e[1]??void 0)===void 0||e[1]===""?null:e[1].value)),3101149627:e=>new a.IfcTimeSeries(new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new a.IfcDateTime((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),new a.IfcDateTime((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4],e[5],(e[6]??void 0)===void 0||e[6]===""?null:new a.IfcLabel((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,3,e[7])),581633288:e=>new a.IfcTimeSeriesValue(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?Si(3,t):null)||[]),1377556343:e=>new a.IfcTopologicalRepresentationItem,1735638870:e=>new a.IfcTopologyRepresentation(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),e[3]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[]),180925521:e=>new a.IfcUnitAssignment(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[]),2799835756:e=>new a.IfcVertex,1907098498:e=>new a.IfcVertexPoint(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0])),891718957:e=>new a.IfcVirtualGridIntersection(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new a.IfcLengthMeasure(t.value):null)||[]),1175146630:e=>new a.IfcWellKnownText(new a.IfcWellKnownTextLiteral((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1])),1236880293:e=>new a.IfcWorkTime((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),e[1],(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,3,e[3]),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcDate((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcDate((e[5]??void 0)===void 0||e[5]===""?null:e[5].value)),3752311538:e=>new a.IfcAlignmentCantSegment((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new a.IfcLengthMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),new a.IfcNonNegativeLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new a.IfcLengthMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcLengthMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),new a.IfcLengthMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLengthMeasure((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),536804194:e=>new a.IfcAlignmentHorizontalSegment((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2]),new a.IfcPlaneAngleMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new a.IfcLengthMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),new a.IfcLengthMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),new a.IfcNonNegativeLengthMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcPositiveLengthMeasure((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),3869604511:e=>new a.IfcApprovalRelationship((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2]),e[3]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[]),3798115385:e=>new a.IfcArbitraryClosedProfileDef(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2])),1310608509:e=>new a.IfcArbitraryOpenProfileDef(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2])),2705031697:e=>new a.IfcArbitraryProfileDefWithVoids(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2]),e[3]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[]),616511568:e=>new a.IfcBlobTexture(new a.IfcBoolean((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new a.IfcBoolean((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcIdentifier((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,3,e[3]),(e[4]??void 0)===void 0||e[4]===""?null:e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new a.IfcIdentifier(t.value):null)||[],new a.IfcIdentifier((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),new a.IfcBinary((e[6]??void 0)===void 0||e[6]===""?null:e[6].value)),3150382593:e=>new a.IfcCenterLineProfileDef(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2]),new a.IfcPositiveLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),747523909:e=>new a.IfcClassification((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcDate((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),new a.IfcLabel((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcText((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcURIReference((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new a.IfcIdentifier(t.value):null)||[]),647927063:e=>new a.IfcClassificationReference((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcURIReference((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcIdentifier((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,3,e[3]),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcText((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcIdentifier((e[5]??void 0)===void 0||e[5]===""?null:e[5].value)),3285139300:e=>new a.IfcColourRgbList(e[0]?.map(t=>t?.map(i=>(i?.value??void 0)!==void 0&&i?.value!==""?new a.IfcNormalisedRatioMeasure(i.value):null)||[])),3264961684:e=>new a.IfcColourSpecification((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value)),1485152156:e=>new a.IfcCompositeProfileDef(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),e[2]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcLabel((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),370225590:e=>new a.IfcConnectedFaceSet(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[]),1981873012:e=>new a.IfcConnectionCurveGeometry(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1])),45288368:e=>new a.IfcConnectionPointEccentricity(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLengthMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLengthMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),3050246964:e=>new a.IfcContextDependentUnit(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),e[1],new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),2889183280:e=>new a.IfcConversionBasedUnit(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),e[1],new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,3,e[3])),2713554722:e=>new a.IfcConversionBasedUnitWithOffset(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),e[1],new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,3,e[3]),new a.IfcReal((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),539742890:e=>new a.IfcCurrencyRelationship((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2]),new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,3,e[3]),new a.IfcPositiveRatioMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcDateTime((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6])),3800577675:e=>new a.IfcCurveStyle((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:Si(3,e[2]),(e[3]??void 0)===void 0||e[3]===""?null:new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,3,e[3]),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcBoolean((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),1105321065:e=>new a.IfcCurveStyleFont((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[]),2367409068:e=>new a.IfcCurveStyleFontAndScaling((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),new a.IfcPositiveRatioMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),3510044353:e=>new a.IfcCurveStyleFontPattern(new a.IfcLengthMeasure((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new a.IfcPositiveLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value)),3632507154:e=>new a.IfcDerivedProfileDef(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2]),new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,3,e[3]),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),1154170062:e=>new a.IfcDocumentInformation(new a.IfcIdentifier((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new a.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcText((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcURIReference((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcText((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcText((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new a.IfcText((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new u((e[8]??void 0)===void 0||e[8]===""?null:e[8].value,3,e[8]),(e[9]??void 0)===void 0||e[9]===""?null:e[9]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[10]??void 0)===void 0||e[10]===""?null:new a.IfcDateTime((e[10]??void 0)===void 0||e[10]===""?null:e[10].value),(e[11]??void 0)===void 0||e[11]===""?null:new a.IfcDateTime((e[11]??void 0)===void 0||e[11]===""?null:e[11].value),(e[12]??void 0)===void 0||e[12]===""?null:new a.IfcIdentifier((e[12]??void 0)===void 0||e[12]===""?null:e[12].value),(e[13]??void 0)===void 0||e[13]===""?null:new a.IfcDate((e[13]??void 0)===void 0||e[13]===""?null:e[13].value),(e[14]??void 0)===void 0||e[14]===""?null:new a.IfcDate((e[14]??void 0)===void 0||e[14]===""?null:e[14].value),e[15],e[16]),770865208:e=>new a.IfcDocumentInformationRelationship((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2]),e[3]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),3732053477:e=>new a.IfcDocumentReference((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcURIReference((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcIdentifier((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,3,e[4])),3900360178:e=>new a.IfcEdge(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1])),476780140:e=>new a.IfcEdgeCurve(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2]),new a.IfcBoolean((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),211053100:e=>new a.IfcEventTime((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),e[1],(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcDateTime((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcDateTime((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcDateTime((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new a.IfcDateTime((e[6]??void 0)===void 0||e[6]===""?null:e[6].value)),297599258:e=>new a.IfcExtendedProperties((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcIdentifier((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),e[2]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[]),1437805879:e=>new a.IfcExternalReferenceRelationship((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2]),e[3]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[]),2556980723:e=>new a.IfcFace(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[]),1809719519:e=>new a.IfcFaceBound(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),new a.IfcBoolean((e[1]??void 0)===void 0||e[1]===""?null:e[1].value)),803316827:e=>new a.IfcFaceOuterBound(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),new a.IfcBoolean((e[1]??void 0)===void 0||e[1]===""?null:e[1].value)),3008276851:e=>new a.IfcFaceSurface(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),new a.IfcBoolean((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),4219587988:e=>new a.IfcFailureConnectionCondition((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcForceMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcForceMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcForceMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcForceMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcForceMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new a.IfcForceMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value)),738692330:e=>new a.IfcFillAreaStyle((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcBoolean((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),3448662350:e=>new a.IfcGeometricRepresentationContext((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new a.IfcDimensionCount((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcReal((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,3,e[4]),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5])),2453401579:e=>new a.IfcGeometricRepresentationItem,4142052618:e=>new a.IfcGeometricRepresentationSubContext((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2]),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcPositiveRatioMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4],(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcLabel((e[5]??void 0)===void 0||e[5]===""?null:e[5].value)),3590301190:e=>new a.IfcGeometricSet(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[]),178086475:e=>new a.IfcGridPlacement((e[0]??void 0)===void 0||e[0]===""?null:new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2])),812098782:e=>new a.IfcHalfSpaceSolid(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),new a.IfcBoolean((e[1]??void 0)===void 0||e[1]===""?null:e[1].value)),3905492369:e=>new a.IfcImageTexture(new a.IfcBoolean((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new a.IfcBoolean((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcIdentifier((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,3,e[3]),(e[4]??void 0)===void 0||e[4]===""?null:e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new a.IfcIdentifier(t.value):null)||[],new a.IfcURIReference((e[5]??void 0)===void 0||e[5]===""?null:e[5].value)),3570813810:e=>new a.IfcIndexedColourMap(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcNormalisedRatioMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2]),e[3]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new a.IfcPositiveInteger(t.value):null)||[]),1437953363:e=>new a.IfcIndexedTextureMap(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2])),2133299955:e=>new a.IfcIndexedTriangleTextureMap(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2]),(e[3]??void 0)===void 0||e[3]===""?null:e[3]?.map(t=>t?.map(i=>(i?.value??void 0)!==void 0&&i?.value!==""?new a.IfcPositiveInteger(i.value):null)||[])),3741457305:e=>new a.IfcIrregularTimeSeries(new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new a.IfcDateTime((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),new a.IfcDateTime((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4],e[5],(e[6]??void 0)===void 0||e[6]===""?null:new a.IfcLabel((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,3,e[7]),e[8]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[]),1585845231:e=>new a.IfcLagTime((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),e[1],(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),Si(3,e[3]),e[4]),1402838566:e=>new a.IfcLightSource((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcNormalisedRatioMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcNormalisedRatioMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),125510826:e=>new a.IfcLightSourceAmbient((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcNormalisedRatioMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcNormalisedRatioMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),2604431987:e=>new a.IfcLightSourceDirectional((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcNormalisedRatioMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcNormalisedRatioMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,3,e[4])),4266656042:e=>new a.IfcLightSourceGoniometric((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcNormalisedRatioMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcNormalisedRatioMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,3,e[4]),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),new a.IfcThermodynamicTemperatureMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),new a.IfcLuminousFluxMeasure((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8],new u((e[9]??void 0)===void 0||e[9]===""?null:e[9].value,3,e[9])),1520743889:e=>new a.IfcLightSourcePositional((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcNormalisedRatioMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcNormalisedRatioMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,3,e[4]),new a.IfcPositiveLengthMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),new a.IfcReal((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),new a.IfcReal((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),new a.IfcReal((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),3422422726:e=>new a.IfcLightSourceSpot((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcNormalisedRatioMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcNormalisedRatioMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,3,e[4]),new a.IfcPositiveLengthMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),new a.IfcReal((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),new a.IfcReal((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),new a.IfcReal((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),new u((e[9]??void 0)===void 0||e[9]===""?null:e[9].value,3,e[9]),(e[10]??void 0)===void 0||e[10]===""?null:new a.IfcReal((e[10]??void 0)===void 0||e[10]===""?null:e[10].value),new a.IfcPositivePlaneAngleMeasure((e[11]??void 0)===void 0||e[11]===""?null:e[11].value),new a.IfcPositivePlaneAngleMeasure((e[12]??void 0)===void 0||e[12]===""?null:e[12].value)),388784114:e=>new a.IfcLinearPlacement((e[0]??void 0)===void 0||e[0]===""?null:new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2])),2624227202:e=>new a.IfcLocalPlacement((e[0]??void 0)===void 0||e[0]===""?null:new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1])),1008929658:e=>new a.IfcLoop,2347385850:e=>new a.IfcMappedItem(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1])),1838606355:e=>new a.IfcMaterial(new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),3708119e3:e=>new a.IfcMaterialConstituent((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2]),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcNormalisedRatioMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),2852063980:e=>new a.IfcMaterialConstituentSet((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:e[2]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[]),2022407955:e=>new a.IfcMaterialDefinitionRepresentation((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),e[2]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,3,e[3])),1303795690:e=>new a.IfcMaterialLayerSetUsage(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),e[1],e[2],new a.IfcLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcPositiveLengthMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),3079605661:e=>new a.IfcMaterialProfileSetUsage(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcCardinalPointReference((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcPositiveLengthMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),3404854881:e=>new a.IfcMaterialProfileSetUsageTapering(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcCardinalPointReference((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcPositiveLengthMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,3,e[3]),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcCardinalPointReference((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),3265635763:e=>new a.IfcMaterialProperties((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcIdentifier((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),e[2]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,3,e[3])),853536259:e=>new a.IfcMaterialRelationship((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2]),e[3]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),2998442950:e=>new a.IfcMirroredProfileDef(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2]),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcLabel((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),219451334:e=>new a.IfcObjectDefinition(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),182550632:e=>new a.IfcOpenCrossProfileDef(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new a.IfcBoolean((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),e[3]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new a.IfcNonNegativeLengthMeasure(t.value):null)||[],e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new a.IfcPlaneAngleMeasure(t.value):null)||[],(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new a.IfcLabel(t.value):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6])),2665983363:e=>new a.IfcOpenShell(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[]),1411181986:e=>new a.IfcOrganizationRelationship((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2]),e[3]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[]),1029017970:e=>new a.IfcOrientedEdge(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),new a.IfcBoolean((e[1]??void 0)===void 0||e[1]===""?null:e[1].value)),2529465313:e=>new a.IfcParameterizedProfileDef(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2])),2519244187:e=>new a.IfcPath(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[]),3021840470:e=>new a.IfcPhysicalComplexQuantity(new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),e[2]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],new a.IfcLabel((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcLabel((e[5]??void 0)===void 0||e[5]===""?null:e[5].value)),597895409:e=>new a.IfcPixelTexture(new a.IfcBoolean((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new a.IfcBoolean((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcIdentifier((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,3,e[3]),(e[4]??void 0)===void 0||e[4]===""?null:e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new a.IfcIdentifier(t.value):null)||[],new a.IfcInteger((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),new a.IfcInteger((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),new a.IfcInteger((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new a.IfcBinary(t.value):null)||[]),2004835150:e=>new a.IfcPlacement(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0])),1663979128:e=>new a.IfcPlanarExtent(new a.IfcLengthMeasure((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new a.IfcLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value)),2067069095:e=>new a.IfcPoint,2165702409:e=>new a.IfcPointByDistanceExpression(Si(3,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLengthMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,3,e[4])),4022376103:e=>new a.IfcPointOnCurve(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),new a.IfcParameterValue((e[1]??void 0)===void 0||e[1]===""?null:e[1].value)),1423911732:e=>new a.IfcPointOnSurface(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),new a.IfcParameterValue((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new a.IfcParameterValue((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),2924175390:e=>new a.IfcPolyLoop(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[]),2775532180:e=>new a.IfcPolygonalBoundedHalfSpace(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),new a.IfcBoolean((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2]),new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,3,e[3])),3727388367:e=>new a.IfcPreDefinedItem(new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value)),3778827333:e=>new a.IfcPreDefinedProperties,1775413392:e=>new a.IfcPreDefinedTextFont(new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value)),673634403:e=>new a.IfcProductDefinitionShape((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),e[2]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[]),2802850158:e=>new a.IfcProfileProperties((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcIdentifier((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),e[2]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,3,e[3])),2598011224:e=>new a.IfcProperty(new a.IfcIdentifier((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value)),1680319473:e=>new a.IfcPropertyDefinition(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),148025276:e=>new a.IfcPropertyDependencyRelationship((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2]),new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,3,e[3]),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcText((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),3357820518:e=>new a.IfcPropertySetDefinition(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),1482703590:e=>new a.IfcPropertyTemplateDefinition(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),2090586900:e=>new a.IfcQuantitySet(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),3615266464:e=>new a.IfcRectangleProfileDef(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2]),new a.IfcPositiveLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new a.IfcPositiveLengthMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),3413951693:e=>new a.IfcRegularTimeSeries(new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new a.IfcDateTime((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),new a.IfcDateTime((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4],e[5],(e[6]??void 0)===void 0||e[6]===""?null:new a.IfcLabel((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,3,e[7]),new a.IfcTimeMeasure((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[]),1580146022:e=>new a.IfcReinforcementBarProperties(new a.IfcAreaMeasure((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new a.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),e[2],(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcPositiveLengthMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcCountMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value)),478536968:e=>new a.IfcRelationship(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),2943643501:e=>new a.IfcResourceApprovalRelationship((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),e[2]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,3,e[3])),1608871552:e=>new a.IfcResourceConstraintRelationship((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2]),e[3]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[]),1042787934:e=>new a.IfcResourceTime((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),e[1],(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcDuration((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcPositiveRatioMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcDateTime((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new a.IfcDateTime((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcDuration((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new a.IfcBoolean((e[9]??void 0)===void 0||e[9]===""?null:e[9].value),(e[10]??void 0)===void 0||e[10]===""?null:new a.IfcDateTime((e[10]??void 0)===void 0||e[10]===""?null:e[10].value),(e[11]??void 0)===void 0||e[11]===""?null:new a.IfcDuration((e[11]??void 0)===void 0||e[11]===""?null:e[11].value),(e[12]??void 0)===void 0||e[12]===""?null:new a.IfcPositiveRatioMeasure((e[12]??void 0)===void 0||e[12]===""?null:e[12].value),(e[13]??void 0)===void 0||e[13]===""?null:new a.IfcDateTime((e[13]??void 0)===void 0||e[13]===""?null:e[13].value),(e[14]??void 0)===void 0||e[14]===""?null:new a.IfcDateTime((e[14]??void 0)===void 0||e[14]===""?null:e[14].value),(e[15]??void 0)===void 0||e[15]===""?null:new a.IfcDuration((e[15]??void 0)===void 0||e[15]===""?null:e[15].value),(e[16]??void 0)===void 0||e[16]===""?null:new a.IfcPositiveRatioMeasure((e[16]??void 0)===void 0||e[16]===""?null:e[16].value),(e[17]??void 0)===void 0||e[17]===""?null:new a.IfcPositiveRatioMeasure((e[17]??void 0)===void 0||e[17]===""?null:e[17].value)),2778083089:e=>new a.IfcRoundedRectangleProfileDef(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2]),new a.IfcPositiveLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new a.IfcPositiveLengthMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),new a.IfcPositiveLengthMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value)),2042790032:e=>new a.IfcSectionProperties(e[0],new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2])),4165799628:e=>new a.IfcSectionReinforcementProperties(new a.IfcLengthMeasure((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new a.IfcLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLengthMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),e[3],new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,3,e[4]),e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[]),1509187699:e=>new a.IfcSectionedSpine(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],e[2]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[]),823603102:e=>new a.IfcSegment(e[0]),4124623270:e=>new a.IfcShellBasedSurfaceModel(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[]),3692461612:e=>new a.IfcSimpleProperty(new a.IfcIdentifier((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value)),2609359061:e=>new a.IfcSlippageConnectionCondition((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLengthMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),723233188:e=>new a.IfcSolidModel,1595516126:e=>new a.IfcStructuralLoadLinearForce((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcLinearForceMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLinearForceMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcLinearForceMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLinearMomentMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcLinearMomentMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new a.IfcLinearMomentMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value)),2668620305:e=>new a.IfcStructuralLoadPlanarForce((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcPlanarForceMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcPlanarForceMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcPlanarForceMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),2473145415:e=>new a.IfcStructuralLoadSingleDisplacement((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLengthMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcPlaneAngleMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcPlaneAngleMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new a.IfcPlaneAngleMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value)),1973038258:e=>new a.IfcStructuralLoadSingleDisplacementDistortion((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLengthMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcPlaneAngleMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcPlaneAngleMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new a.IfcPlaneAngleMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcCurvatureMeasure((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),1597423693:e=>new a.IfcStructuralLoadSingleForce((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcForceMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcForceMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcForceMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcTorqueMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcTorqueMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new a.IfcTorqueMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value)),1190533807:e=>new a.IfcStructuralLoadSingleForceWarping((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcForceMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcForceMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcForceMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcTorqueMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcTorqueMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new a.IfcTorqueMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcWarpingMomentMeasure((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),2233826070:e=>new a.IfcSubedge(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2])),2513912981:e=>new a.IfcSurface,1878645084:e=>new a.IfcSurfaceStyleRendering(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcNormalisedRatioMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2]),(e[3]??void 0)===void 0||e[3]===""?null:new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,3,e[3]),(e[4]??void 0)===void 0||e[4]===""?null:new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,3,e[4]),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:Si(3,e[7]),e[8]),2247615214:e=>new a.IfcSweptAreaSolid(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1])),1260650574:e=>new a.IfcSweptDiskSolid(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),new a.IfcPositiveLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcPositiveLengthMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcParameterValue((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcParameterValue((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),1096409881:e=>new a.IfcSweptDiskSolidPolygonal(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),new a.IfcPositiveLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcPositiveLengthMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcParameterValue((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcParameterValue((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcNonNegativeLengthMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value)),230924584:e=>new a.IfcSweptSurface(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1])),3071757647:e=>new a.IfcTShapeProfileDef(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2]),new a.IfcPositiveLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new a.IfcPositiveLengthMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),new a.IfcPositiveLengthMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),new a.IfcPositiveLengthMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcNonNegativeLengthMeasure((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcNonNegativeLengthMeasure((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new a.IfcNonNegativeLengthMeasure((e[9]??void 0)===void 0||e[9]===""?null:e[9].value),(e[10]??void 0)===void 0||e[10]===""?null:new a.IfcPlaneAngleMeasure((e[10]??void 0)===void 0||e[10]===""?null:e[10].value),(e[11]??void 0)===void 0||e[11]===""?null:new a.IfcPlaneAngleMeasure((e[11]??void 0)===void 0||e[11]===""?null:e[11].value)),901063453:e=>new a.IfcTessellatedItem,4282788508:e=>new a.IfcTextLiteral(new a.IfcPresentableText((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),e[2]),3124975700:e=>new a.IfcTextLiteralWithExtent(new a.IfcPresentableText((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),e[2],new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,3,e[3]),new a.IfcBoxAlignment((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),1983826977:e=>new a.IfcTextStyleFontModel(new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new a.IfcTextFontName(t.value):null)||[],(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcFontStyle((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcFontVariant((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcFontWeight((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),Si(3,e[5])),2715220739:e=>new a.IfcTrapeziumProfileDef(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2]),new a.IfcPositiveLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new a.IfcPositiveLengthMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),new a.IfcPositiveLengthMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),new a.IfcLengthMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value)),1628702193:e=>new a.IfcTypeObject(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[]),3736923433:e=>new a.IfcTypeProcess(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:new a.IfcIdentifier((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcText((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),2347495698:e=>new a.IfcTypeProduct(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),3698973494:e=>new a.IfcTypeResource(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:new a.IfcIdentifier((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcText((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),427810014:e=>new a.IfcUShapeProfileDef(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2]),new a.IfcPositiveLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new a.IfcPositiveLengthMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),new a.IfcPositiveLengthMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),new a.IfcPositiveLengthMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcNonNegativeLengthMeasure((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcNonNegativeLengthMeasure((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new a.IfcPlaneAngleMeasure((e[9]??void 0)===void 0||e[9]===""?null:e[9].value)),1417489154:e=>new a.IfcVector(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),new a.IfcLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value)),2759199220:e=>new a.IfcVertexLoop(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0])),2543172580:e=>new a.IfcZShapeProfileDef(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2]),new a.IfcPositiveLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new a.IfcPositiveLengthMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),new a.IfcPositiveLengthMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),new a.IfcPositiveLengthMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcNonNegativeLengthMeasure((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcNonNegativeLengthMeasure((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),3406155212:e=>new a.IfcAdvancedFace(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),new a.IfcBoolean((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),669184980:e=>new a.IfcAnnotationFillArea(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[]),3207858831:e=>new a.IfcAsymmetricIShapeProfileDef(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2]),new a.IfcPositiveLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new a.IfcPositiveLengthMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),new a.IfcPositiveLengthMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),new a.IfcPositiveLengthMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcNonNegativeLengthMeasure((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),new a.IfcPositiveLengthMeasure((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new a.IfcPositiveLengthMeasure((e[9]??void 0)===void 0||e[9]===""?null:e[9].value),(e[10]??void 0)===void 0||e[10]===""?null:new a.IfcNonNegativeLengthMeasure((e[10]??void 0)===void 0||e[10]===""?null:e[10].value),(e[11]??void 0)===void 0||e[11]===""?null:new a.IfcNonNegativeLengthMeasure((e[11]??void 0)===void 0||e[11]===""?null:e[11].value),(e[12]??void 0)===void 0||e[12]===""?null:new a.IfcPlaneAngleMeasure((e[12]??void 0)===void 0||e[12]===""?null:e[12].value),(e[13]??void 0)===void 0||e[13]===""?null:new a.IfcNonNegativeLengthMeasure((e[13]??void 0)===void 0||e[13]===""?null:e[13].value),(e[14]??void 0)===void 0||e[14]===""?null:new a.IfcPlaneAngleMeasure((e[14]??void 0)===void 0||e[14]===""?null:e[14].value)),4261334040:e=>new a.IfcAxis1Placement(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1])),3125803723:e=>new a.IfcAxis2Placement2D(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1])),2740243338:e=>new a.IfcAxis2Placement3D(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2])),3425423356:e=>new a.IfcAxis2PlacementLinear(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2])),2736907675:e=>new a.IfcBooleanResult(e[0],new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2])),4182860854:e=>new a.IfcBoundedSurface,2581212453:e=>new a.IfcBoundingBox(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),new a.IfcPositiveLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new a.IfcPositiveLengthMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),new a.IfcPositiveLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),2713105998:e=>new a.IfcBoxedHalfSpace(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),new a.IfcBoolean((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2])),2898889636:e=>new a.IfcCShapeProfileDef(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2]),new a.IfcPositiveLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new a.IfcPositiveLengthMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),new a.IfcPositiveLengthMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),new a.IfcPositiveLengthMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcNonNegativeLengthMeasure((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),1123145078:e=>new a.IfcCartesianPoint(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new a.IfcLengthMeasure(t.value):null)||[]),574549367:e=>new a.IfcCartesianPointList,1675464909:e=>new a.IfcCartesianPointList2D(e[0]?.map(t=>t?.map(i=>(i?.value??void 0)!==void 0&&i?.value!==""?new a.IfcLengthMeasure(i.value):null)||[]),(e[1]??void 0)===void 0||e[1]===""?null:e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new a.IfcLabel(t.value):null)||[]),2059837836:e=>new a.IfcCartesianPointList3D(e[0]?.map(t=>t?.map(i=>(i?.value??void 0)!==void 0&&i?.value!==""?new a.IfcLengthMeasure(i.value):null)||[]),(e[1]??void 0)===void 0||e[1]===""?null:e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new a.IfcLabel(t.value):null)||[]),59481748:e=>new a.IfcCartesianTransformationOperator((e[0]??void 0)===void 0||e[0]===""?null:new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2]),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcReal((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),3749851601:e=>new a.IfcCartesianTransformationOperator2D((e[0]??void 0)===void 0||e[0]===""?null:new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2]),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcReal((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),3486308946:e=>new a.IfcCartesianTransformationOperator2DnonUniform((e[0]??void 0)===void 0||e[0]===""?null:new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2]),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcReal((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcReal((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),3331915920:e=>new a.IfcCartesianTransformationOperator3D((e[0]??void 0)===void 0||e[0]===""?null:new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2]),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcReal((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,3,e[4])),1416205885:e=>new a.IfcCartesianTransformationOperator3DnonUniform((e[0]??void 0)===void 0||e[0]===""?null:new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2]),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcReal((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,3,e[4]),(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcReal((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new a.IfcReal((e[6]??void 0)===void 0||e[6]===""?null:e[6].value)),1383045692:e=>new a.IfcCircleProfileDef(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2]),new a.IfcPositiveLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),2205249479:e=>new a.IfcClosedShell(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[]),776857604:e=>new a.IfcColourRgb((e[0]??void 0)===void 0||e[0]===""?null:new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new a.IfcNormalisedRatioMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new a.IfcNormalisedRatioMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),new a.IfcNormalisedRatioMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),2542286263:e=>new a.IfcComplexProperty(new a.IfcIdentifier((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new a.IfcIdentifier((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),e[3]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[]),2485617015:e=>new a.IfcCompositeCurveSegment(e[0],new a.IfcBoolean((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2])),2574617495:e=>new a.IfcConstructionResourceType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:new a.IfcIdentifier((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcText((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:e[9]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[10]??void 0)===void 0||e[10]===""?null:new u((e[10]??void 0)===void 0||e[10]===""?null:e[10].value,3,e[10])),3419103109:e=>new a.IfcContext(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcLabel((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new a.IfcLabel((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:e[7]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[8]??void 0)===void 0||e[8]===""?null:new u((e[8]??void 0)===void 0||e[8]===""?null:e[8].value,3,e[8])),1815067380:e=>new a.IfcCrewResourceType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:new a.IfcIdentifier((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcText((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:e[9]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[10]??void 0)===void 0||e[10]===""?null:new u((e[10]??void 0)===void 0||e[10]===""?null:e[10].value,3,e[10]),e[11]),2506170314:e=>new a.IfcCsgPrimitive3D(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0])),2147822146:e=>new a.IfcCsgSolid(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0])),2601014836:e=>new a.IfcCurve,2827736869:e=>new a.IfcCurveBoundedPlane(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:e[2]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[]),2629017746:e=>new a.IfcCurveBoundedSurface(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],new a.IfcBoolean((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),4212018352:e=>new a.IfcCurveSegment(e[0],new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),Si(3,e[2]),Si(3,e[3]),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,3,e[4])),32440307:e=>new a.IfcDirection(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new a.IfcReal(t.value):null)||[]),593015953:e=>new a.IfcDirectrixCurveSweptAreaSolid(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2]),(e[3]??void 0)===void 0||e[3]===""?null:Si(3,e[3]),(e[4]??void 0)===void 0||e[4]===""?null:Si(3,e[4])),1472233963:e=>new a.IfcEdgeLoop(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[]),1883228015:e=>new a.IfcElementQuantity(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[]),339256511:e=>new a.IfcElementType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),2777663545:e=>new a.IfcElementarySurface(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0])),2835456948:e=>new a.IfcEllipseProfileDef(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2]),new a.IfcPositiveLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new a.IfcPositiveLengthMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),4024345920:e=>new a.IfcEventType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:new a.IfcIdentifier((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcText((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9],e[10],(e[11]??void 0)===void 0||e[11]===""?null:new a.IfcLabel((e[11]??void 0)===void 0||e[11]===""?null:e[11].value)),477187591:e=>new a.IfcExtrudedAreaSolid(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2]),new a.IfcPositiveLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),2804161546:e=>new a.IfcExtrudedAreaSolidTapered(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2]),new a.IfcPositiveLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,3,e[4])),2047409740:e=>new a.IfcFaceBasedSurfaceModel(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[]),374418227:e=>new a.IfcFillAreaStyleHatching(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2]),(e[3]??void 0)===void 0||e[3]===""?null:new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,3,e[3]),new a.IfcPlaneAngleMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),315944413:e=>new a.IfcFillAreaStyleTiles(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],new a.IfcPositiveRatioMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),2652556860:e=>new a.IfcFixedReferenceSweptAreaSolid(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2]),(e[3]??void 0)===void 0||e[3]===""?null:Si(3,e[3]),(e[4]??void 0)===void 0||e[4]===""?null:Si(3,e[4]),new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5])),4238390223:e=>new a.IfcFurnishingElementType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),1268542332:e=>new a.IfcFurnitureType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9],e[10]),4095422895:e=>new a.IfcGeographicElementType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),987898635:e=>new a.IfcGeometricCurveSet(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[]),1484403080:e=>new a.IfcIShapeProfileDef(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2]),new a.IfcPositiveLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new a.IfcPositiveLengthMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),new a.IfcPositiveLengthMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),new a.IfcPositiveLengthMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcNonNegativeLengthMeasure((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcNonNegativeLengthMeasure((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new a.IfcPlaneAngleMeasure((e[9]??void 0)===void 0||e[9]===""?null:e[9].value)),178912537:e=>new a.IfcIndexedPolygonalFace(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new a.IfcPositiveInteger(t.value):null)||[]),2294589976:e=>new a.IfcIndexedPolygonalFaceWithVoids(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new a.IfcPositiveInteger(t.value):null)||[],e[1]?.map(t=>t?.map(i=>(i?.value??void 0)!==void 0&&i?.value!==""?new a.IfcPositiveInteger(i.value):null)||[])),3465909080:e=>new a.IfcIndexedPolygonalTextureMap(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2]),e[3]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[]),572779678:e=>new a.IfcLShapeProfileDef(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2]),new a.IfcPositiveLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcPositiveLengthMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),new a.IfcPositiveLengthMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new a.IfcNonNegativeLengthMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcNonNegativeLengthMeasure((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcPlaneAngleMeasure((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),428585644:e=>new a.IfcLaborResourceType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:new a.IfcIdentifier((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcText((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:e[9]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[10]??void 0)===void 0||e[10]===""?null:new u((e[10]??void 0)===void 0||e[10]===""?null:e[10].value,3,e[10]),e[11]),1281925730:e=>new a.IfcLine(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1])),1425443689:e=>new a.IfcManifoldSolidBrep(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0])),3888040117:e=>new a.IfcObject(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),590820931:e=>new a.IfcOffsetCurve(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0])),3388369263:e=>new a.IfcOffsetCurve2D(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),new a.IfcLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new a.IfcLogical((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),3505215534:e=>new a.IfcOffsetCurve3D(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),new a.IfcLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new a.IfcLogical((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,3,e[3])),2485787929:e=>new a.IfcOffsetCurveByDistances(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),1682466193:e=>new a.IfcPcurve(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1])),603570806:e=>new a.IfcPlanarBox(new a.IfcLengthMeasure((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new a.IfcLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2])),220341763:e=>new a.IfcPlane(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0])),3381221214:e=>new a.IfcPolynomialCurve(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new a.IfcReal(t.value):null)||[],(e[2]??void 0)===void 0||e[2]===""?null:e[2]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new a.IfcReal(t.value):null)||[],(e[3]??void 0)===void 0||e[3]===""?null:e[3]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new a.IfcReal(t.value):null)||[]),759155922:e=>new a.IfcPreDefinedColour(new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value)),2559016684:e=>new a.IfcPreDefinedCurveFont(new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value)),3967405729:e=>new a.IfcPreDefinedPropertySet(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),569719735:e=>new a.IfcProcedureType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:new a.IfcIdentifier((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcText((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),2945172077:e=>new a.IfcProcess(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcIdentifier((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new a.IfcText((e[6]??void 0)===void 0||e[6]===""?null:e[6].value)),4208778838:e=>new a.IfcProduct(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6])),103090709:e=>new a.IfcProject(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcLabel((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new a.IfcLabel((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:e[7]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[8]??void 0)===void 0||e[8]===""?null:new u((e[8]??void 0)===void 0||e[8]===""?null:e[8].value,3,e[8])),653396225:e=>new a.IfcProjectLibrary(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcLabel((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new a.IfcLabel((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:e[7]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[8]??void 0)===void 0||e[8]===""?null:new u((e[8]??void 0)===void 0||e[8]===""?null:e[8].value,3,e[8])),871118103:e=>new a.IfcPropertyBoundedValue(new a.IfcIdentifier((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:Si(3,e[2]),(e[3]??void 0)===void 0||e[3]===""?null:Si(3,e[3]),(e[4]??void 0)===void 0||e[4]===""?null:new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,3,e[4]),(e[5]??void 0)===void 0||e[5]===""?null:Si(3,e[5])),4166981789:e=>new a.IfcPropertyEnumeratedValue(new a.IfcIdentifier((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:e[2]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?Si(3,t):null)||[],(e[3]??void 0)===void 0||e[3]===""?null:new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,3,e[3])),2752243245:e=>new a.IfcPropertyListValue(new a.IfcIdentifier((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:e[2]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?Si(3,t):null)||[],(e[3]??void 0)===void 0||e[3]===""?null:new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,3,e[3])),941946838:e=>new a.IfcPropertyReferenceValue(new a.IfcIdentifier((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcText((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,3,e[3])),1451395588:e=>new a.IfcPropertySet(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[]),492091185:e=>new a.IfcPropertySetTemplate(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4],(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcIdentifier((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[]),3650150729:e=>new a.IfcPropertySingleValue(new a.IfcIdentifier((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:Si(3,e[2]),(e[3]??void 0)===void 0||e[3]===""?null:new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,3,e[3])),110355661:e=>new a.IfcPropertyTableValue(new a.IfcIdentifier((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcText((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:e[2]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?Si(3,t):null)||[],(e[3]??void 0)===void 0||e[3]===""?null:e[3]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?Si(3,t):null)||[],(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcText((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),e[7]),3521284610:e=>new a.IfcPropertyTemplate(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),2770003689:e=>new a.IfcRectangleHollowProfileDef(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2]),new a.IfcPositiveLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new a.IfcPositiveLengthMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),new a.IfcPositiveLengthMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new a.IfcNonNegativeLengthMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcNonNegativeLengthMeasure((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),2798486643:e=>new a.IfcRectangularPyramid(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),new a.IfcPositiveLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new a.IfcPositiveLengthMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),new a.IfcPositiveLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),3454111270:e=>new a.IfcRectangularTrimmedSurface(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),new a.IfcParameterValue((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new a.IfcParameterValue((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),new a.IfcParameterValue((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new a.IfcParameterValue((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),new a.IfcBoolean((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),new a.IfcBoolean((e[6]??void 0)===void 0||e[6]===""?null:e[6].value)),3765753017:e=>new a.IfcReinforcementDefinitionProperties(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[]),3939117080:e=>new a.IfcRelAssigns(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcStrippedOptional((e[5]??void 0)===void 0||e[5]===""?null:e[5].value)),1683148259:e=>new a.IfcRelAssignsToActor(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcStrippedOptional((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,3,e[7])),2495723537:e=>new a.IfcRelAssignsToControl(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcStrippedOptional((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6])),1307041759:e=>new a.IfcRelAssignsToGroup(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcStrippedOptional((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6])),1027710054:e=>new a.IfcRelAssignsToGroupByFactor(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcStrippedOptional((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),new a.IfcRatioMeasure((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),4278684876:e=>new a.IfcRelAssignsToProcess(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcStrippedOptional((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,3,e[7])),2857406711:e=>new a.IfcRelAssignsToProduct(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcStrippedOptional((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6])),205026976:e=>new a.IfcRelAssignsToResource(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcStrippedOptional((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6])),1865459582:e=>new a.IfcRelAssociates(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[]),4095574036:e=>new a.IfcRelAssociatesApproval(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5])),919958153:e=>new a.IfcRelAssociatesClassification(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5])),2728634034:e=>new a.IfcRelAssociatesConstraint(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcLabel((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6])),982818633:e=>new a.IfcRelAssociatesDocument(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5])),3840914261:e=>new a.IfcRelAssociatesLibrary(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5])),2655215786:e=>new a.IfcRelAssociatesMaterial(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5])),1033248425:e=>new a.IfcRelAssociatesProfileDef(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5])),826625072:e=>new a.IfcRelConnects(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),1204542856:e=>new a.IfcRelConnectsElements(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,3,e[4]),new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6])),3945020480:e=>new a.IfcRelConnectsPathElements(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,3,e[4]),new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:e[7]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new a.IfcInteger(t.value):null)||[],(e[8]??void 0)===void 0||e[8]===""?null:e[8]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new a.IfcInteger(t.value):null)||[],e[9],e[10]),4201705270:e=>new a.IfcRelConnectsPortToElement(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,3,e[4]),new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5])),3190031847:e=>new a.IfcRelConnectsPorts(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,3,e[4]),new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6])),2127690289:e=>new a.IfcRelConnectsStructuralActivity(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,3,e[4]),new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5])),1638771189:e=>new a.IfcRelConnectsStructuralMember(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,3,e[4]),new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,3,e[7]),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLengthMeasure((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new u((e[9]??void 0)===void 0||e[9]===""?null:e[9].value,3,e[9])),504942748:e=>new a.IfcRelConnectsWithEccentricity(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,3,e[4]),new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,3,e[7]),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLengthMeasure((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new u((e[9]??void 0)===void 0||e[9]===""?null:e[9].value,3,e[9]),new u((e[10]??void 0)===void 0||e[10]===""?null:e[10].value,3,e[10])),3678494232:e=>new a.IfcRelConnectsWithRealizingElements(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,3,e[4]),new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),e[7]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),3242617779:e=>new a.IfcRelContainedInSpatialStructure(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5])),886880790:e=>new a.IfcRelCoversBldgElements(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,3,e[4]),e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[]),2802773753:e=>new a.IfcRelCoversSpaces(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,3,e[4]),e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[]),2565941209:e=>new a.IfcRelDeclares(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,3,e[4]),e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[]),2551354335:e=>new a.IfcRelDecomposes(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),693640335:e=>new a.IfcRelDefines(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),1462361463:e=>new a.IfcRelDefinesByObject(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5])),4186316022:e=>new a.IfcRelDefinesByProperties(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5])),307848117:e=>new a.IfcRelDefinesByTemplate(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5])),781010003:e=>new a.IfcRelDefinesByType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5])),3940055652:e=>new a.IfcRelFillsElement(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,3,e[4]),new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5])),279856033:e=>new a.IfcRelFlowControlElements(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5])),427948657:e=>new a.IfcRelInterferesElements(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,3,e[4]),new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),new a.IfcLogical((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new u((e[9]??void 0)===void 0||e[9]===""?null:e[9].value,3,e[9])),3268803585:e=>new a.IfcRelNests(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,3,e[4]),e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[]),1441486842:e=>new a.IfcRelPositions(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,3,e[4]),e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[]),750771296:e=>new a.IfcRelProjectsElement(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,3,e[4]),new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5])),1245217292:e=>new a.IfcRelReferencedInSpatialStructure(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5])),4122056220:e=>new a.IfcRelSequence(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,3,e[4]),new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),e[7],(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),366585022:e=>new a.IfcRelServicesBuildings(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,3,e[4]),e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[]),3451746338:e=>new a.IfcRelSpaceBoundary(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,3,e[4]),new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),e[7],e[8]),3523091289:e=>new a.IfcRelSpaceBoundary1stLevel(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,3,e[4]),new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),e[7],e[8],(e[9]??void 0)===void 0||e[9]===""?null:new u((e[9]??void 0)===void 0||e[9]===""?null:e[9].value,3,e[9])),1521410863:e=>new a.IfcRelSpaceBoundary2ndLevel(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,3,e[4]),new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),e[7],e[8],(e[9]??void 0)===void 0||e[9]===""?null:new u((e[9]??void 0)===void 0||e[9]===""?null:e[9].value,3,e[9]),(e[10]??void 0)===void 0||e[10]===""?null:new u((e[10]??void 0)===void 0||e[10]===""?null:e[10].value,3,e[10])),1401173127:e=>new a.IfcRelVoidsElement(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,3,e[4]),new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5])),816062949:e=>new a.IfcReparametrisedCompositeCurveSegment(e[0],new a.IfcBoolean((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2]),new a.IfcParameterValue((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),2914609552:e=>new a.IfcResource(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcIdentifier((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new a.IfcText((e[6]??void 0)===void 0||e[6]===""?null:e[6].value)),1856042241:e=>new a.IfcRevolvedAreaSolid(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2]),new a.IfcPlaneAngleMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),3243963512:e=>new a.IfcRevolvedAreaSolidTapered(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2]),new a.IfcPlaneAngleMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,3,e[4])),4158566097:e=>new a.IfcRightCircularCone(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),new a.IfcPositiveLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new a.IfcPositiveLengthMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),3626867408:e=>new a.IfcRightCircularCylinder(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),new a.IfcPositiveLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new a.IfcPositiveLengthMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),1862484736:e=>new a.IfcSectionedSolid(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[]),1290935644:e=>new a.IfcSectionedSolidHorizontal(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],e[2]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[]),1356537516:e=>new a.IfcSectionedSurface(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],e[2]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[]),3663146110:e=>new a.IfcSimplePropertyTemplate(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4],(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcLabel((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new a.IfcLabel((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,3,e[7]),(e[8]??void 0)===void 0||e[8]===""?null:new u((e[8]??void 0)===void 0||e[8]===""?null:e[8].value,3,e[8]),(e[9]??void 0)===void 0||e[9]===""?null:new u((e[9]??void 0)===void 0||e[9]===""?null:e[9].value,3,e[9]),(e[10]??void 0)===void 0||e[10]===""?null:new a.IfcLabel((e[10]??void 0)===void 0||e[10]===""?null:e[10].value),e[11]),1412071761:e=>new a.IfcSpatialElement(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),710998568:e=>new a.IfcSpatialElementType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),2706606064:e=>new a.IfcSpatialStructureElement(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),3893378262:e=>new a.IfcSpatialStructureElementType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),463610769:e=>new a.IfcSpatialZone(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),2481509218:e=>new a.IfcSpatialZoneType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9],(e[10]??void 0)===void 0||e[10]===""?null:new a.IfcLabel((e[10]??void 0)===void 0||e[10]===""?null:e[10].value)),451544542:e=>new a.IfcSphere(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),new a.IfcPositiveLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value)),4015995234:e=>new a.IfcSphericalSurface(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),new a.IfcPositiveLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value)),2735484536:e=>new a.IfcSpiral(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0])),3544373492:e=>new a.IfcStructuralActivity(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,3,e[7]),e[8]),3136571912:e=>new a.IfcStructuralItem(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6])),530289379:e=>new a.IfcStructuralMember(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6])),3689010777:e=>new a.IfcStructuralReaction(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,3,e[7]),e[8]),3979015343:e=>new a.IfcStructuralSurfaceMember(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),e[7],(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcPositiveLengthMeasure((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),2218152070:e=>new a.IfcStructuralSurfaceMemberVarying(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),e[7],(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcPositiveLengthMeasure((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),603775116:e=>new a.IfcStructuralSurfaceReaction(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,3,e[7]),e[8],e[9]),4095615324:e=>new a.IfcSubContractResourceType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:new a.IfcIdentifier((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcText((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:e[9]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[10]??void 0)===void 0||e[10]===""?null:new u((e[10]??void 0)===void 0||e[10]===""?null:e[10].value,3,e[10]),e[11]),699246055:e=>new a.IfcSurfaceCurve(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],e[2]),2028607225:e=>new a.IfcSurfaceCurveSweptAreaSolid(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2]),(e[3]??void 0)===void 0||e[3]===""?null:Si(3,e[3]),(e[4]??void 0)===void 0||e[4]===""?null:Si(3,e[4]),new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5])),2809605785:e=>new a.IfcSurfaceOfLinearExtrusion(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2]),new a.IfcLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),4124788165:e=>new a.IfcSurfaceOfRevolution(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2])),1580310250:e=>new a.IfcSystemFurnitureElementType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),3473067441:e=>new a.IfcTask(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcIdentifier((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new a.IfcText((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),new a.IfcBoolean((e[9]??void 0)===void 0||e[9]===""?null:e[9].value),(e[10]??void 0)===void 0||e[10]===""?null:new a.IfcInteger((e[10]??void 0)===void 0||e[10]===""?null:e[10].value),(e[11]??void 0)===void 0||e[11]===""?null:new u((e[11]??void 0)===void 0||e[11]===""?null:e[11].value,3,e[11]),e[12]),3206491090:e=>new a.IfcTaskType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:new a.IfcIdentifier((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcText((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9],(e[10]??void 0)===void 0||e[10]===""?null:new a.IfcLabel((e[10]??void 0)===void 0||e[10]===""?null:e[10].value)),2387106220:e=>new a.IfcTessellatedFaceSet(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0])),782932809:e=>new a.IfcThirdOrderPolynomialSpiral(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),new a.IfcLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLengthMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLengthMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),1935646853:e=>new a.IfcToroidalSurface(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),new a.IfcPositiveLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new a.IfcPositiveLengthMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),3665877780:e=>new a.IfcTransportationDeviceType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),2916149573:e=>new a.IfcTriangulatedFaceSet(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:e[1]?.map(t=>t?.map(i=>(i?.value??void 0)!==void 0&&i?.value!==""?new a.IfcParameterValue(i.value):null)||[]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcBoolean((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),e[3]?.map(t=>t?.map(i=>(i?.value??void 0)!==void 0&&i?.value!==""?new a.IfcPositiveInteger(i.value):null)||[]),(e[4]??void 0)===void 0||e[4]===""?null:e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new a.IfcPositiveInteger(t.value):null)||[]),1229763772:e=>new a.IfcTriangulatedIrregularNetwork(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:e[1]?.map(t=>t?.map(i=>(i?.value??void 0)!==void 0&&i?.value!==""?new a.IfcParameterValue(i.value):null)||[]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcBoolean((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),e[3]?.map(t=>t?.map(i=>(i?.value??void 0)!==void 0&&i?.value!==""?new a.IfcPositiveInteger(i.value):null)||[]),(e[4]??void 0)===void 0||e[4]===""?null:e[4]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new a.IfcPositiveInteger(t.value):null)||[],e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new a.IfcInteger(t.value):null)||[]),3651464721:e=>new a.IfcVehicleType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),336235671:e=>new a.IfcWindowLiningProperties(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcPositiveLengthMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcNonNegativeLengthMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new a.IfcNonNegativeLengthMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcNonNegativeLengthMeasure((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcNormalisedRatioMeasure((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new a.IfcNormalisedRatioMeasure((e[9]??void 0)===void 0||e[9]===""?null:e[9].value),(e[10]??void 0)===void 0||e[10]===""?null:new a.IfcNormalisedRatioMeasure((e[10]??void 0)===void 0||e[10]===""?null:e[10].value),(e[11]??void 0)===void 0||e[11]===""?null:new a.IfcNormalisedRatioMeasure((e[11]??void 0)===void 0||e[11]===""?null:e[11].value),(e[12]??void 0)===void 0||e[12]===""?null:new u((e[12]??void 0)===void 0||e[12]===""?null:e[12].value,3,e[12]),(e[13]??void 0)===void 0||e[13]===""?null:new a.IfcLengthMeasure((e[13]??void 0)===void 0||e[13]===""?null:e[13].value),(e[14]??void 0)===void 0||e[14]===""?null:new a.IfcLengthMeasure((e[14]??void 0)===void 0||e[14]===""?null:e[14].value),(e[15]??void 0)===void 0||e[15]===""?null:new a.IfcLengthMeasure((e[15]??void 0)===void 0||e[15]===""?null:e[15].value)),512836454:e=>new a.IfcWindowPanelProperties(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4],e[5],(e[6]??void 0)===void 0||e[6]===""?null:new a.IfcPositiveLengthMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcPositiveLengthMeasure((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new u((e[8]??void 0)===void 0||e[8]===""?null:e[8].value,3,e[8])),2296667514:e=>new a.IfcActor(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5])),1635779807:e=>new a.IfcAdvancedBrep(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0])),2603310189:e=>new a.IfcAdvancedBrepWithVoids(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[]),1674181508:e=>new a.IfcAnnotation(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),e[7]),2887950389:e=>new a.IfcBSplineSurface(new a.IfcInteger((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new a.IfcInteger((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),e[2]?.map(t=>t?.map(i=>(i?.value??void 0)!==void 0&&i?.value!==""?new u(i.value,3,i):null)||[]),e[3],new a.IfcLogical((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),new a.IfcLogical((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),new a.IfcLogical((e[6]??void 0)===void 0||e[6]===""?null:e[6].value)),167062518:e=>new a.IfcBSplineSurfaceWithKnots(new a.IfcInteger((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new a.IfcInteger((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),e[2]?.map(t=>t?.map(i=>(i?.value??void 0)!==void 0&&i?.value!==""?new u(i.value,3,i):null)||[]),e[3],new a.IfcLogical((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),new a.IfcLogical((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),new a.IfcLogical((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),e[7]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new a.IfcInteger(t.value):null)||[],e[8]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new a.IfcInteger(t.value):null)||[],e[9]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new a.IfcParameterValue(t.value):null)||[],e[10]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new a.IfcParameterValue(t.value):null)||[],e[11]),1334484129:e=>new a.IfcBlock(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),new a.IfcPositiveLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new a.IfcPositiveLengthMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),new a.IfcPositiveLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),3649129432:e=>new a.IfcBooleanClippingResult(e[0],new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2])),1260505505:e=>new a.IfcBoundedCurve,3124254112:e=>new a.IfcBuildingStorey(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8],(e[9]??void 0)===void 0||e[9]===""?null:new a.IfcLengthMeasure((e[9]??void 0)===void 0||e[9]===""?null:e[9].value)),1626504194:e=>new a.IfcBuiltElementType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),2197970202:e=>new a.IfcChimneyType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),2937912522:e=>new a.IfcCircleHollowProfileDef(e[0],(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcLabel((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2]),new a.IfcPositiveLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new a.IfcPositiveLengthMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),3893394355:e=>new a.IfcCivilElementType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),3497074424:e=>new a.IfcClothoid(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),new a.IfcLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value)),300633059:e=>new a.IfcColumnType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),3875453745:e=>new a.IfcComplexPropertyTemplate(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),e[5],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[]),3732776249:e=>new a.IfcCompositeCurve(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],new a.IfcLogical((e[1]??void 0)===void 0||e[1]===""?null:e[1].value)),15328376:e=>new a.IfcCompositeCurveOnSurface(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],new a.IfcLogical((e[1]??void 0)===void 0||e[1]===""?null:e[1].value)),2510884976:e=>new a.IfcConic(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0])),2185764099:e=>new a.IfcConstructionEquipmentResourceType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:new a.IfcIdentifier((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcText((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:e[9]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[10]??void 0)===void 0||e[10]===""?null:new u((e[10]??void 0)===void 0||e[10]===""?null:e[10].value,3,e[10]),e[11]),4105962743:e=>new a.IfcConstructionMaterialResourceType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:new a.IfcIdentifier((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcText((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:e[9]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[10]??void 0)===void 0||e[10]===""?null:new u((e[10]??void 0)===void 0||e[10]===""?null:e[10].value,3,e[10]),e[11]),1525564444:e=>new a.IfcConstructionProductResourceType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:new a.IfcIdentifier((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcText((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:e[9]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[10]??void 0)===void 0||e[10]===""?null:new u((e[10]??void 0)===void 0||e[10]===""?null:e[10].value,3,e[10]),e[11]),2559216714:e=>new a.IfcConstructionResource(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcIdentifier((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new a.IfcText((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,3,e[7]),(e[8]??void 0)===void 0||e[8]===""?null:e[8]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[9]??void 0)===void 0||e[9]===""?null:new u((e[9]??void 0)===void 0||e[9]===""?null:e[9].value,3,e[9])),3293443760:e=>new a.IfcControl(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcIdentifier((e[5]??void 0)===void 0||e[5]===""?null:e[5].value)),2000195564:e=>new a.IfcCosineSpiral(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),new a.IfcLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLengthMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),3895139033:e=>new a.IfcCostItem(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcIdentifier((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),e[6],(e[7]??void 0)===void 0||e[7]===""?null:e[7]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[8]??void 0)===void 0||e[8]===""?null:e[8]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[]),1419761937:e=>new a.IfcCostSchedule(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcIdentifier((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),e[6],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcDateTime((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new a.IfcDateTime((e[9]??void 0)===void 0||e[9]===""?null:e[9].value)),4189326743:e=>new a.IfcCourseType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1916426348:e=>new a.IfcCoveringType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),3295246426:e=>new a.IfcCrewResource(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcIdentifier((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new a.IfcText((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,3,e[7]),(e[8]??void 0)===void 0||e[8]===""?null:e[8]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[9]??void 0)===void 0||e[9]===""?null:new u((e[9]??void 0)===void 0||e[9]===""?null:e[9].value,3,e[9]),e[10]),1457835157:e=>new a.IfcCurtainWallType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1213902940:e=>new a.IfcCylindricalSurface(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),new a.IfcPositiveLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value)),1306400036:e=>new a.IfcDeepFoundationType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),4234616927:e=>new a.IfcDirectrixDerivedReferenceSweptAreaSolid(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2]),(e[3]??void 0)===void 0||e[3]===""?null:Si(3,e[3]),(e[4]??void 0)===void 0||e[4]===""?null:Si(3,e[4]),new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5])),3256556792:e=>new a.IfcDistributionElementType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),3849074793:e=>new a.IfcDistributionFlowElementType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),2963535650:e=>new a.IfcDoorLiningProperties(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcPositiveLengthMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcNonNegativeLengthMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new a.IfcPositiveLengthMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcNonNegativeLengthMeasure((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcNonNegativeLengthMeasure((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new a.IfcLengthMeasure((e[9]??void 0)===void 0||e[9]===""?null:e[9].value),(e[10]??void 0)===void 0||e[10]===""?null:new a.IfcLengthMeasure((e[10]??void 0)===void 0||e[10]===""?null:e[10].value),(e[11]??void 0)===void 0||e[11]===""?null:new a.IfcLengthMeasure((e[11]??void 0)===void 0||e[11]===""?null:e[11].value),(e[12]??void 0)===void 0||e[12]===""?null:new a.IfcPositiveLengthMeasure((e[12]??void 0)===void 0||e[12]===""?null:e[12].value),(e[13]??void 0)===void 0||e[13]===""?null:new a.IfcPositiveLengthMeasure((e[13]??void 0)===void 0||e[13]===""?null:e[13].value),(e[14]??void 0)===void 0||e[14]===""?null:new u((e[14]??void 0)===void 0||e[14]===""?null:e[14].value,3,e[14]),(e[15]??void 0)===void 0||e[15]===""?null:new a.IfcLengthMeasure((e[15]??void 0)===void 0||e[15]===""?null:e[15].value),(e[16]??void 0)===void 0||e[16]===""?null:new a.IfcLengthMeasure((e[16]??void 0)===void 0||e[16]===""?null:e[16].value)),1714330368:e=>new a.IfcDoorPanelProperties(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcPositiveLengthMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),e[5],(e[6]??void 0)===void 0||e[6]===""?null:new a.IfcNormalisedRatioMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),e[7],(e[8]??void 0)===void 0||e[8]===""?null:new u((e[8]??void 0)===void 0||e[8]===""?null:e[8].value,3,e[8])),2323601079:e=>new a.IfcDoorType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9],e[10],(e[11]??void 0)===void 0||e[11]===""?null:new a.IfcBoolean((e[11]??void 0)===void 0||e[11]===""?null:e[11].value),(e[12]??void 0)===void 0||e[12]===""?null:new a.IfcLabel((e[12]??void 0)===void 0||e[12]===""?null:e[12].value)),445594917:e=>new a.IfcDraughtingPreDefinedColour(new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value)),4006246654:e=>new a.IfcDraughtingPreDefinedCurveFont(new a.IfcLabel((e[0]??void 0)===void 0||e[0]===""?null:e[0].value)),1758889154:e=>new a.IfcElement(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),4123344466:e=>new a.IfcElementAssembly(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8],e[9]),2397081782:e=>new a.IfcElementAssemblyType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1623761950:e=>new a.IfcElementComponent(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),2590856083:e=>new a.IfcElementComponentType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),1704287377:e=>new a.IfcEllipse(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),new a.IfcPositiveLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new a.IfcPositiveLengthMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),2107101300:e=>new a.IfcEnergyConversionDeviceType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),132023988:e=>new a.IfcEngineType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),3174744832:e=>new a.IfcEvaporativeCoolerType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),3390157468:e=>new a.IfcEvaporatorType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),4148101412:e=>new a.IfcEvent(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcIdentifier((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new a.IfcText((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),e[7],e[8],(e[9]??void 0)===void 0||e[9]===""?null:new a.IfcLabel((e[9]??void 0)===void 0||e[9]===""?null:e[9].value),(e[10]??void 0)===void 0||e[10]===""?null:new u((e[10]??void 0)===void 0||e[10]===""?null:e[10].value,3,e[10])),2853485674:e=>new a.IfcExternalSpatialStructureElement(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),807026263:e=>new a.IfcFacetedBrep(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0])),3737207727:e=>new a.IfcFacetedBrepWithVoids(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[]),24185140:e=>new a.IfcFacility(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),1310830890:e=>new a.IfcFacilityPart(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8],e[9]),4228831410:e=>new a.IfcFacilityPartCommon(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8],e[9],e[10]),647756555:e=>new a.IfcFastener(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),2489546625:e=>new a.IfcFastenerType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),2827207264:e=>new a.IfcFeatureElement(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),2143335405:e=>new a.IfcFeatureElementAddition(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),1287392070:e=>new a.IfcFeatureElementSubtraction(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),3907093117:e=>new a.IfcFlowControllerType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),3198132628:e=>new a.IfcFlowFittingType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),3815607619:e=>new a.IfcFlowMeterType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1482959167:e=>new a.IfcFlowMovingDeviceType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),1834744321:e=>new a.IfcFlowSegmentType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),1339347760:e=>new a.IfcFlowStorageDeviceType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),2297155007:e=>new a.IfcFlowTerminalType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),3009222698:e=>new a.IfcFlowTreatmentDeviceType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),1893162501:e=>new a.IfcFootingType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),263784265:e=>new a.IfcFurnishingElement(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),1509553395:e=>new a.IfcFurniture(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),3493046030:e=>new a.IfcGeographicElement(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),4230923436:e=>new a.IfcGeotechnicalElement(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),1594536857:e=>new a.IfcGeotechnicalStratum(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),2898700619:e=>new a.IfcGradientCurve(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],new a.IfcLogical((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2]),(e[3]??void 0)===void 0||e[3]===""?null:new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,3,e[3])),2706460486:e=>new a.IfcGroup(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),1251058090:e=>new a.IfcHeatExchangerType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1806887404:e=>new a.IfcHumidifierType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),2568555532:e=>new a.IfcImpactProtectionDevice(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),3948183225:e=>new a.IfcImpactProtectionDeviceType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),2571569899:e=>new a.IfcIndexedPolyCurve(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?Si(3,t):null)||[],(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcBoolean((e[2]??void 0)===void 0||e[2]===""?null:e[2].value)),3946677679:e=>new a.IfcInterceptorType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),3113134337:e=>new a.IfcIntersectionCurve(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],e[2]),2391368822:e=>new a.IfcInventory(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),e[5],(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:e[7]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcDate((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new u((e[9]??void 0)===void 0||e[9]===""?null:e[9].value,3,e[9]),(e[10]??void 0)===void 0||e[10]===""?null:new u((e[10]??void 0)===void 0||e[10]===""?null:e[10].value,3,e[10])),4288270099:e=>new a.IfcJunctionBoxType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),679976338:e=>new a.IfcKerbType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),3827777499:e=>new a.IfcLaborResource(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcIdentifier((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new a.IfcText((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,3,e[7]),(e[8]??void 0)===void 0||e[8]===""?null:e[8]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[9]??void 0)===void 0||e[9]===""?null:new u((e[9]??void 0)===void 0||e[9]===""?null:e[9].value,3,e[9]),e[10]),1051575348:e=>new a.IfcLampType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1161773419:e=>new a.IfcLightFixtureType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),2176059722:e=>new a.IfcLinearElement(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6])),1770583370:e=>new a.IfcLiquidTerminalType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),525669439:e=>new a.IfcMarineFacility(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8],e[9]),976884017:e=>new a.IfcMarinePart(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8],e[9],e[10]),377706215:e=>new a.IfcMechanicalFastener(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcPositiveLengthMeasure((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new a.IfcPositiveLengthMeasure((e[9]??void 0)===void 0||e[9]===""?null:e[9].value),e[10]),2108223431:e=>new a.IfcMechanicalFastenerType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9],(e[10]??void 0)===void 0||e[10]===""?null:new a.IfcPositiveLengthMeasure((e[10]??void 0)===void 0||e[10]===""?null:e[10].value),(e[11]??void 0)===void 0||e[11]===""?null:new a.IfcPositiveLengthMeasure((e[11]??void 0)===void 0||e[11]===""?null:e[11].value)),1114901282:e=>new a.IfcMedicalDeviceType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),3181161470:e=>new a.IfcMemberType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1950438474:e=>new a.IfcMobileTelecommunicationsApplianceType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),710110818:e=>new a.IfcMooringDeviceType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),977012517:e=>new a.IfcMotorConnectionType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),506776471:e=>new a.IfcNavigationElementType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),4143007308:e=>new a.IfcOccupant(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),e[6]),3588315303:e=>new a.IfcOpeningElement(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),2837617999:e=>new a.IfcOutletType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),514975943:e=>new a.IfcPavementType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),2382730787:e=>new a.IfcPerformanceHistory(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcIdentifier((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),new a.IfcLabel((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),e[7]),3566463478:e=>new a.IfcPermeableCoveringProperties(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4],e[5],(e[6]??void 0)===void 0||e[6]===""?null:new a.IfcPositiveLengthMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcPositiveLengthMeasure((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new u((e[8]??void 0)===void 0||e[8]===""?null:e[8].value,3,e[8])),3327091369:e=>new a.IfcPermit(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcIdentifier((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),e[6],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcText((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),1158309216:e=>new a.IfcPileType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),804291784:e=>new a.IfcPipeFittingType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),4231323485:e=>new a.IfcPipeSegmentType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),4017108033:e=>new a.IfcPlateType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),2839578677:e=>new a.IfcPolygonalFaceSet(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),(e[1]??void 0)===void 0||e[1]===""?null:new a.IfcBoolean((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),e[2]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[3]??void 0)===void 0||e[3]===""?null:e[3]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new a.IfcPositiveInteger(t.value):null)||[]),3724593414:e=>new a.IfcPolyline(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[]),3740093272:e=>new a.IfcPort(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6])),1946335990:e=>new a.IfcPositioningElement(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6])),2744685151:e=>new a.IfcProcedure(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcIdentifier((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new a.IfcText((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),e[7]),2904328755:e=>new a.IfcProjectOrder(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcIdentifier((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),e[6],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcText((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),3651124850:e=>new a.IfcProjectionElement(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),1842657554:e=>new a.IfcProtectiveDeviceType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),2250791053:e=>new a.IfcPumpType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1763565496:e=>new a.IfcRailType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),2893384427:e=>new a.IfcRailingType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),3992365140:e=>new a.IfcRailway(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8],e[9]),1891881377:e=>new a.IfcRailwayPart(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8],e[9],e[10]),2324767716:e=>new a.IfcRampFlightType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1469900589:e=>new a.IfcRampType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),683857671:e=>new a.IfcRationalBSplineSurfaceWithKnots(new a.IfcInteger((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),new a.IfcInteger((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),e[2]?.map(t=>t?.map(i=>(i?.value??void 0)!==void 0&&i?.value!==""?new u(i.value,3,i):null)||[]),e[3],new a.IfcLogical((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),new a.IfcLogical((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),new a.IfcLogical((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),e[7]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new a.IfcInteger(t.value):null)||[],e[8]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new a.IfcInteger(t.value):null)||[],e[9]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new a.IfcParameterValue(t.value):null)||[],e[10]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new a.IfcParameterValue(t.value):null)||[],e[11],e[12]?.map(t=>t?.map(i=>(i?.value??void 0)!==void 0&&i?.value!==""?new a.IfcReal(i.value):null)||[])),4021432810:e=>new a.IfcReferent(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),e[7]),3027567501:e=>new a.IfcReinforcingElement(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),964333572:e=>new a.IfcReinforcingElementType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),2320036040:e=>new a.IfcReinforcingMesh(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new a.IfcPositiveLengthMeasure((e[9]??void 0)===void 0||e[9]===""?null:e[9].value),(e[10]??void 0)===void 0||e[10]===""?null:new a.IfcPositiveLengthMeasure((e[10]??void 0)===void 0||e[10]===""?null:e[10].value),(e[11]??void 0)===void 0||e[11]===""?null:new a.IfcPositiveLengthMeasure((e[11]??void 0)===void 0||e[11]===""?null:e[11].value),(e[12]??void 0)===void 0||e[12]===""?null:new a.IfcPositiveLengthMeasure((e[12]??void 0)===void 0||e[12]===""?null:e[12].value),(e[13]??void 0)===void 0||e[13]===""?null:new a.IfcAreaMeasure((e[13]??void 0)===void 0||e[13]===""?null:e[13].value),(e[14]??void 0)===void 0||e[14]===""?null:new a.IfcAreaMeasure((e[14]??void 0)===void 0||e[14]===""?null:e[14].value),(e[15]??void 0)===void 0||e[15]===""?null:new a.IfcPositiveLengthMeasure((e[15]??void 0)===void 0||e[15]===""?null:e[15].value),(e[16]??void 0)===void 0||e[16]===""?null:new a.IfcPositiveLengthMeasure((e[16]??void 0)===void 0||e[16]===""?null:e[16].value),e[17]),2310774935:e=>new a.IfcReinforcingMeshType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9],(e[10]??void 0)===void 0||e[10]===""?null:new a.IfcPositiveLengthMeasure((e[10]??void 0)===void 0||e[10]===""?null:e[10].value),(e[11]??void 0)===void 0||e[11]===""?null:new a.IfcPositiveLengthMeasure((e[11]??void 0)===void 0||e[11]===""?null:e[11].value),(e[12]??void 0)===void 0||e[12]===""?null:new a.IfcPositiveLengthMeasure((e[12]??void 0)===void 0||e[12]===""?null:e[12].value),(e[13]??void 0)===void 0||e[13]===""?null:new a.IfcPositiveLengthMeasure((e[13]??void 0)===void 0||e[13]===""?null:e[13].value),(e[14]??void 0)===void 0||e[14]===""?null:new a.IfcAreaMeasure((e[14]??void 0)===void 0||e[14]===""?null:e[14].value),(e[15]??void 0)===void 0||e[15]===""?null:new a.IfcAreaMeasure((e[15]??void 0)===void 0||e[15]===""?null:e[15].value),(e[16]??void 0)===void 0||e[16]===""?null:new a.IfcPositiveLengthMeasure((e[16]??void 0)===void 0||e[16]===""?null:e[16].value),(e[17]??void 0)===void 0||e[17]===""?null:new a.IfcPositiveLengthMeasure((e[17]??void 0)===void 0||e[17]===""?null:e[17].value),(e[18]??void 0)===void 0||e[18]===""?null:new a.IfcLabel((e[18]??void 0)===void 0||e[18]===""?null:e[18].value),(e[19]??void 0)===void 0||e[19]===""?null:e[19]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?Si(3,t):null)||[]),3818125796:e=>new a.IfcRelAdheresToElement(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,3,e[4]),e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[]),160246688:e=>new a.IfcRelAggregates(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new u((e[4]??void 0)===void 0||e[4]===""?null:e[4].value,3,e[4]),e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[]),146592293:e=>new a.IfcRoad(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8],e[9]),550521510:e=>new a.IfcRoadPart(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8],e[9],e[10]),2781568857:e=>new a.IfcRoofType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1768891740:e=>new a.IfcSanitaryTerminalType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),2157484638:e=>new a.IfcSeamCurve(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],e[2]),3649235739:e=>new a.IfcSecondOrderPolynomialSpiral(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),new a.IfcLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLengthMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),544395925:e=>new a.IfcSegmentedReferenceCurve(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],new a.IfcLogical((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),new u((e[2]??void 0)===void 0||e[2]===""?null:e[2].value,3,e[2]),(e[3]??void 0)===void 0||e[3]===""?null:new u((e[3]??void 0)===void 0||e[3]===""?null:e[3].value,3,e[3])),1027922057:e=>new a.IfcSeventhOrderPolynomialSpiral(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),new a.IfcLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLengthMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLengthMeasure((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcLengthMeasure((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new a.IfcLengthMeasure((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLengthMeasure((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLengthMeasure((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),4074543187:e=>new a.IfcShadingDeviceType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),33720170:e=>new a.IfcSign(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),3599934289:e=>new a.IfcSignType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1894708472:e=>new a.IfcSignalType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),42703149:e=>new a.IfcSineSpiral(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),new a.IfcLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLengthMeasure((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcLengthMeasure((e[3]??void 0)===void 0||e[3]===""?null:e[3].value)),4097777520:e=>new a.IfcSite(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8],(e[9]??void 0)===void 0||e[9]===""?null:new a.IfcCompoundPlaneAngleMeasure(e[9].map(t=>t.value)),(e[10]??void 0)===void 0||e[10]===""?null:new a.IfcCompoundPlaneAngleMeasure(e[10].map(t=>t.value)),(e[11]??void 0)===void 0||e[11]===""?null:new a.IfcLengthMeasure((e[11]??void 0)===void 0||e[11]===""?null:e[11].value),(e[12]??void 0)===void 0||e[12]===""?null:new a.IfcLabel((e[12]??void 0)===void 0||e[12]===""?null:e[12].value),(e[13]??void 0)===void 0||e[13]===""?null:new u((e[13]??void 0)===void 0||e[13]===""?null:e[13].value,3,e[13])),2533589738:e=>new a.IfcSlabType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1072016465:e=>new a.IfcSolarDeviceType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),3856911033:e=>new a.IfcSpace(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8],e[9],(e[10]??void 0)===void 0||e[10]===""?null:new a.IfcLengthMeasure((e[10]??void 0)===void 0||e[10]===""?null:e[10].value)),1305183839:e=>new a.IfcSpaceHeaterType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),3812236995:e=>new a.IfcSpaceType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9],(e[10]??void 0)===void 0||e[10]===""?null:new a.IfcLabel((e[10]??void 0)===void 0||e[10]===""?null:e[10].value)),3112655638:e=>new a.IfcStackTerminalType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1039846685:e=>new a.IfcStairFlightType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),338393293:e=>new a.IfcStairType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),682877961:e=>new a.IfcStructuralAction(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,3,e[7]),e[8],(e[9]??void 0)===void 0||e[9]===""?null:new a.IfcBoolean((e[9]??void 0)===void 0||e[9]===""?null:e[9].value)),1179482911:e=>new a.IfcStructuralConnection(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,3,e[7])),1004757350:e=>new a.IfcStructuralCurveAction(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,3,e[7]),e[8],(e[9]??void 0)===void 0||e[9]===""?null:new a.IfcBoolean((e[9]??void 0)===void 0||e[9]===""?null:e[9].value),e[10],e[11]),4243806635:e=>new a.IfcStructuralCurveConnection(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,3,e[7]),new u((e[8]??void 0)===void 0||e[8]===""?null:e[8].value,3,e[8])),214636428:e=>new a.IfcStructuralCurveMember(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),e[7],new u((e[8]??void 0)===void 0||e[8]===""?null:e[8].value,3,e[8])),2445595289:e=>new a.IfcStructuralCurveMemberVarying(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),e[7],new u((e[8]??void 0)===void 0||e[8]===""?null:e[8].value,3,e[8])),2757150158:e=>new a.IfcStructuralCurveReaction(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,3,e[7]),e[8],e[9]),1807405624:e=>new a.IfcStructuralLinearAction(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,3,e[7]),e[8],(e[9]??void 0)===void 0||e[9]===""?null:new a.IfcBoolean((e[9]??void 0)===void 0||e[9]===""?null:e[9].value),e[10],e[11]),1252848954:e=>new a.IfcStructuralLoadGroup(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),e[5],e[6],e[7],(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcRatioMeasure((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new a.IfcLabel((e[9]??void 0)===void 0||e[9]===""?null:e[9].value)),2082059205:e=>new a.IfcStructuralPointAction(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,3,e[7]),e[8],(e[9]??void 0)===void 0||e[9]===""?null:new a.IfcBoolean((e[9]??void 0)===void 0||e[9]===""?null:e[9].value)),734778138:e=>new a.IfcStructuralPointConnection(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,3,e[7]),(e[8]??void 0)===void 0||e[8]===""?null:new u((e[8]??void 0)===void 0||e[8]===""?null:e[8].value,3,e[8])),1235345126:e=>new a.IfcStructuralPointReaction(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,3,e[7]),e[8]),2986769608:e=>new a.IfcStructuralResultGroup(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),e[5],(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),new a.IfcBoolean((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),3657597509:e=>new a.IfcStructuralSurfaceAction(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,3,e[7]),e[8],(e[9]??void 0)===void 0||e[9]===""?null:new a.IfcBoolean((e[9]??void 0)===void 0||e[9]===""?null:e[9].value),e[10],e[11]),1975003073:e=>new a.IfcStructuralSurfaceConnection(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,3,e[7])),148013059:e=>new a.IfcSubContractResource(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcIdentifier((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new a.IfcText((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,3,e[7]),(e[8]??void 0)===void 0||e[8]===""?null:e[8]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[9]??void 0)===void 0||e[9]===""?null:new u((e[9]??void 0)===void 0||e[9]===""?null:e[9].value,3,e[9]),e[10]),3101698114:e=>new a.IfcSurfaceFeature(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),2315554128:e=>new a.IfcSwitchingDeviceType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),2254336722:e=>new a.IfcSystem(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),413509423:e=>new a.IfcSystemFurnitureElement(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),5716631:e=>new a.IfcTankType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),3824725483:e=>new a.IfcTendon(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9],(e[10]??void 0)===void 0||e[10]===""?null:new a.IfcPositiveLengthMeasure((e[10]??void 0)===void 0||e[10]===""?null:e[10].value),(e[11]??void 0)===void 0||e[11]===""?null:new a.IfcAreaMeasure((e[11]??void 0)===void 0||e[11]===""?null:e[11].value),(e[12]??void 0)===void 0||e[12]===""?null:new a.IfcForceMeasure((e[12]??void 0)===void 0||e[12]===""?null:e[12].value),(e[13]??void 0)===void 0||e[13]===""?null:new a.IfcPressureMeasure((e[13]??void 0)===void 0||e[13]===""?null:e[13].value),(e[14]??void 0)===void 0||e[14]===""?null:new a.IfcNormalisedRatioMeasure((e[14]??void 0)===void 0||e[14]===""?null:e[14].value),(e[15]??void 0)===void 0||e[15]===""?null:new a.IfcPositiveLengthMeasure((e[15]??void 0)===void 0||e[15]===""?null:e[15].value),(e[16]??void 0)===void 0||e[16]===""?null:new a.IfcPositiveLengthMeasure((e[16]??void 0)===void 0||e[16]===""?null:e[16].value)),2347447852:e=>new a.IfcTendonAnchor(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),3081323446:e=>new a.IfcTendonAnchorType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),3663046924:e=>new a.IfcTendonConduit(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),2281632017:e=>new a.IfcTendonConduitType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),2415094496:e=>new a.IfcTendonType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9],(e[10]??void 0)===void 0||e[10]===""?null:new a.IfcPositiveLengthMeasure((e[10]??void 0)===void 0||e[10]===""?null:e[10].value),(e[11]??void 0)===void 0||e[11]===""?null:new a.IfcAreaMeasure((e[11]??void 0)===void 0||e[11]===""?null:e[11].value),(e[12]??void 0)===void 0||e[12]===""?null:new a.IfcPositiveLengthMeasure((e[12]??void 0)===void 0||e[12]===""?null:e[12].value)),618700268:e=>new a.IfcTrackElementType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1692211062:e=>new a.IfcTransformerType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),2097647324:e=>new a.IfcTransportElementType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1953115116:e=>new a.IfcTransportationDevice(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),3593883385:e=>new a.IfcTrimmedCurve(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],e[2]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],new a.IfcBoolean((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),e[4]),1600972822:e=>new a.IfcTubeBundleType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1911125066:e=>new a.IfcUnitaryEquipmentType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),728799441:e=>new a.IfcValveType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),840318589:e=>new a.IfcVehicle(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),1530820697:e=>new a.IfcVibrationDamper(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),3956297820:e=>new a.IfcVibrationDamperType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),2391383451:e=>new a.IfcVibrationIsolator(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),3313531582:e=>new a.IfcVibrationIsolatorType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),2769231204:e=>new a.IfcVirtualElement(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),926996030:e=>new a.IfcVoidingFeature(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),1898987631:e=>new a.IfcWallType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1133259667:e=>new a.IfcWasteTerminalType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),4009809668:e=>new a.IfcWindowType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9],e[10],(e[11]??void 0)===void 0||e[11]===""?null:new a.IfcBoolean((e[11]??void 0)===void 0||e[11]===""?null:e[11].value),(e[12]??void 0)===void 0||e[12]===""?null:new a.IfcLabel((e[12]??void 0)===void 0||e[12]===""?null:e[12].value)),4088093105:e=>new a.IfcWorkCalendar(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcIdentifier((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:e[7]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],e[8]),1028945134:e=>new a.IfcWorkControl(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcIdentifier((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),new a.IfcDateTime((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:e[7]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new a.IfcDuration((e[9]??void 0)===void 0||e[9]===""?null:e[9].value),(e[10]??void 0)===void 0||e[10]===""?null:new a.IfcDuration((e[10]??void 0)===void 0||e[10]===""?null:e[10].value),new a.IfcDateTime((e[11]??void 0)===void 0||e[11]===""?null:e[11].value),(e[12]??void 0)===void 0||e[12]===""?null:new a.IfcDateTime((e[12]??void 0)===void 0||e[12]===""?null:e[12].value)),4218914973:e=>new a.IfcWorkPlan(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcIdentifier((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),new a.IfcDateTime((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:e[7]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new a.IfcDuration((e[9]??void 0)===void 0||e[9]===""?null:e[9].value),(e[10]??void 0)===void 0||e[10]===""?null:new a.IfcDuration((e[10]??void 0)===void 0||e[10]===""?null:e[10].value),new a.IfcDateTime((e[11]??void 0)===void 0||e[11]===""?null:e[11].value),(e[12]??void 0)===void 0||e[12]===""?null:new a.IfcDateTime((e[12]??void 0)===void 0||e[12]===""?null:e[12].value),e[13]),3342526732:e=>new a.IfcWorkSchedule(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcIdentifier((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),new a.IfcDateTime((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:e[7]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new a.IfcDuration((e[9]??void 0)===void 0||e[9]===""?null:e[9].value),(e[10]??void 0)===void 0||e[10]===""?null:new a.IfcDuration((e[10]??void 0)===void 0||e[10]===""?null:e[10].value),new a.IfcDateTime((e[11]??void 0)===void 0||e[11]===""?null:e[11].value),(e[12]??void 0)===void 0||e[12]===""?null:new a.IfcDateTime((e[12]??void 0)===void 0||e[12]===""?null:e[12].value),e[13]),1033361043:e=>new a.IfcZone(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcLabel((e[5]??void 0)===void 0||e[5]===""?null:e[5].value)),3821786052:e=>new a.IfcActionRequest(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcIdentifier((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),e[6],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcText((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),1411407467:e=>new a.IfcAirTerminalBoxType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),3352864051:e=>new a.IfcAirTerminalType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1871374353:e=>new a.IfcAirToAirHeatRecoveryType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),4266260250:e=>new a.IfcAlignmentCant(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),new a.IfcPositiveLengthMeasure((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),1545765605:e=>new a.IfcAlignmentHorizontal(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6])),317615605:e=>new a.IfcAlignmentSegment(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,3,e[7])),1662888072:e=>new a.IfcAlignmentVertical(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6])),3460190687:e=>new a.IfcAsset(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcIdentifier((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,3,e[7]),(e[8]??void 0)===void 0||e[8]===""?null:new u((e[8]??void 0)===void 0||e[8]===""?null:e[8].value,3,e[8]),(e[9]??void 0)===void 0||e[9]===""?null:new u((e[9]??void 0)===void 0||e[9]===""?null:e[9].value,3,e[9]),(e[10]??void 0)===void 0||e[10]===""?null:new u((e[10]??void 0)===void 0||e[10]===""?null:e[10].value,3,e[10]),(e[11]??void 0)===void 0||e[11]===""?null:new u((e[11]??void 0)===void 0||e[11]===""?null:e[11].value,3,e[11]),(e[12]??void 0)===void 0||e[12]===""?null:new a.IfcDate((e[12]??void 0)===void 0||e[12]===""?null:e[12].value),(e[13]??void 0)===void 0||e[13]===""?null:new u((e[13]??void 0)===void 0||e[13]===""?null:e[13].value,3,e[13])),1532957894:e=>new a.IfcAudioVisualApplianceType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1967976161:e=>new a.IfcBSplineCurve(new a.IfcInteger((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],e[2],new a.IfcLogical((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new a.IfcLogical((e[4]??void 0)===void 0||e[4]===""?null:e[4].value)),2461110595:e=>new a.IfcBSplineCurveWithKnots(new a.IfcInteger((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],e[2],new a.IfcLogical((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new a.IfcLogical((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new a.IfcInteger(t.value):null)||[],e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new a.IfcParameterValue(t.value):null)||[],e[7]),819618141:e=>new a.IfcBeamType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),3649138523:e=>new a.IfcBearingType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),231477066:e=>new a.IfcBoilerType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1136057603:e=>new a.IfcBoundaryCurve(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],new a.IfcLogical((e[1]??void 0)===void 0||e[1]===""?null:e[1].value)),644574406:e=>new a.IfcBridge(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8],e[9]),963979645:e=>new a.IfcBridgePart(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8],e[9],e[10]),4031249490:e=>new a.IfcBuilding(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8],(e[9]??void 0)===void 0||e[9]===""?null:new a.IfcLengthMeasure((e[9]??void 0)===void 0||e[9]===""?null:e[9].value),(e[10]??void 0)===void 0||e[10]===""?null:new a.IfcLengthMeasure((e[10]??void 0)===void 0||e[10]===""?null:e[10].value),(e[11]??void 0)===void 0||e[11]===""?null:new u((e[11]??void 0)===void 0||e[11]===""?null:e[11].value,3,e[11])),2979338954:e=>new a.IfcBuildingElementPart(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),39481116:e=>new a.IfcBuildingElementPartType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1909888760:e=>new a.IfcBuildingElementProxyType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1177604601:e=>new a.IfcBuildingSystem(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),e[5],(e[6]??void 0)===void 0||e[6]===""?null:new a.IfcLabel((e[6]??void 0)===void 0||e[6]===""?null:e[6].value)),1876633798:e=>new a.IfcBuiltElement(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),3862327254:e=>new a.IfcBuiltSystem(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),e[5],(e[6]??void 0)===void 0||e[6]===""?null:new a.IfcLabel((e[6]??void 0)===void 0||e[6]===""?null:e[6].value)),2188180465:e=>new a.IfcBurnerType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),395041908:e=>new a.IfcCableCarrierFittingType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),3293546465:e=>new a.IfcCableCarrierSegmentType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),2674252688:e=>new a.IfcCableFittingType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1285652485:e=>new a.IfcCableSegmentType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),3203706013:e=>new a.IfcCaissonFoundationType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),2951183804:e=>new a.IfcChillerType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),3296154744:e=>new a.IfcChimney(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),2611217952:e=>new a.IfcCircle(new u((e[0]??void 0)===void 0||e[0]===""?null:e[0].value,3,e[0]),new a.IfcPositiveLengthMeasure((e[1]??void 0)===void 0||e[1]===""?null:e[1].value)),1677625105:e=>new a.IfcCivilElement(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),2301859152:e=>new a.IfcCoilType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),843113511:e=>new a.IfcColumn(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),400855858:e=>new a.IfcCommunicationsApplianceType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),3850581409:e=>new a.IfcCompressorType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),2816379211:e=>new a.IfcCondenserType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),3898045240:e=>new a.IfcConstructionEquipmentResource(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcIdentifier((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new a.IfcText((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,3,e[7]),(e[8]??void 0)===void 0||e[8]===""?null:e[8]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[9]??void 0)===void 0||e[9]===""?null:new u((e[9]??void 0)===void 0||e[9]===""?null:e[9].value,3,e[9]),e[10]),1060000209:e=>new a.IfcConstructionMaterialResource(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcIdentifier((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new a.IfcText((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,3,e[7]),(e[8]??void 0)===void 0||e[8]===""?null:e[8]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[9]??void 0)===void 0||e[9]===""?null:new u((e[9]??void 0)===void 0||e[9]===""?null:e[9].value,3,e[9]),e[10]),488727124:e=>new a.IfcConstructionProductResource(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcIdentifier((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),(e[6]??void 0)===void 0||e[6]===""?null:new a.IfcText((e[6]??void 0)===void 0||e[6]===""?null:e[6].value),(e[7]??void 0)===void 0||e[7]===""?null:new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,3,e[7]),(e[8]??void 0)===void 0||e[8]===""?null:e[8]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[9]??void 0)===void 0||e[9]===""?null:new u((e[9]??void 0)===void 0||e[9]===""?null:e[9].value,3,e[9]),e[10]),2940368186:e=>new a.IfcConveyorSegmentType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),335055490:e=>new a.IfcCooledBeamType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),2954562838:e=>new a.IfcCoolingTowerType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1502416096:e=>new a.IfcCourse(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),1973544240:e=>new a.IfcCovering(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),3495092785:e=>new a.IfcCurtainWall(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),3961806047:e=>new a.IfcDamperType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),3426335179:e=>new a.IfcDeepFoundation(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),1335981549:e=>new a.IfcDiscreteAccessory(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),2635815018:e=>new a.IfcDiscreteAccessoryType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),479945903:e=>new a.IfcDistributionBoardType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1599208980:e=>new a.IfcDistributionChamberElementType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),2063403501:e=>new a.IfcDistributionControlElementType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value)),1945004755:e=>new a.IfcDistributionElement(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),3040386961:e=>new a.IfcDistributionFlowElement(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),3041715199:e=>new a.IfcDistributionPort(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),e[7],e[8],e[9]),3205830791:e=>new a.IfcDistributionSystem(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcLabel((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),e[6]),395920057:e=>new a.IfcDoor(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcPositiveLengthMeasure((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new a.IfcPositiveLengthMeasure((e[9]??void 0)===void 0||e[9]===""?null:e[9].value),e[10],e[11],(e[12]??void 0)===void 0||e[12]===""?null:new a.IfcLabel((e[12]??void 0)===void 0||e[12]===""?null:e[12].value)),869906466:e=>new a.IfcDuctFittingType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),3760055223:e=>new a.IfcDuctSegmentType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),2030761528:e=>new a.IfcDuctSilencerType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),3071239417:e=>new a.IfcEarthworksCut(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),1077100507:e=>new a.IfcEarthworksElement(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),3376911765:e=>new a.IfcEarthworksFill(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),663422040:e=>new a.IfcElectricApplianceType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),2417008758:e=>new a.IfcElectricDistributionBoardType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),3277789161:e=>new a.IfcElectricFlowStorageDeviceType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),2142170206:e=>new a.IfcElectricFlowTreatmentDeviceType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1534661035:e=>new a.IfcElectricGeneratorType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1217240411:e=>new a.IfcElectricMotorType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),712377611:e=>new a.IfcElectricTimeControlType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1658829314:e=>new a.IfcEnergyConversionDevice(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),2814081492:e=>new a.IfcEngine(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),3747195512:e=>new a.IfcEvaporativeCooler(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),484807127:e=>new a.IfcEvaporator(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),1209101575:e=>new a.IfcExternalSpatialElement(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),346874300:e=>new a.IfcFanType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1810631287:e=>new a.IfcFilterType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),4222183408:e=>new a.IfcFireSuppressionTerminalType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),2058353004:e=>new a.IfcFlowController(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),4278956645:e=>new a.IfcFlowFitting(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),4037862832:e=>new a.IfcFlowInstrumentType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),2188021234:e=>new a.IfcFlowMeter(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),3132237377:e=>new a.IfcFlowMovingDevice(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),987401354:e=>new a.IfcFlowSegment(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),707683696:e=>new a.IfcFlowStorageDevice(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),2223149337:e=>new a.IfcFlowTerminal(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),3508470533:e=>new a.IfcFlowTreatmentDevice(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),900683007:e=>new a.IfcFooting(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),2713699986:e=>new a.IfcGeotechnicalAssembly(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),3009204131:e=>new a.IfcGrid(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),e[7]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],e[8]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[9]??void 0)===void 0||e[9]===""?null:e[9]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],e[10]),3319311131:e=>new a.IfcHeatExchanger(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),2068733104:e=>new a.IfcHumidifier(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),4175244083:e=>new a.IfcInterceptor(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),2176052936:e=>new a.IfcJunctionBox(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),2696325953:e=>new a.IfcKerb(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),76236018:e=>new a.IfcLamp(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),629592764:e=>new a.IfcLightFixture(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),1154579445:e=>new a.IfcLinearPositioningElement(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6])),1638804497:e=>new a.IfcLiquidTerminal(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),1437502449:e=>new a.IfcMedicalDevice(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),1073191201:e=>new a.IfcMember(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),2078563270:e=>new a.IfcMobileTelecommunicationsAppliance(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),234836483:e=>new a.IfcMooringDevice(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),2474470126:e=>new a.IfcMotorConnection(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),2182337498:e=>new a.IfcNavigationElement(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),144952367:e=>new a.IfcOuterBoundaryCurve(e[0]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],new a.IfcLogical((e[1]??void 0)===void 0||e[1]===""?null:e[1].value)),3694346114:e=>new a.IfcOutlet(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),1383356374:e=>new a.IfcPavement(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),1687234759:e=>new a.IfcPile(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8],e[9]),310824031:e=>new a.IfcPipeFitting(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),3612865200:e=>new a.IfcPipeSegment(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),3171933400:e=>new a.IfcPlate(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),738039164:e=>new a.IfcProtectiveDevice(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),655969474:e=>new a.IfcProtectiveDeviceTrippingUnitType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),90941305:e=>new a.IfcPump(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),3290496277:e=>new a.IfcRail(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),2262370178:e=>new a.IfcRailing(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),3024970846:e=>new a.IfcRamp(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),3283111854:e=>new a.IfcRampFlight(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),1232101972:e=>new a.IfcRationalBSplineCurveWithKnots(new a.IfcInteger((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),e[1]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],e[2],new a.IfcLogical((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),new a.IfcLogical((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new a.IfcInteger(t.value):null)||[],e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new a.IfcParameterValue(t.value):null)||[],e[7],e[8]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new a.IfcReal(t.value):null)||[]),3798194928:e=>new a.IfcReinforcedSoil(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),979691226:e=>new a.IfcReinforcingBar(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new a.IfcPositiveLengthMeasure((e[9]??void 0)===void 0||e[9]===""?null:e[9].value),(e[10]??void 0)===void 0||e[10]===""?null:new a.IfcAreaMeasure((e[10]??void 0)===void 0||e[10]===""?null:e[10].value),(e[11]??void 0)===void 0||e[11]===""?null:new a.IfcPositiveLengthMeasure((e[11]??void 0)===void 0||e[11]===""?null:e[11].value),e[12],e[13]),2572171363:e=>new a.IfcReinforcingBarType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9],(e[10]??void 0)===void 0||e[10]===""?null:new a.IfcPositiveLengthMeasure((e[10]??void 0)===void 0||e[10]===""?null:e[10].value),(e[11]??void 0)===void 0||e[11]===""?null:new a.IfcAreaMeasure((e[11]??void 0)===void 0||e[11]===""?null:e[11].value),(e[12]??void 0)===void 0||e[12]===""?null:new a.IfcPositiveLengthMeasure((e[12]??void 0)===void 0||e[12]===""?null:e[12].value),e[13],(e[14]??void 0)===void 0||e[14]===""?null:new a.IfcLabel((e[14]??void 0)===void 0||e[14]===""?null:e[14].value),(e[15]??void 0)===void 0||e[15]===""?null:e[15]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?Si(3,t):null)||[]),2016517767:e=>new a.IfcRoof(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),3053780830:e=>new a.IfcSanitaryTerminal(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),1783015770:e=>new a.IfcSensorType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1329646415:e=>new a.IfcShadingDevice(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),991950508:e=>new a.IfcSignal(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),1529196076:e=>new a.IfcSlab(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),3420628829:e=>new a.IfcSolarDevice(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),1999602285:e=>new a.IfcSpaceHeater(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),1404847402:e=>new a.IfcStackTerminal(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),331165859:e=>new a.IfcStair(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),4252922144:e=>new a.IfcStairFlight(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcInteger((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new a.IfcInteger((e[9]??void 0)===void 0||e[9]===""?null:e[9].value),(e[10]??void 0)===void 0||e[10]===""?null:new a.IfcPositiveLengthMeasure((e[10]??void 0)===void 0||e[10]===""?null:e[10].value),(e[11]??void 0)===void 0||e[11]===""?null:new a.IfcPositiveLengthMeasure((e[11]??void 0)===void 0||e[11]===""?null:e[11].value),e[12]),2515109513:e=>new a.IfcStructuralAnalysisModel(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),e[5],(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:e[7]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[8]??void 0)===void 0||e[8]===""?null:e[8]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[9]??void 0)===void 0||e[9]===""?null:new u((e[9]??void 0)===void 0||e[9]===""?null:e[9].value,3,e[9])),385403989:e=>new a.IfcStructuralLoadCase(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),e[5],e[6],e[7],(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcRatioMeasure((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new a.IfcLabel((e[9]??void 0)===void 0||e[9]===""?null:e[9].value),(e[10]??void 0)===void 0||e[10]===""?null:e[10]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new a.IfcRatioMeasure(t.value):null)||[]),1621171031:e=>new a.IfcStructuralPlanarAction(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),new u((e[7]??void 0)===void 0||e[7]===""?null:e[7].value,3,e[7]),e[8],(e[9]??void 0)===void 0||e[9]===""?null:new a.IfcBoolean((e[9]??void 0)===void 0||e[9]===""?null:e[9].value),e[10],e[11]),1162798199:e=>new a.IfcSwitchingDevice(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),812556717:e=>new a.IfcTank(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),3425753595:e=>new a.IfcTrackElement(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),3825984169:e=>new a.IfcTransformer(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),1620046519:e=>new a.IfcTransportElement(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),3026737570:e=>new a.IfcTubeBundle(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),3179687236:e=>new a.IfcUnitaryControlElementType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),4292641817:e=>new a.IfcUnitaryEquipment(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),4207607924:e=>new a.IfcValve(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),2391406946:e=>new a.IfcWall(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),3512223829:e=>new a.IfcWallStandardCase(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),4237592921:e=>new a.IfcWasteTerminal(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),3304561284:e=>new a.IfcWindow(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcPositiveLengthMeasure((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),(e[9]??void 0)===void 0||e[9]===""?null:new a.IfcPositiveLengthMeasure((e[9]??void 0)===void 0||e[9]===""?null:e[9].value),e[10],e[11],(e[12]??void 0)===void 0||e[12]===""?null:new a.IfcLabel((e[12]??void 0)===void 0||e[12]===""?null:e[12].value)),2874132201:e=>new a.IfcActuatorType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),1634111441:e=>new a.IfcAirTerminal(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),177149247:e=>new a.IfcAirTerminalBox(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),2056796094:e=>new a.IfcAirToAirHeatRecovery(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),3001207471:e=>new a.IfcAlarmType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),325726236:e=>new a.IfcAlignment(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),e[7]),277319702:e=>new a.IfcAudioVisualAppliance(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),753842376:e=>new a.IfcBeam(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),4196446775:e=>new a.IfcBearing(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),32344328:e=>new a.IfcBoiler(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),3314249567:e=>new a.IfcBorehole(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),1095909175:e=>new a.IfcBuildingElementProxy(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),2938176219:e=>new a.IfcBurner(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),635142910:e=>new a.IfcCableCarrierFitting(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),3758799889:e=>new a.IfcCableCarrierSegment(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),1051757585:e=>new a.IfcCableFitting(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),4217484030:e=>new a.IfcCableSegment(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),3999819293:e=>new a.IfcCaissonFoundation(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),3902619387:e=>new a.IfcChiller(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),639361253:e=>new a.IfcCoil(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),3221913625:e=>new a.IfcCommunicationsAppliance(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),3571504051:e=>new a.IfcCompressor(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),2272882330:e=>new a.IfcCondenser(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),578613899:e=>new a.IfcControllerType(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcIdentifier((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:e[5]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[6]??void 0)===void 0||e[6]===""?null:e[6]?.map(t=>(t?.value??void 0)!==void 0&&t?.value!==""?new u(t.value,3,t):null)||[],(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcLabel((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),(e[8]??void 0)===void 0||e[8]===""?null:new a.IfcLabel((e[8]??void 0)===void 0||e[8]===""?null:e[8].value),e[9]),3460952963:e=>new a.IfcConveyorSegment(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),4136498852:e=>new a.IfcCooledBeam(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),3640358203:e=>new a.IfcCoolingTower(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),4074379575:e=>new a.IfcDamper(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),3693000487:e=>new a.IfcDistributionBoard(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),1052013943:e=>new a.IfcDistributionChamberElement(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),562808652:e=>new a.IfcDistributionCircuit(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new a.IfcLabel((e[5]??void 0)===void 0||e[5]===""?null:e[5].value),e[6]),1062813311:e=>new a.IfcDistributionControlElement(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),342316401:e=>new a.IfcDuctFitting(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),3518393246:e=>new a.IfcDuctSegment(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),1360408905:e=>new a.IfcDuctSilencer(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),1904799276:e=>new a.IfcElectricAppliance(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),862014818:e=>new a.IfcElectricDistributionBoard(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),3310460725:e=>new a.IfcElectricFlowStorageDevice(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),24726584:e=>new a.IfcElectricFlowTreatmentDevice(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),264262732:e=>new a.IfcElectricGenerator(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),402227799:e=>new a.IfcElectricMotor(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),1003880860:e=>new a.IfcElectricTimeControl(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),3415622556:e=>new a.IfcFan(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),819412036:e=>new a.IfcFilter(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),1426591983:e=>new a.IfcFireSuppressionTerminal(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),182646315:e=>new a.IfcFlowInstrument(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),2680139844:e=>new a.IfcGeomodel(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),1971632696:e=>new a.IfcGeoslice(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value)),2295281155:e=>new a.IfcProtectiveDeviceTrippingUnit(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),4086658281:e=>new a.IfcSensor(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),630975310:e=>new a.IfcUnitaryControlElement(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),4288193352:e=>new a.IfcActuator(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),3087945054:e=>new a.IfcAlarm(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8]),25142252:e=>new a.IfcController(new a.IfcGloballyUniqueId((e[0]??void 0)===void 0||e[0]===""?null:e[0].value),(e[1]??void 0)===void 0||e[1]===""?null:new u((e[1]??void 0)===void 0||e[1]===""?null:e[1].value,3,e[1]),(e[2]??void 0)===void 0||e[2]===""?null:new a.IfcLabel((e[2]??void 0)===void 0||e[2]===""?null:e[2].value),(e[3]??void 0)===void 0||e[3]===""?null:new a.IfcText((e[3]??void 0)===void 0||e[3]===""?null:e[3].value),(e[4]??void 0)===void 0||e[4]===""?null:new a.IfcLabel((e[4]??void 0)===void 0||e[4]===""?null:e[4].value),(e[5]??void 0)===void 0||e[5]===""?null:new u((e[5]??void 0)===void 0||e[5]===""?null:e[5].value,3,e[5]),(e[6]??void 0)===void 0||e[6]===""?null:new u((e[6]??void 0)===void 0||e[6]===""?null:e[6].value,3,e[6]),(e[7]??void 0)===void 0||e[7]===""?null:new a.IfcIdentifier((e[7]??void 0)===void 0||e[7]===""?null:e[7].value),e[8])};RN[3]={618182010:[rq,uq],2879124712:[hpe,fpe,ype],411424972:[Eq],4037036970:[V6,Tq,gq,wq],1387855156:[V6],2859738748:[Z7,dV,j6,dS,n8],2614616156:[dS],1959218052:[dq,hq],1785450214:[Ipe,Jte,z7],1466758467:[uV,mpe],4294318154:[yq,Vie,fq],3200245327:[j7,_N,i8,pq,Iq,mq],3057273783:[Jte],760658860:[z6,lV,yV,V5,tV,cV,a2,iV,mV],248100487:[iV],2235152071:[tV],1507914824:[QG,rV,IV],1918398963:[JG,eq,tq,t8],3701648758:[S1,zj,Qj],2483315170:[Po,mS,yS,ES,jG,TS,gS,wS,cq],2226359599:[mS,yS,ES,jG,TS,gS,wS],677532197:[b3,M7,D5,B7,H5,k7,Pie,wy,EV,TV,gV,NN,wV,aV,wie,bie,x7,_5,YI,tE,H7,A3,Nie,_ie,F7,bN,U7,Die,w1,tS,hV,fV,pV],2022622350:[aq],3119450353:[Y7,$7,oq,X7],2095639259:[W7,W6],3958567839:[z5,W5,w6,Cy,K5,J5,Ow,A6,eS,N6,D6,Ly,Zw,sS,$j,dpe,KG,q7,K7,hS,Q7,fS,J7],986844984:[Ao,P5,N3,M5,B5,F5,U5,V7,xie,nV,sV,oV,mie,ts,Pr,Eie,Cie],1076942058:[pS,e8,H6,IS,lq],3377609919:[zf,Y6],3008791417:[u2,Y5,j5,q5,$5,zp,jp,Cw,Mm,XT,Zm,Wp,Hf,m3,p7,m7,Ep,Sp,jm,Iu,xy,o5,r5,c6,EG,TG,gG,RG,SG,AG,pj,yj,S5,NG,R3,S3,Ej,My,Z5,xw,Pw,Mw,Bw,Uw,v6,Jp,Gy,Xp,Vy,Q5,b5,N5,E6,R6,R1,X5,S6,b6,Yw,_6,Gp,T7,u5,R5,g3,A5,$G,Ij,y3,c5,h5,Zp,Vw,km,r3,a5,E1,w3,Qp,Wy,f1,p1,$y,iS,bG,mj,Uh,Yp,qm,E3,Py,Uy,T5,jw,c3,y1,$m,Kp,WI,XC,bw,_G,qw,C6,nS,Tj,wN,kw,Kte,x6,ky,Kw,Qw,wj,L6,Gw,P6,gj,Yy,jy,qy,M6,g1,Xw,e2,t2,i2,F6,zy,Zy,rS,By,lS,Jj,oS,Fy,zw,Ky,B6,Xy,aS,v3,Jy,uS,$w,Jw,eE,cS,Hy,Qy,l2,n2,U6,sq,et],2439245199:[Ir,_a,$n,vS,T6,ai,RS,Hie,SS],2341007311:[pe,So,Fe,ce,Ei,M,li,rt,lt,B,je,me,Fh,kp,at,Gn,$s,Ye,zt,_e,ti,ut,j0,ct,tt,qp,ks,vn,ua,Bt,dt,$p,ve,k5,C7,Os,Gf,Vf,Oy,kf,qI,ie,ns,Te,bo,T3,Is,is,q0,re,Yj,Vp,I5,d6,v1,ZG,Jo,vy,Ry,Sy,Ay,by,Dy,f6,jI,m6,O6,qj,Km,aa,Pm,QT,a7,JT,Fp,Xm,W0,KT,e1,l1,_w,Qm,Af,bf,Jm,s5,t1,s1,o1,u1,c1,Dw,r1,Lw,vf,Rf,Sf,Nf,Df,Pf,d1,Fw,FC,l7,Rr,I7,wG,wf,n1,u7,c7,d7,h7,vG,_h,Dh,Ch,xh,Oh,Lh,Ph,Ou,Ql,Jc,NR,rd,$d,Xl,Qc,od,pd,Rd,bd,Nd,Pd,Md,CR,Fd,kd,xR,Wd,OR,Yd,jd,ea,nd,Od,ta,ld,DR,yd,Td,Gd,ia,Xc,fd,Ud,na,ad,Ed,gd,Vd,qd,sa,ed,sd,_R,ud,Ad,_d,Ld,Hd,Qd,oa,td,id,cd,dd,hd,Id,md,wd,vd,Sd,Dd,Cd,xd,Bd,zd,Zd,Kd,Jd,Xd,e0,ra,qu,H0,Wm,Xu,BC,Lu,Pu,Jl,Mu,WR,Bu,Fu,Uu,vp,Hu,Gu,Vu,ku,YR,zu,jR,UC,HC,Wu,GC,Yu,rN,$T,kC,ju,sN,Ka,zC,Zu,Ku,qR,Qu,Rp,gN,G0,n0,jC,f7,iN,nN,oN,VC,KC,y7,Ym,Np,Lp,k0,_p,ZT,Mh,tu,d0,la,h0,Cf,$u,Xa,bp,YC,KR,vr,cN,Mr,Br,Fr,xc,iu,ZC,uc,Of,z0,a1,Y0,s0,r0,u0,_f,eu,a0,hu,m0,Bf,I1,Cu,Um,l0,xu,Gm,V0,o0,Hm,zm,Mf,m1,Bm,e3,u3,nc,fu,Iw,dN,hN,pN,mN,QC,du,aN,mw,fN,IN,JC,pu,Up,p5,Da,i1,l5,h1,Hw,g6,h6,eI,qG,i3,n3,s3,l3,d3,f3,E5,p6,a3,c0,Ff,f5,i0,Fm,Cc,WC,qC,mp,Tp,uN,gp,wp,Vm,Oc,$C,f0,xf,t3,ja,qa,$a,Ip,Za,yp,Qa,t0,Ja,Hr,LR,jr,bh,nu,Ur,Yr,gh,Rh,ll,ul,ml,yl,BR,El,Rl,FR,Ah,UR,Al,bl,su,Wr,pl,ou,qr,MR,il,nl,wl,ru,Gr,Xr,Tl,lu,$r,wh,sl,vl,Nl,au,Vr,Th,PR,Zr,al,cl,Il,gl,Cl,uu,kr,zr,Kr,Qr,Jr,el,tl,vh,ol,rl,dl,hl,fl,Sh,Sl,_l,Dl,xl,Ol,Nh,cu,p0,Lf,o3,Ju,$R,ec,Ap,tc,ZR,Dp,ic,sc,Cp,xp,Op,oc,rc,QR,lc,JR,XR,e5,ac,t5,Pp,Mp,lN,zI,i5,cc,dc,n5,hc,Bp,E7,Bh,e6,g7,h3,I0,y0,Uf,T1,Ww,d5,m5,y5,I6,ws,Zj],1054537805:[Iie,yie,Tie,gie,XG,vie],3982875396:[H6,IS],2273995522:[Wj,Xj],2162789131:[eV,Ny,C5,_y,x5,O5,L5,G5,G7,Rie,Sie],609421318:[eV,Ny,C5,_y,x5,O5,L5,G5,G7],2525727697:[Ny,C5,_y,x5,O5,L5,G5],2830218821:[pS],846575682:[tS],626085974:[F7,bN,U7],1549132990:[XG],280115917:[x7,_5,YI,tE,H7],222769930:[ppe],3101149627:[jj,Kj],1377556343:[oS,Fy,zw,Ky,B6,Xy,aS,v3,Jy,uS,$w,Jw,eE,cS,Hy,Qy,l2,n2,U6],2799835756:[n2],3798115385:[fS],1310608509:[hS],3264961684:[NN],370225590:[Hy,Qy],2889183280:[JG],3632507154:[KG],3900360178:[$w,Jw,eE],297599258:[ts,Pr],2556980723:[v3,Jy],1809719519:[Xy],3008276851:[v3],3448662350:[zf],2453401579:[Y5,j5,q5,$5,zp,jp,Cw,Mm,XT,Zm,Wp,Hf,m3,p7,m7,Ep,Sp,jm,Iu,xy,o5,r5,c6,EG,TG,gG,RG,SG,AG,pj,yj,S5,NG,R3,S3,Ej,My,Z5,xw,Pw,Mw,Bw,Uw,v6,Jp,Gy,Xp,Vy,Q5,b5,N5,E6,R6,R1,X5,S6,b6,Yw,_6,Gp,T7,u5,R5,g3,A5,$G,Ij,y3,c5,h5,Zp,Vw,km,r3,a5,E1,w3,Qp,Wy,f1,p1,$y,iS,bG,mj,Uh,Yp,qm,E3,Py,Uy,T5,jw,c3,y1,$m,Kp,WI,XC,bw,_G,qw,C6,nS,Tj,wN,kw,Kte,x6,ky,Kw,Qw,wj,L6,Gw,P6,gj,Yy,jy,qy,M6,g1,Xw,e2,t2,i2,F6,zy,Zy,rS,By,lS],3590301190:[By],812098782:[zy,Zy],1437953363:[x7,_5],1402838566:[g1,Xw,e2,t2,i2],1520743889:[g1],1008929658:[Fy,zw,Ky],3079605661:[QG],219451334:[Km,aa,Pm,QT,a7,JT,Fp,Xm,W0,KT,e1,l1,_w,Qm,Af,bf,Jm,s5,t1,s1,o1,u1,c1,Dw,r1,Lw,vf,Rf,Sf,Nf,Df,Pf,d1,Fw,FC,l7,Rr,I7,wG,wf,n1,u7,c7,d7,h7,vG,_h,Dh,Ch,xh,Oh,Lh,Ph,Ou,Ql,Jc,NR,rd,$d,Xl,Qc,od,pd,Rd,bd,Nd,Pd,Md,CR,Fd,kd,xR,Wd,OR,Yd,jd,ea,nd,Od,ta,ld,DR,yd,Td,Gd,ia,Xc,fd,Ud,na,ad,Ed,gd,Vd,qd,sa,ed,sd,_R,ud,Ad,_d,Ld,Hd,Qd,oa,td,id,cd,dd,hd,Id,md,wd,vd,Sd,Dd,Cd,xd,Bd,zd,Zd,Kd,Jd,Xd,e0,ra,qu,H0,Wm,Xu,BC,Lu,Pu,Jl,Mu,WR,Bu,Fu,Uu,vp,Hu,Gu,Vu,ku,YR,zu,jR,UC,HC,Wu,GC,Yu,rN,$T,kC,ju,sN,Ka,zC,Zu,Ku,qR,Qu,Rp,gN,G0,n0,jC,f7,iN,nN,oN,VC,KC,y7,Ym,Np,Lp,k0,_p,ZT,Mh,tu,d0,la,h0,Cf,$u,Xa,bp,YC,KR,vr,cN,Mr,Br,Fr,xc,iu,ZC,uc,Of,z0,a1,Y0,s0,r0,u0,_f,eu,a0,hu,m0,Bf,I1,Cu,Um,l0,xu,Gm,V0,o0,Hm,zm,Mf,m1,Bm,e3,u3,nc,fu,Iw,dN,hN,pN,mN,QC,du,aN,mw,fN,IN,JC,pu,Up,p5,Da,i1,l5,h1,Hw,g6,h6,eI,qG,i3,n3,s3,l3,d3,f3,E5,p6,a3,c0,Ff,f5,i0,Fm,Cc,WC,qC,mp,Tp,uN,gp,wp,Vm,Oc,$C,f0,xf,t3,ja,qa,$a,Ip,Za,yp,Qa,t0,Ja,Hr,LR,jr,bh,nu,Ur,Yr,gh,Rh,ll,ul,ml,yl,BR,El,Rl,FR,Ah,UR,Al,bl,su,Wr,pl,ou,qr,MR,il,nl,wl,ru,Gr,Xr,Tl,lu,$r,wh,sl,vl,Nl,au,Vr,Th,PR,Zr,al,cl,Il,gl,Cl,uu,kr,zr,Kr,Qr,Jr,el,tl,vh,ol,rl,dl,hl,fl,Sh,Sl,_l,Dl,xl,Ol,Nh,cu,p0,Lf,o3,Ju,$R,ec,Ap,tc,ZR,Dp,ic,sc,Cp,xp,Op,oc,rc,QR,lc,JR,XR,e5,ac,t5,Pp,Mp,lN,zI,i5,cc,dc,n5,hc,Bp,E7,Bh,e6,g7,h3,I0,y0,Uf,T1,Ww,d5,m5,y5,I6,ws],2529465313:[z5,W5,w6,Cy,K5,J5,Ow,A6,eS,N6,D6,Ly,Zw,sS],2004835150:[gj,Yy,jy,qy],1663979128:[Gw],2067069095:[ky,Kw,Qw,wj],3727388367:[b3,M7,D5,B7,H5,k7],3778827333:[nV,sV,oV],1775413392:[H5],2598011224:[Ao,P5,N3,M5,B5,F5,U5,V7],1680319473:[Vp,I5,d6,v1,ZG,Jo,vy,Ry,Sy,Ay,by,Dy,f6,jI,m6,O6],3357820518:[Jo,vy,Ry,Sy,Ay,by,Dy,f6,jI,m6],1482703590:[Vp,I5,d6,v1],2090586900:[jI],3615266464:[Ly,Zw],478536968:[pe,So,Fe,ce,Ei,M,li,rt,lt,B,je,me,Fh,kp,at,Gn,$s,Ye,zt,_e,ti,ut,j0,ct,tt,qp,ks,vn,ua,Bt,dt,$p,ve,k5,C7,Os,Gf,Vf,Oy,kf,qI,ie,ns,Te,bo,T3,Is,is,q0,re],823603102:[Tj,wN,kw],3692461612:[P5,N3,M5,B5,F5,U5],723233188:[bG,mj,Uh,Yp,qm,E3,Py,Uy,T5,jw,c3,y1,$m,Kp,WI,XC,bw,_G,qw],2473145415:[_y],1597423693:[Ny],2513912981:[Ij,y3,c5,h5,Zp,Vw,km,r3,a5,E1,w3,Qp,Wy,f1,p1,$y],2247615214:[c3,y1,$m,Kp,WI,XC,bw,_G],1260650574:[T5],230924584:[f1,p1],901063453:[Gp,T7,u5,R5,g3,A5],4282788508:[Yw],1628702193:[i3,n3,s3,l3,d3,f3,E5,p6,a3,c0,Ff,f5,i0,Fm,Cc,WC,qC,mp,Tp,uN,gp,wp,Vm,Oc,$C,f0,xf,t3,ja,qa,$a,Ip,Za,yp,Qa,t0,Ja,Hr,LR,jr,bh,nu,Ur,Yr,gh,Rh,ll,ul,ml,yl,BR,El,Rl,FR,Ah,UR,Al,bl,su,Wr,pl,ou,qr,MR,il,nl,wl,ru,Gr,Xr,Tl,lu,$r,wh,sl,vl,Nl,au,Vr,Th,PR,Zr,al,cl,Il,gl,Cl,uu,kr,zr,Kr,Qr,Jr,el,tl,vh,ol,rl,dl,hl,fl,Sh,Sl,_l,Dl,xl,Ol,Nh,cu,p0,Lf,o3,Ju,$R,ec,Ap,tc,ZR,Dp,ic,sc,Cp,xp,Op,oc,rc,QR,lc,JR,XR,e5,ac,t5,Pp,Mp,lN,zI,i5,cc,dc,n5,hc,Bp,E7,Bh,e6,g7,h3,I0,y0,Uf,T1,Ww,d5,m5,y5,I6],3736923433:[d5,m5,y5],2347495698:[a3,c0,Ff,f5,i0,Fm,Cc,WC,qC,mp,Tp,uN,gp,wp,Vm,Oc,$C,f0,xf,t3,ja,qa,$a,Ip,Za,yp,Qa,t0,Ja,Hr,LR,jr,bh,nu,Ur,Yr,gh,Rh,ll,ul,ml,yl,BR,El,Rl,FR,Ah,UR,Al,bl,su,Wr,pl,ou,qr,MR,il,nl,wl,ru,Gr,Xr,Tl,lu,$r,wh,sl,vl,Nl,au,Vr,Th,PR,Zr,al,cl,Il,gl,Cl,uu,kr,zr,Kr,Qr,Jr,el,tl,vh,ol,rl,dl,hl,fl,Sh,Sl,_l,Dl,xl,Ol,Nh,cu,p0,Lf,o3,Ju,$R,ec,Ap,tc,ZR,Dp,ic,sc,Cp,xp,Op,oc,rc,QR,lc,JR,XR,e5,ac,t5,Pp,Mp,lN,zI,i5,cc,dc,n5,hc,Bp,E7,Bh,e6,g7,h3,I0,y0,Uf,T1],3698973494:[i3,n3,s3,l3,d3,f3,E5],2736907675:[R1],4182860854:[km,r3,a5,E1,w3,Qp],574549367:[b5,N5],59481748:[Jp,Gy,Xp,Vy],3749851601:[Xp],3331915920:[Jp],1383045692:[Cy],2485617015:[wN],2574617495:[i3,n3,s3,l3,d3,f3],3419103109:[h6,eI],2506170314:[xw,Pw,Mw,Bw,Uw],2601014836:[zp,jp,Cw,Mm,XT,Zm,Wp,Hf,m3,p7,m7,Ep,Sp,jm,Iu,xy,o5,r5,c6,EG,TG,gG,RG,SG,AG,pj,yj,S5,NG,R3,S3,Ej,My],593015953:[WI,XC,bw],339256511:[i0,Fm,Cc,WC,qC,mp,Tp,uN,gp,wp,Vm,Oc,$C,f0,xf,t3,ja,qa,$a,Ip,Za,yp,Qa,t0,Ja,Hr,LR,jr,bh,nu,Ur,Yr,gh,Rh,ll,ul,ml,yl,BR,El,Rl,FR,Ah,UR,Al,bl,su,Wr,pl,ou,qr,MR,il,nl,wl,ru,Gr,Xr,Tl,lu,$r,wh,sl,vl,Nl,au,Vr,Th,PR,Zr,al,cl,Il,gl,Cl,uu,kr,zr,Kr,Qr,Jr,el,tl,vh,ol,rl,dl,hl,fl,Sh,Sl,_l,Dl,xl,Ol,Nh,cu,p0,Lf,o3,Ju,$R,ec,Ap,tc,ZR,Dp,ic,sc,Cp,xp,Op,oc,rc,QR,lc,JR,XR,e5,ac,t5,Pp,Mp,lN,zI,i5,cc,dc,n5,hc,Bp,E7,Bh,e6,g7,h3,I0,y0,Uf],2777663545:[y3,c5,h5,Zp],477187591:[$m],2652556860:[XC],4238390223:[I0,y0],178912537:[g3],1425443689:[Uh,Yp,qm,E3],3888040117:[Km,aa,Pm,QT,a7,JT,Fp,Xm,W0,KT,e1,l1,_w,Qm,Af,bf,Jm,s5,t1,s1,o1,u1,c1,Dw,r1,Lw,vf,Rf,Sf,Nf,Df,Pf,d1,Fw,FC,l7,Rr,I7,wG,wf,n1,u7,c7,d7,h7,vG,_h,Dh,Ch,xh,Oh,Lh,Ph,Ou,Ql,Jc,NR,rd,$d,Xl,Qc,od,pd,Rd,bd,Nd,Pd,Md,CR,Fd,kd,xR,Wd,OR,Yd,jd,ea,nd,Od,ta,ld,DR,yd,Td,Gd,ia,Xc,fd,Ud,na,ad,Ed,gd,Vd,qd,sa,ed,sd,_R,ud,Ad,_d,Ld,Hd,Qd,oa,td,id,cd,dd,hd,Id,md,wd,vd,Sd,Dd,Cd,xd,Bd,zd,Zd,Kd,Jd,Xd,e0,ra,qu,H0,Wm,Xu,BC,Lu,Pu,Jl,Mu,WR,Bu,Fu,Uu,vp,Hu,Gu,Vu,ku,YR,zu,jR,UC,HC,Wu,GC,Yu,rN,$T,kC,ju,sN,Ka,zC,Zu,Ku,qR,Qu,Rp,gN,G0,n0,jC,f7,iN,nN,oN,VC,KC,y7,Ym,Np,Lp,k0,_p,ZT,Mh,tu,d0,la,h0,Cf,$u,Xa,bp,YC,KR,vr,cN,Mr,Br,Fr,xc,iu,ZC,uc,Of,z0,a1,Y0,s0,r0,u0,_f,eu,a0,hu,m0,Bf,I1,Cu,Um,l0,xu,Gm,V0,o0,Hm,zm,Mf,m1,Bm,e3,u3,nc,fu,Iw,dN,hN,pN,mN,QC,du,aN,mw,fN,IN,JC,pu,Up,p5,Da,i1,l5,h1,Hw],590820931:[NG,R3,S3],759155922:[D5],2559016684:[b3],3967405729:[vy,Ry,Sy,Ay,by,Dy],2945172077:[i1,l5,h1],4208778838:[FC,l7,Rr,I7,wG,wf,n1,u7,c7,d7,h7,vG,_h,Dh,Ch,xh,Oh,Lh,Ph,Ou,Ql,Jc,NR,rd,$d,Xl,Qc,od,pd,Rd,bd,Nd,Pd,Md,CR,Fd,kd,xR,Wd,OR,Yd,jd,ea,nd,Od,ta,ld,DR,yd,Td,Gd,ia,Xc,fd,Ud,na,ad,Ed,gd,Vd,qd,sa,ed,sd,_R,ud,Ad,_d,Ld,Hd,Qd,oa,td,id,cd,dd,hd,Id,md,wd,vd,Sd,Dd,Cd,xd,Bd,zd,Zd,Kd,Jd,Xd,e0,ra,qu,H0,Wm,Xu,BC,Lu,Pu,Jl,Mu,WR,Bu,Fu,Uu,vp,Hu,Gu,Vu,ku,YR,zu,jR,UC,HC,Wu,GC,Yu,rN,$T,kC,ju,sN,Ka,zC,Zu,Ku,qR,Qu,Rp,gN,G0,n0,jC,f7,iN,nN,oN,VC,KC,y7,Ym,Np,Lp,k0,_p,ZT,Mh,tu,d0,la,h0,Cf,$u,Xa,bp,YC,KR,vr,cN,Mr,Br,Fr,xc,iu,ZC,uc,Of,z0,a1,Y0,s0,r0,u0,_f,eu,a0,hu,m0,Bf,I1,Cu,Um,l0,xu,Gm,V0,o0,Hm,zm,Mf,m1,Bm,e3,u3,nc,fu,Iw,dN,hN,pN,mN,QC,du,aN,mw,fN,IN,JC,pu,Up,p5],3521284610:[Vp,I5],3939117080:[ns,Te,bo,T3,Is,is,q0],1307041759:[T3],1865459582:[C7,Os,Gf,Vf,Oy,kf,qI],826625072:[Fh,kp,at,Gn,$s,Ye,zt,_e,ti,ut,j0,ct,tt,qp,ks,vn,ua,Bt,dt,$p,ve],1204542856:[dt,$p],1638771189:[qp],2551354335:[M,li,rt,lt,B],693640335:[pe,So,Fe,ce],3451746338:[Fh,kp],3523091289:[Fh],2914609552:[vf,Rf,Sf,Nf,Df,Pf,d1],1856042241:[c3],1862484736:[bG],1412071761:[Bm,e3,u3,nc,fu,Iw,dN,hN,pN,mN,QC,du,aN,mw,fN,IN,JC,pu,Up],710998568:[a3,c0,Ff],2706606064:[nc,fu,Iw,dN,hN,pN,mN,QC,du,aN,mw,fN,IN,JC,pu],3893378262:[c0],2735484536:[EG,TG,gG,RG,SG,AG],3544373492:[Cu,Um,l0,xu,Gm,V0,o0,Hm,zm,Mf],3136571912:[s0,r0,u0,_f,eu,a0,hu,m0,Bf],530289379:[eu,a0,hu,m0],3689010777:[o0,Hm,zm],3979015343:[hu],699246055:[o5,r5],2387106220:[Gp,T7,u5],3665877780:[Bh,e6],2916149573:[T7],2296667514:[r1],1635779807:[qm],2887950389:[km,r3],167062518:[km],1260505505:[Mm,XT,Zm,Wp,Hf,m3,p7,m7,Ep,Sp,jm,Iu],1626504194:[Ju,$R,ec,Ap,tc,ZR,Dp,ic,sc,Cp,xp,Op,oc,rc,QR,lc,JR,XR,e5,ac,t5,Pp,Mp,lN,zI,i5,cc,dc,n5,hc,Bp],3732776249:[p7,m7,Ep,Sp,jm],15328376:[Ep,Sp],2510884976:[zp,jp],2559216714:[vf,Rf,Sf,Nf,Df,Pf],3293443760:[Qm,Af,bf,Jm,s5,t1,s1,o1,u1,c1],1306400036:[lN,zI],3256556792:[ja,qa,$a,Ip,Za,yp,Qa,t0,Ja,Hr,LR,jr,bh,nu,Ur,Yr,gh,Rh,ll,ul,ml,yl,BR,El,Rl,FR,Ah,UR,Al,bl,su,Wr,pl,ou,qr,MR,il,nl,wl,ru,Gr,Xr,Tl,lu,$r,wh,sl,vl,Nl,au,Vr,Th,PR,Zr,al,cl,Il,gl,Cl,uu,kr,zr,Kr,Qr,Jr,el,tl,vh,ol,rl,dl,hl,fl,Sh,Sl,_l,Dl,xl,Ol,Nh,cu,p0],3849074793:[Ja,Hr,LR,jr,bh,nu,Ur,Yr,gh,Rh,ll,ul,ml,yl,BR,El,Rl,FR,Ah,UR,Al,bl,su,Wr,pl,ou,qr,MR,il,nl,wl,ru,Gr,Xr,Tl,lu,$r,wh,sl,vl,Nl,au,Vr,Th,PR,Zr,al,cl,Il,gl,Cl,uu,kr,zr,Kr,Qr,Jr,el,tl,vh,ol,rl,dl,hl,fl,Sh,Sl,_l,Dl,xl,Ol,Nh,cu],1758889154:[_h,Dh,Ch,xh,Oh,Lh,Ph,Ou,Ql,Jc,NR,rd,$d,Xl,Qc,od,pd,Rd,bd,Nd,Pd,Md,CR,Fd,kd,xR,Wd,OR,Yd,jd,ea,nd,Od,ta,ld,DR,yd,Td,Gd,ia,Xc,fd,Ud,na,ad,Ed,gd,Vd,qd,sa,ed,sd,_R,ud,Ad,_d,Ld,Hd,Qd,oa,td,id,cd,dd,hd,Id,md,wd,vd,Sd,Dd,Cd,xd,Bd,zd,Zd,Kd,Jd,Xd,e0,ra,qu,H0,Wm,Xu,BC,Lu,Pu,Jl,Mu,WR,Bu,Fu,Uu,vp,Hu,Gu,Vu,ku,YR,zu,jR,UC,HC,Wu,GC,Yu,rN,$T,kC,ju,sN,Ka,zC,Zu,Ku,qR,Qu,Rp,gN,G0,n0,jC,f7,iN,nN,oN,VC,KC,y7,Ym,Np,Lp,k0,_p,ZT,Mh,tu,d0,la,h0,Cf,$u,Xa,bp,YC,KR,vr,cN,Mr,Br,Fr,xc,iu,ZC,uc,Of,z0],1623761950:[$u,Xa,bp,YC,KR,vr,cN,Mr,Br,Fr,xc,iu,ZC,uc],2590856083:[i0,Fm,Cc,WC,qC,mp,Tp,uN,gp,wp,Vm,Oc,$C,f0],2107101300:[kr,zr,Kr,Qr,Jr,el,tl,vh,ol,rl,dl,hl,fl,Sh,Sl,_l,Dl,xl,Ol,Nh],2853485674:[Bm],807026263:[Uh],24185140:[du,aN,mw,fN,IN],1310830890:[Iw,dN,hN,pN,mN],2827207264:[_p,ZT,Mh,tu,d0,la,h0],2143335405:[la],1287392070:[ZT,Mh,tu],3907093117:[Vr,Th,PR,Zr,al,cl,Il,gl,Cl],3198132628:[$r,wh,sl,vl,Nl],1482959167:[Gr,Xr,Tl],1834744321:[qr,MR,il,nl,wl],1339347760:[Wr,pl],2297155007:[Ur,Yr,gh,Rh,ll,ul,ml,yl,BR,El,Rl,FR,Ah,UR,Al,bl],3009222698:[Hr,LR,jr,bh],263784265:[Np,Lp],4230923436:[iN,nN,oN,VC,KC],2706460486:[Km,aa,Pm,QT,a7,JT,Fp,Xm,W0,KT,e1,l1],2176059722:[u7,c7,d7,h7],3740093272:[wf],1946335990:[FC,l7,Rr,I7],3027567501:[vr,cN,Mr,Br,Fr],964333572:[mp,Tp,uN,gp,wp],682877961:[Cu,Um,l0,xu,Gm],1179482911:[s0,r0,u0],1004757350:[xu],214636428:[eu],1252848954:[KT],3657597509:[Cu],2254336722:[aa,Pm,QT,a7,JT,Fp],1953115116:[n0,jC],1028945134:[Af,bf],1967976161:[Mm,XT],2461110595:[Mm],1136057603:[Ep],1876633798:[Xu,BC,Lu,Pu,Jl,Mu,WR,Bu,Fu,Uu,vp,Hu,Gu,Vu,ku,YR,zu,jR,UC,HC,Wu,GC,Yu,rN,$T,kC,ju,sN,Ka,zC,Zu,Ku,qR,Qu,Rp],3426335179:[sN,Ka],2063403501:[ja,qa,$a,Ip,Za,yp,Qa],1945004755:[_h,Dh,Ch,xh,Oh,Lh,Ph,Ou,Ql,Jc,NR,rd,$d,Xl,Qc,od,pd,Rd,bd,Nd,Pd,Md,CR,Fd,kd,xR,Wd,OR,Yd,jd,ea,nd,Od,ta,ld,DR,yd,Td,Gd,ia,Xc,fd,Ud,na,ad,Ed,gd,Vd,qd,sa,ed,sd,_R,ud,Ad,_d,Ld,Hd,Qd,oa,td,id,cd,dd,hd,Id,md,wd,vd,Sd,Dd,Cd,xd,Bd,zd,Zd,Kd,Jd,Xd,e0,ra,qu],3040386961:[Ql,Jc,NR,rd,$d,Xl,Qc,od,pd,Rd,bd,Nd,Pd,Md,CR,Fd,kd,xR,Wd,OR,Yd,jd,ea,nd,Od,ta,ld,DR,yd,Td,Gd,ia,Xc,fd,Ud,na,ad,Ed,gd,Vd,qd,sa,ed,sd,_R,ud,Ad,_d,Ld,Hd,Qd,oa,td,id,cd,dd,hd,Id,md,wd,vd,Sd,Dd,Cd,xd,Bd,zd,Zd,Kd,Jd,Xd,e0,ra],3205830791:[Pm],1077100507:[rN,$T],1658829314:[td,id,cd,dd,hd,Id,md,wd,vd,Sd,Dd,Cd,xd,Bd,zd,Zd,Kd,Jd,Xd,e0],2058353004:[ed,sd,_R,ud,Ad,_d,Ld,Hd,Qd],4278956645:[ad,Ed,gd,Vd,qd],3132237377:[Xc,fd,Ud],987401354:[ld,DR,yd,Td,Gd],707683696:[nd,Od],2223149337:[Qc,od,pd,Rd,bd,Nd,Pd,Md,CR,Fd,kd,xR,Wd,OR,Yd,jd],3508470533:[Jc,NR,rd,$d],2713699986:[iN,nN,oN],1154579445:[FC],2391406946:[Jl],1062813311:[_h,Dh,Ch,xh,Oh,Lh,Ph]};vV[3]={3630933823:[["HasExternalReference",ai,3,!0]],618182010:[["OfPerson",o2,7,!0],["OfOrganization",r2,4,!0]],411424972:[["HasExternalReference",ai,3,!0]],130549933:[["HasExternalReferences",ai,3,!0],["ApprovedObjects",qI,5,!0],["ApprovedResources",_a,3,!0],["IsRelatedWith",SS,3,!0],["Relates",SS,2,!0]],1959218052:[["HasExternalReferences",ai,3,!0],["PropertiesForConstraint",Ir,2,!0]],1466758467:[["HasCoordinateOperation",Nw,0,!0],["WellKnownText",vj,1,!0]],602808272:[["HasExternalReference",ai,3,!0]],3200245327:[["ExternalReferenceForResources",ai,2,!0]],2242383968:[["ExternalReferenceForResources",ai,2,!0]],1040185647:[["ExternalReferenceForResources",ai,2,!0]],3548104201:[["ExternalReferenceForResources",ai,2,!0]],917726184:[["HasCoordinateOperation",Nw,0,!0],["WellKnownText",vj,1,!0]],852622518:[["PartOfW",Rr,9,!0],["PartOfV",Rr,8,!0],["PartOfU",Rr,7,!0],["HasIntersections",iq,0,!0]],2655187982:[["LibraryInfoForObjects",Gf,5,!0],["HasLibraryReferences",i8,5,!0]],3452421091:[["ExternalReferenceForResources",ai,2,!0],["LibraryRefForObjects",Gf,5,!0]],760658860:[["AssociatedTo",Os,5,!0],["HasExternalReferences",ai,3,!0],["HasProperties",Pr,3,!0]],248100487:[["AssociatedTo",Os,5,!0],["HasExternalReferences",ai,3,!0],["HasProperties",Pr,3,!0],["ToMaterialLayerSet",a2,0,!1]],3303938423:[["AssociatedTo",Os,5,!0],["HasExternalReferences",ai,3,!0],["HasProperties",Pr,3,!0]],1847252529:[["AssociatedTo",Os,5,!0],["HasExternalReferences",ai,3,!0],["HasProperties",Pr,3,!0],["ToMaterialLayerSet",a2,0,!1]],2235152071:[["AssociatedTo",Os,5,!0],["HasExternalReferences",ai,3,!0],["HasProperties",Pr,3,!0],["ToMaterialProfileSet",V5,2,!1]],164193824:[["AssociatedTo",Os,5,!0],["HasExternalReferences",ai,3,!0],["HasProperties",Pr,3,!0]],552965576:[["AssociatedTo",Os,5,!0],["HasExternalReferences",ai,3,!0],["HasProperties",Pr,3,!0],["ToMaterialProfileSet",V5,2,!1]],1507914824:[["AssociatedTo",Os,5,!0]],3368373690:[["HasExternalReferences",ai,3,!0],["PropertiesForConstraint",Ir,2,!0]],3701648758:[["PlacesObject",Da,5,!0],["ReferencedByPlacements",YG,0,!0]],2251480897:[["HasExternalReferences",ai,3,!0],["PropertiesForConstraint",Ir,2,!0]],4251960020:[["IsRelatedBy",vS,3,!0],["Relates",vS,2,!0],["Engages",G6,1,!0]],2077209135:[["EngagedIn",G6,0,!0]],2483315170:[["HasExternalReferences",ai,3,!0],["PartOfComplex",Po,2,!0]],2226359599:[["HasExternalReferences",ai,3,!0],["PartOfComplex",Po,2,!0]],3355820592:[["OfPerson",o2,7,!0],["OfOrganization",r2,4,!0]],3958567839:[["HasExternalReference",ai,3,!0],["HasProperties",ts,3,!0]],3843373140:[["HasCoordinateOperation",Nw,0,!0],["WellKnownText",vj,1,!0]],986844984:[["HasExternalReferences",ai,3,!0]],3710013099:[["HasExternalReferences",ai,3,!0]],2044713172:[["HasExternalReferences",ai,3,!0],["PartOfComplex",Po,2,!0]],2093928680:[["HasExternalReferences",ai,3,!0],["PartOfComplex",Po,2,!0]],931644368:[["HasExternalReferences",ai,3,!0],["PartOfComplex",Po,2,!0]],2691318326:[["HasExternalReferences",ai,3,!0],["PartOfComplex",Po,2,!0]],3252649465:[["HasExternalReferences",ai,3,!0],["PartOfComplex",Po,2,!0]],2405470396:[["HasExternalReferences",ai,3,!0],["PartOfComplex",Po,2,!0]],825690147:[["HasExternalReferences",ai,3,!0],["PartOfComplex",Po,2,!0]],1076942058:[["RepresentationMap",fc,1,!0],["LayerAssignments",Je,2,!0],["OfProductRepresentation",E0,2,!0]],3377609919:[["RepresentationsInContext",s2,0,!0]],3008791417:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],1660063152:[["HasShapeAspects",Hp,4,!0],["MapUsage",u2,0,!0]],867548509:[["HasExternalReferences",ai,3,!0]],3982875396:[["RepresentationMap",fc,1,!0],["LayerAssignments",Je,2,!0],["OfProductRepresentation",E0,2,!0],["OfShapeAspect",Hp,0,!0]],4240577450:[["RepresentationMap",fc,1,!0],["LayerAssignments",Je,2,!0],["OfProductRepresentation",E0,2,!0],["OfShapeAspect",Hp,0,!0]],2830218821:[["RepresentationMap",fc,1,!0],["LayerAssignments",Je,2,!0],["OfProductRepresentation",E0,2,!0]],3958052878:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],3049322572:[["RepresentationMap",fc,1,!0],["LayerAssignments",Je,2,!0],["OfProductRepresentation",E0,2,!0]],626085974:[["IsMappedBy",A3,0,!0],["UsedInStyles",w1,0,!0]],912023232:[["OfPerson",o2,7,!0],["OfOrganization",r2,4,!0]],222769930:[["ToTexMap",x7,3,!1]],1010789467:[["ToTexMap",x7,3,!1]],3101149627:[["HasExternalReference",ai,3,!0]],1377556343:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],1735638870:[["RepresentationMap",fc,1,!0],["LayerAssignments",Je,2,!0],["OfProductRepresentation",E0,2,!0],["OfShapeAspect",Hp,0,!0]],2799835756:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],1907098498:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],3798115385:[["HasExternalReference",ai,3,!0],["HasProperties",ts,3,!0]],1310608509:[["HasExternalReference",ai,3,!0],["HasProperties",ts,3,!0]],2705031697:[["HasExternalReference",ai,3,!0],["HasProperties",ts,3,!0]],616511568:[["IsMappedBy",A3,0,!0],["UsedInStyles",w1,0,!0]],3150382593:[["HasExternalReference",ai,3,!0],["HasProperties",ts,3,!0]],747523909:[["ClassificationForObjects",kf,5,!0],["HasReferences",_N,3,!0]],647927063:[["ExternalReferenceForResources",ai,2,!0],["ClassificationRefForObjects",kf,5,!0],["HasReferences",_N,3,!0]],1485152156:[["HasExternalReference",ai,3,!0],["HasProperties",ts,3,!0]],370225590:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],3050246964:[["HasExternalReference",ai,3,!0]],2889183280:[["HasExternalReference",ai,3,!0]],2713554722:[["HasExternalReference",ai,3,!0]],3632507154:[["HasExternalReference",ai,3,!0],["HasProperties",ts,3,!0]],1154170062:[["DocumentInfoForObjects",Vf,5,!0],["HasDocumentReferences",j7,4,!0],["IsPointedTo",RS,3,!0],["IsPointer",RS,2,!0]],3732053477:[["ExternalReferenceForResources",ai,2,!0],["DocumentRefForObjects",Vf,5,!0]],3900360178:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],476780140:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],297599258:[["HasExternalReferences",ai,3,!0]],2556980723:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0],["HasTextureMaps",tE,2,!0]],1809719519:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],803316827:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],3008276851:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0],["HasTextureMaps",tE,2,!0]],3448662350:[["RepresentationsInContext",s2,0,!0],["HasSubContexts",zf,6,!0],["HasCoordinateOperation",Nw,0,!0]],2453401579:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],4142052618:[["RepresentationsInContext",s2,0,!0],["HasSubContexts",zf,6,!0],["HasCoordinateOperation",Nw,0,!0]],3590301190:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],178086475:[["PlacesObject",Da,5,!0],["ReferencedByPlacements",YG,0,!0]],812098782:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],3905492369:[["IsMappedBy",A3,0,!0],["UsedInStyles",w1,0,!0]],3741457305:[["HasExternalReference",ai,3,!0]],1402838566:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],125510826:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],2604431987:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],4266656042:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],1520743889:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],3422422726:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],388784114:[["PlacesObject",Da,5,!0],["ReferencedByPlacements",YG,0,!0]],2624227202:[["PlacesObject",Da,5,!0],["ReferencedByPlacements",YG,0,!0]],1008929658:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],2347385850:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],1838606355:[["AssociatedTo",Os,5,!0],["HasExternalReferences",ai,3,!0],["HasProperties",Pr,3,!0],["HasRepresentation",W6,3,!0],["IsRelatedWith",T6,3,!0],["RelatesTo",T6,2,!0]],3708119e3:[["AssociatedTo",Os,5,!0],["HasExternalReferences",ai,3,!0],["HasProperties",Pr,3,!0],["ToMaterialConstituentSet",z6,2,!1]],2852063980:[["AssociatedTo",Os,5,!0],["HasExternalReferences",ai,3,!0],["HasProperties",Pr,3,!0]],1303795690:[["AssociatedTo",Os,5,!0]],3079605661:[["AssociatedTo",Os,5,!0]],3404854881:[["AssociatedTo",Os,5,!0]],3265635763:[["HasExternalReferences",ai,3,!0]],2998442950:[["HasExternalReference",ai,3,!0],["HasProperties",ts,3,!0]],219451334:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0]],182550632:[["HasExternalReference",ai,3,!0],["HasProperties",ts,3,!0]],2665983363:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],1029017970:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],2529465313:[["HasExternalReference",ai,3,!0],["HasProperties",ts,3,!0]],2519244187:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],3021840470:[["HasExternalReferences",ai,3,!0],["PartOfComplex",Po,2,!0]],597895409:[["IsMappedBy",A3,0,!0],["UsedInStyles",w1,0,!0]],2004835150:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],1663979128:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],2067069095:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],2165702409:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],4022376103:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],1423911732:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],2924175390:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],2775532180:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],3778827333:[["HasExternalReferences",ai,3,!0]],673634403:[["ShapeOfProduct",Da,6,!0],["HasShapeAspects",Hp,4,!0]],2802850158:[["HasExternalReferences",ai,3,!0]],2598011224:[["HasExternalReferences",ai,3,!0],["PartOfPset",Jo,4,!0],["PropertyForDependance",$n,2,!0],["PropertyDependsOn",$n,3,!0],["PartOfComplex",Ao,3,!0],["HasConstraints",Ir,3,!0],["HasApprovals",_a,2,!0]],1680319473:[["HasContext",me,5,!0],["HasAssociations",ie,4,!0]],3357820518:[["HasContext",me,5,!0],["HasAssociations",ie,4,!0],["DefinesType",ws,5,!0],["IsDefinedBy",So,4,!0],["DefinesOccurrence",Fe,5,!0]],1482703590:[["HasContext",me,5,!0],["HasAssociations",ie,4,!0]],2090586900:[["HasContext",me,5,!0],["HasAssociations",ie,4,!0],["DefinesType",ws,5,!0],["IsDefinedBy",So,4,!0],["DefinesOccurrence",Fe,5,!0]],3615266464:[["HasExternalReference",ai,3,!0],["HasProperties",ts,3,!0]],3413951693:[["HasExternalReference",ai,3,!0]],1580146022:[["HasExternalReferences",ai,3,!0]],2778083089:[["HasExternalReference",ai,3,!0],["HasProperties",ts,3,!0]],2042790032:[["HasExternalReferences",ai,3,!0]],4165799628:[["HasExternalReferences",ai,3,!0]],1509187699:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],823603102:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0],["UsingCurves",Iu,0,!0]],4124623270:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],3692461612:[["HasExternalReferences",ai,3,!0],["PartOfPset",Jo,4,!0],["PropertyForDependance",$n,2,!0],["PropertyDependsOn",$n,3,!0],["PartOfComplex",Ao,3,!0],["HasConstraints",Ir,3,!0],["HasApprovals",_a,2,!0]],723233188:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],2233826070:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],2513912981:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],2247615214:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],1260650574:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],1096409881:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],230924584:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],3071757647:[["HasExternalReference",ai,3,!0],["HasProperties",ts,3,!0]],901063453:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],4282788508:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],3124975700:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],2715220739:[["HasExternalReference",ai,3,!0],["HasProperties",ts,3,!0]],1628702193:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0]],3736923433:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["OperatesOn",bo,6,!0]],2347495698:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],3698973494:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ResourceOf",ns,6,!0]],427810014:[["HasExternalReference",ai,3,!0],["HasProperties",ts,3,!0]],1417489154:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],2759199220:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],2543172580:[["HasExternalReference",ai,3,!0],["HasProperties",ts,3,!0]],3406155212:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0],["HasTextureMaps",tE,2,!0]],669184980:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],3207858831:[["HasExternalReference",ai,3,!0],["HasProperties",ts,3,!0]],4261334040:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],3125803723:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],2740243338:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],3425423356:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],2736907675:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],4182860854:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],2581212453:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],2713105998:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],2898889636:[["HasExternalReference",ai,3,!0],["HasProperties",ts,3,!0]],1123145078:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],574549367:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],1675464909:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],2059837836:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],59481748:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],3749851601:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],3486308946:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],3331915920:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],1416205885:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],1383045692:[["HasExternalReference",ai,3,!0],["HasProperties",ts,3,!0]],2205249479:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],2542286263:[["HasExternalReferences",ai,3,!0],["PartOfPset",Jo,4,!0],["PropertyForDependance",$n,2,!0],["PropertyDependsOn",$n,3,!0],["PartOfComplex",Ao,3,!0],["HasConstraints",Ir,3,!0],["HasApprovals",_a,2,!0]],2485617015:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0],["UsingCurves",Iu,0,!0]],2574617495:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ResourceOf",ns,6,!0]],3419103109:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Fe,4,!0],["Declares",me,4,!0]],1815067380:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ResourceOf",ns,6,!0]],2506170314:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],2147822146:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],2601014836:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],2827736869:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],2629017746:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],4212018352:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0],["UsingCurves",Iu,0,!0]],32440307:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],593015953:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],1472233963:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],1883228015:[["HasContext",me,5,!0],["HasAssociations",ie,4,!0],["DefinesType",ws,5,!0],["IsDefinedBy",So,4,!0],["DefinesOccurrence",Fe,5,!0]],339256511:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],2777663545:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],2835456948:[["HasExternalReference",ai,3,!0],["HasProperties",ts,3,!0]],4024345920:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["OperatesOn",bo,6,!0]],477187591:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],2804161546:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],2047409740:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],374418227:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],315944413:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],2652556860:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],4238390223:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1268542332:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],4095422895:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],987898635:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],1484403080:[["HasExternalReference",ai,3,!0],["HasProperties",ts,3,!0]],178912537:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0],["ToFaceSet",Gp,2,!0],["HasTexCoords",Qte,1,!0]],2294589976:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0],["ToFaceSet",Gp,2,!0],["HasTexCoords",Qte,1,!0]],572779678:[["HasExternalReference",ai,3,!0],["HasProperties",ts,3,!0]],428585644:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ResourceOf",ns,6,!0]],1281925730:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],1425443689:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],3888040117:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0]],590820931:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],3388369263:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],3505215534:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],2485787929:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],1682466193:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],603570806:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],220341763:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],3381221214:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],3967405729:[["HasContext",me,5,!0],["HasAssociations",ie,4,!0],["DefinesType",ws,5,!0],["IsDefinedBy",So,4,!0],["DefinesOccurrence",Fe,5,!0]],569719735:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["OperatesOn",bo,6,!0]],2945172077:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["IsPredecessorTo",$s,4,!0],["IsSuccessorFrom",$s,5,!0],["OperatesOn",bo,6,!0]],4208778838:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0]],103090709:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Fe,4,!0],["Declares",me,4,!0]],653396225:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDefinedBy",Fe,4,!0],["Declares",me,4,!0]],871118103:[["HasExternalReferences",ai,3,!0],["PartOfPset",Jo,4,!0],["PropertyForDependance",$n,2,!0],["PropertyDependsOn",$n,3,!0],["PartOfComplex",Ao,3,!0],["HasConstraints",Ir,3,!0],["HasApprovals",_a,2,!0]],4166981789:[["HasExternalReferences",ai,3,!0],["PartOfPset",Jo,4,!0],["PropertyForDependance",$n,2,!0],["PropertyDependsOn",$n,3,!0],["PartOfComplex",Ao,3,!0],["HasConstraints",Ir,3,!0],["HasApprovals",_a,2,!0]],2752243245:[["HasExternalReferences",ai,3,!0],["PartOfPset",Jo,4,!0],["PropertyForDependance",$n,2,!0],["PropertyDependsOn",$n,3,!0],["PartOfComplex",Ao,3,!0],["HasConstraints",Ir,3,!0],["HasApprovals",_a,2,!0]],941946838:[["HasExternalReferences",ai,3,!0],["PartOfPset",Jo,4,!0],["PropertyForDependance",$n,2,!0],["PropertyDependsOn",$n,3,!0],["PartOfComplex",Ao,3,!0],["HasConstraints",Ir,3,!0],["HasApprovals",_a,2,!0]],1451395588:[["HasContext",me,5,!0],["HasAssociations",ie,4,!0],["DefinesType",ws,5,!0],["IsDefinedBy",So,4,!0],["DefinesOccurrence",Fe,5,!0]],492091185:[["HasContext",me,5,!0],["HasAssociations",ie,4,!0],["Defines",So,5,!0]],3650150729:[["HasExternalReferences",ai,3,!0],["PartOfPset",Jo,4,!0],["PropertyForDependance",$n,2,!0],["PropertyDependsOn",$n,3,!0],["PartOfComplex",Ao,3,!0],["HasConstraints",Ir,3,!0],["HasApprovals",_a,2,!0]],110355661:[["HasExternalReferences",ai,3,!0],["PartOfPset",Jo,4,!0],["PropertyForDependance",$n,2,!0],["PropertyDependsOn",$n,3,!0],["PartOfComplex",Ao,3,!0],["HasConstraints",Ir,3,!0],["HasApprovals",_a,2,!0]],3521284610:[["HasContext",me,5,!0],["HasAssociations",ie,4,!0],["PartOfComplexTemplate",Vp,6,!0],["PartOfPsetTemplate",v1,6,!0]],2770003689:[["HasExternalReference",ai,3,!0],["HasProperties",ts,3,!0]],2798486643:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],3454111270:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],3765753017:[["HasContext",me,5,!0],["HasAssociations",ie,4,!0],["DefinesType",ws,5,!0],["IsDefinedBy",So,4,!0],["DefinesOccurrence",Fe,5,!0]],3523091289:[["InnerBoundaries",kp,9,!0]],1521410863:[["InnerBoundaries",kp,9,!0],["Corresponds",Fh,10,!0]],816062949:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0],["UsingCurves",Iu,0,!0]],2914609552:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ResourceOf",ns,6,!0]],1856042241:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],3243963512:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],4158566097:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],3626867408:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],1862484736:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],1290935644:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],1356537516:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],3663146110:[["HasContext",me,5,!0],["HasAssociations",ie,4,!0],["PartOfComplexTemplate",Vp,6,!0],["PartOfPsetTemplate",v1,6,!0]],1412071761:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["ContainsElements",tt,5,!0],["ServicedBySystems",Gn,5,!0],["ReferencesElements",Ye,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0]],710998568:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],2706606064:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["ContainsElements",tt,5,!0],["ServicedBySystems",Gn,5,!0],["ReferencesElements",Ye,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0]],3893378262:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],463610769:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["ContainsElements",tt,5,!0],["ServicedBySystems",Gn,5,!0],["ReferencesElements",Ye,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0]],2481509218:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],451544542:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],4015995234:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],2735484536:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],3544373492:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["AssignedToStructuralItem",vn,5,!0]],3136571912:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["AssignedStructuralActivity",vn,4,!0]],530289379:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["AssignedStructuralActivity",vn,4,!0],["ConnectedBy",ks,4,!0]],3689010777:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["AssignedToStructuralItem",vn,5,!0]],3979015343:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["AssignedStructuralActivity",vn,4,!0],["ConnectedBy",ks,4,!0]],2218152070:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["AssignedStructuralActivity",vn,4,!0],["ConnectedBy",ks,4,!0]],603775116:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["AssignedToStructuralItem",vn,5,!0]],4095615324:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ResourceOf",ns,6,!0]],699246055:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],2028607225:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],2809605785:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],4124788165:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],1580310250:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],3473067441:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["IsPredecessorTo",$s,4,!0],["IsSuccessorFrom",$s,5,!0],["OperatesOn",bo,6,!0]],3206491090:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["OperatesOn",bo,6,!0]],2387106220:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0],["HasColours",wy,0,!0],["HasTextures",YI,1,!0]],782932809:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],1935646853:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],3665877780:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],2916149573:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0],["HasColours",wy,0,!0],["HasTextures",YI,1,!0]],1229763772:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0],["HasColours",wy,0,!0],["HasTextures",YI,1,!0]],3651464721:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],336235671:[["HasContext",me,5,!0],["HasAssociations",ie,4,!0],["DefinesType",ws,5,!0],["IsDefinedBy",So,4,!0],["DefinesOccurrence",Fe,5,!0]],512836454:[["HasContext",me,5,!0],["HasAssociations",ie,4,!0],["DefinesType",ws,5,!0],["IsDefinedBy",So,4,!0],["DefinesOccurrence",Fe,5,!0]],2296667514:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["IsActingUpon",q0,6,!0]],1635779807:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],2603310189:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],1674181508:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["ContainedInStructure",tt,4,!0]],2887950389:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],167062518:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],1334484129:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],3649129432:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],1260505505:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],3124254112:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["ContainsElements",tt,5,!0],["ServicedBySystems",Gn,5,!0],["ReferencesElements",Ye,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0]],1626504194:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],2197970202:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],2937912522:[["HasExternalReference",ai,3,!0],["HasProperties",ts,3,!0]],3893394355:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],3497074424:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],300633059:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],3875453745:[["HasContext",me,5,!0],["HasAssociations",ie,4,!0],["PartOfComplexTemplate",Vp,6,!0],["PartOfPsetTemplate",v1,6,!0]],3732776249:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],15328376:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],2510884976:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],2185764099:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ResourceOf",ns,6,!0]],4105962743:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ResourceOf",ns,6,!0]],1525564444:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ResourceOf",ns,6,!0]],2559216714:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ResourceOf",ns,6,!0]],3293443760:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["Controls",is,6,!0]],2000195564:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],3895139033:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["Controls",is,6,!0]],1419761937:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["Controls",is,6,!0]],4189326743:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1916426348:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],3295246426:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ResourceOf",ns,6,!0]],1457835157:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1213902940:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],1306400036:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],4234616927:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],3256556792:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],3849074793:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],2963535650:[["HasContext",me,5,!0],["HasAssociations",ie,4,!0],["DefinesType",ws,5,!0],["IsDefinedBy",So,4,!0],["DefinesOccurrence",Fe,5,!0]],1714330368:[["HasContext",me,5,!0],["HasAssociations",ie,4,!0],["DefinesType",ws,5,!0],["IsDefinedBy",So,4,!0],["DefinesOccurrence",Fe,5,!0]],2323601079:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1758889154:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0]],4123344466:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0]],2397081782:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1623761950:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0]],2590856083:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1704287377:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],2107101300:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],132023988:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],3174744832:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],3390157468:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],4148101412:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["IsPredecessorTo",$s,4,!0],["IsSuccessorFrom",$s,5,!0],["OperatesOn",bo,6,!0]],2853485674:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["ContainsElements",tt,5,!0],["ServicedBySystems",Gn,5,!0],["ReferencesElements",Ye,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0]],807026263:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],3737207727:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],24185140:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["ContainsElements",tt,5,!0],["ServicedBySystems",Gn,5,!0],["ReferencesElements",Ye,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0]],1310830890:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["ContainsElements",tt,5,!0],["ServicedBySystems",Gn,5,!0],["ReferencesElements",Ye,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0]],4228831410:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["ContainsElements",tt,5,!0],["ServicedBySystems",Gn,5,!0],["ReferencesElements",Ye,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0]],647756555:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0]],2489546625:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],2827207264:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0]],2143335405:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["ProjectsElements",lt,5,!1]],1287392070:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["VoidsElements",rt,5,!1]],3907093117:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],3198132628:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],3815607619:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1482959167:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1834744321:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1339347760:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],2297155007:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],3009222698:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1893162501:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],263784265:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0]],1509553395:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0]],3493046030:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0]],4230923436:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0]],1594536857:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0]],2898700619:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],2706460486:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["IsGroupedBy",Is,6,!0],["ReferencedInStructures",Ye,4,!0]],1251058090:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1806887404:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],2568555532:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0]],3948183225:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],2571569899:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],3946677679:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],3113134337:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],2391368822:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["IsGroupedBy",Is,6,!0],["ReferencedInStructures",Ye,4,!0]],4288270099:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],679976338:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],3827777499:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ResourceOf",ns,6,!0]],1051575348:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1161773419:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],2176059722:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0]],1770583370:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],525669439:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["ContainsElements",tt,5,!0],["ServicedBySystems",Gn,5,!0],["ReferencesElements",Ye,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0]],976884017:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["ContainsElements",tt,5,!0],["ServicedBySystems",Gn,5,!0],["ReferencesElements",Ye,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0]],377706215:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0]],2108223431:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1114901282:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],3181161470:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1950438474:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],710110818:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],977012517:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],506776471:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],4143007308:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["IsActingUpon",q0,6,!0]],3588315303:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["VoidsElements",rt,5,!1],["HasFillings",ut,4,!0]],2837617999:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],514975943:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],2382730787:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["Controls",is,6,!0]],3566463478:[["HasContext",me,5,!0],["HasAssociations",ie,4,!0],["DefinesType",ws,5,!0],["IsDefinedBy",So,4,!0],["DefinesOccurrence",Fe,5,!0]],3327091369:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["Controls",is,6,!0]],1158309216:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],804291784:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],4231323485:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],4017108033:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],2839578677:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0],["HasColours",wy,0,!0],["HasTextures",YI,1,!0]],3724593414:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],3740093272:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["ContainedIn",Bt,4,!0],["ConnectedFrom",ua,5,!0],["ConnectedTo",ua,4,!0]],1946335990:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["ContainedInStructure",tt,4,!0],["Positions",zt,4,!0]],2744685151:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["IsPredecessorTo",$s,4,!0],["IsSuccessorFrom",$s,5,!0],["OperatesOn",bo,6,!0]],2904328755:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["Controls",is,6,!0]],3651124850:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["ProjectsElements",lt,5,!1]],1842657554:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],2250791053:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1763565496:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],2893384427:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],3992365140:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["ContainsElements",tt,5,!0],["ServicedBySystems",Gn,5,!0],["ReferencesElements",Ye,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0]],1891881377:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["ContainsElements",tt,5,!0],["ServicedBySystems",Gn,5,!0],["ReferencesElements",Ye,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0]],2324767716:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1469900589:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],683857671:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],4021432810:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["ContainedInStructure",tt,4,!0],["Positions",zt,4,!0]],3027567501:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0]],964333572:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],2320036040:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0]],2310774935:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],146592293:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["ContainsElements",tt,5,!0],["ServicedBySystems",Gn,5,!0],["ReferencesElements",Ye,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0]],550521510:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["ContainsElements",tt,5,!0],["ServicedBySystems",Gn,5,!0],["ReferencesElements",Ye,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0]],2781568857:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1768891740:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],2157484638:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],3649235739:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],544395925:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],1027922057:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],4074543187:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],33720170:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0]],3599934289:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1894708472:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],42703149:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],4097777520:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["ContainsElements",tt,5,!0],["ServicedBySystems",Gn,5,!0],["ReferencesElements",Ye,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0]],2533589738:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1072016465:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],3856911033:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["ContainsElements",tt,5,!0],["ServicedBySystems",Gn,5,!0],["ReferencesElements",Ye,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasCoverings",j0,4,!0],["BoundedBy",at,4,!0]],1305183839:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],3812236995:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],3112655638:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1039846685:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],338393293:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],682877961:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["AssignedToStructuralItem",vn,5,!0]],1179482911:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["AssignedStructuralActivity",vn,4,!0],["ConnectsStructuralMembers",ks,5,!0]],1004757350:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["AssignedToStructuralItem",vn,5,!0]],4243806635:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["AssignedStructuralActivity",vn,4,!0],["ConnectsStructuralMembers",ks,5,!0]],214636428:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["AssignedStructuralActivity",vn,4,!0],["ConnectedBy",ks,4,!0]],2445595289:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["AssignedStructuralActivity",vn,4,!0],["ConnectedBy",ks,4,!0]],2757150158:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["AssignedToStructuralItem",vn,5,!0]],1807405624:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["AssignedToStructuralItem",vn,5,!0]],1252848954:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["IsGroupedBy",Is,6,!0],["ReferencedInStructures",Ye,4,!0],["SourceOfResultGroup",W0,6,!0],["LoadGroupFor",aa,7,!0]],2082059205:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["AssignedToStructuralItem",vn,5,!0]],734778138:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["AssignedStructuralActivity",vn,4,!0],["ConnectsStructuralMembers",ks,5,!0]],1235345126:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["AssignedToStructuralItem",vn,5,!0]],2986769608:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["IsGroupedBy",Is,6,!0],["ReferencedInStructures",Ye,4,!0],["ResultGroupFor",aa,8,!0]],3657597509:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["AssignedToStructuralItem",vn,5,!0]],1975003073:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["AssignedStructuralActivity",vn,4,!0],["ConnectsStructuralMembers",ks,5,!0]],148013059:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ResourceOf",ns,6,!0]],3101698114:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["AdheresToElement",li,5,!1]],2315554128:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],2254336722:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["IsGroupedBy",Is,6,!0],["ReferencedInStructures",Ye,4,!0],["ServicesBuildings",Gn,4,!0],["ServicesFacilities",Ye,4,!0]],413509423:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0]],5716631:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],3824725483:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0]],2347447852:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0]],3081323446:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],3663046924:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0]],2281632017:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],2415094496:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],618700268:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1692211062:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],2097647324:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1953115116:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0]],3593883385:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],1600972822:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1911125066:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],728799441:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],840318589:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0]],1530820697:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0]],3956297820:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],2391383451:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0]],3313531582:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],2769231204:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0]],926996030:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["VoidsElements",rt,5,!1]],1898987631:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1133259667:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],4009809668:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],4088093105:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["Controls",is,6,!0]],1028945134:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["Controls",is,6,!0]],4218914973:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["Controls",is,6,!0]],3342526732:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["Controls",is,6,!0]],1033361043:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["IsGroupedBy",Is,6,!0],["ReferencedInStructures",Ye,4,!0],["ServicesBuildings",Gn,4,!0],["ServicesFacilities",Ye,4,!0]],3821786052:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["Controls",is,6,!0]],1411407467:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],3352864051:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1871374353:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],4266260250:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0]],1545765605:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0]],317615605:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0]],1662888072:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0]],3460190687:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["IsGroupedBy",Is,6,!0],["ReferencedInStructures",Ye,4,!0]],1532957894:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1967976161:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],2461110595:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],819618141:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],3649138523:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],231477066:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1136057603:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],644574406:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["ContainsElements",tt,5,!0],["ServicedBySystems",Gn,5,!0],["ReferencesElements",Ye,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0]],963979645:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["ContainsElements",tt,5,!0],["ServicedBySystems",Gn,5,!0],["ReferencesElements",Ye,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0]],4031249490:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["ContainsElements",tt,5,!0],["ServicedBySystems",Gn,5,!0],["ReferencesElements",Ye,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0]],2979338954:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0]],39481116:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1909888760:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1177604601:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["IsGroupedBy",Is,6,!0],["ReferencedInStructures",Ye,4,!0],["ServicesBuildings",Gn,4,!0],["ServicesFacilities",Ye,4,!0]],1876633798:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0]],3862327254:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["IsGroupedBy",Is,6,!0],["ReferencedInStructures",Ye,4,!0],["ServicesBuildings",Gn,4,!0],["ServicesFacilities",Ye,4,!0]],2188180465:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],395041908:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],3293546465:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],2674252688:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1285652485:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],3203706013:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],2951183804:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],3296154744:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0]],2611217952:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],1677625105:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0]],2301859152:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],843113511:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0]],400855858:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],3850581409:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],2816379211:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],3898045240:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ResourceOf",ns,6,!0]],1060000209:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ResourceOf",ns,6,!0]],488727124:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ResourceOf",ns,6,!0]],2940368186:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],335055490:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],2954562838:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1502416096:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0]],1973544240:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["CoversSpaces",j0,5,!0],["CoversElements",ct,5,!0]],3495092785:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0]],3961806047:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],3426335179:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0]],1335981549:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0]],2635815018:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],479945903:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1599208980:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],2063403501:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1945004755:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0]],3040386961:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],3041715199:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["ContainedIn",Bt,4,!0],["ConnectedFrom",ua,5,!0],["ConnectedTo",ua,4,!0]],3205830791:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["IsGroupedBy",Is,6,!0],["ReferencedInStructures",Ye,4,!0],["ServicesBuildings",Gn,4,!0],["ServicesFacilities",Ye,4,!0]],395920057:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0]],869906466:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],3760055223:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],2030761528:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],3071239417:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["VoidsElements",rt,5,!1]],1077100507:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0]],3376911765:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0]],663422040:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],2417008758:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],3277789161:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],2142170206:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1534661035:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1217240411:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],712377611:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1658829314:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],2814081492:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],3747195512:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],484807127:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],1209101575:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["ContainsElements",tt,5,!0],["ServicedBySystems",Gn,5,!0],["ReferencesElements",Ye,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["BoundedBy",at,4,!0]],346874300:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1810631287:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],4222183408:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],2058353004:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],4278956645:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],4037862832:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],2188021234:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],3132237377:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],987401354:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],707683696:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],2223149337:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],3508470533:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],900683007:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0]],2713699986:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0]],3009204131:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["ContainedInStructure",tt,4,!0],["Positions",zt,4,!0]],3319311131:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],2068733104:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],4175244083:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],2176052936:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],2696325953:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0]],76236018:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],629592764:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],1154579445:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["ContainedInStructure",tt,4,!0],["Positions",zt,4,!0]],1638804497:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],1437502449:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],1073191201:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0]],2078563270:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],234836483:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0]],2474470126:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],2182337498:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0]],144952367:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],3694346114:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],1383356374:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0]],1687234759:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0]],310824031:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],3612865200:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],3171933400:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0]],738039164:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],655969474:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],90941305:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],3290496277:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0]],2262370178:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0]],3024970846:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0]],3283111854:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0]],1232101972:[["LayerAssignment",Je,2,!0],["StyledByItem",et,0,!0]],3798194928:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0]],979691226:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0]],2572171363:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],2016517767:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0]],3053780830:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],1783015770:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1329646415:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0]],991950508:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],1529196076:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0]],3420628829:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],1999602285:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],1404847402:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],331165859:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0]],4252922144:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0]],2515109513:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["IsGroupedBy",Is,6,!0],["ReferencedInStructures",Ye,4,!0],["ServicesBuildings",Gn,4,!0],["ServicesFacilities",Ye,4,!0]],385403989:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["IsGroupedBy",Is,6,!0],["ReferencedInStructures",Ye,4,!0],["SourceOfResultGroup",W0,6,!0],["LoadGroupFor",aa,7,!0]],1621171031:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["AssignedToStructuralItem",vn,5,!0]],1162798199:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],812556717:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],3425753595:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0]],3825984169:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],1620046519:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0]],3026737570:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],3179687236:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],4292641817:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],4207607924:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],2391406946:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0]],3512223829:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0]],4237592921:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],3304561284:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0]],2874132201:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],1634111441:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],177149247:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],2056796094:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],3001207471:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],325726236:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["ContainedInStructure",tt,4,!0],["Positions",zt,4,!0]],277319702:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],753842376:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0]],4196446775:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0]],32344328:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],3314249567:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0]],1095909175:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0]],2938176219:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],635142910:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],3758799889:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],1051757585:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],4217484030:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],3999819293:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0]],3902619387:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],639361253:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],3221913625:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],3571504051:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],2272882330:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],578613899:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["Types",pe,5,!0],["ReferencedBy",Te,6,!0]],3460952963:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],4136498852:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],3640358203:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],4074379575:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],3693000487:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],1052013943:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],562808652:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["IsGroupedBy",Is,6,!0],["ReferencedInStructures",Ye,4,!0],["ServicesBuildings",Gn,4,!0],["ServicesFacilities",Ye,4,!0]],1062813311:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["AssignedToFlowElement",ti,4,!0]],342316401:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],3518393246:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],1360408905:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],1904799276:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],862014818:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],3310460725:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],24726584:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],264262732:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],402227799:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],1003880860:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],3415622556:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],819412036:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],1426591983:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["HasControlElements",ti,5,!0]],182646315:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["AssignedToFlowElement",ti,4,!0]],2680139844:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0]],1971632696:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0]],2295281155:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["AssignedToFlowElement",ti,4,!0]],4086658281:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["AssignedToFlowElement",ti,4,!0]],630975310:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["AssignedToFlowElement",ti,4,!0]],4288193352:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["AssignedToFlowElement",ti,4,!0]],3087945054:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["AssignedToFlowElement",ti,4,!0]],25142252:[["HasAssignments",re,4,!0],["Nests",B,5,!0],["IsNestedBy",B,4,!0],["HasContext",me,5,!0],["IsDecomposedBy",M,4,!0],["Decomposes",M,5,!0],["HasAssociations",ie,4,!0],["IsDeclaredBy",ce,4,!0],["Declares",ce,5,!0],["IsTypedBy",pe,4,!0],["IsDefinedBy",Fe,4,!0],["ReferencedBy",Te,6,!0],["PositionedRelativeTo",zt,5,!0],["ReferencedInStructures",Ye,4,!0],["FillsVoids",ut,5,!0],["ConnectedTo",ve,5,!0],["IsInterferedByElements",_e,5,!0],["InterferesElements",_e,4,!0],["HasProjections",lt,4,!0],["HasOpenings",rt,4,!0],["IsConnectionRealization",dt,7,!0],["ProvidesBoundaries",at,5,!0],["ConnectedFrom",ve,6,!0],["ContainedInStructure",tt,4,!0],["HasCoverings",ct,4,!0],["HasSurfaceFeatures",li,4,!0],["HasPorts",Bt,5,!0],["AssignedToFlowElement",ti,4,!0]]};RV[3]={3630933823:e=>new a.IfcActorRole(e[0],e[1],e[2]),618182010:e=>new a.IfcAddress(e[0],e[1],e[2]),2879124712:e=>new a.IfcAlignmentParameterSegment(e[0],e[1]),3633395639:e=>new a.IfcAlignmentVerticalSegment(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),639542469:e=>new a.IfcApplication(e[0],e[1],e[2],e[3]),411424972:e=>new a.IfcAppliedValue(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),130549933:e=>new a.IfcApproval(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),4037036970:e=>new a.IfcBoundaryCondition(e[0]),1560379544:e=>new a.IfcBoundaryEdgeCondition(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),3367102660:e=>new a.IfcBoundaryFaceCondition(e[0],e[1],e[2],e[3]),1387855156:e=>new a.IfcBoundaryNodeCondition(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),2069777674:e=>new a.IfcBoundaryNodeConditionWarping(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),2859738748:e=>new a.IfcConnectionGeometry,2614616156:e=>new a.IfcConnectionPointGeometry(e[0],e[1]),2732653382:e=>new a.IfcConnectionSurfaceGeometry(e[0],e[1]),775493141:e=>new a.IfcConnectionVolumeGeometry(e[0],e[1]),1959218052:e=>new a.IfcConstraint(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),1785450214:e=>new a.IfcCoordinateOperation(e[0],e[1]),1466758467:e=>new a.IfcCoordinateReferenceSystem(e[0],e[1],e[2]),602808272:e=>new a.IfcCostValue(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1765591967:e=>new a.IfcDerivedUnit(e[0],e[1],e[2],e[3]),1045800335:e=>new a.IfcDerivedUnitElement(e[0],e[1]),2949456006:e=>new a.IfcDimensionalExponents(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),4294318154:e=>new a.IfcExternalInformation,3200245327:e=>new a.IfcExternalReference(e[0],e[1],e[2]),2242383968:e=>new a.IfcExternallyDefinedHatchStyle(e[0],e[1],e[2]),1040185647:e=>new a.IfcExternallyDefinedSurfaceStyle(e[0],e[1],e[2]),3548104201:e=>new a.IfcExternallyDefinedTextFont(e[0],e[1],e[2]),917726184:e=>new a.IfcGeographicCRS(e[0],e[1],e[2],e[3],e[4],e[5]),852622518:e=>new a.IfcGridAxis(e[0],e[1],e[2]),3020489413:e=>new a.IfcIrregularTimeSeriesValue(e[0],e[1]),2655187982:e=>new a.IfcLibraryInformation(e[0],e[1],e[2],e[3],e[4],e[5]),3452421091:e=>new a.IfcLibraryReference(e[0],e[1],e[2],e[3],e[4],e[5]),4162380809:e=>new a.IfcLightDistributionData(e[0],e[1],e[2]),1566485204:e=>new a.IfcLightIntensityDistribution(e[0],e[1]),3057273783:e=>new a.IfcMapConversion(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),4105526436:e=>new a.IfcMapConversionScaled(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10]),1847130766:e=>new a.IfcMaterialClassificationRelationship(e[0],e[1]),760658860:e=>new a.IfcMaterialDefinition,248100487:e=>new a.IfcMaterialLayer(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),3303938423:e=>new a.IfcMaterialLayerSet(e[0],e[1],e[2]),1847252529:e=>new a.IfcMaterialLayerWithOffsets(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2199411900:e=>new a.IfcMaterialList(e[0]),2235152071:e=>new a.IfcMaterialProfile(e[0],e[1],e[2],e[3],e[4],e[5]),164193824:e=>new a.IfcMaterialProfileSet(e[0],e[1],e[2],e[3]),552965576:e=>new a.IfcMaterialProfileWithOffsets(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),1507914824:e=>new a.IfcMaterialUsageDefinition,2597039031:e=>new a.IfcMeasureWithUnit(e[0],e[1]),3368373690:e=>new a.IfcMetric(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10]),2706619895:e=>new a.IfcMonetaryUnit(e[0]),1918398963:e=>new a.IfcNamedUnit(e[0],e[1]),3701648758:e=>new a.IfcObjectPlacement(e[0]),2251480897:e=>new a.IfcObjective(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10]),4251960020:e=>new a.IfcOrganization(e[0],e[1],e[2],e[3],e[4]),1207048766:e=>new a.IfcOwnerHistory(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),2077209135:e=>new a.IfcPerson(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),101040310:e=>new a.IfcPersonAndOrganization(e[0],e[1],e[2]),2483315170:e=>new a.IfcPhysicalQuantity(e[0],e[1]),2226359599:e=>new a.IfcPhysicalSimpleQuantity(e[0],e[1],e[2]),3355820592:e=>new a.IfcPostalAddress(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),677532197:e=>new a.IfcPresentationItem,2022622350:e=>new a.IfcPresentationLayerAssignment(e[0],e[1],e[2],e[3]),1304840413:e=>new a.IfcPresentationLayerWithStyle(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),3119450353:e=>new a.IfcPresentationStyle(e[0]),2095639259:e=>new a.IfcProductRepresentation(e[0],e[1],e[2]),3958567839:e=>new a.IfcProfileDef(e[0],e[1]),3843373140:e=>new a.IfcProjectedCRS(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),986844984:e=>new a.IfcPropertyAbstraction,3710013099:e=>new a.IfcPropertyEnumeration(e[0],e[1],e[2]),2044713172:e=>new a.IfcQuantityArea(e[0],e[1],e[2],e[3],e[4]),2093928680:e=>new a.IfcQuantityCount(e[0],e[1],e[2],e[3],e[4]),931644368:e=>new a.IfcQuantityLength(e[0],e[1],e[2],e[3],e[4]),2691318326:e=>new a.IfcQuantityNumber(e[0],e[1],e[2],e[3],e[4]),3252649465:e=>new a.IfcQuantityTime(e[0],e[1],e[2],e[3],e[4]),2405470396:e=>new a.IfcQuantityVolume(e[0],e[1],e[2],e[3],e[4]),825690147:e=>new a.IfcQuantityWeight(e[0],e[1],e[2],e[3],e[4]),3915482550:e=>new a.IfcRecurrencePattern(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),2433181523:e=>new a.IfcReference(e[0],e[1],e[2],e[3],e[4]),1076942058:e=>new a.IfcRepresentation(e[0],e[1],e[2],e[3]),3377609919:e=>new a.IfcRepresentationContext(e[0],e[1]),3008791417:e=>new a.IfcRepresentationItem,1660063152:e=>new a.IfcRepresentationMap(e[0],e[1]),2439245199:e=>new a.IfcResourceLevelRelationship(e[0],e[1]),1794013214:e=>new a.IfcRigidOperation(e[0],e[1],e[2],e[3],e[4]),2341007311:e=>new a.IfcRoot(e[0],e[1],e[2],e[3]),448429030:e=>new a.IfcSIUnit(e[0],e[1],e[2]),1054537805:e=>new a.IfcSchedulingTime(e[0],e[1],e[2]),867548509:e=>new a.IfcShapeAspect(e[0],e[1],e[2],e[3],e[4]),3982875396:e=>new a.IfcShapeModel(e[0],e[1],e[2],e[3]),4240577450:e=>new a.IfcShapeRepresentation(e[0],e[1],e[2],e[3]),2273995522:e=>new a.IfcStructuralConnectionCondition(e[0]),2162789131:e=>new a.IfcStructuralLoad(e[0]),3478079324:e=>new a.IfcStructuralLoadConfiguration(e[0],e[1],e[2]),609421318:e=>new a.IfcStructuralLoadOrResult(e[0]),2525727697:e=>new a.IfcStructuralLoadStatic(e[0]),3408363356:e=>new a.IfcStructuralLoadTemperature(e[0],e[1],e[2],e[3]),2830218821:e=>new a.IfcStyleModel(e[0],e[1],e[2],e[3]),3958052878:e=>new a.IfcStyledItem(e[0],e[1],e[2]),3049322572:e=>new a.IfcStyledRepresentation(e[0],e[1],e[2],e[3]),2934153892:e=>new a.IfcSurfaceReinforcementArea(e[0],e[1],e[2],e[3]),1300840506:e=>new a.IfcSurfaceStyle(e[0],e[1],e[2]),3303107099:e=>new a.IfcSurfaceStyleLighting(e[0],e[1],e[2],e[3]),1607154358:e=>new a.IfcSurfaceStyleRefraction(e[0],e[1]),846575682:e=>new a.IfcSurfaceStyleShading(e[0],e[1]),1351298697:e=>new a.IfcSurfaceStyleWithTextures(e[0]),626085974:e=>new a.IfcSurfaceTexture(e[0],e[1],e[2],e[3],e[4]),985171141:e=>new a.IfcTable(e[0],e[1],e[2]),2043862942:e=>new a.IfcTableColumn(e[0],e[1],e[2],e[3],e[4]),531007025:e=>new a.IfcTableRow(e[0],e[1]),1549132990:e=>new a.IfcTaskTime(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15],e[16],e[17],e[18],e[19]),2771591690:e=>new a.IfcTaskTimeRecurring(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15],e[16],e[17],e[18],e[19],e[20]),912023232:e=>new a.IfcTelecomAddress(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1447204868:e=>new a.IfcTextStyle(e[0],e[1],e[2],e[3],e[4]),2636378356:e=>new a.IfcTextStyleForDefinedFont(e[0],e[1]),1640371178:e=>new a.IfcTextStyleTextModel(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),280115917:e=>new a.IfcTextureCoordinate(e[0]),1742049831:e=>new a.IfcTextureCoordinateGenerator(e[0],e[1],e[2]),222769930:e=>new a.IfcTextureCoordinateIndices(e[0],e[1]),1010789467:e=>new a.IfcTextureCoordinateIndicesWithVoids(e[0],e[1],e[2]),2552916305:e=>new a.IfcTextureMap(e[0],e[1],e[2]),1210645708:e=>new a.IfcTextureVertex(e[0]),3611470254:e=>new a.IfcTextureVertexList(e[0]),1199560280:e=>new a.IfcTimePeriod(e[0],e[1]),3101149627:e=>new a.IfcTimeSeries(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),581633288:e=>new a.IfcTimeSeriesValue(e[0]),1377556343:e=>new a.IfcTopologicalRepresentationItem,1735638870:e=>new a.IfcTopologyRepresentation(e[0],e[1],e[2],e[3]),180925521:e=>new a.IfcUnitAssignment(e[0]),2799835756:e=>new a.IfcVertex,1907098498:e=>new a.IfcVertexPoint(e[0]),891718957:e=>new a.IfcVirtualGridIntersection(e[0],e[1]),1175146630:e=>new a.IfcWellKnownText(e[0],e[1]),1236880293:e=>new a.IfcWorkTime(e[0],e[1],e[2],e[3],e[4],e[5]),3752311538:e=>new a.IfcAlignmentCantSegment(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),536804194:e=>new a.IfcAlignmentHorizontalSegment(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3869604511:e=>new a.IfcApprovalRelationship(e[0],e[1],e[2],e[3]),3798115385:e=>new a.IfcArbitraryClosedProfileDef(e[0],e[1],e[2]),1310608509:e=>new a.IfcArbitraryOpenProfileDef(e[0],e[1],e[2]),2705031697:e=>new a.IfcArbitraryProfileDefWithVoids(e[0],e[1],e[2],e[3]),616511568:e=>new a.IfcBlobTexture(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),3150382593:e=>new a.IfcCenterLineProfileDef(e[0],e[1],e[2],e[3]),747523909:e=>new a.IfcClassification(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),647927063:e=>new a.IfcClassificationReference(e[0],e[1],e[2],e[3],e[4],e[5]),3285139300:e=>new a.IfcColourRgbList(e[0]),3264961684:e=>new a.IfcColourSpecification(e[0]),1485152156:e=>new a.IfcCompositeProfileDef(e[0],e[1],e[2],e[3]),370225590:e=>new a.IfcConnectedFaceSet(e[0]),1981873012:e=>new a.IfcConnectionCurveGeometry(e[0],e[1]),45288368:e=>new a.IfcConnectionPointEccentricity(e[0],e[1],e[2],e[3],e[4]),3050246964:e=>new a.IfcContextDependentUnit(e[0],e[1],e[2]),2889183280:e=>new a.IfcConversionBasedUnit(e[0],e[1],e[2],e[3]),2713554722:e=>new a.IfcConversionBasedUnitWithOffset(e[0],e[1],e[2],e[3],e[4]),539742890:e=>new a.IfcCurrencyRelationship(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),3800577675:e=>new a.IfcCurveStyle(e[0],e[1],e[2],e[3],e[4]),1105321065:e=>new a.IfcCurveStyleFont(e[0],e[1]),2367409068:e=>new a.IfcCurveStyleFontAndScaling(e[0],e[1],e[2]),3510044353:e=>new a.IfcCurveStyleFontPattern(e[0],e[1]),3632507154:e=>new a.IfcDerivedProfileDef(e[0],e[1],e[2],e[3],e[4]),1154170062:e=>new a.IfcDocumentInformation(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15],e[16]),770865208:e=>new a.IfcDocumentInformationRelationship(e[0],e[1],e[2],e[3],e[4]),3732053477:e=>new a.IfcDocumentReference(e[0],e[1],e[2],e[3],e[4]),3900360178:e=>new a.IfcEdge(e[0],e[1]),476780140:e=>new a.IfcEdgeCurve(e[0],e[1],e[2],e[3]),211053100:e=>new a.IfcEventTime(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),297599258:e=>new a.IfcExtendedProperties(e[0],e[1],e[2]),1437805879:e=>new a.IfcExternalReferenceRelationship(e[0],e[1],e[2],e[3]),2556980723:e=>new a.IfcFace(e[0]),1809719519:e=>new a.IfcFaceBound(e[0],e[1]),803316827:e=>new a.IfcFaceOuterBound(e[0],e[1]),3008276851:e=>new a.IfcFaceSurface(e[0],e[1],e[2]),4219587988:e=>new a.IfcFailureConnectionCondition(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),738692330:e=>new a.IfcFillAreaStyle(e[0],e[1],e[2]),3448662350:e=>new a.IfcGeometricRepresentationContext(e[0],e[1],e[2],e[3],e[4],e[5]),2453401579:e=>new a.IfcGeometricRepresentationItem,4142052618:e=>new a.IfcGeometricRepresentationSubContext(e[0],e[1],e[2],e[3],e[4],e[5]),3590301190:e=>new a.IfcGeometricSet(e[0]),178086475:e=>new a.IfcGridPlacement(e[0],e[1],e[2]),812098782:e=>new a.IfcHalfSpaceSolid(e[0],e[1]),3905492369:e=>new a.IfcImageTexture(e[0],e[1],e[2],e[3],e[4],e[5]),3570813810:e=>new a.IfcIndexedColourMap(e[0],e[1],e[2],e[3]),1437953363:e=>new a.IfcIndexedTextureMap(e[0],e[1],e[2]),2133299955:e=>new a.IfcIndexedTriangleTextureMap(e[0],e[1],e[2],e[3]),3741457305:e=>new a.IfcIrregularTimeSeries(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1585845231:e=>new a.IfcLagTime(e[0],e[1],e[2],e[3],e[4]),1402838566:e=>new a.IfcLightSource(e[0],e[1],e[2],e[3]),125510826:e=>new a.IfcLightSourceAmbient(e[0],e[1],e[2],e[3]),2604431987:e=>new a.IfcLightSourceDirectional(e[0],e[1],e[2],e[3],e[4]),4266656042:e=>new a.IfcLightSourceGoniometric(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1520743889:e=>new a.IfcLightSourcePositional(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3422422726:e=>new a.IfcLightSourceSpot(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12]),388784114:e=>new a.IfcLinearPlacement(e[0],e[1],e[2]),2624227202:e=>new a.IfcLocalPlacement(e[0],e[1]),1008929658:e=>new a.IfcLoop,2347385850:e=>new a.IfcMappedItem(e[0],e[1]),1838606355:e=>new a.IfcMaterial(e[0],e[1],e[2]),3708119e3:e=>new a.IfcMaterialConstituent(e[0],e[1],e[2],e[3],e[4]),2852063980:e=>new a.IfcMaterialConstituentSet(e[0],e[1],e[2]),2022407955:e=>new a.IfcMaterialDefinitionRepresentation(e[0],e[1],e[2],e[3]),1303795690:e=>new a.IfcMaterialLayerSetUsage(e[0],e[1],e[2],e[3],e[4]),3079605661:e=>new a.IfcMaterialProfileSetUsage(e[0],e[1],e[2]),3404854881:e=>new a.IfcMaterialProfileSetUsageTapering(e[0],e[1],e[2],e[3],e[4]),3265635763:e=>new a.IfcMaterialProperties(e[0],e[1],e[2],e[3]),853536259:e=>new a.IfcMaterialRelationship(e[0],e[1],e[2],e[3],e[4]),2998442950:e=>new a.IfcMirroredProfileDef(e[0],e[1],e[2],e[3]),219451334:e=>new a.IfcObjectDefinition(e[0],e[1],e[2],e[3]),182550632:e=>new a.IfcOpenCrossProfileDef(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),2665983363:e=>new a.IfcOpenShell(e[0]),1411181986:e=>new a.IfcOrganizationRelationship(e[0],e[1],e[2],e[3]),1029017970:e=>new a.IfcOrientedEdge(e[0],e[1]),2529465313:e=>new a.IfcParameterizedProfileDef(e[0],e[1],e[2]),2519244187:e=>new a.IfcPath(e[0]),3021840470:e=>new a.IfcPhysicalComplexQuantity(e[0],e[1],e[2],e[3],e[4],e[5]),597895409:e=>new a.IfcPixelTexture(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2004835150:e=>new a.IfcPlacement(e[0]),1663979128:e=>new a.IfcPlanarExtent(e[0],e[1]),2067069095:e=>new a.IfcPoint,2165702409:e=>new a.IfcPointByDistanceExpression(e[0],e[1],e[2],e[3],e[4]),4022376103:e=>new a.IfcPointOnCurve(e[0],e[1]),1423911732:e=>new a.IfcPointOnSurface(e[0],e[1],e[2]),2924175390:e=>new a.IfcPolyLoop(e[0]),2775532180:e=>new a.IfcPolygonalBoundedHalfSpace(e[0],e[1],e[2],e[3]),3727388367:e=>new a.IfcPreDefinedItem(e[0]),3778827333:e=>new a.IfcPreDefinedProperties,1775413392:e=>new a.IfcPreDefinedTextFont(e[0]),673634403:e=>new a.IfcProductDefinitionShape(e[0],e[1],e[2]),2802850158:e=>new a.IfcProfileProperties(e[0],e[1],e[2],e[3]),2598011224:e=>new a.IfcProperty(e[0],e[1]),1680319473:e=>new a.IfcPropertyDefinition(e[0],e[1],e[2],e[3]),148025276:e=>new a.IfcPropertyDependencyRelationship(e[0],e[1],e[2],e[3],e[4]),3357820518:e=>new a.IfcPropertySetDefinition(e[0],e[1],e[2],e[3]),1482703590:e=>new a.IfcPropertyTemplateDefinition(e[0],e[1],e[2],e[3]),2090586900:e=>new a.IfcQuantitySet(e[0],e[1],e[2],e[3]),3615266464:e=>new a.IfcRectangleProfileDef(e[0],e[1],e[2],e[3],e[4]),3413951693:e=>new a.IfcRegularTimeSeries(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1580146022:e=>new a.IfcReinforcementBarProperties(e[0],e[1],e[2],e[3],e[4],e[5]),478536968:e=>new a.IfcRelationship(e[0],e[1],e[2],e[3]),2943643501:e=>new a.IfcResourceApprovalRelationship(e[0],e[1],e[2],e[3]),1608871552:e=>new a.IfcResourceConstraintRelationship(e[0],e[1],e[2],e[3]),1042787934:e=>new a.IfcResourceTime(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15],e[16],e[17]),2778083089:e=>new a.IfcRoundedRectangleProfileDef(e[0],e[1],e[2],e[3],e[4],e[5]),2042790032:e=>new a.IfcSectionProperties(e[0],e[1],e[2]),4165799628:e=>new a.IfcSectionReinforcementProperties(e[0],e[1],e[2],e[3],e[4],e[5]),1509187699:e=>new a.IfcSectionedSpine(e[0],e[1],e[2]),823603102:e=>new a.IfcSegment(e[0]),4124623270:e=>new a.IfcShellBasedSurfaceModel(e[0]),3692461612:e=>new a.IfcSimpleProperty(e[0],e[1]),2609359061:e=>new a.IfcSlippageConnectionCondition(e[0],e[1],e[2],e[3]),723233188:e=>new a.IfcSolidModel,1595516126:e=>new a.IfcStructuralLoadLinearForce(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),2668620305:e=>new a.IfcStructuralLoadPlanarForce(e[0],e[1],e[2],e[3]),2473145415:e=>new a.IfcStructuralLoadSingleDisplacement(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),1973038258:e=>new a.IfcStructuralLoadSingleDisplacementDistortion(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),1597423693:e=>new a.IfcStructuralLoadSingleForce(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),1190533807:e=>new a.IfcStructuralLoadSingleForceWarping(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),2233826070:e=>new a.IfcSubedge(e[0],e[1],e[2]),2513912981:e=>new a.IfcSurface,1878645084:e=>new a.IfcSurfaceStyleRendering(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2247615214:e=>new a.IfcSweptAreaSolid(e[0],e[1]),1260650574:e=>new a.IfcSweptDiskSolid(e[0],e[1],e[2],e[3],e[4]),1096409881:e=>new a.IfcSweptDiskSolidPolygonal(e[0],e[1],e[2],e[3],e[4],e[5]),230924584:e=>new a.IfcSweptSurface(e[0],e[1]),3071757647:e=>new a.IfcTShapeProfileDef(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11]),901063453:e=>new a.IfcTessellatedItem,4282788508:e=>new a.IfcTextLiteral(e[0],e[1],e[2]),3124975700:e=>new a.IfcTextLiteralWithExtent(e[0],e[1],e[2],e[3],e[4]),1983826977:e=>new a.IfcTextStyleFontModel(e[0],e[1],e[2],e[3],e[4],e[5]),2715220739:e=>new a.IfcTrapeziumProfileDef(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),1628702193:e=>new a.IfcTypeObject(e[0],e[1],e[2],e[3],e[4],e[5]),3736923433:e=>new a.IfcTypeProcess(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2347495698:e=>new a.IfcTypeProduct(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),3698973494:e=>new a.IfcTypeResource(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),427810014:e=>new a.IfcUShapeProfileDef(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1417489154:e=>new a.IfcVector(e[0],e[1]),2759199220:e=>new a.IfcVertexLoop(e[0]),2543172580:e=>new a.IfcZShapeProfileDef(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3406155212:e=>new a.IfcAdvancedFace(e[0],e[1],e[2]),669184980:e=>new a.IfcAnnotationFillArea(e[0],e[1]),3207858831:e=>new a.IfcAsymmetricIShapeProfileDef(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14]),4261334040:e=>new a.IfcAxis1Placement(e[0],e[1]),3125803723:e=>new a.IfcAxis2Placement2D(e[0],e[1]),2740243338:e=>new a.IfcAxis2Placement3D(e[0],e[1],e[2]),3425423356:e=>new a.IfcAxis2PlacementLinear(e[0],e[1],e[2]),2736907675:e=>new a.IfcBooleanResult(e[0],e[1],e[2]),4182860854:e=>new a.IfcBoundedSurface,2581212453:e=>new a.IfcBoundingBox(e[0],e[1],e[2],e[3]),2713105998:e=>new a.IfcBoxedHalfSpace(e[0],e[1],e[2]),2898889636:e=>new a.IfcCShapeProfileDef(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),1123145078:e=>new a.IfcCartesianPoint(e[0]),574549367:e=>new a.IfcCartesianPointList,1675464909:e=>new a.IfcCartesianPointList2D(e[0],e[1]),2059837836:e=>new a.IfcCartesianPointList3D(e[0],e[1]),59481748:e=>new a.IfcCartesianTransformationOperator(e[0],e[1],e[2],e[3]),3749851601:e=>new a.IfcCartesianTransformationOperator2D(e[0],e[1],e[2],e[3]),3486308946:e=>new a.IfcCartesianTransformationOperator2DnonUniform(e[0],e[1],e[2],e[3],e[4]),3331915920:e=>new a.IfcCartesianTransformationOperator3D(e[0],e[1],e[2],e[3],e[4]),1416205885:e=>new a.IfcCartesianTransformationOperator3DnonUniform(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),1383045692:e=>new a.IfcCircleProfileDef(e[0],e[1],e[2],e[3]),2205249479:e=>new a.IfcClosedShell(e[0]),776857604:e=>new a.IfcColourRgb(e[0],e[1],e[2],e[3]),2542286263:e=>new a.IfcComplexProperty(e[0],e[1],e[2],e[3]),2485617015:e=>new a.IfcCompositeCurveSegment(e[0],e[1],e[2]),2574617495:e=>new a.IfcConstructionResourceType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10]),3419103109:e=>new a.IfcContext(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1815067380:e=>new a.IfcCrewResourceType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11]),2506170314:e=>new a.IfcCsgPrimitive3D(e[0]),2147822146:e=>new a.IfcCsgSolid(e[0]),2601014836:e=>new a.IfcCurve,2827736869:e=>new a.IfcCurveBoundedPlane(e[0],e[1],e[2]),2629017746:e=>new a.IfcCurveBoundedSurface(e[0],e[1],e[2]),4212018352:e=>new a.IfcCurveSegment(e[0],e[1],e[2],e[3],e[4]),32440307:e=>new a.IfcDirection(e[0]),593015953:e=>new a.IfcDirectrixCurveSweptAreaSolid(e[0],e[1],e[2],e[3],e[4]),1472233963:e=>new a.IfcEdgeLoop(e[0]),1883228015:e=>new a.IfcElementQuantity(e[0],e[1],e[2],e[3],e[4],e[5]),339256511:e=>new a.IfcElementType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2777663545:e=>new a.IfcElementarySurface(e[0]),2835456948:e=>new a.IfcEllipseProfileDef(e[0],e[1],e[2],e[3],e[4]),4024345920:e=>new a.IfcEventType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11]),477187591:e=>new a.IfcExtrudedAreaSolid(e[0],e[1],e[2],e[3]),2804161546:e=>new a.IfcExtrudedAreaSolidTapered(e[0],e[1],e[2],e[3],e[4]),2047409740:e=>new a.IfcFaceBasedSurfaceModel(e[0]),374418227:e=>new a.IfcFillAreaStyleHatching(e[0],e[1],e[2],e[3],e[4]),315944413:e=>new a.IfcFillAreaStyleTiles(e[0],e[1],e[2]),2652556860:e=>new a.IfcFixedReferenceSweptAreaSolid(e[0],e[1],e[2],e[3],e[4],e[5]),4238390223:e=>new a.IfcFurnishingElementType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1268542332:e=>new a.IfcFurnitureType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10]),4095422895:e=>new a.IfcGeographicElementType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),987898635:e=>new a.IfcGeometricCurveSet(e[0]),1484403080:e=>new a.IfcIShapeProfileDef(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),178912537:e=>new a.IfcIndexedPolygonalFace(e[0]),2294589976:e=>new a.IfcIndexedPolygonalFaceWithVoids(e[0],e[1]),3465909080:e=>new a.IfcIndexedPolygonalTextureMap(e[0],e[1],e[2],e[3]),572779678:e=>new a.IfcLShapeProfileDef(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),428585644:e=>new a.IfcLaborResourceType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11]),1281925730:e=>new a.IfcLine(e[0],e[1]),1425443689:e=>new a.IfcManifoldSolidBrep(e[0]),3888040117:e=>new a.IfcObject(e[0],e[1],e[2],e[3],e[4]),590820931:e=>new a.IfcOffsetCurve(e[0]),3388369263:e=>new a.IfcOffsetCurve2D(e[0],e[1],e[2]),3505215534:e=>new a.IfcOffsetCurve3D(e[0],e[1],e[2],e[3]),2485787929:e=>new a.IfcOffsetCurveByDistances(e[0],e[1],e[2]),1682466193:e=>new a.IfcPcurve(e[0],e[1]),603570806:e=>new a.IfcPlanarBox(e[0],e[1],e[2]),220341763:e=>new a.IfcPlane(e[0]),3381221214:e=>new a.IfcPolynomialCurve(e[0],e[1],e[2],e[3]),759155922:e=>new a.IfcPreDefinedColour(e[0]),2559016684:e=>new a.IfcPreDefinedCurveFont(e[0]),3967405729:e=>new a.IfcPreDefinedPropertySet(e[0],e[1],e[2],e[3]),569719735:e=>new a.IfcProcedureType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2945172077:e=>new a.IfcProcess(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),4208778838:e=>new a.IfcProduct(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),103090709:e=>new a.IfcProject(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),653396225:e=>new a.IfcProjectLibrary(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),871118103:e=>new a.IfcPropertyBoundedValue(e[0],e[1],e[2],e[3],e[4],e[5]),4166981789:e=>new a.IfcPropertyEnumeratedValue(e[0],e[1],e[2],e[3]),2752243245:e=>new a.IfcPropertyListValue(e[0],e[1],e[2],e[3]),941946838:e=>new a.IfcPropertyReferenceValue(e[0],e[1],e[2],e[3]),1451395588:e=>new a.IfcPropertySet(e[0],e[1],e[2],e[3],e[4]),492091185:e=>new a.IfcPropertySetTemplate(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),3650150729:e=>new a.IfcPropertySingleValue(e[0],e[1],e[2],e[3]),110355661:e=>new a.IfcPropertyTableValue(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),3521284610:e=>new a.IfcPropertyTemplate(e[0],e[1],e[2],e[3]),2770003689:e=>new a.IfcRectangleHollowProfileDef(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),2798486643:e=>new a.IfcRectangularPyramid(e[0],e[1],e[2],e[3]),3454111270:e=>new a.IfcRectangularTrimmedSurface(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),3765753017:e=>new a.IfcReinforcementDefinitionProperties(e[0],e[1],e[2],e[3],e[4],e[5]),3939117080:e=>new a.IfcRelAssigns(e[0],e[1],e[2],e[3],e[4],e[5]),1683148259:e=>new a.IfcRelAssignsToActor(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),2495723537:e=>new a.IfcRelAssignsToControl(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),1307041759:e=>new a.IfcRelAssignsToGroup(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),1027710054:e=>new a.IfcRelAssignsToGroupByFactor(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),4278684876:e=>new a.IfcRelAssignsToProcess(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),2857406711:e=>new a.IfcRelAssignsToProduct(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),205026976:e=>new a.IfcRelAssignsToResource(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),1865459582:e=>new a.IfcRelAssociates(e[0],e[1],e[2],e[3],e[4]),4095574036:e=>new a.IfcRelAssociatesApproval(e[0],e[1],e[2],e[3],e[4],e[5]),919958153:e=>new a.IfcRelAssociatesClassification(e[0],e[1],e[2],e[3],e[4],e[5]),2728634034:e=>new a.IfcRelAssociatesConstraint(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),982818633:e=>new a.IfcRelAssociatesDocument(e[0],e[1],e[2],e[3],e[4],e[5]),3840914261:e=>new a.IfcRelAssociatesLibrary(e[0],e[1],e[2],e[3],e[4],e[5]),2655215786:e=>new a.IfcRelAssociatesMaterial(e[0],e[1],e[2],e[3],e[4],e[5]),1033248425:e=>new a.IfcRelAssociatesProfileDef(e[0],e[1],e[2],e[3],e[4],e[5]),826625072:e=>new a.IfcRelConnects(e[0],e[1],e[2],e[3]),1204542856:e=>new a.IfcRelConnectsElements(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),3945020480:e=>new a.IfcRelConnectsPathElements(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10]),4201705270:e=>new a.IfcRelConnectsPortToElement(e[0],e[1],e[2],e[3],e[4],e[5]),3190031847:e=>new a.IfcRelConnectsPorts(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),2127690289:e=>new a.IfcRelConnectsStructuralActivity(e[0],e[1],e[2],e[3],e[4],e[5]),1638771189:e=>new a.IfcRelConnectsStructuralMember(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),504942748:e=>new a.IfcRelConnectsWithEccentricity(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10]),3678494232:e=>new a.IfcRelConnectsWithRealizingElements(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3242617779:e=>new a.IfcRelContainedInSpatialStructure(e[0],e[1],e[2],e[3],e[4],e[5]),886880790:e=>new a.IfcRelCoversBldgElements(e[0],e[1],e[2],e[3],e[4],e[5]),2802773753:e=>new a.IfcRelCoversSpaces(e[0],e[1],e[2],e[3],e[4],e[5]),2565941209:e=>new a.IfcRelDeclares(e[0],e[1],e[2],e[3],e[4],e[5]),2551354335:e=>new a.IfcRelDecomposes(e[0],e[1],e[2],e[3]),693640335:e=>new a.IfcRelDefines(e[0],e[1],e[2],e[3]),1462361463:e=>new a.IfcRelDefinesByObject(e[0],e[1],e[2],e[3],e[4],e[5]),4186316022:e=>new a.IfcRelDefinesByProperties(e[0],e[1],e[2],e[3],e[4],e[5]),307848117:e=>new a.IfcRelDefinesByTemplate(e[0],e[1],e[2],e[3],e[4],e[5]),781010003:e=>new a.IfcRelDefinesByType(e[0],e[1],e[2],e[3],e[4],e[5]),3940055652:e=>new a.IfcRelFillsElement(e[0],e[1],e[2],e[3],e[4],e[5]),279856033:e=>new a.IfcRelFlowControlElements(e[0],e[1],e[2],e[3],e[4],e[5]),427948657:e=>new a.IfcRelInterferesElements(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),3268803585:e=>new a.IfcRelNests(e[0],e[1],e[2],e[3],e[4],e[5]),1441486842:e=>new a.IfcRelPositions(e[0],e[1],e[2],e[3],e[4],e[5]),750771296:e=>new a.IfcRelProjectsElement(e[0],e[1],e[2],e[3],e[4],e[5]),1245217292:e=>new a.IfcRelReferencedInSpatialStructure(e[0],e[1],e[2],e[3],e[4],e[5]),4122056220:e=>new a.IfcRelSequence(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),366585022:e=>new a.IfcRelServicesBuildings(e[0],e[1],e[2],e[3],e[4],e[5]),3451746338:e=>new a.IfcRelSpaceBoundary(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3523091289:e=>new a.IfcRelSpaceBoundary1stLevel(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1521410863:e=>new a.IfcRelSpaceBoundary2ndLevel(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10]),1401173127:e=>new a.IfcRelVoidsElement(e[0],e[1],e[2],e[3],e[4],e[5]),816062949:e=>new a.IfcReparametrisedCompositeCurveSegment(e[0],e[1],e[2],e[3]),2914609552:e=>new a.IfcResource(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),1856042241:e=>new a.IfcRevolvedAreaSolid(e[0],e[1],e[2],e[3]),3243963512:e=>new a.IfcRevolvedAreaSolidTapered(e[0],e[1],e[2],e[3],e[4]),4158566097:e=>new a.IfcRightCircularCone(e[0],e[1],e[2]),3626867408:e=>new a.IfcRightCircularCylinder(e[0],e[1],e[2]),1862484736:e=>new a.IfcSectionedSolid(e[0],e[1]),1290935644:e=>new a.IfcSectionedSolidHorizontal(e[0],e[1],e[2]),1356537516:e=>new a.IfcSectionedSurface(e[0],e[1],e[2]),3663146110:e=>new a.IfcSimplePropertyTemplate(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11]),1412071761:e=>new a.IfcSpatialElement(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),710998568:e=>new a.IfcSpatialElementType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2706606064:e=>new a.IfcSpatialStructureElement(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3893378262:e=>new a.IfcSpatialStructureElementType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),463610769:e=>new a.IfcSpatialZone(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2481509218:e=>new a.IfcSpatialZoneType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10]),451544542:e=>new a.IfcSphere(e[0],e[1]),4015995234:e=>new a.IfcSphericalSurface(e[0],e[1]),2735484536:e=>new a.IfcSpiral(e[0]),3544373492:e=>new a.IfcStructuralActivity(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3136571912:e=>new a.IfcStructuralItem(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),530289379:e=>new a.IfcStructuralMember(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),3689010777:e=>new a.IfcStructuralReaction(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3979015343:e=>new a.IfcStructuralSurfaceMember(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2218152070:e=>new a.IfcStructuralSurfaceMemberVarying(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),603775116:e=>new a.IfcStructuralSurfaceReaction(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),4095615324:e=>new a.IfcSubContractResourceType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11]),699246055:e=>new a.IfcSurfaceCurve(e[0],e[1],e[2]),2028607225:e=>new a.IfcSurfaceCurveSweptAreaSolid(e[0],e[1],e[2],e[3],e[4],e[5]),2809605785:e=>new a.IfcSurfaceOfLinearExtrusion(e[0],e[1],e[2],e[3]),4124788165:e=>new a.IfcSurfaceOfRevolution(e[0],e[1],e[2]),1580310250:e=>new a.IfcSystemFurnitureElementType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),3473067441:e=>new a.IfcTask(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12]),3206491090:e=>new a.IfcTaskType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10]),2387106220:e=>new a.IfcTessellatedFaceSet(e[0]),782932809:e=>new a.IfcThirdOrderPolynomialSpiral(e[0],e[1],e[2],e[3],e[4]),1935646853:e=>new a.IfcToroidalSurface(e[0],e[1],e[2]),3665877780:e=>new a.IfcTransportationDeviceType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2916149573:e=>new a.IfcTriangulatedFaceSet(e[0],e[1],e[2],e[3],e[4]),1229763772:e=>new a.IfcTriangulatedIrregularNetwork(e[0],e[1],e[2],e[3],e[4],e[5]),3651464721:e=>new a.IfcVehicleType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),336235671:e=>new a.IfcWindowLiningProperties(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15]),512836454:e=>new a.IfcWindowPanelProperties(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2296667514:e=>new a.IfcActor(e[0],e[1],e[2],e[3],e[4],e[5]),1635779807:e=>new a.IfcAdvancedBrep(e[0]),2603310189:e=>new a.IfcAdvancedBrepWithVoids(e[0],e[1]),1674181508:e=>new a.IfcAnnotation(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),2887950389:e=>new a.IfcBSplineSurface(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),167062518:e=>new a.IfcBSplineSurfaceWithKnots(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11]),1334484129:e=>new a.IfcBlock(e[0],e[1],e[2],e[3]),3649129432:e=>new a.IfcBooleanClippingResult(e[0],e[1],e[2]),1260505505:e=>new a.IfcBoundedCurve,3124254112:e=>new a.IfcBuildingStorey(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1626504194:e=>new a.IfcBuiltElementType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2197970202:e=>new a.IfcChimneyType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2937912522:e=>new a.IfcCircleHollowProfileDef(e[0],e[1],e[2],e[3],e[4]),3893394355:e=>new a.IfcCivilElementType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3497074424:e=>new a.IfcClothoid(e[0],e[1]),300633059:e=>new a.IfcColumnType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),3875453745:e=>new a.IfcComplexPropertyTemplate(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),3732776249:e=>new a.IfcCompositeCurve(e[0],e[1]),15328376:e=>new a.IfcCompositeCurveOnSurface(e[0],e[1]),2510884976:e=>new a.IfcConic(e[0]),2185764099:e=>new a.IfcConstructionEquipmentResourceType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11]),4105962743:e=>new a.IfcConstructionMaterialResourceType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11]),1525564444:e=>new a.IfcConstructionProductResourceType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11]),2559216714:e=>new a.IfcConstructionResource(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),3293443760:e=>new a.IfcControl(e[0],e[1],e[2],e[3],e[4],e[5]),2000195564:e=>new a.IfcCosineSpiral(e[0],e[1],e[2]),3895139033:e=>new a.IfcCostItem(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1419761937:e=>new a.IfcCostSchedule(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),4189326743:e=>new a.IfcCourseType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1916426348:e=>new a.IfcCoveringType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),3295246426:e=>new a.IfcCrewResource(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10]),1457835157:e=>new a.IfcCurtainWallType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1213902940:e=>new a.IfcCylindricalSurface(e[0],e[1]),1306400036:e=>new a.IfcDeepFoundationType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),4234616927:e=>new a.IfcDirectrixDerivedReferenceSweptAreaSolid(e[0],e[1],e[2],e[3],e[4],e[5]),3256556792:e=>new a.IfcDistributionElementType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3849074793:e=>new a.IfcDistributionFlowElementType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2963535650:e=>new a.IfcDoorLiningProperties(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15],e[16]),1714330368:e=>new a.IfcDoorPanelProperties(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2323601079:e=>new a.IfcDoorType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12]),445594917:e=>new a.IfcDraughtingPreDefinedColour(e[0]),4006246654:e=>new a.IfcDraughtingPreDefinedCurveFont(e[0]),1758889154:e=>new a.IfcElement(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),4123344466:e=>new a.IfcElementAssembly(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2397081782:e=>new a.IfcElementAssemblyType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1623761950:e=>new a.IfcElementComponent(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),2590856083:e=>new a.IfcElementComponentType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1704287377:e=>new a.IfcEllipse(e[0],e[1],e[2]),2107101300:e=>new a.IfcEnergyConversionDeviceType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),132023988:e=>new a.IfcEngineType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),3174744832:e=>new a.IfcEvaporativeCoolerType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),3390157468:e=>new a.IfcEvaporatorType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),4148101412:e=>new a.IfcEvent(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10]),2853485674:e=>new a.IfcExternalSpatialStructureElement(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),807026263:e=>new a.IfcFacetedBrep(e[0]),3737207727:e=>new a.IfcFacetedBrepWithVoids(e[0],e[1]),24185140:e=>new a.IfcFacility(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1310830890:e=>new a.IfcFacilityPart(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),4228831410:e=>new a.IfcFacilityPartCommon(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10]),647756555:e=>new a.IfcFastener(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2489546625:e=>new a.IfcFastenerType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2827207264:e=>new a.IfcFeatureElement(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),2143335405:e=>new a.IfcFeatureElementAddition(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),1287392070:e=>new a.IfcFeatureElementSubtraction(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),3907093117:e=>new a.IfcFlowControllerType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3198132628:e=>new a.IfcFlowFittingType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3815607619:e=>new a.IfcFlowMeterType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1482959167:e=>new a.IfcFlowMovingDeviceType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1834744321:e=>new a.IfcFlowSegmentType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1339347760:e=>new a.IfcFlowStorageDeviceType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2297155007:e=>new a.IfcFlowTerminalType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3009222698:e=>new a.IfcFlowTreatmentDeviceType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1893162501:e=>new a.IfcFootingType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),263784265:e=>new a.IfcFurnishingElement(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),1509553395:e=>new a.IfcFurniture(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3493046030:e=>new a.IfcGeographicElement(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),4230923436:e=>new a.IfcGeotechnicalElement(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),1594536857:e=>new a.IfcGeotechnicalStratum(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2898700619:e=>new a.IfcGradientCurve(e[0],e[1],e[2],e[3]),2706460486:e=>new a.IfcGroup(e[0],e[1],e[2],e[3],e[4]),1251058090:e=>new a.IfcHeatExchangerType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1806887404:e=>new a.IfcHumidifierType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2568555532:e=>new a.IfcImpactProtectionDevice(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3948183225:e=>new a.IfcImpactProtectionDeviceType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2571569899:e=>new a.IfcIndexedPolyCurve(e[0],e[1],e[2]),3946677679:e=>new a.IfcInterceptorType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),3113134337:e=>new a.IfcIntersectionCurve(e[0],e[1],e[2]),2391368822:e=>new a.IfcInventory(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10]),4288270099:e=>new a.IfcJunctionBoxType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),679976338:e=>new a.IfcKerbType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),3827777499:e=>new a.IfcLaborResource(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10]),1051575348:e=>new a.IfcLampType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1161773419:e=>new a.IfcLightFixtureType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2176059722:e=>new a.IfcLinearElement(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),1770583370:e=>new a.IfcLiquidTerminalType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),525669439:e=>new a.IfcMarineFacility(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),976884017:e=>new a.IfcMarinePart(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10]),377706215:e=>new a.IfcMechanicalFastener(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10]),2108223431:e=>new a.IfcMechanicalFastenerType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11]),1114901282:e=>new a.IfcMedicalDeviceType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),3181161470:e=>new a.IfcMemberType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1950438474:e=>new a.IfcMobileTelecommunicationsApplianceType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),710110818:e=>new a.IfcMooringDeviceType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),977012517:e=>new a.IfcMotorConnectionType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),506776471:e=>new a.IfcNavigationElementType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),4143007308:e=>new a.IfcOccupant(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),3588315303:e=>new a.IfcOpeningElement(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2837617999:e=>new a.IfcOutletType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),514975943:e=>new a.IfcPavementType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2382730787:e=>new a.IfcPerformanceHistory(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),3566463478:e=>new a.IfcPermeableCoveringProperties(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3327091369:e=>new a.IfcPermit(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1158309216:e=>new a.IfcPileType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),804291784:e=>new a.IfcPipeFittingType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),4231323485:e=>new a.IfcPipeSegmentType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),4017108033:e=>new a.IfcPlateType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2839578677:e=>new a.IfcPolygonalFaceSet(e[0],e[1],e[2],e[3]),3724593414:e=>new a.IfcPolyline(e[0]),3740093272:e=>new a.IfcPort(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),1946335990:e=>new a.IfcPositioningElement(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),2744685151:e=>new a.IfcProcedure(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),2904328755:e=>new a.IfcProjectOrder(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3651124850:e=>new a.IfcProjectionElement(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1842657554:e=>new a.IfcProtectiveDeviceType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2250791053:e=>new a.IfcPumpType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1763565496:e=>new a.IfcRailType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2893384427:e=>new a.IfcRailingType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),3992365140:e=>new a.IfcRailway(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1891881377:e=>new a.IfcRailwayPart(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10]),2324767716:e=>new a.IfcRampFlightType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1469900589:e=>new a.IfcRampType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),683857671:e=>new a.IfcRationalBSplineSurfaceWithKnots(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12]),4021432810:e=>new a.IfcReferent(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),3027567501:e=>new a.IfcReinforcingElement(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),964333572:e=>new a.IfcReinforcingElementType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2320036040:e=>new a.IfcReinforcingMesh(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15],e[16],e[17]),2310774935:e=>new a.IfcReinforcingMeshType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15],e[16],e[17],e[18],e[19]),3818125796:e=>new a.IfcRelAdheresToElement(e[0],e[1],e[2],e[3],e[4],e[5]),160246688:e=>new a.IfcRelAggregates(e[0],e[1],e[2],e[3],e[4],e[5]),146592293:e=>new a.IfcRoad(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),550521510:e=>new a.IfcRoadPart(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10]),2781568857:e=>new a.IfcRoofType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1768891740:e=>new a.IfcSanitaryTerminalType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2157484638:e=>new a.IfcSeamCurve(e[0],e[1],e[2]),3649235739:e=>new a.IfcSecondOrderPolynomialSpiral(e[0],e[1],e[2],e[3]),544395925:e=>new a.IfcSegmentedReferenceCurve(e[0],e[1],e[2],e[3]),1027922057:e=>new a.IfcSeventhOrderPolynomialSpiral(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),4074543187:e=>new a.IfcShadingDeviceType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),33720170:e=>new a.IfcSign(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3599934289:e=>new a.IfcSignType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1894708472:e=>new a.IfcSignalType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),42703149:e=>new a.IfcSineSpiral(e[0],e[1],e[2],e[3]),4097777520:e=>new a.IfcSite(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13]),2533589738:e=>new a.IfcSlabType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1072016465:e=>new a.IfcSolarDeviceType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),3856911033:e=>new a.IfcSpace(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10]),1305183839:e=>new a.IfcSpaceHeaterType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),3812236995:e=>new a.IfcSpaceType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10]),3112655638:e=>new a.IfcStackTerminalType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1039846685:e=>new a.IfcStairFlightType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),338393293:e=>new a.IfcStairType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),682877961:e=>new a.IfcStructuralAction(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1179482911:e=>new a.IfcStructuralConnection(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),1004757350:e=>new a.IfcStructuralCurveAction(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11]),4243806635:e=>new a.IfcStructuralCurveConnection(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),214636428:e=>new a.IfcStructuralCurveMember(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2445595289:e=>new a.IfcStructuralCurveMemberVarying(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2757150158:e=>new a.IfcStructuralCurveReaction(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1807405624:e=>new a.IfcStructuralLinearAction(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11]),1252848954:e=>new a.IfcStructuralLoadGroup(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2082059205:e=>new a.IfcStructuralPointAction(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),734778138:e=>new a.IfcStructuralPointConnection(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1235345126:e=>new a.IfcStructuralPointReaction(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2986769608:e=>new a.IfcStructuralResultGroup(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),3657597509:e=>new a.IfcStructuralSurfaceAction(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11]),1975003073:e=>new a.IfcStructuralSurfaceConnection(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),148013059:e=>new a.IfcSubContractResource(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10]),3101698114:e=>new a.IfcSurfaceFeature(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2315554128:e=>new a.IfcSwitchingDeviceType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2254336722:e=>new a.IfcSystem(e[0],e[1],e[2],e[3],e[4]),413509423:e=>new a.IfcSystemFurnitureElement(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),5716631:e=>new a.IfcTankType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),3824725483:e=>new a.IfcTendon(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15],e[16]),2347447852:e=>new a.IfcTendonAnchor(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),3081323446:e=>new a.IfcTendonAnchorType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),3663046924:e=>new a.IfcTendonConduit(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2281632017:e=>new a.IfcTendonConduitType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2415094496:e=>new a.IfcTendonType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12]),618700268:e=>new a.IfcTrackElementType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1692211062:e=>new a.IfcTransformerType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2097647324:e=>new a.IfcTransportElementType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1953115116:e=>new a.IfcTransportationDevice(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),3593883385:e=>new a.IfcTrimmedCurve(e[0],e[1],e[2],e[3],e[4]),1600972822:e=>new a.IfcTubeBundleType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1911125066:e=>new a.IfcUnitaryEquipmentType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),728799441:e=>new a.IfcValveType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),840318589:e=>new a.IfcVehicle(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1530820697:e=>new a.IfcVibrationDamper(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3956297820:e=>new a.IfcVibrationDamperType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2391383451:e=>new a.IfcVibrationIsolator(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3313531582:e=>new a.IfcVibrationIsolatorType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2769231204:e=>new a.IfcVirtualElement(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),926996030:e=>new a.IfcVoidingFeature(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1898987631:e=>new a.IfcWallType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1133259667:e=>new a.IfcWasteTerminalType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),4009809668:e=>new a.IfcWindowType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12]),4088093105:e=>new a.IfcWorkCalendar(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1028945134:e=>new a.IfcWorkControl(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12]),4218914973:e=>new a.IfcWorkPlan(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13]),3342526732:e=>new a.IfcWorkSchedule(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13]),1033361043:e=>new a.IfcZone(e[0],e[1],e[2],e[3],e[4],e[5]),3821786052:e=>new a.IfcActionRequest(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1411407467:e=>new a.IfcAirTerminalBoxType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),3352864051:e=>new a.IfcAirTerminalType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1871374353:e=>new a.IfcAirToAirHeatRecoveryType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),4266260250:e=>new a.IfcAlignmentCant(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),1545765605:e=>new a.IfcAlignmentHorizontal(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),317615605:e=>new a.IfcAlignmentSegment(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),1662888072:e=>new a.IfcAlignmentVertical(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),3460190687:e=>new a.IfcAsset(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13]),1532957894:e=>new a.IfcAudioVisualApplianceType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1967976161:e=>new a.IfcBSplineCurve(e[0],e[1],e[2],e[3],e[4]),2461110595:e=>new a.IfcBSplineCurveWithKnots(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),819618141:e=>new a.IfcBeamType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),3649138523:e=>new a.IfcBearingType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),231477066:e=>new a.IfcBoilerType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1136057603:e=>new a.IfcBoundaryCurve(e[0],e[1]),644574406:e=>new a.IfcBridge(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),963979645:e=>new a.IfcBridgePart(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10]),4031249490:e=>new a.IfcBuilding(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11]),2979338954:e=>new a.IfcBuildingElementPart(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),39481116:e=>new a.IfcBuildingElementPartType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1909888760:e=>new a.IfcBuildingElementProxyType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1177604601:e=>new a.IfcBuildingSystem(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),1876633798:e=>new a.IfcBuiltElement(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),3862327254:e=>new a.IfcBuiltSystem(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),2188180465:e=>new a.IfcBurnerType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),395041908:e=>new a.IfcCableCarrierFittingType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),3293546465:e=>new a.IfcCableCarrierSegmentType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2674252688:e=>new a.IfcCableFittingType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1285652485:e=>new a.IfcCableSegmentType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),3203706013:e=>new a.IfcCaissonFoundationType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2951183804:e=>new a.IfcChillerType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),3296154744:e=>new a.IfcChimney(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2611217952:e=>new a.IfcCircle(e[0],e[1]),1677625105:e=>new a.IfcCivilElement(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),2301859152:e=>new a.IfcCoilType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),843113511:e=>new a.IfcColumn(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),400855858:e=>new a.IfcCommunicationsApplianceType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),3850581409:e=>new a.IfcCompressorType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2816379211:e=>new a.IfcCondenserType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),3898045240:e=>new a.IfcConstructionEquipmentResource(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10]),1060000209:e=>new a.IfcConstructionMaterialResource(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10]),488727124:e=>new a.IfcConstructionProductResource(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10]),2940368186:e=>new a.IfcConveyorSegmentType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),335055490:e=>new a.IfcCooledBeamType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2954562838:e=>new a.IfcCoolingTowerType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1502416096:e=>new a.IfcCourse(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1973544240:e=>new a.IfcCovering(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3495092785:e=>new a.IfcCurtainWall(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3961806047:e=>new a.IfcDamperType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),3426335179:e=>new a.IfcDeepFoundation(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),1335981549:e=>new a.IfcDiscreteAccessory(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2635815018:e=>new a.IfcDiscreteAccessoryType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),479945903:e=>new a.IfcDistributionBoardType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1599208980:e=>new a.IfcDistributionChamberElementType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2063403501:e=>new a.IfcDistributionControlElementType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1945004755:e=>new a.IfcDistributionElement(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),3040386961:e=>new a.IfcDistributionFlowElement(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),3041715199:e=>new a.IfcDistributionPort(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),3205830791:e=>new a.IfcDistributionSystem(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),395920057:e=>new a.IfcDoor(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12]),869906466:e=>new a.IfcDuctFittingType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),3760055223:e=>new a.IfcDuctSegmentType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2030761528:e=>new a.IfcDuctSilencerType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),3071239417:e=>new a.IfcEarthworksCut(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1077100507:e=>new a.IfcEarthworksElement(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),3376911765:e=>new a.IfcEarthworksFill(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),663422040:e=>new a.IfcElectricApplianceType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2417008758:e=>new a.IfcElectricDistributionBoardType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),3277789161:e=>new a.IfcElectricFlowStorageDeviceType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2142170206:e=>new a.IfcElectricFlowTreatmentDeviceType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1534661035:e=>new a.IfcElectricGeneratorType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1217240411:e=>new a.IfcElectricMotorType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),712377611:e=>new a.IfcElectricTimeControlType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1658829314:e=>new a.IfcEnergyConversionDevice(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),2814081492:e=>new a.IfcEngine(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3747195512:e=>new a.IfcEvaporativeCooler(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),484807127:e=>new a.IfcEvaporator(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1209101575:e=>new a.IfcExternalSpatialElement(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),346874300:e=>new a.IfcFanType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1810631287:e=>new a.IfcFilterType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),4222183408:e=>new a.IfcFireSuppressionTerminalType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2058353004:e=>new a.IfcFlowController(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),4278956645:e=>new a.IfcFlowFitting(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),4037862832:e=>new a.IfcFlowInstrumentType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),2188021234:e=>new a.IfcFlowMeter(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3132237377:e=>new a.IfcFlowMovingDevice(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),987401354:e=>new a.IfcFlowSegment(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),707683696:e=>new a.IfcFlowStorageDevice(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),2223149337:e=>new a.IfcFlowTerminal(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),3508470533:e=>new a.IfcFlowTreatmentDevice(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),900683007:e=>new a.IfcFooting(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2713699986:e=>new a.IfcGeotechnicalAssembly(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),3009204131:e=>new a.IfcGrid(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10]),3319311131:e=>new a.IfcHeatExchanger(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2068733104:e=>new a.IfcHumidifier(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),4175244083:e=>new a.IfcInterceptor(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2176052936:e=>new a.IfcJunctionBox(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2696325953:e=>new a.IfcKerb(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),76236018:e=>new a.IfcLamp(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),629592764:e=>new a.IfcLightFixture(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1154579445:e=>new a.IfcLinearPositioningElement(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),1638804497:e=>new a.IfcLiquidTerminal(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1437502449:e=>new a.IfcMedicalDevice(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1073191201:e=>new a.IfcMember(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2078563270:e=>new a.IfcMobileTelecommunicationsAppliance(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),234836483:e=>new a.IfcMooringDevice(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2474470126:e=>new a.IfcMotorConnection(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2182337498:e=>new a.IfcNavigationElement(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),144952367:e=>new a.IfcOuterBoundaryCurve(e[0],e[1]),3694346114:e=>new a.IfcOutlet(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1383356374:e=>new a.IfcPavement(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1687234759:e=>new a.IfcPile(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),310824031:e=>new a.IfcPipeFitting(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3612865200:e=>new a.IfcPipeSegment(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3171933400:e=>new a.IfcPlate(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),738039164:e=>new a.IfcProtectiveDevice(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),655969474:e=>new a.IfcProtectiveDeviceTrippingUnitType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),90941305:e=>new a.IfcPump(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3290496277:e=>new a.IfcRail(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2262370178:e=>new a.IfcRailing(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3024970846:e=>new a.IfcRamp(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3283111854:e=>new a.IfcRampFlight(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1232101972:e=>new a.IfcRationalBSplineCurveWithKnots(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3798194928:e=>new a.IfcReinforcedSoil(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),979691226:e=>new a.IfcReinforcingBar(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13]),2572171363:e=>new a.IfcReinforcingBarType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15]),2016517767:e=>new a.IfcRoof(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3053780830:e=>new a.IfcSanitaryTerminal(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1783015770:e=>new a.IfcSensorType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1329646415:e=>new a.IfcShadingDevice(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),991950508:e=>new a.IfcSignal(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1529196076:e=>new a.IfcSlab(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3420628829:e=>new a.IfcSolarDevice(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1999602285:e=>new a.IfcSpaceHeater(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1404847402:e=>new a.IfcStackTerminal(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),331165859:e=>new a.IfcStair(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),4252922144:e=>new a.IfcStairFlight(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12]),2515109513:e=>new a.IfcStructuralAnalysisModel(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),385403989:e=>new a.IfcStructuralLoadCase(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10]),1621171031:e=>new a.IfcStructuralPlanarAction(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11]),1162798199:e=>new a.IfcSwitchingDevice(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),812556717:e=>new a.IfcTank(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3425753595:e=>new a.IfcTrackElement(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3825984169:e=>new a.IfcTransformer(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1620046519:e=>new a.IfcTransportElement(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3026737570:e=>new a.IfcTubeBundle(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3179687236:e=>new a.IfcUnitaryControlElementType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),4292641817:e=>new a.IfcUnitaryEquipment(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),4207607924:e=>new a.IfcValve(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2391406946:e=>new a.IfcWall(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3512223829:e=>new a.IfcWallStandardCase(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),4237592921:e=>new a.IfcWasteTerminal(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3304561284:e=>new a.IfcWindow(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12]),2874132201:e=>new a.IfcActuatorType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),1634111441:e=>new a.IfcAirTerminal(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),177149247:e=>new a.IfcAirTerminalBox(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2056796094:e=>new a.IfcAirToAirHeatRecovery(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3001207471:e=>new a.IfcAlarmType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),325726236:e=>new a.IfcAlignment(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),277319702:e=>new a.IfcAudioVisualAppliance(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),753842376:e=>new a.IfcBeam(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),4196446775:e=>new a.IfcBearing(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),32344328:e=>new a.IfcBoiler(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3314249567:e=>new a.IfcBorehole(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),1095909175:e=>new a.IfcBuildingElementProxy(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2938176219:e=>new a.IfcBurner(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),635142910:e=>new a.IfcCableCarrierFitting(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3758799889:e=>new a.IfcCableCarrierSegment(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1051757585:e=>new a.IfcCableFitting(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),4217484030:e=>new a.IfcCableSegment(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3999819293:e=>new a.IfcCaissonFoundation(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3902619387:e=>new a.IfcChiller(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),639361253:e=>new a.IfcCoil(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3221913625:e=>new a.IfcCommunicationsAppliance(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3571504051:e=>new a.IfcCompressor(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2272882330:e=>new a.IfcCondenser(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),578613899:e=>new a.IfcControllerType(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]),3460952963:e=>new a.IfcConveyorSegment(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),4136498852:e=>new a.IfcCooledBeam(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3640358203:e=>new a.IfcCoolingTower(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),4074379575:e=>new a.IfcDamper(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3693000487:e=>new a.IfcDistributionBoard(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1052013943:e=>new a.IfcDistributionChamberElement(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),562808652:e=>new a.IfcDistributionCircuit(e[0],e[1],e[2],e[3],e[4],e[5],e[6]),1062813311:e=>new a.IfcDistributionControlElement(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),342316401:e=>new a.IfcDuctFitting(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3518393246:e=>new a.IfcDuctSegment(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1360408905:e=>new a.IfcDuctSilencer(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1904799276:e=>new a.IfcElectricAppliance(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),862014818:e=>new a.IfcElectricDistributionBoard(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3310460725:e=>new a.IfcElectricFlowStorageDevice(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),24726584:e=>new a.IfcElectricFlowTreatmentDevice(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),264262732:e=>new a.IfcElectricGenerator(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),402227799:e=>new a.IfcElectricMotor(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1003880860:e=>new a.IfcElectricTimeControl(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3415622556:e=>new a.IfcFan(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),819412036:e=>new a.IfcFilter(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),1426591983:e=>new a.IfcFireSuppressionTerminal(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),182646315:e=>new a.IfcFlowInstrument(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),2680139844:e=>new a.IfcGeomodel(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),1971632696:e=>new a.IfcGeoslice(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]),2295281155:e=>new a.IfcProtectiveDeviceTrippingUnit(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),4086658281:e=>new a.IfcSensor(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),630975310:e=>new a.IfcUnitaryControlElement(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),4288193352:e=>new a.IfcActuator(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),3087945054:e=>new a.IfcAlarm(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]),25142252:e=>new a.IfcController(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8])};SV[3]={3630933823:e=>[e.Role,e.UserDefinedRole,e.Description],618182010:e=>[e.Purpose,e.Description,e.UserDefinedPurpose],2879124712:e=>[e.StartTag,e.EndTag],3633395639:e=>[e.StartTag,e.EndTag,e.StartDistAlong,e.HorizontalLength,e.StartHeight,e.StartGradient,e.EndGradient,e.RadiusOfCurvature,e.PredefinedType],639542469:e=>[e.ApplicationDeveloper,e.Version,e.ApplicationFullName,e.ApplicationIdentifier],411424972:e=>[e.Name,e.Description,Ge(e.AppliedValue),e.UnitBasis,e.ApplicableDate,e.FixedUntilDate,e.Category,e.Condition,e.ArithmeticOperator,e.Components],130549933:e=>[e.Identifier,e.Name,e.Description,e.TimeOfApproval,e.Status,e.Level,e.Qualifier,Ge(e.RequestingApproval),Ge(e.GivingApproval)],4037036970:e=>[e.Name],1560379544:e=>[e.Name,(e.TranslationalStiffnessByLengthX??void 0)===void 0?null:Ge(e.TranslationalStiffnessByLengthX),(e.TranslationalStiffnessByLengthY??void 0)===void 0?null:Ge(e.TranslationalStiffnessByLengthY),(e.TranslationalStiffnessByLengthZ??void 0)===void 0?null:Ge(e.TranslationalStiffnessByLengthZ),(e.RotationalStiffnessByLengthX??void 0)===void 0?null:Ge(e.RotationalStiffnessByLengthX),(e.RotationalStiffnessByLengthY??void 0)===void 0?null:Ge(e.RotationalStiffnessByLengthY),(e.RotationalStiffnessByLengthZ??void 0)===void 0?null:Ge(e.RotationalStiffnessByLengthZ)],3367102660:e=>[e.Name,(e.TranslationalStiffnessByAreaX??void 0)===void 0?null:Ge(e.TranslationalStiffnessByAreaX),(e.TranslationalStiffnessByAreaY??void 0)===void 0?null:Ge(e.TranslationalStiffnessByAreaY),(e.TranslationalStiffnessByAreaZ??void 0)===void 0?null:Ge(e.TranslationalStiffnessByAreaZ)],1387855156:e=>[e.Name,(e.TranslationalStiffnessX??void 0)===void 0?null:Ge(e.TranslationalStiffnessX),(e.TranslationalStiffnessY??void 0)===void 0?null:Ge(e.TranslationalStiffnessY),(e.TranslationalStiffnessZ??void 0)===void 0?null:Ge(e.TranslationalStiffnessZ),(e.RotationalStiffnessX??void 0)===void 0?null:Ge(e.RotationalStiffnessX),(e.RotationalStiffnessY??void 0)===void 0?null:Ge(e.RotationalStiffnessY),(e.RotationalStiffnessZ??void 0)===void 0?null:Ge(e.RotationalStiffnessZ)],2069777674:e=>[e.Name,(e.TranslationalStiffnessX??void 0)===void 0?null:Ge(e.TranslationalStiffnessX),(e.TranslationalStiffnessY??void 0)===void 0?null:Ge(e.TranslationalStiffnessY),(e.TranslationalStiffnessZ??void 0)===void 0?null:Ge(e.TranslationalStiffnessZ),(e.RotationalStiffnessX??void 0)===void 0?null:Ge(e.RotationalStiffnessX),(e.RotationalStiffnessY??void 0)===void 0?null:Ge(e.RotationalStiffnessY),(e.RotationalStiffnessZ??void 0)===void 0?null:Ge(e.RotationalStiffnessZ),(e.WarpingStiffness??void 0)===void 0?null:Ge(e.WarpingStiffness)],2859738748:e=>[],2614616156:e=>[Ge(e.PointOnRelatingElement),Ge(e.PointOnRelatedElement)],2732653382:e=>[Ge(e.SurfaceOnRelatingElement),Ge(e.SurfaceOnRelatedElement)],775493141:e=>[Ge(e.VolumeOnRelatingElement),Ge(e.VolumeOnRelatedElement)],1959218052:e=>[e.Name,e.Description,e.ConstraintGrade,e.ConstraintSource,Ge(e.CreatingActor),e.CreationTime,e.UserDefinedGrade],1785450214:e=>[Ge(e.SourceCRS),e.TargetCRS],1466758467:e=>[e.Name,e.Description,e.GeodeticDatum],602808272:e=>[e.Name,e.Description,Ge(e.AppliedValue),e.UnitBasis,e.ApplicableDate,e.FixedUntilDate,e.Category,e.Condition,e.ArithmeticOperator,e.Components],1765591967:e=>[e.Elements,e.UnitType,e.UserDefinedType,e.Name],1045800335:e=>[e.Unit,e.Exponent],2949456006:e=>[e.LengthExponent,e.MassExponent,e.TimeExponent,e.ElectricCurrentExponent,e.ThermodynamicTemperatureExponent,e.AmountOfSubstanceExponent,e.LuminousIntensityExponent],4294318154:e=>[],3200245327:e=>[e.Location,e.Identification,e.Name],2242383968:e=>[e.Location,e.Identification,e.Name],1040185647:e=>[e.Location,e.Identification,e.Name],3548104201:e=>[e.Location,e.Identification,e.Name],917726184:e=>[e.Name,e.Description,e.GeodeticDatum,e.PrimeMeridian,e.AngleUnit,e.HeightUnit],852622518:e=>[e.AxisTag,e.AxisCurve,{type:3,value:e.SameSense.value}],3020489413:e=>[e.TimeStamp,e.ListValues.map(t=>Ge(t))],2655187982:e=>[e.Name,e.Version,Ge(e.Publisher),e.VersionDate,e.Location,e.Description],3452421091:e=>[e.Location,e.Identification,e.Name,e.Description,e.Language,e.ReferencedLibrary],4162380809:e=>[e.MainPlaneAngle,e.SecondaryPlaneAngle,e.LuminousIntensity],1566485204:e=>[e.LightDistributionCurve,e.DistributionData],3057273783:e=>[Ge(e.SourceCRS),e.TargetCRS,e.Eastings,e.Northings,e.OrthogonalHeight,e.XAxisAbscissa,e.XAxisOrdinate,e.Scale],4105526436:e=>[Ge(e.SourceCRS),e.TargetCRS,e.Eastings,e.Northings,e.OrthogonalHeight,e.XAxisAbscissa,e.XAxisOrdinate,e.Scale,e.FactorX,e.FactorY,e.FactorZ],1847130766:e=>[Ge(e.MaterialClassifications),e.ClassifiedMaterial],760658860:e=>[],248100487:e=>[e.Material,e.LayerThickness,e.IsVentilated==null?null:{type:3,value:e.IsVentilated.value},e.Name,e.Description,e.Category,e.Priority],3303938423:e=>[e.MaterialLayers,e.LayerSetName,e.Description],1847252529:e=>[e.Material,e.LayerThickness,e.IsVentilated==null?null:{type:3,value:e.IsVentilated.value},e.Name,e.Description,e.Category,e.Priority,e.OffsetDirection,e.OffsetValues],2199411900:e=>[e.Materials],2235152071:e=>[e.Name,e.Description,e.Material,e.Profile,e.Priority,e.Category],164193824:e=>[e.Name,e.Description,e.MaterialProfiles,e.CompositeProfile],552965576:e=>[e.Name,e.Description,e.Material,e.Profile,e.Priority,e.Category,e.OffsetValues],1507914824:e=>[],2597039031:e=>[Ge(e.ValueComponent),Ge(e.UnitComponent)],3368373690:e=>[e.Name,e.Description,e.ConstraintGrade,e.ConstraintSource,Ge(e.CreatingActor),e.CreationTime,e.UserDefinedGrade,e.Benchmark,e.ValueSource,Ge(e.DataValue),e.ReferencePath],2706619895:e=>[e.Currency],1918398963:e=>[e.Dimensions,e.UnitType],3701648758:e=>[e.PlacementRelTo],2251480897:e=>[e.Name,e.Description,e.ConstraintGrade,e.ConstraintSource,Ge(e.CreatingActor),e.CreationTime,e.UserDefinedGrade,e.BenchmarkValues,e.LogicalAggregator,e.ObjectiveQualifier,e.UserDefinedQualifier],4251960020:e=>[e.Identification,e.Name,e.Description,e.Roles,e.Addresses],1207048766:e=>[e.OwningUser,e.OwningApplication,e.State,e.ChangeAction,e.LastModifiedDate,e.LastModifyingUser,e.LastModifyingApplication,e.CreationDate],2077209135:e=>[e.Identification,e.FamilyName,e.GivenName,e.MiddleNames,e.PrefixTitles,e.SuffixTitles,e.Roles,e.Addresses],101040310:e=>[e.ThePerson,e.TheOrganization,e.Roles],2483315170:e=>[e.Name,e.Description],2226359599:e=>[e.Name,e.Description,e.Unit],3355820592:e=>[e.Purpose,e.Description,e.UserDefinedPurpose,e.InternalLocation,e.AddressLines,e.PostalBox,e.Town,e.Region,e.PostalCode,e.Country],677532197:e=>[],2022622350:e=>[e.Name,e.Description,Ge(e.AssignedItems),e.Identifier],1304840413:e=>[e.Name,e.Description,Ge(e.AssignedItems),e.Identifier,{type:3,value:e.LayerOn.value},{type:3,value:e.LayerFrozen.value},{type:3,value:e.LayerBlocked.value},e.LayerStyles],3119450353:e=>[e.Name],2095639259:e=>[e.Name,e.Description,e.Representations],3958567839:e=>[e.ProfileType,e.ProfileName],3843373140:e=>[e.Name,e.Description,e.GeodeticDatum,e.VerticalDatum,e.MapProjection,e.MapZone,e.MapUnit],986844984:e=>[],3710013099:e=>[e.Name,e.EnumerationValues.map(t=>Ge(t)),Ge(e.Unit)],2044713172:e=>[e.Name,e.Description,e.Unit,e.AreaValue,e.Formula],2093928680:e=>[e.Name,e.Description,e.Unit,e.CountValue,e.Formula],931644368:e=>[e.Name,e.Description,e.Unit,e.LengthValue,e.Formula],2691318326:e=>[e.Name,e.Description,e.Unit,e.NumberValue,e.Formula],3252649465:e=>[e.Name,e.Description,e.Unit,e.TimeValue,e.Formula],2405470396:e=>[e.Name,e.Description,e.Unit,e.VolumeValue,e.Formula],825690147:e=>[e.Name,e.Description,e.Unit,e.WeightValue,e.Formula],3915482550:e=>[e.RecurrenceType,e.DayComponent,e.WeekdayComponent,e.MonthComponent,e.Position,e.Interval,e.Occurrences,e.TimePeriods],2433181523:e=>[e.TypeIdentifier,e.AttributeIdentifier,e.InstanceName,e.ListPositions,e.InnerReference],1076942058:e=>[e.ContextOfItems,e.RepresentationIdentifier,e.RepresentationType,e.Items],3377609919:e=>[e.ContextIdentifier,e.ContextType],3008791417:e=>[],1660063152:e=>[Ge(e.MappingOrigin),e.MappedRepresentation],2439245199:e=>[e.Name,e.Description],1794013214:e=>[Ge(e.SourceCRS),e.TargetCRS,Ge(e.FirstCoordinate),Ge(e.SecondCoordinate),e.Height],2341007311:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description],448429030:e=>[void 0,e.UnitType,e.Prefix,e.Name],1054537805:e=>[e.Name,e.DataOrigin,e.UserDefinedDataOrigin],867548509:e=>[e.ShapeRepresentations,e.Name,e.Description,{type:3,value:e.ProductDefinitional.value},Ge(e.PartOfProductDefinitionShape)],3982875396:e=>[e.ContextOfItems,e.RepresentationIdentifier,e.RepresentationType,e.Items],4240577450:e=>[e.ContextOfItems,e.RepresentationIdentifier,e.RepresentationType,e.Items],2273995522:e=>[e.Name],2162789131:e=>[e.Name],3478079324:e=>[e.Name,e.Values,e.Locations],609421318:e=>[e.Name],2525727697:e=>[e.Name],3408363356:e=>[e.Name,e.DeltaTConstant,e.DeltaTY,e.DeltaTZ],2830218821:e=>[e.ContextOfItems,e.RepresentationIdentifier,e.RepresentationType,e.Items],3958052878:e=>[e.Item,e.Styles,e.Name],3049322572:e=>[e.ContextOfItems,e.RepresentationIdentifier,e.RepresentationType,e.Items],2934153892:e=>[e.Name,e.SurfaceReinforcement1,e.SurfaceReinforcement2,e.ShearReinforcement],1300840506:e=>[e.Name,e.Side,Ge(e.Styles)],3303107099:e=>[e.DiffuseTransmissionColour,e.DiffuseReflectionColour,e.TransmissionColour,e.ReflectanceColour],1607154358:e=>[e.RefractionIndex,e.DispersionFactor],846575682:e=>[e.SurfaceColour,e.Transparency],1351298697:e=>[e.Textures],626085974:e=>[{type:3,value:e.RepeatS.value},{type:3,value:e.RepeatT.value},e.Mode,e.TextureTransform,e.Parameter],985171141:e=>[e.Name,e.Rows,e.Columns],2043862942:e=>[e.Identifier,e.Name,e.Description,Ge(e.Unit),e.ReferencePath],531007025:e=>[(e.RowCells??void 0)===void 0?null:e.RowCells.map(t=>Ge(t)),e.IsHeading==null?null:{type:3,value:e.IsHeading.value}],1549132990:e=>[e.Name,e.DataOrigin,e.UserDefinedDataOrigin,e.DurationType,e.ScheduleDuration,e.ScheduleStart,e.ScheduleFinish,e.EarlyStart,e.EarlyFinish,e.LateStart,e.LateFinish,e.FreeFloat,e.TotalFloat,e.IsCritical==null?null:{type:3,value:e.IsCritical.value},e.StatusTime,e.ActualDuration,e.ActualStart,e.ActualFinish,e.RemainingTime,e.Completion],2771591690:e=>[e.Name,e.DataOrigin,e.UserDefinedDataOrigin,e.DurationType,e.ScheduleDuration,e.ScheduleStart,e.ScheduleFinish,e.EarlyStart,e.EarlyFinish,e.LateStart,e.LateFinish,e.FreeFloat,e.TotalFloat,e.IsCritical==null?null:{type:3,value:e.IsCritical.value},e.StatusTime,e.ActualDuration,e.ActualStart,e.ActualFinish,e.RemainingTime,e.Completion,e.Recurrence],912023232:e=>[e.Purpose,e.Description,e.UserDefinedPurpose,e.TelephoneNumbers,e.FacsimileNumbers,e.PagerNumber,e.ElectronicMailAddresses,e.WWWHomePageURL,e.MessagingIDs],1447204868:e=>[e.Name,e.TextCharacterAppearance,e.TextStyle,Ge(e.TextFontStyle),e.ModelOrDraughting==null?null:{type:3,value:e.ModelOrDraughting.value}],2636378356:e=>[Ge(e.Colour),Ge(e.BackgroundColour)],1640371178:e=>[(e.TextIndent??void 0)===void 0?null:Ge(e.TextIndent),e.TextAlign,e.TextDecoration,(e.LetterSpacing??void 0)===void 0?null:Ge(e.LetterSpacing),(e.WordSpacing??void 0)===void 0?null:Ge(e.WordSpacing),e.TextTransform,(e.LineHeight??void 0)===void 0?null:Ge(e.LineHeight)],280115917:e=>[e.Maps],1742049831:e=>[e.Maps,e.Mode,e.Parameter],222769930:e=>[e.TexCoordIndex,e.TexCoordsOf],1010789467:e=>[e.TexCoordIndex,e.TexCoordsOf,e.InnerTexCoordIndices],2552916305:e=>[e.Maps,e.Vertices,e.MappedTo],1210645708:e=>[e.Coordinates],3611470254:e=>[e.TexCoordsList],1199560280:e=>[e.StartTime,e.EndTime],3101149627:e=>[e.Name,e.Description,e.StartTime,e.EndTime,e.TimeSeriesDataType,e.DataOrigin,e.UserDefinedDataOrigin,Ge(e.Unit)],581633288:e=>[e.ListValues.map(t=>Ge(t))],1377556343:e=>[],1735638870:e=>[e.ContextOfItems,e.RepresentationIdentifier,e.RepresentationType,e.Items],180925521:e=>[Ge(e.Units)],2799835756:e=>[],1907098498:e=>[e.VertexGeometry],891718957:e=>[e.IntersectingAxes,e.OffsetDistances],1175146630:e=>[e.WellKnownText,e.CoordinateReferenceSystem],1236880293:e=>[e.Name,e.DataOrigin,e.UserDefinedDataOrigin,e.RecurrencePattern,e.StartDate,e.FinishDate],3752311538:e=>[e.StartTag,e.EndTag,e.StartDistAlong,e.HorizontalLength,e.StartCantLeft,e.EndCantLeft,e.StartCantRight,e.EndCantRight,e.PredefinedType],536804194:e=>[e.StartTag,e.EndTag,e.StartPoint,e.StartDirection,e.StartRadiusOfCurvature,e.EndRadiusOfCurvature,e.SegmentLength,e.GravityCenterLineHeight,e.PredefinedType],3869604511:e=>[e.Name,e.Description,e.RelatingApproval,e.RelatedApprovals],3798115385:e=>[e.ProfileType,e.ProfileName,e.OuterCurve],1310608509:e=>[e.ProfileType,e.ProfileName,e.Curve],2705031697:e=>[e.ProfileType,e.ProfileName,e.OuterCurve,e.InnerCurves],616511568:e=>[{type:3,value:e.RepeatS.value},{type:3,value:e.RepeatT.value},e.Mode,e.TextureTransform,e.Parameter,e.RasterFormat,e.RasterCode],3150382593:e=>[e.ProfileType,e.ProfileName,e.Curve,e.Thickness],747523909:e=>[e.Source,e.Edition,e.EditionDate,e.Name,e.Description,e.Specification,e.ReferenceTokens],647927063:e=>[e.Location,e.Identification,e.Name,Ge(e.ReferencedSource),e.Description,e.Sort],3285139300:e=>[e.ColourList],3264961684:e=>[e.Name],1485152156:e=>[e.ProfileType,e.ProfileName,e.Profiles,e.Label],370225590:e=>[e.CfsFaces],1981873012:e=>[Ge(e.CurveOnRelatingElement),Ge(e.CurveOnRelatedElement)],45288368:e=>[Ge(e.PointOnRelatingElement),Ge(e.PointOnRelatedElement),e.EccentricityInX,e.EccentricityInY,e.EccentricityInZ],3050246964:e=>[e.Dimensions,e.UnitType,e.Name],2889183280:e=>[e.Dimensions,e.UnitType,e.Name,e.ConversionFactor],2713554722:e=>[e.Dimensions,e.UnitType,e.Name,e.ConversionFactor,e.ConversionOffset],539742890:e=>[e.Name,e.Description,e.RelatingMonetaryUnit,e.RelatedMonetaryUnit,e.ExchangeRate,e.RateDateTime,e.RateSource],3800577675:e=>[e.Name,Ge(e.CurveFont),(e.CurveWidth??void 0)===void 0?null:Ge(e.CurveWidth),Ge(e.CurveColour),e.ModelOrDraughting==null?null:{type:3,value:e.ModelOrDraughting.value}],1105321065:e=>[e.Name,e.PatternList],2367409068:e=>[e.Name,Ge(e.CurveStyleFont),e.CurveFontScaling],3510044353:e=>[e.VisibleSegmentLength,e.InvisibleSegmentLength],3632507154:e=>[e.ProfileType,e.ProfileName,e.ParentProfile,e.Operator,e.Label],1154170062:e=>[e.Identification,e.Name,e.Description,e.Location,e.Purpose,e.IntendedUse,e.Scope,e.Revision,Ge(e.DocumentOwner),Ge(e.Editors),e.CreationTime,e.LastRevisionTime,e.ElectronicFormat,e.ValidFrom,e.ValidUntil,e.Confidentiality,e.Status],770865208:e=>[e.Name,e.Description,e.RelatingDocument,e.RelatedDocuments,e.RelationshipType],3732053477:e=>[e.Location,e.Identification,e.Name,e.Description,e.ReferencedDocument],3900360178:e=>[e.EdgeStart,e.EdgeEnd],476780140:e=>[e.EdgeStart,e.EdgeEnd,e.EdgeGeometry,{type:3,value:e.SameSense.value}],211053100:e=>[e.Name,e.DataOrigin,e.UserDefinedDataOrigin,e.ActualDate,e.EarlyDate,e.LateDate,e.ScheduleDate],297599258:e=>[e.Name,e.Description,e.Properties],1437805879:e=>[e.Name,e.Description,e.RelatingReference,Ge(e.RelatedResourceObjects)],2556980723:e=>[e.Bounds],1809719519:e=>[e.Bound,{type:3,value:e.Orientation.value}],803316827:e=>[e.Bound,{type:3,value:e.Orientation.value}],3008276851:e=>[e.Bounds,e.FaceSurface,{type:3,value:e.SameSense.value}],4219587988:e=>[e.Name,e.TensionFailureX,e.TensionFailureY,e.TensionFailureZ,e.CompressionFailureX,e.CompressionFailureY,e.CompressionFailureZ],738692330:e=>[e.Name,Ge(e.FillStyles),e.ModelOrDraughting==null?null:{type:3,value:e.ModelOrDraughting.value}],3448662350:e=>[e.ContextIdentifier,e.ContextType,e.CoordinateSpaceDimension,e.Precision,Ge(e.WorldCoordinateSystem),e.TrueNorth],2453401579:e=>[],4142052618:e=>[e.ContextIdentifier,e.ContextType,void 0,void 0,void 0,void 0,e.ParentContext,e.TargetScale,e.TargetView,e.UserDefinedTargetView],3590301190:e=>[Ge(e.Elements)],178086475:e=>[e.PlacementRelTo,e.PlacementLocation,Ge(e.PlacementRefDirection)],812098782:e=>[e.BaseSurface,{type:3,value:e.AgreementFlag.value}],3905492369:e=>[{type:3,value:e.RepeatS.value},{type:3,value:e.RepeatT.value},e.Mode,e.TextureTransform,e.Parameter,e.URLReference],3570813810:e=>[e.MappedTo,e.Opacity,e.Colours,e.ColourIndex],1437953363:e=>[e.Maps,e.MappedTo,e.TexCoords],2133299955:e=>[e.Maps,e.MappedTo,e.TexCoords,e.TexCoordIndex],3741457305:e=>[e.Name,e.Description,e.StartTime,e.EndTime,e.TimeSeriesDataType,e.DataOrigin,e.UserDefinedDataOrigin,Ge(e.Unit),e.Values],1585845231:e=>[e.Name,e.DataOrigin,e.UserDefinedDataOrigin,Ge(e.LagValue),e.DurationType],1402838566:e=>[e.Name,e.LightColour,e.AmbientIntensity,e.Intensity],125510826:e=>[e.Name,e.LightColour,e.AmbientIntensity,e.Intensity],2604431987:e=>[e.Name,e.LightColour,e.AmbientIntensity,e.Intensity,e.Orientation],4266656042:e=>[e.Name,e.LightColour,e.AmbientIntensity,e.Intensity,e.Position,e.ColourAppearance,e.ColourTemperature,e.LuminousFlux,e.LightEmissionSource,Ge(e.LightDistributionDataSource)],1520743889:e=>[e.Name,e.LightColour,e.AmbientIntensity,e.Intensity,e.Position,e.Radius,e.ConstantAttenuation,e.DistanceAttenuation,e.QuadricAttenuation],3422422726:e=>[e.Name,e.LightColour,e.AmbientIntensity,e.Intensity,e.Position,e.Radius,e.ConstantAttenuation,e.DistanceAttenuation,e.QuadricAttenuation,e.Orientation,e.ConcentrationExponent,e.SpreadAngle,e.BeamWidthAngle],388784114:e=>[e.PlacementRelTo,e.RelativePlacement,e.CartesianPosition],2624227202:e=>[e.PlacementRelTo,Ge(e.RelativePlacement)],1008929658:e=>[],2347385850:e=>[e.MappingSource,e.MappingTarget],1838606355:e=>[e.Name,e.Description,e.Category],3708119e3:e=>[e.Name,e.Description,e.Material,e.Fraction,e.Category],2852063980:e=>[e.Name,e.Description,e.MaterialConstituents],2022407955:e=>[e.Name,e.Description,e.Representations,e.RepresentedMaterial],1303795690:e=>[e.ForLayerSet,e.LayerSetDirection,e.DirectionSense,e.OffsetFromReferenceLine,e.ReferenceExtent],3079605661:e=>[e.ForProfileSet,e.CardinalPoint,e.ReferenceExtent],3404854881:e=>[e.ForProfileSet,e.CardinalPoint,e.ReferenceExtent,e.ForProfileEndSet,e.CardinalEndPoint],3265635763:e=>[e.Name,e.Description,e.Properties,e.Material],853536259:e=>[e.Name,e.Description,e.RelatingMaterial,e.RelatedMaterials,e.MaterialExpression],2998442950:e=>[e.ProfileType,e.ProfileName,e.ParentProfile,void 0,e.Label],219451334:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description],182550632:e=>[e.ProfileType,e.ProfileName,{type:3,value:e.HorizontalWidths.value},e.Widths,e.Slopes,e.Tags,e.OffsetPoint],2665983363:e=>[e.CfsFaces],1411181986:e=>[e.Name,e.Description,e.RelatingOrganization,e.RelatedOrganizations],1029017970:e=>[void 0,void 0,e.EdgeElement,{type:3,value:e.Orientation.value}],2529465313:e=>[e.ProfileType,e.ProfileName,e.Position],2519244187:e=>[e.EdgeList],3021840470:e=>[e.Name,e.Description,e.HasQuantities,e.Discrimination,e.Quality,e.Usage],597895409:e=>[{type:3,value:e.RepeatS.value},{type:3,value:e.RepeatT.value},e.Mode,e.TextureTransform,e.Parameter,e.Width,e.Height,e.ColourComponents,e.Pixel],2004835150:e=>[e.Location],1663979128:e=>[e.SizeInX,e.SizeInY],2067069095:e=>[],2165702409:e=>[Ge(e.DistanceAlong),e.OffsetLateral,e.OffsetVertical,e.OffsetLongitudinal,e.BasisCurve],4022376103:e=>[e.BasisCurve,e.PointParameter],1423911732:e=>[e.BasisSurface,e.PointParameterU,e.PointParameterV],2924175390:e=>[e.Polygon],2775532180:e=>[e.BaseSurface,{type:3,value:e.AgreementFlag.value},e.Position,e.PolygonalBoundary],3727388367:e=>[e.Name],3778827333:e=>[],1775413392:e=>[e.Name],673634403:e=>[e.Name,e.Description,e.Representations],2802850158:e=>[e.Name,e.Description,e.Properties,e.ProfileDefinition],2598011224:e=>[e.Name,e.Specification],1680319473:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description],148025276:e=>[e.Name,e.Description,e.DependingProperty,e.DependantProperty,e.Expression],3357820518:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description],1482703590:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description],2090586900:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description],3615266464:e=>[e.ProfileType,e.ProfileName,e.Position,e.XDim,e.YDim],3413951693:e=>[e.Name,e.Description,e.StartTime,e.EndTime,e.TimeSeriesDataType,e.DataOrigin,e.UserDefinedDataOrigin,Ge(e.Unit),e.TimeStep,e.Values],1580146022:e=>[e.TotalCrossSectionArea,e.SteelGrade,e.BarSurface,e.EffectiveDepth,e.NominalBarDiameter,e.BarCount],478536968:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description],2943643501:e=>[e.Name,e.Description,Ge(e.RelatedResourceObjects),e.RelatingApproval],1608871552:e=>[e.Name,e.Description,e.RelatingConstraint,Ge(e.RelatedResourceObjects)],1042787934:e=>[e.Name,e.DataOrigin,e.UserDefinedDataOrigin,e.ScheduleWork,e.ScheduleUsage,e.ScheduleStart,e.ScheduleFinish,e.ScheduleContour,e.LevelingDelay,e.IsOverAllocated==null?null:{type:3,value:e.IsOverAllocated.value},e.StatusTime,e.ActualWork,e.ActualUsage,e.ActualStart,e.ActualFinish,e.RemainingWork,e.RemainingUsage,e.Completion],2778083089:e=>[e.ProfileType,e.ProfileName,e.Position,e.XDim,e.YDim,e.RoundingRadius],2042790032:e=>[e.SectionType,e.StartProfile,e.EndProfile],4165799628:e=>[e.LongitudinalStartPosition,e.LongitudinalEndPosition,e.TransversePosition,e.ReinforcementRole,e.SectionDefinition,e.CrossSectionReinforcementDefinitions],1509187699:e=>[e.SpineCurve,e.CrossSections,e.CrossSectionPositions],823603102:e=>[e.Transition],4124623270:e=>[Ge(e.SbsmBoundary)],3692461612:e=>[e.Name,e.Specification],2609359061:e=>[e.Name,e.SlippageX,e.SlippageY,e.SlippageZ],723233188:e=>[],1595516126:e=>[e.Name,e.LinearForceX,e.LinearForceY,e.LinearForceZ,e.LinearMomentX,e.LinearMomentY,e.LinearMomentZ],2668620305:e=>[e.Name,e.PlanarForceX,e.PlanarForceY,e.PlanarForceZ],2473145415:e=>[e.Name,e.DisplacementX,e.DisplacementY,e.DisplacementZ,e.RotationalDisplacementRX,e.RotationalDisplacementRY,e.RotationalDisplacementRZ],1973038258:e=>[e.Name,e.DisplacementX,e.DisplacementY,e.DisplacementZ,e.RotationalDisplacementRX,e.RotationalDisplacementRY,e.RotationalDisplacementRZ,e.Distortion],1597423693:e=>[e.Name,e.ForceX,e.ForceY,e.ForceZ,e.MomentX,e.MomentY,e.MomentZ],1190533807:e=>[e.Name,e.ForceX,e.ForceY,e.ForceZ,e.MomentX,e.MomentY,e.MomentZ,e.WarpingMoment],2233826070:e=>[e.EdgeStart,e.EdgeEnd,e.ParentEdge],2513912981:e=>[],1878645084:e=>[e.SurfaceColour,e.Transparency,Ge(e.DiffuseColour),Ge(e.TransmissionColour),Ge(e.DiffuseTransmissionColour),Ge(e.ReflectionColour),Ge(e.SpecularColour),(e.SpecularHighlight??void 0)===void 0?null:Ge(e.SpecularHighlight),e.ReflectanceMethod],2247615214:e=>[e.SweptArea,e.Position],1260650574:e=>[e.Directrix,e.Radius,e.InnerRadius,e.StartParam,e.EndParam],1096409881:e=>[e.Directrix,e.Radius,e.InnerRadius,e.StartParam,e.EndParam,e.FilletRadius],230924584:e=>[e.SweptCurve,e.Position],3071757647:e=>[e.ProfileType,e.ProfileName,e.Position,e.Depth,e.FlangeWidth,e.WebThickness,e.FlangeThickness,e.FilletRadius,e.FlangeEdgeRadius,e.WebEdgeRadius,e.WebSlope,e.FlangeSlope],901063453:e=>[],4282788508:e=>[e.Literal,Ge(e.Placement),e.Path],3124975700:e=>[e.Literal,Ge(e.Placement),e.Path,e.Extent,e.BoxAlignment],1983826977:e=>[e.Name,e.FontFamily,e.FontStyle,e.FontVariant,e.FontWeight,Ge(e.FontSize)],2715220739:e=>[e.ProfileType,e.ProfileName,e.Position,e.BottomXDim,e.TopXDim,e.YDim,e.TopXOffset],1628702193:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets],3736923433:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.Identification,e.LongDescription,e.ProcessType],2347495698:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag],3698973494:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.Identification,e.LongDescription,e.ResourceType],427810014:e=>[e.ProfileType,e.ProfileName,e.Position,e.Depth,e.FlangeWidth,e.WebThickness,e.FlangeThickness,e.FilletRadius,e.EdgeRadius,e.FlangeSlope],1417489154:e=>[e.Orientation,e.Magnitude],2759199220:e=>[e.LoopVertex],2543172580:e=>[e.ProfileType,e.ProfileName,e.Position,e.Depth,e.FlangeWidth,e.WebThickness,e.FlangeThickness,e.FilletRadius,e.EdgeRadius],3406155212:e=>[e.Bounds,e.FaceSurface,{type:3,value:e.SameSense.value}],669184980:e=>[e.OuterBoundary,e.InnerBoundaries],3207858831:e=>[e.ProfileType,e.ProfileName,e.Position,e.BottomFlangeWidth,e.OverallDepth,e.WebThickness,e.BottomFlangeThickness,e.BottomFlangeFilletRadius,e.TopFlangeWidth,e.TopFlangeThickness,e.TopFlangeFilletRadius,e.BottomFlangeEdgeRadius,e.BottomFlangeSlope,e.TopFlangeEdgeRadius,e.TopFlangeSlope],4261334040:e=>[e.Location,e.Axis],3125803723:e=>[e.Location,e.RefDirection],2740243338:e=>[e.Location,e.Axis,e.RefDirection],3425423356:e=>[e.Location,e.Axis,e.RefDirection],2736907675:e=>[e.Operator,Ge(e.FirstOperand),Ge(e.SecondOperand)],4182860854:e=>[],2581212453:e=>[e.Corner,e.XDim,e.YDim,e.ZDim],2713105998:e=>[e.BaseSurface,{type:3,value:e.AgreementFlag.value},e.Enclosure],2898889636:e=>[e.ProfileType,e.ProfileName,e.Position,e.Depth,e.Width,e.WallThickness,e.Girth,e.InternalFilletRadius],1123145078:e=>[e.Coordinates],574549367:e=>[],1675464909:e=>[e.CoordList,e.TagList],2059837836:e=>[e.CoordList,e.TagList],59481748:e=>[e.Axis1,e.Axis2,e.LocalOrigin,e.Scale],3749851601:e=>[e.Axis1,e.Axis2,e.LocalOrigin,e.Scale],3486308946:e=>[e.Axis1,e.Axis2,e.LocalOrigin,e.Scale,e.Scale2],3331915920:e=>[e.Axis1,e.Axis2,e.LocalOrigin,e.Scale,e.Axis3],1416205885:e=>[e.Axis1,e.Axis2,e.LocalOrigin,e.Scale,e.Axis3,e.Scale2,e.Scale3],1383045692:e=>[e.ProfileType,e.ProfileName,e.Position,e.Radius],2205249479:e=>[e.CfsFaces],776857604:e=>[e.Name,e.Red,e.Green,e.Blue],2542286263:e=>[e.Name,e.Specification,e.UsageName,e.HasProperties],2485617015:e=>[e.Transition,{type:3,value:e.SameSense.value},e.ParentCurve],2574617495:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.Identification,e.LongDescription,e.ResourceType,e.BaseCosts,e.BaseQuantity],3419103109:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.LongName,e.Phase,e.RepresentationContexts,e.UnitsInContext],1815067380:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.Identification,e.LongDescription,e.ResourceType,e.BaseCosts,e.BaseQuantity,e.PredefinedType],2506170314:e=>[e.Position],2147822146:e=>[Ge(e.TreeRootExpression)],2601014836:e=>[],2827736869:e=>[e.BasisSurface,e.OuterBoundary,e.InnerBoundaries],2629017746:e=>[e.BasisSurface,e.Boundaries,{type:3,value:e.ImplicitOuter.value}],4212018352:e=>[e.Transition,e.Placement,Ge(e.SegmentStart),Ge(e.SegmentLength),e.ParentCurve],32440307:e=>[e.DirectionRatios],593015953:e=>[e.SweptArea,e.Position,e.Directrix,(e.StartParam??void 0)===void 0?null:Ge(e.StartParam),(e.EndParam??void 0)===void 0?null:Ge(e.EndParam)],1472233963:e=>[e.EdgeList],1883228015:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.MethodOfMeasurement,e.Quantities],339256511:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType],2777663545:e=>[e.Position],2835456948:e=>[e.ProfileType,e.ProfileName,e.Position,e.SemiAxis1,e.SemiAxis2],4024345920:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.Identification,e.LongDescription,e.ProcessType,e.PredefinedType,e.EventTriggerType,e.UserDefinedEventTriggerType],477187591:e=>[e.SweptArea,e.Position,e.ExtrudedDirection,e.Depth],2804161546:e=>[e.SweptArea,e.Position,e.ExtrudedDirection,e.Depth,e.EndSweptArea],2047409740:e=>[e.FbsmFaces],374418227:e=>[e.HatchLineAppearance,Ge(e.StartOfNextHatchLine),e.PointOfReferenceHatchLine,e.PatternStart,e.HatchLineAngle],315944413:e=>[e.TilingPattern,e.Tiles,e.TilingScale],2652556860:e=>[e.SweptArea,e.Position,e.Directrix,(e.StartParam??void 0)===void 0?null:Ge(e.StartParam),(e.EndParam??void 0)===void 0?null:Ge(e.EndParam),e.FixedReference],4238390223:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType],1268542332:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.AssemblyPlace,e.PredefinedType],4095422895:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],987898635:e=>[Ge(e.Elements)],1484403080:e=>[e.ProfileType,e.ProfileName,e.Position,e.OverallWidth,e.OverallDepth,e.WebThickness,e.FlangeThickness,e.FilletRadius,e.FlangeEdgeRadius,e.FlangeSlope],178912537:e=>[e.CoordIndex],2294589976:e=>[e.CoordIndex,e.InnerCoordIndices],3465909080:e=>[e.Maps,e.MappedTo,e.TexCoords,e.TexCoordIndices],572779678:e=>[e.ProfileType,e.ProfileName,e.Position,e.Depth,e.Width,e.Thickness,e.FilletRadius,e.EdgeRadius,e.LegSlope],428585644:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.Identification,e.LongDescription,e.ResourceType,e.BaseCosts,e.BaseQuantity,e.PredefinedType],1281925730:e=>[e.Pnt,e.Dir],1425443689:e=>[e.Outer],3888040117:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType],590820931:e=>[e.BasisCurve],3388369263:e=>[e.BasisCurve,e.Distance,{type:3,value:e.SelfIntersect.value}],3505215534:e=>[e.BasisCurve,e.Distance,{type:3,value:e.SelfIntersect.value},e.RefDirection],2485787929:e=>[e.BasisCurve,e.OffsetValues,e.Tag],1682466193:e=>[e.BasisSurface,e.ReferenceCurve],603570806:e=>[e.SizeInX,e.SizeInY,Ge(e.Placement)],220341763:e=>[e.Position],3381221214:e=>[e.Position,e.CoefficientsX,e.CoefficientsY,e.CoefficientsZ],759155922:e=>[e.Name],2559016684:e=>[e.Name],3967405729:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description],569719735:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.Identification,e.LongDescription,e.ProcessType,e.PredefinedType],2945172077:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.Identification,e.LongDescription],4208778838:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation],103090709:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.LongName,e.Phase,e.RepresentationContexts,e.UnitsInContext],653396225:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.LongName,e.Phase,e.RepresentationContexts,e.UnitsInContext],871118103:e=>[e.Name,e.Specification,(e.UpperBoundValue??void 0)===void 0?null:Ge(e.UpperBoundValue),(e.LowerBoundValue??void 0)===void 0?null:Ge(e.LowerBoundValue),Ge(e.Unit),(e.SetPointValue??void 0)===void 0?null:Ge(e.SetPointValue)],4166981789:e=>[e.Name,e.Specification,(e.EnumerationValues??void 0)===void 0?null:e.EnumerationValues.map(t=>Ge(t)),e.EnumerationReference],2752243245:e=>[e.Name,e.Specification,(e.ListValues??void 0)===void 0?null:e.ListValues.map(t=>Ge(t)),Ge(e.Unit)],941946838:e=>[e.Name,e.Specification,e.UsageName,Ge(e.PropertyReference)],1451395588:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.HasProperties],492091185:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.TemplateType,e.ApplicableEntity,e.HasPropertyTemplates],3650150729:e=>[e.Name,e.Specification,(e.NominalValue??void 0)===void 0?null:Ge(e.NominalValue),Ge(e.Unit)],110355661:e=>[e.Name,e.Specification,(e.DefiningValues??void 0)===void 0?null:e.DefiningValues.map(t=>Ge(t)),(e.DefinedValues??void 0)===void 0?null:e.DefinedValues.map(t=>Ge(t)),e.Expression,Ge(e.DefiningUnit),Ge(e.DefinedUnit),e.CurveInterpolation],3521284610:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description],2770003689:e=>[e.ProfileType,e.ProfileName,e.Position,e.XDim,e.YDim,e.WallThickness,e.InnerFilletRadius,e.OuterFilletRadius],2798486643:e=>[e.Position,e.XLength,e.YLength,e.Height],3454111270:e=>[e.BasisSurface,e.U1,e.V1,e.U2,e.V2,{type:3,value:e.Usense.value},{type:3,value:e.Vsense.value}],3765753017:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.DefinitionType,e.ReinforcementSectionDefinitions],3939117080:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatedObjects,e.RelatedObjectsType==null?null:{type:3,value:e.RelatedObjectsType.value}],1683148259:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatedObjects,e.RelatedObjectsType==null?null:{type:3,value:e.RelatedObjectsType.value},e.RelatingActor,e.ActingRole],2495723537:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatedObjects,e.RelatedObjectsType==null?null:{type:3,value:e.RelatedObjectsType.value},e.RelatingControl],1307041759:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatedObjects,e.RelatedObjectsType==null?null:{type:3,value:e.RelatedObjectsType.value},e.RelatingGroup],1027710054:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatedObjects,e.RelatedObjectsType==null?null:{type:3,value:e.RelatedObjectsType.value},e.RelatingGroup,e.Factor],4278684876:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatedObjects,e.RelatedObjectsType==null?null:{type:3,value:e.RelatedObjectsType.value},Ge(e.RelatingProcess),e.QuantityInProcess],2857406711:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatedObjects,e.RelatedObjectsType==null?null:{type:3,value:e.RelatedObjectsType.value},Ge(e.RelatingProduct)],205026976:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatedObjects,e.RelatedObjectsType==null?null:{type:3,value:e.RelatedObjectsType.value},Ge(e.RelatingResource)],1865459582:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,Ge(e.RelatedObjects)],4095574036:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,Ge(e.RelatedObjects),e.RelatingApproval],919958153:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,Ge(e.RelatedObjects),Ge(e.RelatingClassification)],2728634034:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,Ge(e.RelatedObjects),e.Intent,e.RelatingConstraint],982818633:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,Ge(e.RelatedObjects),Ge(e.RelatingDocument)],3840914261:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,Ge(e.RelatedObjects),Ge(e.RelatingLibrary)],2655215786:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,Ge(e.RelatedObjects),Ge(e.RelatingMaterial)],1033248425:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,Ge(e.RelatedObjects),e.RelatingProfileDef],826625072:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description],1204542856:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ConnectionGeometry,e.RelatingElement,e.RelatedElement],3945020480:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ConnectionGeometry,e.RelatingElement,e.RelatedElement,e.RelatingPriorities,e.RelatedPriorities,e.RelatedConnectionType,e.RelatingConnectionType],4201705270:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatingPort,e.RelatedElement],3190031847:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatingPort,e.RelatedPort,e.RealizingElement],2127690289:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,Ge(e.RelatingElement),e.RelatedStructuralActivity],1638771189:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatingStructuralMember,e.RelatedStructuralConnection,e.AppliedCondition,e.AdditionalConditions,e.SupportedLength,e.ConditionCoordinateSystem],504942748:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatingStructuralMember,e.RelatedStructuralConnection,e.AppliedCondition,e.AdditionalConditions,e.SupportedLength,e.ConditionCoordinateSystem,e.ConnectionConstraint],3678494232:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ConnectionGeometry,e.RelatingElement,e.RelatedElement,e.RealizingElements,e.ConnectionType],3242617779:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatedElements,e.RelatingStructure],886880790:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatingBuildingElement,e.RelatedCoverings],2802773753:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatingSpace,e.RelatedCoverings],2565941209:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatingContext,Ge(e.RelatedDefinitions)],2551354335:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description],693640335:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description],1462361463:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatedObjects,e.RelatingObject],4186316022:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatedObjects,Ge(e.RelatingPropertyDefinition)],307848117:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatedPropertySets,e.RelatingTemplate],781010003:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatedObjects,e.RelatingType],3940055652:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatingOpeningElement,e.RelatedBuildingElement],279856033:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatedControlElements,e.RelatingFlowElement],427948657:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,Ge(e.RelatingElement),Ge(e.RelatedElement),e.InterferenceGeometry,e.InterferenceType,{type:3,value:e.ImpliedOrder.value},e.InterferenceSpace],3268803585:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatingObject,e.RelatedObjects],1441486842:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatingPositioningElement,e.RelatedProducts],750771296:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatingElement,e.RelatedFeatureElement],1245217292:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,Ge(e.RelatedElements),e.RelatingStructure],4122056220:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatingProcess,e.RelatedProcess,e.TimeLag,e.SequenceType,e.UserDefinedSequenceType],366585022:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatingSystem,e.RelatedBuildings],3451746338:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,Ge(e.RelatingSpace),e.RelatedBuildingElement,e.ConnectionGeometry,e.PhysicalOrVirtualBoundary,e.InternalOrExternalBoundary],3523091289:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,Ge(e.RelatingSpace),e.RelatedBuildingElement,e.ConnectionGeometry,e.PhysicalOrVirtualBoundary,e.InternalOrExternalBoundary,e.ParentBoundary],1521410863:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,Ge(e.RelatingSpace),e.RelatedBuildingElement,e.ConnectionGeometry,e.PhysicalOrVirtualBoundary,e.InternalOrExternalBoundary,e.ParentBoundary,e.CorrespondingBoundary],1401173127:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatingBuildingElement,e.RelatedOpeningElement],816062949:e=>[e.Transition,{type:3,value:e.SameSense.value},e.ParentCurve,e.ParamLength],2914609552:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.Identification,e.LongDescription],1856042241:e=>[e.SweptArea,e.Position,e.Axis,e.Angle],3243963512:e=>[e.SweptArea,e.Position,e.Axis,e.Angle,e.EndSweptArea],4158566097:e=>[e.Position,e.Height,e.BottomRadius],3626867408:e=>[e.Position,e.Height,e.Radius],1862484736:e=>[e.Directrix,e.CrossSections],1290935644:e=>[e.Directrix,e.CrossSections,e.CrossSectionPositions],1356537516:e=>[e.Directrix,e.CrossSectionPositions,e.CrossSections],3663146110:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.TemplateType,e.PrimaryMeasureType,e.SecondaryMeasureType,e.Enumerators,Ge(e.PrimaryUnit),Ge(e.SecondaryUnit),e.Expression,e.AccessState],1412071761:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.LongName],710998568:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType],2706606064:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.LongName,e.CompositionType],3893378262:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType],463610769:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.LongName,e.PredefinedType],2481509218:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType,e.LongName],451544542:e=>[e.Position,e.Radius],4015995234:e=>[e.Position,e.Radius],2735484536:e=>[Ge(e.Position)],3544373492:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.AppliedLoad,e.GlobalOrLocal],3136571912:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation],530289379:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation],3689010777:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.AppliedLoad,e.GlobalOrLocal],3979015343:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.PredefinedType,e.Thickness],2218152070:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.PredefinedType,e.Thickness],603775116:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.AppliedLoad,e.GlobalOrLocal,e.PredefinedType],4095615324:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.Identification,e.LongDescription,e.ResourceType,e.BaseCosts,e.BaseQuantity,e.PredefinedType],699246055:e=>[e.Curve3D,e.AssociatedGeometry,e.MasterRepresentation],2028607225:e=>[e.SweptArea,e.Position,e.Directrix,(e.StartParam??void 0)===void 0?null:Ge(e.StartParam),(e.EndParam??void 0)===void 0?null:Ge(e.EndParam),e.ReferenceSurface],2809605785:e=>[e.SweptCurve,e.Position,e.ExtrudedDirection,e.Depth],4124788165:e=>[e.SweptCurve,e.Position,e.AxisPosition],1580310250:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],3473067441:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.Identification,e.LongDescription,e.Status,e.WorkMethod,{type:3,value:e.IsMilestone.value},e.Priority,e.TaskTime,e.PredefinedType],3206491090:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.Identification,e.LongDescription,e.ProcessType,e.PredefinedType,e.WorkMethod],2387106220:e=>[e.Coordinates],782932809:e=>[Ge(e.Position),e.CubicTerm,e.QuadraticTerm,e.LinearTerm,e.ConstantTerm],1935646853:e=>[e.Position,e.MajorRadius,e.MinorRadius],3665877780:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType],2916149573:e=>[e.Coordinates,e.Normals,e.Closed==null?null:{type:3,value:e.Closed.value},e.CoordIndex,e.PnIndex],1229763772:e=>[e.Coordinates,e.Normals,e.Closed==null?null:{type:3,value:e.Closed.value},e.CoordIndex,e.PnIndex,e.Flags],3651464721:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],336235671:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.LiningDepth,e.LiningThickness,e.TransomThickness,e.MullionThickness,e.FirstTransomOffset,e.SecondTransomOffset,e.FirstMullionOffset,e.SecondMullionOffset,e.ShapeAspectStyle,e.LiningOffset,e.LiningToPanelOffsetX,e.LiningToPanelOffsetY],512836454:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.OperationType,e.PanelPosition,e.FrameDepth,e.FrameThickness,e.ShapeAspectStyle],2296667514:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,Ge(e.TheActor)],1635779807:e=>[e.Outer],2603310189:e=>[e.Outer,e.Voids],1674181508:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.PredefinedType],2887950389:e=>[e.UDegree,e.VDegree,e.ControlPointsList,e.SurfaceForm,{type:3,value:e.UClosed.value},{type:3,value:e.VClosed.value},{type:3,value:e.SelfIntersect.value}],167062518:e=>[e.UDegree,e.VDegree,e.ControlPointsList,e.SurfaceForm,{type:3,value:e.UClosed.value},{type:3,value:e.VClosed.value},{type:3,value:e.SelfIntersect.value},e.UMultiplicities,e.VMultiplicities,e.UKnots,e.VKnots,e.KnotSpec],1334484129:e=>[e.Position,e.XLength,e.YLength,e.ZLength],3649129432:e=>[e.Operator,Ge(e.FirstOperand),Ge(e.SecondOperand)],1260505505:e=>[],3124254112:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.LongName,e.CompositionType,e.Elevation],1626504194:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType],2197970202:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],2937912522:e=>[e.ProfileType,e.ProfileName,e.Position,e.Radius,e.WallThickness],3893394355:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType],3497074424:e=>[Ge(e.Position),e.ClothoidConstant],300633059:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],3875453745:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.UsageName,e.TemplateType,e.HasPropertyTemplates],3732776249:e=>[e.Segments,{type:3,value:e.SelfIntersect.value}],15328376:e=>[e.Segments,{type:3,value:e.SelfIntersect.value}],2510884976:e=>[Ge(e.Position)],2185764099:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.Identification,e.LongDescription,e.ResourceType,e.BaseCosts,e.BaseQuantity,e.PredefinedType],4105962743:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.Identification,e.LongDescription,e.ResourceType,e.BaseCosts,e.BaseQuantity,e.PredefinedType],1525564444:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.Identification,e.LongDescription,e.ResourceType,e.BaseCosts,e.BaseQuantity,e.PredefinedType],2559216714:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.Identification,e.LongDescription,e.Usage,e.BaseCosts,e.BaseQuantity],3293443760:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.Identification],2000195564:e=>[Ge(e.Position),e.CosineTerm,e.ConstantTerm],3895139033:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.Identification,e.PredefinedType,e.CostValues,e.CostQuantities],1419761937:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.Identification,e.PredefinedType,e.Status,e.SubmittedOn,e.UpdateDate],4189326743:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1916426348:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],3295246426:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.Identification,e.LongDescription,e.Usage,e.BaseCosts,e.BaseQuantity,e.PredefinedType],1457835157:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1213902940:e=>[e.Position,e.Radius],1306400036:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType],4234616927:e=>[e.SweptArea,e.Position,e.Directrix,(e.StartParam??void 0)===void 0?null:Ge(e.StartParam),(e.EndParam??void 0)===void 0?null:Ge(e.EndParam),e.FixedReference],3256556792:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType],3849074793:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType],2963535650:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.LiningDepth,e.LiningThickness,e.ThresholdDepth,e.ThresholdThickness,e.TransomThickness,e.TransomOffset,e.LiningOffset,e.ThresholdOffset,e.CasingThickness,e.CasingDepth,e.ShapeAspectStyle,e.LiningToPanelOffsetX,e.LiningToPanelOffsetY],1714330368:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.PanelDepth,e.PanelOperation,e.PanelWidth,e.PanelPosition,e.ShapeAspectStyle],2323601079:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType,e.OperationType,e.ParameterTakesPrecedence==null?null:{type:3,value:e.ParameterTakesPrecedence.value},e.UserDefinedOperationType],445594917:e=>[e.Name],4006246654:e=>[e.Name],1758889154:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],4123344466:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.AssemblyPlace,e.PredefinedType],2397081782:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1623761950:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],2590856083:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType],1704287377:e=>[Ge(e.Position),e.SemiAxis1,e.SemiAxis2],2107101300:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType],132023988:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],3174744832:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],3390157468:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],4148101412:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.Identification,e.LongDescription,e.PredefinedType,e.EventTriggerType,e.UserDefinedEventTriggerType,e.EventOccurenceTime],2853485674:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.LongName],807026263:e=>[e.Outer],3737207727:e=>[e.Outer,e.Voids],24185140:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.LongName,e.CompositionType],1310830890:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.LongName,e.CompositionType,e.UsageType],4228831410:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.LongName,e.CompositionType,e.UsageType,e.PredefinedType],647756555:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],2489546625:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],2827207264:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],2143335405:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],1287392070:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],3907093117:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType],3198132628:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType],3815607619:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1482959167:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType],1834744321:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType],1339347760:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType],2297155007:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType],3009222698:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType],1893162501:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],263784265:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],1509553395:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],3493046030:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],4230923436:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],1594536857:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],2898700619:e=>[e.Segments,{type:3,value:e.SelfIntersect.value},e.BaseCurve,e.EndPoint],2706460486:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType],1251058090:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1806887404:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],2568555532:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],3948183225:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],2571569899:e=>[e.Points,(e.Segments??void 0)===void 0?null:e.Segments.map(t=>Ge(t)),e.SelfIntersect==null?null:{type:3,value:e.SelfIntersect.value}],3946677679:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],3113134337:e=>[e.Curve3D,e.AssociatedGeometry,e.MasterRepresentation],2391368822:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.PredefinedType,Ge(e.Jurisdiction),e.ResponsiblePersons,e.LastUpdateDate,e.CurrentValue,e.OriginalValue],4288270099:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],679976338:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],3827777499:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.Identification,e.LongDescription,e.Usage,e.BaseCosts,e.BaseQuantity,e.PredefinedType],1051575348:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1161773419:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],2176059722:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation],1770583370:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],525669439:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.LongName,e.CompositionType,e.PredefinedType],976884017:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.LongName,e.CompositionType,e.UsageType,e.PredefinedType],377706215:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.NominalDiameter,e.NominalLength,e.PredefinedType],2108223431:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType,e.NominalDiameter,e.NominalLength],1114901282:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],3181161470:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1950438474:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],710110818:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],977012517:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],506776471:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],4143007308:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,Ge(e.TheActor),e.PredefinedType],3588315303:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],2837617999:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],514975943:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],2382730787:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.Identification,e.LifeCyclePhase,e.PredefinedType],3566463478:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.OperationType,e.PanelPosition,e.FrameDepth,e.FrameThickness,e.ShapeAspectStyle],3327091369:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.Identification,e.PredefinedType,e.Status,e.LongDescription],1158309216:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],804291784:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],4231323485:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],4017108033:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],2839578677:e=>[e.Coordinates,e.Closed==null?null:{type:3,value:e.Closed.value},e.Faces,e.PnIndex],3724593414:e=>[e.Points],3740093272:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation],1946335990:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation],2744685151:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.Identification,e.LongDescription,e.PredefinedType],2904328755:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.Identification,e.PredefinedType,e.Status,e.LongDescription],3651124850:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],1842657554:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],2250791053:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1763565496:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],2893384427:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],3992365140:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.LongName,e.CompositionType,e.PredefinedType],1891881377:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.LongName,e.CompositionType,e.UsageType,e.PredefinedType],2324767716:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1469900589:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],683857671:e=>[e.UDegree,e.VDegree,e.ControlPointsList,e.SurfaceForm,{type:3,value:e.UClosed.value},{type:3,value:e.VClosed.value},{type:3,value:e.SelfIntersect.value},e.UMultiplicities,e.VMultiplicities,e.UKnots,e.VKnots,e.KnotSpec,e.WeightsData],4021432810:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.PredefinedType],3027567501:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.SteelGrade],964333572:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType],2320036040:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.SteelGrade,e.MeshLength,e.MeshWidth,e.LongitudinalBarNominalDiameter,e.TransverseBarNominalDiameter,e.LongitudinalBarCrossSectionArea,e.TransverseBarCrossSectionArea,e.LongitudinalBarSpacing,e.TransverseBarSpacing,e.PredefinedType],2310774935:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType,e.MeshLength,e.MeshWidth,e.LongitudinalBarNominalDiameter,e.TransverseBarNominalDiameter,e.LongitudinalBarCrossSectionArea,e.TransverseBarCrossSectionArea,e.LongitudinalBarSpacing,e.TransverseBarSpacing,e.BendingShapeCode,(e.BendingParameters??void 0)===void 0?null:e.BendingParameters.map(t=>Ge(t))],3818125796:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatingElement,e.RelatedSurfaceFeatures],160246688:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.RelatingObject,e.RelatedObjects],146592293:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.LongName,e.CompositionType,e.PredefinedType],550521510:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.LongName,e.CompositionType,e.UsageType,e.PredefinedType],2781568857:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1768891740:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],2157484638:e=>[e.Curve3D,e.AssociatedGeometry,e.MasterRepresentation],3649235739:e=>[Ge(e.Position),e.QuadraticTerm,e.LinearTerm,e.ConstantTerm],544395925:e=>[e.Segments,{type:3,value:e.SelfIntersect.value},e.BaseCurve,e.EndPoint],1027922057:e=>[Ge(e.Position),e.SepticTerm,e.SexticTerm,e.QuinticTerm,e.QuarticTerm,e.CubicTerm,e.QuadraticTerm,e.LinearTerm,e.ConstantTerm],4074543187:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],33720170:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],3599934289:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1894708472:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],42703149:e=>[Ge(e.Position),e.SineTerm,e.LinearTerm,e.ConstantTerm],4097777520:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.LongName,e.CompositionType,e.RefLatitude,e.RefLongitude,e.RefElevation,e.LandTitleNumber,e.SiteAddress],2533589738:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1072016465:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],3856911033:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.LongName,e.CompositionType,e.PredefinedType,e.ElevationWithFlooring],1305183839:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],3812236995:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType,e.LongName],3112655638:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1039846685:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],338393293:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],682877961:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.AppliedLoad,e.GlobalOrLocal,e.DestabilizingLoad==null?null:{type:3,value:e.DestabilizingLoad.value}],1179482911:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.AppliedCondition],1004757350:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.AppliedLoad,e.GlobalOrLocal,e.DestabilizingLoad==null?null:{type:3,value:e.DestabilizingLoad.value},e.ProjectedOrTrue,e.PredefinedType],4243806635:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.AppliedCondition,e.AxisDirection],214636428:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.PredefinedType,e.Axis],2445595289:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.PredefinedType,e.Axis],2757150158:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.AppliedLoad,e.GlobalOrLocal,e.PredefinedType],1807405624:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.AppliedLoad,e.GlobalOrLocal,e.DestabilizingLoad==null?null:{type:3,value:e.DestabilizingLoad.value},e.ProjectedOrTrue,e.PredefinedType],1252848954:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.PredefinedType,e.ActionType,e.ActionSource,e.Coefficient,e.Purpose],2082059205:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.AppliedLoad,e.GlobalOrLocal,e.DestabilizingLoad==null?null:{type:3,value:e.DestabilizingLoad.value}],734778138:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.AppliedCondition,e.ConditionCoordinateSystem],1235345126:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.AppliedLoad,e.GlobalOrLocal],2986769608:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.TheoryType,e.ResultForLoadGroup,{type:3,value:e.IsLinear.value}],3657597509:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.AppliedLoad,e.GlobalOrLocal,e.DestabilizingLoad==null?null:{type:3,value:e.DestabilizingLoad.value},e.ProjectedOrTrue,e.PredefinedType],1975003073:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.AppliedCondition],148013059:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.Identification,e.LongDescription,e.Usage,e.BaseCosts,e.BaseQuantity,e.PredefinedType],3101698114:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],2315554128:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],2254336722:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType],413509423:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],5716631:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],3824725483:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.SteelGrade,e.PredefinedType,e.NominalDiameter,e.CrossSectionArea,e.TensionForce,e.PreStress,e.FrictionCoefficient,e.AnchorageSlip,e.MinCurvatureRadius],2347447852:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.SteelGrade,e.PredefinedType],3081323446:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],3663046924:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.SteelGrade,e.PredefinedType],2281632017:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],2415094496:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType,e.NominalDiameter,e.CrossSectionArea,e.SheathDiameter],618700268:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1692211062:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],2097647324:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1953115116:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],3593883385:e=>[e.BasisCurve,Ge(e.Trim1),Ge(e.Trim2),{type:3,value:e.SenseAgreement.value},e.MasterRepresentation],1600972822:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1911125066:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],728799441:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],840318589:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],1530820697:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],3956297820:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],2391383451:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],3313531582:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],2769231204:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],926996030:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],1898987631:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1133259667:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],4009809668:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType,e.PartitioningType,e.ParameterTakesPrecedence==null?null:{type:3,value:e.ParameterTakesPrecedence.value},e.UserDefinedPartitioningType],4088093105:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.Identification,e.WorkingTimes,e.ExceptionTimes,e.PredefinedType],1028945134:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.Identification,e.CreationDate,e.Creators,e.Purpose,e.Duration,e.TotalFloat,e.StartTime,e.FinishTime],4218914973:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.Identification,e.CreationDate,e.Creators,e.Purpose,e.Duration,e.TotalFloat,e.StartTime,e.FinishTime,e.PredefinedType],3342526732:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.Identification,e.CreationDate,e.Creators,e.Purpose,e.Duration,e.TotalFloat,e.StartTime,e.FinishTime,e.PredefinedType],1033361043:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.LongName],3821786052:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.Identification,e.PredefinedType,e.Status,e.LongDescription],1411407467:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],3352864051:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1871374353:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],4266260250:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.RailHeadDistance],1545765605:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation],317615605:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.DesignParameters],1662888072:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation],3460190687:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.Identification,e.OriginalValue,e.CurrentValue,e.TotalReplacementCost,Ge(e.Owner),Ge(e.User),e.ResponsiblePerson,e.IncorporationDate,e.DepreciatedValue],1532957894:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1967976161:e=>[e.Degree,e.ControlPointsList,e.CurveForm,{type:3,value:e.ClosedCurve.value},{type:3,value:e.SelfIntersect.value}],2461110595:e=>[e.Degree,e.ControlPointsList,e.CurveForm,{type:3,value:e.ClosedCurve.value},{type:3,value:e.SelfIntersect.value},e.KnotMultiplicities,e.Knots,e.KnotSpec],819618141:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],3649138523:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],231477066:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1136057603:e=>[e.Segments,{type:3,value:e.SelfIntersect.value}],644574406:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.LongName,e.CompositionType,e.PredefinedType],963979645:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.LongName,e.CompositionType,e.UsageType,e.PredefinedType],4031249490:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.LongName,e.CompositionType,e.ElevationOfRefHeight,e.ElevationOfTerrain,e.BuildingAddress],2979338954:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],39481116:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1909888760:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1177604601:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.PredefinedType,e.LongName],1876633798:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],3862327254:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.PredefinedType,e.LongName],2188180465:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],395041908:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],3293546465:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],2674252688:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1285652485:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],3203706013:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],2951183804:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],3296154744:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],2611217952:e=>[Ge(e.Position),e.Radius],1677625105:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],2301859152:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],843113511:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],400855858:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],3850581409:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],2816379211:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],3898045240:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.Identification,e.LongDescription,e.Usage,e.BaseCosts,e.BaseQuantity,e.PredefinedType],1060000209:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.Identification,e.LongDescription,e.Usage,e.BaseCosts,e.BaseQuantity,e.PredefinedType],488727124:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.Identification,e.LongDescription,e.Usage,e.BaseCosts,e.BaseQuantity,e.PredefinedType],2940368186:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],335055490:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],2954562838:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1502416096:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],1973544240:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],3495092785:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],3961806047:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],3426335179:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],1335981549:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],2635815018:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],479945903:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1599208980:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],2063403501:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType],1945004755:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],3040386961:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],3041715199:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.FlowDirection,e.PredefinedType,e.SystemType],3205830791:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.LongName,e.PredefinedType],395920057:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.OverallHeight,e.OverallWidth,e.PredefinedType,e.OperationType,e.UserDefinedOperationType],869906466:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],3760055223:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],2030761528:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],3071239417:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],1077100507:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],3376911765:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],663422040:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],2417008758:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],3277789161:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],2142170206:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1534661035:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1217240411:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],712377611:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1658829314:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],2814081492:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],3747195512:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],484807127:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],1209101575:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.LongName,e.PredefinedType],346874300:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1810631287:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],4222183408:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],2058353004:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],4278956645:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],4037862832:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],2188021234:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],3132237377:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],987401354:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],707683696:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],2223149337:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],3508470533:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],900683007:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],2713699986:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],3009204131:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.UAxes,e.VAxes,e.WAxes,e.PredefinedType],3319311131:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],2068733104:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],4175244083:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],2176052936:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],2696325953:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],76236018:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],629592764:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],1154579445:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation],1638804497:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],1437502449:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],1073191201:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],2078563270:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],234836483:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],2474470126:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],2182337498:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],144952367:e=>[e.Segments,{type:3,value:e.SelfIntersect.value}],3694346114:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],1383356374:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],1687234759:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType,e.ConstructionType],310824031:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],3612865200:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],3171933400:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],738039164:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],655969474:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],90941305:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],3290496277:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],2262370178:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],3024970846:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],3283111854:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],1232101972:e=>[e.Degree,e.ControlPointsList,e.CurveForm,{type:3,value:e.ClosedCurve.value},{type:3,value:e.SelfIntersect.value},e.KnotMultiplicities,e.Knots,e.KnotSpec,e.WeightsData],3798194928:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],979691226:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.SteelGrade,e.NominalDiameter,e.CrossSectionArea,e.BarLength,e.PredefinedType,e.BarSurface],2572171363:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType,e.NominalDiameter,e.CrossSectionArea,e.BarLength,e.BarSurface,e.BendingShapeCode,(e.BendingParameters??void 0)===void 0?null:e.BendingParameters.map(t=>Ge(t))],2016517767:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],3053780830:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],1783015770:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1329646415:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],991950508:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],1529196076:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],3420628829:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],1999602285:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],1404847402:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],331165859:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],4252922144:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.NumberOfRisers,e.NumberOfTreads,e.RiserHeight,e.TreadLength,e.PredefinedType],2515109513:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.PredefinedType,e.OrientationOf2DPlane,e.LoadedBy,e.HasResults,e.SharedPlacement],385403989:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.PredefinedType,e.ActionType,e.ActionSource,e.Coefficient,e.Purpose,e.SelfWeightCoefficients],1621171031:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.AppliedLoad,e.GlobalOrLocal,e.DestabilizingLoad==null?null:{type:3,value:e.DestabilizingLoad.value},e.ProjectedOrTrue,e.PredefinedType],1162798199:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],812556717:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],3425753595:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],3825984169:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],1620046519:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],3026737570:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],3179687236:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],4292641817:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],4207607924:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],2391406946:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],3512223829:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],4237592921:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],3304561284:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.OverallHeight,e.OverallWidth,e.PredefinedType,e.PartitioningType,e.UserDefinedPartitioningType],2874132201:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],1634111441:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],177149247:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],2056796094:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],3001207471:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],325726236:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.PredefinedType],277319702:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],753842376:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],4196446775:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],32344328:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],3314249567:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],1095909175:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],2938176219:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],635142910:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],3758799889:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],1051757585:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],4217484030:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],3999819293:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],3902619387:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],639361253:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],3221913625:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],3571504051:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],2272882330:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],578613899:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ApplicableOccurrence,e.HasPropertySets,e.RepresentationMaps,e.Tag,e.ElementType,e.PredefinedType],3460952963:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],4136498852:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],3640358203:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],4074379575:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],3693000487:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],1052013943:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],562808652:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.LongName,e.PredefinedType],1062813311:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],342316401:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],3518393246:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],1360408905:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],1904799276:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],862014818:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],3310460725:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],24726584:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],264262732:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],402227799:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],1003880860:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],3415622556:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],819412036:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],1426591983:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],182646315:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],2680139844:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],1971632696:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag],2295281155:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],4086658281:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],630975310:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],4288193352:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],3087945054:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType],25142252:e=>[e.GlobalId,e.OwnerHistory,e.Name,e.Description,e.ObjectType,e.ObjectPlacement,e.Representation,e.Tag,e.PredefinedType]};k6[3]={3699917729:e=>new a.IfcAbsorbedDoseMeasure(e),4182062534:e=>new a.IfcAccelerationMeasure(e),360377573:e=>new a.IfcAmountOfSubstanceMeasure(e),632304761:e=>new a.IfcAngularVelocityMeasure(e),3683503648:e=>new a.IfcArcIndex(e.map(t=>t.value)),1500781891:e=>new a.IfcAreaDensityMeasure(e),2650437152:e=>new a.IfcAreaMeasure(e),2314439260:e=>new a.IfcBinary(e),2735952531:e=>new a.IfcBoolean(e),1867003952:e=>new a.IfcBoxAlignment(e),1683019596:e=>new a.IfcCardinalPointReference(e),2991860651:e=>new a.IfcComplexNumber(e.map(t=>t.value)),3812528620:e=>new a.IfcCompoundPlaneAngleMeasure(e.map(t=>t.value)),3238673880:e=>new a.IfcContextDependentMeasure(e),1778710042:e=>new a.IfcCountMeasure(e),94842927:e=>new a.IfcCurvatureMeasure(e),937566702:e=>new a.IfcDate(e),2195413836:e=>new a.IfcDateTime(e),86635668:e=>new a.IfcDayInMonthNumber(e),3701338814:e=>new a.IfcDayInWeekNumber(e),1514641115:e=>new a.IfcDescriptiveMeasure(e),4134073009:e=>new a.IfcDimensionCount(e),524656162:e=>new a.IfcDoseEquivalentMeasure(e),2541165894:e=>new a.IfcDuration(e),69416015:e=>new a.IfcDynamicViscosityMeasure(e),1827137117:e=>new a.IfcElectricCapacitanceMeasure(e),3818826038:e=>new a.IfcElectricChargeMeasure(e),2093906313:e=>new a.IfcElectricConductanceMeasure(e),3790457270:e=>new a.IfcElectricCurrentMeasure(e),2951915441:e=>new a.IfcElectricResistanceMeasure(e),2506197118:e=>new a.IfcElectricVoltageMeasure(e),2078135608:e=>new a.IfcEnergyMeasure(e),1102727119:e=>new a.IfcFontStyle(e),2715512545:e=>new a.IfcFontVariant(e),2590844177:e=>new a.IfcFontWeight(e),1361398929:e=>new a.IfcForceMeasure(e),3044325142:e=>new a.IfcFrequencyMeasure(e),3064340077:e=>new a.IfcGloballyUniqueId(e),3113092358:e=>new a.IfcHeatFluxDensityMeasure(e),1158859006:e=>new a.IfcHeatingValueMeasure(e),983778844:e=>new a.IfcIdentifier(e),3358199106:e=>new a.IfcIlluminanceMeasure(e),2679005408:e=>new a.IfcInductanceMeasure(e),1939436016:e=>new a.IfcInteger(e),3809634241:e=>new a.IfcIntegerCountRateMeasure(e),3686016028:e=>new a.IfcIonConcentrationMeasure(e),3192672207:e=>new a.IfcIsothermalMoistureCapacityMeasure(e),2054016361:e=>new a.IfcKinematicViscosityMeasure(e),3258342251:e=>new a.IfcLabel(e),1275358634:e=>new a.IfcLanguageId(e),1243674935:e=>new a.IfcLengthMeasure(e),1774176899:e=>new a.IfcLineIndex(e.map(t=>t.value)),191860431:e=>new a.IfcLinearForceMeasure(e),2128979029:e=>new a.IfcLinearMomentMeasure(e),1307019551:e=>new a.IfcLinearStiffnessMeasure(e),3086160713:e=>new a.IfcLinearVelocityMeasure(e),503418787:e=>new a.IfcLogical(e),2095003142:e=>new a.IfcLuminousFluxMeasure(e),2755797622:e=>new a.IfcLuminousIntensityDistributionMeasure(e),151039812:e=>new a.IfcLuminousIntensityMeasure(e),286949696:e=>new a.IfcMagneticFluxDensityMeasure(e),2486716878:e=>new a.IfcMagneticFluxMeasure(e),1477762836:e=>new a.IfcMassDensityMeasure(e),4017473158:e=>new a.IfcMassFlowRateMeasure(e),3124614049:e=>new a.IfcMassMeasure(e),3531705166:e=>new a.IfcMassPerLengthMeasure(e),3341486342:e=>new a.IfcModulusOfElasticityMeasure(e),2173214787:e=>new a.IfcModulusOfLinearSubgradeReactionMeasure(e),1052454078:e=>new a.IfcModulusOfRotationalSubgradeReactionMeasure(e),1753493141:e=>new a.IfcModulusOfSubgradeReactionMeasure(e),3177669450:e=>new a.IfcMoistureDiffusivityMeasure(e),1648970520:e=>new a.IfcMolecularWeightMeasure(e),3114022597:e=>new a.IfcMomentOfInertiaMeasure(e),2615040989:e=>new a.IfcMonetaryMeasure(e),765770214:e=>new a.IfcMonthInYearNumber(e),525895558:e=>new a.IfcNonNegativeLengthMeasure(e),2095195183:e=>new a.IfcNormalisedRatioMeasure(e),2395907400:e=>new a.IfcNumericMeasure(e),929793134:e=>new a.IfcPHMeasure(e),2260317790:e=>new a.IfcParameterValue(e),2642773653:e=>new a.IfcPlanarForceMeasure(e),4042175685:e=>new a.IfcPlaneAngleMeasure(e),1790229001:e=>new a.IfcPositiveInteger(e),2815919920:e=>new a.IfcPositiveLengthMeasure(e),3054510233:e=>new a.IfcPositivePlaneAngleMeasure(e),1245737093:e=>new a.IfcPositiveRatioMeasure(e),1364037233:e=>new a.IfcPowerMeasure(e),2169031380:e=>new a.IfcPresentableText(e),3665567075:e=>new a.IfcPressureMeasure(e),2798247006:e=>new a.IfcPropertySetDefinitionSet(e.map(t=>t.value)),3972513137:e=>new a.IfcRadioActivityMeasure(e),96294661:e=>new a.IfcRatioMeasure(e),200335297:e=>new a.IfcReal(e),2133746277:e=>new a.IfcRotationalFrequencyMeasure(e),1755127002:e=>new a.IfcRotationalMassMeasure(e),3211557302:e=>new a.IfcRotationalStiffnessMeasure(e),3467162246:e=>new a.IfcSectionModulusMeasure(e),2190458107:e=>new a.IfcSectionalAreaIntegralMeasure(e),408310005:e=>new a.IfcShearModulusMeasure(e),3471399674:e=>new a.IfcSolidAngleMeasure(e),4157543285:e=>new a.IfcSoundPowerLevelMeasure(e),846465480:e=>new a.IfcSoundPowerMeasure(e),3457685358:e=>new a.IfcSoundPressureLevelMeasure(e),993287707:e=>new a.IfcSoundPressureMeasure(e),3477203348:e=>new a.IfcSpecificHeatCapacityMeasure(e),2757832317:e=>new a.IfcSpecularExponent(e),361837227:e=>new a.IfcSpecularRoughness(e),1805707277:e=>new a.IfcStrippedOptional(e),58845555:e=>new a.IfcTemperatureGradientMeasure(e),1209108979:e=>new a.IfcTemperatureRateOfChangeMeasure(e),2801250643:e=>new a.IfcText(e),1460886941:e=>new a.IfcTextAlignment(e),3490877962:e=>new a.IfcTextDecoration(e),603696268:e=>new a.IfcTextFontName(e),296282323:e=>new a.IfcTextTransformation(e),232962298:e=>new a.IfcThermalAdmittanceMeasure(e),2645777649:e=>new a.IfcThermalConductivityMeasure(e),2281867870:e=>new a.IfcThermalExpansionCoefficientMeasure(e),857959152:e=>new a.IfcThermalResistanceMeasure(e),2016195849:e=>new a.IfcThermalTransmittanceMeasure(e),743184107:e=>new a.IfcThermodynamicTemperatureMeasure(e),4075327185:e=>new a.IfcTime(e),2726807636:e=>new a.IfcTimeMeasure(e),2591213694:e=>new a.IfcTimeStamp(e),1278329552:e=>new a.IfcTorqueMeasure(e),950732822:e=>new a.IfcURIReference(e),3345633955:e=>new a.IfcVaporPermeabilityMeasure(e),3458127941:e=>new a.IfcVolumeMeasure(e),2593997549:e=>new a.IfcVolumetricFlowRateMeasure(e),51269191:e=>new a.IfcWarpingConstantMeasure(e),1718600412:e=>new a.IfcWarpingMomentMeasure(e),2149462589:e=>new a.IfcWellKnownTextLiteral(e)};var a;(e=>{class t extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCABSORBEDDOSEMEASURE"}}e.IfcAbsorbedDoseMeasure=t;class i extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCACCELERATIONMEASURE"}}e.IfcAccelerationMeasure=i;class n extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCAMOUNTOFSUBSTANCEMEASURE"}}e.IfcAmountOfSubstanceMeasure=n;class s extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCANGULARVELOCITYMEASURE"}}e.IfcAngularVelocityMeasure=s;class o{constructor(E){this.value=E,this.type=5}}e.IfcArcIndex=o;class r extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCAREADENSITYMEASURE"}}e.IfcAreaDensityMeasure=r;class l extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCAREAMEASURE"}}e.IfcAreaMeasure=l;class d extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCBINARY"}}e.IfcBinary=d;class h{constructor(E){this.type=3,this.name="IFCBOOLEAN",this.value=E}}e.IfcBoolean=h;class p{constructor(E){this.value=E,this.type=1,this.name="IFCBOXALIGNMENT"}}e.IfcBoxAlignment=p;class I extends mt{constructor(){super(...arguments),this.type=10,this.name="IFCCARDINALPOINTREFERENCE"}}e.IfcCardinalPointReference=I;class m{constructor(E){this.value=E,this.type=4}}e.IfcComplexNumber=m;class y{constructor(E){this.value=E,this.type=10}}e.IfcCompoundPlaneAngleMeasure=y;class T extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCCONTEXTDEPENDENTMEASURE"}}e.IfcContextDependentMeasure=T;class R extends mt{constructor(){super(...arguments),this.type=10,this.name="IFCCOUNTMEASURE"}}e.IfcCountMeasure=R;class b extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCCURVATUREMEASURE"}}e.IfcCurvatureMeasure=b;class A{constructor(E){this.value=E,this.type=1,this.name="IFCDATE"}}e.IfcDate=A;class O{constructor(E){this.value=E,this.type=1,this.name="IFCDATETIME"}}e.IfcDateTime=O;class P extends mt{constructor(){super(...arguments),this.type=10,this.name="IFCDAYINMONTHNUMBER"}}e.IfcDayInMonthNumber=P;class U extends mt{constructor(){super(...arguments),this.type=10,this.name="IFCDAYINWEEKNUMBER"}}e.IfcDayInWeekNumber=U;class Z{constructor(E){this.value=E,this.type=1,this.name="IFCDESCRIPTIVEMEASURE"}}e.IfcDescriptiveMeasure=Z;class ne extends mt{constructor(){super(...arguments),this.type=10,this.name="IFCDIMENSIONCOUNT"}}e.IfcDimensionCount=ne;class K extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCDOSEEQUIVALENTMEASURE"}}e.IfcDoseEquivalentMeasure=K;class oe{constructor(E){this.value=E,this.type=1,this.name="IFCDURATION"}}e.IfcDuration=oe;class se extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCDYNAMICVISCOSITYMEASURE"}}e.IfcDynamicViscosityMeasure=se;class he extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCELECTRICCAPACITANCEMEASURE"}}e.IfcElectricCapacitanceMeasure=he;class Re extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCELECTRICCHARGEMEASURE"}}e.IfcElectricChargeMeasure=Re;class ee extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCELECTRICCONDUCTANCEMEASURE"}}e.IfcElectricConductanceMeasure=ee;class Ae extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCELECTRICCURRENTMEASURE"}}e.IfcElectricCurrentMeasure=Ae;class Ee extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCELECTRICRESISTANCEMEASURE"}}e.IfcElectricResistanceMeasure=Ee;class Ce extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCELECTRICVOLTAGEMEASURE"}}e.IfcElectricVoltageMeasure=Ce;class Qe extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCENERGYMEASURE"}}e.IfcEnergyMeasure=Qe;class qe{constructor(E){this.value=E,this.type=1,this.name="IFCFONTSTYLE"}}e.IfcFontStyle=qe;class St{constructor(E){this.value=E,this.type=1,this.name="IFCFONTVARIANT"}}e.IfcFontVariant=St;class $e{constructor(E){this.value=E,this.type=1,this.name="IFCFONTWEIGHT"}}e.IfcFontWeight=$e;class ke extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCFORCEMEASURE"}}e.IfcForceMeasure=ke;class It extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCFREQUENCYMEASURE"}}e.IfcFrequencyMeasure=It;class ft{constructor(E){this.value=E,this.type=1,this.name="IFCGLOBALLYUNIQUEID"}}e.IfcGloballyUniqueId=ft;class Dt extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCHEATFLUXDENSITYMEASURE"}}e.IfcHeatFluxDensityMeasure=Dt;class Zt extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCHEATINGVALUEMEASURE"}}e.IfcHeatingValueMeasure=Zt;class Ct{constructor(E){this.value=E,this.type=1,this.name="IFCIDENTIFIER"}}e.IfcIdentifier=Ct;class Ut extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCILLUMINANCEMEASURE"}}e.IfcIlluminanceMeasure=Ut;class ii extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCINDUCTANCEMEASURE"}}e.IfcInductanceMeasure=ii;class Vt extends mt{constructor(){super(...arguments),this.type=10,this.name="IFCINTEGER"}}e.IfcInteger=Vt;class Kt extends mt{constructor(){super(...arguments),this.type=10,this.name="IFCINTEGERCOUNTRATEMEASURE"}}e.IfcIntegerCountRateMeasure=Kt;class ui extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCIONCONCENTRATIONMEASURE"}}e.IfcIonConcentrationMeasure=ui;class jt extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCISOTHERMALMOISTURECAPACITYMEASURE"}}e.IfcIsothermalMoistureCapacityMeasure=jt;class Oe extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCKINEMATICVISCOSITYMEASURE"}}e.IfcKinematicViscosityMeasure=Oe;class Ft{constructor(E){this.value=E,this.type=1,this.name="IFCLABEL"}}e.IfcLabel=Ft;class ge{constructor(E){this.value=E,this.type=1,this.name="IFCLANGUAGEID"}}e.IfcLanguageId=ge;class Ue extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCLENGTHMEASURE"}}e.IfcLengthMeasure=Ue;class Pe{constructor(E){this.value=E,this.type=5}}e.IfcLineIndex=Pe;class Me extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCLINEARFORCEMEASURE"}}e.IfcLinearForceMeasure=Me;class ze extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCLINEARMOMENTMEASURE"}}e.IfcLinearMomentMeasure=ze;class pt extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCLINEARSTIFFNESSMEASURE"}}e.IfcLinearStiffnessMeasure=pt;class He extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCLINEARVELOCITYMEASURE"}}e.IfcLinearVelocityMeasure=He;class At{constructor(E){this.type=3,this.name="IFCLOGICAL",this.value=E}}e.IfcLogical=At;class Tt extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCLUMINOUSFLUXMEASURE"}}e.IfcLuminousFluxMeasure=Tt;class Lt extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCLUMINOUSINTENSITYDISTRIBUTIONMEASURE"}}e.IfcLuminousIntensityDistributionMeasure=Lt;class Ht extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCLUMINOUSINTENSITYMEASURE"}}e.IfcLuminousIntensityMeasure=Ht;class ri extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCMAGNETICFLUXDENSITYMEASURE"}}e.IfcMagneticFluxDensityMeasure=ri;class Xe extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCMAGNETICFLUXMEASURE"}}e.IfcMagneticFluxMeasure=Xe;class We extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCMASSDENSITYMEASURE"}}e.IfcMassDensityMeasure=We;class Mt extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCMASSFLOWRATEMEASURE"}}e.IfcMassFlowRateMeasure=Mt;class si extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCMASSMEASURE"}}e.IfcMassMeasure=si;class gi extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCMASSPERLENGTHMEASURE"}}e.IfcMassPerLengthMeasure=gi;class mi extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCMODULUSOFELASTICITYMEASURE"}}e.IfcModulusOfElasticityMeasure=mi;class bi extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCMODULUSOFLINEARSUBGRADEREACTIONMEASURE"}}e.IfcModulusOfLinearSubgradeReactionMeasure=bi;class Qt extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCMODULUSOFROTATIONALSUBGRADEREACTIONMEASURE"}}e.IfcModulusOfRotationalSubgradeReactionMeasure=Qt;class di extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCMODULUSOFSUBGRADEREACTIONMEASURE"}}e.IfcModulusOfSubgradeReactionMeasure=di;class Wi extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCMOISTUREDIFFUSIVITYMEASURE"}}e.IfcMoistureDiffusivityMeasure=Wi;class ki extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCMOLECULARWEIGHTMEASURE"}}e.IfcMolecularWeightMeasure=ki;class Pi extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCMOMENTOFINERTIAMEASURE"}}e.IfcMomentOfInertiaMeasure=Pi;class Di extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCMONETARYMEASURE"}}e.IfcMonetaryMeasure=Di;class dn extends mt{constructor(){super(...arguments),this.type=10,this.name="IFCMONTHINYEARNUMBER"}}e.IfcMonthInYearNumber=dn;class Ln extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCNONNEGATIVELENGTHMEASURE"}}e.IfcNonNegativeLengthMeasure=Ln;class Zi extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCNORMALISEDRATIOMEASURE"}}e.IfcNormalisedRatioMeasure=Zi;class kt extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCNUMERICMEASURE"}}e.IfcNumericMeasure=kt;class Gi extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCPHMEASURE"}}e.IfcPHMeasure=Gi;class wi extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCPARAMETERVALUE"}}e.IfcParameterValue=wi;class Qi extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCPLANARFORCEMEASURE"}}e.IfcPlanarForceMeasure=Qi;class Fi extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCPLANEANGLEMEASURE"}}e.IfcPlaneAngleMeasure=Fi;class Ci extends mt{constructor(){super(...arguments),this.type=10,this.name="IFCPOSITIVEINTEGER"}}e.IfcPositiveInteger=Ci;class cn extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCPOSITIVELENGTHMEASURE"}}e.IfcPositiveLengthMeasure=cn;class Un extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCPOSITIVEPLANEANGLEMEASURE"}}e.IfcPositivePlaneAngleMeasure=Un;class hn extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCPOSITIVERATIOMEASURE"}}e.IfcPositiveRatioMeasure=hn;class Rs extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCPOWERMEASURE"}}e.IfcPowerMeasure=Rs;class Wo{constructor(E){this.value=E,this.type=1,this.name="IFCPRESENTABLETEXT"}}e.IfcPresentableText=Wo;class Io extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCPRESSUREMEASURE"}}e.IfcPressureMeasure=Io;class ao{constructor(E){this.value=E,this.type=5}}e.IfcPropertySetDefinitionSet=ao;class Ma extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCRADIOACTIVITYMEASURE"}}e.IfcRadioActivityMeasure=Ma;class Yn extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCRATIOMEASURE"}}e.IfcRatioMeasure=Yn;class wu extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCREAL"}}e.IfcReal=wu;class mo extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCROTATIONALFREQUENCYMEASURE"}}e.IfcRotationalFrequencyMeasure=mo;class Ia extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCROTATIONALMASSMEASURE"}}e.IfcRotationalMassMeasure=Ia;class Er extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCROTATIONALSTIFFNESSMEASURE"}}e.IfcRotationalStiffnessMeasure=Er;class Vl extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCSECTIONMODULUSMEASURE"}}e.IfcSectionModulusMeasure=Vl;class Nr extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCSECTIONALAREAINTEGRALMEASURE"}}e.IfcSectionalAreaIntegralMeasure=Nr;class Ni extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCSHEARMODULUSMEASURE"}}e.IfcShearModulusMeasure=Ni;class _r extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCSOLIDANGLEMEASURE"}}e.IfcSolidAngleMeasure=_r;class Hc extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCSOUNDPOWERLEVELMEASURE"}}e.IfcSoundPowerLevelMeasure=Hc;class Dr extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCSOUNDPOWERMEASURE"}}e.IfcSoundPowerMeasure=Dr;class ma extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCSOUNDPRESSURELEVELMEASURE"}}e.IfcSoundPressureLevelMeasure=ma;class A0 extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCSOUNDPRESSUREMEASURE"}}e.IfcSoundPressureMeasure=A0;class Gc extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCSPECIFICHEATCAPACITYMEASURE"}}e.IfcSpecificHeatCapacityMeasure=Gc;class Vc extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCSPECULAREXPONENT"}}e.IfcSpecularExponent=Vc;class yo extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCSPECULARROUGHNESS"}}e.IfcSpecularRoughness=yo;class vu{constructor(E){this.type=3,this.name="IFCSTRIPPEDOPTIONAL",this.value=E}}e.IfcStrippedOptional=vu;class Es extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCTEMPERATUREGRADIENTMEASURE"}}e.IfcTemperatureGradientMeasure=Es;class ht extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCTEMPERATURERATEOFCHANGEMEASURE"}}e.IfcTemperatureRateOfChangeMeasure=ht;class qt{constructor(E){this.value=E,this.type=1,this.name="IFCTEXT"}}e.IfcText=qt;class ni{constructor(E){this.value=E,this.type=1,this.name="IFCTEXTALIGNMENT"}}e.IfcTextAlignment=ni;class ei{constructor(E){this.value=E,this.type=1,this.name="IFCTEXTDECORATION"}}e.IfcTextDecoration=ei;class Xt{constructor(E){this.value=E,this.type=1,this.name="IFCTEXTFONTNAME"}}e.IfcTextFontName=Xt;class ji{constructor(E){this.value=E,this.type=1,this.name="IFCTEXTTRANSFORMATION"}}e.IfcTextTransformation=ji;class rn extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCTHERMALADMITTANCEMEASURE"}}e.IfcThermalAdmittanceMeasure=rn;class Ki extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCTHERMALCONDUCTIVITYMEASURE"}}e.IfcThermalConductivityMeasure=Ki;class fn extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCTHERMALEXPANSIONCOEFFICIENTMEASURE"}}e.IfcThermalExpansionCoefficientMeasure=fn;class En extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCTHERMALRESISTANCEMEASURE"}}e.IfcThermalResistanceMeasure=En;class zn extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCTHERMALTRANSMITTANCEMEASURE"}}e.IfcThermalTransmittanceMeasure=zn;class Vn extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCTHERMODYNAMICTEMPERATUREMEASURE"}}e.IfcThermodynamicTemperatureMeasure=Vn;class wn{constructor(E){this.value=E,this.type=1,this.name="IFCTIME"}}e.IfcTime=wn;class Ds extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCTIMEMEASURE"}}e.IfcTimeMeasure=Ds;class Ws extends mt{constructor(){super(...arguments),this.type=10,this.name="IFCTIMESTAMP"}}e.IfcTimeStamp=Ws;class Ys extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCTORQUEMEASURE"}}e.IfcTorqueMeasure=Ys;class hs{constructor(E){this.value=E,this.type=1,this.name="IFCURIREFERENCE"}}e.IfcURIReference=hs;class uo extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCVAPORPERMEABILITYMEASURE"}}e.IfcVaporPermeabilityMeasure=uo;class sn extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCVOLUMEMEASURE"}}e.IfcVolumeMeasure=sn;class eo extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCVOLUMETRICFLOWRATEMEASURE"}}e.IfcVolumetricFlowRateMeasure=eo;class Xn extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCWARPINGCONSTANTMEASURE"}}e.IfcWarpingConstantMeasure=Xn;class Do extends mt{constructor(){super(...arguments),this.type=4,this.name="IFCWARPINGMOMENTMEASURE"}}e.IfcWarpingMomentMeasure=Do;class lr{constructor(E){this.value=E,this.type=1,this.name="IFCWELLKNOWNTEXTLITERAL"}}e.IfcWellKnownTextLiteral=lr;class Bo{static{this.EMAIL={type:3,value:"EMAIL"}}static{this.FAX={type:3,value:"FAX"}}static{this.PHONE={type:3,value:"PHONE"}}static{this.POST={type:3,value:"POST"}}static{this.VERBAL={type:3,value:"VERBAL"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcActionRequestTypeEnum=Bo;class Fo{static{this.BRAKES={type:3,value:"BRAKES"}}static{this.BUOYANCY={type:3,value:"BUOYANCY"}}static{this.COMPLETION_G1={type:3,value:"COMPLETION_G1"}}static{this.CREEP={type:3,value:"CREEP"}}static{this.CURRENT={type:3,value:"CURRENT"}}static{this.DEAD_LOAD_G={type:3,value:"DEAD_LOAD_G"}}static{this.EARTHQUAKE_E={type:3,value:"EARTHQUAKE_E"}}static{this.ERECTION={type:3,value:"ERECTION"}}static{this.FIRE={type:3,value:"FIRE"}}static{this.ICE={type:3,value:"ICE"}}static{this.IMPACT={type:3,value:"IMPACT"}}static{this.IMPULSE={type:3,value:"IMPULSE"}}static{this.LACK_OF_FIT={type:3,value:"LACK_OF_FIT"}}static{this.LIVE_LOAD_Q={type:3,value:"LIVE_LOAD_Q"}}static{this.PRESTRESSING_P={type:3,value:"PRESTRESSING_P"}}static{this.PROPPING={type:3,value:"PROPPING"}}static{this.RAIN={type:3,value:"RAIN"}}static{this.SETTLEMENT_U={type:3,value:"SETTLEMENT_U"}}static{this.SHRINKAGE={type:3,value:"SHRINKAGE"}}static{this.SNOW_S={type:3,value:"SNOW_S"}}static{this.SYSTEM_IMPERFECTION={type:3,value:"SYSTEM_IMPERFECTION"}}static{this.TEMPERATURE_T={type:3,value:"TEMPERATURE_T"}}static{this.TRANSPORT={type:3,value:"TRANSPORT"}}static{this.WAVE={type:3,value:"WAVE"}}static{this.WIND_W={type:3,value:"WIND_W"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcActionSourceTypeEnum=Fo;class rs{static{this.EXTRAORDINARY_A={type:3,value:"EXTRAORDINARY_A"}}static{this.PERMANENT_G={type:3,value:"PERMANENT_G"}}static{this.VARIABLE_Q={type:3,value:"VARIABLE_Q"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcActionTypeEnum=rs;class Ts{static{this.ELECTRICACTUATOR={type:3,value:"ELECTRICACTUATOR"}}static{this.HANDOPERATEDACTUATOR={type:3,value:"HANDOPERATEDACTUATOR"}}static{this.HYDRAULICACTUATOR={type:3,value:"HYDRAULICACTUATOR"}}static{this.PNEUMATICACTUATOR={type:3,value:"PNEUMATICACTUATOR"}}static{this.THERMOSTATICACTUATOR={type:3,value:"THERMOSTATICACTUATOR"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcActuatorTypeEnum=Ts;class ls{static{this.DISTRIBUTIONPOINT={type:3,value:"DISTRIBUTIONPOINT"}}static{this.HOME={type:3,value:"HOME"}}static{this.OFFICE={type:3,value:"OFFICE"}}static{this.SITE={type:3,value:"SITE"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}}e.IfcAddressTypeEnum=ls;class Ss{static{this.CONSTANTFLOW={type:3,value:"CONSTANTFLOW"}}static{this.VARIABLEFLOWPRESSUREDEPENDANT={type:3,value:"VARIABLEFLOWPRESSUREDEPENDANT"}}static{this.VARIABLEFLOWPRESSUREINDEPENDANT={type:3,value:"VARIABLEFLOWPRESSUREINDEPENDANT"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcAirTerminalBoxTypeEnum=Ss;class Tr{static{this.DIFFUSER={type:3,value:"DIFFUSER"}}static{this.GRILLE={type:3,value:"GRILLE"}}static{this.LOUVRE={type:3,value:"LOUVRE"}}static{this.REGISTER={type:3,value:"REGISTER"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcAirTerminalTypeEnum=Tr;class hr{static{this.FIXEDPLATECOUNTERFLOWEXCHANGER={type:3,value:"FIXEDPLATECOUNTERFLOWEXCHANGER"}}static{this.FIXEDPLATECROSSFLOWEXCHANGER={type:3,value:"FIXEDPLATECROSSFLOWEXCHANGER"}}static{this.FIXEDPLATEPARALLELFLOWEXCHANGER={type:3,value:"FIXEDPLATEPARALLELFLOWEXCHANGER"}}static{this.HEATPIPE={type:3,value:"HEATPIPE"}}static{this.ROTARYWHEEL={type:3,value:"ROTARYWHEEL"}}static{this.RUNAROUNDCOILLOOP={type:3,value:"RUNAROUNDCOILLOOP"}}static{this.THERMOSIPHONCOILTYPEHEATEXCHANGERS={type:3,value:"THERMOSIPHONCOILTYPEHEATEXCHANGERS"}}static{this.THERMOSIPHONSEALEDTUBEHEATEXCHANGERS={type:3,value:"THERMOSIPHONSEALEDTUBEHEATEXCHANGERS"}}static{this.TWINTOWERENTHALPYRECOVERYLOOPS={type:3,value:"TWINTOWERENTHALPYRECOVERYLOOPS"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcAirToAirHeatRecoveryTypeEnum=hr;class b0{static{this.BELL={type:3,value:"BELL"}}static{this.BREAKGLASSBUTTON={type:3,value:"BREAKGLASSBUTTON"}}static{this.LIGHT={type:3,value:"LIGHT"}}static{this.MANUALPULLBOX={type:3,value:"MANUALPULLBOX"}}static{this.RAILWAYCROCODILE={type:3,value:"RAILWAYCROCODILE"}}static{this.RAILWAYDETONATOR={type:3,value:"RAILWAYDETONATOR"}}static{this.SIREN={type:3,value:"SIREN"}}static{this.WHISTLE={type:3,value:"WHISTLE"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcAlarmTypeEnum=b0;class N0{static{this.BLOSSCURVE={type:3,value:"BLOSSCURVE"}}static{this.CONSTANTCANT={type:3,value:"CONSTANTCANT"}}static{this.COSINECURVE={type:3,value:"COSINECURVE"}}static{this.HELMERTCURVE={type:3,value:"HELMERTCURVE"}}static{this.LINEARTRANSITION={type:3,value:"LINEARTRANSITION"}}static{this.SINECURVE={type:3,value:"SINECURVE"}}static{this.VIENNESEBEND={type:3,value:"VIENNESEBEND"}}}e.IfcAlignmentCantSegmentTypeEnum=N0;class th{static{this.BLOSSCURVE={type:3,value:"BLOSSCURVE"}}static{this.CIRCULARARC={type:3,value:"CIRCULARARC"}}static{this.CLOTHOID={type:3,value:"CLOTHOID"}}static{this.COSINECURVE={type:3,value:"COSINECURVE"}}static{this.CUBIC={type:3,value:"CUBIC"}}static{this.HELMERTCURVE={type:3,value:"HELMERTCURVE"}}static{this.LINE={type:3,value:"LINE"}}static{this.SINECURVE={type:3,value:"SINECURVE"}}static{this.VIENNESEBEND={type:3,value:"VIENNESEBEND"}}}e.IfcAlignmentHorizontalSegmentTypeEnum=th;class kc{static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcAlignmentTypeEnum=kc;class Jh{static{this.CIRCULARARC={type:3,value:"CIRCULARARC"}}static{this.CLOTHOID={type:3,value:"CLOTHOID"}}static{this.CONSTANTGRADIENT={type:3,value:"CONSTANTGRADIENT"}}static{this.PARABOLICARC={type:3,value:"PARABOLICARC"}}}e.IfcAlignmentVerticalSegmentTypeEnum=Jh;class Xh{static{this.IN_PLANE_LOADING_2D={type:3,value:"IN_PLANE_LOADING_2D"}}static{this.LOADING_3D={type:3,value:"LOADING_3D"}}static{this.OUT_PLANE_LOADING_2D={type:3,value:"OUT_PLANE_LOADING_2D"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcAnalysisModelTypeEnum=Xh;class ih{static{this.FIRST_ORDER_THEORY={type:3,value:"FIRST_ORDER_THEORY"}}static{this.FULL_NONLINEAR_THEORY={type:3,value:"FULL_NONLINEAR_THEORY"}}static{this.SECOND_ORDER_THEORY={type:3,value:"SECOND_ORDER_THEORY"}}static{this.THIRD_ORDER_THEORY={type:3,value:"THIRD_ORDER_THEORY"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcAnalysisTheoryTypeEnum=ih;class nh{static{this.CONTOURLINE={type:3,value:"CONTOURLINE"}}static{this.DIMENSION={type:3,value:"DIMENSION"}}static{this.ISOBAR={type:3,value:"ISOBAR"}}static{this.ISOLUX={type:3,value:"ISOLUX"}}static{this.ISOTHERM={type:3,value:"ISOTHERM"}}static{this.LEADER={type:3,value:"LEADER"}}static{this.SURVEY={type:3,value:"SURVEY"}}static{this.SYMBOL={type:3,value:"SYMBOL"}}static{this.TEXT={type:3,value:"TEXT"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcAnnotationTypeEnum=nh;class pI{static{this.ADD={type:3,value:"ADD"}}static{this.DIVIDE={type:3,value:"DIVIDE"}}static{this.MODULO={type:3,value:"MODULO"}}static{this.MULTIPLY={type:3,value:"MULTIPLY"}}static{this.SUBTRACT={type:3,value:"SUBTRACT"}}}e.IfcArithmeticOperatorEnum=pI;class _0{static{this.FACTORY={type:3,value:"FACTORY"}}static{this.SITE={type:3,value:"SITE"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcAssemblyPlaceEnum=_0;class to{static{this.AMPLIFIER={type:3,value:"AMPLIFIER"}}static{this.CAMERA={type:3,value:"CAMERA"}}static{this.COMMUNICATIONTERMINAL={type:3,value:"COMMUNICATIONTERMINAL"}}static{this.DISPLAY={type:3,value:"DISPLAY"}}static{this.MICROPHONE={type:3,value:"MICROPHONE"}}static{this.PLAYER={type:3,value:"PLAYER"}}static{this.PROJECTOR={type:3,value:"PROJECTOR"}}static{this.RECEIVER={type:3,value:"RECEIVER"}}static{this.RECORDINGEQUIPMENT={type:3,value:"RECORDINGEQUIPMENT"}}static{this.SPEAKER={type:3,value:"SPEAKER"}}static{this.SWITCHER={type:3,value:"SWITCHER"}}static{this.TELEPHONE={type:3,value:"TELEPHONE"}}static{this.TUNER={type:3,value:"TUNER"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcAudioVisualApplianceTypeEnum=to;class Jf{static{this.CIRCULAR_ARC={type:3,value:"CIRCULAR_ARC"}}static{this.ELLIPTIC_ARC={type:3,value:"ELLIPTIC_ARC"}}static{this.HYPERBOLIC_ARC={type:3,value:"HYPERBOLIC_ARC"}}static{this.PARABOLIC_ARC={type:3,value:"PARABOLIC_ARC"}}static{this.POLYLINE_FORM={type:3,value:"POLYLINE_FORM"}}static{this.UNSPECIFIED={type:3,value:"UNSPECIFIED"}}}e.IfcBSplineCurveForm=Jf;class io{static{this.CONICAL_SURF={type:3,value:"CONICAL_SURF"}}static{this.CYLINDRICAL_SURF={type:3,value:"CYLINDRICAL_SURF"}}static{this.GENERALISED_CONE={type:3,value:"GENERALISED_CONE"}}static{this.PLANE_SURF={type:3,value:"PLANE_SURF"}}static{this.QUADRIC_SURF={type:3,value:"QUADRIC_SURF"}}static{this.RULED_SURF={type:3,value:"RULED_SURF"}}static{this.SPHERICAL_SURF={type:3,value:"SPHERICAL_SURF"}}static{this.SURF_OF_LINEAR_EXTRUSION={type:3,value:"SURF_OF_LINEAR_EXTRUSION"}}static{this.SURF_OF_REVOLUTION={type:3,value:"SURF_OF_REVOLUTION"}}static{this.TOROIDAL_SURF={type:3,value:"TOROIDAL_SURF"}}static{this.UNSPECIFIED={type:3,value:"UNSPECIFIED"}}}e.IfcBSplineSurfaceForm=io;class sh{static{this.BEAM={type:3,value:"BEAM"}}static{this.CORNICE={type:3,value:"CORNICE"}}static{this.DIAPHRAGM={type:3,value:"DIAPHRAGM"}}static{this.EDGEBEAM={type:3,value:"EDGEBEAM"}}static{this.GIRDER_SEGMENT={type:3,value:"GIRDER_SEGMENT"}}static{this.HATSTONE={type:3,value:"HATSTONE"}}static{this.HOLLOWCORE={type:3,value:"HOLLOWCORE"}}static{this.JOIST={type:3,value:"JOIST"}}static{this.LINTEL={type:3,value:"LINTEL"}}static{this.PIERCAP={type:3,value:"PIERCAP"}}static{this.SPANDREL={type:3,value:"SPANDREL"}}static{this.T_BEAM={type:3,value:"T_BEAM"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcBeamTypeEnum=sh;class U1{static{this.CYLINDRICAL={type:3,value:"CYLINDRICAL"}}static{this.DISK={type:3,value:"DISK"}}static{this.ELASTOMERIC={type:3,value:"ELASTOMERIC"}}static{this.GUIDE={type:3,value:"GUIDE"}}static{this.POT={type:3,value:"POT"}}static{this.ROCKER={type:3,value:"ROCKER"}}static{this.ROLLER={type:3,value:"ROLLER"}}static{this.SPHERICAL={type:3,value:"SPHERICAL"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcBearingTypeEnum=U1;class ef{static{this.EQUALTO={type:3,value:"EQUALTO"}}static{this.GREATERTHAN={type:3,value:"GREATERTHAN"}}static{this.GREATERTHANOREQUALTO={type:3,value:"GREATERTHANOREQUALTO"}}static{this.INCLUDEDIN={type:3,value:"INCLUDEDIN"}}static{this.INCLUDES={type:3,value:"INCLUDES"}}static{this.LESSTHAN={type:3,value:"LESSTHAN"}}static{this.LESSTHANOREQUALTO={type:3,value:"LESSTHANOREQUALTO"}}static{this.NOTEQUALTO={type:3,value:"NOTEQUALTO"}}static{this.NOTINCLUDEDIN={type:3,value:"NOTINCLUDEDIN"}}static{this.NOTINCLUDES={type:3,value:"NOTINCLUDES"}}}e.IfcBenchmarkEnum=ef;class Xf{static{this.STEAM={type:3,value:"STEAM"}}static{this.WATER={type:3,value:"WATER"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcBoilerTypeEnum=Xf;class bt{static{this.DIFFERENCE={type:3,value:"DIFFERENCE"}}static{this.INTERSECTION={type:3,value:"INTERSECTION"}}static{this.UNION={type:3,value:"UNION"}}}e.IfcBooleanOperator=bt;class vi{static{this.ABUTMENT={type:3,value:"ABUTMENT"}}static{this.DECK={type:3,value:"DECK"}}static{this.DECK_SEGMENT={type:3,value:"DECK_SEGMENT"}}static{this.FOUNDATION={type:3,value:"FOUNDATION"}}static{this.PIER={type:3,value:"PIER"}}static{this.PIER_SEGMENT={type:3,value:"PIER_SEGMENT"}}static{this.PYLON={type:3,value:"PYLON"}}static{this.SUBSTRUCTURE={type:3,value:"SUBSTRUCTURE"}}static{this.SUPERSTRUCTURE={type:3,value:"SUPERSTRUCTURE"}}static{this.SURFACESTRUCTURE={type:3,value:"SURFACESTRUCTURE"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcBridgePartTypeEnum=vi;class zi{static{this.ARCHED={type:3,value:"ARCHED"}}static{this.CABLE_STAYED={type:3,value:"CABLE_STAYED"}}static{this.CANTILEVER={type:3,value:"CANTILEVER"}}static{this.CULVERT={type:3,value:"CULVERT"}}static{this.FRAMEWORK={type:3,value:"FRAMEWORK"}}static{this.GIRDER={type:3,value:"GIRDER"}}static{this.SUSPENSION={type:3,value:"SUSPENSION"}}static{this.TRUSS={type:3,value:"TRUSS"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcBridgeTypeEnum=zi;class Rn{static{this.APRON={type:3,value:"APRON"}}static{this.ARMOURUNIT={type:3,value:"ARMOURUNIT"}}static{this.INSULATION={type:3,value:"INSULATION"}}static{this.PRECASTPANEL={type:3,value:"PRECASTPANEL"}}static{this.SAFETYCAGE={type:3,value:"SAFETYCAGE"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcBuildingElementPartTypeEnum=Rn;class _n{static{this.COMPLEX={type:3,value:"COMPLEX"}}static{this.ELEMENT={type:3,value:"ELEMENT"}}static{this.PARTIAL={type:3,value:"PARTIAL"}}static{this.PROVISIONFORSPACE={type:3,value:"PROVISIONFORSPACE"}}static{this.PROVISIONFORVOID={type:3,value:"PROVISIONFORVOID"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcBuildingElementProxyTypeEnum=_n;class Cn{static{this.FENESTRATION={type:3,value:"FENESTRATION"}}static{this.FOUNDATION={type:3,value:"FOUNDATION"}}static{this.LOADBEARING={type:3,value:"LOADBEARING"}}static{this.OUTERSHELL={type:3,value:"OUTERSHELL"}}static{this.SHADING={type:3,value:"SHADING"}}static{this.TRANSPORT={type:3,value:"TRANSPORT"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcBuildingSystemTypeEnum=Cn;class Wn{static{this.EROSIONPREVENTION={type:3,value:"EROSIONPREVENTION"}}static{this.FENESTRATION={type:3,value:"FENESTRATION"}}static{this.FOUNDATION={type:3,value:"FOUNDATION"}}static{this.LOADBEARING={type:3,value:"LOADBEARING"}}static{this.MOORING={type:3,value:"MOORING"}}static{this.OUTERSHELL={type:3,value:"OUTERSHELL"}}static{this.PRESTRESSING={type:3,value:"PRESTRESSING"}}static{this.RAILWAYLINE={type:3,value:"RAILWAYLINE"}}static{this.RAILWAYTRACK={type:3,value:"RAILWAYTRACK"}}static{this.REINFORCING={type:3,value:"REINFORCING"}}static{this.SHADING={type:3,value:"SHADING"}}static{this.TRACKCIRCUIT={type:3,value:"TRACKCIRCUIT"}}static{this.TRANSPORT={type:3,value:"TRANSPORT"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcBuiltSystemTypeEnum=Wn;class An{static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcBurnerTypeEnum=An;class js{static{this.BEND={type:3,value:"BEND"}}static{this.CONNECTOR={type:3,value:"CONNECTOR"}}static{this.CROSS={type:3,value:"CROSS"}}static{this.JUNCTION={type:3,value:"JUNCTION"}}static{this.REDUCER={type:3,value:"REDUCER"}}static{this.TEE={type:3,value:"TEE"}}static{this.TRANSITION={type:3,value:"TRANSITION"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcCableCarrierFittingTypeEnum=js;class Uo{static{this.CABLEBRACKET={type:3,value:"CABLEBRACKET"}}static{this.CABLELADDERSEGMENT={type:3,value:"CABLELADDERSEGMENT"}}static{this.CABLETRAYSEGMENT={type:3,value:"CABLETRAYSEGMENT"}}static{this.CABLETRUNKINGSEGMENT={type:3,value:"CABLETRUNKINGSEGMENT"}}static{this.CATENARYWIRE={type:3,value:"CATENARYWIRE"}}static{this.CONDUITSEGMENT={type:3,value:"CONDUITSEGMENT"}}static{this.DROPPER={type:3,value:"DROPPER"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcCableCarrierSegmentTypeEnum=Uo;class Yo{static{this.CONNECTOR={type:3,value:"CONNECTOR"}}static{this.ENTRY={type:3,value:"ENTRY"}}static{this.EXIT={type:3,value:"EXIT"}}static{this.FANOUT={type:3,value:"FANOUT"}}static{this.JUNCTION={type:3,value:"JUNCTION"}}static{this.TRANSITION={type:3,value:"TRANSITION"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcCableFittingTypeEnum=Yo;class ya{static{this.BUSBARSEGMENT={type:3,value:"BUSBARSEGMENT"}}static{this.CABLESEGMENT={type:3,value:"CABLESEGMENT"}}static{this.CONDUCTORSEGMENT={type:3,value:"CONDUCTORSEGMENT"}}static{this.CONTACTWIRESEGMENT={type:3,value:"CONTACTWIRESEGMENT"}}static{this.CORESEGMENT={type:3,value:"CORESEGMENT"}}static{this.FIBERSEGMENT={type:3,value:"FIBERSEGMENT"}}static{this.FIBERTUBE={type:3,value:"FIBERTUBE"}}static{this.OPTICALCABLESEGMENT={type:3,value:"OPTICALCABLESEGMENT"}}static{this.STITCHWIRE={type:3,value:"STITCHWIRE"}}static{this.WIREPAIRSEGMENT={type:3,value:"WIREPAIRSEGMENT"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcCableSegmentTypeEnum=ya;class D0{static{this.CAISSON={type:3,value:"CAISSON"}}static{this.WELL={type:3,value:"WELL"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcCaissonFoundationTypeEnum=D0;class ep{static{this.ADDED={type:3,value:"ADDED"}}static{this.DELETED={type:3,value:"DELETED"}}static{this.MODIFIED={type:3,value:"MODIFIED"}}static{this.NOCHANGE={type:3,value:"NOCHANGE"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcChangeActionEnum=ep;class NE{static{this.AIRCOOLED={type:3,value:"AIRCOOLED"}}static{this.HEATRECOVERY={type:3,value:"HEATRECOVERY"}}static{this.WATERCOOLED={type:3,value:"WATERCOOLED"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcChillerTypeEnum=NE;class H1{static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcChimneyTypeEnum=H1;class kl{static{this.DXCOOLINGCOIL={type:3,value:"DXCOOLINGCOIL"}}static{this.ELECTRICHEATINGCOIL={type:3,value:"ELECTRICHEATINGCOIL"}}static{this.GASHEATINGCOIL={type:3,value:"GASHEATINGCOIL"}}static{this.HYDRONICCOIL={type:3,value:"HYDRONICCOIL"}}static{this.STEAMHEATINGCOIL={type:3,value:"STEAMHEATINGCOIL"}}static{this.WATERCOOLINGCOIL={type:3,value:"WATERCOOLINGCOIL"}}static{this.WATERHEATINGCOIL={type:3,value:"WATERHEATINGCOIL"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcCoilTypeEnum=kl;class Ru{static{this.COLUMN={type:3,value:"COLUMN"}}static{this.PIERSTEM={type:3,value:"PIERSTEM"}}static{this.PIERSTEM_SEGMENT={type:3,value:"PIERSTEM_SEGMENT"}}static{this.PILASTER={type:3,value:"PILASTER"}}static{this.STANDCOLUMN={type:3,value:"STANDCOLUMN"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcColumnTypeEnum=Ru;class Ea{static{this.ANTENNA={type:3,value:"ANTENNA"}}static{this.AUTOMATON={type:3,value:"AUTOMATON"}}static{this.COMPUTER={type:3,value:"COMPUTER"}}static{this.FAX={type:3,value:"FAX"}}static{this.GATEWAY={type:3,value:"GATEWAY"}}static{this.INTELLIGENTPERIPHERAL={type:3,value:"INTELLIGENTPERIPHERAL"}}static{this.IPNETWORKEQUIPMENT={type:3,value:"IPNETWORKEQUIPMENT"}}static{this.LINESIDEELECTRONICUNIT={type:3,value:"LINESIDEELECTRONICUNIT"}}static{this.MODEM={type:3,value:"MODEM"}}static{this.NETWORKAPPLIANCE={type:3,value:"NETWORKAPPLIANCE"}}static{this.NETWORKBRIDGE={type:3,value:"NETWORKBRIDGE"}}static{this.NETWORKHUB={type:3,value:"NETWORKHUB"}}static{this.OPTICALLINETERMINAL={type:3,value:"OPTICALLINETERMINAL"}}static{this.OPTICALNETWORKUNIT={type:3,value:"OPTICALNETWORKUNIT"}}static{this.PRINTER={type:3,value:"PRINTER"}}static{this.RADIOBLOCKCENTER={type:3,value:"RADIOBLOCKCENTER"}}static{this.REPEATER={type:3,value:"REPEATER"}}static{this.ROUTER={type:3,value:"ROUTER"}}static{this.SCANNER={type:3,value:"SCANNER"}}static{this.TELECOMMAND={type:3,value:"TELECOMMAND"}}static{this.TELEPHONYEXCHANGE={type:3,value:"TELEPHONYEXCHANGE"}}static{this.TRANSITIONCOMPONENT={type:3,value:"TRANSITIONCOMPONENT"}}static{this.TRANSPONDER={type:3,value:"TRANSPONDER"}}static{this.TRANSPORTEQUIPMENT={type:3,value:"TRANSPORTEQUIPMENT"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcCommunicationsApplianceTypeEnum=Ea;class _E{static{this.P_COMPLEX={type:3,value:"P_COMPLEX"}}static{this.Q_COMPLEX={type:3,value:"Q_COMPLEX"}}}e.IfcComplexPropertyTemplateTypeEnum=_E;class j3{static{this.BOOSTER={type:3,value:"BOOSTER"}}static{this.DYNAMIC={type:3,value:"DYNAMIC"}}static{this.HERMETIC={type:3,value:"HERMETIC"}}static{this.OPENTYPE={type:3,value:"OPENTYPE"}}static{this.RECIPROCATING={type:3,value:"RECIPROCATING"}}static{this.ROLLINGPISTON={type:3,value:"ROLLINGPISTON"}}static{this.ROTARY={type:3,value:"ROTARY"}}static{this.ROTARYVANE={type:3,value:"ROTARYVANE"}}static{this.SCROLL={type:3,value:"SCROLL"}}static{this.SEMIHERMETIC={type:3,value:"SEMIHERMETIC"}}static{this.SINGLESCREW={type:3,value:"SINGLESCREW"}}static{this.SINGLESTAGE={type:3,value:"SINGLESTAGE"}}static{this.TROCHOIDAL={type:3,value:"TROCHOIDAL"}}static{this.TWINSCREW={type:3,value:"TWINSCREW"}}static{this.WELDEDSHELLHERMETIC={type:3,value:"WELDEDSHELLHERMETIC"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcCompressorTypeEnum=j3;class q3{static{this.AIRCOOLED={type:3,value:"AIRCOOLED"}}static{this.EVAPORATIVECOOLED={type:3,value:"EVAPORATIVECOOLED"}}static{this.WATERCOOLED={type:3,value:"WATERCOOLED"}}static{this.WATERCOOLEDBRAZEDPLATE={type:3,value:"WATERCOOLEDBRAZEDPLATE"}}static{this.WATERCOOLEDSHELLCOIL={type:3,value:"WATERCOOLEDSHELLCOIL"}}static{this.WATERCOOLEDSHELLTUBE={type:3,value:"WATERCOOLEDSHELLTUBE"}}static{this.WATERCOOLEDTUBEINTUBE={type:3,value:"WATERCOOLEDTUBEINTUBE"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcCondenserTypeEnum=q3;class II{static{this.ATEND={type:3,value:"ATEND"}}static{this.ATPATH={type:3,value:"ATPATH"}}static{this.ATSTART={type:3,value:"ATSTART"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcConnectionTypeEnum=II;class $3{static{this.ADVISORY={type:3,value:"ADVISORY"}}static{this.HARD={type:3,value:"HARD"}}static{this.SOFT={type:3,value:"SOFT"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcConstraintEnum=$3;class i4{static{this.DEMOLISHING={type:3,value:"DEMOLISHING"}}static{this.EARTHMOVING={type:3,value:"EARTHMOVING"}}static{this.ERECTING={type:3,value:"ERECTING"}}static{this.HEATING={type:3,value:"HEATING"}}static{this.LIGHTING={type:3,value:"LIGHTING"}}static{this.PAVING={type:3,value:"PAVING"}}static{this.PUMPING={type:3,value:"PUMPING"}}static{this.TRANSPORTING={type:3,value:"TRANSPORTING"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcConstructionEquipmentResourceTypeEnum=i4;class Z3{static{this.AGGREGATES={type:3,value:"AGGREGATES"}}static{this.CONCRETE={type:3,value:"CONCRETE"}}static{this.DRYWALL={type:3,value:"DRYWALL"}}static{this.FUEL={type:3,value:"FUEL"}}static{this.GYPSUM={type:3,value:"GYPSUM"}}static{this.MASONRY={type:3,value:"MASONRY"}}static{this.METAL={type:3,value:"METAL"}}static{this.PLASTIC={type:3,value:"PLASTIC"}}static{this.WOOD={type:3,value:"WOOD"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcConstructionMaterialResourceTypeEnum=Z3;class DE{static{this.ASSEMBLY={type:3,value:"ASSEMBLY"}}static{this.FORMWORK={type:3,value:"FORMWORK"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcConstructionProductResourceTypeEnum=DE;class n4{static{this.FLOATING={type:3,value:"FLOATING"}}static{this.MULTIPOSITION={type:3,value:"MULTIPOSITION"}}static{this.PROGRAMMABLE={type:3,value:"PROGRAMMABLE"}}static{this.PROPORTIONAL={type:3,value:"PROPORTIONAL"}}static{this.TWOPOSITION={type:3,value:"TWOPOSITION"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcControllerTypeEnum=n4;class CE{static{this.BELTCONVEYOR={type:3,value:"BELTCONVEYOR"}}static{this.BUCKETCONVEYOR={type:3,value:"BUCKETCONVEYOR"}}static{this.CHUTECONVEYOR={type:3,value:"CHUTECONVEYOR"}}static{this.SCREWCONVEYOR={type:3,value:"SCREWCONVEYOR"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcConveyorSegmentTypeEnum=CE;class s4{static{this.ACTIVE={type:3,value:"ACTIVE"}}static{this.PASSIVE={type:3,value:"PASSIVE"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcCooledBeamTypeEnum=s4;class o4{static{this.MECHANICALFORCEDDRAFT={type:3,value:"MECHANICALFORCEDDRAFT"}}static{this.MECHANICALINDUCEDDRAFT={type:3,value:"MECHANICALINDUCEDDRAFT"}}static{this.NATURALDRAFT={type:3,value:"NATURALDRAFT"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcCoolingTowerTypeEnum=o4;class r4{static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcCostItemTypeEnum=r4;class l4{static{this.BUDGET={type:3,value:"BUDGET"}}static{this.COSTPLAN={type:3,value:"COSTPLAN"}}static{this.ESTIMATE={type:3,value:"ESTIMATE"}}static{this.PRICEDBILLOFQUANTITIES={type:3,value:"PRICEDBILLOFQUANTITIES"}}static{this.SCHEDULEOFRATES={type:3,value:"SCHEDULEOFRATES"}}static{this.TENDER={type:3,value:"TENDER"}}static{this.UNPRICEDBILLOFQUANTITIES={type:3,value:"UNPRICEDBILLOFQUANTITIES"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcCostScheduleTypeEnum=l4;class a4{static{this.ARMOUR={type:3,value:"ARMOUR"}}static{this.BALLASTBED={type:3,value:"BALLASTBED"}}static{this.CORE={type:3,value:"CORE"}}static{this.FILTER={type:3,value:"FILTER"}}static{this.PAVEMENT={type:3,value:"PAVEMENT"}}static{this.PROTECTION={type:3,value:"PROTECTION"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcCourseTypeEnum=a4;class xE{static{this.CEILING={type:3,value:"CEILING"}}static{this.CLADDING={type:3,value:"CLADDING"}}static{this.COPING={type:3,value:"COPING"}}static{this.FLOORING={type:3,value:"FLOORING"}}static{this.INSULATION={type:3,value:"INSULATION"}}static{this.MEMBRANE={type:3,value:"MEMBRANE"}}static{this.MOLDING={type:3,value:"MOLDING"}}static{this.ROOFING={type:3,value:"ROOFING"}}static{this.SKIRTINGBOARD={type:3,value:"SKIRTINGBOARD"}}static{this.SLEEVING={type:3,value:"SLEEVING"}}static{this.TOPPING={type:3,value:"TOPPING"}}static{this.WRAPPING={type:3,value:"WRAPPING"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcCoveringTypeEnum=xE;class u4{static{this.OFFICE={type:3,value:"OFFICE"}}static{this.SITE={type:3,value:"SITE"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcCrewResourceTypeEnum=u4;class c4{static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcCurtainWallTypeEnum=c4;class d4{static{this.LINEAR={type:3,value:"LINEAR"}}static{this.LOG_LINEAR={type:3,value:"LOG_LINEAR"}}static{this.LOG_LOG={type:3,value:"LOG_LOG"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcCurveInterpolationEnum=d4;class h4{static{this.BACKDRAFTDAMPER={type:3,value:"BACKDRAFTDAMPER"}}static{this.BALANCINGDAMPER={type:3,value:"BALANCINGDAMPER"}}static{this.BLASTDAMPER={type:3,value:"BLASTDAMPER"}}static{this.CONTROLDAMPER={type:3,value:"CONTROLDAMPER"}}static{this.FIREDAMPER={type:3,value:"FIREDAMPER"}}static{this.FIRESMOKEDAMPER={type:3,value:"FIRESMOKEDAMPER"}}static{this.FUMEHOODEXHAUST={type:3,value:"FUMEHOODEXHAUST"}}static{this.GRAVITYDAMPER={type:3,value:"GRAVITYDAMPER"}}static{this.GRAVITYRELIEFDAMPER={type:3,value:"GRAVITYRELIEFDAMPER"}}static{this.RELIEFDAMPER={type:3,value:"RELIEFDAMPER"}}static{this.SMOKEDAMPER={type:3,value:"SMOKEDAMPER"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcDamperTypeEnum=h4;class K3{static{this.MEASURED={type:3,value:"MEASURED"}}static{this.PREDICTED={type:3,value:"PREDICTED"}}static{this.SIMULATED={type:3,value:"SIMULATED"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcDataOriginEnum=K3;class f4{static{this.ACCELERATIONUNIT={type:3,value:"ACCELERATIONUNIT"}}static{this.ANGULARVELOCITYUNIT={type:3,value:"ANGULARVELOCITYUNIT"}}static{this.AREADENSITYUNIT={type:3,value:"AREADENSITYUNIT"}}static{this.COMPOUNDPLANEANGLEUNIT={type:3,value:"COMPOUNDPLANEANGLEUNIT"}}static{this.CURVATUREUNIT={type:3,value:"CURVATUREUNIT"}}static{this.DYNAMICVISCOSITYUNIT={type:3,value:"DYNAMICVISCOSITYUNIT"}}static{this.HEATFLUXDENSITYUNIT={type:3,value:"HEATFLUXDENSITYUNIT"}}static{this.HEATINGVALUEUNIT={type:3,value:"HEATINGVALUEUNIT"}}static{this.INTEGERCOUNTRATEUNIT={type:3,value:"INTEGERCOUNTRATEUNIT"}}static{this.IONCONCENTRATIONUNIT={type:3,value:"IONCONCENTRATIONUNIT"}}static{this.ISOTHERMALMOISTURECAPACITYUNIT={type:3,value:"ISOTHERMALMOISTURECAPACITYUNIT"}}static{this.KINEMATICVISCOSITYUNIT={type:3,value:"KINEMATICVISCOSITYUNIT"}}static{this.LINEARFORCEUNIT={type:3,value:"LINEARFORCEUNIT"}}static{this.LINEARMOMENTUNIT={type:3,value:"LINEARMOMENTUNIT"}}static{this.LINEARSTIFFNESSUNIT={type:3,value:"LINEARSTIFFNESSUNIT"}}static{this.LINEARVELOCITYUNIT={type:3,value:"LINEARVELOCITYUNIT"}}static{this.LUMINOUSINTENSITYDISTRIBUTIONUNIT={type:3,value:"LUMINOUSINTENSITYDISTRIBUTIONUNIT"}}static{this.MASSDENSITYUNIT={type:3,value:"MASSDENSITYUNIT"}}static{this.MASSFLOWRATEUNIT={type:3,value:"MASSFLOWRATEUNIT"}}static{this.MASSPERLENGTHUNIT={type:3,value:"MASSPERLENGTHUNIT"}}static{this.MODULUSOFELASTICITYUNIT={type:3,value:"MODULUSOFELASTICITYUNIT"}}static{this.MODULUSOFLINEARSUBGRADEREACTIONUNIT={type:3,value:"MODULUSOFLINEARSUBGRADEREACTIONUNIT"}}static{this.MODULUSOFROTATIONALSUBGRADEREACTIONUNIT={type:3,value:"MODULUSOFROTATIONALSUBGRADEREACTIONUNIT"}}static{this.MODULUSOFSUBGRADEREACTIONUNIT={type:3,value:"MODULUSOFSUBGRADEREACTIONUNIT"}}static{this.MOISTUREDIFFUSIVITYUNIT={type:3,value:"MOISTUREDIFFUSIVITYUNIT"}}static{this.MOLECULARWEIGHTUNIT={type:3,value:"MOLECULARWEIGHTUNIT"}}static{this.MOMENTOFINERTIAUNIT={type:3,value:"MOMENTOFINERTIAUNIT"}}static{this.PHUNIT={type:3,value:"PHUNIT"}}static{this.PLANARFORCEUNIT={type:3,value:"PLANARFORCEUNIT"}}static{this.ROTATIONALFREQUENCYUNIT={type:3,value:"ROTATIONALFREQUENCYUNIT"}}static{this.ROTATIONALMASSUNIT={type:3,value:"ROTATIONALMASSUNIT"}}static{this.ROTATIONALSTIFFNESSUNIT={type:3,value:"ROTATIONALSTIFFNESSUNIT"}}static{this.SECTIONAREAINTEGRALUNIT={type:3,value:"SECTIONAREAINTEGRALUNIT"}}static{this.SECTIONMODULUSUNIT={type:3,value:"SECTIONMODULUSUNIT"}}static{this.SHEARMODULUSUNIT={type:3,value:"SHEARMODULUSUNIT"}}static{this.SOUNDPOWERLEVELUNIT={type:3,value:"SOUNDPOWERLEVELUNIT"}}static{this.SOUNDPOWERUNIT={type:3,value:"SOUNDPOWERUNIT"}}static{this.SOUNDPRESSURELEVELUNIT={type:3,value:"SOUNDPRESSURELEVELUNIT"}}static{this.SOUNDPRESSUREUNIT={type:3,value:"SOUNDPRESSUREUNIT"}}static{this.SPECIFICHEATCAPACITYUNIT={type:3,value:"SPECIFICHEATCAPACITYUNIT"}}static{this.TEMPERATUREGRADIENTUNIT={type:3,value:"TEMPERATUREGRADIENTUNIT"}}static{this.TEMPERATURERATEOFCHANGEUNIT={type:3,value:"TEMPERATURERATEOFCHANGEUNIT"}}static{this.THERMALADMITTANCEUNIT={type:3,value:"THERMALADMITTANCEUNIT"}}static{this.THERMALCONDUCTANCEUNIT={type:3,value:"THERMALCONDUCTANCEUNIT"}}static{this.THERMALEXPANSIONCOEFFICIENTUNIT={type:3,value:"THERMALEXPANSIONCOEFFICIENTUNIT"}}static{this.THERMALRESISTANCEUNIT={type:3,value:"THERMALRESISTANCEUNIT"}}static{this.THERMALTRANSMITTANCEUNIT={type:3,value:"THERMALTRANSMITTANCEUNIT"}}static{this.TORQUEUNIT={type:3,value:"TORQUEUNIT"}}static{this.VAPORPERMEABILITYUNIT={type:3,value:"VAPORPERMEABILITYUNIT"}}static{this.VOLUMETRICFLOWRATEUNIT={type:3,value:"VOLUMETRICFLOWRATEUNIT"}}static{this.WARPINGCONSTANTUNIT={type:3,value:"WARPINGCONSTANTUNIT"}}static{this.WARPINGMOMENTUNIT={type:3,value:"WARPINGMOMENTUNIT"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}}e.IfcDerivedUnitEnum=f4;class OE{static{this.NEGATIVE={type:3,value:"NEGATIVE"}}static{this.POSITIVE={type:3,value:"POSITIVE"}}}e.IfcDirectionSenseEnum=OE;class p4{static{this.ANCHORPLATE={type:3,value:"ANCHORPLATE"}}static{this.BIRDPROTECTION={type:3,value:"BIRDPROTECTION"}}static{this.BRACKET={type:3,value:"BRACKET"}}static{this.CABLEARRANGER={type:3,value:"CABLEARRANGER"}}static{this.ELASTIC_CUSHION={type:3,value:"ELASTIC_CUSHION"}}static{this.EXPANSION_JOINT_DEVICE={type:3,value:"EXPANSION_JOINT_DEVICE"}}static{this.FILLER={type:3,value:"FILLER"}}static{this.FLASHING={type:3,value:"FLASHING"}}static{this.INSULATOR={type:3,value:"INSULATOR"}}static{this.LOCK={type:3,value:"LOCK"}}static{this.PANEL_STRENGTHENING={type:3,value:"PANEL_STRENGTHENING"}}static{this.POINTMACHINEMOUNTINGDEVICE={type:3,value:"POINTMACHINEMOUNTINGDEVICE"}}static{this.POINT_MACHINE_LOCKING_DEVICE={type:3,value:"POINT_MACHINE_LOCKING_DEVICE"}}static{this.RAILBRACE={type:3,value:"RAILBRACE"}}static{this.RAILPAD={type:3,value:"RAILPAD"}}static{this.RAIL_LUBRICATION={type:3,value:"RAIL_LUBRICATION"}}static{this.RAIL_MECHANICAL_EQUIPMENT={type:3,value:"RAIL_MECHANICAL_EQUIPMENT"}}static{this.SHOE={type:3,value:"SHOE"}}static{this.SLIDINGCHAIR={type:3,value:"SLIDINGCHAIR"}}static{this.SOUNDABSORPTION={type:3,value:"SOUNDABSORPTION"}}static{this.TENSIONINGEQUIPMENT={type:3,value:"TENSIONINGEQUIPMENT"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcDiscreteAccessoryTypeEnum=p4;class LE{static{this.CONSUMERUNIT={type:3,value:"CONSUMERUNIT"}}static{this.DISPATCHINGBOARD={type:3,value:"DISPATCHINGBOARD"}}static{this.DISTRIBUTIONBOARD={type:3,value:"DISTRIBUTIONBOARD"}}static{this.DISTRIBUTIONFRAME={type:3,value:"DISTRIBUTIONFRAME"}}static{this.MOTORCONTROLCENTRE={type:3,value:"MOTORCONTROLCENTRE"}}static{this.SWITCHBOARD={type:3,value:"SWITCHBOARD"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcDistributionBoardTypeEnum=LE;class G1{static{this.FORMEDDUCT={type:3,value:"FORMEDDUCT"}}static{this.INSPECTIONCHAMBER={type:3,value:"INSPECTIONCHAMBER"}}static{this.INSPECTIONPIT={type:3,value:"INSPECTIONPIT"}}static{this.MANHOLE={type:3,value:"MANHOLE"}}static{this.METERCHAMBER={type:3,value:"METERCHAMBER"}}static{this.SUMP={type:3,value:"SUMP"}}static{this.TRENCH={type:3,value:"TRENCH"}}static{this.VALVECHAMBER={type:3,value:"VALVECHAMBER"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcDistributionChamberElementTypeEnum=G1;class I4{static{this.CABLE={type:3,value:"CABLE"}}static{this.CABLECARRIER={type:3,value:"CABLECARRIER"}}static{this.DUCT={type:3,value:"DUCT"}}static{this.PIPE={type:3,value:"PIPE"}}static{this.WIRELESS={type:3,value:"WIRELESS"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcDistributionPortTypeEnum=I4;class PE{static{this.AIRCONDITIONING={type:3,value:"AIRCONDITIONING"}}static{this.AUDIOVISUAL={type:3,value:"AUDIOVISUAL"}}static{this.CATENARY_SYSTEM={type:3,value:"CATENARY_SYSTEM"}}static{this.CHEMICAL={type:3,value:"CHEMICAL"}}static{this.CHILLEDWATER={type:3,value:"CHILLEDWATER"}}static{this.COMMUNICATION={type:3,value:"COMMUNICATION"}}static{this.COMPRESSEDAIR={type:3,value:"COMPRESSEDAIR"}}static{this.CONDENSERWATER={type:3,value:"CONDENSERWATER"}}static{this.CONTROL={type:3,value:"CONTROL"}}static{this.CONVEYING={type:3,value:"CONVEYING"}}static{this.DATA={type:3,value:"DATA"}}static{this.DISPOSAL={type:3,value:"DISPOSAL"}}static{this.DOMESTICCOLDWATER={type:3,value:"DOMESTICCOLDWATER"}}static{this.DOMESTICHOTWATER={type:3,value:"DOMESTICHOTWATER"}}static{this.DRAINAGE={type:3,value:"DRAINAGE"}}static{this.EARTHING={type:3,value:"EARTHING"}}static{this.ELECTRICAL={type:3,value:"ELECTRICAL"}}static{this.ELECTROACOUSTIC={type:3,value:"ELECTROACOUSTIC"}}static{this.EXHAUST={type:3,value:"EXHAUST"}}static{this.FIREPROTECTION={type:3,value:"FIREPROTECTION"}}static{this.FIXEDTRANSMISSIONNETWORK={type:3,value:"FIXEDTRANSMISSIONNETWORK"}}static{this.FUEL={type:3,value:"FUEL"}}static{this.GAS={type:3,value:"GAS"}}static{this.HAZARDOUS={type:3,value:"HAZARDOUS"}}static{this.HEATING={type:3,value:"HEATING"}}static{this.LIGHTING={type:3,value:"LIGHTING"}}static{this.LIGHTNINGPROTECTION={type:3,value:"LIGHTNINGPROTECTION"}}static{this.MOBILENETWORK={type:3,value:"MOBILENETWORK"}}static{this.MONITORINGSYSTEM={type:3,value:"MONITORINGSYSTEM"}}static{this.MUNICIPALSOLIDWASTE={type:3,value:"MUNICIPALSOLIDWASTE"}}static{this.OIL={type:3,value:"OIL"}}static{this.OPERATIONAL={type:3,value:"OPERATIONAL"}}static{this.OPERATIONALTELEPHONYSYSTEM={type:3,value:"OPERATIONALTELEPHONYSYSTEM"}}static{this.OVERHEAD_CONTACTLINE_SYSTEM={type:3,value:"OVERHEAD_CONTACTLINE_SYSTEM"}}static{this.POWERGENERATION={type:3,value:"POWERGENERATION"}}static{this.RAINWATER={type:3,value:"RAINWATER"}}static{this.REFRIGERATION={type:3,value:"REFRIGERATION"}}static{this.RETURN_CIRCUIT={type:3,value:"RETURN_CIRCUIT"}}static{this.SECURITY={type:3,value:"SECURITY"}}static{this.SEWAGE={type:3,value:"SEWAGE"}}static{this.SIGNAL={type:3,value:"SIGNAL"}}static{this.STORMWATER={type:3,value:"STORMWATER"}}static{this.TELEPHONE={type:3,value:"TELEPHONE"}}static{this.TV={type:3,value:"TV"}}static{this.VACUUM={type:3,value:"VACUUM"}}static{this.VENT={type:3,value:"VENT"}}static{this.VENTILATION={type:3,value:"VENTILATION"}}static{this.WASTEWATER={type:3,value:"WASTEWATER"}}static{this.WATERSUPPLY={type:3,value:"WATERSUPPLY"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcDistributionSystemEnum=PE;class m4{static{this.CONFIDENTIAL={type:3,value:"CONFIDENTIAL"}}static{this.PERSONAL={type:3,value:"PERSONAL"}}static{this.PUBLIC={type:3,value:"PUBLIC"}}static{this.RESTRICTED={type:3,value:"RESTRICTED"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcDocumentConfidentialityEnum=m4;class y4{static{this.DRAFT={type:3,value:"DRAFT"}}static{this.FINAL={type:3,value:"FINAL"}}static{this.FINALDRAFT={type:3,value:"FINALDRAFT"}}static{this.REVISION={type:3,value:"REVISION"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcDocumentStatusEnum=y4;class E4{static{this.DOUBLE_ACTING={type:3,value:"DOUBLE_ACTING"}}static{this.FIXEDPANEL={type:3,value:"FIXEDPANEL"}}static{this.FOLDING={type:3,value:"FOLDING"}}static{this.REVOLVING={type:3,value:"REVOLVING"}}static{this.ROLLINGUP={type:3,value:"ROLLINGUP"}}static{this.SLIDING={type:3,value:"SLIDING"}}static{this.SWINGING={type:3,value:"SWINGING"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcDoorPanelOperationEnum=E4;class T4{static{this.LEFT={type:3,value:"LEFT"}}static{this.MIDDLE={type:3,value:"MIDDLE"}}static{this.RIGHT={type:3,value:"RIGHT"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcDoorPanelPositionEnum=T4;class ME{static{this.BOOM_BARRIER={type:3,value:"BOOM_BARRIER"}}static{this.DOOR={type:3,value:"DOOR"}}static{this.GATE={type:3,value:"GATE"}}static{this.TRAPDOOR={type:3,value:"TRAPDOOR"}}static{this.TURNSTILE={type:3,value:"TURNSTILE"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcDoorTypeEnum=ME;class g4{static{this.DOUBLE_DOOR_DOUBLE_SWING={type:3,value:"DOUBLE_DOOR_DOUBLE_SWING"}}static{this.DOUBLE_DOOR_FOLDING={type:3,value:"DOUBLE_DOOR_FOLDING"}}static{this.DOUBLE_DOOR_LIFTING_VERTICAL={type:3,value:"DOUBLE_DOOR_LIFTING_VERTICAL"}}static{this.DOUBLE_DOOR_SINGLE_SWING={type:3,value:"DOUBLE_DOOR_SINGLE_SWING"}}static{this.DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_LEFT={type:3,value:"DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_LEFT"}}static{this.DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_RIGHT={type:3,value:"DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_RIGHT"}}static{this.DOUBLE_DOOR_SLIDING={type:3,value:"DOUBLE_DOOR_SLIDING"}}static{this.DOUBLE_SWING_LEFT={type:3,value:"DOUBLE_SWING_LEFT"}}static{this.DOUBLE_SWING_RIGHT={type:3,value:"DOUBLE_SWING_RIGHT"}}static{this.FOLDING_TO_LEFT={type:3,value:"FOLDING_TO_LEFT"}}static{this.FOLDING_TO_RIGHT={type:3,value:"FOLDING_TO_RIGHT"}}static{this.LIFTING_HORIZONTAL={type:3,value:"LIFTING_HORIZONTAL"}}static{this.LIFTING_VERTICAL_LEFT={type:3,value:"LIFTING_VERTICAL_LEFT"}}static{this.LIFTING_VERTICAL_RIGHT={type:3,value:"LIFTING_VERTICAL_RIGHT"}}static{this.REVOLVING={type:3,value:"REVOLVING"}}static{this.REVOLVING_VERTICAL={type:3,value:"REVOLVING_VERTICAL"}}static{this.ROLLINGUP={type:3,value:"ROLLINGUP"}}static{this.SINGLE_SWING_LEFT={type:3,value:"SINGLE_SWING_LEFT"}}static{this.SINGLE_SWING_RIGHT={type:3,value:"SINGLE_SWING_RIGHT"}}static{this.SLIDING_TO_LEFT={type:3,value:"SLIDING_TO_LEFT"}}static{this.SLIDING_TO_RIGHT={type:3,value:"SLIDING_TO_RIGHT"}}static{this.SWING_FIXED_LEFT={type:3,value:"SWING_FIXED_LEFT"}}static{this.SWING_FIXED_RIGHT={type:3,value:"SWING_FIXED_RIGHT"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcDoorTypeOperationEnum=g4;class w4{static{this.BEND={type:3,value:"BEND"}}static{this.CONNECTOR={type:3,value:"CONNECTOR"}}static{this.ENTRY={type:3,value:"ENTRY"}}static{this.EXIT={type:3,value:"EXIT"}}static{this.JUNCTION={type:3,value:"JUNCTION"}}static{this.OBSTRUCTION={type:3,value:"OBSTRUCTION"}}static{this.TRANSITION={type:3,value:"TRANSITION"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcDuctFittingTypeEnum=w4;class mI{static{this.FLEXIBLESEGMENT={type:3,value:"FLEXIBLESEGMENT"}}static{this.RIGIDSEGMENT={type:3,value:"RIGIDSEGMENT"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcDuctSegmentTypeEnum=mI;class Q3{static{this.FLATOVAL={type:3,value:"FLATOVAL"}}static{this.RECTANGULAR={type:3,value:"RECTANGULAR"}}static{this.ROUND={type:3,value:"ROUND"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcDuctSilencerTypeEnum=Q3;class BE{static{this.BASE_EXCAVATION={type:3,value:"BASE_EXCAVATION"}}static{this.CUT={type:3,value:"CUT"}}static{this.DREDGING={type:3,value:"DREDGING"}}static{this.EXCAVATION={type:3,value:"EXCAVATION"}}static{this.OVEREXCAVATION={type:3,value:"OVEREXCAVATION"}}static{this.PAVEMENTMILLING={type:3,value:"PAVEMENTMILLING"}}static{this.STEPEXCAVATION={type:3,value:"STEPEXCAVATION"}}static{this.TOPSOILREMOVAL={type:3,value:"TOPSOILREMOVAL"}}static{this.TRENCH={type:3,value:"TRENCH"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcEarthworksCutTypeEnum=BE;class V1{static{this.BACKFILL={type:3,value:"BACKFILL"}}static{this.COUNTERWEIGHT={type:3,value:"COUNTERWEIGHT"}}static{this.EMBANKMENT={type:3,value:"EMBANKMENT"}}static{this.SLOPEFILL={type:3,value:"SLOPEFILL"}}static{this.SUBGRADE={type:3,value:"SUBGRADE"}}static{this.SUBGRADEBED={type:3,value:"SUBGRADEBED"}}static{this.TRANSITIONSECTION={type:3,value:"TRANSITIONSECTION"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcEarthworksFillTypeEnum=V1;class v4{static{this.DISHWASHER={type:3,value:"DISHWASHER"}}static{this.ELECTRICCOOKER={type:3,value:"ELECTRICCOOKER"}}static{this.FREESTANDINGELECTRICHEATER={type:3,value:"FREESTANDINGELECTRICHEATER"}}static{this.FREESTANDINGFAN={type:3,value:"FREESTANDINGFAN"}}static{this.FREESTANDINGWATERCOOLER={type:3,value:"FREESTANDINGWATERCOOLER"}}static{this.FREESTANDINGWATERHEATER={type:3,value:"FREESTANDINGWATERHEATER"}}static{this.FREEZER={type:3,value:"FREEZER"}}static{this.FRIDGE_FREEZER={type:3,value:"FRIDGE_FREEZER"}}static{this.HANDDRYER={type:3,value:"HANDDRYER"}}static{this.KITCHENMACHINE={type:3,value:"KITCHENMACHINE"}}static{this.MICROWAVE={type:3,value:"MICROWAVE"}}static{this.PHOTOCOPIER={type:3,value:"PHOTOCOPIER"}}static{this.REFRIGERATOR={type:3,value:"REFRIGERATOR"}}static{this.TUMBLEDRYER={type:3,value:"TUMBLEDRYER"}}static{this.VENDINGMACHINE={type:3,value:"VENDINGMACHINE"}}static{this.WASHINGMACHINE={type:3,value:"WASHINGMACHINE"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcElectricApplianceTypeEnum=v4;class R4{static{this.CONSUMERUNIT={type:3,value:"CONSUMERUNIT"}}static{this.DISTRIBUTIONBOARD={type:3,value:"DISTRIBUTIONBOARD"}}static{this.MOTORCONTROLCENTRE={type:3,value:"MOTORCONTROLCENTRE"}}static{this.SWITCHBOARD={type:3,value:"SWITCHBOARD"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcElectricDistributionBoardTypeEnum=R4;class S4{static{this.BATTERY={type:3,value:"BATTERY"}}static{this.CAPACITOR={type:3,value:"CAPACITOR"}}static{this.CAPACITORBANK={type:3,value:"CAPACITORBANK"}}static{this.COMPENSATOR={type:3,value:"COMPENSATOR"}}static{this.HARMONICFILTER={type:3,value:"HARMONICFILTER"}}static{this.INDUCTOR={type:3,value:"INDUCTOR"}}static{this.INDUCTORBANK={type:3,value:"INDUCTORBANK"}}static{this.RECHARGER={type:3,value:"RECHARGER"}}static{this.UPS={type:3,value:"UPS"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcElectricFlowStorageDeviceTypeEnum=S4;class A4{static{this.ELECTRONICFILTER={type:3,value:"ELECTRONICFILTER"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcElectricFlowTreatmentDeviceTypeEnum=A4;class J3{static{this.CHP={type:3,value:"CHP"}}static{this.ENGINEGENERATOR={type:3,value:"ENGINEGENERATOR"}}static{this.STANDALONE={type:3,value:"STANDALONE"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcElectricGeneratorTypeEnum=J3;class b4{static{this.DC={type:3,value:"DC"}}static{this.INDUCTION={type:3,value:"INDUCTION"}}static{this.POLYPHASE={type:3,value:"POLYPHASE"}}static{this.RELUCTANCESYNCHRONOUS={type:3,value:"RELUCTANCESYNCHRONOUS"}}static{this.SYNCHRONOUS={type:3,value:"SYNCHRONOUS"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcElectricMotorTypeEnum=b4;class N4{static{this.RELAY={type:3,value:"RELAY"}}static{this.TIMECLOCK={type:3,value:"TIMECLOCK"}}static{this.TIMEDELAY={type:3,value:"TIMEDELAY"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcElectricTimeControlTypeEnum=N4;class _4{static{this.ABUTMENT={type:3,value:"ABUTMENT"}}static{this.ACCESSORY_ASSEMBLY={type:3,value:"ACCESSORY_ASSEMBLY"}}static{this.ARCH={type:3,value:"ARCH"}}static{this.BEAM_GRID={type:3,value:"BEAM_GRID"}}static{this.BRACED_FRAME={type:3,value:"BRACED_FRAME"}}static{this.CROSS_BRACING={type:3,value:"CROSS_BRACING"}}static{this.DECK={type:3,value:"DECK"}}static{this.DILATATIONPANEL={type:3,value:"DILATATIONPANEL"}}static{this.ENTRANCEWORKS={type:3,value:"ENTRANCEWORKS"}}static{this.GIRDER={type:3,value:"GIRDER"}}static{this.GRID={type:3,value:"GRID"}}static{this.MAST={type:3,value:"MAST"}}static{this.PIER={type:3,value:"PIER"}}static{this.PYLON={type:3,value:"PYLON"}}static{this.RAIL_MECHANICAL_EQUIPMENT_ASSEMBLY={type:3,value:"RAIL_MECHANICAL_EQUIPMENT_ASSEMBLY"}}static{this.REINFORCEMENT_UNIT={type:3,value:"REINFORCEMENT_UNIT"}}static{this.RIGID_FRAME={type:3,value:"RIGID_FRAME"}}static{this.SHELTER={type:3,value:"SHELTER"}}static{this.SIGNALASSEMBLY={type:3,value:"SIGNALASSEMBLY"}}static{this.SLAB_FIELD={type:3,value:"SLAB_FIELD"}}static{this.SUMPBUSTER={type:3,value:"SUMPBUSTER"}}static{this.SUPPORTINGASSEMBLY={type:3,value:"SUPPORTINGASSEMBLY"}}static{this.SUSPENSIONASSEMBLY={type:3,value:"SUSPENSIONASSEMBLY"}}static{this.TRACKPANEL={type:3,value:"TRACKPANEL"}}static{this.TRACTION_SWITCHING_ASSEMBLY={type:3,value:"TRACTION_SWITCHING_ASSEMBLY"}}static{this.TRAFFIC_CALMING_DEVICE={type:3,value:"TRAFFIC_CALMING_DEVICE"}}static{this.TRUSS={type:3,value:"TRUSS"}}static{this.TURNOUTPANEL={type:3,value:"TURNOUTPANEL"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcElementAssemblyTypeEnum=_4;class D4{static{this.COMPLEX={type:3,value:"COMPLEX"}}static{this.ELEMENT={type:3,value:"ELEMENT"}}static{this.PARTIAL={type:3,value:"PARTIAL"}}}e.IfcElementCompositionEnum=D4;class C4{static{this.EXTERNALCOMBUSTION={type:3,value:"EXTERNALCOMBUSTION"}}static{this.INTERNALCOMBUSTION={type:3,value:"INTERNALCOMBUSTION"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcEngineTypeEnum=C4;class x4{static{this.DIRECTEVAPORATIVEAIRWASHER={type:3,value:"DIRECTEVAPORATIVEAIRWASHER"}}static{this.DIRECTEVAPORATIVEPACKAGEDROTARYAIRCOOLER={type:3,value:"DIRECTEVAPORATIVEPACKAGEDROTARYAIRCOOLER"}}static{this.DIRECTEVAPORATIVERANDOMMEDIAAIRCOOLER={type:3,value:"DIRECTEVAPORATIVERANDOMMEDIAAIRCOOLER"}}static{this.DIRECTEVAPORATIVERIGIDMEDIAAIRCOOLER={type:3,value:"DIRECTEVAPORATIVERIGIDMEDIAAIRCOOLER"}}static{this.DIRECTEVAPORATIVESLINGERSPACKAGEDAIRCOOLER={type:3,value:"DIRECTEVAPORATIVESLINGERSPACKAGEDAIRCOOLER"}}static{this.INDIRECTDIRECTCOMBINATION={type:3,value:"INDIRECTDIRECTCOMBINATION"}}static{this.INDIRECTEVAPORATIVECOOLINGTOWERORCOILCOOLER={type:3,value:"INDIRECTEVAPORATIVECOOLINGTOWERORCOILCOOLER"}}static{this.INDIRECTEVAPORATIVEPACKAGEAIRCOOLER={type:3,value:"INDIRECTEVAPORATIVEPACKAGEAIRCOOLER"}}static{this.INDIRECTEVAPORATIVEWETCOIL={type:3,value:"INDIRECTEVAPORATIVEWETCOIL"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcEvaporativeCoolerTypeEnum=x4;class O4{static{this.DIRECTEXPANSION={type:3,value:"DIRECTEXPANSION"}}static{this.DIRECTEXPANSIONBRAZEDPLATE={type:3,value:"DIRECTEXPANSIONBRAZEDPLATE"}}static{this.DIRECTEXPANSIONSHELLANDTUBE={type:3,value:"DIRECTEXPANSIONSHELLANDTUBE"}}static{this.DIRECTEXPANSIONTUBEINTUBE={type:3,value:"DIRECTEXPANSIONTUBEINTUBE"}}static{this.FLOODEDSHELLANDTUBE={type:3,value:"FLOODEDSHELLANDTUBE"}}static{this.SHELLANDCOIL={type:3,value:"SHELLANDCOIL"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcEvaporatorTypeEnum=O4;class L4{static{this.EVENTCOMPLEX={type:3,value:"EVENTCOMPLEX"}}static{this.EVENTMESSAGE={type:3,value:"EVENTMESSAGE"}}static{this.EVENTRULE={type:3,value:"EVENTRULE"}}static{this.EVENTTIME={type:3,value:"EVENTTIME"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcEventTriggerTypeEnum=L4;class P4{static{this.ENDEVENT={type:3,value:"ENDEVENT"}}static{this.INTERMEDIATEEVENT={type:3,value:"INTERMEDIATEEVENT"}}static{this.STARTEVENT={type:3,value:"STARTEVENT"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcEventTypeEnum=P4;class M4{static{this.EXTERNAL={type:3,value:"EXTERNAL"}}static{this.EXTERNAL_EARTH={type:3,value:"EXTERNAL_EARTH"}}static{this.EXTERNAL_FIRE={type:3,value:"EXTERNAL_FIRE"}}static{this.EXTERNAL_WATER={type:3,value:"EXTERNAL_WATER"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcExternalSpatialElementTypeEnum=M4;class FE{static{this.ABOVEGROUND={type:3,value:"ABOVEGROUND"}}static{this.BELOWGROUND={type:3,value:"BELOWGROUND"}}static{this.JUNCTION={type:3,value:"JUNCTION"}}static{this.LEVELCROSSING={type:3,value:"LEVELCROSSING"}}static{this.SEGMENT={type:3,value:"SEGMENT"}}static{this.SUBSTRUCTURE={type:3,value:"SUBSTRUCTURE"}}static{this.SUPERSTRUCTURE={type:3,value:"SUPERSTRUCTURE"}}static{this.TERMINAL={type:3,value:"TERMINAL"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcFacilityPartCommonTypeEnum=FE;class B4{static{this.LATERAL={type:3,value:"LATERAL"}}static{this.LONGITUDINAL={type:3,value:"LONGITUDINAL"}}static{this.REGION={type:3,value:"REGION"}}static{this.VERTICAL={type:3,value:"VERTICAL"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcFacilityUsageEnum=B4;class um{static{this.CENTRIFUGALAIRFOIL={type:3,value:"CENTRIFUGALAIRFOIL"}}static{this.CENTRIFUGALBACKWARDINCLINEDCURVED={type:3,value:"CENTRIFUGALBACKWARDINCLINEDCURVED"}}static{this.CENTRIFUGALFORWARDCURVED={type:3,value:"CENTRIFUGALFORWARDCURVED"}}static{this.CENTRIFUGALRADIAL={type:3,value:"CENTRIFUGALRADIAL"}}static{this.PROPELLORAXIAL={type:3,value:"PROPELLORAXIAL"}}static{this.TUBEAXIAL={type:3,value:"TUBEAXIAL"}}static{this.VANEAXIAL={type:3,value:"VANEAXIAL"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcFanTypeEnum=um;class F4{static{this.GLUE={type:3,value:"GLUE"}}static{this.MORTAR={type:3,value:"MORTAR"}}static{this.WELD={type:3,value:"WELD"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcFastenerTypeEnum=F4;class cm{static{this.AIRPARTICLEFILTER={type:3,value:"AIRPARTICLEFILTER"}}static{this.COMPRESSEDAIRFILTER={type:3,value:"COMPRESSEDAIRFILTER"}}static{this.ODORFILTER={type:3,value:"ODORFILTER"}}static{this.OILFILTER={type:3,value:"OILFILTER"}}static{this.STRAINER={type:3,value:"STRAINER"}}static{this.WATERFILTER={type:3,value:"WATERFILTER"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcFilterTypeEnum=cm;class qs{static{this.BREECHINGINLET={type:3,value:"BREECHINGINLET"}}static{this.FIREHYDRANT={type:3,value:"FIREHYDRANT"}}static{this.FIREMONITOR={type:3,value:"FIREMONITOR"}}static{this.HOSEREEL={type:3,value:"HOSEREEL"}}static{this.SPRINKLER={type:3,value:"SPRINKLER"}}static{this.SPRINKLERDEFLECTOR={type:3,value:"SPRINKLERDEFLECTOR"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcFireSuppressionTerminalTypeEnum=qs;class X3{static{this.SINK={type:3,value:"SINK"}}static{this.SOURCE={type:3,value:"SOURCE"}}static{this.SOURCEANDSINK={type:3,value:"SOURCEANDSINK"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcFlowDirectionEnum=X3;class UE{static{this.AMMETER={type:3,value:"AMMETER"}}static{this.COMBINED={type:3,value:"COMBINED"}}static{this.FREQUENCYMETER={type:3,value:"FREQUENCYMETER"}}static{this.PHASEANGLEMETER={type:3,value:"PHASEANGLEMETER"}}static{this.POWERFACTORMETER={type:3,value:"POWERFACTORMETER"}}static{this.PRESSUREGAUGE={type:3,value:"PRESSUREGAUGE"}}static{this.THERMOMETER={type:3,value:"THERMOMETER"}}static{this.VOLTMETER={type:3,value:"VOLTMETER"}}static{this.VOLTMETER_PEAK={type:3,value:"VOLTMETER_PEAK"}}static{this.VOLTMETER_RMS={type:3,value:"VOLTMETER_RMS"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcFlowInstrumentTypeEnum=UE;class yI{static{this.ENERGYMETER={type:3,value:"ENERGYMETER"}}static{this.GASMETER={type:3,value:"GASMETER"}}static{this.OILMETER={type:3,value:"OILMETER"}}static{this.WATERMETER={type:3,value:"WATERMETER"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcFlowMeterTypeEnum=yI;class HE{static{this.CAISSON_FOUNDATION={type:3,value:"CAISSON_FOUNDATION"}}static{this.FOOTING_BEAM={type:3,value:"FOOTING_BEAM"}}static{this.PAD_FOOTING={type:3,value:"PAD_FOOTING"}}static{this.PILE_CAP={type:3,value:"PILE_CAP"}}static{this.STRIP_FOOTING={type:3,value:"STRIP_FOOTING"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcFootingTypeEnum=HE;class GE{static{this.BED={type:3,value:"BED"}}static{this.CHAIR={type:3,value:"CHAIR"}}static{this.DESK={type:3,value:"DESK"}}static{this.FILECABINET={type:3,value:"FILECABINET"}}static{this.SHELF={type:3,value:"SHELF"}}static{this.SOFA={type:3,value:"SOFA"}}static{this.TABLE={type:3,value:"TABLE"}}static{this.TECHNICALCABINET={type:3,value:"TECHNICALCABINET"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcFurnitureTypeEnum=GE;class U4{static{this.SOIL_BORING_POINT={type:3,value:"SOIL_BORING_POINT"}}static{this.TERRAIN={type:3,value:"TERRAIN"}}static{this.VEGETATION={type:3,value:"VEGETATION"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcGeographicElementTypeEnum=U4;class oh{static{this.ELEVATION_VIEW={type:3,value:"ELEVATION_VIEW"}}static{this.GRAPH_VIEW={type:3,value:"GRAPH_VIEW"}}static{this.MODEL_VIEW={type:3,value:"MODEL_VIEW"}}static{this.PLAN_VIEW={type:3,value:"PLAN_VIEW"}}static{this.REFLECTED_PLAN_VIEW={type:3,value:"REFLECTED_PLAN_VIEW"}}static{this.SECTION_VIEW={type:3,value:"SECTION_VIEW"}}static{this.SKETCH_VIEW={type:3,value:"SKETCH_VIEW"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcGeometricProjectionEnum=oh;class eg{static{this.SOLID={type:3,value:"SOLID"}}static{this.VOID={type:3,value:"VOID"}}static{this.WATER={type:3,value:"WATER"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcGeotechnicalStratumTypeEnum=eg;class fs{static{this.GLOBAL_COORDS={type:3,value:"GLOBAL_COORDS"}}static{this.LOCAL_COORDS={type:3,value:"LOCAL_COORDS"}}}e.IfcGlobalOrLocalEnum=fs;class H4{static{this.IRREGULAR={type:3,value:"IRREGULAR"}}static{this.RADIAL={type:3,value:"RADIAL"}}static{this.RECTANGULAR={type:3,value:"RECTANGULAR"}}static{this.TRIANGULAR={type:3,value:"TRIANGULAR"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcGridTypeEnum=H4;class VE{static{this.PLATE={type:3,value:"PLATE"}}static{this.SHELLANDTUBE={type:3,value:"SHELLANDTUBE"}}static{this.TURNOUTHEATING={type:3,value:"TURNOUTHEATING"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcHeatExchangerTypeEnum=VE;class G4{static{this.ADIABATICAIRWASHER={type:3,value:"ADIABATICAIRWASHER"}}static{this.ADIABATICATOMIZING={type:3,value:"ADIABATICATOMIZING"}}static{this.ADIABATICCOMPRESSEDAIRNOZZLE={type:3,value:"ADIABATICCOMPRESSEDAIRNOZZLE"}}static{this.ADIABATICPAN={type:3,value:"ADIABATICPAN"}}static{this.ADIABATICRIGIDMEDIA={type:3,value:"ADIABATICRIGIDMEDIA"}}static{this.ADIABATICULTRASONIC={type:3,value:"ADIABATICULTRASONIC"}}static{this.ADIABATICWETTEDELEMENT={type:3,value:"ADIABATICWETTEDELEMENT"}}static{this.ASSISTEDBUTANE={type:3,value:"ASSISTEDBUTANE"}}static{this.ASSISTEDELECTRIC={type:3,value:"ASSISTEDELECTRIC"}}static{this.ASSISTEDNATURALGAS={type:3,value:"ASSISTEDNATURALGAS"}}static{this.ASSISTEDPROPANE={type:3,value:"ASSISTEDPROPANE"}}static{this.ASSISTEDSTEAM={type:3,value:"ASSISTEDSTEAM"}}static{this.STEAMINJECTION={type:3,value:"STEAMINJECTION"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcHumidifierTypeEnum=G4;class tg{static{this.BUMPER={type:3,value:"BUMPER"}}static{this.CRASHCUSHION={type:3,value:"CRASHCUSHION"}}static{this.DAMPINGSYSTEM={type:3,value:"DAMPINGSYSTEM"}}static{this.FENDER={type:3,value:"FENDER"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcImpactProtectionDeviceTypeEnum=tg;class kE{static{this.CYCLONIC={type:3,value:"CYCLONIC"}}static{this.GREASE={type:3,value:"GREASE"}}static{this.OIL={type:3,value:"OIL"}}static{this.PETROL={type:3,value:"PETROL"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcInterceptorTypeEnum=kE;class V4{static{this.EXTERNAL={type:3,value:"EXTERNAL"}}static{this.EXTERNAL_EARTH={type:3,value:"EXTERNAL_EARTH"}}static{this.EXTERNAL_FIRE={type:3,value:"EXTERNAL_FIRE"}}static{this.EXTERNAL_WATER={type:3,value:"EXTERNAL_WATER"}}static{this.INTERNAL={type:3,value:"INTERNAL"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcInternalOrExternalEnum=V4;class dm{static{this.ASSETINVENTORY={type:3,value:"ASSETINVENTORY"}}static{this.FURNITUREINVENTORY={type:3,value:"FURNITUREINVENTORY"}}static{this.SPACEINVENTORY={type:3,value:"SPACEINVENTORY"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcInventoryTypeEnum=dm;class tf{static{this.DATA={type:3,value:"DATA"}}static{this.POWER={type:3,value:"POWER"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcJunctionBoxTypeEnum=tf;class EI{static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcKerbTypeEnum=EI;class Ls{static{this.PIECEWISE_BEZIER_KNOTS={type:3,value:"PIECEWISE_BEZIER_KNOTS"}}static{this.QUASI_UNIFORM_KNOTS={type:3,value:"QUASI_UNIFORM_KNOTS"}}static{this.UNIFORM_KNOTS={type:3,value:"UNIFORM_KNOTS"}}static{this.UNSPECIFIED={type:3,value:"UNSPECIFIED"}}}e.IfcKnotType=Ls;class tp{static{this.ADMINISTRATION={type:3,value:"ADMINISTRATION"}}static{this.CARPENTRY={type:3,value:"CARPENTRY"}}static{this.CLEANING={type:3,value:"CLEANING"}}static{this.CONCRETE={type:3,value:"CONCRETE"}}static{this.DRYWALL={type:3,value:"DRYWALL"}}static{this.ELECTRIC={type:3,value:"ELECTRIC"}}static{this.FINISHING={type:3,value:"FINISHING"}}static{this.FLOORING={type:3,value:"FLOORING"}}static{this.GENERAL={type:3,value:"GENERAL"}}static{this.HVAC={type:3,value:"HVAC"}}static{this.LANDSCAPING={type:3,value:"LANDSCAPING"}}static{this.MASONRY={type:3,value:"MASONRY"}}static{this.PAINTING={type:3,value:"PAINTING"}}static{this.PAVING={type:3,value:"PAVING"}}static{this.PLUMBING={type:3,value:"PLUMBING"}}static{this.ROOFING={type:3,value:"ROOFING"}}static{this.SITEGRADING={type:3,value:"SITEGRADING"}}static{this.STEELWORK={type:3,value:"STEELWORK"}}static{this.SURVEYING={type:3,value:"SURVEYING"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcLaborResourceTypeEnum=tp;class zE{static{this.COMPACTFLUORESCENT={type:3,value:"COMPACTFLUORESCENT"}}static{this.FLUORESCENT={type:3,value:"FLUORESCENT"}}static{this.HALOGEN={type:3,value:"HALOGEN"}}static{this.HIGHPRESSUREMERCURY={type:3,value:"HIGHPRESSUREMERCURY"}}static{this.HIGHPRESSURESODIUM={type:3,value:"HIGHPRESSURESODIUM"}}static{this.LED={type:3,value:"LED"}}static{this.METALHALIDE={type:3,value:"METALHALIDE"}}static{this.OLED={type:3,value:"OLED"}}static{this.TUNGSTENFILAMENT={type:3,value:"TUNGSTENFILAMENT"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcLampTypeEnum=zE;class TI{static{this.AXIS1={type:3,value:"AXIS1"}}static{this.AXIS2={type:3,value:"AXIS2"}}static{this.AXIS3={type:3,value:"AXIS3"}}}e.IfcLayerSetDirectionEnum=TI;class k1{static{this.TYPE_A={type:3,value:"TYPE_A"}}static{this.TYPE_B={type:3,value:"TYPE_B"}}static{this.TYPE_C={type:3,value:"TYPE_C"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcLightDistributionCurveEnum=k1;class WE{static{this.COMPACTFLUORESCENT={type:3,value:"COMPACTFLUORESCENT"}}static{this.FLUORESCENT={type:3,value:"FLUORESCENT"}}static{this.HIGHPRESSUREMERCURY={type:3,value:"HIGHPRESSUREMERCURY"}}static{this.HIGHPRESSURESODIUM={type:3,value:"HIGHPRESSURESODIUM"}}static{this.LIGHTEMITTINGDIODE={type:3,value:"LIGHTEMITTINGDIODE"}}static{this.LOWPRESSURESODIUM={type:3,value:"LOWPRESSURESODIUM"}}static{this.LOWVOLTAGEHALOGEN={type:3,value:"LOWVOLTAGEHALOGEN"}}static{this.MAINVOLTAGEHALOGEN={type:3,value:"MAINVOLTAGEHALOGEN"}}static{this.METALHALIDE={type:3,value:"METALHALIDE"}}static{this.TUNGSTENFILAMENT={type:3,value:"TUNGSTENFILAMENT"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcLightEmissionSourceEnum=WE;class ig{static{this.DIRECTIONSOURCE={type:3,value:"DIRECTIONSOURCE"}}static{this.POINTSOURCE={type:3,value:"POINTSOURCE"}}static{this.SECURITYLIGHTING={type:3,value:"SECURITYLIGHTING"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcLightFixtureTypeEnum=ig;class nf{static{this.HOSEREEL={type:3,value:"HOSEREEL"}}static{this.LOADINGARM={type:3,value:"LOADINGARM"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcLiquidTerminalTypeEnum=nf;class st{static{this.LOAD_CASE={type:3,value:"LOAD_CASE"}}static{this.LOAD_COMBINATION={type:3,value:"LOAD_COMBINATION"}}static{this.LOAD_GROUP={type:3,value:"LOAD_GROUP"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcLoadGroupTypeEnum=st;class jn{static{this.LOGICALAND={type:3,value:"LOGICALAND"}}static{this.LOGICALNOTAND={type:3,value:"LOGICALNOTAND"}}static{this.LOGICALNOTOR={type:3,value:"LOGICALNOTOR"}}static{this.LOGICALOR={type:3,value:"LOGICALOR"}}static{this.LOGICALXOR={type:3,value:"LOGICALXOR"}}}e.IfcLogicalOperatorEnum=jn;class k4{static{this.BARRIERBEACH={type:3,value:"BARRIERBEACH"}}static{this.BREAKWATER={type:3,value:"BREAKWATER"}}static{this.CANAL={type:3,value:"CANAL"}}static{this.DRYDOCK={type:3,value:"DRYDOCK"}}static{this.FLOATINGDOCK={type:3,value:"FLOATINGDOCK"}}static{this.HYDROLIFT={type:3,value:"HYDROLIFT"}}static{this.JETTY={type:3,value:"JETTY"}}static{this.LAUNCHRECOVERY={type:3,value:"LAUNCHRECOVERY"}}static{this.MARINEDEFENCE={type:3,value:"MARINEDEFENCE"}}static{this.NAVIGATIONALCHANNEL={type:3,value:"NAVIGATIONALCHANNEL"}}static{this.PORT={type:3,value:"PORT"}}static{this.QUAY={type:3,value:"QUAY"}}static{this.REVETMENT={type:3,value:"REVETMENT"}}static{this.SHIPLIFT={type:3,value:"SHIPLIFT"}}static{this.SHIPLOCK={type:3,value:"SHIPLOCK"}}static{this.SHIPYARD={type:3,value:"SHIPYARD"}}static{this.SLIPWAY={type:3,value:"SLIPWAY"}}static{this.WATERWAY={type:3,value:"WATERWAY"}}static{this.WATERWAYSHIPLIFT={type:3,value:"WATERWAYSHIPLIFT"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcMarineFacilityTypeEnum=k4;class YE{static{this.ABOVEWATERLINE={type:3,value:"ABOVEWATERLINE"}}static{this.ANCHORAGE={type:3,value:"ANCHORAGE"}}static{this.APPROACHCHANNEL={type:3,value:"APPROACHCHANNEL"}}static{this.BELOWWATERLINE={type:3,value:"BELOWWATERLINE"}}static{this.BERTHINGSTRUCTURE={type:3,value:"BERTHINGSTRUCTURE"}}static{this.CHAMBER={type:3,value:"CHAMBER"}}static{this.CILL_LEVEL={type:3,value:"CILL_LEVEL"}}static{this.COPELEVEL={type:3,value:"COPELEVEL"}}static{this.CORE={type:3,value:"CORE"}}static{this.CREST={type:3,value:"CREST"}}static{this.GATEHEAD={type:3,value:"GATEHEAD"}}static{this.GUDINGSTRUCTURE={type:3,value:"GUDINGSTRUCTURE"}}static{this.HIGHWATERLINE={type:3,value:"HIGHWATERLINE"}}static{this.LANDFIELD={type:3,value:"LANDFIELD"}}static{this.LEEWARDSIDE={type:3,value:"LEEWARDSIDE"}}static{this.LOWWATERLINE={type:3,value:"LOWWATERLINE"}}static{this.MANUFACTURING={type:3,value:"MANUFACTURING"}}static{this.NAVIGATIONALAREA={type:3,value:"NAVIGATIONALAREA"}}static{this.PROTECTION={type:3,value:"PROTECTION"}}static{this.SHIPTRANSFER={type:3,value:"SHIPTRANSFER"}}static{this.STORAGEAREA={type:3,value:"STORAGEAREA"}}static{this.VEHICLESERVICING={type:3,value:"VEHICLESERVICING"}}static{this.WATERFIELD={type:3,value:"WATERFIELD"}}static{this.WEATHERSIDE={type:3,value:"WEATHERSIDE"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcMarinePartTypeEnum=YE;class z4{static{this.ANCHORBOLT={type:3,value:"ANCHORBOLT"}}static{this.BOLT={type:3,value:"BOLT"}}static{this.CHAIN={type:3,value:"CHAIN"}}static{this.COUPLER={type:3,value:"COUPLER"}}static{this.DOWEL={type:3,value:"DOWEL"}}static{this.NAIL={type:3,value:"NAIL"}}static{this.NAILPLATE={type:3,value:"NAILPLATE"}}static{this.RAILFASTENING={type:3,value:"RAILFASTENING"}}static{this.RAILJOINT={type:3,value:"RAILJOINT"}}static{this.RIVET={type:3,value:"RIVET"}}static{this.ROPE={type:3,value:"ROPE"}}static{this.SCREW={type:3,value:"SCREW"}}static{this.SHEARCONNECTOR={type:3,value:"SHEARCONNECTOR"}}static{this.STAPLE={type:3,value:"STAPLE"}}static{this.STUDSHEARCONNECTOR={type:3,value:"STUDSHEARCONNECTOR"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcMechanicalFastenerTypeEnum=z4;class W4{static{this.AIRSTATION={type:3,value:"AIRSTATION"}}static{this.FEEDAIRUNIT={type:3,value:"FEEDAIRUNIT"}}static{this.OXYGENGENERATOR={type:3,value:"OXYGENGENERATOR"}}static{this.OXYGENPLANT={type:3,value:"OXYGENPLANT"}}static{this.VACUUMSTATION={type:3,value:"VACUUMSTATION"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcMedicalDeviceTypeEnum=W4;class Y4{static{this.ARCH_SEGMENT={type:3,value:"ARCH_SEGMENT"}}static{this.BRACE={type:3,value:"BRACE"}}static{this.CHORD={type:3,value:"CHORD"}}static{this.COLLAR={type:3,value:"COLLAR"}}static{this.MEMBER={type:3,value:"MEMBER"}}static{this.MULLION={type:3,value:"MULLION"}}static{this.PLATE={type:3,value:"PLATE"}}static{this.POST={type:3,value:"POST"}}static{this.PURLIN={type:3,value:"PURLIN"}}static{this.RAFTER={type:3,value:"RAFTER"}}static{this.STAY_CABLE={type:3,value:"STAY_CABLE"}}static{this.STIFFENING_RIB={type:3,value:"STIFFENING_RIB"}}static{this.STRINGER={type:3,value:"STRINGER"}}static{this.STRUCTURALCABLE={type:3,value:"STRUCTURALCABLE"}}static{this.STRUT={type:3,value:"STRUT"}}static{this.STUD={type:3,value:"STUD"}}static{this.SUSPENDER={type:3,value:"SUSPENDER"}}static{this.SUSPENSION_CABLE={type:3,value:"SUSPENSION_CABLE"}}static{this.TIEBAR={type:3,value:"TIEBAR"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcMemberTypeEnum=Y4;class ng{static{this.ACCESSPOINT={type:3,value:"ACCESSPOINT"}}static{this.BASEBANDUNIT={type:3,value:"BASEBANDUNIT"}}static{this.BASETRANSCEIVERSTATION={type:3,value:"BASETRANSCEIVERSTATION"}}static{this.E_UTRAN_NODE_B={type:3,value:"E_UTRAN_NODE_B"}}static{this.GATEWAY_GPRS_SUPPORT_NODE={type:3,value:"GATEWAY_GPRS_SUPPORT_NODE"}}static{this.MASTERUNIT={type:3,value:"MASTERUNIT"}}static{this.MOBILESWITCHINGCENTER={type:3,value:"MOBILESWITCHINGCENTER"}}static{this.MSCSERVER={type:3,value:"MSCSERVER"}}static{this.PACKETCONTROLUNIT={type:3,value:"PACKETCONTROLUNIT"}}static{this.REMOTERADIOUNIT={type:3,value:"REMOTERADIOUNIT"}}static{this.REMOTEUNIT={type:3,value:"REMOTEUNIT"}}static{this.SERVICE_GPRS_SUPPORT_NODE={type:3,value:"SERVICE_GPRS_SUPPORT_NODE"}}static{this.SUBSCRIBERSERVER={type:3,value:"SUBSCRIBERSERVER"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcMobileTelecommunicationsApplianceTypeEnum=ng;class j4{static{this.BOLLARD={type:3,value:"BOLLARD"}}static{this.LINETENSIONER={type:3,value:"LINETENSIONER"}}static{this.MAGNETICDEVICE={type:3,value:"MAGNETICDEVICE"}}static{this.MOORINGHOOKS={type:3,value:"MOORINGHOOKS"}}static{this.VACUUMDEVICE={type:3,value:"VACUUMDEVICE"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcMooringDeviceTypeEnum=j4;class sg{static{this.BELTDRIVE={type:3,value:"BELTDRIVE"}}static{this.COUPLING={type:3,value:"COUPLING"}}static{this.DIRECTDRIVE={type:3,value:"DIRECTDRIVE"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcMotorConnectionTypeEnum=sg;class q4{static{this.BEACON={type:3,value:"BEACON"}}static{this.BUOY={type:3,value:"BUOY"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcNavigationElementTypeEnum=q4;class ot{static{this.CODECOMPLIANCE={type:3,value:"CODECOMPLIANCE"}}static{this.CODEWAIVER={type:3,value:"CODEWAIVER"}}static{this.DESIGNINTENT={type:3,value:"DESIGNINTENT"}}static{this.EXTERNAL={type:3,value:"EXTERNAL"}}static{this.HEALTHANDSAFETY={type:3,value:"HEALTHANDSAFETY"}}static{this.MERGECONFLICT={type:3,value:"MERGECONFLICT"}}static{this.MODELVIEW={type:3,value:"MODELVIEW"}}static{this.PARAMETER={type:3,value:"PARAMETER"}}static{this.REQUIREMENT={type:3,value:"REQUIREMENT"}}static{this.SPECIFICATION={type:3,value:"SPECIFICATION"}}static{this.TRIGGERCONDITION={type:3,value:"TRIGGERCONDITION"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcObjectiveEnum=ot;class gI{static{this.ASSIGNEE={type:3,value:"ASSIGNEE"}}static{this.ASSIGNOR={type:3,value:"ASSIGNOR"}}static{this.LESSEE={type:3,value:"LESSEE"}}static{this.LESSOR={type:3,value:"LESSOR"}}static{this.LETTINGAGENT={type:3,value:"LETTINGAGENT"}}static{this.OWNER={type:3,value:"OWNER"}}static{this.TENANT={type:3,value:"TENANT"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcOccupantTypeEnum=gI;class jE{static{this.OPENING={type:3,value:"OPENING"}}static{this.RECESS={type:3,value:"RECESS"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcOpeningElementTypeEnum=jE;class C0{static{this.AUDIOVISUALOUTLET={type:3,value:"AUDIOVISUALOUTLET"}}static{this.COMMUNICATIONSOUTLET={type:3,value:"COMMUNICATIONSOUTLET"}}static{this.DATAOUTLET={type:3,value:"DATAOUTLET"}}static{this.POWEROUTLET={type:3,value:"POWEROUTLET"}}static{this.TELEPHONEOUTLET={type:3,value:"TELEPHONEOUTLET"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcOutletTypeEnum=C0;class qE{static{this.FLEXIBLE={type:3,value:"FLEXIBLE"}}static{this.RIGID={type:3,value:"RIGID"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcPavementTypeEnum=qE;class z1{static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcPerformanceHistoryTypeEnum=z1;class W1{static{this.GRILL={type:3,value:"GRILL"}}static{this.LOUVER={type:3,value:"LOUVER"}}static{this.SCREEN={type:3,value:"SCREEN"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcPermeableCoveringOperationEnum=W1;class $4{static{this.ACCESS={type:3,value:"ACCESS"}}static{this.BUILDING={type:3,value:"BUILDING"}}static{this.WORK={type:3,value:"WORK"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcPermitTypeEnum=$4;class $E{static{this.PHYSICAL={type:3,value:"PHYSICAL"}}static{this.VIRTUAL={type:3,value:"VIRTUAL"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcPhysicalOrVirtualEnum=$E;class Y1{static{this.CAST_IN_PLACE={type:3,value:"CAST_IN_PLACE"}}static{this.COMPOSITE={type:3,value:"COMPOSITE"}}static{this.PRECAST_CONCRETE={type:3,value:"PRECAST_CONCRETE"}}static{this.PREFAB_STEEL={type:3,value:"PREFAB_STEEL"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcPileConstructionEnum=Y1;class og{static{this.BORED={type:3,value:"BORED"}}static{this.COHESION={type:3,value:"COHESION"}}static{this.DRIVEN={type:3,value:"DRIVEN"}}static{this.FRICTION={type:3,value:"FRICTION"}}static{this.JETGROUTING={type:3,value:"JETGROUTING"}}static{this.SUPPORT={type:3,value:"SUPPORT"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcPileTypeEnum=og;class j1{static{this.BEND={type:3,value:"BEND"}}static{this.CONNECTOR={type:3,value:"CONNECTOR"}}static{this.ENTRY={type:3,value:"ENTRY"}}static{this.EXIT={type:3,value:"EXIT"}}static{this.JUNCTION={type:3,value:"JUNCTION"}}static{this.OBSTRUCTION={type:3,value:"OBSTRUCTION"}}static{this.TRANSITION={type:3,value:"TRANSITION"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcPipeFittingTypeEnum=j1;class rg{static{this.CULVERT={type:3,value:"CULVERT"}}static{this.FLEXIBLESEGMENT={type:3,value:"FLEXIBLESEGMENT"}}static{this.GUTTER={type:3,value:"GUTTER"}}static{this.RIGIDSEGMENT={type:3,value:"RIGIDSEGMENT"}}static{this.SPOOL={type:3,value:"SPOOL"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcPipeSegmentTypeEnum=rg;class rh{static{this.BASE_PLATE={type:3,value:"BASE_PLATE"}}static{this.COVER_PLATE={type:3,value:"COVER_PLATE"}}static{this.CURTAIN_PANEL={type:3,value:"CURTAIN_PANEL"}}static{this.FLANGE_PLATE={type:3,value:"FLANGE_PLATE"}}static{this.GUSSET_PLATE={type:3,value:"GUSSET_PLATE"}}static{this.SHEET={type:3,value:"SHEET"}}static{this.SPLICE_PLATE={type:3,value:"SPLICE_PLATE"}}static{this.STIFFENER_PLATE={type:3,value:"STIFFENER_PLATE"}}static{this.WEB_PLATE={type:3,value:"WEB_PLATE"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcPlateTypeEnum=rh;class q1{static{this.CURVE3D={type:3,value:"CURVE3D"}}static{this.PCURVE_S1={type:3,value:"PCURVE_S1"}}static{this.PCURVE_S2={type:3,value:"PCURVE_S2"}}}e.IfcPreferredSurfaceCurveRepresentation=q1;class $1{static{this.ADVICE_CAUTION={type:3,value:"ADVICE_CAUTION"}}static{this.ADVICE_NOTE={type:3,value:"ADVICE_NOTE"}}static{this.ADVICE_WARNING={type:3,value:"ADVICE_WARNING"}}static{this.CALIBRATION={type:3,value:"CALIBRATION"}}static{this.DIAGNOSTIC={type:3,value:"DIAGNOSTIC"}}static{this.SHUTDOWN={type:3,value:"SHUTDOWN"}}static{this.STARTUP={type:3,value:"STARTUP"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcProcedureTypeEnum=$1;class Z4{static{this.AREA={type:3,value:"AREA"}}static{this.CURVE={type:3,value:"CURVE"}}}e.IfcProfileTypeEnum=Z4;class lh{static{this.CHANGEORDER={type:3,value:"CHANGEORDER"}}static{this.MAINTENANCEWORKORDER={type:3,value:"MAINTENANCEWORKORDER"}}static{this.MOVEORDER={type:3,value:"MOVEORDER"}}static{this.PURCHASEORDER={type:3,value:"PURCHASEORDER"}}static{this.WORKORDER={type:3,value:"WORKORDER"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcProjectOrderTypeEnum=lh;class Z1{static{this.PROJECTED_LENGTH={type:3,value:"PROJECTED_LENGTH"}}static{this.TRUE_LENGTH={type:3,value:"TRUE_LENGTH"}}}e.IfcProjectedOrTrueLengthEnum=Z1;class lg{static{this.BLISTER={type:3,value:"BLISTER"}}static{this.DEVIATOR={type:3,value:"DEVIATOR"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcProjectionElementTypeEnum=lg;class K1{static{this.PSET_MATERIALDRIVEN={type:3,value:"PSET_MATERIALDRIVEN"}}static{this.PSET_OCCURRENCEDRIVEN={type:3,value:"PSET_OCCURRENCEDRIVEN"}}static{this.PSET_PERFORMANCEDRIVEN={type:3,value:"PSET_PERFORMANCEDRIVEN"}}static{this.PSET_PROFILEDRIVEN={type:3,value:"PSET_PROFILEDRIVEN"}}static{this.PSET_TYPEDRIVENONLY={type:3,value:"PSET_TYPEDRIVENONLY"}}static{this.PSET_TYPEDRIVENOVERRIDE={type:3,value:"PSET_TYPEDRIVENOVERRIDE"}}static{this.QTO_OCCURRENCEDRIVEN={type:3,value:"QTO_OCCURRENCEDRIVEN"}}static{this.QTO_TYPEDRIVENONLY={type:3,value:"QTO_TYPEDRIVENONLY"}}static{this.QTO_TYPEDRIVENOVERRIDE={type:3,value:"QTO_TYPEDRIVENOVERRIDE"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcPropertySetTemplateTypeEnum=K1;class ZE{static{this.ELECTROMAGNETIC={type:3,value:"ELECTROMAGNETIC"}}static{this.ELECTRONIC={type:3,value:"ELECTRONIC"}}static{this.RESIDUALCURRENT={type:3,value:"RESIDUALCURRENT"}}static{this.THERMAL={type:3,value:"THERMAL"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcProtectiveDeviceTrippingUnitTypeEnum=ZE;class KE{static{this.ANTI_ARCING_DEVICE={type:3,value:"ANTI_ARCING_DEVICE"}}static{this.CIRCUITBREAKER={type:3,value:"CIRCUITBREAKER"}}static{this.EARTHINGSWITCH={type:3,value:"EARTHINGSWITCH"}}static{this.EARTHLEAKAGECIRCUITBREAKER={type:3,value:"EARTHLEAKAGECIRCUITBREAKER"}}static{this.FUSEDISCONNECTOR={type:3,value:"FUSEDISCONNECTOR"}}static{this.RESIDUALCURRENTCIRCUITBREAKER={type:3,value:"RESIDUALCURRENTCIRCUITBREAKER"}}static{this.RESIDUALCURRENTSWITCH={type:3,value:"RESIDUALCURRENTSWITCH"}}static{this.SPARKGAP={type:3,value:"SPARKGAP"}}static{this.VARISTOR={type:3,value:"VARISTOR"}}static{this.VOLTAGELIMITER={type:3,value:"VOLTAGELIMITER"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcProtectiveDeviceTypeEnum=KE;class ag{static{this.CIRCULATOR={type:3,value:"CIRCULATOR"}}static{this.ENDSUCTION={type:3,value:"ENDSUCTION"}}static{this.SPLITCASE={type:3,value:"SPLITCASE"}}static{this.SUBMERSIBLEPUMP={type:3,value:"SUBMERSIBLEPUMP"}}static{this.SUMPPUMP={type:3,value:"SUMPPUMP"}}static{this.VERTICALINLINE={type:3,value:"VERTICALINLINE"}}static{this.VERTICALTURBINE={type:3,value:"VERTICALTURBINE"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcPumpTypeEnum=ag;class Q1{static{this.BLADE={type:3,value:"BLADE"}}static{this.CHECKRAIL={type:3,value:"CHECKRAIL"}}static{this.GUARDRAIL={type:3,value:"GUARDRAIL"}}static{this.RACKRAIL={type:3,value:"RACKRAIL"}}static{this.RAIL={type:3,value:"RAIL"}}static{this.STOCKRAIL={type:3,value:"STOCKRAIL"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcRailTypeEnum=Q1;class ug{static{this.BALUSTRADE={type:3,value:"BALUSTRADE"}}static{this.FENCE={type:3,value:"FENCE"}}static{this.GUARDRAIL={type:3,value:"GUARDRAIL"}}static{this.HANDRAIL={type:3,value:"HANDRAIL"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcRailingTypeEnum=ug;class ah{static{this.ABOVETRACK={type:3,value:"ABOVETRACK"}}static{this.DILATIONTRACK={type:3,value:"DILATIONTRACK"}}static{this.LINESIDE={type:3,value:"LINESIDE"}}static{this.LINESIDEPART={type:3,value:"LINESIDEPART"}}static{this.PLAINTRACK={type:3,value:"PLAINTRACK"}}static{this.SUBSTRUCTURE={type:3,value:"SUBSTRUCTURE"}}static{this.TRACK={type:3,value:"TRACK"}}static{this.TRACKPART={type:3,value:"TRACKPART"}}static{this.TURNOUTTRACK={type:3,value:"TURNOUTTRACK"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcRailwayPartTypeEnum=ah;class W{static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcRailwayTypeEnum=W;class le{static{this.SPIRAL={type:3,value:"SPIRAL"}}static{this.STRAIGHT={type:3,value:"STRAIGHT"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcRampFlightTypeEnum=le;class be{static{this.HALF_TURN_RAMP={type:3,value:"HALF_TURN_RAMP"}}static{this.QUARTER_TURN_RAMP={type:3,value:"QUARTER_TURN_RAMP"}}static{this.SPIRAL_RAMP={type:3,value:"SPIRAL_RAMP"}}static{this.STRAIGHT_RUN_RAMP={type:3,value:"STRAIGHT_RUN_RAMP"}}static{this.TWO_QUARTER_TURN_RAMP={type:3,value:"TWO_QUARTER_TURN_RAMP"}}static{this.TWO_STRAIGHT_RUN_RAMP={type:3,value:"TWO_STRAIGHT_RUN_RAMP"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcRampTypeEnum=be;class Ve{static{this.BY_DAY_COUNT={type:3,value:"BY_DAY_COUNT"}}static{this.BY_WEEKDAY_COUNT={type:3,value:"BY_WEEKDAY_COUNT"}}static{this.DAILY={type:3,value:"DAILY"}}static{this.MONTHLY_BY_DAY_OF_MONTH={type:3,value:"MONTHLY_BY_DAY_OF_MONTH"}}static{this.MONTHLY_BY_POSITION={type:3,value:"MONTHLY_BY_POSITION"}}static{this.WEEKLY={type:3,value:"WEEKLY"}}static{this.YEARLY_BY_DAY_OF_MONTH={type:3,value:"YEARLY_BY_DAY_OF_MONTH"}}static{this.YEARLY_BY_POSITION={type:3,value:"YEARLY_BY_POSITION"}}}e.IfcRecurrenceTypeEnum=Ve;class nt{static{this.BOUNDARY={type:3,value:"BOUNDARY"}}static{this.INTERSECTION={type:3,value:"INTERSECTION"}}static{this.KILOPOINT={type:3,value:"KILOPOINT"}}static{this.LANDMARK={type:3,value:"LANDMARK"}}static{this.MILEPOINT={type:3,value:"MILEPOINT"}}static{this.POSITION={type:3,value:"POSITION"}}static{this.REFERENCEMARKER={type:3,value:"REFERENCEMARKER"}}static{this.STATION={type:3,value:"STATION"}}static{this.SUPERELEVATIONEVENT={type:3,value:"SUPERELEVATIONEVENT"}}static{this.WIDTHEVENT={type:3,value:"WIDTHEVENT"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcReferentTypeEnum=nt;class vt{static{this.BLINN={type:3,value:"BLINN"}}static{this.FLAT={type:3,value:"FLAT"}}static{this.GLASS={type:3,value:"GLASS"}}static{this.MATT={type:3,value:"MATT"}}static{this.METAL={type:3,value:"METAL"}}static{this.MIRROR={type:3,value:"MIRROR"}}static{this.PHONG={type:3,value:"PHONG"}}static{this.PHYSICAL={type:3,value:"PHYSICAL"}}static{this.PLASTIC={type:3,value:"PLASTIC"}}static{this.STRAUSS={type:3,value:"STRAUSS"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcReflectanceMethodEnum=vt;class Nt{static{this.DYNAMICALLYCOMPACTED={type:3,value:"DYNAMICALLYCOMPACTED"}}static{this.GROUTED={type:3,value:"GROUTED"}}static{this.REPLACED={type:3,value:"REPLACED"}}static{this.ROLLERCOMPACTED={type:3,value:"ROLLERCOMPACTED"}}static{this.SURCHARGEPRELOADED={type:3,value:"SURCHARGEPRELOADED"}}static{this.VERTICALLYDRAINED={type:3,value:"VERTICALLYDRAINED"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcReinforcedSoilTypeEnum=Nt;class xt{static{this.ANCHORING={type:3,value:"ANCHORING"}}static{this.EDGE={type:3,value:"EDGE"}}static{this.LIGATURE={type:3,value:"LIGATURE"}}static{this.MAIN={type:3,value:"MAIN"}}static{this.PUNCHING={type:3,value:"PUNCHING"}}static{this.RING={type:3,value:"RING"}}static{this.SHEAR={type:3,value:"SHEAR"}}static{this.STUD={type:3,value:"STUD"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcReinforcingBarRoleEnum=xt;class Jt{static{this.PLAIN={type:3,value:"PLAIN"}}static{this.TEXTURED={type:3,value:"TEXTURED"}}}e.IfcReinforcingBarSurfaceEnum=Jt;class k{static{this.ANCHORING={type:3,value:"ANCHORING"}}static{this.EDGE={type:3,value:"EDGE"}}static{this.LIGATURE={type:3,value:"LIGATURE"}}static{this.MAIN={type:3,value:"MAIN"}}static{this.PUNCHING={type:3,value:"PUNCHING"}}static{this.RING={type:3,value:"RING"}}static{this.SHEAR={type:3,value:"SHEAR"}}static{this.SPACEBAR={type:3,value:"SPACEBAR"}}static{this.STUD={type:3,value:"STUD"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcReinforcingBarTypeEnum=k;class X{static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcReinforcingMeshTypeEnum=X;class we{static{this.BICYCLECROSSING={type:3,value:"BICYCLECROSSING"}}static{this.BUS_STOP={type:3,value:"BUS_STOP"}}static{this.CARRIAGEWAY={type:3,value:"CARRIAGEWAY"}}static{this.CENTRALISLAND={type:3,value:"CENTRALISLAND"}}static{this.CENTRALRESERVE={type:3,value:"CENTRALRESERVE"}}static{this.HARDSHOULDER={type:3,value:"HARDSHOULDER"}}static{this.INTERSECTION={type:3,value:"INTERSECTION"}}static{this.LAYBY={type:3,value:"LAYBY"}}static{this.PARKINGBAY={type:3,value:"PARKINGBAY"}}static{this.PASSINGBAY={type:3,value:"PASSINGBAY"}}static{this.PEDESTRIAN_CROSSING={type:3,value:"PEDESTRIAN_CROSSING"}}static{this.RAILWAYCROSSING={type:3,value:"RAILWAYCROSSING"}}static{this.REFUGEISLAND={type:3,value:"REFUGEISLAND"}}static{this.ROADSEGMENT={type:3,value:"ROADSEGMENT"}}static{this.ROADSIDE={type:3,value:"ROADSIDE"}}static{this.ROADSIDEPART={type:3,value:"ROADSIDEPART"}}static{this.ROADWAYPLATEAU={type:3,value:"ROADWAYPLATEAU"}}static{this.ROUNDABOUT={type:3,value:"ROUNDABOUT"}}static{this.SHOULDER={type:3,value:"SHOULDER"}}static{this.SIDEWALK={type:3,value:"SIDEWALK"}}static{this.SOFTSHOULDER={type:3,value:"SOFTSHOULDER"}}static{this.TOLLPLAZA={type:3,value:"TOLLPLAZA"}}static{this.TRAFFICISLAND={type:3,value:"TRAFFICISLAND"}}static{this.TRAFFICLANE={type:3,value:"TRAFFICLANE"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcRoadPartTypeEnum=we;class xe{static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcRoadTypeEnum=xe;class Ke{static{this.ARCHITECT={type:3,value:"ARCHITECT"}}static{this.BUILDINGOPERATOR={type:3,value:"BUILDINGOPERATOR"}}static{this.BUILDINGOWNER={type:3,value:"BUILDINGOWNER"}}static{this.CIVILENGINEER={type:3,value:"CIVILENGINEER"}}static{this.CLIENT={type:3,value:"CLIENT"}}static{this.COMMISSIONINGENGINEER={type:3,value:"COMMISSIONINGENGINEER"}}static{this.CONSTRUCTIONMANAGER={type:3,value:"CONSTRUCTIONMANAGER"}}static{this.CONSULTANT={type:3,value:"CONSULTANT"}}static{this.CONTRACTOR={type:3,value:"CONTRACTOR"}}static{this.COSTENGINEER={type:3,value:"COSTENGINEER"}}static{this.ELECTRICALENGINEER={type:3,value:"ELECTRICALENGINEER"}}static{this.ENGINEER={type:3,value:"ENGINEER"}}static{this.FACILITIESMANAGER={type:3,value:"FACILITIESMANAGER"}}static{this.FIELDCONSTRUCTIONMANAGER={type:3,value:"FIELDCONSTRUCTIONMANAGER"}}static{this.MANUFACTURER={type:3,value:"MANUFACTURER"}}static{this.MECHANICALENGINEER={type:3,value:"MECHANICALENGINEER"}}static{this.OWNER={type:3,value:"OWNER"}}static{this.PROJECTMANAGER={type:3,value:"PROJECTMANAGER"}}static{this.RESELLER={type:3,value:"RESELLER"}}static{this.STRUCTURALENGINEER={type:3,value:"STRUCTURALENGINEER"}}static{this.SUBCONTRACTOR={type:3,value:"SUBCONTRACTOR"}}static{this.SUPPLIER={type:3,value:"SUPPLIER"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}}e.IfcRoleEnum=Ke;class yt{static{this.BARREL_ROOF={type:3,value:"BARREL_ROOF"}}static{this.BUTTERFLY_ROOF={type:3,value:"BUTTERFLY_ROOF"}}static{this.DOME_ROOF={type:3,value:"DOME_ROOF"}}static{this.FLAT_ROOF={type:3,value:"FLAT_ROOF"}}static{this.FREEFORM={type:3,value:"FREEFORM"}}static{this.GABLE_ROOF={type:3,value:"GABLE_ROOF"}}static{this.GAMBREL_ROOF={type:3,value:"GAMBREL_ROOF"}}static{this.HIPPED_GABLE_ROOF={type:3,value:"HIPPED_GABLE_ROOF"}}static{this.HIP_ROOF={type:3,value:"HIP_ROOF"}}static{this.MANSARD_ROOF={type:3,value:"MANSARD_ROOF"}}static{this.PAVILION_ROOF={type:3,value:"PAVILION_ROOF"}}static{this.RAINBOW_ROOF={type:3,value:"RAINBOW_ROOF"}}static{this.SHED_ROOF={type:3,value:"SHED_ROOF"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcRoofTypeEnum=yt;class gt{static{this.ATTO={type:3,value:"ATTO"}}static{this.CENTI={type:3,value:"CENTI"}}static{this.DECA={type:3,value:"DECA"}}static{this.DECI={type:3,value:"DECI"}}static{this.EXA={type:3,value:"EXA"}}static{this.FEMTO={type:3,value:"FEMTO"}}static{this.GIGA={type:3,value:"GIGA"}}static{this.HECTO={type:3,value:"HECTO"}}static{this.KILO={type:3,value:"KILO"}}static{this.MEGA={type:3,value:"MEGA"}}static{this.MICRO={type:3,value:"MICRO"}}static{this.MILLI={type:3,value:"MILLI"}}static{this.NANO={type:3,value:"NANO"}}static{this.PETA={type:3,value:"PETA"}}static{this.PICO={type:3,value:"PICO"}}static{this.TERA={type:3,value:"TERA"}}}e.IfcSIPrefix=gt;class Rt{static{this.AMPERE={type:3,value:"AMPERE"}}static{this.BECQUEREL={type:3,value:"BECQUEREL"}}static{this.CANDELA={type:3,value:"CANDELA"}}static{this.COULOMB={type:3,value:"COULOMB"}}static{this.CUBIC_METRE={type:3,value:"CUBIC_METRE"}}static{this.DEGREE_CELSIUS={type:3,value:"DEGREE_CELSIUS"}}static{this.FARAD={type:3,value:"FARAD"}}static{this.GRAM={type:3,value:"GRAM"}}static{this.GRAY={type:3,value:"GRAY"}}static{this.HENRY={type:3,value:"HENRY"}}static{this.HERTZ={type:3,value:"HERTZ"}}static{this.JOULE={type:3,value:"JOULE"}}static{this.KELVIN={type:3,value:"KELVIN"}}static{this.LUMEN={type:3,value:"LUMEN"}}static{this.LUX={type:3,value:"LUX"}}static{this.METRE={type:3,value:"METRE"}}static{this.MOLE={type:3,value:"MOLE"}}static{this.NEWTON={type:3,value:"NEWTON"}}static{this.OHM={type:3,value:"OHM"}}static{this.PASCAL={type:3,value:"PASCAL"}}static{this.RADIAN={type:3,value:"RADIAN"}}static{this.SECOND={type:3,value:"SECOND"}}static{this.SIEMENS={type:3,value:"SIEMENS"}}static{this.SIEVERT={type:3,value:"SIEVERT"}}static{this.SQUARE_METRE={type:3,value:"SQUARE_METRE"}}static{this.STERADIAN={type:3,value:"STERADIAN"}}static{this.TESLA={type:3,value:"TESLA"}}static{this.VOLT={type:3,value:"VOLT"}}static{this.WATT={type:3,value:"WATT"}}static{this.WEBER={type:3,value:"WEBER"}}}e.IfcSIUnitName=Rt;class $t{static{this.BATH={type:3,value:"BATH"}}static{this.BIDET={type:3,value:"BIDET"}}static{this.CISTERN={type:3,value:"CISTERN"}}static{this.SANITARYFOUNTAIN={type:3,value:"SANITARYFOUNTAIN"}}static{this.SHOWER={type:3,value:"SHOWER"}}static{this.SINK={type:3,value:"SINK"}}static{this.TOILETPAN={type:3,value:"TOILETPAN"}}static{this.URINAL={type:3,value:"URINAL"}}static{this.WASHHANDBASIN={type:3,value:"WASHHANDBASIN"}}static{this.WCSEAT={type:3,value:"WCSEAT"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcSanitaryTerminalTypeEnum=$t;class Ri{static{this.TAPERED={type:3,value:"TAPERED"}}static{this.UNIFORM={type:3,value:"UNIFORM"}}}e.IfcSectionTypeEnum=Ri;class Vi{static{this.CO2SENSOR={type:3,value:"CO2SENSOR"}}static{this.CONDUCTANCESENSOR={type:3,value:"CONDUCTANCESENSOR"}}static{this.CONTACTSENSOR={type:3,value:"CONTACTSENSOR"}}static{this.COSENSOR={type:3,value:"COSENSOR"}}static{this.EARTHQUAKESENSOR={type:3,value:"EARTHQUAKESENSOR"}}static{this.FIRESENSOR={type:3,value:"FIRESENSOR"}}static{this.FLOWSENSOR={type:3,value:"FLOWSENSOR"}}static{this.FOREIGNOBJECTDETECTIONSENSOR={type:3,value:"FOREIGNOBJECTDETECTIONSENSOR"}}static{this.FROSTSENSOR={type:3,value:"FROSTSENSOR"}}static{this.GASSENSOR={type:3,value:"GASSENSOR"}}static{this.HEATSENSOR={type:3,value:"HEATSENSOR"}}static{this.HUMIDITYSENSOR={type:3,value:"HUMIDITYSENSOR"}}static{this.IDENTIFIERSENSOR={type:3,value:"IDENTIFIERSENSOR"}}static{this.IONCONCENTRATIONSENSOR={type:3,value:"IONCONCENTRATIONSENSOR"}}static{this.LEVELSENSOR={type:3,value:"LEVELSENSOR"}}static{this.LIGHTSENSOR={type:3,value:"LIGHTSENSOR"}}static{this.MOISTURESENSOR={type:3,value:"MOISTURESENSOR"}}static{this.MOVEMENTSENSOR={type:3,value:"MOVEMENTSENSOR"}}static{this.OBSTACLESENSOR={type:3,value:"OBSTACLESENSOR"}}static{this.PHSENSOR={type:3,value:"PHSENSOR"}}static{this.PRESSURESENSOR={type:3,value:"PRESSURESENSOR"}}static{this.RADIATIONSENSOR={type:3,value:"RADIATIONSENSOR"}}static{this.RADIOACTIVITYSENSOR={type:3,value:"RADIOACTIVITYSENSOR"}}static{this.RAINSENSOR={type:3,value:"RAINSENSOR"}}static{this.SMOKESENSOR={type:3,value:"SMOKESENSOR"}}static{this.SNOWDEPTHSENSOR={type:3,value:"SNOWDEPTHSENSOR"}}static{this.SOUNDSENSOR={type:3,value:"SOUNDSENSOR"}}static{this.TEMPERATURESENSOR={type:3,value:"TEMPERATURESENSOR"}}static{this.TRAINSENSOR={type:3,value:"TRAINSENSOR"}}static{this.TURNOUTCLOSURESENSOR={type:3,value:"TURNOUTCLOSURESENSOR"}}static{this.WHEELSENSOR={type:3,value:"WHEELSENSOR"}}static{this.WINDSENSOR={type:3,value:"WINDSENSOR"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcSensorTypeEnum=Vi;class tn{static{this.FINISH_FINISH={type:3,value:"FINISH_FINISH"}}static{this.FINISH_START={type:3,value:"FINISH_START"}}static{this.START_FINISH={type:3,value:"START_FINISH"}}static{this.START_START={type:3,value:"START_START"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcSequenceEnum=tn;class qi{static{this.AWNING={type:3,value:"AWNING"}}static{this.JALOUSIE={type:3,value:"JALOUSIE"}}static{this.SHUTTER={type:3,value:"SHUTTER"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcShadingDeviceTypeEnum=qi;class Yi{static{this.MARKER={type:3,value:"MARKER"}}static{this.MIRROR={type:3,value:"MIRROR"}}static{this.PICTORAL={type:3,value:"PICTORAL"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcSignTypeEnum=Yi;class Kn{static{this.AUDIO={type:3,value:"AUDIO"}}static{this.MIXED={type:3,value:"MIXED"}}static{this.VISUAL={type:3,value:"VISUAL"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcSignalTypeEnum=Kn;class Fs{static{this.P_BOUNDEDVALUE={type:3,value:"P_BOUNDEDVALUE"}}static{this.P_ENUMERATEDVALUE={type:3,value:"P_ENUMERATEDVALUE"}}static{this.P_LISTVALUE={type:3,value:"P_LISTVALUE"}}static{this.P_REFERENCEVALUE={type:3,value:"P_REFERENCEVALUE"}}static{this.P_SINGLEVALUE={type:3,value:"P_SINGLEVALUE"}}static{this.P_TABLEVALUE={type:3,value:"P_TABLEVALUE"}}static{this.Q_AREA={type:3,value:"Q_AREA"}}static{this.Q_COUNT={type:3,value:"Q_COUNT"}}static{this.Q_LENGTH={type:3,value:"Q_LENGTH"}}static{this.Q_NUMBER={type:3,value:"Q_NUMBER"}}static{this.Q_TIME={type:3,value:"Q_TIME"}}static{this.Q_VOLUME={type:3,value:"Q_VOLUME"}}static{this.Q_WEIGHT={type:3,value:"Q_WEIGHT"}}}e.IfcSimplePropertyTemplateTypeEnum=Fs;class us{static{this.APPROACH_SLAB={type:3,value:"APPROACH_SLAB"}}static{this.BASESLAB={type:3,value:"BASESLAB"}}static{this.FLOOR={type:3,value:"FLOOR"}}static{this.LANDING={type:3,value:"LANDING"}}static{this.PAVING={type:3,value:"PAVING"}}static{this.ROOF={type:3,value:"ROOF"}}static{this.SIDEWALK={type:3,value:"SIDEWALK"}}static{this.TRACKSLAB={type:3,value:"TRACKSLAB"}}static{this.WEARING={type:3,value:"WEARING"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcSlabTypeEnum=us;class gs{static{this.SOLARCOLLECTOR={type:3,value:"SOLARCOLLECTOR"}}static{this.SOLARPANEL={type:3,value:"SOLARPANEL"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcSolarDeviceTypeEnum=gs;class ir{static{this.CONVECTOR={type:3,value:"CONVECTOR"}}static{this.RADIATOR={type:3,value:"RADIATOR"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcSpaceHeaterTypeEnum=ir;class zl{static{this.BERTH={type:3,value:"BERTH"}}static{this.EXTERNAL={type:3,value:"EXTERNAL"}}static{this.GFA={type:3,value:"GFA"}}static{this.INTERNAL={type:3,value:"INTERNAL"}}static{this.PARKING={type:3,value:"PARKING"}}static{this.SPACE={type:3,value:"SPACE"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcSpaceTypeEnum=zl;class wc{static{this.CONSTRUCTION={type:3,value:"CONSTRUCTION"}}static{this.FIRESAFETY={type:3,value:"FIRESAFETY"}}static{this.INTERFERENCE={type:3,value:"INTERFERENCE"}}static{this.LIGHTING={type:3,value:"LIGHTING"}}static{this.OCCUPANCY={type:3,value:"OCCUPANCY"}}static{this.RESERVATION={type:3,value:"RESERVATION"}}static{this.SECURITY={type:3,value:"SECURITY"}}static{this.THERMAL={type:3,value:"THERMAL"}}static{this.TRANSPORT={type:3,value:"TRANSPORT"}}static{this.VENTILATION={type:3,value:"VENTILATION"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcSpatialZoneTypeEnum=wc;class Ba{static{this.BIRDCAGE={type:3,value:"BIRDCAGE"}}static{this.COWL={type:3,value:"COWL"}}static{this.RAINWATERHOPPER={type:3,value:"RAINWATERHOPPER"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcStackTerminalTypeEnum=Ba;class ar{static{this.CURVED={type:3,value:"CURVED"}}static{this.FREEFORM={type:3,value:"FREEFORM"}}static{this.SPIRAL={type:3,value:"SPIRAL"}}static{this.STRAIGHT={type:3,value:"STRAIGHT"}}static{this.WINDER={type:3,value:"WINDER"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcStairFlightTypeEnum=ar;class K4{static{this.CURVED_RUN_STAIR={type:3,value:"CURVED_RUN_STAIR"}}static{this.DOUBLE_RETURN_STAIR={type:3,value:"DOUBLE_RETURN_STAIR"}}static{this.HALF_TURN_STAIR={type:3,value:"HALF_TURN_STAIR"}}static{this.HALF_WINDING_STAIR={type:3,value:"HALF_WINDING_STAIR"}}static{this.LADDER={type:3,value:"LADDER"}}static{this.QUARTER_TURN_STAIR={type:3,value:"QUARTER_TURN_STAIR"}}static{this.QUARTER_WINDING_STAIR={type:3,value:"QUARTER_WINDING_STAIR"}}static{this.SPIRAL_STAIR={type:3,value:"SPIRAL_STAIR"}}static{this.STRAIGHT_RUN_STAIR={type:3,value:"STRAIGHT_RUN_STAIR"}}static{this.THREE_QUARTER_TURN_STAIR={type:3,value:"THREE_QUARTER_TURN_STAIR"}}static{this.THREE_QUARTER_WINDING_STAIR={type:3,value:"THREE_QUARTER_WINDING_STAIR"}}static{this.TWO_CURVED_RUN_STAIR={type:3,value:"TWO_CURVED_RUN_STAIR"}}static{this.TWO_QUARTER_TURN_STAIR={type:3,value:"TWO_QUARTER_TURN_STAIR"}}static{this.TWO_QUARTER_WINDING_STAIR={type:3,value:"TWO_QUARTER_WINDING_STAIR"}}static{this.TWO_STRAIGHT_RUN_STAIR={type:3,value:"TWO_STRAIGHT_RUN_STAIR"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcStairTypeEnum=K4;class rA{static{this.LOCKED={type:3,value:"LOCKED"}}static{this.READONLY={type:3,value:"READONLY"}}static{this.READONLYLOCKED={type:3,value:"READONLYLOCKED"}}static{this.READWRITE={type:3,value:"READWRITE"}}static{this.READWRITELOCKED={type:3,value:"READWRITELOCKED"}}}e.IfcStateEnum=rA;class xM{static{this.CONST={type:3,value:"CONST"}}static{this.DISCRETE={type:3,value:"DISCRETE"}}static{this.EQUIDISTANT={type:3,value:"EQUIDISTANT"}}static{this.LINEAR={type:3,value:"LINEAR"}}static{this.PARABOLA={type:3,value:"PARABOLA"}}static{this.POLYGONAL={type:3,value:"POLYGONAL"}}static{this.SINUS={type:3,value:"SINUS"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcStructuralCurveActivityTypeEnum=xM;class OM{static{this.CABLE={type:3,value:"CABLE"}}static{this.COMPRESSION_MEMBER={type:3,value:"COMPRESSION_MEMBER"}}static{this.PIN_JOINED_MEMBER={type:3,value:"PIN_JOINED_MEMBER"}}static{this.RIGID_JOINED_MEMBER={type:3,value:"RIGID_JOINED_MEMBER"}}static{this.TENSION_MEMBER={type:3,value:"TENSION_MEMBER"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcStructuralCurveMemberTypeEnum=OM;class LM{static{this.BILINEAR={type:3,value:"BILINEAR"}}static{this.CONST={type:3,value:"CONST"}}static{this.DISCRETE={type:3,value:"DISCRETE"}}static{this.ISOCONTOUR={type:3,value:"ISOCONTOUR"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcStructuralSurfaceActivityTypeEnum=LM;class PM{static{this.BENDING_ELEMENT={type:3,value:"BENDING_ELEMENT"}}static{this.MEMBRANE_ELEMENT={type:3,value:"MEMBRANE_ELEMENT"}}static{this.SHELL={type:3,value:"SHELL"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcStructuralSurfaceMemberTypeEnum=PM;class x_{static{this.PURCHASE={type:3,value:"PURCHASE"}}static{this.WORK={type:3,value:"WORK"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcSubContractResourceTypeEnum=x_;class MM{static{this.DEFECT={type:3,value:"DEFECT"}}static{this.HATCHMARKING={type:3,value:"HATCHMARKING"}}static{this.LINEMARKING={type:3,value:"LINEMARKING"}}static{this.MARK={type:3,value:"MARK"}}static{this.NONSKIDSURFACING={type:3,value:"NONSKIDSURFACING"}}static{this.PAVEMENTSURFACEMARKING={type:3,value:"PAVEMENTSURFACEMARKING"}}static{this.RUMBLESTRIP={type:3,value:"RUMBLESTRIP"}}static{this.SYMBOLMARKING={type:3,value:"SYMBOLMARKING"}}static{this.TAG={type:3,value:"TAG"}}static{this.TRANSVERSERUMBLESTRIP={type:3,value:"TRANSVERSERUMBLESTRIP"}}static{this.TREATMENT={type:3,value:"TREATMENT"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcSurfaceFeatureTypeEnum=MM;class $x{static{this.BOTH={type:3,value:"BOTH"}}static{this.NEGATIVE={type:3,value:"NEGATIVE"}}static{this.POSITIVE={type:3,value:"POSITIVE"}}}e.IfcSurfaceSide=$x;class BM{static{this.CONTACTOR={type:3,value:"CONTACTOR"}}static{this.DIMMERSWITCH={type:3,value:"DIMMERSWITCH"}}static{this.EMERGENCYSTOP={type:3,value:"EMERGENCYSTOP"}}static{this.KEYPAD={type:3,value:"KEYPAD"}}static{this.MOMENTARYSWITCH={type:3,value:"MOMENTARYSWITCH"}}static{this.RELAY={type:3,value:"RELAY"}}static{this.SELECTORSWITCH={type:3,value:"SELECTORSWITCH"}}static{this.STARTER={type:3,value:"STARTER"}}static{this.START_AND_STOP_EQUIPMENT={type:3,value:"START_AND_STOP_EQUIPMENT"}}static{this.SWITCHDISCONNECTOR={type:3,value:"SWITCHDISCONNECTOR"}}static{this.TOGGLESWITCH={type:3,value:"TOGGLESWITCH"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcSwitchingDeviceTypeEnum=BM;class lA{static{this.PANEL={type:3,value:"PANEL"}}static{this.SUBRACK={type:3,value:"SUBRACK"}}static{this.WORKSURFACE={type:3,value:"WORKSURFACE"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcSystemFurnitureElementTypeEnum=lA;class wI{static{this.BASIN={type:3,value:"BASIN"}}static{this.BREAKPRESSURE={type:3,value:"BREAKPRESSURE"}}static{this.EXPANSION={type:3,value:"EXPANSION"}}static{this.FEEDANDEXPANSION={type:3,value:"FEEDANDEXPANSION"}}static{this.OILRETENTIONTRAY={type:3,value:"OILRETENTIONTRAY"}}static{this.PRESSUREVESSEL={type:3,value:"PRESSUREVESSEL"}}static{this.STORAGE={type:3,value:"STORAGE"}}static{this.VESSEL={type:3,value:"VESSEL"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcTankTypeEnum=wI;class FM{static{this.ELAPSEDTIME={type:3,value:"ELAPSEDTIME"}}static{this.WORKTIME={type:3,value:"WORKTIME"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcTaskDurationEnum=FM;class aA{static{this.ADJUSTMENT={type:3,value:"ADJUSTMENT"}}static{this.ATTENDANCE={type:3,value:"ATTENDANCE"}}static{this.CALIBRATION={type:3,value:"CALIBRATION"}}static{this.CONSTRUCTION={type:3,value:"CONSTRUCTION"}}static{this.DEMOLITION={type:3,value:"DEMOLITION"}}static{this.DISMANTLE={type:3,value:"DISMANTLE"}}static{this.DISPOSAL={type:3,value:"DISPOSAL"}}static{this.EMERGENCY={type:3,value:"EMERGENCY"}}static{this.INSPECTION={type:3,value:"INSPECTION"}}static{this.INSTALLATION={type:3,value:"INSTALLATION"}}static{this.LOGISTIC={type:3,value:"LOGISTIC"}}static{this.MAINTENANCE={type:3,value:"MAINTENANCE"}}static{this.MOVE={type:3,value:"MOVE"}}static{this.OPERATION={type:3,value:"OPERATION"}}static{this.REMOVAL={type:3,value:"REMOVAL"}}static{this.RENOVATION={type:3,value:"RENOVATION"}}static{this.SAFETY={type:3,value:"SAFETY"}}static{this.SHUTDOWN={type:3,value:"SHUTDOWN"}}static{this.STARTUP={type:3,value:"STARTUP"}}static{this.TESTING={type:3,value:"TESTING"}}static{this.TROUBLESHOOTING={type:3,value:"TROUBLESHOOTING"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcTaskTypeEnum=aA;class UM{static{this.COUPLER={type:3,value:"COUPLER"}}static{this.FIXED_END={type:3,value:"FIXED_END"}}static{this.TENSIONING_END={type:3,value:"TENSIONING_END"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcTendonAnchorTypeEnum=UM;class Q4{static{this.COUPLER={type:3,value:"COUPLER"}}static{this.DIABOLO={type:3,value:"DIABOLO"}}static{this.DUCT={type:3,value:"DUCT"}}static{this.GROUTING_DUCT={type:3,value:"GROUTING_DUCT"}}static{this.TRUMPET={type:3,value:"TRUMPET"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcTendonConduitTypeEnum=Q4;class Zx{static{this.BAR={type:3,value:"BAR"}}static{this.COATED={type:3,value:"COATED"}}static{this.STRAND={type:3,value:"STRAND"}}static{this.WIRE={type:3,value:"WIRE"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcTendonTypeEnum=Zx;class uA{static{this.DOWN={type:3,value:"DOWN"}}static{this.LEFT={type:3,value:"LEFT"}}static{this.RIGHT={type:3,value:"RIGHT"}}static{this.UP={type:3,value:"UP"}}}e.IfcTextPath=uA;class O_{static{this.CONTINUOUS={type:3,value:"CONTINUOUS"}}static{this.DISCRETE={type:3,value:"DISCRETE"}}static{this.DISCRETEBINARY={type:3,value:"DISCRETEBINARY"}}static{this.PIECEWISEBINARY={type:3,value:"PIECEWISEBINARY"}}static{this.PIECEWISECONSTANT={type:3,value:"PIECEWISECONSTANT"}}static{this.PIECEWISECONTINUOUS={type:3,value:"PIECEWISECONTINUOUS"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcTimeSeriesDataTypeEnum=O_;class L_{static{this.BLOCKINGDEVICE={type:3,value:"BLOCKINGDEVICE"}}static{this.DERAILER={type:3,value:"DERAILER"}}static{this.FROG={type:3,value:"FROG"}}static{this.HALF_SET_OF_BLADES={type:3,value:"HALF_SET_OF_BLADES"}}static{this.SLEEPER={type:3,value:"SLEEPER"}}static{this.SPEEDREGULATOR={type:3,value:"SPEEDREGULATOR"}}static{this.TRACKENDOFALIGNMENT={type:3,value:"TRACKENDOFALIGNMENT"}}static{this.VEHICLESTOP={type:3,value:"VEHICLESTOP"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcTrackElementTypeEnum=L_;class Kx{static{this.CHOPPER={type:3,value:"CHOPPER"}}static{this.COMBINED={type:3,value:"COMBINED"}}static{this.CURRENT={type:3,value:"CURRENT"}}static{this.FREQUENCY={type:3,value:"FREQUENCY"}}static{this.INVERTER={type:3,value:"INVERTER"}}static{this.RECTIFIER={type:3,value:"RECTIFIER"}}static{this.VOLTAGE={type:3,value:"VOLTAGE"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcTransformerTypeEnum=Kx;class Qx{static{this.CONTINUOUS={type:3,value:"CONTINUOUS"}}static{this.CONTSAMEGRADIENT={type:3,value:"CONTSAMEGRADIENT"}}static{this.CONTSAMEGRADIENTSAMECURVATURE={type:3,value:"CONTSAMEGRADIENTSAMECURVATURE"}}static{this.DISCONTINUOUS={type:3,value:"DISCONTINUOUS"}}}e.IfcTransitionCode=Qx;class HM{static{this.CRANEWAY={type:3,value:"CRANEWAY"}}static{this.ELEVATOR={type:3,value:"ELEVATOR"}}static{this.ESCALATOR={type:3,value:"ESCALATOR"}}static{this.HAULINGGEAR={type:3,value:"HAULINGGEAR"}}static{this.LIFTINGGEAR={type:3,value:"LIFTINGGEAR"}}static{this.MOVINGWALKWAY={type:3,value:"MOVINGWALKWAY"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcTransportElementTypeEnum=HM;class GM{static{this.CARTESIAN={type:3,value:"CARTESIAN"}}static{this.PARAMETER={type:3,value:"PARAMETER"}}static{this.UNSPECIFIED={type:3,value:"UNSPECIFIED"}}}e.IfcTrimmingPreference=GM;class VM{static{this.FINNED={type:3,value:"FINNED"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcTubeBundleTypeEnum=VM;class kM{static{this.ABSORBEDDOSEUNIT={type:3,value:"ABSORBEDDOSEUNIT"}}static{this.AMOUNTOFSUBSTANCEUNIT={type:3,value:"AMOUNTOFSUBSTANCEUNIT"}}static{this.AREAUNIT={type:3,value:"AREAUNIT"}}static{this.DOSEEQUIVALENTUNIT={type:3,value:"DOSEEQUIVALENTUNIT"}}static{this.ELECTRICCAPACITANCEUNIT={type:3,value:"ELECTRICCAPACITANCEUNIT"}}static{this.ELECTRICCHARGEUNIT={type:3,value:"ELECTRICCHARGEUNIT"}}static{this.ELECTRICCONDUCTANCEUNIT={type:3,value:"ELECTRICCONDUCTANCEUNIT"}}static{this.ELECTRICCURRENTUNIT={type:3,value:"ELECTRICCURRENTUNIT"}}static{this.ELECTRICRESISTANCEUNIT={type:3,value:"ELECTRICRESISTANCEUNIT"}}static{this.ELECTRICVOLTAGEUNIT={type:3,value:"ELECTRICVOLTAGEUNIT"}}static{this.ENERGYUNIT={type:3,value:"ENERGYUNIT"}}static{this.FORCEUNIT={type:3,value:"FORCEUNIT"}}static{this.FREQUENCYUNIT={type:3,value:"FREQUENCYUNIT"}}static{this.ILLUMINANCEUNIT={type:3,value:"ILLUMINANCEUNIT"}}static{this.INDUCTANCEUNIT={type:3,value:"INDUCTANCEUNIT"}}static{this.LENGTHUNIT={type:3,value:"LENGTHUNIT"}}static{this.LUMINOUSFLUXUNIT={type:3,value:"LUMINOUSFLUXUNIT"}}static{this.LUMINOUSINTENSITYUNIT={type:3,value:"LUMINOUSINTENSITYUNIT"}}static{this.MAGNETICFLUXDENSITYUNIT={type:3,value:"MAGNETICFLUXDENSITYUNIT"}}static{this.MAGNETICFLUXUNIT={type:3,value:"MAGNETICFLUXUNIT"}}static{this.MASSUNIT={type:3,value:"MASSUNIT"}}static{this.PLANEANGLEUNIT={type:3,value:"PLANEANGLEUNIT"}}static{this.POWERUNIT={type:3,value:"POWERUNIT"}}static{this.PRESSUREUNIT={type:3,value:"PRESSUREUNIT"}}static{this.RADIOACTIVITYUNIT={type:3,value:"RADIOACTIVITYUNIT"}}static{this.SOLIDANGLEUNIT={type:3,value:"SOLIDANGLEUNIT"}}static{this.THERMODYNAMICTEMPERATUREUNIT={type:3,value:"THERMODYNAMICTEMPERATUREUNIT"}}static{this.TIMEUNIT={type:3,value:"TIMEUNIT"}}static{this.VOLUMEUNIT={type:3,value:"VOLUMEUNIT"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}}e.IfcUnitEnum=kM;class cg{static{this.ALARMPANEL={type:3,value:"ALARMPANEL"}}static{this.BASESTATIONCONTROLLER={type:3,value:"BASESTATIONCONTROLLER"}}static{this.COMBINED={type:3,value:"COMBINED"}}static{this.CONTROLPANEL={type:3,value:"CONTROLPANEL"}}static{this.GASDETECTIONPANEL={type:3,value:"GASDETECTIONPANEL"}}static{this.HUMIDISTAT={type:3,value:"HUMIDISTAT"}}static{this.INDICATORPANEL={type:3,value:"INDICATORPANEL"}}static{this.MIMICPANEL={type:3,value:"MIMICPANEL"}}static{this.THERMOSTAT={type:3,value:"THERMOSTAT"}}static{this.WEATHERSTATION={type:3,value:"WEATHERSTATION"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcUnitaryControlElementTypeEnum=cg;class uh{static{this.AIRCONDITIONINGUNIT={type:3,value:"AIRCONDITIONINGUNIT"}}static{this.AIRHANDLER={type:3,value:"AIRHANDLER"}}static{this.DEHUMIDIFIER={type:3,value:"DEHUMIDIFIER"}}static{this.ROOFTOPUNIT={type:3,value:"ROOFTOPUNIT"}}static{this.SPLITSYSTEM={type:3,value:"SPLITSYSTEM"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcUnitaryEquipmentTypeEnum=uh;class zM{static{this.AIRRELEASE={type:3,value:"AIRRELEASE"}}static{this.ANTIVACUUM={type:3,value:"ANTIVACUUM"}}static{this.CHANGEOVER={type:3,value:"CHANGEOVER"}}static{this.CHECK={type:3,value:"CHECK"}}static{this.COMMISSIONING={type:3,value:"COMMISSIONING"}}static{this.DIVERTING={type:3,value:"DIVERTING"}}static{this.DOUBLECHECK={type:3,value:"DOUBLECHECK"}}static{this.DOUBLEREGULATING={type:3,value:"DOUBLEREGULATING"}}static{this.DRAWOFFCOCK={type:3,value:"DRAWOFFCOCK"}}static{this.FAUCET={type:3,value:"FAUCET"}}static{this.FLUSHING={type:3,value:"FLUSHING"}}static{this.GASCOCK={type:3,value:"GASCOCK"}}static{this.GASTAP={type:3,value:"GASTAP"}}static{this.ISOLATING={type:3,value:"ISOLATING"}}static{this.MIXING={type:3,value:"MIXING"}}static{this.PRESSUREREDUCING={type:3,value:"PRESSUREREDUCING"}}static{this.PRESSURERELIEF={type:3,value:"PRESSURERELIEF"}}static{this.REGULATING={type:3,value:"REGULATING"}}static{this.SAFETYCUTOFF={type:3,value:"SAFETYCUTOFF"}}static{this.STEAMTRAP={type:3,value:"STEAMTRAP"}}static{this.STOPCOCK={type:3,value:"STOPCOCK"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcValveTypeEnum=zM;class J4{static{this.CARGO={type:3,value:"CARGO"}}static{this.ROLLINGSTOCK={type:3,value:"ROLLINGSTOCK"}}static{this.VEHICLE={type:3,value:"VEHICLE"}}static{this.VEHICLEAIR={type:3,value:"VEHICLEAIR"}}static{this.VEHICLEMARINE={type:3,value:"VEHICLEMARINE"}}static{this.VEHICLETRACKED={type:3,value:"VEHICLETRACKED"}}static{this.VEHICLEWHEELED={type:3,value:"VEHICLEWHEELED"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcVehicleTypeEnum=J4;class cA{static{this.AXIAL_YIELD={type:3,value:"AXIAL_YIELD"}}static{this.BENDING_YIELD={type:3,value:"BENDING_YIELD"}}static{this.FRICTION={type:3,value:"FRICTION"}}static{this.RUBBER={type:3,value:"RUBBER"}}static{this.SHEAR_YIELD={type:3,value:"SHEAR_YIELD"}}static{this.VISCOUS={type:3,value:"VISCOUS"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcVibrationDamperTypeEnum=cA;class WM{static{this.BASE={type:3,value:"BASE"}}static{this.COMPRESSION={type:3,value:"COMPRESSION"}}static{this.SPRING={type:3,value:"SPRING"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcVibrationIsolatorTypeEnum=WM;class P_{static{this.BOUNDARY={type:3,value:"BOUNDARY"}}static{this.CLEARANCE={type:3,value:"CLEARANCE"}}static{this.PROVISIONFORVOID={type:3,value:"PROVISIONFORVOID"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcVirtualElementTypeEnum=P_;class Jx{static{this.CHAMFER={type:3,value:"CHAMFER"}}static{this.CUTOUT={type:3,value:"CUTOUT"}}static{this.EDGE={type:3,value:"EDGE"}}static{this.HOLE={type:3,value:"HOLE"}}static{this.MITER={type:3,value:"MITER"}}static{this.NOTCH={type:3,value:"NOTCH"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcVoidingFeatureTypeEnum=Jx;class YM{static{this.ELEMENTEDWALL={type:3,value:"ELEMENTEDWALL"}}static{this.MOVABLE={type:3,value:"MOVABLE"}}static{this.PARAPET={type:3,value:"PARAPET"}}static{this.PARTITIONING={type:3,value:"PARTITIONING"}}static{this.PLUMBINGWALL={type:3,value:"PLUMBINGWALL"}}static{this.POLYGONAL={type:3,value:"POLYGONAL"}}static{this.RETAININGWALL={type:3,value:"RETAININGWALL"}}static{this.SHEAR={type:3,value:"SHEAR"}}static{this.SOLIDWALL={type:3,value:"SOLIDWALL"}}static{this.STANDARD={type:3,value:"STANDARD"}}static{this.WAVEWALL={type:3,value:"WAVEWALL"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcWallTypeEnum=YM;class dg{static{this.FLOORTRAP={type:3,value:"FLOORTRAP"}}static{this.FLOORWASTE={type:3,value:"FLOORWASTE"}}static{this.GULLYSUMP={type:3,value:"GULLYSUMP"}}static{this.GULLYTRAP={type:3,value:"GULLYTRAP"}}static{this.ROOFDRAIN={type:3,value:"ROOFDRAIN"}}static{this.WASTEDISPOSALUNIT={type:3,value:"WASTEDISPOSALUNIT"}}static{this.WASTETRAP={type:3,value:"WASTETRAP"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcWasteTerminalTypeEnum=dg;class jM{static{this.BOTTOMHUNG={type:3,value:"BOTTOMHUNG"}}static{this.FIXEDCASEMENT={type:3,value:"FIXEDCASEMENT"}}static{this.OTHEROPERATION={type:3,value:"OTHEROPERATION"}}static{this.PIVOTHORIZONTAL={type:3,value:"PIVOTHORIZONTAL"}}static{this.PIVOTVERTICAL={type:3,value:"PIVOTVERTICAL"}}static{this.REMOVABLECASEMENT={type:3,value:"REMOVABLECASEMENT"}}static{this.SIDEHUNGLEFTHAND={type:3,value:"SIDEHUNGLEFTHAND"}}static{this.SIDEHUNGRIGHTHAND={type:3,value:"SIDEHUNGRIGHTHAND"}}static{this.SLIDINGHORIZONTAL={type:3,value:"SLIDINGHORIZONTAL"}}static{this.SLIDINGVERTICAL={type:3,value:"SLIDINGVERTICAL"}}static{this.TILTANDTURNLEFTHAND={type:3,value:"TILTANDTURNLEFTHAND"}}static{this.TILTANDTURNRIGHTHAND={type:3,value:"TILTANDTURNRIGHTHAND"}}static{this.TOPHUNG={type:3,value:"TOPHUNG"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcWindowPanelOperationEnum=jM;class M_{static{this.BOTTOM={type:3,value:"BOTTOM"}}static{this.LEFT={type:3,value:"LEFT"}}static{this.MIDDLE={type:3,value:"MIDDLE"}}static{this.RIGHT={type:3,value:"RIGHT"}}static{this.TOP={type:3,value:"TOP"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcWindowPanelPositionEnum=M_;class qM{static{this.LIGHTDOME={type:3,value:"LIGHTDOME"}}static{this.SKYLIGHT={type:3,value:"SKYLIGHT"}}static{this.WINDOW={type:3,value:"WINDOW"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcWindowTypeEnum=qM;class ch{static{this.DOUBLE_PANEL_HORIZONTAL={type:3,value:"DOUBLE_PANEL_HORIZONTAL"}}static{this.DOUBLE_PANEL_VERTICAL={type:3,value:"DOUBLE_PANEL_VERTICAL"}}static{this.SINGLE_PANEL={type:3,value:"SINGLE_PANEL"}}static{this.TRIPLE_PANEL_BOTTOM={type:3,value:"TRIPLE_PANEL_BOTTOM"}}static{this.TRIPLE_PANEL_HORIZONTAL={type:3,value:"TRIPLE_PANEL_HORIZONTAL"}}static{this.TRIPLE_PANEL_LEFT={type:3,value:"TRIPLE_PANEL_LEFT"}}static{this.TRIPLE_PANEL_RIGHT={type:3,value:"TRIPLE_PANEL_RIGHT"}}static{this.TRIPLE_PANEL_TOP={type:3,value:"TRIPLE_PANEL_TOP"}}static{this.TRIPLE_PANEL_VERTICAL={type:3,value:"TRIPLE_PANEL_VERTICAL"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcWindowTypePartitioningEnum=ch;class dA{static{this.FIRSTSHIFT={type:3,value:"FIRSTSHIFT"}}static{this.SECONDSHIFT={type:3,value:"SECONDSHIFT"}}static{this.THIRDSHIFT={type:3,value:"THIRDSHIFT"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcWorkCalendarTypeEnum=dA;class B_{static{this.ACTUAL={type:3,value:"ACTUAL"}}static{this.BASELINE={type:3,value:"BASELINE"}}static{this.PLANNED={type:3,value:"PLANNED"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcWorkPlanTypeEnum=B_;class $M{static{this.ACTUAL={type:3,value:"ACTUAL"}}static{this.BASELINE={type:3,value:"BASELINE"}}static{this.PLANNED={type:3,value:"PLANNED"}}static{this.USERDEFINED={type:3,value:"USERDEFINED"}}static{this.NOTDEFINED={type:3,value:"NOTDEFINED"}}}e.IfcWorkScheduleTypeEnum=$M;class ZM extends Yt{constructor(E,g,v){super(),this.Role=E,this.UserDefinedRole=g,this.Description=v,this.type=3630933823}}e.IfcActorRole=ZM;class hA extends Yt{constructor(E,g,v){super(),this.Purpose=E,this.Description=g,this.UserDefinedPurpose=v,this.type=618182010}}e.IfcAddress=hA;class fA extends Yt{constructor(E,g){super(),this.StartTag=E,this.EndTag=g,this.type=2879124712}}e.IfcAlignmentParameterSegment=fA;class KM extends fA{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g),this.StartTag=E,this.EndTag=g,this.StartDistAlong=v,this.HorizontalLength=N,this.StartHeight=C,this.StartGradient=F,this.EndGradient=V,this.RadiusOfCurvature=Y,this.PredefinedType=ae,this.type=3633395639}}e.IfcAlignmentVerticalSegment=KM;class F_ extends Yt{constructor(E,g,v,N){super(),this.ApplicationDeveloper=E,this.Version=g,this.ApplicationFullName=v,this.ApplicationIdentifier=N,this.type=639542469}}e.IfcApplication=F_;class Xx extends Yt{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(),this.Name=E,this.Description=g,this.AppliedValue=v,this.UnitBasis=N,this.ApplicableDate=C,this.FixedUntilDate=F,this.Category=V,this.Condition=Y,this.ArithmeticOperator=ae,this.Components=Ze,this.type=411424972}}e.IfcAppliedValue=Xx;class QM extends Yt{constructor(E,g,v,N,C,F,V,Y,ae){super(),this.Identifier=E,this.Name=g,this.Description=v,this.TimeOfApproval=N,this.Status=C,this.Level=F,this.Qualifier=V,this.RequestingApproval=Y,this.GivingApproval=ae,this.type=130549933}}e.IfcApproval=QM;class pA extends Yt{constructor(E){super(),this.Name=E,this.type=4037036970}}e.IfcBoundaryCondition=pA;class IA extends pA{constructor(E,g,v,N,C,F,V){super(E),this.Name=E,this.TranslationalStiffnessByLengthX=g,this.TranslationalStiffnessByLengthY=v,this.TranslationalStiffnessByLengthZ=N,this.RotationalStiffnessByLengthX=C,this.RotationalStiffnessByLengthY=F,this.RotationalStiffnessByLengthZ=V,this.type=1560379544}}e.IfcBoundaryEdgeCondition=IA;class U_ extends pA{constructor(E,g,v,N){super(E),this.Name=E,this.TranslationalStiffnessByAreaX=g,this.TranslationalStiffnessByAreaY=v,this.TranslationalStiffnessByAreaZ=N,this.type=3367102660}}e.IfcBoundaryFaceCondition=U_;class eO extends pA{constructor(E,g,v,N,C,F,V){super(E),this.Name=E,this.TranslationalStiffnessX=g,this.TranslationalStiffnessY=v,this.TranslationalStiffnessZ=N,this.RotationalStiffnessX=C,this.RotationalStiffnessY=F,this.RotationalStiffnessZ=V,this.type=1387855156}}e.IfcBoundaryNodeCondition=eO;class H_ extends eO{constructor(E,g,v,N,C,F,V,Y){super(E,g,v,N,C,F,V),this.Name=E,this.TranslationalStiffnessX=g,this.TranslationalStiffnessY=v,this.TranslationalStiffnessZ=N,this.RotationalStiffnessX=C,this.RotationalStiffnessY=F,this.RotationalStiffnessZ=V,this.WarpingStiffness=Y,this.type=2069777674}}e.IfcBoundaryNodeConditionWarping=H_;class hg extends Yt{constructor(){super(),this.type=2859738748}}e.IfcConnectionGeometry=hg;class fg extends hg{constructor(E,g){super(),this.PointOnRelatingElement=E,this.PointOnRelatedElement=g,this.type=2614616156}}e.IfcConnectionPointGeometry=fg;class JM extends hg{constructor(E,g){super(),this.SurfaceOnRelatingElement=E,this.SurfaceOnRelatedElement=g,this.type=2732653382}}e.IfcConnectionSurfaceGeometry=JM;class G_ extends hg{constructor(E,g){super(),this.VolumeOnRelatingElement=E,this.VolumeOnRelatedElement=g,this.type=775493141}}e.IfcConnectionVolumeGeometry=G_;class sf extends Yt{constructor(E,g,v,N,C,F,V){super(),this.Name=E,this.Description=g,this.ConstraintGrade=v,this.ConstraintSource=N,this.CreatingActor=C,this.CreationTime=F,this.UserDefinedGrade=V,this.type=1959218052}}e.IfcConstraint=sf;class V_ extends Yt{constructor(E,g){super(),this.SourceCRS=E,this.TargetCRS=g,this.type=1785450214}}e.IfcCoordinateOperation=V_;class Wl extends Yt{constructor(E,g,v){super(),this.Name=E,this.Description=g,this.GeodeticDatum=v,this.type=1466758467}}e.IfcCoordinateReferenceSystem=Wl;class tO extends Xx{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae,Ze),this.Name=E,this.Description=g,this.AppliedValue=v,this.UnitBasis=N,this.ApplicableDate=C,this.FixedUntilDate=F,this.Category=V,this.Condition=Y,this.ArithmeticOperator=ae,this.Components=Ze,this.type=602808272}}e.IfcCostValue=tO;class XM extends Yt{constructor(E,g,v,N){super(),this.Elements=E,this.UnitType=g,this.UserDefinedType=v,this.Name=N,this.type=1765591967}}e.IfcDerivedUnit=XM;class QE extends Yt{constructor(E,g){super(),this.Unit=E,this.Exponent=g,this.type=1045800335}}e.IfcDerivedUnitElement=QE;class eB extends Yt{constructor(E,g,v,N,C,F,V){super(),this.LengthExponent=E,this.MassExponent=g,this.TimeExponent=v,this.ElectricCurrentExponent=N,this.ThermodynamicTemperatureExponent=C,this.AmountOfSubstanceExponent=F,this.LuminousIntensityExponent=V,this.type=2949456006}}e.IfcDimensionalExponents=eB;class of extends Yt{constructor(){super(),this.type=4294318154}}e.IfcExternalInformation=of;class x0 extends Yt{constructor(E,g,v){super(),this.Location=E,this.Identification=g,this.Name=v,this.type=3200245327}}e.IfcExternalReference=x0;class iO extends x0{constructor(E,g,v){super(E,g,v),this.Location=E,this.Identification=g,this.Name=v,this.type=2242383968}}e.IfcExternallyDefinedHatchStyle=iO;class vI extends x0{constructor(E,g,v){super(E,g,v),this.Location=E,this.Identification=g,this.Name=v,this.type=1040185647}}e.IfcExternallyDefinedSurfaceStyle=vI;class tB extends x0{constructor(E,g,v){super(E,g,v),this.Location=E,this.Identification=g,this.Name=v,this.type=3548104201}}e.IfcExternallyDefinedTextFont=tB;class nO extends Wl{constructor(E,g,v,N,C,F){super(E,g,v),this.Name=E,this.Description=g,this.GeodeticDatum=v,this.PrimeMeridian=N,this.AngleUnit=C,this.HeightUnit=F,this.type=917726184}}e.IfcGeographicCRS=nO;class sO extends Yt{constructor(E,g,v){super(),this.AxisTag=E,this.AxisCurve=g,this.SameSense=v,this.type=852622518}}e.IfcGridAxis=sO;class iB extends Yt{constructor(E,g){super(),this.TimeStamp=E,this.ListValues=g,this.type=3020489413}}e.IfcIrregularTimeSeriesValue=iB;class nB extends of{constructor(E,g,v,N,C,F){super(),this.Name=E,this.Version=g,this.Publisher=v,this.VersionDate=N,this.Location=C,this.Description=F,this.type=2655187982}}e.IfcLibraryInformation=nB;class sB extends x0{constructor(E,g,v,N,C,F){super(E,g,v),this.Location=E,this.Identification=g,this.Name=v,this.Description=N,this.Language=C,this.ReferencedLibrary=F,this.type=3452421091}}e.IfcLibraryReference=sB;class oB extends Yt{constructor(E,g,v){super(),this.MainPlaneAngle=E,this.SecondaryPlaneAngle=g,this.LuminousIntensity=v,this.type=4162380809}}e.IfcLightDistributionData=oB;class oO extends Yt{constructor(E,g){super(),this.LightDistributionCurve=E,this.DistributionData=g,this.type=1566485204}}e.IfcLightIntensityDistribution=oO;class rO extends V_{constructor(E,g,v,N,C,F,V,Y){super(E,g),this.SourceCRS=E,this.TargetCRS=g,this.Eastings=v,this.Northings=N,this.OrthogonalHeight=C,this.XAxisAbscissa=F,this.XAxisOrdinate=V,this.Scale=Y,this.type=3057273783}}e.IfcMapConversion=rO;class pg extends rO{constructor(E,g,v,N,C,F,V,Y,ae,Ze,Ii){super(E,g,v,N,C,F,V,Y),this.SourceCRS=E,this.TargetCRS=g,this.Eastings=v,this.Northings=N,this.OrthogonalHeight=C,this.XAxisAbscissa=F,this.XAxisOrdinate=V,this.Scale=Y,this.FactorX=ae,this.FactorY=Ze,this.FactorZ=Ii,this.type=4105526436}}e.IfcMapConversionScaled=pg;class lO extends Yt{constructor(E,g){super(),this.MaterialClassifications=E,this.ClassifiedMaterial=g,this.type=1847130766}}e.IfcMaterialClassificationRelationship=lO;class rf extends Yt{constructor(){super(),this.type=760658860}}e.IfcMaterialDefinition=rf;class aO extends rf{constructor(E,g,v,N,C,F,V){super(),this.Material=E,this.LayerThickness=g,this.IsVentilated=v,this.Name=N,this.Description=C,this.Category=F,this.Priority=V,this.type=248100487}}e.IfcMaterialLayer=aO;class RI extends rf{constructor(E,g,v){super(),this.MaterialLayers=E,this.LayerSetName=g,this.Description=v,this.type=3303938423}}e.IfcMaterialLayerSet=RI;class mA extends aO{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V),this.Material=E,this.LayerThickness=g,this.IsVentilated=v,this.Name=N,this.Description=C,this.Category=F,this.Priority=V,this.OffsetDirection=Y,this.OffsetValues=ae,this.type=1847252529}}e.IfcMaterialLayerWithOffsets=mA;class rB extends Yt{constructor(E){super(),this.Materials=E,this.type=2199411900}}e.IfcMaterialList=rB;class JE extends rf{constructor(E,g,v,N,C,F){super(),this.Name=E,this.Description=g,this.Material=v,this.Profile=N,this.Priority=C,this.Category=F,this.type=2235152071}}e.IfcMaterialProfile=JE;class lB extends rf{constructor(E,g,v,N){super(),this.Name=E,this.Description=g,this.MaterialProfiles=v,this.CompositeProfile=N,this.type=164193824}}e.IfcMaterialProfileSet=lB;class k_ extends JE{constructor(E,g,v,N,C,F,V){super(E,g,v,N,C,F),this.Name=E,this.Description=g,this.Material=v,this.Profile=N,this.Priority=C,this.Category=F,this.OffsetValues=V,this.type=552965576}}e.IfcMaterialProfileWithOffsets=k_;class X4 extends Yt{constructor(){super(),this.type=1507914824}}e.IfcMaterialUsageDefinition=X4;class z_ extends Yt{constructor(E,g){super(),this.ValueComponent=E,this.UnitComponent=g,this.type=2597039031}}e.IfcMeasureWithUnit=z_;class W_ extends sf{constructor(E,g,v,N,C,F,V,Y,ae,Ze,Ii){super(E,g,v,N,C,F,V),this.Name=E,this.Description=g,this.ConstraintGrade=v,this.ConstraintSource=N,this.CreatingActor=C,this.CreationTime=F,this.UserDefinedGrade=V,this.Benchmark=Y,this.ValueSource=ae,this.DataValue=Ze,this.ReferencePath=Ii,this.type=3368373690}}e.IfcMetric=W_;class aB extends Yt{constructor(E){super(),this.Currency=E,this.type=2706619895}}e.IfcMonetaryUnit=aB;class Ig extends Yt{constructor(E,g){super(),this.Dimensions=E,this.UnitType=g,this.type=1918398963}}e.IfcNamedUnit=Ig;class ip extends Yt{constructor(E){super(),this.PlacementRelTo=E,this.type=3701648758}}e.IfcObjectPlacement=ip;class uB extends sf{constructor(E,g,v,N,C,F,V,Y,ae,Ze,Ii){super(E,g,v,N,C,F,V),this.Name=E,this.Description=g,this.ConstraintGrade=v,this.ConstraintSource=N,this.CreatingActor=C,this.CreationTime=F,this.UserDefinedGrade=V,this.BenchmarkValues=Y,this.LogicalAggregator=ae,this.ObjectiveQualifier=Ze,this.UserDefinedQualifier=Ii,this.type=2251480897}}e.IfcObjective=uB;class uO extends Yt{constructor(E,g,v,N,C){super(),this.Identification=E,this.Name=g,this.Description=v,this.Roles=N,this.Addresses=C,this.type=4251960020}}e.IfcOrganization=uO;class J1 extends Yt{constructor(E,g,v,N,C,F,V,Y){super(),this.OwningUser=E,this.OwningApplication=g,this.State=v,this.ChangeAction=N,this.LastModifiedDate=C,this.LastModifyingUser=F,this.LastModifyingApplication=V,this.CreationDate=Y,this.type=1207048766}}e.IfcOwnerHistory=J1;class cB extends Yt{constructor(E,g,v,N,C,F,V,Y){super(),this.Identification=E,this.FamilyName=g,this.GivenName=v,this.MiddleNames=N,this.PrefixTitles=C,this.SuffixTitles=F,this.Roles=V,this.Addresses=Y,this.type=2077209135}}e.IfcPerson=cB;class dB extends Yt{constructor(E,g,v){super(),this.ThePerson=E,this.TheOrganization=g,this.Roles=v,this.type=101040310}}e.IfcPersonAndOrganization=dB;class yA extends Yt{constructor(E,g){super(),this.Name=E,this.Description=g,this.type=2483315170}}e.IfcPhysicalQuantity=yA;class X1 extends yA{constructor(E,g,v){super(E,g),this.Name=E,this.Description=g,this.Unit=v,this.type=2226359599}}e.IfcPhysicalSimpleQuantity=X1;class hB extends hA{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v),this.Purpose=E,this.Description=g,this.UserDefinedPurpose=v,this.InternalLocation=N,this.AddressLines=C,this.PostalBox=F,this.Town=V,this.Region=Y,this.PostalCode=ae,this.Country=Ze,this.type=3355820592}}e.IfcPostalAddress=hB;class Ta extends Yt{constructor(){super(),this.type=677532197}}e.IfcPresentationItem=Ta;class cO extends Yt{constructor(E,g,v,N){super(),this.Name=E,this.Description=g,this.AssignedItems=v,this.Identifier=N,this.type=2022622350}}e.IfcPresentationLayerAssignment=cO;class hm extends cO{constructor(E,g,v,N,C,F,V,Y){super(E,g,v,N),this.Name=E,this.Description=g,this.AssignedItems=v,this.Identifier=N,this.LayerOn=C,this.LayerFrozen=F,this.LayerBlocked=V,this.LayerStyles=Y,this.type=1304840413}}e.IfcPresentationLayerWithStyle=hm;class ev extends Yt{constructor(E){super(),this.Name=E,this.type=3119450353}}e.IfcPresentationStyle=ev;class EA extends Yt{constructor(E,g,v){super(),this.Name=E,this.Description=g,this.Representations=v,this.type=2095639259}}e.IfcProductRepresentation=EA;class XE extends Yt{constructor(E,g){super(),this.ProfileType=E,this.ProfileName=g,this.type=3958567839}}e.IfcProfileDef=XE;class Y_ extends Wl{constructor(E,g,v,N,C,F,V){super(E,g,v),this.Name=E,this.Description=g,this.GeodeticDatum=v,this.VerticalDatum=N,this.MapProjection=C,this.MapZone=F,this.MapUnit=V,this.type=3843373140}}e.IfcProjectedCRS=Y_;class mg extends Yt{constructor(){super(),this.type=986844984}}e.IfcPropertyAbstraction=mg;class fB extends mg{constructor(E,g,v){super(),this.Name=E,this.EnumerationValues=g,this.Unit=v,this.type=3710013099}}e.IfcPropertyEnumeration=fB;class pB extends X1{constructor(E,g,v,N,C){super(E,g,v),this.Name=E,this.Description=g,this.Unit=v,this.AreaValue=N,this.Formula=C,this.type=2044713172}}e.IfcQuantityArea=pB;class IB extends X1{constructor(E,g,v,N,C){super(E,g,v),this.Name=E,this.Description=g,this.Unit=v,this.CountValue=N,this.Formula=C,this.type=2093928680}}e.IfcQuantityCount=IB;class mB extends X1{constructor(E,g,v,N,C){super(E,g,v),this.Name=E,this.Description=g,this.Unit=v,this.LengthValue=N,this.Formula=C,this.type=931644368}}e.IfcQuantityLength=mB;class TA extends X1{constructor(E,g,v,N,C){super(E,g,v),this.Name=E,this.Description=g,this.Unit=v,this.NumberValue=N,this.Formula=C,this.type=2691318326}}e.IfcQuantityNumber=TA;class yB extends X1{constructor(E,g,v,N,C){super(E,g,v),this.Name=E,this.Description=g,this.Unit=v,this.TimeValue=N,this.Formula=C,this.type=3252649465}}e.IfcQuantityTime=yB;class EB extends X1{constructor(E,g,v,N,C){super(E,g,v),this.Name=E,this.Description=g,this.Unit=v,this.VolumeValue=N,this.Formula=C,this.type=2405470396}}e.IfcQuantityVolume=EB;class j_ extends X1{constructor(E,g,v,N,C){super(E,g,v),this.Name=E,this.Description=g,this.Unit=v,this.WeightValue=N,this.Formula=C,this.type=825690147}}e.IfcQuantityWeight=j_;class TB extends Yt{constructor(E,g,v,N,C,F,V,Y){super(),this.RecurrenceType=E,this.DayComponent=g,this.WeekdayComponent=v,this.MonthComponent=N,this.Position=C,this.Interval=F,this.Occurrences=V,this.TimePeriods=Y,this.type=3915482550}}e.IfcRecurrencePattern=TB;class gB extends Yt{constructor(E,g,v,N,C){super(),this.TypeIdentifier=E,this.AttributeIdentifier=g,this.InstanceName=v,this.ListPositions=N,this.InnerReference=C,this.type=2433181523}}e.IfcReference=gB;class tv extends Yt{constructor(E,g,v,N){super(),this.ContextOfItems=E,this.RepresentationIdentifier=g,this.RepresentationType=v,this.Items=N,this.type=1076942058}}e.IfcRepresentation=tv;class dO extends Yt{constructor(E,g){super(),this.ContextIdentifier=E,this.ContextType=g,this.type=3377609919}}e.IfcRepresentationContext=dO;class lf extends Yt{constructor(){super(),this.type=3008791417}}e.IfcRepresentationItem=lf;class wB extends Yt{constructor(E,g){super(),this.MappingOrigin=E,this.MappedRepresentation=g,this.type=1660063152}}e.IfcRepresentationMap=wB;class SI extends Yt{constructor(E,g){super(),this.Name=E,this.Description=g,this.type=2439245199}}e.IfcResourceLevelRelationship=SI;class hO extends V_{constructor(E,g,v,N,C){super(E,g),this.SourceCRS=E,this.TargetCRS=g,this.FirstCoordinate=v,this.SecondCoordinate=N,this.Height=C,this.type=1794013214}}e.IfcRigidOperation=hO;class gA extends Yt{constructor(E,g,v,N){super(),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.type=2341007311}}e.IfcRoot=gA;class vB extends Ig{constructor(E,g,v){super(new u(0),E),this.UnitType=E,this.Prefix=g,this.Name=v,this.type=448429030}}e.IfcSIUnit=vB;class fm extends Yt{constructor(E,g,v){super(),this.Name=E,this.DataOrigin=g,this.UserDefinedDataOrigin=v,this.type=1054537805}}e.IfcSchedulingTime=fm;class RB extends Yt{constructor(E,g,v,N,C){super(),this.ShapeRepresentations=E,this.Name=g,this.Description=v,this.ProductDefinitional=N,this.PartOfProductDefinitionShape=C,this.type=867548509}}e.IfcShapeAspect=RB;class wA extends tv{constructor(E,g,v,N){super(E,g,v,N),this.ContextOfItems=E,this.RepresentationIdentifier=g,this.RepresentationType=v,this.Items=N,this.type=3982875396}}e.IfcShapeModel=wA;class q_ extends wA{constructor(E,g,v,N){super(E,g,v,N),this.ContextOfItems=E,this.RepresentationIdentifier=g,this.RepresentationType=v,this.Items=N,this.type=4240577450}}e.IfcShapeRepresentation=q_;class vA extends Yt{constructor(E){super(),this.Name=E,this.type=2273995522}}e.IfcStructuralConnectionCondition=vA;class $_ extends Yt{constructor(E){super(),this.Name=E,this.type=2162789131}}e.IfcStructuralLoad=$_;class SB extends $_{constructor(E,g,v){super(E),this.Name=E,this.Values=g,this.Locations=v,this.type=3478079324}}e.IfcStructuralLoadConfiguration=SB;class Z_ extends $_{constructor(E){super(E),this.Name=E,this.type=609421318}}e.IfcStructuralLoadOrResult=Z_;class yg extends Z_{constructor(E){super(E),this.Name=E,this.type=2525727697}}e.IfcStructuralLoadStatic=yg;class AB extends yg{constructor(E,g,v,N){super(E),this.Name=E,this.DeltaTConstant=g,this.DeltaTY=v,this.DeltaTZ=N,this.type=3408363356}}e.IfcStructuralLoadTemperature=AB;class K_ extends tv{constructor(E,g,v,N){super(E,g,v,N),this.ContextOfItems=E,this.RepresentationIdentifier=g,this.RepresentationType=v,this.Items=N,this.type=2830218821}}e.IfcStyleModel=K_;class fO extends lf{constructor(E,g,v){super(),this.Item=E,this.Styles=g,this.Name=v,this.type=3958052878}}e.IfcStyledItem=fO;class RA extends K_{constructor(E,g,v,N){super(E,g,v,N),this.ContextOfItems=E,this.RepresentationIdentifier=g,this.RepresentationType=v,this.Items=N,this.type=3049322572}}e.IfcStyledRepresentation=RA;class vo extends Z_{constructor(E,g,v,N){super(E),this.Name=E,this.SurfaceReinforcement1=g,this.SurfaceReinforcement2=v,this.ShearReinforcement=N,this.type=2934153892}}e.IfcSurfaceReinforcementArea=vo;class bB extends ev{constructor(E,g,v){super(E),this.Name=E,this.Side=g,this.Styles=v,this.type=1300840506}}e.IfcSurfaceStyle=bB;class pO extends Ta{constructor(E,g,v,N){super(),this.DiffuseTransmissionColour=E,this.DiffuseReflectionColour=g,this.TransmissionColour=v,this.ReflectanceColour=N,this.type=3303107099}}e.IfcSurfaceStyleLighting=pO;class IO extends Ta{constructor(E,g){super(),this.RefractionIndex=E,this.DispersionFactor=g,this.type=1607154358}}e.IfcSurfaceStyleRefraction=IO;class SA extends Ta{constructor(E,g){super(),this.SurfaceColour=E,this.Transparency=g,this.type=846575682}}e.IfcSurfaceStyleShading=SA;class NB extends Ta{constructor(E){super(),this.Textures=E,this.type=1351298697}}e.IfcSurfaceStyleWithTextures=NB;class AA extends Ta{constructor(E,g,v,N,C){super(),this.RepeatS=E,this.RepeatT=g,this.Mode=v,this.TextureTransform=N,this.Parameter=C,this.type=626085974}}e.IfcSurfaceTexture=AA;class _B extends Yt{constructor(E,g,v){super(),this.Name=E,this.Rows=g,this.Columns=v,this.type=985171141}}e.IfcTable=_B;class iv extends Yt{constructor(E,g,v,N,C){super(),this.Identifier=E,this.Name=g,this.Description=v,this.Unit=N,this.ReferencePath=C,this.type=2043862942}}e.IfcTableColumn=iv;class DB extends Yt{constructor(E,g){super(),this.RowCells=E,this.IsHeading=g,this.type=531007025}}e.IfcTableRow=DB;class Q_ extends fm{constructor(E,g,v,N,C,F,V,Y,ae,Ze,Ii,Xi,Jn,Co,Ha,Ac,hf,qg,PL,ML){super(E,g,v),this.Name=E,this.DataOrigin=g,this.UserDefinedDataOrigin=v,this.DurationType=N,this.ScheduleDuration=C,this.ScheduleStart=F,this.ScheduleFinish=V,this.EarlyStart=Y,this.EarlyFinish=ae,this.LateStart=Ze,this.LateFinish=Ii,this.FreeFloat=Xi,this.TotalFloat=Jn,this.IsCritical=Co,this.StatusTime=Ha,this.ActualDuration=Ac,this.ActualStart=hf,this.ActualFinish=qg,this.RemainingTime=PL,this.Completion=ML,this.type=1549132990}}e.IfcTaskTime=Q_;class CB extends Q_{constructor(E,g,v,N,C,F,V,Y,ae,Ze,Ii,Xi,Jn,Co,Ha,Ac,hf,qg,PL,ML,wRe){super(E,g,v,N,C,F,V,Y,ae,Ze,Ii,Xi,Jn,Co,Ha,Ac,hf,qg,PL,ML),this.Name=E,this.DataOrigin=g,this.UserDefinedDataOrigin=v,this.DurationType=N,this.ScheduleDuration=C,this.ScheduleStart=F,this.ScheduleFinish=V,this.EarlyStart=Y,this.EarlyFinish=ae,this.LateStart=Ze,this.LateFinish=Ii,this.FreeFloat=Xi,this.TotalFloat=Jn,this.IsCritical=Co,this.StatusTime=Ha,this.ActualDuration=Ac,this.ActualStart=hf,this.ActualFinish=qg,this.RemainingTime=PL,this.Completion=ML,this.Recurrence=wRe,this.type=2771591690}}e.IfcTaskTimeRecurring=CB;class mO extends hA{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v),this.Purpose=E,this.Description=g,this.UserDefinedPurpose=v,this.TelephoneNumbers=N,this.FacsimileNumbers=C,this.PagerNumber=F,this.ElectronicMailAddresses=V,this.WWWHomePageURL=Y,this.MessagingIDs=ae,this.type=912023232}}e.IfcTelecomAddress=mO;class xB extends ev{constructor(E,g,v,N,C){super(E),this.Name=E,this.TextCharacterAppearance=g,this.TextStyle=v,this.TextFontStyle=N,this.ModelOrDraughting=C,this.type=1447204868}}e.IfcTextStyle=xB;class bA extends Ta{constructor(E,g){super(),this.Colour=E,this.BackgroundColour=g,this.type=2636378356}}e.IfcTextStyleForDefinedFont=bA;class NA extends Ta{constructor(E,g,v,N,C,F,V){super(),this.TextIndent=E,this.TextAlign=g,this.TextDecoration=v,this.LetterSpacing=N,this.WordSpacing=C,this.TextTransform=F,this.LineHeight=V,this.type=1640371178}}e.IfcTextStyleTextModel=NA;class _A extends Ta{constructor(E){super(),this.Maps=E,this.type=280115917}}e.IfcTextureCoordinate=_A;class J_ extends _A{constructor(E,g,v){super(E),this.Maps=E,this.Mode=g,this.Parameter=v,this.type=1742049831}}e.IfcTextureCoordinateGenerator=J_;class yO extends Yt{constructor(E,g){super(),this.TexCoordIndex=E,this.TexCoordsOf=g,this.type=222769930}}e.IfcTextureCoordinateIndices=yO;class DA extends yO{constructor(E,g,v){super(E,g),this.TexCoordIndex=E,this.TexCoordsOf=g,this.InnerTexCoordIndices=v,this.type=1010789467}}e.IfcTextureCoordinateIndicesWithVoids=DA;class X_ extends _A{constructor(E,g,v){super(E),this.Maps=E,this.Vertices=g,this.MappedTo=v,this.type=2552916305}}e.IfcTextureMap=X_;class OB extends Ta{constructor(E){super(),this.Coordinates=E,this.type=1210645708}}e.IfcTextureVertex=OB;class EO extends Ta{constructor(E){super(),this.TexCoordsList=E,this.type=3611470254}}e.IfcTextureVertexList=EO;class dh extends Yt{constructor(E,g){super(),this.StartTime=E,this.EndTime=g,this.type=1199560280}}e.IfcTimePeriod=dh;class eD extends Yt{constructor(E,g,v,N,C,F,V,Y){super(),this.Name=E,this.Description=g,this.StartTime=v,this.EndTime=N,this.TimeSeriesDataType=C,this.DataOrigin=F,this.UserDefinedDataOrigin=V,this.Unit=Y,this.type=3101149627}}e.IfcTimeSeries=eD;class TO extends Yt{constructor(E){super(),this.ListValues=E,this.type=581633288}}e.IfcTimeSeriesValue=TO;class Qs extends lf{constructor(){super(),this.type=1377556343}}e.IfcTopologicalRepresentationItem=Qs;class CA extends wA{constructor(E,g,v,N){super(E,g,v,N),this.ContextOfItems=E,this.RepresentationIdentifier=g,this.RepresentationType=v,this.Items=N,this.type=1735638870}}e.IfcTopologyRepresentation=CA;class tD extends Yt{constructor(E){super(),this.Units=E,this.type=180925521}}e.IfcUnitAssignment=tD;class nv extends Qs{constructor(){super(),this.type=2799835756}}e.IfcVertex=nv;class iD extends nv{constructor(E){super(),this.VertexGeometry=E,this.type=1907098498}}e.IfcVertexPoint=iD;class LB extends Yt{constructor(E,g){super(),this.IntersectingAxes=E,this.OffsetDistances=g,this.type=891718957}}e.IfcVirtualGridIntersection=LB;class PB extends Yt{constructor(E,g){super(),this.WellKnownText=E,this.CoordinateReferenceSystem=g,this.type=1175146630}}e.IfcWellKnownText=PB;class gO extends fm{constructor(E,g,v,N,C,F){super(E,g,v),this.Name=E,this.DataOrigin=g,this.UserDefinedDataOrigin=v,this.RecurrencePattern=N,this.StartDate=C,this.FinishDate=F,this.type=1236880293}}e.IfcWorkTime=gO;class wO extends fA{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g),this.StartTag=E,this.EndTag=g,this.StartDistAlong=v,this.HorizontalLength=N,this.StartCantLeft=C,this.EndCantLeft=F,this.StartCantRight=V,this.EndCantRight=Y,this.PredefinedType=ae,this.type=3752311538}}e.IfcAlignmentCantSegment=wO;class vO extends fA{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g),this.StartTag=E,this.EndTag=g,this.StartPoint=v,this.StartDirection=N,this.StartRadiusOfCurvature=C,this.EndRadiusOfCurvature=F,this.SegmentLength=V,this.GravityCenterLineHeight=Y,this.PredefinedType=ae,this.type=536804194}}e.IfcAlignmentHorizontalSegment=vO;class MB extends SI{constructor(E,g,v,N){super(E,g),this.Name=E,this.Description=g,this.RelatingApproval=v,this.RelatedApprovals=N,this.type=3869604511}}e.IfcApprovalRelationship=MB;class Eg extends XE{constructor(E,g,v){super(E,g),this.ProfileType=E,this.ProfileName=g,this.OuterCurve=v,this.type=3798115385}}e.IfcArbitraryClosedProfileDef=Eg;class RO extends XE{constructor(E,g,v){super(E,g),this.ProfileType=E,this.ProfileName=g,this.Curve=v,this.type=1310608509}}e.IfcArbitraryOpenProfileDef=RO;class BB extends Eg{constructor(E,g,v,N){super(E,g,v),this.ProfileType=E,this.ProfileName=g,this.OuterCurve=v,this.InnerCurves=N,this.type=2705031697}}e.IfcArbitraryProfileDefWithVoids=BB;class SO extends AA{constructor(E,g,v,N,C,F,V){super(E,g,v,N,C),this.RepeatS=E,this.RepeatT=g,this.Mode=v,this.TextureTransform=N,this.Parameter=C,this.RasterFormat=F,this.RasterCode=V,this.type=616511568}}e.IfcBlobTexture=SO;class AO extends RO{constructor(E,g,v,N){super(E,g,v),this.ProfileType=E,this.ProfileName=g,this.Curve=v,this.Thickness=N,this.type=3150382593}}e.IfcCenterLineProfileDef=AO;class FB extends of{constructor(E,g,v,N,C,F,V){super(),this.Source=E,this.Edition=g,this.EditionDate=v,this.Name=N,this.Description=C,this.Specification=F,this.ReferenceTokens=V,this.type=747523909}}e.IfcClassification=FB;class UB extends x0{constructor(E,g,v,N,C,F){super(E,g,v),this.Location=E,this.Identification=g,this.Name=v,this.ReferencedSource=N,this.Description=C,this.Sort=F,this.type=647927063}}e.IfcClassificationReference=UB;class Fa extends Ta{constructor(E){super(),this.ColourList=E,this.type=3285139300}}e.IfcColourRgbList=Fa;class bO extends Ta{constructor(E){super(),this.Name=E,this.type=3264961684}}e.IfcColourSpecification=bO;class HB extends XE{constructor(E,g,v,N){super(E,g),this.ProfileType=E,this.ProfileName=g,this.Profiles=v,this.Label=N,this.type=1485152156}}e.IfcCompositeProfileDef=HB;class sv extends Qs{constructor(E){super(),this.CfsFaces=E,this.type=370225590}}e.IfcConnectedFaceSet=sv;class GB extends hg{constructor(E,g){super(),this.CurveOnRelatingElement=E,this.CurveOnRelatedElement=g,this.type=1981873012}}e.IfcConnectionCurveGeometry=GB;class VB extends fg{constructor(E,g,v,N,C){super(E,g),this.PointOnRelatingElement=E,this.PointOnRelatedElement=g,this.EccentricityInX=v,this.EccentricityInY=N,this.EccentricityInZ=C,this.type=45288368}}e.IfcConnectionPointEccentricity=VB;class Tg extends Ig{constructor(E,g,v){super(E,g),this.Dimensions=E,this.UnitType=g,this.Name=v,this.type=3050246964}}e.IfcContextDependentUnit=Tg;class nD extends Ig{constructor(E,g,v,N){super(E,g),this.Dimensions=E,this.UnitType=g,this.Name=v,this.ConversionFactor=N,this.type=2889183280}}e.IfcConversionBasedUnit=nD;class kB extends nD{constructor(E,g,v,N,C){super(E,g,v,N),this.Dimensions=E,this.UnitType=g,this.Name=v,this.ConversionFactor=N,this.ConversionOffset=C,this.type=2713554722}}e.IfcConversionBasedUnitWithOffset=kB;class zB extends SI{constructor(E,g,v,N,C,F,V){super(E,g),this.Name=E,this.Description=g,this.RelatingMonetaryUnit=v,this.RelatedMonetaryUnit=N,this.ExchangeRate=C,this.RateDateTime=F,this.RateSource=V,this.type=539742890}}e.IfcCurrencyRelationship=zB;class WB extends ev{constructor(E,g,v,N,C){super(E),this.Name=E,this.CurveFont=g,this.CurveWidth=v,this.CurveColour=N,this.ModelOrDraughting=C,this.type=3800577675}}e.IfcCurveStyle=WB;class YB extends Ta{constructor(E,g){super(),this.Name=E,this.PatternList=g,this.type=1105321065}}e.IfcCurveStyleFont=YB;class ey extends Ta{constructor(E,g,v){super(),this.Name=E,this.CurveStyleFont=g,this.CurveFontScaling=v,this.type=2367409068}}e.IfcCurveStyleFontAndScaling=ey;class jB extends Ta{constructor(E,g){super(),this.VisibleSegmentLength=E,this.InvisibleSegmentLength=g,this.type=3510044353}}e.IfcCurveStyleFontPattern=jB;class NO extends XE{constructor(E,g,v,N,C){super(E,g),this.ProfileType=E,this.ProfileName=g,this.ParentProfile=v,this.Operator=N,this.Label=C,this.type=3632507154}}e.IfcDerivedProfileDef=NO;class qB extends of{constructor(E,g,v,N,C,F,V,Y,ae,Ze,Ii,Xi,Jn,Co,Ha,Ac,hf){super(),this.Identification=E,this.Name=g,this.Description=v,this.Location=N,this.Purpose=C,this.IntendedUse=F,this.Scope=V,this.Revision=Y,this.DocumentOwner=ae,this.Editors=Ze,this.CreationTime=Ii,this.LastRevisionTime=Xi,this.ElectronicFormat=Jn,this.ValidFrom=Co,this.ValidUntil=Ha,this.Confidentiality=Ac,this.Status=hf,this.type=1154170062}}e.IfcDocumentInformation=qB;class af extends SI{constructor(E,g,v,N,C){super(E,g),this.Name=E,this.Description=g,this.RelatingDocument=v,this.RelatedDocuments=N,this.RelationshipType=C,this.type=770865208}}e.IfcDocumentInformationRelationship=af;class $B extends x0{constructor(E,g,v,N,C){super(E,g,v),this.Location=E,this.Identification=g,this.Name=v,this.Description=N,this.ReferencedDocument=C,this.type=3732053477}}e.IfcDocumentReference=$B;class ov extends Qs{constructor(E,g){super(),this.EdgeStart=E,this.EdgeEnd=g,this.type=3900360178}}e.IfcEdge=ov;class ZB extends ov{constructor(E,g,v,N){super(E,g),this.EdgeStart=E,this.EdgeEnd=g,this.EdgeGeometry=v,this.SameSense=N,this.type=476780140}}e.IfcEdgeCurve=ZB;class rv extends fm{constructor(E,g,v,N,C,F,V){super(E,g,v),this.Name=E,this.DataOrigin=g,this.UserDefinedDataOrigin=v,this.ActualDate=N,this.EarlyDate=C,this.LateDate=F,this.ScheduleDate=V,this.type=211053100}}e.IfcEventTime=rv;class xA extends mg{constructor(E,g,v){super(),this.Name=E,this.Description=g,this.Properties=v,this.type=297599258}}e.IfcExtendedProperties=xA;class lv extends SI{constructor(E,g,v,N){super(E,g),this.Name=E,this.Description=g,this.RelatingReference=v,this.RelatedResourceObjects=N,this.type=1437805879}}e.IfcExternalReferenceRelationship=lv;class _O extends Qs{constructor(E){super(),this.Bounds=E,this.type=2556980723}}e.IfcFace=_O;class DO extends Qs{constructor(E,g){super(),this.Bound=E,this.Orientation=g,this.type=1809719519}}e.IfcFaceBound=DO;class OA extends DO{constructor(E,g){super(E,g),this.Bound=E,this.Orientation=g,this.type=803316827}}e.IfcFaceOuterBound=OA;class CO extends _O{constructor(E,g,v){super(E),this.Bounds=E,this.FaceSurface=g,this.SameSense=v,this.type=3008276851}}e.IfcFaceSurface=CO;class eT extends vA{constructor(E,g,v,N,C,F,V){super(E),this.Name=E,this.TensionFailureX=g,this.TensionFailureY=v,this.TensionFailureZ=N,this.CompressionFailureX=C,this.CompressionFailureY=F,this.CompressionFailureZ=V,this.type=4219587988}}e.IfcFailureConnectionCondition=eT;class LA extends ev{constructor(E,g,v){super(E),this.Name=E,this.FillStyles=g,this.ModelOrDraughting=v,this.type=738692330}}e.IfcFillAreaStyle=LA;class av extends dO{constructor(E,g,v,N,C,F){super(E,g),this.ContextIdentifier=E,this.ContextType=g,this.CoordinateSpaceDimension=v,this.Precision=N,this.WorldCoordinateSystem=C,this.TrueNorth=F,this.type=3448662350}}e.IfcGeometricRepresentationContext=av;class jo extends lf{constructor(){super(),this.type=2453401579}}e.IfcGeometricRepresentationItem=jo;class xO extends av{constructor(E,g,v,N,C,F){super(E,g,new ne(0),null,new u(0),null),this.ContextIdentifier=E,this.ContextType=g,this.ParentContext=v,this.TargetScale=N,this.TargetView=C,this.UserDefinedTargetView=F,this.type=4142052618}}e.IfcGeometricRepresentationSubContext=xO;class uv extends jo{constructor(E){super(),this.Elements=E,this.type=3590301190}}e.IfcGeometricSet=uv;class sD extends ip{constructor(E,g,v){super(E),this.PlacementRelTo=E,this.PlacementLocation=g,this.PlacementRefDirection=v,this.type=178086475}}e.IfcGridPlacement=sD;class oD extends jo{constructor(E,g){super(),this.BaseSurface=E,this.AgreementFlag=g,this.type=812098782}}e.IfcHalfSpaceSolid=oD;class PA extends AA{constructor(E,g,v,N,C,F){super(E,g,v,N,C),this.RepeatS=E,this.RepeatT=g,this.Mode=v,this.TextureTransform=N,this.Parameter=C,this.URLReference=F,this.type=3905492369}}e.IfcImageTexture=PA;class MA extends Ta{constructor(E,g,v,N){super(),this.MappedTo=E,this.Opacity=g,this.Colours=v,this.ColourIndex=N,this.type=3570813810}}e.IfcIndexedColourMap=MA;class tT extends _A{constructor(E,g,v){super(E),this.Maps=E,this.MappedTo=g,this.TexCoords=v,this.type=1437953363}}e.IfcIndexedTextureMap=tT;class rD extends tT{constructor(E,g,v,N){super(E,g,v),this.Maps=E,this.MappedTo=g,this.TexCoords=v,this.TexCoordIndex=N,this.type=2133299955}}e.IfcIndexedTriangleTextureMap=rD;class KB extends eD{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.Name=E,this.Description=g,this.StartTime=v,this.EndTime=N,this.TimeSeriesDataType=C,this.DataOrigin=F,this.UserDefinedDataOrigin=V,this.Unit=Y,this.Values=ae,this.type=3741457305}}e.IfcIrregularTimeSeries=KB;class QB extends fm{constructor(E,g,v,N,C){super(E,g,v),this.Name=E,this.DataOrigin=g,this.UserDefinedDataOrigin=v,this.LagValue=N,this.DurationType=C,this.type=1585845231}}e.IfcLagTime=QB;class np extends jo{constructor(E,g,v,N){super(),this.Name=E,this.LightColour=g,this.AmbientIntensity=v,this.Intensity=N,this.type=1402838566}}e.IfcLightSource=np;class JB extends np{constructor(E,g,v,N){super(E,g,v,N),this.Name=E,this.LightColour=g,this.AmbientIntensity=v,this.Intensity=N,this.type=125510826}}e.IfcLightSourceAmbient=JB;class XB extends np{constructor(E,g,v,N,C){super(E,g,v,N),this.Name=E,this.LightColour=g,this.AmbientIntensity=v,this.Intensity=N,this.Orientation=C,this.type=2604431987}}e.IfcLightSourceDirectional=XB;class e9 extends np{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N),this.Name=E,this.LightColour=g,this.AmbientIntensity=v,this.Intensity=N,this.Position=C,this.ColourAppearance=F,this.ColourTemperature=V,this.LuminousFlux=Y,this.LightEmissionSource=ae,this.LightDistributionDataSource=Ze,this.type=4266656042}}e.IfcLightSourceGoniometric=e9;class BA extends np{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N),this.Name=E,this.LightColour=g,this.AmbientIntensity=v,this.Intensity=N,this.Position=C,this.Radius=F,this.ConstantAttenuation=V,this.DistanceAttenuation=Y,this.QuadricAttenuation=ae,this.type=1520743889}}e.IfcLightSourcePositional=BA;class t9 extends BA{constructor(E,g,v,N,C,F,V,Y,ae,Ze,Ii,Xi,Jn){super(E,g,v,N,C,F,V,Y,ae),this.Name=E,this.LightColour=g,this.AmbientIntensity=v,this.Intensity=N,this.Position=C,this.Radius=F,this.ConstantAttenuation=V,this.DistanceAttenuation=Y,this.QuadricAttenuation=ae,this.Orientation=Ze,this.ConcentrationExponent=Ii,this.SpreadAngle=Xi,this.BeamWidthAngle=Jn,this.type=3422422726}}e.IfcLightSourceSpot=t9;class i9 extends ip{constructor(E,g,v){super(E),this.PlacementRelTo=E,this.RelativePlacement=g,this.CartesianPosition=v,this.type=388784114}}e.IfcLinearPlacement=i9;class n9 extends ip{constructor(E,g){super(E),this.PlacementRelTo=E,this.RelativePlacement=g,this.type=2624227202}}e.IfcLocalPlacement=n9;class FA extends Qs{constructor(){super(),this.type=1008929658}}e.IfcLoop=FA;class iT extends lf{constructor(E,g){super(),this.MappingSource=E,this.MappingTarget=g,this.type=2347385850}}e.IfcMappedItem=iT;class s9 extends rf{constructor(E,g,v){super(),this.Name=E,this.Description=g,this.Category=v,this.type=1838606355}}e.IfcMaterial=s9;class gg extends rf{constructor(E,g,v,N,C){super(),this.Name=E,this.Description=g,this.Material=v,this.Fraction=N,this.Category=C,this.type=3708119e3}}e.IfcMaterialConstituent=gg;class lD extends rf{constructor(E,g,v){super(),this.Name=E,this.Description=g,this.MaterialConstituents=v,this.type=2852063980}}e.IfcMaterialConstituentSet=lD;class o9 extends EA{constructor(E,g,v,N){super(E,g,v),this.Name=E,this.Description=g,this.Representations=v,this.RepresentedMaterial=N,this.type=2022407955}}e.IfcMaterialDefinitionRepresentation=o9;class OO extends X4{constructor(E,g,v,N,C){super(),this.ForLayerSet=E,this.LayerSetDirection=g,this.DirectionSense=v,this.OffsetFromReferenceLine=N,this.ReferenceExtent=C,this.type=1303795690}}e.IfcMaterialLayerSetUsage=OO;class LO extends X4{constructor(E,g,v){super(),this.ForProfileSet=E,this.CardinalPoint=g,this.ReferenceExtent=v,this.type=3079605661}}e.IfcMaterialProfileSetUsage=LO;class PO extends LO{constructor(E,g,v,N,C){super(E,g,v),this.ForProfileSet=E,this.CardinalPoint=g,this.ReferenceExtent=v,this.ForProfileEndSet=N,this.CardinalEndPoint=C,this.type=3404854881}}e.IfcMaterialProfileSetUsageTapering=PO;class aD extends xA{constructor(E,g,v,N){super(E,g,v),this.Name=E,this.Description=g,this.Properties=v,this.Material=N,this.type=3265635763}}e.IfcMaterialProperties=aD;class MO extends SI{constructor(E,g,v,N,C){super(E,g),this.Name=E,this.Description=g,this.RelatingMaterial=v,this.RelatedMaterials=N,this.MaterialExpression=C,this.type=853536259}}e.IfcMaterialRelationship=MO;class UA extends NO{constructor(E,g,v,N){super(E,g,v,new u(0),N),this.ProfileType=E,this.ProfileName=g,this.ParentProfile=v,this.Label=N,this.type=2998442950}}e.IfcMirroredProfileDef=UA;class cv extends gA{constructor(E,g,v,N){super(E,g,v,N),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.type=219451334}}e.IfcObjectDefinition=cv;class dv extends XE{constructor(E,g,v,N,C,F,V){super(E,g),this.ProfileType=E,this.ProfileName=g,this.HorizontalWidths=v,this.Widths=N,this.Slopes=C,this.Tags=F,this.OffsetPoint=V,this.type=182550632}}e.IfcOpenCrossProfileDef=dv;class uD extends sv{constructor(E){super(E),this.CfsFaces=E,this.type=2665983363}}e.IfcOpenShell=uD;class r9 extends SI{constructor(E,g,v,N){super(E,g),this.Name=E,this.Description=g,this.RelatingOrganization=v,this.RelatedOrganizations=N,this.type=1411181986}}e.IfcOrganizationRelationship=r9;class cD extends ov{constructor(E,g){super(new u(0),new u(0)),this.EdgeElement=E,this.Orientation=g,this.type=1029017970}}e.IfcOrientedEdge=cD;class uf extends XE{constructor(E,g,v){super(E,g),this.ProfileType=E,this.ProfileName=g,this.Position=v,this.type=2529465313}}e.IfcParameterizedProfileDef=uf;class dD extends Qs{constructor(E){super(),this.EdgeList=E,this.type=2519244187}}e.IfcPath=dD;class nT extends yA{constructor(E,g,v,N,C,F){super(E,g),this.Name=E,this.Description=g,this.HasQuantities=v,this.Discrimination=N,this.Quality=C,this.Usage=F,this.type=3021840470}}e.IfcPhysicalComplexQuantity=nT;class l9 extends AA{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C),this.RepeatS=E,this.RepeatT=g,this.Mode=v,this.TextureTransform=N,this.Parameter=C,this.Width=F,this.Height=V,this.ColourComponents=Y,this.Pixel=ae,this.type=597895409}}e.IfcPixelTexture=l9;class AI extends jo{constructor(E){super(),this.Location=E,this.type=2004835150}}e.IfcPlacement=AI;class BO extends jo{constructor(E,g){super(),this.SizeInX=E,this.SizeInY=g,this.type=1663979128}}e.IfcPlanarExtent=BO;class ty extends jo{constructor(){super(),this.type=2067069095}}e.IfcPoint=ty;class HA extends ty{constructor(E,g,v,N,C){super(),this.DistanceAlong=E,this.OffsetLateral=g,this.OffsetVertical=v,this.OffsetLongitudinal=N,this.BasisCurve=C,this.type=2165702409}}e.IfcPointByDistanceExpression=HA;class hv extends ty{constructor(E,g){super(),this.BasisCurve=E,this.PointParameter=g,this.type=4022376103}}e.IfcPointOnCurve=hv;class FO extends ty{constructor(E,g,v){super(),this.BasisSurface=E,this.PointParameterU=g,this.PointParameterV=v,this.type=1423911732}}e.IfcPointOnSurface=FO;class a9 extends FA{constructor(E){super(),this.Polygon=E,this.type=2924175390}}e.IfcPolyLoop=a9;class u9 extends oD{constructor(E,g,v,N){super(E,g),this.BaseSurface=E,this.AgreementFlag=g,this.Position=v,this.PolygonalBoundary=N,this.type=2775532180}}e.IfcPolygonalBoundedHalfSpace=u9;class GA extends Ta{constructor(E){super(),this.Name=E,this.type=3727388367}}e.IfcPreDefinedItem=GA;class wg extends mg{constructor(){super(),this.type=3778827333}}e.IfcPreDefinedProperties=wg;class UO extends GA{constructor(E){super(E),this.Name=E,this.type=1775413392}}e.IfcPreDefinedTextFont=UO;class c9 extends EA{constructor(E,g,v){super(E,g,v),this.Name=E,this.Description=g,this.Representations=v,this.type=673634403}}e.IfcProductDefinitionShape=c9;class d9 extends xA{constructor(E,g,v,N){super(E,g,v),this.Name=E,this.Description=g,this.Properties=v,this.ProfileDefinition=N,this.type=2802850158}}e.IfcProfileProperties=d9;class hD extends mg{constructor(E,g){super(),this.Name=E,this.Specification=g,this.type=2598011224}}e.IfcProperty=hD;class pm extends gA{constructor(E,g,v,N){super(E,g,v,N),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.type=1680319473}}e.IfcPropertyDefinition=pm;class HO extends SI{constructor(E,g,v,N,C){super(E,g),this.Name=E,this.Description=g,this.DependingProperty=v,this.DependantProperty=N,this.Expression=C,this.type=148025276}}e.IfcPropertyDependencyRelationship=HO;class VA extends pm{constructor(E,g,v,N){super(E,g,v,N),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.type=3357820518}}e.IfcPropertySetDefinition=VA;class fv extends pm{constructor(E,g,v,N){super(E,g,v,N),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.type=1482703590}}e.IfcPropertyTemplateDefinition=fv;class vg extends VA{constructor(E,g,v,N){super(E,g,v,N),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.type=2090586900}}e.IfcQuantitySet=vg;class fD extends uf{constructor(E,g,v,N,C){super(E,g,v),this.ProfileType=E,this.ProfileName=g,this.Position=v,this.XDim=N,this.YDim=C,this.type=3615266464}}e.IfcRectangleProfileDef=fD;class h9 extends eD{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y),this.Name=E,this.Description=g,this.StartTime=v,this.EndTime=N,this.TimeSeriesDataType=C,this.DataOrigin=F,this.UserDefinedDataOrigin=V,this.Unit=Y,this.TimeStep=ae,this.Values=Ze,this.type=3413951693}}e.IfcRegularTimeSeries=h9;class f9 extends wg{constructor(E,g,v,N,C,F){super(),this.TotalCrossSectionArea=E,this.SteelGrade=g,this.BarSurface=v,this.EffectiveDepth=N,this.NominalBarDiameter=C,this.BarCount=F,this.type=1580146022}}e.IfcReinforcementBarProperties=f9;class sT extends gA{constructor(E,g,v,N){super(E,g,v,N),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.type=478536968}}e.IfcRelationship=sT;class pD extends SI{constructor(E,g,v,N){super(E,g),this.Name=E,this.Description=g,this.RelatedResourceObjects=v,this.RelatingApproval=N,this.type=2943643501}}e.IfcResourceApprovalRelationship=pD;class ID extends SI{constructor(E,g,v,N){super(E,g),this.Name=E,this.Description=g,this.RelatingConstraint=v,this.RelatedResourceObjects=N,this.type=1608871552}}e.IfcResourceConstraintRelationship=ID;class p9 extends fm{constructor(E,g,v,N,C,F,V,Y,ae,Ze,Ii,Xi,Jn,Co,Ha,Ac,hf,qg){super(E,g,v),this.Name=E,this.DataOrigin=g,this.UserDefinedDataOrigin=v,this.ScheduleWork=N,this.ScheduleUsage=C,this.ScheduleStart=F,this.ScheduleFinish=V,this.ScheduleContour=Y,this.LevelingDelay=ae,this.IsOverAllocated=Ze,this.StatusTime=Ii,this.ActualWork=Xi,this.ActualUsage=Jn,this.ActualStart=Co,this.ActualFinish=Ha,this.RemainingWork=Ac,this.RemainingUsage=hf,this.Completion=qg,this.type=1042787934}}e.IfcResourceTime=p9;class mD extends fD{constructor(E,g,v,N,C,F){super(E,g,v,N,C),this.ProfileType=E,this.ProfileName=g,this.Position=v,this.XDim=N,this.YDim=C,this.RoundingRadius=F,this.type=2778083089}}e.IfcRoundedRectangleProfileDef=mD;class yD extends wg{constructor(E,g,v){super(),this.SectionType=E,this.StartProfile=g,this.EndProfile=v,this.type=2042790032}}e.IfcSectionProperties=yD;class I9 extends wg{constructor(E,g,v,N,C,F){super(),this.LongitudinalStartPosition=E,this.LongitudinalEndPosition=g,this.TransversePosition=v,this.ReinforcementRole=N,this.SectionDefinition=C,this.CrossSectionReinforcementDefinitions=F,this.type=4165799628}}e.IfcSectionReinforcementProperties=I9;class GO extends jo{constructor(E,g,v){super(),this.SpineCurve=E,this.CrossSections=g,this.CrossSectionPositions=v,this.type=1509187699}}e.IfcSectionedSpine=GO;class pv extends jo{constructor(E){super(),this.Transition=E,this.type=823603102}}e.IfcSegment=pv;class Im extends jo{constructor(E){super(),this.SbsmBoundary=E,this.type=4124623270}}e.IfcShellBasedSurfaceModel=Im;class oT extends hD{constructor(E,g){super(E,g),this.Name=E,this.Specification=g,this.type=3692461612}}e.IfcSimpleProperty=oT;class m9 extends vA{constructor(E,g,v,N){super(E),this.Name=E,this.SlippageX=g,this.SlippageY=v,this.SlippageZ=N,this.type=2609359061}}e.IfcSlippageConnectionCondition=m9;class Rg extends jo{constructor(){super(),this.type=723233188}}e.IfcSolidModel=Rg;class VO extends yg{constructor(E,g,v,N,C,F,V){super(E),this.Name=E,this.LinearForceX=g,this.LinearForceY=v,this.LinearForceZ=N,this.LinearMomentX=C,this.LinearMomentY=F,this.LinearMomentZ=V,this.type=1595516126}}e.IfcStructuralLoadLinearForce=VO;class rT extends yg{constructor(E,g,v,N){super(E),this.Name=E,this.PlanarForceX=g,this.PlanarForceY=v,this.PlanarForceZ=N,this.type=2668620305}}e.IfcStructuralLoadPlanarForce=rT;class Sg extends yg{constructor(E,g,v,N,C,F,V){super(E),this.Name=E,this.DisplacementX=g,this.DisplacementY=v,this.DisplacementZ=N,this.RotationalDisplacementRX=C,this.RotationalDisplacementRY=F,this.RotationalDisplacementRZ=V,this.type=2473145415}}e.IfcStructuralLoadSingleDisplacement=Sg;class mm extends Sg{constructor(E,g,v,N,C,F,V,Y){super(E,g,v,N,C,F,V),this.Name=E,this.DisplacementX=g,this.DisplacementY=v,this.DisplacementZ=N,this.RotationalDisplacementRX=C,this.RotationalDisplacementRY=F,this.RotationalDisplacementRZ=V,this.Distortion=Y,this.type=1973038258}}e.IfcStructuralLoadSingleDisplacementDistortion=mm;class lT extends yg{constructor(E,g,v,N,C,F,V){super(E),this.Name=E,this.ForceX=g,this.ForceY=v,this.ForceZ=N,this.MomentX=C,this.MomentY=F,this.MomentZ=V,this.type=1597423693}}e.IfcStructuralLoadSingleForce=lT;class y9 extends lT{constructor(E,g,v,N,C,F,V,Y){super(E,g,v,N,C,F,V),this.Name=E,this.ForceX=g,this.ForceY=v,this.ForceZ=N,this.MomentX=C,this.MomentY=F,this.MomentZ=V,this.WarpingMoment=Y,this.type=1190533807}}e.IfcStructuralLoadSingleForceWarping=y9;class iy extends ov{constructor(E,g,v){super(E,g),this.EdgeStart=E,this.EdgeEnd=g,this.ParentEdge=v,this.type=2233826070}}e.IfcSubedge=iy;class Iv extends jo{constructor(){super(),this.type=2513912981}}e.IfcSurface=Iv;class E9 extends SA{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g),this.SurfaceColour=E,this.Transparency=g,this.DiffuseColour=v,this.TransmissionColour=N,this.DiffuseTransmissionColour=C,this.ReflectionColour=F,this.SpecularColour=V,this.SpecularHighlight=Y,this.ReflectanceMethod=ae,this.type=1878645084}}e.IfcSurfaceStyleRendering=E9;class kA extends Rg{constructor(E,g){super(),this.SweptArea=E,this.Position=g,this.type=2247615214}}e.IfcSweptAreaSolid=kA;class kO extends Rg{constructor(E,g,v,N,C){super(),this.Directrix=E,this.Radius=g,this.InnerRadius=v,this.StartParam=N,this.EndParam=C,this.type=1260650574}}e.IfcSweptDiskSolid=kO;class aT extends kO{constructor(E,g,v,N,C,F){super(E,g,v,N,C),this.Directrix=E,this.Radius=g,this.InnerRadius=v,this.StartParam=N,this.EndParam=C,this.FilletRadius=F,this.type=1096409881}}e.IfcSweptDiskSolidPolygonal=aT;class zA extends Iv{constructor(E,g){super(),this.SweptCurve=E,this.Position=g,this.type=230924584}}e.IfcSweptSurface=zA;class cf extends uf{constructor(E,g,v,N,C,F,V,Y,ae,Ze,Ii,Xi){super(E,g,v),this.ProfileType=E,this.ProfileName=g,this.Position=v,this.Depth=N,this.FlangeWidth=C,this.WebThickness=F,this.FlangeThickness=V,this.FilletRadius=Y,this.FlangeEdgeRadius=ae,this.WebEdgeRadius=Ze,this.WebSlope=Ii,this.FlangeSlope=Xi,this.type=3071757647}}e.IfcTShapeProfileDef=cf;class uT extends jo{constructor(){super(),this.type=901063453}}e.IfcTessellatedItem=uT;class zO extends jo{constructor(E,g,v){super(),this.Literal=E,this.Placement=g,this.Path=v,this.type=4282788508}}e.IfcTextLiteral=zO;class T9 extends zO{constructor(E,g,v,N,C){super(E,g,v),this.Literal=E,this.Placement=g,this.Path=v,this.Extent=N,this.BoxAlignment=C,this.type=3124975700}}e.IfcTextLiteralWithExtent=T9;class WO extends UO{constructor(E,g,v,N,C,F){super(E),this.Name=E,this.FontFamily=g,this.FontStyle=v,this.FontVariant=N,this.FontWeight=C,this.FontSize=F,this.type=1983826977}}e.IfcTextStyleFontModel=WO;class g9 extends uf{constructor(E,g,v,N,C,F,V){super(E,g,v),this.ProfileType=E,this.ProfileName=g,this.Position=v,this.BottomXDim=N,this.TopXDim=C,this.YDim=F,this.TopXOffset=V,this.type=2715220739}}e.IfcTrapeziumProfileDef=g9;class df extends cv{constructor(E,g,v,N,C,F){super(E,g,v,N),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.type=1628702193}}e.IfcTypeObject=df;class WA extends df{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.Identification=V,this.LongDescription=Y,this.ProcessType=ae,this.type=3736923433}}e.IfcTypeProcess=WA;class ED extends df{constructor(E,g,v,N,C,F,V,Y){super(E,g,v,N,C,F),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.type=2347495698}}e.IfcTypeProduct=ED;class YO extends df{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.Identification=V,this.LongDescription=Y,this.ResourceType=ae,this.type=3698973494}}e.IfcTypeResource=YO;class TD extends uf{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v),this.ProfileType=E,this.ProfileName=g,this.Position=v,this.Depth=N,this.FlangeWidth=C,this.WebThickness=F,this.FlangeThickness=V,this.FilletRadius=Y,this.EdgeRadius=ae,this.FlangeSlope=Ze,this.type=427810014}}e.IfcUShapeProfileDef=TD;class w9 extends jo{constructor(E,g){super(),this.Orientation=E,this.Magnitude=g,this.type=1417489154}}e.IfcVector=w9;class v9 extends FA{constructor(E){super(),this.LoopVertex=E,this.type=2759199220}}e.IfcVertexLoop=v9;class R9 extends uf{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v),this.ProfileType=E,this.ProfileName=g,this.Position=v,this.Depth=N,this.FlangeWidth=C,this.WebThickness=F,this.FlangeThickness=V,this.FilletRadius=Y,this.EdgeRadius=ae,this.type=2543172580}}e.IfcZShapeProfileDef=R9;class S9 extends CO{constructor(E,g,v){super(E,g,v),this.Bounds=E,this.FaceSurface=g,this.SameSense=v,this.type=3406155212}}e.IfcAdvancedFace=S9;class Yl extends jo{constructor(E,g){super(),this.OuterBoundary=E,this.InnerBoundaries=g,this.type=669184980}}e.IfcAnnotationFillArea=Yl;class gD extends uf{constructor(E,g,v,N,C,F,V,Y,ae,Ze,Ii,Xi,Jn,Co,Ha){super(E,g,v),this.ProfileType=E,this.ProfileName=g,this.Position=v,this.BottomFlangeWidth=N,this.OverallDepth=C,this.WebThickness=F,this.BottomFlangeThickness=V,this.BottomFlangeFilletRadius=Y,this.TopFlangeWidth=ae,this.TopFlangeThickness=Ze,this.TopFlangeFilletRadius=Ii,this.BottomFlangeEdgeRadius=Xi,this.BottomFlangeSlope=Jn,this.TopFlangeEdgeRadius=Co,this.TopFlangeSlope=Ha,this.type=3207858831}}e.IfcAsymmetricIShapeProfileDef=gD;class A9 extends AI{constructor(E,g){super(E),this.Location=E,this.Axis=g,this.type=4261334040}}e.IfcAxis1Placement=A9;class b9 extends AI{constructor(E,g){super(E),this.Location=E,this.RefDirection=g,this.type=3125803723}}e.IfcAxis2Placement2D=b9;class N9 extends AI{constructor(E,g,v){super(E),this.Location=E,this.Axis=g,this.RefDirection=v,this.type=2740243338}}e.IfcAxis2Placement3D=N9;class wD extends AI{constructor(E,g,v){super(E),this.Location=E,this.Axis=g,this.RefDirection=v,this.type=3425423356}}e.IfcAxis2PlacementLinear=wD;class ny extends jo{constructor(E,g,v){super(),this.Operator=E,this.FirstOperand=g,this.SecondOperand=v,this.type=2736907675}}e.IfcBooleanResult=ny;class Ag extends Iv{constructor(){super(),this.type=4182860854}}e.IfcBoundedSurface=Ag;class _9 extends jo{constructor(E,g,v,N){super(),this.Corner=E,this.XDim=g,this.YDim=v,this.ZDim=N,this.type=2581212453}}e.IfcBoundingBox=_9;class D9 extends oD{constructor(E,g,v){super(E,g),this.BaseSurface=E,this.AgreementFlag=g,this.Enclosure=v,this.type=2713105998}}e.IfcBoxedHalfSpace=D9;class C9 extends uf{constructor(E,g,v,N,C,F,V,Y){super(E,g,v),this.ProfileType=E,this.ProfileName=g,this.Position=v,this.Depth=N,this.Width=C,this.WallThickness=F,this.Girth=V,this.InternalFilletRadius=Y,this.type=2898889636}}e.IfcCShapeProfileDef=C9;class x9 extends ty{constructor(E){super(),this.Coordinates=E,this.type=1123145078}}e.IfcCartesianPoint=x9;class YA extends jo{constructor(){super(),this.type=574549367}}e.IfcCartesianPointList=YA;class jA extends YA{constructor(E,g){super(),this.CoordList=E,this.TagList=g,this.type=1675464909}}e.IfcCartesianPointList2D=jA;class ym extends YA{constructor(E,g){super(),this.CoordList=E,this.TagList=g,this.type=2059837836}}e.IfcCartesianPointList3D=ym;class qA extends jo{constructor(E,g,v,N){super(),this.Axis1=E,this.Axis2=g,this.LocalOrigin=v,this.Scale=N,this.type=59481748}}e.IfcCartesianTransformationOperator=qA;class mv extends qA{constructor(E,g,v,N){super(E,g,v,N),this.Axis1=E,this.Axis2=g,this.LocalOrigin=v,this.Scale=N,this.type=3749851601}}e.IfcCartesianTransformationOperator2D=mv;class Em extends mv{constructor(E,g,v,N,C){super(E,g,v,N),this.Axis1=E,this.Axis2=g,this.LocalOrigin=v,this.Scale=N,this.Scale2=C,this.type=3486308946}}e.IfcCartesianTransformationOperator2DnonUniform=Em;class jO extends qA{constructor(E,g,v,N,C){super(E,g,v,N),this.Axis1=E,this.Axis2=g,this.LocalOrigin=v,this.Scale=N,this.Axis3=C,this.type=3331915920}}e.IfcCartesianTransformationOperator3D=jO;class O9 extends jO{constructor(E,g,v,N,C,F,V){super(E,g,v,N,C),this.Axis1=E,this.Axis2=g,this.LocalOrigin=v,this.Scale=N,this.Axis3=C,this.Scale2=F,this.Scale3=V,this.type=1416205885}}e.IfcCartesianTransformationOperator3DnonUniform=O9;class qO extends uf{constructor(E,g,v,N){super(E,g,v),this.ProfileType=E,this.ProfileName=g,this.Position=v,this.Radius=N,this.type=1383045692}}e.IfcCircleProfileDef=qO;class L9 extends sv{constructor(E){super(E),this.CfsFaces=E,this.type=2205249479}}e.IfcClosedShell=L9;class P9 extends bO{constructor(E,g,v,N){super(E),this.Name=E,this.Red=g,this.Green=v,this.Blue=N,this.type=776857604}}e.IfcColourRgb=P9;class M9 extends hD{constructor(E,g,v,N){super(E,g),this.Name=E,this.Specification=g,this.UsageName=v,this.HasProperties=N,this.type=2542286263}}e.IfcComplexProperty=M9;class $O extends pv{constructor(E,g,v){super(E),this.Transition=E,this.SameSense=g,this.ParentCurve=v,this.type=2485617015}}e.IfcCompositeCurveSegment=$O;class cT extends YO{constructor(E,g,v,N,C,F,V,Y,ae,Ze,Ii){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.Identification=V,this.LongDescription=Y,this.ResourceType=ae,this.BaseCosts=Ze,this.BaseQuantity=Ii,this.type=2574617495}}e.IfcConstructionResourceType=cT;class vD extends cv{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.LongName=F,this.Phase=V,this.RepresentationContexts=Y,this.UnitsInContext=ae,this.type=3419103109}}e.IfcContext=vD;class B9 extends cT{constructor(E,g,v,N,C,F,V,Y,ae,Ze,Ii,Xi){super(E,g,v,N,C,F,V,Y,ae,Ze,Ii),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.Identification=V,this.LongDescription=Y,this.ResourceType=ae,this.BaseCosts=Ze,this.BaseQuantity=Ii,this.PredefinedType=Xi,this.type=1815067380}}e.IfcCrewResourceType=B9;class sy extends jo{constructor(E){super(),this.Position=E,this.type=2506170314}}e.IfcCsgPrimitive3D=sy;class F9 extends Rg{constructor(E){super(),this.TreeRootExpression=E,this.type=2147822146}}e.IfcCsgSolid=F9;class bI extends jo{constructor(){super(),this.type=2601014836}}e.IfcCurve=bI;class U9 extends Ag{constructor(E,g,v){super(),this.BasisSurface=E,this.OuterBoundary=g,this.InnerBoundaries=v,this.type=2827736869}}e.IfcCurveBoundedPlane=U9;class H9 extends Ag{constructor(E,g,v){super(),this.BasisSurface=E,this.Boundaries=g,this.ImplicitOuter=v,this.type=2629017746}}e.IfcCurveBoundedSurface=H9;class G9 extends pv{constructor(E,g,v,N,C){super(E),this.Transition=E,this.Placement=g,this.SegmentStart=v,this.SegmentLength=N,this.ParentCurve=C,this.type=4212018352}}e.IfcCurveSegment=G9;class sp extends jo{constructor(E){super(),this.DirectionRatios=E,this.type=32440307}}e.IfcDirection=sp;class $A extends kA{constructor(E,g,v,N,C){super(E,g),this.SweptArea=E,this.Position=g,this.Directrix=v,this.StartParam=N,this.EndParam=C,this.type=593015953}}e.IfcDirectrixCurveSweptAreaSolid=$A;class V9 extends FA{constructor(E){super(),this.EdgeList=E,this.type=1472233963}}e.IfcEdgeLoop=V9;class ZA extends vg{constructor(E,g,v,N,C,F){super(E,g,v,N),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.MethodOfMeasurement=C,this.Quantities=F,this.type=1883228015}}e.IfcElementQuantity=ZA;class op extends ED{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.type=339256511}}e.IfcElementType=op;class dT extends Iv{constructor(E){super(),this.Position=E,this.type=2777663545}}e.IfcElementarySurface=dT;class ZO extends uf{constructor(E,g,v,N,C){super(E,g,v),this.ProfileType=E,this.ProfileName=g,this.Position=v,this.SemiAxis1=N,this.SemiAxis2=C,this.type=2835456948}}e.IfcEllipseProfileDef=ZO;class KO extends WA{constructor(E,g,v,N,C,F,V,Y,ae,Ze,Ii,Xi){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.Identification=V,this.LongDescription=Y,this.ProcessType=ae,this.PredefinedType=Ze,this.EventTriggerType=Ii,this.UserDefinedEventTriggerType=Xi,this.type=4024345920}}e.IfcEventType=KO;class oy extends kA{constructor(E,g,v,N){super(E,g),this.SweptArea=E,this.Position=g,this.ExtrudedDirection=v,this.Depth=N,this.type=477187591}}e.IfcExtrudedAreaSolid=oy;class k9 extends oy{constructor(E,g,v,N,C){super(E,g,v,N),this.SweptArea=E,this.Position=g,this.ExtrudedDirection=v,this.Depth=N,this.EndSweptArea=C,this.type=2804161546}}e.IfcExtrudedAreaSolidTapered=k9;class z9 extends jo{constructor(E){super(),this.FbsmFaces=E,this.type=2047409740}}e.IfcFaceBasedSurfaceModel=z9;class W9 extends jo{constructor(E,g,v,N,C){super(),this.HatchLineAppearance=E,this.StartOfNextHatchLine=g,this.PointOfReferenceHatchLine=v,this.PatternStart=N,this.HatchLineAngle=C,this.type=374418227}}e.IfcFillAreaStyleHatching=W9;class Y9 extends jo{constructor(E,g,v){super(),this.TilingPattern=E,this.Tiles=g,this.TilingScale=v,this.type=315944413}}e.IfcFillAreaStyleTiles=Y9;class QO extends $A{constructor(E,g,v,N,C,F){super(E,g,v,N,C),this.SweptArea=E,this.Position=g,this.Directrix=v,this.StartParam=N,this.EndParam=C,this.FixedReference=F,this.type=2652556860}}e.IfcFixedReferenceSweptAreaSolid=QO;class yv extends op{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.type=4238390223}}e.IfcFurnishingElementType=yv;class vc extends yv{constructor(E,g,v,N,C,F,V,Y,ae,Ze,Ii){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.AssemblyPlace=Ze,this.PredefinedType=Ii,this.type=1268542332}}e.IfcFurnitureType=vc;class KA extends op{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=4095422895}}e.IfcGeographicElementType=KA;class j9 extends uv{constructor(E){super(E),this.Elements=E,this.type=987898635}}e.IfcGeometricCurveSet=j9;class q9 extends uf{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v),this.ProfileType=E,this.ProfileName=g,this.Position=v,this.OverallWidth=N,this.OverallDepth=C,this.WebThickness=F,this.FlangeThickness=V,this.FilletRadius=Y,this.FlangeEdgeRadius=ae,this.FlangeSlope=Ze,this.type=1484403080}}e.IfcIShapeProfileDef=q9;class JO extends uT{constructor(E){super(),this.CoordIndex=E,this.type=178912537}}e.IfcIndexedPolygonalFace=JO;class $9 extends JO{constructor(E,g){super(E),this.CoordIndex=E,this.InnerCoordIndices=g,this.type=2294589976}}e.IfcIndexedPolygonalFaceWithVoids=$9;class bg extends tT{constructor(E,g,v,N){super(E,g,v),this.Maps=E,this.MappedTo=g,this.TexCoords=v,this.TexCoordIndices=N,this.type=3465909080}}e.IfcIndexedPolygonalTextureMap=bg;class Z9 extends uf{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v),this.ProfileType=E,this.ProfileName=g,this.Position=v,this.Depth=N,this.Width=C,this.Thickness=F,this.FilletRadius=V,this.EdgeRadius=Y,this.LegSlope=ae,this.type=572779678}}e.IfcLShapeProfileDef=Z9;class hh extends cT{constructor(E,g,v,N,C,F,V,Y,ae,Ze,Ii,Xi){super(E,g,v,N,C,F,V,Y,ae,Ze,Ii),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.Identification=V,this.LongDescription=Y,this.ResourceType=ae,this.BaseCosts=Ze,this.BaseQuantity=Ii,this.PredefinedType=Xi,this.type=428585644}}e.IfcLaborResourceType=hh;class K9 extends bI{constructor(E,g){super(),this.Pnt=E,this.Dir=g,this.type=1281925730}}e.IfcLine=K9;class RD extends Rg{constructor(E){super(),this.Outer=E,this.type=1425443689}}e.IfcManifoldSolidBrep=RD;class hT extends cv{constructor(E,g,v,N,C){super(E,g,v,N),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.type=3888040117}}e.IfcObject=hT;class Ev extends bI{constructor(E){super(),this.BasisCurve=E,this.type=590820931}}e.IfcOffsetCurve=Ev;class fT extends Ev{constructor(E,g,v){super(E),this.BasisCurve=E,this.Distance=g,this.SelfIntersect=v,this.type=3388369263}}e.IfcOffsetCurve2D=fT;class rp extends Ev{constructor(E,g,v,N){super(E),this.BasisCurve=E,this.Distance=g,this.SelfIntersect=v,this.RefDirection=N,this.type=3505215534}}e.IfcOffsetCurve3D=rp;class Rc extends Ev{constructor(E,g,v){super(E),this.BasisCurve=E,this.OffsetValues=g,this.Tag=v,this.type=2485787929}}e.IfcOffsetCurveByDistances=Rc;class Q9 extends bI{constructor(E,g){super(),this.BasisSurface=E,this.ReferenceCurve=g,this.type=1682466193}}e.IfcPcurve=Q9;class J9 extends BO{constructor(E,g,v){super(E,g),this.SizeInX=E,this.SizeInY=g,this.Placement=v,this.type=603570806}}e.IfcPlanarBox=J9;class X9 extends dT{constructor(E){super(E),this.Position=E,this.type=220341763}}e.IfcPlane=X9;class eF extends bI{constructor(E,g,v,N){super(),this.Position=E,this.CoefficientsX=g,this.CoefficientsY=v,this.CoefficientsZ=N,this.type=3381221214}}e.IfcPolynomialCurve=eF;class XO extends GA{constructor(E){super(E),this.Name=E,this.type=759155922}}e.IfcPreDefinedColour=XO;class Ng extends GA{constructor(E){super(E),this.Name=E,this.type=2559016684}}e.IfcPreDefinedCurveFont=Ng;class Tm extends VA{constructor(E,g,v,N){super(E,g,v,N),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.type=3967405729}}e.IfcPreDefinedPropertySet=Tm;class NI extends WA{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.Identification=V,this.LongDescription=Y,this.ProcessType=ae,this.PredefinedType=Ze,this.type=569719735}}e.IfcProcedureType=NI;class QA extends hT{constructor(E,g,v,N,C,F,V){super(E,g,v,N,C),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.Identification=F,this.LongDescription=V,this.type=2945172077}}e.IfcProcess=QA;class ga extends hT{constructor(E,g,v,N,C,F,V){super(E,g,v,N,C),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.type=4208778838}}e.IfcProduct=ga;class tF extends vD{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.LongName=F,this.Phase=V,this.RepresentationContexts=Y,this.UnitsInContext=ae,this.type=103090709}}e.IfcProject=tF;class JA extends vD{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.LongName=F,this.Phase=V,this.RepresentationContexts=Y,this.UnitsInContext=ae,this.type=653396225}}e.IfcProjectLibrary=JA;class XA extends oT{constructor(E,g,v,N,C,F){super(E,g),this.Name=E,this.Specification=g,this.UpperBoundValue=v,this.LowerBoundValue=N,this.Unit=C,this.SetPointValue=F,this.type=871118103}}e.IfcPropertyBoundedValue=XA;class iF extends oT{constructor(E,g,v,N){super(E,g),this.Name=E,this.Specification=g,this.EnumerationValues=v,this.EnumerationReference=N,this.type=4166981789}}e.IfcPropertyEnumeratedValue=iF;class wa extends oT{constructor(E,g,v,N){super(E,g),this.Name=E,this.Specification=g,this.ListValues=v,this.Unit=N,this.type=2752243245}}e.IfcPropertyListValue=wa;class nF extends oT{constructor(E,g,v,N){super(E,g),this.Name=E,this.Specification=g,this.UsageName=v,this.PropertyReference=N,this.type=941946838}}e.IfcPropertyReferenceValue=nF;class eL extends VA{constructor(E,g,v,N,C){super(E,g,v,N),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.HasProperties=C,this.type=1451395588}}e.IfcPropertySet=eL;class tL extends fv{constructor(E,g,v,N,C,F,V){super(E,g,v,N),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.TemplateType=C,this.ApplicableEntity=F,this.HasPropertyTemplates=V,this.type=492091185}}e.IfcPropertySetTemplate=tL;class sF extends oT{constructor(E,g,v,N){super(E,g),this.Name=E,this.Specification=g,this.NominalValue=v,this.Unit=N,this.type=3650150729}}e.IfcPropertySingleValue=sF;class oF extends oT{constructor(E,g,v,N,C,F,V,Y){super(E,g),this.Name=E,this.Specification=g,this.DefiningValues=v,this.DefinedValues=N,this.Expression=C,this.DefiningUnit=F,this.DefinedUnit=V,this.CurveInterpolation=Y,this.type=110355661}}e.IfcPropertyTableValue=oF;class SD extends fv{constructor(E,g,v,N){super(E,g,v,N),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.type=3521284610}}e.IfcPropertyTemplate=SD;class iL extends fD{constructor(E,g,v,N,C,F,V,Y){super(E,g,v,N,C),this.ProfileType=E,this.ProfileName=g,this.Position=v,this.XDim=N,this.YDim=C,this.WallThickness=F,this.InnerFilletRadius=V,this.OuterFilletRadius=Y,this.type=2770003689}}e.IfcRectangleHollowProfileDef=iL;class Tv extends sy{constructor(E,g,v,N){super(E),this.Position=E,this.XLength=g,this.YLength=v,this.Height=N,this.type=2798486643}}e.IfcRectangularPyramid=Tv;class gv extends Ag{constructor(E,g,v,N,C,F,V){super(),this.BasisSurface=E,this.U1=g,this.V1=v,this.U2=N,this.V2=C,this.Usense=F,this.Vsense=V,this.type=3454111270}}e.IfcRectangularTrimmedSurface=gv;class _g extends Tm{constructor(E,g,v,N,C,F){super(E,g,v,N),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.DefinitionType=C,this.ReinforcementSectionDefinitions=F,this.type=3765753017}}e.IfcReinforcementDefinitionProperties=_g;class _I extends sT{constructor(E,g,v,N,C,F){super(E,g,v,N),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.RelatedObjects=C,this.RelatedObjectsType=F,this.type=3939117080}}e.IfcRelAssigns=_I;class ry extends _I{constructor(E,g,v,N,C,F,V,Y){super(E,g,v,N,C,F),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.RelatedObjects=C,this.RelatedObjectsType=F,this.RelatingActor=V,this.ActingRole=Y,this.type=1683148259}}e.IfcRelAssignsToActor=ry;class wv extends _I{constructor(E,g,v,N,C,F,V){super(E,g,v,N,C,F),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.RelatedObjects=C,this.RelatedObjectsType=F,this.RelatingControl=V,this.type=2495723537}}e.IfcRelAssignsToControl=wv;class nL extends _I{constructor(E,g,v,N,C,F,V){super(E,g,v,N,C,F),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.RelatedObjects=C,this.RelatedObjectsType=F,this.RelatingGroup=V,this.type=1307041759}}e.IfcRelAssignsToGroup=nL;class eb extends nL{constructor(E,g,v,N,C,F,V,Y){super(E,g,v,N,C,F,V),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.RelatedObjects=C,this.RelatedObjectsType=F,this.RelatingGroup=V,this.Factor=Y,this.type=1027710054}}e.IfcRelAssignsToGroupByFactor=eb;class pT extends _I{constructor(E,g,v,N,C,F,V,Y){super(E,g,v,N,C,F),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.RelatedObjects=C,this.RelatedObjectsType=F,this.RelatingProcess=V,this.QuantityInProcess=Y,this.type=4278684876}}e.IfcRelAssignsToProcess=pT;class vv extends _I{constructor(E,g,v,N,C,F,V){super(E,g,v,N,C,F),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.RelatedObjects=C,this.RelatedObjectsType=F,this.RelatingProduct=V,this.type=2857406711}}e.IfcRelAssignsToProduct=vv;class O0 extends _I{constructor(E,g,v,N,C,F,V){super(E,g,v,N,C,F),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.RelatedObjects=C,this.RelatedObjectsType=F,this.RelatingResource=V,this.type=205026976}}e.IfcRelAssignsToResource=O0;class fh extends sT{constructor(E,g,v,N,C){super(E,g,v,N),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.RelatedObjects=C,this.type=1865459582}}e.IfcRelAssociates=fh;class sL extends fh{constructor(E,g,v,N,C,F){super(E,g,v,N,C),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.RelatedObjects=C,this.RelatingApproval=F,this.type=4095574036}}e.IfcRelAssociatesApproval=sL;class rF extends fh{constructor(E,g,v,N,C,F){super(E,g,v,N,C),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.RelatedObjects=C,this.RelatingClassification=F,this.type=919958153}}e.IfcRelAssociatesClassification=rF;class lF extends fh{constructor(E,g,v,N,C,F,V){super(E,g,v,N,C),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.RelatedObjects=C,this.Intent=F,this.RelatingConstraint=V,this.type=2728634034}}e.IfcRelAssociatesConstraint=lF;class aF extends fh{constructor(E,g,v,N,C,F){super(E,g,v,N,C),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.RelatedObjects=C,this.RelatingDocument=F,this.type=982818633}}e.IfcRelAssociatesDocument=aF;class DI extends fh{constructor(E,g,v,N,C,F){super(E,g,v,N,C),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.RelatedObjects=C,this.RelatingLibrary=F,this.type=3840914261}}e.IfcRelAssociatesLibrary=DI;class uF extends fh{constructor(E,g,v,N,C,F){super(E,g,v,N,C),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.RelatedObjects=C,this.RelatingMaterial=F,this.type=2655215786}}e.IfcRelAssociatesMaterial=uF;class cF extends fh{constructor(E,g,v,N,C,F){super(E,g,v,N,C),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.RelatedObjects=C,this.RelatingProfileDef=F,this.type=1033248425}}e.IfcRelAssociatesProfileDef=cF;class Su extends sT{constructor(E,g,v,N){super(E,g,v,N),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.type=826625072}}e.IfcRelConnects=Su;class AD extends Su{constructor(E,g,v,N,C,F,V){super(E,g,v,N),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ConnectionGeometry=C,this.RelatingElement=F,this.RelatedElement=V,this.type=1204542856}}e.IfcRelConnectsElements=AD;class dF extends AD{constructor(E,g,v,N,C,F,V,Y,ae,Ze,Ii){super(E,g,v,N,C,F,V),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ConnectionGeometry=C,this.RelatingElement=F,this.RelatedElement=V,this.RelatingPriorities=Y,this.RelatedPriorities=ae,this.RelatedConnectionType=Ze,this.RelatingConnectionType=Ii,this.type=3945020480}}e.IfcRelConnectsPathElements=dF;class hF extends Su{constructor(E,g,v,N,C,F){super(E,g,v,N),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.RelatingPort=C,this.RelatedElement=F,this.type=4201705270}}e.IfcRelConnectsPortToElement=hF;class bD extends Su{constructor(E,g,v,N,C,F,V){super(E,g,v,N),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.RelatingPort=C,this.RelatedPort=F,this.RealizingElement=V,this.type=3190031847}}e.IfcRelConnectsPorts=bD;class fF extends Su{constructor(E,g,v,N,C,F){super(E,g,v,N),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.RelatingElement=C,this.RelatedStructuralActivity=F,this.type=2127690289}}e.IfcRelConnectsStructuralActivity=fF;class oL extends Su{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.RelatingStructuralMember=C,this.RelatedStructuralConnection=F,this.AppliedCondition=V,this.AdditionalConditions=Y,this.SupportedLength=ae,this.ConditionCoordinateSystem=Ze,this.type=1638771189}}e.IfcRelConnectsStructuralMember=oL;class pF extends oL{constructor(E,g,v,N,C,F,V,Y,ae,Ze,Ii){super(E,g,v,N,C,F,V,Y,ae,Ze),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.RelatingStructuralMember=C,this.RelatedStructuralConnection=F,this.AppliedCondition=V,this.AdditionalConditions=Y,this.SupportedLength=ae,this.ConditionCoordinateSystem=Ze,this.ConnectionConstraint=Ii,this.type=504942748}}e.IfcRelConnectsWithEccentricity=pF;class IF extends AD{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ConnectionGeometry=C,this.RelatingElement=F,this.RelatedElement=V,this.RealizingElements=Y,this.ConnectionType=ae,this.type=3678494232}}e.IfcRelConnectsWithRealizingElements=IF;class mF extends Su{constructor(E,g,v,N,C,F){super(E,g,v,N),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.RelatedElements=C,this.RelatingStructure=F,this.type=3242617779}}e.IfcRelContainedInSpatialStructure=mF;class rL extends Su{constructor(E,g,v,N,C,F){super(E,g,v,N),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.RelatingBuildingElement=C,this.RelatedCoverings=F,this.type=886880790}}e.IfcRelCoversBldgElements=rL;class lL extends Su{constructor(E,g,v,N,C,F){super(E,g,v,N),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.RelatingSpace=C,this.RelatedCoverings=F,this.type=2802773753}}e.IfcRelCoversSpaces=lL;class yF extends sT{constructor(E,g,v,N,C,F){super(E,g,v,N),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.RelatingContext=C,this.RelatedDefinitions=F,this.type=2565941209}}e.IfcRelDeclares=yF;class Dg extends sT{constructor(E,g,v,N){super(E,g,v,N),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.type=2551354335}}e.IfcRelDecomposes=Dg;class Cg extends sT{constructor(E,g,v,N){super(E,g,v,N),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.type=693640335}}e.IfcRelDefines=Cg;class aL extends Cg{constructor(E,g,v,N,C,F){super(E,g,v,N),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.RelatedObjects=C,this.RelatingObject=F,this.type=1462361463}}e.IfcRelDefinesByObject=aL;class EF extends Cg{constructor(E,g,v,N,C,F){super(E,g,v,N),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.RelatedObjects=C,this.RelatingPropertyDefinition=F,this.type=4186316022}}e.IfcRelDefinesByProperties=EF;class TF extends Cg{constructor(E,g,v,N,C,F){super(E,g,v,N),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.RelatedPropertySets=C,this.RelatingTemplate=F,this.type=307848117}}e.IfcRelDefinesByTemplate=TF;class xg extends Cg{constructor(E,g,v,N,C,F){super(E,g,v,N),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.RelatedObjects=C,this.RelatingType=F,this.type=781010003}}e.IfcRelDefinesByType=xg;class gF extends Su{constructor(E,g,v,N,C,F){super(E,g,v,N),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.RelatingOpeningElement=C,this.RelatedBuildingElement=F,this.type=3940055652}}e.IfcRelFillsElement=gF;class gr extends Su{constructor(E,g,v,N,C,F){super(E,g,v,N),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.RelatedControlElements=C,this.RelatingFlowElement=F,this.type=279856033}}e.IfcRelFlowControlElements=gr;class uL extends Su{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.RelatingElement=C,this.RelatedElement=F,this.InterferenceGeometry=V,this.InterferenceType=Y,this.ImpliedOrder=ae,this.InterferenceSpace=Ze,this.type=427948657}}e.IfcRelInterferesElements=uL;class wF extends Dg{constructor(E,g,v,N,C,F){super(E,g,v,N),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.RelatingObject=C,this.RelatedObjects=F,this.type=3268803585}}e.IfcRelNests=wF;class vF extends Su{constructor(E,g,v,N,C,F){super(E,g,v,N),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.RelatingPositioningElement=C,this.RelatedProducts=F,this.type=1441486842}}e.IfcRelPositions=vF;class RF extends Dg{constructor(E,g,v,N,C,F){super(E,g,v,N),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.RelatingElement=C,this.RelatedFeatureElement=F,this.type=750771296}}e.IfcRelProjectsElement=RF;class SF extends Su{constructor(E,g,v,N,C,F){super(E,g,v,N),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.RelatedElements=C,this.RelatingStructure=F,this.type=1245217292}}e.IfcRelReferencedInSpatialStructure=SF;class AF extends Su{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.RelatingProcess=C,this.RelatedProcess=F,this.TimeLag=V,this.SequenceType=Y,this.UserDefinedSequenceType=ae,this.type=4122056220}}e.IfcRelSequence=AF;class cL extends Su{constructor(E,g,v,N,C,F){super(E,g,v,N),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.RelatingSystem=C,this.RelatedBuildings=F,this.type=366585022}}e.IfcRelServicesBuildings=cL;class ND extends Su{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.RelatingSpace=C,this.RelatedBuildingElement=F,this.ConnectionGeometry=V,this.PhysicalOrVirtualBoundary=Y,this.InternalOrExternalBoundary=ae,this.type=3451746338}}e.IfcRelSpaceBoundary=ND;class tb extends ND{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.RelatingSpace=C,this.RelatedBuildingElement=F,this.ConnectionGeometry=V,this.PhysicalOrVirtualBoundary=Y,this.InternalOrExternalBoundary=ae,this.ParentBoundary=Ze,this.type=3523091289}}e.IfcRelSpaceBoundary1stLevel=tb;class bF extends tb{constructor(E,g,v,N,C,F,V,Y,ae,Ze,Ii){super(E,g,v,N,C,F,V,Y,ae,Ze),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.RelatingSpace=C,this.RelatedBuildingElement=F,this.ConnectionGeometry=V,this.PhysicalOrVirtualBoundary=Y,this.InternalOrExternalBoundary=ae,this.ParentBoundary=Ze,this.CorrespondingBoundary=Ii,this.type=1521410863}}e.IfcRelSpaceBoundary2ndLevel=bF;class NF extends Dg{constructor(E,g,v,N,C,F){super(E,g,v,N),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.RelatingBuildingElement=C,this.RelatedOpeningElement=F,this.type=1401173127}}e.IfcRelVoidsElement=NF;class _F extends $O{constructor(E,g,v,N){super(E,g,v),this.Transition=E,this.SameSense=g,this.ParentCurve=v,this.ParamLength=N,this.type=816062949}}e.IfcReparametrisedCompositeCurveSegment=_F;class ly extends hT{constructor(E,g,v,N,C,F,V){super(E,g,v,N,C),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.Identification=F,this.LongDescription=V,this.type=2914609552}}e.IfcResource=ly;class CI extends kA{constructor(E,g,v,N){super(E,g),this.SweptArea=E,this.Position=g,this.Axis=v,this.Angle=N,this.type=1856042241}}e.IfcRevolvedAreaSolid=CI;class DF extends CI{constructor(E,g,v,N,C){super(E,g,v,N),this.SweptArea=E,this.Position=g,this.Axis=v,this.Angle=N,this.EndSweptArea=C,this.type=3243963512}}e.IfcRevolvedAreaSolidTapered=DF;class CF extends sy{constructor(E,g,v){super(E),this.Position=E,this.Height=g,this.BottomRadius=v,this.type=4158566097}}e.IfcRightCircularCone=CF;class xF extends sy{constructor(E,g,v){super(E),this.Position=E,this.Height=g,this.Radius=v,this.type=3626867408}}e.IfcRightCircularCylinder=xF;class dL extends Rg{constructor(E,g){super(),this.Directrix=E,this.CrossSections=g,this.type=1862484736}}e.IfcSectionedSolid=dL;class OF extends dL{constructor(E,g,v){super(E,g),this.Directrix=E,this.CrossSections=g,this.CrossSectionPositions=v,this.type=1290935644}}e.IfcSectionedSolidHorizontal=OF;class LF extends Iv{constructor(E,g,v){super(),this.Directrix=E,this.CrossSectionPositions=g,this.CrossSections=v,this.type=1356537516}}e.IfcSectionedSurface=LF;class _D extends SD{constructor(E,g,v,N,C,F,V,Y,ae,Ze,Ii,Xi){super(E,g,v,N),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.TemplateType=C,this.PrimaryMeasureType=F,this.SecondaryMeasureType=V,this.Enumerators=Y,this.PrimaryUnit=ae,this.SecondaryUnit=Ze,this.Expression=Ii,this.AccessState=Xi,this.type=3663146110}}e.IfcSimplePropertyTemplate=_D;class ph extends ga{constructor(E,g,v,N,C,F,V,Y){super(E,g,v,N,C,F,V),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.LongName=Y,this.type=1412071761}}e.IfcSpatialElement=ph;class DD extends ED{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.type=710998568}}e.IfcSpatialElementType=DD;class gm extends ph{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.LongName=Y,this.CompositionType=ae,this.type=2706606064}}e.IfcSpatialStructureElement=gm;class Rv extends DD{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.type=3893378262}}e.IfcSpatialStructureElementType=Rv;class PF extends ph{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.LongName=Y,this.PredefinedType=ae,this.type=463610769}}e.IfcSpatialZone=PF;class hL extends DD{constructor(E,g,v,N,C,F,V,Y,ae,Ze,Ii){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.LongName=Ii,this.type=2481509218}}e.IfcSpatialZoneType=hL;class lp extends sy{constructor(E,g){super(E),this.Position=E,this.Radius=g,this.type=451544542}}e.IfcSphere=lp;class fL extends dT{constructor(E,g){super(E),this.Position=E,this.Radius=g,this.type=4015995234}}e.IfcSphericalSurface=fL;class IT extends bI{constructor(E){super(),this.Position=E,this.type=2735484536}}e.IfcSpiral=IT;class wm extends ga{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.AppliedLoad=Y,this.GlobalOrLocal=ae,this.type=3544373492}}e.IfcStructuralActivity=wm;class xI extends ga{constructor(E,g,v,N,C,F,V){super(E,g,v,N,C,F,V),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.type=3136571912}}e.IfcStructuralItem=xI;class CD extends xI{constructor(E,g,v,N,C,F,V){super(E,g,v,N,C,F,V),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.type=530289379}}e.IfcStructuralMember=CD;class ur extends wm{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.AppliedLoad=Y,this.GlobalOrLocal=ae,this.type=3689010777}}e.IfcStructuralReaction=ur;class pL extends CD{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.PredefinedType=Y,this.Thickness=ae,this.type=3979015343}}e.IfcStructuralSurfaceMember=pL;class MF extends pL{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.PredefinedType=Y,this.Thickness=ae,this.type=2218152070}}e.IfcStructuralSurfaceMemberVarying=MF;class BF extends ur{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.AppliedLoad=Y,this.GlobalOrLocal=ae,this.PredefinedType=Ze,this.type=603775116}}e.IfcStructuralSurfaceReaction=BF;class FF extends cT{constructor(E,g,v,N,C,F,V,Y,ae,Ze,Ii,Xi){super(E,g,v,N,C,F,V,Y,ae,Ze,Ii),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.Identification=V,this.LongDescription=Y,this.ResourceType=ae,this.BaseCosts=Ze,this.BaseQuantity=Ii,this.PredefinedType=Xi,this.type=4095615324}}e.IfcSubContractResourceType=FF;class ib extends bI{constructor(E,g,v){super(),this.Curve3D=E,this.AssociatedGeometry=g,this.MasterRepresentation=v,this.type=699246055}}e.IfcSurfaceCurve=ib;class IL extends $A{constructor(E,g,v,N,C,F){super(E,g,v,N,C),this.SweptArea=E,this.Position=g,this.Directrix=v,this.StartParam=N,this.EndParam=C,this.ReferenceSurface=F,this.type=2028607225}}e.IfcSurfaceCurveSweptAreaSolid=IL;class xD extends zA{constructor(E,g,v,N){super(E,g),this.SweptCurve=E,this.Position=g,this.ExtrudedDirection=v,this.Depth=N,this.type=2809605785}}e.IfcSurfaceOfLinearExtrusion=xD;class UF extends zA{constructor(E,g,v){super(E,g),this.SweptCurve=E,this.Position=g,this.AxisPosition=v,this.type=4124788165}}e.IfcSurfaceOfRevolution=UF;class HF extends yv{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=1580310250}}e.IfcSystemFurnitureElementType=HF;class nb extends QA{constructor(E,g,v,N,C,F,V,Y,ae,Ze,Ii,Xi,Jn){super(E,g,v,N,C,F,V),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.Identification=F,this.LongDescription=V,this.Status=Y,this.WorkMethod=ae,this.IsMilestone=Ze,this.Priority=Ii,this.TaskTime=Xi,this.PredefinedType=Jn,this.type=3473067441}}e.IfcTask=nb;class mL extends WA{constructor(E,g,v,N,C,F,V,Y,ae,Ze,Ii){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.Identification=V,this.LongDescription=Y,this.ProcessType=ae,this.PredefinedType=Ze,this.WorkMethod=Ii,this.type=3206491090}}e.IfcTaskType=mL;class Sv extends uT{constructor(E){super(),this.Coordinates=E,this.type=2387106220}}e.IfcTessellatedFaceSet=Sv;class vm extends IT{constructor(E,g,v,N,C){super(E),this.Position=E,this.CubicTerm=g,this.QuadraticTerm=v,this.LinearTerm=N,this.ConstantTerm=C,this.type=782932809}}e.IfcThirdOrderPolynomialSpiral=vm;class Og extends dT{constructor(E,g,v){super(E),this.Position=E,this.MajorRadius=g,this.MinorRadius=v,this.type=1935646853}}e.IfcToroidalSurface=Og;class OD extends op{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.type=3665877780}}e.IfcTransportationDeviceType=OD;class Av extends Sv{constructor(E,g,v,N,C){super(E),this.Coordinates=E,this.Normals=g,this.Closed=v,this.CoordIndex=N,this.PnIndex=C,this.type=2916149573}}e.IfcTriangulatedFaceSet=Av;class bv extends Av{constructor(E,g,v,N,C,F){super(E,g,v,N,C),this.Coordinates=E,this.Normals=g,this.Closed=v,this.CoordIndex=N,this.PnIndex=C,this.Flags=F,this.type=1229763772}}e.IfcTriangulatedIrregularNetwork=bv;class LD extends OD{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=3651464721}}e.IfcVehicleType=LD;class Sc extends Tm{constructor(E,g,v,N,C,F,V,Y,ae,Ze,Ii,Xi,Jn,Co,Ha,Ac){super(E,g,v,N),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.LiningDepth=C,this.LiningThickness=F,this.TransomThickness=V,this.MullionThickness=Y,this.FirstTransomOffset=ae,this.SecondTransomOffset=Ze,this.FirstMullionOffset=Ii,this.SecondMullionOffset=Xi,this.ShapeAspectStyle=Jn,this.LiningOffset=Co,this.LiningToPanelOffsetX=Ha,this.LiningToPanelOffsetY=Ac,this.type=336235671}}e.IfcWindowLiningProperties=Sc;class sb extends Tm{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.OperationType=C,this.PanelPosition=F,this.FrameDepth=V,this.FrameThickness=Y,this.ShapeAspectStyle=ae,this.type=512836454}}e.IfcWindowPanelProperties=sb;class yL extends hT{constructor(E,g,v,N,C,F){super(E,g,v,N,C),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.TheActor=F,this.type=2296667514}}e.IfcActor=yL;class ob extends RD{constructor(E){super(E),this.Outer=E,this.type=1635779807}}e.IfcAdvancedBrep=ob;class GF extends ob{constructor(E,g){super(E),this.Outer=E,this.Voids=g,this.type=2603310189}}e.IfcAdvancedBrepWithVoids=GF;class VF extends ga{constructor(E,g,v,N,C,F,V,Y){super(E,g,v,N,C,F,V),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.PredefinedType=Y,this.type=1674181508}}e.IfcAnnotation=VF;class EL extends Ag{constructor(E,g,v,N,C,F,V){super(),this.UDegree=E,this.VDegree=g,this.ControlPointsList=v,this.SurfaceForm=N,this.UClosed=C,this.VClosed=F,this.SelfIntersect=V,this.type=2887950389}}e.IfcBSplineSurface=EL;class mT extends EL{constructor(E,g,v,N,C,F,V,Y,ae,Ze,Ii,Xi){super(E,g,v,N,C,F,V),this.UDegree=E,this.VDegree=g,this.ControlPointsList=v,this.SurfaceForm=N,this.UClosed=C,this.VClosed=F,this.SelfIntersect=V,this.UMultiplicities=Y,this.VMultiplicities=ae,this.UKnots=Ze,this.VKnots=Ii,this.KnotSpec=Xi,this.type=167062518}}e.IfcBSplineSurfaceWithKnots=mT;class kF extends sy{constructor(E,g,v,N){super(E),this.Position=E,this.XLength=g,this.YLength=v,this.ZLength=N,this.type=1334484129}}e.IfcBlock=kF;class zF extends ny{constructor(E,g,v){super(E,g,v),this.Operator=E,this.FirstOperand=g,this.SecondOperand=v,this.type=3649129432}}e.IfcBooleanClippingResult=zF;class Lg extends bI{constructor(){super(),this.type=1260505505}}e.IfcBoundedCurve=Lg;class TL extends gm{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.LongName=Y,this.CompositionType=ae,this.Elevation=Ze,this.type=3124254112}}e.IfcBuildingStorey=TL;class Eo extends op{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.type=1626504194}}e.IfcBuiltElementType=Eo;class gL extends Eo{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=2197970202}}e.IfcChimneyType=gL;class WF extends qO{constructor(E,g,v,N,C){super(E,g,v,N),this.ProfileType=E,this.ProfileName=g,this.Position=v,this.Radius=N,this.WallThickness=C,this.type=2937912522}}e.IfcCircleHollowProfileDef=WF;class Cr extends op{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.type=3893394355}}e.IfcCivilElementType=Cr;class PD extends IT{constructor(E,g){super(E),this.Position=E,this.ClothoidConstant=g,this.type=3497074424}}e.IfcClothoid=PD;class YF extends Eo{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=300633059}}e.IfcColumnType=YF;class jF extends SD{constructor(E,g,v,N,C,F,V){super(E,g,v,N),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.UsageName=C,this.TemplateType=F,this.HasPropertyTemplates=V,this.type=3875453745}}e.IfcComplexPropertyTemplate=jF;class rb extends Lg{constructor(E,g){super(),this.Segments=E,this.SelfIntersect=g,this.type=3732776249}}e.IfcCompositeCurve=rb;class wL extends rb{constructor(E,g){super(E,g),this.Segments=E,this.SelfIntersect=g,this.type=15328376}}e.IfcCompositeCurveOnSurface=wL;class MD extends bI{constructor(E){super(),this.Position=E,this.type=2510884976}}e.IfcConic=MD;class qF extends cT{constructor(E,g,v,N,C,F,V,Y,ae,Ze,Ii,Xi){super(E,g,v,N,C,F,V,Y,ae,Ze,Ii),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.Identification=V,this.LongDescription=Y,this.ResourceType=ae,this.BaseCosts=Ze,this.BaseQuantity=Ii,this.PredefinedType=Xi,this.type=2185764099}}e.IfcConstructionEquipmentResourceType=qF;class $F extends cT{constructor(E,g,v,N,C,F,V,Y,ae,Ze,Ii,Xi){super(E,g,v,N,C,F,V,Y,ae,Ze,Ii),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.Identification=V,this.LongDescription=Y,this.ResourceType=ae,this.BaseCosts=Ze,this.BaseQuantity=Ii,this.PredefinedType=Xi,this.type=4105962743}}e.IfcConstructionMaterialResourceType=$F;class vL extends cT{constructor(E,g,v,N,C,F,V,Y,ae,Ze,Ii,Xi){super(E,g,v,N,C,F,V,Y,ae,Ze,Ii),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.Identification=V,this.LongDescription=Y,this.ResourceType=ae,this.BaseCosts=Ze,this.BaseQuantity=Ii,this.PredefinedType=Xi,this.type=1525564444}}e.IfcConstructionProductResourceType=vL;class yT extends ly{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.Identification=F,this.LongDescription=V,this.Usage=Y,this.BaseCosts=ae,this.BaseQuantity=Ze,this.type=2559216714}}e.IfcConstructionResource=yT;class Rm extends hT{constructor(E,g,v,N,C,F){super(E,g,v,N,C),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.Identification=F,this.type=3293443760}}e.IfcControl=Rm;class ZF extends IT{constructor(E,g,v){super(E),this.Position=E,this.CosineTerm=g,this.ConstantTerm=v,this.type=2000195564}}e.IfcCosineSpiral=ZF;class KF extends Rm{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.Identification=F,this.PredefinedType=V,this.CostValues=Y,this.CostQuantities=ae,this.type=3895139033}}e.IfcCostItem=KF;class QF extends Rm{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.Identification=F,this.PredefinedType=V,this.Status=Y,this.SubmittedOn=ae,this.UpdateDate=Ze,this.type=1419761937}}e.IfcCostSchedule=QF;class JF extends Eo{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=4189326743}}e.IfcCourseType=JF;class XF extends Eo{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=1916426348}}e.IfcCoveringType=XF;class eU extends yT{constructor(E,g,v,N,C,F,V,Y,ae,Ze,Ii){super(E,g,v,N,C,F,V,Y,ae,Ze),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.Identification=F,this.LongDescription=V,this.Usage=Y,this.BaseCosts=ae,this.BaseQuantity=Ze,this.PredefinedType=Ii,this.type=3295246426}}e.IfcCrewResource=eU;class tU extends Eo{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=1457835157}}e.IfcCurtainWallType=tU;class iU extends dT{constructor(E,g){super(E),this.Position=E,this.Radius=g,this.type=1213902940}}e.IfcCylindricalSurface=iU;class BD extends Eo{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.type=1306400036}}e.IfcDeepFoundationType=BD;class RL extends QO{constructor(E,g,v,N,C,F){super(E,g,v,N,C,F),this.SweptArea=E,this.Position=g,this.Directrix=v,this.StartParam=N,this.EndParam=C,this.FixedReference=F,this.type=4234616927}}e.IfcDirectrixDerivedReferenceSweptAreaSolid=RL;class FD extends op{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.type=3256556792}}e.IfcDistributionElementType=FD;class OI extends FD{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.type=3849074793}}e.IfcDistributionFlowElementType=OI;class nU extends Tm{constructor(E,g,v,N,C,F,V,Y,ae,Ze,Ii,Xi,Jn,Co,Ha,Ac,hf){super(E,g,v,N),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.LiningDepth=C,this.LiningThickness=F,this.ThresholdDepth=V,this.ThresholdThickness=Y,this.TransomThickness=ae,this.TransomOffset=Ze,this.LiningOffset=Ii,this.ThresholdOffset=Xi,this.CasingThickness=Jn,this.CasingDepth=Co,this.ShapeAspectStyle=Ha,this.LiningToPanelOffsetX=Ac,this.LiningToPanelOffsetY=hf,this.type=2963535650}}e.IfcDoorLiningProperties=nU;class sU extends Tm{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.PanelDepth=C,this.PanelOperation=F,this.PanelWidth=V,this.PanelPosition=Y,this.ShapeAspectStyle=ae,this.type=1714330368}}e.IfcDoorPanelProperties=sU;class SL extends Eo{constructor(E,g,v,N,C,F,V,Y,ae,Ze,Ii,Xi,Jn){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.OperationType=Ii,this.ParameterTakesPrecedence=Xi,this.UserDefinedOperationType=Jn,this.type=2323601079}}e.IfcDoorType=SL;class oU extends XO{constructor(E){super(E),this.Name=E,this.type=445594917}}e.IfcDraughtingPreDefinedColour=oU;class Pg extends Ng{constructor(E){super(E),this.Name=E,this.type=4006246654}}e.IfcDraughtingPreDefinedCurveFont=Pg;class L0 extends ga{constructor(E,g,v,N,C,F,V,Y){super(E,g,v,N,C,F,V),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.type=1758889154}}e.IfcElement=L0;class LI extends L0{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.AssemblyPlace=ae,this.PredefinedType=Ze,this.type=4123344466}}e.IfcElementAssembly=LI;class Nv extends op{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=2397081782}}e.IfcElementAssemblyType=Nv;class P0 extends L0{constructor(E,g,v,N,C,F,V,Y){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.type=1623761950}}e.IfcElementComponent=P0;class PI extends op{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.type=2590856083}}e.IfcElementComponentType=PI;class rU extends MD{constructor(E,g,v){super(E),this.Position=E,this.SemiAxis1=g,this.SemiAxis2=v,this.type=1704287377}}e.IfcEllipse=rU;class xr extends OI{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.type=2107101300}}e.IfcEnergyConversionDeviceType=xr;class UD extends xr{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=132023988}}e.IfcEngineType=UD;class lU extends xr{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=3174744832}}e.IfcEvaporativeCoolerType=lU;class aU extends xr{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=3390157468}}e.IfcEvaporatorType=aU;class uU extends QA{constructor(E,g,v,N,C,F,V,Y,ae,Ze,Ii){super(E,g,v,N,C,F,V),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.Identification=F,this.LongDescription=V,this.PredefinedType=Y,this.EventTriggerType=ae,this.UserDefinedEventTriggerType=Ze,this.EventOccurenceTime=Ii,this.type=4148101412}}e.IfcEvent=uU;class AL extends ph{constructor(E,g,v,N,C,F,V,Y){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.LongName=Y,this.type=2853485674}}e.IfcExternalSpatialStructureElement=AL;class bL extends RD{constructor(E){super(E),this.Outer=E,this.type=807026263}}e.IfcFacetedBrep=bL;class cU extends bL{constructor(E,g){super(E),this.Outer=E,this.Voids=g,this.type=3737207727}}e.IfcFacetedBrepWithVoids=cU;class Mg extends gm{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.LongName=Y,this.CompositionType=ae,this.type=24185140}}e.IfcFacility=Mg;class Bg extends gm{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.LongName=Y,this.CompositionType=ae,this.UsageType=Ze,this.type=1310830890}}e.IfcFacilityPart=Bg;class dU extends Bg{constructor(E,g,v,N,C,F,V,Y,ae,Ze,Ii){super(E,g,v,N,C,F,V,Y,ae,Ze),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.LongName=Y,this.CompositionType=ae,this.UsageType=Ze,this.PredefinedType=Ii,this.type=4228831410}}e.IfcFacilityPartCommon=dU;class hU extends P0{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=647756555}}e.IfcFastener=hU;class fU extends PI{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=2489546625}}e.IfcFastenerType=fU;class lb extends L0{constructor(E,g,v,N,C,F,V,Y){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.type=2827207264}}e.IfcFeatureElement=lb;class Fg extends lb{constructor(E,g,v,N,C,F,V,Y){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.type=2143335405}}e.IfcFeatureElementAddition=Fg;class ET extends lb{constructor(E,g,v,N,C,F,V,Y){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.type=1287392070}}e.IfcFeatureElementSubtraction=ET;class ap extends OI{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.type=3907093117}}e.IfcFlowControllerType=ap;class Ug extends OI{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.type=3198132628}}e.IfcFlowFittingType=Ug;class NL extends ap{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=3815607619}}e.IfcFlowMeterType=NL;class ab extends OI{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.type=1482959167}}e.IfcFlowMovingDeviceType=ab;class Hg extends OI{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.type=1834744321}}e.IfcFlowSegmentType=Hg;class HD extends OI{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.type=1339347760}}e.IfcFlowStorageDeviceType=HD;class Ua extends OI{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.type=2297155007}}e.IfcFlowTerminalType=Ua;class _v extends OI{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.type=3009222698}}e.IfcFlowTreatmentDeviceType=_v;class pU extends Eo{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=1893162501}}e.IfcFootingType=pU;class GD extends L0{constructor(E,g,v,N,C,F,V,Y){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.type=263784265}}e.IfcFurnishingElement=GD;class IU extends GD{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=1509553395}}e.IfcFurniture=IU;class _L extends L0{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=3493046030}}e.IfcGeographicElement=_L;class VD extends L0{constructor(E,g,v,N,C,F,V,Y){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.type=4230923436}}e.IfcGeotechnicalElement=VD;class mU extends VD{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=1594536857}}e.IfcGeotechnicalStratum=mU;class Dv extends rb{constructor(E,g,v,N){super(E,g),this.Segments=E,this.SelfIntersect=g,this.BaseCurve=v,this.EndPoint=N,this.type=2898700619}}e.IfcGradientCurve=Dv;class Gg extends hT{constructor(E,g,v,N,C){super(E,g,v,N,C),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.type=2706460486}}e.IfcGroup=Gg;class Cv extends xr{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=1251058090}}e.IfcHeatExchangerType=Cv;class yU extends xr{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=1806887404}}e.IfcHumidifierType=yU;class EU extends P0{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=2568555532}}e.IfcImpactProtectionDevice=EU;class TU extends PI{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=3948183225}}e.IfcImpactProtectionDeviceType=TU;class gU extends Lg{constructor(E,g,v){super(),this.Points=E,this.Segments=g,this.SelfIntersect=v,this.type=2571569899}}e.IfcIndexedPolyCurve=gU;class wU extends _v{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=3946677679}}e.IfcInterceptorType=wU;class vU extends ib{constructor(E,g,v){super(E,g,v),this.Curve3D=E,this.AssociatedGeometry=g,this.MasterRepresentation=v,this.type=3113134337}}e.IfcIntersectionCurve=vU;class RU extends Gg{constructor(E,g,v,N,C,F,V,Y,ae,Ze,Ii){super(E,g,v,N,C),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.PredefinedType=F,this.Jurisdiction=V,this.ResponsiblePersons=Y,this.LastUpdateDate=ae,this.CurrentValue=Ze,this.OriginalValue=Ii,this.type=2391368822}}e.IfcInventory=RU;class SU extends Ug{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=4288270099}}e.IfcJunctionBoxType=SU;class AU extends Eo{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=679976338}}e.IfcKerbType=AU;class DL extends yT{constructor(E,g,v,N,C,F,V,Y,ae,Ze,Ii){super(E,g,v,N,C,F,V,Y,ae,Ze),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.Identification=F,this.LongDescription=V,this.Usage=Y,this.BaseCosts=ae,this.BaseQuantity=Ze,this.PredefinedType=Ii,this.type=3827777499}}e.IfcLaborResource=DL;class bU extends Ua{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=1051575348}}e.IfcLampType=bU;class NU extends Ua{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=1161773419}}e.IfcLightFixtureType=NU;class xv extends ga{constructor(E,g,v,N,C,F,V){super(E,g,v,N,C,F,V),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.type=2176059722}}e.IfcLinearElement=xv;class _U extends Ua{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=1770583370}}e.IfcLiquidTerminalType=_U;class DU extends Mg{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.LongName=Y,this.CompositionType=ae,this.PredefinedType=Ze,this.type=525669439}}e.IfcMarineFacility=DU;class CU extends Bg{constructor(E,g,v,N,C,F,V,Y,ae,Ze,Ii){super(E,g,v,N,C,F,V,Y,ae,Ze),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.LongName=Y,this.CompositionType=ae,this.UsageType=Ze,this.PredefinedType=Ii,this.type=976884017}}e.IfcMarinePart=CU;class xU extends P0{constructor(E,g,v,N,C,F,V,Y,ae,Ze,Ii){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.NominalDiameter=ae,this.NominalLength=Ze,this.PredefinedType=Ii,this.type=377706215}}e.IfcMechanicalFastener=xU;class OU extends PI{constructor(E,g,v,N,C,F,V,Y,ae,Ze,Ii,Xi){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.NominalDiameter=Ii,this.NominalLength=Xi,this.type=2108223431}}e.IfcMechanicalFastenerType=OU;class LU extends Ua{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=1114901282}}e.IfcMedicalDeviceType=LU;class PU extends Eo{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=3181161470}}e.IfcMemberType=PU;class kD extends Ua{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=1950438474}}e.IfcMobileTelecommunicationsApplianceType=kD;class ue extends Eo{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=710110818}}e.IfcMooringDeviceType=ue;class D extends xr{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=977012517}}e.IfcMotorConnectionType=D;class L extends Eo{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=506776471}}e.IfcNavigationElementType=L;class G extends yL{constructor(E,g,v,N,C,F,V){super(E,g,v,N,C,F),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.TheActor=F,this.PredefinedType=V,this.type=4143007308}}e.IfcOccupant=G;class j extends ET{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=3588315303}}e.IfcOpeningElement=j;class te extends Ua{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=2837617999}}e.IfcOutletType=te;class de extends Eo{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=514975943}}e.IfcPavementType=de;class Ie extends Rm{constructor(E,g,v,N,C,F,V,Y){super(E,g,v,N,C,F),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.Identification=F,this.LifeCyclePhase=V,this.PredefinedType=Y,this.type=2382730787}}e.IfcPerformanceHistory=Ie;class Se extends Tm{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.OperationType=C,this.PanelPosition=F,this.FrameDepth=V,this.FrameThickness=Y,this.ShapeAspectStyle=ae,this.type=3566463478}}e.IfcPermeableCoveringProperties=Se;class Be extends Rm{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.Identification=F,this.PredefinedType=V,this.Status=Y,this.LongDescription=ae,this.type=3327091369}}e.IfcPermit=Be;class wt extends BD{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=1158309216}}e.IfcPileType=wt;class Ui extends Ug{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=804291784}}e.IfcPipeFittingType=Ui;class yn extends Hg{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=4231323485}}e.IfcPipeSegmentType=yn;class qn extends Eo{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=4017108033}}e.IfcPlateType=qn;class Pn extends Sv{constructor(E,g,v,N){super(E),this.Coordinates=E,this.Closed=g,this.Faces=v,this.PnIndex=N,this.type=2839578677}}e.IfcPolygonalFaceSet=Pn;class qo extends Lg{constructor(E){super(),this.Points=E,this.type=3724593414}}e.IfcPolyline=qo;class zc extends ga{constructor(E,g,v,N,C,F,V){super(E,g,v,N,C,F,V),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.type=3740093272}}e.IfcPort=zc;class Au extends ga{constructor(E,g,v,N,C,F,V){super(E,g,v,N,C,F,V),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.type=1946335990}}e.IfcPositioningElement=Au;class ay extends QA{constructor(E,g,v,N,C,F,V,Y){super(E,g,v,N,C,F,V),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.Identification=F,this.LongDescription=V,this.PredefinedType=Y,this.type=2744685151}}e.IfcProcedure=ay;class uy extends Rm{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.Identification=F,this.PredefinedType=V,this.Status=Y,this.LongDescription=ae,this.type=2904328755}}e.IfcProjectOrder=uy;class Vg extends Fg{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=3651124850}}e.IfcProjectionElement=Vg;class kg extends ap{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=1842657554}}e.IfcProtectiveDeviceType=kg;class zg extends ab{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=2250791053}}e.IfcPumpType=zg;class Wg extends Eo{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=1763565496}}e.IfcRailType=Wg;class MU extends Eo{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=2893384427}}e.IfcRailingType=MU;class BU extends Mg{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.LongName=Y,this.CompositionType=ae,this.PredefinedType=Ze,this.type=3992365140}}e.IfcRailway=BU;class FU extends Bg{constructor(E,g,v,N,C,F,V,Y,ae,Ze,Ii){super(E,g,v,N,C,F,V,Y,ae,Ze),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.LongName=Y,this.CompositionType=ae,this.UsageType=Ze,this.PredefinedType=Ii,this.type=1891881377}}e.IfcRailwayPart=FU;class UU extends Eo{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=2324767716}}e.IfcRampFlightType=UU;class IJ extends Eo{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=1469900589}}e.IfcRampType=IJ;class mJ extends mT{constructor(E,g,v,N,C,F,V,Y,ae,Ze,Ii,Xi,Jn){super(E,g,v,N,C,F,V,Y,ae,Ze,Ii,Xi),this.UDegree=E,this.VDegree=g,this.ControlPointsList=v,this.SurfaceForm=N,this.UClosed=C,this.VClosed=F,this.SelfIntersect=V,this.UMultiplicities=Y,this.VMultiplicities=ae,this.UKnots=Ze,this.VKnots=Ii,this.KnotSpec=Xi,this.WeightsData=Jn,this.type=683857671}}e.IfcRationalBSplineSurfaceWithKnots=mJ;class zz extends Au{constructor(E,g,v,N,C,F,V,Y){super(E,g,v,N,C,F,V),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.PredefinedType=Y,this.type=4021432810}}e.IfcReferent=zz;class ub extends P0{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.SteelGrade=ae,this.type=3027567501}}e.IfcReinforcingElement=ub;class cb extends PI{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.type=964333572}}e.IfcReinforcingElementType=cb;class yJ extends ub{constructor(E,g,v,N,C,F,V,Y,ae,Ze,Ii,Xi,Jn,Co,Ha,Ac,hf,qg){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.SteelGrade=ae,this.MeshLength=Ze,this.MeshWidth=Ii,this.LongitudinalBarNominalDiameter=Xi,this.TransverseBarNominalDiameter=Jn,this.LongitudinalBarCrossSectionArea=Co,this.TransverseBarCrossSectionArea=Ha,this.LongitudinalBarSpacing=Ac,this.TransverseBarSpacing=hf,this.PredefinedType=qg,this.type=2320036040}}e.IfcReinforcingMesh=yJ;class EJ extends cb{constructor(E,g,v,N,C,F,V,Y,ae,Ze,Ii,Xi,Jn,Co,Ha,Ac,hf,qg,PL,ML){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.MeshLength=Ii,this.MeshWidth=Xi,this.LongitudinalBarNominalDiameter=Jn,this.TransverseBarNominalDiameter=Co,this.LongitudinalBarCrossSectionArea=Ha,this.TransverseBarCrossSectionArea=Ac,this.LongitudinalBarSpacing=hf,this.TransverseBarSpacing=qg,this.BendingShapeCode=PL,this.BendingParameters=ML,this.type=2310774935}}e.IfcReinforcingMeshType=EJ;class TJ extends Dg{constructor(E,g,v,N,C,F){super(E,g,v,N),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.RelatingElement=C,this.RelatedSurfaceFeatures=F,this.type=3818125796}}e.IfcRelAdheresToElement=TJ;class gJ extends Dg{constructor(E,g,v,N,C,F){super(E,g,v,N),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.RelatingObject=C,this.RelatedObjects=F,this.type=160246688}}e.IfcRelAggregates=gJ;class wJ extends Mg{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.LongName=Y,this.CompositionType=ae,this.PredefinedType=Ze,this.type=146592293}}e.IfcRoad=wJ;class vJ extends Bg{constructor(E,g,v,N,C,F,V,Y,ae,Ze,Ii){super(E,g,v,N,C,F,V,Y,ae,Ze),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.LongName=Y,this.CompositionType=ae,this.UsageType=Ze,this.PredefinedType=Ii,this.type=550521510}}e.IfcRoadPart=vJ;class RJ extends Eo{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=2781568857}}e.IfcRoofType=RJ;class SJ extends Ua{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=1768891740}}e.IfcSanitaryTerminalType=SJ;class AJ extends ib{constructor(E,g,v){super(E,g,v),this.Curve3D=E,this.AssociatedGeometry=g,this.MasterRepresentation=v,this.type=2157484638}}e.IfcSeamCurve=AJ;class bJ extends IT{constructor(E,g,v,N){super(E),this.Position=E,this.QuadraticTerm=g,this.LinearTerm=v,this.ConstantTerm=N,this.type=3649235739}}e.IfcSecondOrderPolynomialSpiral=bJ;class NJ extends rb{constructor(E,g,v,N){super(E,g),this.Segments=E,this.SelfIntersect=g,this.BaseCurve=v,this.EndPoint=N,this.type=544395925}}e.IfcSegmentedReferenceCurve=NJ;class _J extends IT{constructor(E,g,v,N,C,F,V,Y,ae){super(E),this.Position=E,this.SepticTerm=g,this.SexticTerm=v,this.QuinticTerm=N,this.QuarticTerm=C,this.CubicTerm=F,this.QuadraticTerm=V,this.LinearTerm=Y,this.ConstantTerm=ae,this.type=1027922057}}e.IfcSeventhOrderPolynomialSpiral=_J;class DJ extends Eo{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=4074543187}}e.IfcShadingDeviceType=DJ;class Yg extends P0{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=33720170}}e.IfcSign=Yg;class HU extends PI{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=3599934289}}e.IfcSignType=HU;class cy extends Ua{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=1894708472}}e.IfcSignalType=cy;class CJ extends IT{constructor(E,g,v,N){super(E),this.Position=E,this.SineTerm=g,this.LinearTerm=v,this.ConstantTerm=N,this.type=42703149}}e.IfcSineSpiral=CJ;class Wz extends gm{constructor(E,g,v,N,C,F,V,Y,ae,Ze,Ii,Xi,Jn,Co){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.LongName=Y,this.CompositionType=ae,this.RefLatitude=Ze,this.RefLongitude=Ii,this.RefElevation=Xi,this.LandTitleNumber=Jn,this.SiteAddress=Co,this.type=4097777520}}e.IfcSite=Wz;class Yz extends Eo{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=2533589738}}e.IfcSlabType=Yz;class xJ extends xr{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=1072016465}}e.IfcSolarDeviceType=xJ;class OJ extends gm{constructor(E,g,v,N,C,F,V,Y,ae,Ze,Ii){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.LongName=Y,this.CompositionType=ae,this.PredefinedType=Ze,this.ElevationWithFlooring=Ii,this.type=3856911033}}e.IfcSpace=OJ;class LJ extends Ua{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=1305183839}}e.IfcSpaceHeaterType=LJ;class PJ extends Rv{constructor(E,g,v,N,C,F,V,Y,ae,Ze,Ii){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.LongName=Ii,this.type=3812236995}}e.IfcSpaceType=PJ;class MJ extends Ua{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=3112655638}}e.IfcStackTerminalType=MJ;class BJ extends Eo{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=1039846685}}e.IfcStairFlightType=BJ;class FJ extends Eo{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=338393293}}e.IfcStairType=FJ;class CL extends wm{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.AppliedLoad=Y,this.GlobalOrLocal=ae,this.DestabilizingLoad=Ze,this.type=682877961}}e.IfcStructuralAction=CL;class xL extends xI{constructor(E,g,v,N,C,F,V,Y){super(E,g,v,N,C,F,V),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.AppliedCondition=Y,this.type=1179482911}}e.IfcStructuralConnection=xL;class jz extends CL{constructor(E,g,v,N,C,F,V,Y,ae,Ze,Ii,Xi){super(E,g,v,N,C,F,V,Y,ae,Ze),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.AppliedLoad=Y,this.GlobalOrLocal=ae,this.DestabilizingLoad=Ze,this.ProjectedOrTrue=Ii,this.PredefinedType=Xi,this.type=1004757350}}e.IfcStructuralCurveAction=jz;class va extends xL{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.AppliedCondition=Y,this.AxisDirection=ae,this.type=4243806635}}e.IfcStructuralCurveConnection=va;class qz extends CD{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.PredefinedType=Y,this.Axis=ae,this.type=214636428}}e.IfcStructuralCurveMember=qz;class UJ extends qz{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.PredefinedType=Y,this.Axis=ae,this.type=2445595289}}e.IfcStructuralCurveMemberVarying=UJ;class HJ extends ur{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.AppliedLoad=Y,this.GlobalOrLocal=ae,this.PredefinedType=Ze,this.type=2757150158}}e.IfcStructuralCurveReaction=HJ;class GJ extends jz{constructor(E,g,v,N,C,F,V,Y,ae,Ze,Ii,Xi){super(E,g,v,N,C,F,V,Y,ae,Ze,Ii,Xi),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.AppliedLoad=Y,this.GlobalOrLocal=ae,this.DestabilizingLoad=Ze,this.ProjectedOrTrue=Ii,this.PredefinedType=Xi,this.type=1807405624}}e.IfcStructuralLinearAction=GJ;class $z extends Gg{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.PredefinedType=F,this.ActionType=V,this.ActionSource=Y,this.Coefficient=ae,this.Purpose=Ze,this.type=1252848954}}e.IfcStructuralLoadGroup=$z;class VJ extends CL{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae,Ze),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.AppliedLoad=Y,this.GlobalOrLocal=ae,this.DestabilizingLoad=Ze,this.type=2082059205}}e.IfcStructuralPointAction=VJ;class kJ extends xL{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.AppliedCondition=Y,this.ConditionCoordinateSystem=ae,this.type=734778138}}e.IfcStructuralPointConnection=kJ;class TT extends ur{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.AppliedLoad=Y,this.GlobalOrLocal=ae,this.type=1235345126}}e.IfcStructuralPointReaction=TT;class db extends Gg{constructor(E,g,v,N,C,F,V,Y){super(E,g,v,N,C),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.TheoryType=F,this.ResultForLoadGroup=V,this.IsLinear=Y,this.type=2986769608}}e.IfcStructuralResultGroup=db;class Zz extends CL{constructor(E,g,v,N,C,F,V,Y,ae,Ze,Ii,Xi){super(E,g,v,N,C,F,V,Y,ae,Ze),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.AppliedLoad=Y,this.GlobalOrLocal=ae,this.DestabilizingLoad=Ze,this.ProjectedOrTrue=Ii,this.PredefinedType=Xi,this.type=3657597509}}e.IfcStructuralSurfaceAction=Zz;class zJ extends xL{constructor(E,g,v,N,C,F,V,Y){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.AppliedCondition=Y,this.type=1975003073}}e.IfcStructuralSurfaceConnection=zJ;class OL extends yT{constructor(E,g,v,N,C,F,V,Y,ae,Ze,Ii){super(E,g,v,N,C,F,V,Y,ae,Ze),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.Identification=F,this.LongDescription=V,this.Usage=Y,this.BaseCosts=ae,this.BaseQuantity=Ze,this.PredefinedType=Ii,this.type=148013059}}e.IfcSubContractResource=OL;class zD extends lb{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=3101698114}}e.IfcSurfaceFeature=zD;class GU extends ap{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=2315554128}}e.IfcSwitchingDeviceType=GU;class bu extends Gg{constructor(E,g,v,N,C){super(E,g,v,N,C),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.type=2254336722}}e.IfcSystem=bu;class LL extends GD{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=413509423}}e.IfcSystemFurnitureElement=LL;class WJ extends HD{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=5716631}}e.IfcTankType=WJ;class YJ extends ub{constructor(E,g,v,N,C,F,V,Y,ae,Ze,Ii,Xi,Jn,Co,Ha,Ac,hf){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.SteelGrade=ae,this.PredefinedType=Ze,this.NominalDiameter=Ii,this.CrossSectionArea=Xi,this.TensionForce=Jn,this.PreStress=Co,this.FrictionCoefficient=Ha,this.AnchorageSlip=Ac,this.MinCurvatureRadius=hf,this.type=3824725483}}e.IfcTendon=YJ;class jJ extends ub{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.SteelGrade=ae,this.PredefinedType=Ze,this.type=2347447852}}e.IfcTendonAnchor=jJ;class qJ extends cb{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=3081323446}}e.IfcTendonAnchorType=qJ;class $J extends ub{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.SteelGrade=ae,this.PredefinedType=Ze,this.type=3663046924}}e.IfcTendonConduit=$J;class ZJ extends cb{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=2281632017}}e.IfcTendonConduitType=ZJ;class KJ extends cb{constructor(E,g,v,N,C,F,V,Y,ae,Ze,Ii,Xi,Jn){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.NominalDiameter=Ii,this.CrossSectionArea=Xi,this.SheathDiameter=Jn,this.type=2415094496}}e.IfcTendonType=KJ;class QJ extends Eo{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=618700268}}e.IfcTrackElementType=QJ;class Kz extends xr{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=1692211062}}e.IfcTransformerType=Kz;class JJ extends OD{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=2097647324}}e.IfcTransportElementType=JJ;class VU extends L0{constructor(E,g,v,N,C,F,V,Y){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.type=1953115116}}e.IfcTransportationDevice=VU;class XJ extends Lg{constructor(E,g,v,N,C){super(),this.BasisCurve=E,this.Trim1=g,this.Trim2=v,this.SenseAgreement=N,this.MasterRepresentation=C,this.type=3593883385}}e.IfcTrimmedCurve=XJ;class eX extends xr{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=1600972822}}e.IfcTubeBundleType=eX;class tX extends xr{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=1911125066}}e.IfcUnitaryEquipmentType=tX;class iX extends ap{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=728799441}}e.IfcValveType=iX;class nX extends VU{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=840318589}}e.IfcVehicle=nX;class Qz extends P0{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=1530820697}}e.IfcVibrationDamper=Qz;class sX extends PI{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=3956297820}}e.IfcVibrationDamperType=sX;class oX extends P0{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=2391383451}}e.IfcVibrationIsolator=oX;class rX extends PI{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=3313531582}}e.IfcVibrationIsolatorType=rX;class lX extends L0{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=2769231204}}e.IfcVirtualElement=lX;class aX extends ET{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=926996030}}e.IfcVoidingFeature=aX;class uX extends Eo{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=1898987631}}e.IfcWallType=uX;class cX extends Ua{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=1133259667}}e.IfcWasteTerminalType=cX;class dX extends Eo{constructor(E,g,v,N,C,F,V,Y,ae,Ze,Ii,Xi,Jn){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.PartitioningType=Ii,this.ParameterTakesPrecedence=Xi,this.UserDefinedPartitioningType=Jn,this.type=4009809668}}e.IfcWindowType=dX;class hX extends Rm{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.Identification=F,this.WorkingTimes=V,this.ExceptionTimes=Y,this.PredefinedType=ae,this.type=4088093105}}e.IfcWorkCalendar=hX;class kU extends Rm{constructor(E,g,v,N,C,F,V,Y,ae,Ze,Ii,Xi,Jn){super(E,g,v,N,C,F),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.Identification=F,this.CreationDate=V,this.Creators=Y,this.Purpose=ae,this.Duration=Ze,this.TotalFloat=Ii,this.StartTime=Xi,this.FinishTime=Jn,this.type=1028945134}}e.IfcWorkControl=kU;class fX extends kU{constructor(E,g,v,N,C,F,V,Y,ae,Ze,Ii,Xi,Jn,Co){super(E,g,v,N,C,F,V,Y,ae,Ze,Ii,Xi,Jn),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.Identification=F,this.CreationDate=V,this.Creators=Y,this.Purpose=ae,this.Duration=Ze,this.TotalFloat=Ii,this.StartTime=Xi,this.FinishTime=Jn,this.PredefinedType=Co,this.type=4218914973}}e.IfcWorkPlan=fX;class pX extends kU{constructor(E,g,v,N,C,F,V,Y,ae,Ze,Ii,Xi,Jn,Co){super(E,g,v,N,C,F,V,Y,ae,Ze,Ii,Xi,Jn),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.Identification=F,this.CreationDate=V,this.Creators=Y,this.Purpose=ae,this.Duration=Ze,this.TotalFloat=Ii,this.StartTime=Xi,this.FinishTime=Jn,this.PredefinedType=Co,this.type=3342526732}}e.IfcWorkSchedule=pX;class IX extends bu{constructor(E,g,v,N,C,F){super(E,g,v,N,C),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.LongName=F,this.type=1033361043}}e.IfcZone=IX;class mX extends Rm{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.Identification=F,this.PredefinedType=V,this.Status=Y,this.LongDescription=ae,this.type=3821786052}}e.IfcActionRequest=mX;class zU extends ap{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=1411407467}}e.IfcAirTerminalBoxType=zU;class yX extends Ua{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=3352864051}}e.IfcAirTerminalType=yX;class EX extends xr{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=1871374353}}e.IfcAirToAirHeatRecoveryType=EX;class TX extends xv{constructor(E,g,v,N,C,F,V,Y){super(E,g,v,N,C,F,V),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.RailHeadDistance=Y,this.type=4266260250}}e.IfcAlignmentCant=TX;class gX extends xv{constructor(E,g,v,N,C,F,V){super(E,g,v,N,C,F,V),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.type=1545765605}}e.IfcAlignmentHorizontal=gX;class wX extends xv{constructor(E,g,v,N,C,F,V,Y){super(E,g,v,N,C,F,V),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.DesignParameters=Y,this.type=317615605}}e.IfcAlignmentSegment=wX;class vX extends xv{constructor(E,g,v,N,C,F,V){super(E,g,v,N,C,F,V),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.type=1662888072}}e.IfcAlignmentVertical=vX;class RX extends Gg{constructor(E,g,v,N,C,F,V,Y,ae,Ze,Ii,Xi,Jn,Co){super(E,g,v,N,C),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.Identification=F,this.OriginalValue=V,this.CurrentValue=Y,this.TotalReplacementCost=ae,this.Owner=Ze,this.User=Ii,this.ResponsiblePerson=Xi,this.IncorporationDate=Jn,this.DepreciatedValue=Co,this.type=3460190687}}e.IfcAsset=RX;class SX extends Ua{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=1532957894}}e.IfcAudioVisualApplianceType=SX;class Jz extends Lg{constructor(E,g,v,N,C){super(),this.Degree=E,this.ControlPointsList=g,this.CurveForm=v,this.ClosedCurve=N,this.SelfIntersect=C,this.type=1967976161}}e.IfcBSplineCurve=Jz;class Xz extends Jz{constructor(E,g,v,N,C,F,V,Y){super(E,g,v,N,C),this.Degree=E,this.ControlPointsList=g,this.CurveForm=v,this.ClosedCurve=N,this.SelfIntersect=C,this.KnotMultiplicities=F,this.Knots=V,this.KnotSpec=Y,this.type=2461110595}}e.IfcBSplineCurveWithKnots=Xz;class AX extends Eo{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=819618141}}e.IfcBeamType=AX;class bX extends Eo{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=3649138523}}e.IfcBearingType=bX;class NX extends xr{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=231477066}}e.IfcBoilerType=NX;class eW extends wL{constructor(E,g){super(E,g),this.Segments=E,this.SelfIntersect=g,this.type=1136057603}}e.IfcBoundaryCurve=eW;class _X extends Mg{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.LongName=Y,this.CompositionType=ae,this.PredefinedType=Ze,this.type=644574406}}e.IfcBridge=_X;class DX extends Bg{constructor(E,g,v,N,C,F,V,Y,ae,Ze,Ii){super(E,g,v,N,C,F,V,Y,ae,Ze),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.LongName=Y,this.CompositionType=ae,this.UsageType=Ze,this.PredefinedType=Ii,this.type=963979645}}e.IfcBridgePart=DX;class CX extends Mg{constructor(E,g,v,N,C,F,V,Y,ae,Ze,Ii,Xi){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.LongName=Y,this.CompositionType=ae,this.ElevationOfRefHeight=Ze,this.ElevationOfTerrain=Ii,this.BuildingAddress=Xi,this.type=4031249490}}e.IfcBuilding=CX;class WU extends P0{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=2979338954}}e.IfcBuildingElementPart=WU;class xX extends PI{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=39481116}}e.IfcBuildingElementPartType=xX;class OX extends Eo{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=1909888760}}e.IfcBuildingElementProxyType=OX;class LX extends bu{constructor(E,g,v,N,C,F,V){super(E,g,v,N,C),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.PredefinedType=F,this.LongName=V,this.type=1177604601}}e.IfcBuildingSystem=LX;class To extends L0{constructor(E,g,v,N,C,F,V,Y){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.type=1876633798}}e.IfcBuiltElement=To;class PX extends bu{constructor(E,g,v,N,C,F,V){super(E,g,v,N,C),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.PredefinedType=F,this.LongName=V,this.type=3862327254}}e.IfcBuiltSystem=PX;class MX extends xr{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=2188180465}}e.IfcBurnerType=MX;class BX extends Ug{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=395041908}}e.IfcCableCarrierFittingType=BX;class FX extends Hg{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=3293546465}}e.IfcCableCarrierSegmentType=FX;class UX extends Ug{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=2674252688}}e.IfcCableFittingType=UX;class HX extends Hg{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=1285652485}}e.IfcCableSegmentType=HX;class GX extends BD{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=3203706013}}e.IfcCaissonFoundationType=GX;class tW extends xr{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=2951183804}}e.IfcChillerType=tW;class VX extends To{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=3296154744}}e.IfcChimney=VX;class kX extends MD{constructor(E,g){super(E),this.Position=E,this.Radius=g,this.type=2611217952}}e.IfcCircle=kX;class zX extends L0{constructor(E,g,v,N,C,F,V,Y){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.type=1677625105}}e.IfcCivilElement=zX;class WX extends xr{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=2301859152}}e.IfcCoilType=WX;class YX extends To{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=843113511}}e.IfcColumn=YX;class jX extends Ua{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=400855858}}e.IfcCommunicationsApplianceType=jX;class qX extends ab{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=3850581409}}e.IfcCompressorType=qX;class $X extends xr{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=2816379211}}e.IfcCondenserType=$X;class ZX extends yT{constructor(E,g,v,N,C,F,V,Y,ae,Ze,Ii){super(E,g,v,N,C,F,V,Y,ae,Ze),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.Identification=F,this.LongDescription=V,this.Usage=Y,this.BaseCosts=ae,this.BaseQuantity=Ze,this.PredefinedType=Ii,this.type=3898045240}}e.IfcConstructionEquipmentResource=ZX;class KX extends yT{constructor(E,g,v,N,C,F,V,Y,ae,Ze,Ii){super(E,g,v,N,C,F,V,Y,ae,Ze),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.Identification=F,this.LongDescription=V,this.Usage=Y,this.BaseCosts=ae,this.BaseQuantity=Ze,this.PredefinedType=Ii,this.type=1060000209}}e.IfcConstructionMaterialResource=KX;class QX extends yT{constructor(E,g,v,N,C,F,V,Y,ae,Ze,Ii){super(E,g,v,N,C,F,V,Y,ae,Ze),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.Identification=F,this.LongDescription=V,this.Usage=Y,this.BaseCosts=ae,this.BaseQuantity=Ze,this.PredefinedType=Ii,this.type=488727124}}e.IfcConstructionProductResource=QX;class JX extends Hg{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=2940368186}}e.IfcConveyorSegmentType=JX;class XX extends xr{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=335055490}}e.IfcCooledBeamType=XX;class eee extends xr{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=2954562838}}e.IfcCoolingTowerType=eee;class tee extends To{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=1502416096}}e.IfcCourse=tee;class iee extends To{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=1973544240}}e.IfcCovering=iee;class nee extends To{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=3495092785}}e.IfcCurtainWall=nee;class see extends ap{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=3961806047}}e.IfcDamperType=see;class dy extends To{constructor(E,g,v,N,C,F,V,Y){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.type=3426335179}}e.IfcDeepFoundation=dy;class oee extends P0{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=1335981549}}e.IfcDiscreteAccessory=oee;class ree extends PI{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=2635815018}}e.IfcDiscreteAccessoryType=ree;class lee extends ap{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=479945903}}e.IfcDistributionBoardType=lee;class aee extends OI{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=1599208980}}e.IfcDistributionChamberElementType=aee;class jg extends FD{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.type=2063403501}}e.IfcDistributionControlElementType=jg;class YU extends L0{constructor(E,g,v,N,C,F,V,Y){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.type=1945004755}}e.IfcDistributionElement=YU;class hy extends YU{constructor(E,g,v,N,C,F,V,Y){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.type=3040386961}}e.IfcDistributionFlowElement=hy;class uee extends zc{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.FlowDirection=Y,this.PredefinedType=ae,this.SystemType=Ze,this.type=3041715199}}e.IfcDistributionPort=uee;class iW extends bu{constructor(E,g,v,N,C,F,V){super(E,g,v,N,C),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.LongName=F,this.PredefinedType=V,this.type=3205830791}}e.IfcDistributionSystem=iW;class cee extends To{constructor(E,g,v,N,C,F,V,Y,ae,Ze,Ii,Xi,Jn){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.OverallHeight=ae,this.OverallWidth=Ze,this.PredefinedType=Ii,this.OperationType=Xi,this.UserDefinedOperationType=Jn,this.type=395920057}}e.IfcDoor=cee;class dee extends Ug{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=869906466}}e.IfcDuctFittingType=dee;class hee extends Hg{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=3760055223}}e.IfcDuctSegmentType=hee;class fee extends _v{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=2030761528}}e.IfcDuctSilencerType=fee;class pee extends ET{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=3071239417}}e.IfcEarthworksCut=pee;class jU extends To{constructor(E,g,v,N,C,F,V,Y){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.type=1077100507}}e.IfcEarthworksElement=jU;class Iee extends jU{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=3376911765}}e.IfcEarthworksFill=Iee;class mee extends Ua{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=663422040}}e.IfcElectricApplianceType=mee;class yee extends ap{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=2417008758}}e.IfcElectricDistributionBoardType=yee;class Eee extends HD{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=3277789161}}e.IfcElectricFlowStorageDeviceType=Eee;class Q extends _v{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=2142170206}}e.IfcElectricFlowTreatmentDeviceType=Q;class w extends xr{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=1534661035}}e.IfcElectricGeneratorType=w;class S extends xr{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=1217240411}}e.IfcElectricMotorType=S;class _ extends ap{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=712377611}}e.IfcElectricTimeControlType=_;class x extends hy{constructor(E,g,v,N,C,F,V,Y){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.type=1658829314}}e.IfcEnergyConversionDevice=x;class H extends x{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=2814081492}}e.IfcEngine=H;class z extends x{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=3747195512}}e.IfcEvaporativeCooler=z;class $ extends x{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=484807127}}e.IfcEvaporator=$;class J extends AL{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.LongName=Y,this.PredefinedType=ae,this.type=1209101575}}e.IfcExternalSpatialElement=J;class fe extends ab{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=346874300}}e.IfcFanType=fe;class it extends _v{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=1810631287}}e.IfcFilterType=it;class pi extends Ua{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=4222183408}}e.IfcFireSuppressionTerminalType=pi;class Bi extends hy{constructor(E,g,v,N,C,F,V,Y){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.type=2058353004}}e.IfcFlowController=Bi;class Dn extends hy{constructor(E,g,v,N,C,F,V,Y){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.type=4278956645}}e.IfcFlowFitting=Dn;class go extends jg{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=4037862832}}e.IfcFlowInstrumentType=go;class jl extends Bi{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=2188021234}}e.IfcFlowMeter=jl;class Or extends hy{constructor(E,g,v,N,C,F,V,Y){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.type=3132237377}}e.IfcFlowMovingDevice=Or;class Ra extends hy{constructor(E,g,v,N,C,F,V,Y){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.type=987401354}}e.IfcFlowSegment=Ra;class MI extends hy{constructor(E,g,v,N,C,F,V,Y){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.type=707683696}}e.IfcFlowStorageDevice=MI;class ql extends hy{constructor(E,g,v,N,C,F,V,Y){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.type=2223149337}}e.IfcFlowTerminal=ql;class fy extends hy{constructor(E,g,v,N,C,F,V,Y){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.type=3508470533}}e.IfcFlowTreatmentDevice=fy;class Tee extends To{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=900683007}}e.IfcFooting=Tee;class nW extends VD{constructor(E,g,v,N,C,F,V,Y){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.type=2713699986}}e.IfcGeotechnicalAssembly=nW;class y4e extends Au{constructor(E,g,v,N,C,F,V,Y,ae,Ze,Ii){super(E,g,v,N,C,F,V),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.UAxes=Y,this.VAxes=ae,this.WAxes=Ze,this.PredefinedType=Ii,this.type=3009204131}}e.IfcGrid=y4e;class E4e extends x{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=3319311131}}e.IfcHeatExchanger=E4e;class T4e extends x{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=2068733104}}e.IfcHumidifier=T4e;class g4e extends fy{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=4175244083}}e.IfcInterceptor=g4e;class w4e extends Dn{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=2176052936}}e.IfcJunctionBox=w4e;class v4e extends To{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=2696325953}}e.IfcKerb=v4e;class R4e extends ql{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=76236018}}e.IfcLamp=R4e;class S4e extends ql{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=629592764}}e.IfcLightFixture=S4e;class k0e extends Au{constructor(E,g,v,N,C,F,V){super(E,g,v,N,C,F,V),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.type=1154579445}}e.IfcLinearPositioningElement=k0e;class A4e extends ql{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=1638804497}}e.IfcLiquidTerminal=A4e;class b4e extends ql{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=1437502449}}e.IfcMedicalDevice=b4e;class N4e extends To{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=1073191201}}e.IfcMember=N4e;class _4e extends ql{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=2078563270}}e.IfcMobileTelecommunicationsAppliance=_4e;class D4e extends To{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=234836483}}e.IfcMooringDevice=D4e;class C4e extends x{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=2474470126}}e.IfcMotorConnection=C4e;class x4e extends To{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=2182337498}}e.IfcNavigationElement=x4e;class O4e extends eW{constructor(E,g){super(E,g),this.Segments=E,this.SelfIntersect=g,this.type=144952367}}e.IfcOuterBoundaryCurve=O4e;class L4e extends ql{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=3694346114}}e.IfcOutlet=L4e;class P4e extends To{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=1383356374}}e.IfcPavement=P4e;class M4e extends dy{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.ConstructionType=Ze,this.type=1687234759}}e.IfcPile=M4e;class B4e extends Dn{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=310824031}}e.IfcPipeFitting=B4e;class F4e extends Ra{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=3612865200}}e.IfcPipeSegment=F4e;class U4e extends To{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=3171933400}}e.IfcPlate=U4e;class H4e extends Bi{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=738039164}}e.IfcProtectiveDevice=H4e;class G4e extends jg{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=655969474}}e.IfcProtectiveDeviceTrippingUnitType=G4e;class V4e extends Or{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=90941305}}e.IfcPump=V4e;class k4e extends To{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=3290496277}}e.IfcRail=k4e;class z4e extends To{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=2262370178}}e.IfcRailing=z4e;class W4e extends To{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=3024970846}}e.IfcRamp=W4e;class Y4e extends To{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=3283111854}}e.IfcRampFlight=Y4e;class j4e extends Xz{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.Degree=E,this.ControlPointsList=g,this.CurveForm=v,this.ClosedCurve=N,this.SelfIntersect=C,this.KnotMultiplicities=F,this.Knots=V,this.KnotSpec=Y,this.WeightsData=ae,this.type=1232101972}}e.IfcRationalBSplineCurveWithKnots=j4e;class q4e extends jU{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=3798194928}}e.IfcReinforcedSoil=q4e;class $4e extends ub{constructor(E,g,v,N,C,F,V,Y,ae,Ze,Ii,Xi,Jn,Co){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.SteelGrade=ae,this.NominalDiameter=Ze,this.CrossSectionArea=Ii,this.BarLength=Xi,this.PredefinedType=Jn,this.BarSurface=Co,this.type=979691226}}e.IfcReinforcingBar=$4e;class Z4e extends cb{constructor(E,g,v,N,C,F,V,Y,ae,Ze,Ii,Xi,Jn,Co,Ha,Ac){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.NominalDiameter=Ii,this.CrossSectionArea=Xi,this.BarLength=Jn,this.BarSurface=Co,this.BendingShapeCode=Ha,this.BendingParameters=Ac,this.type=2572171363}}e.IfcReinforcingBarType=Z4e;class K4e extends To{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=2016517767}}e.IfcRoof=K4e;class Q4e extends ql{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=3053780830}}e.IfcSanitaryTerminal=Q4e;class J4e extends jg{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=1783015770}}e.IfcSensorType=J4e;class X4e extends To{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=1329646415}}e.IfcShadingDevice=X4e;class eve extends ql{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=991950508}}e.IfcSignal=eve;class tve extends To{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=1529196076}}e.IfcSlab=tve;class ive extends x{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=3420628829}}e.IfcSolarDevice=ive;class nve extends ql{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=1999602285}}e.IfcSpaceHeater=nve;class sve extends ql{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=1404847402}}e.IfcStackTerminal=sve;class ove extends To{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=331165859}}e.IfcStair=ove;class rve extends To{constructor(E,g,v,N,C,F,V,Y,ae,Ze,Ii,Xi,Jn){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.NumberOfRisers=ae,this.NumberOfTreads=Ze,this.RiserHeight=Ii,this.TreadLength=Xi,this.PredefinedType=Jn,this.type=4252922144}}e.IfcStairFlight=rve;class lve extends bu{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.PredefinedType=F,this.OrientationOf2DPlane=V,this.LoadedBy=Y,this.HasResults=ae,this.SharedPlacement=Ze,this.type=2515109513}}e.IfcStructuralAnalysisModel=lve;class ave extends $z{constructor(E,g,v,N,C,F,V,Y,ae,Ze,Ii){super(E,g,v,N,C,F,V,Y,ae,Ze),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.PredefinedType=F,this.ActionType=V,this.ActionSource=Y,this.Coefficient=ae,this.Purpose=Ze,this.SelfWeightCoefficients=Ii,this.type=385403989}}e.IfcStructuralLoadCase=ave;class uve extends Zz{constructor(E,g,v,N,C,F,V,Y,ae,Ze,Ii,Xi){super(E,g,v,N,C,F,V,Y,ae,Ze,Ii,Xi),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.AppliedLoad=Y,this.GlobalOrLocal=ae,this.DestabilizingLoad=Ze,this.ProjectedOrTrue=Ii,this.PredefinedType=Xi,this.type=1621171031}}e.IfcStructuralPlanarAction=uve;class cve extends Bi{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=1162798199}}e.IfcSwitchingDevice=cve;class dve extends MI{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=812556717}}e.IfcTank=dve;class hve extends To{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=3425753595}}e.IfcTrackElement=hve;class fve extends x{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=3825984169}}e.IfcTransformer=fve;class pve extends VU{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=1620046519}}e.IfcTransportElement=pve;class Ive extends x{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=3026737570}}e.IfcTubeBundle=Ive;class mve extends jg{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=3179687236}}e.IfcUnitaryControlElementType=mve;class yve extends x{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=4292641817}}e.IfcUnitaryEquipment=yve;class Eve extends Bi{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=4207607924}}e.IfcValve=Eve;class z0e extends To{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=2391406946}}e.IfcWall=z0e;class Tve extends z0e{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=3512223829}}e.IfcWallStandardCase=Tve;class gve extends ql{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=4237592921}}e.IfcWasteTerminal=gve;class wve extends To{constructor(E,g,v,N,C,F,V,Y,ae,Ze,Ii,Xi,Jn){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.OverallHeight=ae,this.OverallWidth=Ze,this.PredefinedType=Ii,this.PartitioningType=Xi,this.UserDefinedPartitioningType=Jn,this.type=3304561284}}e.IfcWindow=wve;class vve extends jg{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=2874132201}}e.IfcActuatorType=vve;class Rve extends ql{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=1634111441}}e.IfcAirTerminal=Rve;class Sve extends Bi{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=177149247}}e.IfcAirTerminalBox=Sve;class Ave extends x{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=2056796094}}e.IfcAirToAirHeatRecovery=Ave;class bve extends jg{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=3001207471}}e.IfcAlarmType=bve;class Nve extends k0e{constructor(E,g,v,N,C,F,V,Y){super(E,g,v,N,C,F,V),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.PredefinedType=Y,this.type=325726236}}e.IfcAlignment=Nve;class _ve extends ql{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=277319702}}e.IfcAudioVisualAppliance=_ve;class Dve extends To{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=753842376}}e.IfcBeam=Dve;class Cve extends To{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=4196446775}}e.IfcBearing=Cve;class xve extends x{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=32344328}}e.IfcBoiler=xve;class Ove extends nW{constructor(E,g,v,N,C,F,V,Y){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.type=3314249567}}e.IfcBorehole=Ove;class Lve extends To{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=1095909175}}e.IfcBuildingElementProxy=Lve;class Pve extends x{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=2938176219}}e.IfcBurner=Pve;class Mve extends Dn{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=635142910}}e.IfcCableCarrierFitting=Mve;class Bve extends Ra{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=3758799889}}e.IfcCableCarrierSegment=Bve;class Fve extends Dn{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=1051757585}}e.IfcCableFitting=Fve;class Uve extends Ra{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=4217484030}}e.IfcCableSegment=Uve;class Hve extends dy{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=3999819293}}e.IfcCaissonFoundation=Hve;class Gve extends x{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=3902619387}}e.IfcChiller=Gve;class Vve extends x{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=639361253}}e.IfcCoil=Vve;class kve extends ql{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=3221913625}}e.IfcCommunicationsAppliance=kve;class zve extends Or{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=3571504051}}e.IfcCompressor=zve;class Wve extends x{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=2272882330}}e.IfcCondenser=Wve;class Yve extends jg{constructor(E,g,v,N,C,F,V,Y,ae,Ze){super(E,g,v,N,C,F,V,Y,ae),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ApplicableOccurrence=C,this.HasPropertySets=F,this.RepresentationMaps=V,this.Tag=Y,this.ElementType=ae,this.PredefinedType=Ze,this.type=578613899}}e.IfcControllerType=Yve;class jve extends Ra{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=3460952963}}e.IfcConveyorSegment=jve;class qve extends x{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=4136498852}}e.IfcCooledBeam=qve;class $ve extends x{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=3640358203}}e.IfcCoolingTower=$ve;class Zve extends Bi{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=4074379575}}e.IfcDamper=Zve;class Kve extends Bi{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=3693000487}}e.IfcDistributionBoard=Kve;class Qve extends hy{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=1052013943}}e.IfcDistributionChamberElement=Qve;class Jve extends iW{constructor(E,g,v,N,C,F,V){super(E,g,v,N,C,F,V),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.LongName=F,this.PredefinedType=V,this.type=562808652}}e.IfcDistributionCircuit=Jve;class hb extends YU{constructor(E,g,v,N,C,F,V,Y){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.type=1062813311}}e.IfcDistributionControlElement=hb;class Xve extends Dn{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=342316401}}e.IfcDuctFitting=Xve;class eRe extends Ra{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=3518393246}}e.IfcDuctSegment=eRe;class tRe extends fy{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=1360408905}}e.IfcDuctSilencer=tRe;class iRe extends ql{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=1904799276}}e.IfcElectricAppliance=iRe;class nRe extends Bi{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=862014818}}e.IfcElectricDistributionBoard=nRe;class sRe extends MI{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=3310460725}}e.IfcElectricFlowStorageDevice=sRe;class oRe extends fy{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=24726584}}e.IfcElectricFlowTreatmentDevice=oRe;class rRe extends x{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=264262732}}e.IfcElectricGenerator=rRe;class lRe extends x{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=402227799}}e.IfcElectricMotor=lRe;class aRe extends Bi{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=1003880860}}e.IfcElectricTimeControl=aRe;class uRe extends Or{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=3415622556}}e.IfcFan=uRe;class cRe extends fy{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=819412036}}e.IfcFilter=cRe;class dRe extends ql{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=1426591983}}e.IfcFireSuppressionTerminal=dRe;class hRe extends hb{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=182646315}}e.IfcFlowInstrument=hRe;class fRe extends nW{constructor(E,g,v,N,C,F,V,Y){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.type=2680139844}}e.IfcGeomodel=fRe;class pRe extends nW{constructor(E,g,v,N,C,F,V,Y){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.type=1971632696}}e.IfcGeoslice=pRe;class IRe extends hb{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=2295281155}}e.IfcProtectiveDeviceTrippingUnit=IRe;class mRe extends hb{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=4086658281}}e.IfcSensor=mRe;class yRe extends hb{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=630975310}}e.IfcUnitaryControlElement=yRe;class ERe extends hb{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=4288193352}}e.IfcActuator=ERe;class TRe extends hb{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=3087945054}}e.IfcAlarm=TRe;class gRe extends hb{constructor(E,g,v,N,C,F,V,Y,ae){super(E,g,v,N,C,F,V,Y),this.GlobalId=E,this.OwnerHistory=g,this.Name=v,this.Description=N,this.ObjectType=C,this.ObjectPlacement=F,this.Representation=V,this.Tag=Y,this.PredefinedType=ae,this.type=25142252}}e.IfcController=gRe})(a||(a={}));var fw={aggregates:{name:M,relating:"RelatingObject",related:"RelatedObjects",key:"children"},spatial:{name:tt,relating:"RelatingStructure",related:"RelatedElements",key:"children"},psets:{name:Fe,relating:"RelatingPropertyDefinition",related:"RelatedObjects",key:"IsDefinedBy"},materials:{name:Os,relating:"RelatingMaterial",related:"RelatedObjects",key:"HasAssociations"},type:{name:pe,relating:"RelatingType",related:"RelatedObjects",key:"IsDefinedBy"}},kpe=class zpe{constructor(t){this.api=t}async getItemProperties(t,i,n=!1,s=!1){return this.api.GetLine(t,i,n,s)}async getPropertySets(t,i=0,n=!1,s=!1){if(s){let o=await this.getTypeProperties(t,i,!1),r=[];for(let l of o)for(let d of l.HasPropertySets)r.push(await this.api.GetLine(t,d.value,n));return r}else return await this.getRelatedProperties(t,i,fw.psets,n)}async setPropertySets(t,i,n){return this.setItemProperties(t,i,n,fw.psets)}async getTypeProperties(t,i=0,n=!1){return this.api.GetModelSchema(t)=="IFC2X3"?await this.getRelatedProperties(t,i,fw.type,n):await this.getRelatedProperties(t,i,{...fw.type,key:"IsTypedBy"},n)}async getMaterialsProperties(t,i=0,n=!1,s=!1){if(s){let o=await this.getTypeProperties(t,i,!1),r=[];for(let l of o)r.push(...await this.getMaterialsProperties(t,l.expressID,n));return r}else return await this.getRelatedProperties(t,i,fw.materials,n)}async setMaterialsProperties(t,i,n){return this.setItemProperties(t,i,n,fw.materials)}async getSpatialStructure(t,i=!1){let n=await this.getSpatialTreeChunks(t),o=(await this.api.GetLineIDsWithType(t,eI)).get(0),r=zpe.newIfcProject(o);return await this.getSpatialNode(t,r,n,i),r}async getRelatedProperties(t,i,n,s=!1){let o=[],r=null;if(i!==0)r=await this.api.GetLine(t,i,!1,!0,n.key)[n.key];else{let l=this.api.GetLineIDsWithType(t,n.name);r=[];for(let d=0;d<l.size();++d)r.push({value:l.get(d)})}if(r==null)return o;Array.isArray(r)||(r=[r]);for(let l=0;l<r.length;l++){let d=await this.api.GetLine(t,r[l].value,!1,!1)[n.relating];if(d!=null){Array.isArray(d)||(d=[d]);for(let h=0;h<d.length;h++)o.push(await this.api.GetLine(t,d[h].value,s))}}return o}async getChunks(t,i,n){let s=await this.api.GetLineIDsWithType(t,n.name,!0);for(let o=0;o<s.size();o++){let r=await this.api.GetLine(t,s.get(o),!1);this.saveChunk(i,n,r)}}static newIfcProject(t){return{expressID:t,type:"IFCPROJECT",children:[]}}async getSpatialNode(t,i,n,s){await this.getChildren(t,i,n,fw.aggregates,s),await this.getChildren(t,i,n,fw.spatial,s)}async getChildren(t,i,n,s,o){let r=n[i.expressID];if(r==null)return;let l=s.key,d=[];for(let h=0;h<r.length;h++){let p=r[h],I=this.newNode(p,this.api.GetLineType(t,p));o&&(I={...await this.getItemProperties(t,I.expressID),...I}),await this.getSpatialNode(t,I,n,o),d.push(I)}i[l]=d}newNode(t,i){return{expressID:t,type:this.api.GetNameFromTypeCode(i),children:[]}}async getSpatialTreeChunks(t){let i={};return await this.getChunks(t,i,fw.aggregates),await this.getChunks(t,i,fw.spatial),i}saveChunk(t,i,n){let s=n[i.relating].value,o=n[i.related].map(r=>r.value);t[s]==null?t[s]=o:t[s]=t[s].concat(o)}async setItemProperties(t,i,n,s){Array.isArray(i)||(i=[i]),Array.isArray(n)||(n=[n]);let o=0,r=[],l=[];for(let h of i){let p=await this.api.GetLine(t,h,!1,!0);p[s.key]&&l.push(p)}if(l.length<1)return!1;let d=this.api.GetLineIDsWithType(t,s.name);for(let h=0;h<d.size();++h){let p=await this.api.GetLine(t,d.get(h));if(n.includes(Number(p[s.relating].value))&&(r.push(p),o++),o==n.length)break}for(let h of l){for(let p of r)h[s.key].some(I=>I.value===p.expressID)||h[s.key].push({type:5,value:p.expressID}),p[s.related].some(I=>I.value===h.expressID)||(p[s.related].push({type:5,value:h.expressID}),this.api.WriteLine(t,p));this.api.WriteLine(t,h)}return!0}},q6=(e=>(e[e.LOG_LEVEL_DEBUG=1]="LOG_LEVEL_DEBUG",e[e.LOG_LEVEL_WARN=3]="LOG_LEVEL_WARN",e[e.LOG_LEVEL_ERROR=4]="LOG_LEVEL_ERROR",e[e.LOG_LEVEL_OFF=6]="LOG_LEVEL_OFF",e))(q6||{}),pw=class{static{this.logLevel=4}static setLogLevel(e){this.logLevel=e}static log(e,...t){this.logLevel<=4&&console.log(e,...t)}static debug(e,...t){this.logLevel<=1&&console.trace("DEBUG: ",e,...t)}static warn(e,...t){this.logLevel<=3&&console.warn("WARN: ",e,...t)}static error(e,...t){this.logLevel<=4&&console.error("ERROR: ",e,...t)}},r7,pie;if(typeof document<"u"){let e=document.currentScript;e?.src!==void 0&&(pie=e.src.substring(0,e.src.lastIndexOf("/")+1))}var Pxe=0,gy=1,Mxe=2,Bxe=3,Fxe=4,Uxe=5,Hxe=6,Gxe=7,Vxe=8,kxe=9,zxe=10;function Wxe(){return new Date().getTime()}var DN=class{constructor(){this.wasmModule=void 0,this.wasmPath="",this.isWasmPathAbsolute=!1,this.modelSchemaList=[],this.modelSchemaNameList=[],this.ifcGuidMap=new Map,this.deletedLines=new Map,this.properties=new kpe(this)}async Init(e,t=!1){if(!r7)if(typeof self<"u"&&self.crossOriginIsolated&&!t)try{r7=cDe()}catch{r7=ape()}else r7=ape();if(r7&&this.wasmModule==null){let i=(n,s)=>this.isWasmPathAbsolute?this.wasmPath+n:(pie!==void 0?pie:s)+this.wasmPath+n;this.wasmModule=await r7({noInitialRun:!0,locateFile:e||i}),this.SetLogLevel(4)}else pw.error("Could not find wasm module at './web-ifc' from web-ifc-api.ts")}OpenModels(e,t){let i={MEMORY_LIMIT:2147483648,...t};i.MEMORY_LIMIT=i.MEMORY_LIMIT/e.length;let n=[];for(let s of e)n.push(this.OpenModel(s,i));return n}CreateSettings(e){return{COORDINATE_TO_ORIGIN:!1,CIRCLE_SEGMENTS:12,TAPE_SIZE:67108864,MEMORY_LIMIT:2147483648,LINEWRITER_BUFFER:1e4,TOLERANCE_PLANE_INTERSECTION:1e-4,TOLERANCE_PLANE_DEVIATION:1e-4,TOLERANCE_BACK_DEVIATION_DISTANCE:1e-4,TOLERANCE_INSIDE_OUTSIDE_PERIMETER:1e-10,TOLERANCE_SCALAR_EQUALITY:1e-4,PLANE_REFIT_ITERATIONS:1,BOOLEAN_UNION_THRESHOLD:150,...e}}LookupSchemaId(e){for(var t=0;t<SN.length;t++)if(typeof SN[t]<"u"){for(var i=0;i<SN[t].length;i++)if(SN[t][i]==e.toUpperCase())return t}return-1}OpenModel(e,t){let i=this.CreateSettings(t),n=this.wasmModule.OpenModel(i,(r,l,d)=>{let h=Math.min(e.byteLength-l,d),p=this.wasmModule.HEAPU8.subarray(r,r+h),I=e.subarray(l,l+h);return p.set(I),h});this.deletedLines.set(n,new Set);var s=this.GetHeaderLine(n,kj).arguments[0][0].value;let o=this.LookupSchemaId(s);return o==-1?(pw.error("Unsupported Schema:"+s),this.CloseModel(n),-1):(this.modelSchemaList[n]=o,this.modelSchemaNameList[n]=s,pw.debug("Parsing Model using "+s+" Schema"),n)}OpenModelFromCallback(e,t){let i=this.CreateSettings(t),n=this.wasmModule.OpenModel(i,(o,r,l)=>{let d=e(r,l),h=Math.min(d.byteLength,l);return this.wasmModule.HEAPU8.subarray(o,o+h).set(d),h});this.deletedLines.set(n,new Set);var s=this.GetHeaderLine(n,kj).arguments[0][0].value;return this.modelSchemaList[n]=this.LookupSchemaId(s),this.modelSchemaNameList[n]=s,this.modelSchemaList[n]==-1?(pw.error("Unsupported Schema:"+s),this.CloseModel(n),-1):(pw.debug("Parsing Model using "+s+" Schema"),n)}GetModelSchema(e){return this.modelSchemaNameList[e]}CreateModel(e,t){let i=this.CreateSettings(t),n=this.wasmModule.CreateModel(i),s=this.LookupSchemaId(e.schema);if(s==-1)return pw.error("Unsupported Schema:"+e.schema),this.CloseModel(n),-1;this.modelSchemaList[n]=s,this.modelSchemaNameList[n]=e.schema,this.deletedLines.set(n,new Set);let o=e.name||"web-ifc-model-"+n+".ifc",r=new Date().toISOString().slice(0,19),l=e.description?.map(I=>({type:gy,value:I}))||[{type:gy,value:"ViewDefinition [CoordinationView]"}],d=e.authors?.map(I=>({type:gy,value:I}))||[null],h=e.organizations?.map(I=>({type:gy,value:I}))||[null],p=e.authorization?{type:gy,value:e.authorization}:null;return this.wasmModule.WriteHeaderLine(n,vq,[l,{type:gy,value:"2;1"}]),this.wasmModule.WriteHeaderLine(n,Rq,[{type:gy,value:o},{type:gy,value:r},d,h,{type:gy,value:"thatopen/web-ifc-api"},{type:gy,value:"thatopen/web-ifc-api"},p]),this.wasmModule.WriteHeaderLine(n,kj,[[{type:gy,value:e.schema}]]),n}SaveModel(e){let t=new Uint8Array(0);return this.wasmModule.SaveModel(e,(i,n)=>{let s=t.byteLength,o=this.wasmModule.HEAPU8.subarray(i,i+n),r=new Uint8Array(s+n);r.set(t),r.set(o,s),t=r}),t}SaveModelToCallback(e,t){this.wasmModule.SaveModel(e,(i,n)=>{let s=this.wasmModule.HEAPU8.subarray(i,i+n),o=new Uint8Array(n);o.set(s),t(o)})}GetGeometry(e,t){return this.wasmModule.GetGeometry(e,t)}CreateAABB(){return this.wasmModule.CreateAABB()}CreateExtrusion(){return this.wasmModule.CreateExtrusion()}CreateSweep(){return this.wasmModule.CreateSweep()}CreateCircularSweep(){return this.wasmModule.CreateCircularSweep()}CreateRevolution(){return this.wasmModule.CreateRevolution()}CreateCylindricalRevolution(){return this.wasmModule.CreateCylindricalRevolution()}CreateParabola(){return this.wasmModule.CreateParabola()}CreateClothoid(){return this.wasmModule.CreateClothoid()}CreateArc(){return this.wasmModule.CreateArc()}CreateAlignment(){return this.wasmModule.CreateAlignment()}CreateBooleanOperator(){return this.wasmModule.CreateBoolean()}CreateProfile(){return this.wasmModule.CreateProfile()}GetHeaderLine(e,t){return this.wasmModule.GetHeaderLine(e,t)}GetAllTypesOfModel(e){let t=[],i=Object.keys(y6[this.modelSchemaList[e]]).map(n=>parseInt(n));for(let n=0;n<i.length;n++)this.GetLineIDsWithType(e,i[n]).size()>0&&t.push({typeID:i[n],typeName:this.wasmModule.GetNameFromTypeCode(i[n])});return t}GetLine(e,t,i=!1,n=!1,s=null){return this.GetLines(e,[t],i,n,s)[0]}GetLines(e,t,i=!1,n=!1,s=null){let o=[],r=this.GetRawLinesData(e,t),l=0;for(let d of r){let h;try{h=y6[this.modelSchemaList[e]][d.type](d.arguments),h.expressID=d.ID}catch(I){if(pw.error("Invalid IFC Line:"+t[l]),d.ID)throw I;continue}i&&this.FlattenLine(e,h);let p=vV[this.modelSchemaList[e]][d.type];if(n&&p!=null)for(let I of p){if(s&&I[0]!==s)continue;I[3]?h[I[0]]=[]:h[I[0]]=null;let m=[I[1]];typeof RN[this.modelSchemaList[e]][I[1]]<"u"&&(m=m.concat(RN[this.modelSchemaList[e]][I[1]]));let y=this.wasmModule.GetInversePropertyForItem(e,d.ID,m,I[2],I[3]);if(!I[3]&&y.size()>0)i?h[I[0]]=this.GetLine(e,y.get(0)):h[I[0]]={type:5,value:y.get(0)};else for(let T=0;T<y.size();T++)i?h[I[0]].push(this.GetLine(e,y.get(T))):h[I[0]].push({type:5,value:y.get(T)})}o.push(h),l++}return o}GetNextExpressID(e,t){return this.wasmModule.GetNextExpressID(e,t)}CreateIfcEntity(e,t,...i){return RV[this.modelSchemaList[e]][t](i)}CreateIFCGloballyUniqueId(e){let t=this.wasmModule.GenerateGuid(e);return k6[this.modelSchemaList[e]][cpe](t)}CreateIfcType(e,t,i){return k6[this.modelSchemaList[e]][t](i)}GetNameFromTypeCode(e){return this.wasmModule.GetNameFromTypeCode(e)}GetTypeCodeFromName(e){return this.wasmModule.GetTypeCodeFromName(e)}IsIfcElement(e){return this.wasmModule.IsIfcElement(e)}GetIfcEntityList(e){return Object.keys(y6[this.modelSchemaList[e]]).map(t=>parseInt(t))}DeleteLine(e,t){this.wasmModule.RemoveLine(e,t),this.deletedLines.get(e).add(t)}WriteLines(e,t){for(let i of t)this.WriteLine(e,i)}WriteLine(e,t){if(t.expressID!=-1&&this.deletedLines.get(e).has(t.expressID)){pw.error("Cannot re-use deleted express ID");return}if(t.expressID!=-1&&t.expressID<=this.GetMaxExpressID(e)&&this.GetLineType(e,t.expressID)!=t.type&&this.GetLineType(e,t.expressID)!=0){pw.error("Cannot change type of existing IFC Line");return}let i;for(i in t){let s=t[i];if(s&&s.expressID!==void 0)this.WriteLine(e,s),t[i]=new u(s.expressID);else if(Array.isArray(s)&&s.length>0)for(let o=0;o<s.length;o++)s[o].expressID!==void 0&&(this.WriteLine(e,s[o]),t[i][o]=new u(s[o].expressID))}(t.expressID===void 0||t.expressID<0)&&(t.expressID=this.GetMaxExpressID(e)+1);let n={ID:t.expressID,type:t.type,arguments:SV[this.modelSchemaList[e]][t.type](t)};this.WriteRawLineData(e,n)}FlattenLine(e,t){Object.keys(t).forEach(i=>{let n=t[i];if(n&&n.type===5)n.value&&(t[i]=this.GetLine(e,n.value,!0));else if(Array.isArray(n)&&n.length>0&&n[0]&&n[0].type===5)for(let s=0;s<n.length;s++)n[s].value&&(t[i][s]=this.GetLine(e,n[s].value,!0))})}GetRawLinesData(e,t){return this.wasmModule.GetLines(e,t)}GetRawLineData(e,t){return this.GetRawLinesData(e,[t])[0]}WriteRawLineData(e,t){this.wasmModule.WriteLine(e,t.ID,t.type,t.arguments)}WriteRawLinesData(e,t){for(let i of t)this.wasmModule.WriteLine(e,i.ID,i.type,i.arguments)}GetLineIDsWithType(e,t,i=!1){let n=[];n.push(t),i&&typeof RN[this.modelSchemaList[e]][t]<"u"&&(n=n.concat(RN[this.modelSchemaList[e]][t]));let s=this.wasmModule.GetLineIDsWithType(e,n);return s[Symbol.iterator]=function*(){for(let o=0;o<s.size();o++)yield s.get(o)},s}GetAllLines(e){let t=this.wasmModule.GetAllLines(e);return t[Symbol.iterator]=function*(){for(let i=0;i<t.size();i++)yield t.get(i)},t}GetAllCrossSections2D(e){let t=this.wasmModule.GetAllCrossSections(e,2),i=[];for(let n=0;n<t.size();n++){let s=t.get(n),o=[],r=[];for(let d=0;d<s.curves.size();d++){let h=s.curves.get(d),p=[];for(let m=0;m<h.points.size();m++){let y=h.points.get(m),T={x:y.x,y:y.y,z:y.z};p.push(T)}let I={points:p,userData:[],arcSegments:[]};o.push(I),r.push(s.expressID.get(d))}let l={FlatCoordinationMatrix:this.GetCoordinationMatrix(e),curves:o,expressID:r};i.push(l)}return i}GetAllCrossSections3D(e){let t=this.wasmModule.GetAllCrossSections(e,3),i=[];for(let n=0;n<t.size();n++){let s=t.get(n),o=[],r=[];for(let d=0;d<s.curves.size();d++){let h=s.curves.get(d),p=[];for(let m=0;m<h.points.size();m++){let y=h.points.get(m),T={x:y.x,y:y.y,z:y.z};p.push(T)}let I={points:p,userData:[],arcSegments:[]};o.push(I),r.push(s.expressID.get(d))}let l={FlatCoordinationMatrix:this.GetCoordinationMatrix(e),curves:o,expressID:r};i.push(l)}return i}GetAllAlignments(e){let t=this.wasmModule.GetAllAlignments(e),i=[];for(let n=0;n<t.size();n++){let s=t.get(n),o=[];for(let h=0;h<s.Horizontal.curves.size();h++){let p=s.Horizontal.curves.get(h),I=[];for(let T=0;T<p.points.size();T++){let R=p.points.get(T),b={x:R.x,y:R.y};I.push(b)}let m=[];for(let T=0;T<p.userData.size();T++){let R=p.userData.get(T);m.push(R)}let y={points:I,data:m};o.push(y)}let r=[];for(let h=0;h<s.Vertical.curves.size();h++){let p=s.Vertical.curves.get(h),I=[];for(let T=0;T<p.points.size();T++){let R=p.points.get(T),b={x:R.x,y:R.y};I.push(b)}let m=[];for(let T=0;T<p.userData.size();T++){let R=p.userData.get(T);m.push(R)}let y={points:I,data:m};r.push(y)}let l=[];for(let h=0;h<s.Absolute.curves.size();h++){let p=s.Absolute.curves.get(h),I=[];for(let T=0;T<p.points.size();T++){let R=p.points.get(T),b={x:R.x,y:R.y,z:R.z};I.push(b)}let m=[];for(let T=0;T<p.userData.size();T++){let R=p.userData.get(T);m.push(R)}let y={points:I,data:m};l.push(y)}let d={FlatCoordinationMatrix:this.GetCoordinationMatrix(e),horizontal:o,vertical:r,curve3D:l,FlattenedWorldTransformMatrix:this.GetWorldTransformMatrix(e,s.PlacementExpressId)};i.push(d)}return i}SetGeometryTransformation(e,t){if(t.length!=16)throw new Error(`invalid matrix size: ${t.length}`);this.wasmModule.SetGeometryTransformation(e,t)}GetCoordinationMatrix(e){return this.wasmModule.GetCoordinationMatrix(e)}GetWorldTransformMatrix(e,t){return this.wasmModule.GetWorldTransformMatrix(e,t)}GetVertexArray(e,t){return this.getSubArray(this.wasmModule.HEAPF32,e,t)}GetIndexArray(e,t){return this.getSubArray(this.wasmModule.HEAPU32,e,t)}getSubArray(e,t,i){return e.subarray(t/4,t/4+i).slice(0)}CloseModel(e){this.ifcGuidMap.delete(e),this.wasmModule.CloseModel(e)}Dispose(){this.ifcGuidMap.clear(),this.wasmModule.CloseAllModels(),this.wasmModule=void 0}StreamMeshes(e,t,i){this.wasmModule.StreamMeshes(e,t,i)}StreamAllMeshes(e,t){this.wasmModule.StreamAllMeshes(e,t)}StreamAllMeshesWithTypes(e,t,i){this.wasmModule.StreamAllMeshesWithTypes(e,t,i)}IsModelOpen(e){return this.wasmModule.IsModelOpen(e)}LoadAllGeometry(e){let t=this.wasmModule.LoadAllGeometry(e);return t[Symbol.iterator]=function*(){for(let i=0;i<t.size();i++)yield t.get(i)},t}GetFlatMesh(e,t){return this.wasmModule.GetFlatMesh(e,t)}GetMaxExpressID(e){return this.wasmModule.GetMaxExpressID(e)}GetLineType(e,t){return this.wasmModule.GetLineType(e,t)}GetVersion(){return this.wasmModule.GetVersion()}GetExpressIdFromGuid(e,t){return this.ifcGuidMap.has(e)||this.CreateIfcGuidToExpressIdMapping(e),this.ifcGuidMap.get(e)?.get(t)}GetGuidFromExpressId(e,t){return this.ifcGuidMap.has(e)||this.CreateIfcGuidToExpressIdMapping(e),this.ifcGuidMap.get(e)?.get(t)}CreateIfcGuidToExpressIdMapping(e){let t=new Map,i=this.GetIfcEntityList(e);for(let n of i){if(!this.IsIfcElement(n))continue;let s=this.GetLineIDsWithType(e,n),o=s.size();for(let r=0;r<o;r++){let l=s.get(r),d=this.GetLine(e,l);try{if("GlobalId"in d){let h=d.GlobalId.value;t.set(l,h),t.set(h,l)}}catch{continue}}}this.ifcGuidMap.set(e,t)}SetWasmPath(e,t=!1){this.wasmPath=e,this.isWasmPathAbsolute=t}SetLogLevel(e){pw.setLogLevel(e),this.wasmModule.SetLogLevel(e)}EncodeText(e){return this.wasmModule.EncodeText(e)}DecodeText(e){return this.wasmModule.DecodeText(e)}ResetCache(e){return this.wasmModule.ResetCache(e)}};var Wpe=new kn,Aq=new ye,s8=class extends Xv{constructor(){super(),this.isLineSegmentsGeometry=!0,this.type="LineSegmentsGeometry";let t=[-1,2,0,1,2,0,-1,1,0,1,1,0,-1,0,0,1,0,0,-1,-1,0,1,-1,0],i=[-1,2,1,2,-1,1,1,1,-1,-1,1,-1,-1,-2,1,-2],n=[0,2,1,2,3,1,2,4,3,4,5,3,4,6,5,6,7,5];this.setIndex(n),this.setAttribute("position",new ln(t,3)),this.setAttribute("uv",new ln(i,2))}applyMatrix4(t){let i=this.attributes.instanceStart,n=this.attributes.instanceEnd;return i!==void 0&&(i.applyMatrix4(t),n.applyMatrix4(t),i.needsUpdate=!0),this.boundingBox!==null&&this.computeBoundingBox(),this.boundingSphere!==null&&this.computeBoundingSphere(),this}setPositions(t){let i;t instanceof Float32Array?i=t:Array.isArray(t)&&(i=new Float32Array(t));let n=new Dm(i,6,1);return this.setAttribute("instanceStart",new Du(n,3,0)),this.setAttribute("instanceEnd",new Du(n,3,3)),this.instanceCount=this.attributes.instanceStart.count,this.computeBoundingBox(),this.computeBoundingSphere(),this}setColors(t){let i;t instanceof Float32Array?i=t:Array.isArray(t)&&(i=new Float32Array(t));let n=new Dm(i,6,1);return this.setAttribute("instanceColorStart",new Du(n,3,0)),this.setAttribute("instanceColorEnd",new Du(n,3,3)),this}fromWireframeGeometry(t){return this.setPositions(t.attributes.position.array),this}fromEdgesGeometry(t){return this.setPositions(t.attributes.position.array),this}fromMesh(t){return this.fromWireframeGeometry(new fC(t.geometry)),this}fromLineSegments(t){let i=t.geometry;return this.setPositions(i.attributes.position.array),this}computeBoundingBox(){this.boundingBox===null&&(this.boundingBox=new kn);let t=this.attributes.instanceStart,i=this.attributes.instanceEnd;t!==void 0&&i!==void 0&&(this.boundingBox.setFromBufferAttribute(t),Wpe.setFromBufferAttribute(i),this.boundingBox.union(Wpe))}computeBoundingSphere(){this.boundingSphere===null&&(this.boundingSphere=new no),this.boundingBox===null&&this.computeBoundingBox();let t=this.attributes.instanceStart,i=this.attributes.instanceEnd;if(t!==void 0&&i!==void 0){let n=this.boundingSphere.center;this.boundingBox.getCenter(n);let s=0;for(let o=0,r=t.count;o<r;o++)Aq.fromBufferAttribute(t,o),s=Math.max(s,n.distanceToSquared(Aq)),Aq.fromBufferAttribute(i,o),s=Math.max(s,n.distanceToSquared(Aq));this.boundingSphere.radius=Math.sqrt(s),isNaN(this.boundingSphere.radius)&&console.error("THREE.LineSegmentsGeometry.computeBoundingSphere(): Computed radius is NaN. The instanced position data is likely to have NaN values.",this)}}toJSON(){}};an.line={worldUnits:{value:1},linewidth:{value:1},resolution:{value:new hi(1,1)},dashOffset:{value:0},dashScale:{value:1},dashSize:{value:1},gapSize:{value:1}};gf.line={uniforms:eN.merge([an.common,an.fog,an.line]),vertexShader:`
|
||
#include <common>
|
||
#include <color_pars_vertex>
|
||
#include <fog_pars_vertex>
|
||
#include <logdepthbuf_pars_vertex>
|
||
#include <clipping_planes_pars_vertex>
|
||
|
||
uniform float linewidth;
|
||
uniform vec2 resolution;
|
||
|
||
attribute vec3 instanceStart;
|
||
attribute vec3 instanceEnd;
|
||
|
||
attribute vec3 instanceColorStart;
|
||
attribute vec3 instanceColorEnd;
|
||
|
||
#ifdef WORLD_UNITS
|
||
|
||
varying vec4 worldPos;
|
||
varying vec3 worldStart;
|
||
varying vec3 worldEnd;
|
||
|
||
#ifdef USE_DASH
|
||
|
||
varying vec2 vUv;
|
||
|
||
#endif
|
||
|
||
#else
|
||
|
||
varying vec2 vUv;
|
||
|
||
#endif
|
||
|
||
#ifdef USE_DASH
|
||
|
||
uniform float dashScale;
|
||
attribute float instanceDistanceStart;
|
||
attribute float instanceDistanceEnd;
|
||
varying float vLineDistance;
|
||
|
||
#endif
|
||
|
||
void trimSegment( const in vec4 start, inout vec4 end ) {
|
||
|
||
// trim end segment so it terminates between the camera plane and the near plane
|
||
|
||
// conservative estimate of the near plane
|
||
float a = projectionMatrix[ 2 ][ 2 ]; // 3nd entry in 3th column
|
||
float b = projectionMatrix[ 3 ][ 2 ]; // 3nd entry in 4th column
|
||
float nearEstimate = - 0.5 * b / a;
|
||
|
||
float alpha = ( nearEstimate - start.z ) / ( end.z - start.z );
|
||
|
||
end.xyz = mix( start.xyz, end.xyz, alpha );
|
||
|
||
}
|
||
|
||
void main() {
|
||
|
||
#ifdef USE_COLOR
|
||
|
||
vColor.xyz = ( position.y < 0.5 ) ? instanceColorStart : instanceColorEnd;
|
||
|
||
#endif
|
||
|
||
#ifdef USE_DASH
|
||
|
||
vLineDistance = ( position.y < 0.5 ) ? dashScale * instanceDistanceStart : dashScale * instanceDistanceEnd;
|
||
vUv = uv;
|
||
|
||
#endif
|
||
|
||
float aspect = resolution.x / resolution.y;
|
||
|
||
// camera space
|
||
vec4 start = modelViewMatrix * vec4( instanceStart, 1.0 );
|
||
vec4 end = modelViewMatrix * vec4( instanceEnd, 1.0 );
|
||
|
||
#ifdef WORLD_UNITS
|
||
|
||
worldStart = start.xyz;
|
||
worldEnd = end.xyz;
|
||
|
||
#else
|
||
|
||
vUv = uv;
|
||
|
||
#endif
|
||
|
||
// special case for perspective projection, and segments that terminate either in, or behind, the camera plane
|
||
// clearly the gpu firmware has a way of addressing this issue when projecting into ndc space
|
||
// but we need to perform ndc-space calculations in the shader, so we must address this issue directly
|
||
// perhaps there is a more elegant solution -- WestLangley
|
||
|
||
bool perspective = ( projectionMatrix[ 2 ][ 3 ] == - 1.0 ); // 4th entry in the 3rd column
|
||
|
||
if ( perspective ) {
|
||
|
||
if ( start.z < 0.0 && end.z >= 0.0 ) {
|
||
|
||
trimSegment( start, end );
|
||
|
||
} else if ( end.z < 0.0 && start.z >= 0.0 ) {
|
||
|
||
trimSegment( end, start );
|
||
|
||
}
|
||
|
||
}
|
||
|
||
// clip space
|
||
vec4 clipStart = projectionMatrix * start;
|
||
vec4 clipEnd = projectionMatrix * end;
|
||
|
||
// ndc space
|
||
vec3 ndcStart = clipStart.xyz / clipStart.w;
|
||
vec3 ndcEnd = clipEnd.xyz / clipEnd.w;
|
||
|
||
// direction
|
||
vec2 dir = ndcEnd.xy - ndcStart.xy;
|
||
|
||
// account for clip-space aspect ratio
|
||
dir.x *= aspect;
|
||
dir = normalize( dir );
|
||
|
||
#ifdef WORLD_UNITS
|
||
|
||
vec3 worldDir = normalize( end.xyz - start.xyz );
|
||
vec3 tmpFwd = normalize( mix( start.xyz, end.xyz, 0.5 ) );
|
||
vec3 worldUp = normalize( cross( worldDir, tmpFwd ) );
|
||
vec3 worldFwd = cross( worldDir, worldUp );
|
||
worldPos = position.y < 0.5 ? start: end;
|
||
|
||
// height offset
|
||
float hw = linewidth * 0.5;
|
||
worldPos.xyz += position.x < 0.0 ? hw * worldUp : - hw * worldUp;
|
||
|
||
// don't extend the line if we're rendering dashes because we
|
||
// won't be rendering the endcaps
|
||
#ifndef USE_DASH
|
||
|
||
// cap extension
|
||
worldPos.xyz += position.y < 0.5 ? - hw * worldDir : hw * worldDir;
|
||
|
||
// add width to the box
|
||
worldPos.xyz += worldFwd * hw;
|
||
|
||
// endcaps
|
||
if ( position.y > 1.0 || position.y < 0.0 ) {
|
||
|
||
worldPos.xyz -= worldFwd * 2.0 * hw;
|
||
|
||
}
|
||
|
||
#endif
|
||
|
||
// project the worldpos
|
||
vec4 clip = projectionMatrix * worldPos;
|
||
|
||
// shift the depth of the projected points so the line
|
||
// segments overlap neatly
|
||
vec3 clipPose = ( position.y < 0.5 ) ? ndcStart : ndcEnd;
|
||
clip.z = clipPose.z * clip.w;
|
||
|
||
#else
|
||
|
||
vec2 offset = vec2( dir.y, - dir.x );
|
||
// undo aspect ratio adjustment
|
||
dir.x /= aspect;
|
||
offset.x /= aspect;
|
||
|
||
// sign flip
|
||
if ( position.x < 0.0 ) offset *= - 1.0;
|
||
|
||
// endcaps
|
||
if ( position.y < 0.0 ) {
|
||
|
||
offset += - dir;
|
||
|
||
} else if ( position.y > 1.0 ) {
|
||
|
||
offset += dir;
|
||
|
||
}
|
||
|
||
// adjust for linewidth
|
||
offset *= linewidth;
|
||
|
||
// adjust for clip-space to screen-space conversion // maybe resolution should be based on viewport ...
|
||
offset /= resolution.y;
|
||
|
||
// select end
|
||
vec4 clip = ( position.y < 0.5 ) ? clipStart : clipEnd;
|
||
|
||
// back to clip space
|
||
offset *= clip.w;
|
||
|
||
clip.xy += offset;
|
||
|
||
#endif
|
||
|
||
gl_Position = clip;
|
||
|
||
vec4 mvPosition = ( position.y < 0.5 ) ? start : end; // this is an approximation
|
||
|
||
#include <logdepthbuf_vertex>
|
||
#include <clipping_planes_vertex>
|
||
#include <fog_vertex>
|
||
|
||
}
|
||
`,fragmentShader:`
|
||
uniform vec3 diffuse;
|
||
uniform float opacity;
|
||
uniform float linewidth;
|
||
|
||
#ifdef USE_DASH
|
||
|
||
uniform float dashOffset;
|
||
uniform float dashSize;
|
||
uniform float gapSize;
|
||
|
||
#endif
|
||
|
||
varying float vLineDistance;
|
||
|
||
#ifdef WORLD_UNITS
|
||
|
||
varying vec4 worldPos;
|
||
varying vec3 worldStart;
|
||
varying vec3 worldEnd;
|
||
|
||
#ifdef USE_DASH
|
||
|
||
varying vec2 vUv;
|
||
|
||
#endif
|
||
|
||
#else
|
||
|
||
varying vec2 vUv;
|
||
|
||
#endif
|
||
|
||
#include <common>
|
||
#include <color_pars_fragment>
|
||
#include <fog_pars_fragment>
|
||
#include <logdepthbuf_pars_fragment>
|
||
#include <clipping_planes_pars_fragment>
|
||
|
||
vec2 closestLineToLine(vec3 p1, vec3 p2, vec3 p3, vec3 p4) {
|
||
|
||
float mua;
|
||
float mub;
|
||
|
||
vec3 p13 = p1 - p3;
|
||
vec3 p43 = p4 - p3;
|
||
|
||
vec3 p21 = p2 - p1;
|
||
|
||
float d1343 = dot( p13, p43 );
|
||
float d4321 = dot( p43, p21 );
|
||
float d1321 = dot( p13, p21 );
|
||
float d4343 = dot( p43, p43 );
|
||
float d2121 = dot( p21, p21 );
|
||
|
||
float denom = d2121 * d4343 - d4321 * d4321;
|
||
|
||
float numer = d1343 * d4321 - d1321 * d4343;
|
||
|
||
mua = numer / denom;
|
||
mua = clamp( mua, 0.0, 1.0 );
|
||
mub = ( d1343 + d4321 * ( mua ) ) / d4343;
|
||
mub = clamp( mub, 0.0, 1.0 );
|
||
|
||
return vec2( mua, mub );
|
||
|
||
}
|
||
|
||
void main() {
|
||
|
||
float alpha = opacity;
|
||
vec4 diffuseColor = vec4( diffuse, alpha );
|
||
|
||
#include <clipping_planes_fragment>
|
||
|
||
#ifdef USE_DASH
|
||
|
||
if ( vUv.y < - 1.0 || vUv.y > 1.0 ) discard; // discard endcaps
|
||
|
||
if ( mod( vLineDistance + dashOffset, dashSize + gapSize ) > dashSize ) discard; // todo - FIX
|
||
|
||
#endif
|
||
|
||
#ifdef WORLD_UNITS
|
||
|
||
// Find the closest points on the view ray and the line segment
|
||
vec3 rayEnd = normalize( worldPos.xyz ) * 1e5;
|
||
vec3 lineDir = worldEnd - worldStart;
|
||
vec2 params = closestLineToLine( worldStart, worldEnd, vec3( 0.0, 0.0, 0.0 ), rayEnd );
|
||
|
||
vec3 p1 = worldStart + lineDir * params.x;
|
||
vec3 p2 = rayEnd * params.y;
|
||
vec3 delta = p1 - p2;
|
||
float len = length( delta );
|
||
float norm = len / linewidth;
|
||
|
||
#ifndef USE_DASH
|
||
|
||
#ifdef USE_ALPHA_TO_COVERAGE
|
||
|
||
float dnorm = fwidth( norm );
|
||
alpha = 1.0 - smoothstep( 0.5 - dnorm, 0.5 + dnorm, norm );
|
||
|
||
#else
|
||
|
||
if ( norm > 0.5 ) {
|
||
|
||
discard;
|
||
|
||
}
|
||
|
||
#endif
|
||
|
||
#endif
|
||
|
||
#else
|
||
|
||
#ifdef USE_ALPHA_TO_COVERAGE
|
||
|
||
// artifacts appear on some hardware if a derivative is taken within a conditional
|
||
float a = vUv.x;
|
||
float b = ( vUv.y > 0.0 ) ? vUv.y - 1.0 : vUv.y + 1.0;
|
||
float len2 = a * a + b * b;
|
||
float dlen = fwidth( len2 );
|
||
|
||
if ( abs( vUv.y ) > 1.0 ) {
|
||
|
||
alpha = 1.0 - smoothstep( 1.0 - dlen, 1.0 + dlen, len2 );
|
||
|
||
}
|
||
|
||
#else
|
||
|
||
if ( abs( vUv.y ) > 1.0 ) {
|
||
|
||
float a = vUv.x;
|
||
float b = ( vUv.y > 0.0 ) ? vUv.y - 1.0 : vUv.y + 1.0;
|
||
float len2 = a * a + b * b;
|
||
|
||
if ( len2 > 1.0 ) discard;
|
||
|
||
}
|
||
|
||
#endif
|
||
|
||
#endif
|
||
|
||
#include <logdepthbuf_fragment>
|
||
#include <color_fragment>
|
||
|
||
gl_FragColor = vec4( diffuseColor.rgb, alpha );
|
||
|
||
#include <tonemapping_fragment>
|
||
#include <colorspace_fragment>
|
||
#include <fog_fragment>
|
||
#include <premultiplied_alpha_fragment>
|
||
|
||
}
|
||
`};var iE=class extends Kl{constructor(t){super({type:"LineMaterial",uniforms:eN.clone(gf.line.uniforms),vertexShader:gf.line.vertexShader,fragmentShader:gf.line.fragmentShader,clipping:!0}),this.isLineMaterial=!0,this.setValues(t)}get color(){return this.uniforms.diffuse.value}set color(t){this.uniforms.diffuse.value=t}get worldUnits(){return"WORLD_UNITS"in this.defines}set worldUnits(t){t===!0!==this.worldUnits&&(this.needsUpdate=!0),t===!0?this.defines.WORLD_UNITS="":delete this.defines.WORLD_UNITS}get linewidth(){return this.uniforms.linewidth.value}set linewidth(t){this.uniforms.linewidth&&(this.uniforms.linewidth.value=t)}get dashed(){return"USE_DASH"in this.defines}set dashed(t){t===!0!==this.dashed&&(this.needsUpdate=!0),t===!0?this.defines.USE_DASH="":delete this.defines.USE_DASH}get dashScale(){return this.uniforms.dashScale.value}set dashScale(t){this.uniforms.dashScale.value=t}get dashSize(){return this.uniforms.dashSize.value}set dashSize(t){this.uniforms.dashSize.value=t}get dashOffset(){return this.uniforms.dashOffset.value}set dashOffset(t){this.uniforms.dashOffset.value=t}get gapSize(){return this.uniforms.gapSize.value}set gapSize(t){this.uniforms.gapSize.value=t}get opacity(){return this.uniforms.opacity.value}set opacity(t){this.uniforms&&(this.uniforms.opacity.value=t)}get resolution(){return this.uniforms.resolution.value}set resolution(t){this.uniforms.resolution.value.copy(t)}get alphaToCoverage(){return"USE_ALPHA_TO_COVERAGE"in this.defines}set alphaToCoverage(t){this.defines&&(t===!0!==this.alphaToCoverage&&(this.needsUpdate=!0),t===!0?this.defines.USE_ALPHA_TO_COVERAGE="":delete this.defines.USE_ALPHA_TO_COVERAGE)}};var kie=new xn,Ype=new ye,jpe=new ye,Hh=new xn,Gh=new xn,c2=new xn,zie=new ye,Wie=new Ai,Vh=new ds,qpe=new ye,bq=new kn,Nq=new no,d2=new xn,h2,$6;function $pe(e,t,i){return d2.set(0,0,-t,1).applyMatrix4(e.projectionMatrix),d2.multiplyScalar(1/d2.w),d2.x=$6/i.width,d2.y=$6/i.height,d2.applyMatrix4(e.projectionMatrixInverse),d2.multiplyScalar(1/d2.w),Math.abs(Math.max(d2.x,d2.y))}function Yxe(e,t){let i=e.matrixWorld,n=e.geometry,s=n.attributes.instanceStart,o=n.attributes.instanceEnd,r=Math.min(n.instanceCount,s.count);for(let l=0,d=r;l<d;l++){Vh.start.fromBufferAttribute(s,l),Vh.end.fromBufferAttribute(o,l),Vh.applyMatrix4(i);let h=new ye,p=new ye;h2.distanceSqToSegment(Vh.start,Vh.end,p,h),p.distanceTo(h)<$6*.5&&t.push({point:p,pointOnLine:h,distance:h2.origin.distanceTo(p),object:e,face:null,faceIndex:l,uv:null,uv1:null})}}function jxe(e,t,i){let n=t.projectionMatrix,o=e.material.resolution,r=e.matrixWorld,l=e.geometry,d=l.attributes.instanceStart,h=l.attributes.instanceEnd,p=Math.min(l.instanceCount,d.count),I=-t.near;h2.at(1,c2),c2.w=1,c2.applyMatrix4(t.matrixWorldInverse),c2.applyMatrix4(n),c2.multiplyScalar(1/c2.w),c2.x*=o.x/2,c2.y*=o.y/2,c2.z=0,zie.copy(c2),Wie.multiplyMatrices(t.matrixWorldInverse,r);for(let m=0,y=p;m<y;m++){if(Hh.fromBufferAttribute(d,m),Gh.fromBufferAttribute(h,m),Hh.w=1,Gh.w=1,Hh.applyMatrix4(Wie),Gh.applyMatrix4(Wie),Hh.z>I&&Gh.z>I)continue;if(Hh.z>I){let P=Hh.z-Gh.z,U=(Hh.z-I)/P;Hh.lerp(Gh,U)}else if(Gh.z>I){let P=Gh.z-Hh.z,U=(Gh.z-I)/P;Gh.lerp(Hh,U)}Hh.applyMatrix4(n),Gh.applyMatrix4(n),Hh.multiplyScalar(1/Hh.w),Gh.multiplyScalar(1/Gh.w),Hh.x*=o.x/2,Hh.y*=o.y/2,Gh.x*=o.x/2,Gh.y*=o.y/2,Vh.start.copy(Hh),Vh.start.z=0,Vh.end.copy(Gh),Vh.end.z=0;let R=Vh.closestPointToPointParameter(zie,!0);Vh.at(R,qpe);let b=cr.lerp(Hh.z,Gh.z,R),A=b>=-1&&b<=1,O=zie.distanceTo(qpe)<$6*.5;if(A&&O){Vh.start.fromBufferAttribute(d,m),Vh.end.fromBufferAttribute(h,m),Vh.start.applyMatrix4(r),Vh.end.applyMatrix4(r);let P=new ye,U=new ye;h2.distanceSqToSegment(Vh.start,Vh.end,U,P),i.push({point:U,pointOnLine:P,distance:h2.origin.distanceTo(U),object:e,face:null,faceIndex:m,uv:null,uv1:null})}}}var _q=class extends _i{constructor(t=new s8,i=new iE({color:Math.random()*16777215})){super(t,i),this.isLineSegments2=!0,this.type="LineSegments2"}computeLineDistances(){let t=this.geometry,i=t.attributes.instanceStart,n=t.attributes.instanceEnd,s=new Float32Array(2*i.count);for(let r=0,l=0,d=i.count;r<d;r++,l+=2)Ype.fromBufferAttribute(i,r),jpe.fromBufferAttribute(n,r),s[l]=l===0?0:s[l-1],s[l+1]=s[l]+Ype.distanceTo(jpe);let o=new Dm(s,2,1);return t.setAttribute("instanceDistanceStart",new Du(o,1,0)),t.setAttribute("instanceDistanceEnd",new Du(o,1,1)),this}raycast(t,i){let n=this.material.worldUnits,s=t.camera;s===null&&!n&&console.error('LineSegments2: "Raycaster.camera" needs to be set in order to raycast against LineSegments2 while worldUnits is set to false.');let o=t.params.Line2!==void 0&&t.params.Line2.threshold||0;h2=t.ray;let r=this.matrixWorld,l=this.geometry,d=this.material;$6=d.linewidth+o,l.boundingSphere===null&&l.computeBoundingSphere(),Nq.copy(l.boundingSphere).applyMatrix4(r);let h;if(n)h=$6*.5;else{let I=Math.max(s.near,Nq.distanceToPoint(h2.origin));h=$pe(s,I,d.resolution)}if(Nq.radius+=h,h2.intersectsSphere(Nq)===!1)return;l.boundingBox===null&&l.computeBoundingBox(),bq.copy(l.boundingBox).applyMatrix4(r);let p;if(n)p=$6*.5;else{let I=Math.max(s.near,bq.distanceToPoint(h2.origin));p=$pe(s,I,d.resolution)}bq.expandByScalar(p),h2.intersectsBox(bq)!==!1&&(n?Yxe(this,i):jxe(this,s,i))}onBeforeRender(t){let i=this.material.uniforms;i&&i.resolution&&(t.getViewport(kie),this.material.uniforms.resolution.value.set(kie.z,kie.w))}};var o8=class extends s8{constructor(){super(),this.isLineGeometry=!0,this.type="LineGeometry"}setPositions(t){let i=t.length-3,n=new Float32Array(2*i);for(let s=0;s<i;s+=3)n[2*s]=t[s],n[2*s+1]=t[s+1],n[2*s+2]=t[s+2],n[2*s+3]=t[s+3],n[2*s+4]=t[s+4],n[2*s+5]=t[s+5];return super.setPositions(n),this}setColors(t){let i=t.length-3,n=new Float32Array(2*i);for(let s=0;s<i;s+=3)n[2*s]=t[s],n[2*s+1]=t[s+1],n[2*s+2]=t[s+2],n[2*s+3]=t[s+3],n[2*s+4]=t[s+4],n[2*s+5]=t[s+5];return super.setColors(n),this}setFromPoints(t){let i=t.length-1,n=new Float32Array(6*i);for(let s=0;s<i;s++)n[6*s]=t[s].x,n[6*s+1]=t[s].y,n[6*s+2]=t[s].z||0,n[6*s+3]=t[s+1].x,n[6*s+4]=t[s+1].y,n[6*s+5]=t[s+1].z||0;return super.setPositions(n),this}fromLine(t){let i=t.geometry;return this.setPositions(i.attributes.position.array),this}};var Dq=class extends _q{constructor(t=new o8,i=new iE({color:Math.random()*16777215})){super(t,i),this.isLine2=!0,this.type="Line2"}};var qxe=Object.defineProperty,$xe=(e,t,i)=>t in e?qxe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,Ne=(e,t,i)=>($xe(e,typeof t!="symbol"?t+"":t,i),i),Yse=(e,t,i)=>{if(!t.has(e))throw TypeError("Cannot "+i)},_t=(e,t,i)=>(Yse(e,t,"read from private field"),i?i.call(e):t.get(e)),vs=(e,t,i)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,i)},ss=(e,t,i,n)=>(Yse(e,t,"write to private field"),n?n.call(e,i):t.set(e,i),i),jse=(e,t,i,n)=>({set _(s){ss(e,t,s,i)},get _(){return _t(e,t,n)}}),Bn=(e,t,i)=>(Yse(e,t,"access private method"),i),Zpe,BV,m2,sE,y2,a8,I2,FV,NV,Z0,rE,T0,da,bs,ZI,uE,tI,Wh,g2,zh,E2,T2,oE,S2,Z6,$I,_V,kq,cne,h8,LN,Jq,lE,dne,zIe,E8,UV,Xq,bS,CN,_S,PN,I$,qse,WIe,HV,e$,DV,zq,Sr,Ll,t$,hne,u8,CV,OS,UN,i$,$se;var I8={950732822:"IFCURIREFERENCE",4075327185:"IFCTIME",1209108979:"IFCTEMPERATURERATEOFCHANGEMEASURE",3457685358:"IFCSOUNDPRESSURELEVELMEASURE",4157543285:"IFCSOUNDPOWERLEVELMEASURE",2798247006:"IFCPROPERTYSETDEFINITIONSET",1790229001:"IFCPOSITIVEINTEGER",525895558:"IFCNONNEGATIVELENGTHMEASURE",1774176899:"IFCLINEINDEX",1275358634:"IFCLANGUAGEID",2541165894:"IFCDURATION",3701338814:"IFCDAYINWEEKNUMBER",2195413836:"IFCDATETIME",937566702:"IFCDATE",1683019596:"IFCCARDINALPOINTREFERENCE",2314439260:"IFCBINARY",1500781891:"IFCAREADENSITYMEASURE",3683503648:"IFCARCINDEX",4065007721:"IFCYEARNUMBER",1718600412:"IFCWARPINGMOMENTMEASURE",51269191:"IFCWARPINGCONSTANTMEASURE",2593997549:"IFCVOLUMETRICFLOWRATEMEASURE",3458127941:"IFCVOLUMEMEASURE",3345633955:"IFCVAPORPERMEABILITYMEASURE",1278329552:"IFCTORQUEMEASURE",2591213694:"IFCTIMESTAMP",2726807636:"IFCTIMEMEASURE",743184107:"IFCTHERMODYNAMICTEMPERATUREMEASURE",2016195849:"IFCTHERMALTRANSMITTANCEMEASURE",857959152:"IFCTHERMALRESISTANCEMEASURE",2281867870:"IFCTHERMALEXPANSIONCOEFFICIENTMEASURE",2645777649:"IFCTHERMALCONDUCTIVITYMEASURE",232962298:"IFCTHERMALADMITTANCEMEASURE",296282323:"IFCTEXTTRANSFORMATION",603696268:"IFCTEXTFONTNAME",3490877962:"IFCTEXTDECORATION",1460886941:"IFCTEXTALIGNMENT",2801250643:"IFCTEXT",58845555:"IFCTEMPERATUREGRADIENTMEASURE",361837227:"IFCSPECULARROUGHNESS",2757832317:"IFCSPECULAREXPONENT",3477203348:"IFCSPECIFICHEATCAPACITYMEASURE",993287707:"IFCSOUNDPRESSUREMEASURE",846465480:"IFCSOUNDPOWERMEASURE",3471399674:"IFCSOLIDANGLEMEASURE",408310005:"IFCSHEARMODULUSMEASURE",2190458107:"IFCSECTIONALAREAINTEGRALMEASURE",3467162246:"IFCSECTIONMODULUSMEASURE",2766185779:"IFCSECONDINMINUTE",3211557302:"IFCROTATIONALSTIFFNESSMEASURE",1755127002:"IFCROTATIONALMASSMEASURE",2133746277:"IFCROTATIONALFREQUENCYMEASURE",200335297:"IFCREAL",96294661:"IFCRATIOMEASURE",3972513137:"IFCRADIOACTIVITYMEASURE",3665567075:"IFCPRESSUREMEASURE",2169031380:"IFCPRESENTABLETEXT",1364037233:"IFCPOWERMEASURE",1245737093:"IFCPOSITIVERATIOMEASURE",3054510233:"IFCPOSITIVEPLANEANGLEMEASURE",2815919920:"IFCPOSITIVELENGTHMEASURE",4042175685:"IFCPLANEANGLEMEASURE",2642773653:"IFCPLANARFORCEMEASURE",2260317790:"IFCPARAMETERVALUE",929793134:"IFCPHMEASURE",2395907400:"IFCNUMERICMEASURE",2095195183:"IFCNORMALISEDRATIOMEASURE",765770214:"IFCMONTHINYEARNUMBER",2615040989:"IFCMONETARYMEASURE",3114022597:"IFCMOMENTOFINERTIAMEASURE",1648970520:"IFCMOLECULARWEIGHTMEASURE",3177669450:"IFCMOISTUREDIFFUSIVITYMEASURE",1753493141:"IFCMODULUSOFSUBGRADEREACTIONMEASURE",1052454078:"IFCMODULUSOFROTATIONALSUBGRADEREACTIONMEASURE",2173214787:"IFCMODULUSOFLINEARSUBGRADEREACTIONMEASURE",3341486342:"IFCMODULUSOFELASTICITYMEASURE",102610177:"IFCMINUTEINHOUR",3531705166:"IFCMASSPERLENGTHMEASURE",3124614049:"IFCMASSMEASURE",4017473158:"IFCMASSFLOWRATEMEASURE",1477762836:"IFCMASSDENSITYMEASURE",2486716878:"IFCMAGNETICFLUXMEASURE",286949696:"IFCMAGNETICFLUXDENSITYMEASURE",151039812:"IFCLUMINOUSINTENSITYMEASURE",2755797622:"IFCLUMINOUSINTENSITYDISTRIBUTIONMEASURE",2095003142:"IFCLUMINOUSFLUXMEASURE",503418787:"IFCLOGICAL",3086160713:"IFCLINEARVELOCITYMEASURE",1307019551:"IFCLINEARSTIFFNESSMEASURE",2128979029:"IFCLINEARMOMENTMEASURE",191860431:"IFCLINEARFORCEMEASURE",1243674935:"IFCLENGTHMEASURE",3258342251:"IFCLABEL",2054016361:"IFCKINEMATICVISCOSITYMEASURE",3192672207:"IFCISOTHERMALMOISTURECAPACITYMEASURE",3686016028:"IFCIONCONCENTRATIONMEASURE",3809634241:"IFCINTEGERCOUNTRATEMEASURE",1939436016:"IFCINTEGER",2679005408:"IFCINDUCTANCEMEASURE",3358199106:"IFCILLUMINANCEMEASURE",983778844:"IFCIDENTIFIER",2589826445:"IFCHOURINDAY",1158859006:"IFCHEATINGVALUEMEASURE",3113092358:"IFCHEATFLUXDENSITYMEASURE",3064340077:"IFCGLOBALLYUNIQUEID",3044325142:"IFCFREQUENCYMEASURE",1361398929:"IFCFORCEMEASURE",2590844177:"IFCFONTWEIGHT",2715512545:"IFCFONTVARIANT",1102727119:"IFCFONTSTYLE",2078135608:"IFCENERGYMEASURE",2506197118:"IFCELECTRICVOLTAGEMEASURE",2951915441:"IFCELECTRICRESISTANCEMEASURE",3790457270:"IFCELECTRICCURRENTMEASURE",2093906313:"IFCELECTRICCONDUCTANCEMEASURE",3818826038:"IFCELECTRICCHARGEMEASURE",1827137117:"IFCELECTRICCAPACITANCEMEASURE",69416015:"IFCDYNAMICVISCOSITYMEASURE",524656162:"IFCDOSEEQUIVALENTMEASURE",4134073009:"IFCDIMENSIONCOUNT",1514641115:"IFCDESCRIPTIVEMEASURE",300323983:"IFCDAYLIGHTSAVINGHOUR",86635668:"IFCDAYINMONTHNUMBER",94842927:"IFCCURVATUREMEASURE",1778710042:"IFCCOUNTMEASURE",3238673880:"IFCCONTEXTDEPENDENTMEASURE",3812528620:"IFCCOMPOUNDPLANEANGLEMEASURE",2991860651:"IFCCOMPLEXNUMBER",1867003952:"IFCBOXALIGNMENT",2735952531:"IFCBOOLEAN",2650437152:"IFCAREAMEASURE",632304761:"IFCANGULARVELOCITYMEASURE",360377573:"IFCAMOUNTOFSUBSTANCEMEASURE",4182062534:"IFCACCELERATIONMEASURE",3699917729:"IFCABSORBEDDOSEMEASURE",1971632696:"IFCGEOSLICE",2680139844:"IFCGEOMODEL",24726584:"IFCELECTRICFLOWTREATMENTDEVICE",3693000487:"IFCDISTRIBUTIONBOARD",3460952963:"IFCCONVEYORSEGMENT",3999819293:"IFCCAISSONFOUNDATION",3314249567:"IFCBOREHOLE",4196446775:"IFCBEARING",325726236:"IFCALIGNMENT",3425753595:"IFCTRACKELEMENT",991950508:"IFCSIGNAL",3798194928:"IFCREINFORCEDSOIL",3290496277:"IFCRAIL",1383356374:"IFCPAVEMENT",2182337498:"IFCNAVIGATIONELEMENT",234836483:"IFCMOORINGDEVICE",2078563270:"IFCMOBILETELECOMMUNICATIONSAPPLIANCE",1638804497:"IFCLIQUIDTERMINAL",1154579445:"IFCLINEARPOSITIONINGELEMENT",2696325953:"IFCKERB",2713699986:"IFCGEOTECHNICALASSEMBLY",2142170206:"IFCELECTRICFLOWTREATMENTDEVICETYPE",3376911765:"IFCEARTHWORKSFILL",1077100507:"IFCEARTHWORKSELEMENT",3071239417:"IFCEARTHWORKSCUT",479945903:"IFCDISTRIBUTIONBOARDTYPE",3426335179:"IFCDEEPFOUNDATION",1502416096:"IFCCOURSE",2940368186:"IFCCONVEYORSEGMENTTYPE",3203706013:"IFCCAISSONFOUNDATIONTYPE",3862327254:"IFCBUILTSYSTEM",1876633798:"IFCBUILTELEMENT",963979645:"IFCBRIDGEPART",644574406:"IFCBRIDGE",3649138523:"IFCBEARINGTYPE",1662888072:"IFCALIGNMENTVERTICAL",317615605:"IFCALIGNMENTSEGMENT",1545765605:"IFCALIGNMENTHORIZONTAL",4266260250:"IFCALIGNMENTCANT",3956297820:"IFCVIBRATIONDAMPERTYPE",1530820697:"IFCVIBRATIONDAMPER",840318589:"IFCVEHICLE",1953115116:"IFCTRANSPORTATIONDEVICE",618700268:"IFCTRACKELEMENTTYPE",2281632017:"IFCTENDONCONDUITTYPE",3663046924:"IFCTENDONCONDUIT",42703149:"IFCSINESPIRAL",1894708472:"IFCSIGNALTYPE",3599934289:"IFCSIGNTYPE",33720170:"IFCSIGN",1027922057:"IFCSEVENTHORDERPOLYNOMIALSPIRAL",544395925:"IFCSEGMENTEDREFERENCECURVE",3649235739:"IFCSECONDORDERPOLYNOMIALSPIRAL",550521510:"IFCROADPART",146592293:"IFCROAD",3818125796:"IFCRELADHERESTOELEMENT",4021432810:"IFCREFERENT",1891881377:"IFCRAILWAYPART",3992365140:"IFCRAILWAY",1763565496:"IFCRAILTYPE",1946335990:"IFCPOSITIONINGELEMENT",514975943:"IFCPAVEMENTTYPE",506776471:"IFCNAVIGATIONELEMENTTYPE",710110818:"IFCMOORINGDEVICETYPE",1950438474:"IFCMOBILETELECOMMUNICATIONSAPPLIANCETYPE",976884017:"IFCMARINEPART",525669439:"IFCMARINEFACILITY",1770583370:"IFCLIQUIDTERMINALTYPE",2176059722:"IFCLINEARELEMENT",679976338:"IFCKERBTYPE",3948183225:"IFCIMPACTPROTECTIONDEVICETYPE",2568555532:"IFCIMPACTPROTECTIONDEVICE",2898700619:"IFCGRADIENTCURVE",1594536857:"IFCGEOTECHNICALSTRATUM",4230923436:"IFCGEOTECHNICALELEMENT",4228831410:"IFCFACILITYPARTCOMMON",1310830890:"IFCFACILITYPART",24185140:"IFCFACILITY",4234616927:"IFCDIRECTRIXDERIVEDREFERENCESWEPTAREASOLID",1306400036:"IFCDEEPFOUNDATIONTYPE",4189326743:"IFCCOURSETYPE",2000195564:"IFCCOSINESPIRAL",3497074424:"IFCCLOTHOID",1626504194:"IFCBUILTELEMENTTYPE",3651464721:"IFCVEHICLETYPE",1229763772:"IFCTRIANGULATEDIRREGULARNETWORK",3665877780:"IFCTRANSPORTATIONDEVICETYPE",782932809:"IFCTHIRDORDERPOLYNOMIALSPIRAL",2735484536:"IFCSPIRAL",1356537516:"IFCSECTIONEDSURFACE",1290935644:"IFCSECTIONEDSOLIDHORIZONTAL",1862484736:"IFCSECTIONEDSOLID",1441486842:"IFCRELPOSITIONS",1033248425:"IFCRELASSOCIATESPROFILEDEF",3381221214:"IFCPOLYNOMIALCURVE",2485787929:"IFCOFFSETCURVEBYDISTANCES",590820931:"IFCOFFSETCURVE",3465909080:"IFCINDEXEDPOLYGONALTEXTUREMAP",593015953:"IFCDIRECTRIXCURVESWEPTAREASOLID",4212018352:"IFCCURVESEGMENT",3425423356:"IFCAXIS2PLACEMENTLINEAR",823603102:"IFCSEGMENT",2165702409:"IFCPOINTBYDISTANCEEXPRESSION",182550632:"IFCOPENCROSSPROFILEDEF",388784114:"IFCLINEARPLACEMENT",536804194:"IFCALIGNMENTHORIZONTALSEGMENT",3752311538:"IFCALIGNMENTCANTSEGMENT",1010789467:"IFCTEXTURECOORDINATEINDICESWITHVOIDS",222769930:"IFCTEXTURECOORDINATEINDICES",2691318326:"IFCQUANTITYNUMBER",3633395639:"IFCALIGNMENTVERTICALSEGMENT",2879124712:"IFCALIGNMENTPARAMETERSEGMENT",25142252:"IFCCONTROLLER",3087945054:"IFCALARM",4288193352:"IFCACTUATOR",630975310:"IFCUNITARYCONTROLELEMENT",4086658281:"IFCSENSOR",2295281155:"IFCPROTECTIVEDEVICETRIPPINGUNIT",182646315:"IFCFLOWINSTRUMENT",1426591983:"IFCFIRESUPPRESSIONTERMINAL",819412036:"IFCFILTER",3415622556:"IFCFAN",1003880860:"IFCELECTRICTIMECONTROL",402227799:"IFCELECTRICMOTOR",264262732:"IFCELECTRICGENERATOR",3310460725:"IFCELECTRICFLOWSTORAGEDEVICE",862014818:"IFCELECTRICDISTRIBUTIONBOARD",1904799276:"IFCELECTRICAPPLIANCE",1360408905:"IFCDUCTSILENCER",3518393246:"IFCDUCTSEGMENT",342316401:"IFCDUCTFITTING",562808652:"IFCDISTRIBUTIONCIRCUIT",4074379575:"IFCDAMPER",3640358203:"IFCCOOLINGTOWER",4136498852:"IFCCOOLEDBEAM",2272882330:"IFCCONDENSER",3571504051:"IFCCOMPRESSOR",3221913625:"IFCCOMMUNICATIONSAPPLIANCE",639361253:"IFCCOIL",3902619387:"IFCCHILLER",4217484030:"IFCCABLESEGMENT",1051757585:"IFCCABLEFITTING",3758799889:"IFCCABLECARRIERSEGMENT",635142910:"IFCCABLECARRIERFITTING",2938176219:"IFCBURNER",32344328:"IFCBOILER",2906023776:"IFCBEAMSTANDARDCASE",277319702:"IFCAUDIOVISUALAPPLIANCE",2056796094:"IFCAIRTOAIRHEATRECOVERY",177149247:"IFCAIRTERMINALBOX",1634111441:"IFCAIRTERMINAL",486154966:"IFCWINDOWSTANDARDCASE",4237592921:"IFCWASTETERMINAL",4156078855:"IFCWALLELEMENTEDCASE",4207607924:"IFCVALVE",4292641817:"IFCUNITARYEQUIPMENT",3179687236:"IFCUNITARYCONTROLELEMENTTYPE",3026737570:"IFCTUBEBUNDLE",3825984169:"IFCTRANSFORMER",812556717:"IFCTANK",1162798199:"IFCSWITCHINGDEVICE",385403989:"IFCSTRUCTURALLOADCASE",1404847402:"IFCSTACKTERMINAL",1999602285:"IFCSPACEHEATER",3420628829:"IFCSOLARDEVICE",3027962421:"IFCSLABSTANDARDCASE",3127900445:"IFCSLABELEMENTEDCASE",1329646415:"IFCSHADINGDEVICE",3053780830:"IFCSANITARYTERMINAL",2572171363:"IFCREINFORCINGBARTYPE",1232101972:"IFCRATIONALBSPLINECURVEWITHKNOTS",90941305:"IFCPUMP",655969474:"IFCPROTECTIVEDEVICETRIPPINGUNITTYPE",738039164:"IFCPROTECTIVEDEVICE",1156407060:"IFCPLATESTANDARDCASE",3612865200:"IFCPIPESEGMENT",310824031:"IFCPIPEFITTING",3694346114:"IFCOUTLET",144952367:"IFCOUTERBOUNDARYCURVE",2474470126:"IFCMOTORCONNECTION",1911478936:"IFCMEMBERSTANDARDCASE",1437502449:"IFCMEDICALDEVICE",629592764:"IFCLIGHTFIXTURE",76236018:"IFCLAMP",2176052936:"IFCJUNCTIONBOX",4175244083:"IFCINTERCEPTOR",2068733104:"IFCHUMIDIFIER",3319311131:"IFCHEATEXCHANGER",2188021234:"IFCFLOWMETER",1209101575:"IFCEXTERNALSPATIALELEMENT",484807127:"IFCEVAPORATOR",3747195512:"IFCEVAPORATIVECOOLER",2814081492:"IFCENGINE",2417008758:"IFCELECTRICDISTRIBUTIONBOARDTYPE",3242481149:"IFCDOORSTANDARDCASE",3205830791:"IFCDISTRIBUTIONSYSTEM",400855858:"IFCCOMMUNICATIONSAPPLIANCETYPE",905975707:"IFCCOLUMNSTANDARDCASE",1677625105:"IFCCIVILELEMENT",3296154744:"IFCCHIMNEY",2674252688:"IFCCABLEFITTINGTYPE",2188180465:"IFCBURNERTYPE",1177604601:"IFCBUILDINGSYSTEM",39481116:"IFCBUILDINGELEMENTPARTTYPE",1136057603:"IFCBOUNDARYCURVE",2461110595:"IFCBSPLINECURVEWITHKNOTS",1532957894:"IFCAUDIOVISUALAPPLIANCETYPE",4088093105:"IFCWORKCALENDAR",4009809668:"IFCWINDOWTYPE",926996030:"IFCVOIDINGFEATURE",2391383451:"IFCVIBRATIONISOLATOR",2415094496:"IFCTENDONTYPE",3081323446:"IFCTENDONANCHORTYPE",413509423:"IFCSYSTEMFURNITUREELEMENT",3101698114:"IFCSURFACEFEATURE",3657597509:"IFCSTRUCTURALSURFACEACTION",2757150158:"IFCSTRUCTURALCURVEREACTION",1004757350:"IFCSTRUCTURALCURVEACTION",338393293:"IFCSTAIRTYPE",1072016465:"IFCSOLARDEVICETYPE",4074543187:"IFCSHADINGDEVICETYPE",2157484638:"IFCSEAMCURVE",2781568857:"IFCROOFTYPE",2310774935:"IFCREINFORCINGMESHTYPE",964333572:"IFCREINFORCINGELEMENTTYPE",683857671:"IFCRATIONALBSPLINESURFACEWITHKNOTS",1469900589:"IFCRAMPTYPE",2839578677:"IFCPOLYGONALFACESET",1158309216:"IFCPILETYPE",3079942009:"IFCOPENINGSTANDARDCASE",1114901282:"IFCMEDICALDEVICETYPE",3113134337:"IFCINTERSECTIONCURVE",3946677679:"IFCINTERCEPTORTYPE",2571569899:"IFCINDEXEDPOLYCURVE",3493046030:"IFCGEOGRAPHICELEMENT",1509553395:"IFCFURNITURE",1893162501:"IFCFOOTINGTYPE",2853485674:"IFCEXTERNALSPATIALSTRUCTUREELEMENT",4148101412:"IFCEVENT",132023988:"IFCENGINETYPE",2397081782:"IFCELEMENTASSEMBLYTYPE",2323601079:"IFCDOORTYPE",1213902940:"IFCCYLINDRICALSURFACE",1525564444:"IFCCONSTRUCTIONPRODUCTRESOURCETYPE",4105962743:"IFCCONSTRUCTIONMATERIALRESOURCETYPE",2185764099:"IFCCONSTRUCTIONEQUIPMENTRESOURCETYPE",15328376:"IFCCOMPOSITECURVEONSURFACE",3875453745:"IFCCOMPLEXPROPERTYTEMPLATE",3893394355:"IFCCIVILELEMENTTYPE",2197970202:"IFCCHIMNEYTYPE",167062518:"IFCBSPLINESURFACEWITHKNOTS",2887950389:"IFCBSPLINESURFACE",2603310189:"IFCADVANCEDBREPWITHVOIDS",1635779807:"IFCADVANCEDBREP",2916149573:"IFCTRIANGULATEDFACESET",1935646853:"IFCTOROIDALSURFACE",2387106220:"IFCTESSELLATEDFACESET",3206491090:"IFCTASKTYPE",699246055:"IFCSURFACECURVE",4095615324:"IFCSUBCONTRACTRESOURCETYPE",603775116:"IFCSTRUCTURALSURFACEREACTION",4015995234:"IFCSPHERICALSURFACE",2481509218:"IFCSPATIALZONETYPE",463610769:"IFCSPATIALZONE",710998568:"IFCSPATIALELEMENTTYPE",1412071761:"IFCSPATIALELEMENT",3663146110:"IFCSIMPLEPROPERTYTEMPLATE",3243963512:"IFCREVOLVEDAREASOLIDTAPERED",816062949:"IFCREPARAMETRISEDCOMPOSITECURVESEGMENT",1521410863:"IFCRELSPACEBOUNDARY2NDLEVEL",3523091289:"IFCRELSPACEBOUNDARY1STLEVEL",427948657:"IFCRELINTERFERESELEMENTS",307848117:"IFCRELDEFINESBYTEMPLATE",1462361463:"IFCRELDEFINESBYOBJECT",2565941209:"IFCRELDECLARES",1027710054:"IFCRELASSIGNSTOGROUPBYFACTOR",3521284610:"IFCPROPERTYTEMPLATE",492091185:"IFCPROPERTYSETTEMPLATE",653396225:"IFCPROJECTLIBRARY",569719735:"IFCPROCEDURETYPE",3967405729:"IFCPREDEFINEDPROPERTYSET",1682466193:"IFCPCURVE",428585644:"IFCLABORRESOURCETYPE",2294589976:"IFCINDEXEDPOLYGONALFACEWITHVOIDS",178912537:"IFCINDEXEDPOLYGONALFACE",4095422895:"IFCGEOGRAPHICELEMENTTYPE",2652556860:"IFCFIXEDREFERENCESWEPTAREASOLID",2804161546:"IFCEXTRUDEDAREASOLIDTAPERED",4024345920:"IFCEVENTTYPE",2629017746:"IFCCURVEBOUNDEDSURFACE",1815067380:"IFCCREWRESOURCETYPE",3419103109:"IFCCONTEXT",2574617495:"IFCCONSTRUCTIONRESOURCETYPE",2059837836:"IFCCARTESIANPOINTLIST3D",1675464909:"IFCCARTESIANPOINTLIST2D",574549367:"IFCCARTESIANPOINTLIST",3406155212:"IFCADVANCEDFACE",3698973494:"IFCTYPERESOURCE",3736923433:"IFCTYPEPROCESS",901063453:"IFCTESSELLATEDITEM",1096409881:"IFCSWEPTDISKSOLIDPOLYGONAL",1042787934:"IFCRESOURCETIME",1608871552:"IFCRESOURCECONSTRAINTRELATIONSHIP",2943643501:"IFCRESOURCEAPPROVALRELATIONSHIP",2090586900:"IFCQUANTITYSET",1482703590:"IFCPROPERTYTEMPLATEDEFINITION",3778827333:"IFCPREDEFINEDPROPERTIES",2998442950:"IFCMIRROREDPROFILEDEF",853536259:"IFCMATERIALRELATIONSHIP",3404854881:"IFCMATERIALPROFILESETUSAGETAPERING",3079605661:"IFCMATERIALPROFILESETUSAGE",2852063980:"IFCMATERIALCONSTITUENTSET",3708119e3:"IFCMATERIALCONSTITUENT",1585845231:"IFCLAGTIME",2133299955:"IFCINDEXEDTRIANGLETEXTUREMAP",1437953363:"IFCINDEXEDTEXTUREMAP",3570813810:"IFCINDEXEDCOLOURMAP",1437805879:"IFCEXTERNALREFERENCERELATIONSHIP",297599258:"IFCEXTENDEDPROPERTIES",211053100:"IFCEVENTTIME",2713554722:"IFCCONVERSIONBASEDUNITWITHOFFSET",3285139300:"IFCCOLOURRGBLIST",1236880293:"IFCWORKTIME",1199560280:"IFCTIMEPERIOD",3611470254:"IFCTEXTUREVERTEXLIST",2771591690:"IFCTASKTIMERECURRING",1549132990:"IFCTASKTIME",2043862942:"IFCTABLECOLUMN",2934153892:"IFCSURFACEREINFORCEMENTAREA",609421318:"IFCSTRUCTURALLOADORRESULT",3478079324:"IFCSTRUCTURALLOADCONFIGURATION",1054537805:"IFCSCHEDULINGTIME",2439245199:"IFCRESOURCELEVELRELATIONSHIP",2433181523:"IFCREFERENCE",3915482550:"IFCRECURRENCEPATTERN",986844984:"IFCPROPERTYABSTRACTION",3843373140:"IFCPROJECTEDCRS",677532197:"IFCPRESENTATIONITEM",1507914824:"IFCMATERIALUSAGEDEFINITION",552965576:"IFCMATERIALPROFILEWITHOFFSETS",164193824:"IFCMATERIALPROFILESET",2235152071:"IFCMATERIALPROFILE",1847252529:"IFCMATERIALLAYERWITHOFFSETS",760658860:"IFCMATERIALDEFINITION",3057273783:"IFCMAPCONVERSION",4294318154:"IFCEXTERNALINFORMATION",1466758467:"IFCCOORDINATEREFERENCESYSTEM",1785450214:"IFCCOORDINATEOPERATION",775493141:"IFCCONNECTIONVOLUMEGEOMETRY",979691226:"IFCREINFORCINGBAR",3700593921:"IFCELECTRICDISTRIBUTIONPOINT",1062813311:"IFCDISTRIBUTIONCONTROLELEMENT",1052013943:"IFCDISTRIBUTIONCHAMBERELEMENT",578613899:"IFCCONTROLLERTYPE",2454782716:"IFCCHAMFEREDGEFEATURE",753842376:"IFCBEAM",3001207471:"IFCALARMTYPE",2874132201:"IFCACTUATORTYPE",3304561284:"IFCWINDOW",3512223829:"IFCWALLSTANDARDCASE",2391406946:"IFCWALL",3313531582:"IFCVIBRATIONISOLATORTYPE",2347447852:"IFCTENDONANCHOR",3824725483:"IFCTENDON",2515109513:"IFCSTRUCTURALANALYSISMODEL",4252922144:"IFCSTAIRFLIGHT",331165859:"IFCSTAIR",1529196076:"IFCSLAB",1783015770:"IFCSENSORTYPE",1376911519:"IFCROUNDEDEDGEFEATURE",2016517767:"IFCROOF",2320036040:"IFCREINFORCINGMESH",3027567501:"IFCREINFORCINGELEMENT",3055160366:"IFCRATIONALBEZIERCURVE",3283111854:"IFCRAMPFLIGHT",3024970846:"IFCRAMP",2262370178:"IFCRAILING",3171933400:"IFCPLATE",1687234759:"IFCPILE",1073191201:"IFCMEMBER",900683007:"IFCFOOTING",3508470533:"IFCFLOWTREATMENTDEVICE",2223149337:"IFCFLOWTERMINAL",707683696:"IFCFLOWSTORAGEDEVICE",987401354:"IFCFLOWSEGMENT",3132237377:"IFCFLOWMOVINGDEVICE",4037862832:"IFCFLOWINSTRUMENTTYPE",4278956645:"IFCFLOWFITTING",2058353004:"IFCFLOWCONTROLLER",4222183408:"IFCFIRESUPPRESSIONTERMINALTYPE",1810631287:"IFCFILTERTYPE",346874300:"IFCFANTYPE",1658829314:"IFCENERGYCONVERSIONDEVICE",857184966:"IFCELECTRICALELEMENT",1634875225:"IFCELECTRICALCIRCUIT",712377611:"IFCELECTRICTIMECONTROLTYPE",1217240411:"IFCELECTRICMOTORTYPE",1365060375:"IFCELECTRICHEATERTYPE",1534661035:"IFCELECTRICGENERATORTYPE",3277789161:"IFCELECTRICFLOWSTORAGEDEVICETYPE",663422040:"IFCELECTRICAPPLIANCETYPE",855621170:"IFCEDGEFEATURE",2030761528:"IFCDUCTSILENCERTYPE",3760055223:"IFCDUCTSEGMENTTYPE",869906466:"IFCDUCTFITTINGTYPE",395920057:"IFCDOOR",3041715199:"IFCDISTRIBUTIONPORT",3040386961:"IFCDISTRIBUTIONFLOWELEMENT",1945004755:"IFCDISTRIBUTIONELEMENT",2063403501:"IFCDISTRIBUTIONCONTROLELEMENTTYPE",1599208980:"IFCDISTRIBUTIONCHAMBERELEMENTTYPE",2635815018:"IFCDISCRETEACCESSORYTYPE",1335981549:"IFCDISCRETEACCESSORY",4147604152:"IFCDIAMETERDIMENSION",3961806047:"IFCDAMPERTYPE",3495092785:"IFCCURTAINWALL",1973544240:"IFCCOVERING",2954562838:"IFCCOOLINGTOWERTYPE",335055490:"IFCCOOLEDBEAMTYPE",488727124:"IFCCONSTRUCTIONPRODUCTRESOURCE",1060000209:"IFCCONSTRUCTIONMATERIALRESOURCE",3898045240:"IFCCONSTRUCTIONEQUIPMENTRESOURCE",1163958913:"IFCCONDITIONCRITERION",2188551683:"IFCCONDITION",2816379211:"IFCCONDENSERTYPE",3850581409:"IFCCOMPRESSORTYPE",843113511:"IFCCOLUMN",2301859152:"IFCCOILTYPE",2611217952:"IFCCIRCLE",2951183804:"IFCCHILLERTYPE",1285652485:"IFCCABLESEGMENTTYPE",3293546465:"IFCCABLECARRIERSEGMENTTYPE",395041908:"IFCCABLECARRIERFITTINGTYPE",1909888760:"IFCBUILDINGELEMENTPROXYTYPE",1095909175:"IFCBUILDINGELEMENTPROXY",2979338954:"IFCBUILDINGELEMENTPART",52481810:"IFCBUILDINGELEMENTCOMPONENT",3299480353:"IFCBUILDINGELEMENT",231477066:"IFCBOILERTYPE",1916977116:"IFCBEZIERCURVE",819618141:"IFCBEAMTYPE",1967976161:"IFCBSPLINECURVE",3460190687:"IFCASSET",2470393545:"IFCANGULARDIMENSION",1871374353:"IFCAIRTOAIRHEATRECOVERYTYPE",3352864051:"IFCAIRTERMINALTYPE",1411407467:"IFCAIRTERMINALBOXTYPE",3821786052:"IFCACTIONREQUEST",1213861670:"IFC2DCOMPOSITECURVE",1033361043:"IFCZONE",3342526732:"IFCWORKSCHEDULE",4218914973:"IFCWORKPLAN",1028945134:"IFCWORKCONTROL",1133259667:"IFCWASTETERMINALTYPE",1898987631:"IFCWALLTYPE",2769231204:"IFCVIRTUALELEMENT",728799441:"IFCVALVETYPE",1911125066:"IFCUNITARYEQUIPMENTTYPE",1600972822:"IFCTUBEBUNDLETYPE",3593883385:"IFCTRIMMEDCURVE",1620046519:"IFCTRANSPORTELEMENT",1692211062:"IFCTRANSFORMERTYPE",1637806684:"IFCTIMESERIESSCHEDULE",5716631:"IFCTANKTYPE",2254336722:"IFCSYSTEM",2315554128:"IFCSWITCHINGDEVICETYPE",148013059:"IFCSUBCONTRACTRESOURCE",1975003073:"IFCSTRUCTURALSURFACECONNECTION",2986769608:"IFCSTRUCTURALRESULTGROUP",1235345126:"IFCSTRUCTURALPOINTREACTION",734778138:"IFCSTRUCTURALPOINTCONNECTION",2082059205:"IFCSTRUCTURALPOINTACTION",3987759626:"IFCSTRUCTURALPLANARACTIONVARYING",1621171031:"IFCSTRUCTURALPLANARACTION",1252848954:"IFCSTRUCTURALLOADGROUP",1721250024:"IFCSTRUCTURALLINEARACTIONVARYING",1807405624:"IFCSTRUCTURALLINEARACTION",2445595289:"IFCSTRUCTURALCURVEMEMBERVARYING",214636428:"IFCSTRUCTURALCURVEMEMBER",4243806635:"IFCSTRUCTURALCURVECONNECTION",1179482911:"IFCSTRUCTURALCONNECTION",682877961:"IFCSTRUCTURALACTION",1039846685:"IFCSTAIRFLIGHTTYPE",3112655638:"IFCSTACKTERMINALTYPE",3812236995:"IFCSPACETYPE",652456506:"IFCSPACEPROGRAM",1305183839:"IFCSPACEHEATERTYPE",3856911033:"IFCSPACE",2533589738:"IFCSLABTYPE",4097777520:"IFCSITE",4105383287:"IFCSERVICELIFE",3517283431:"IFCSCHEDULETIMECONTROL",1768891740:"IFCSANITARYTERMINALTYPE",2863920197:"IFCRELASSIGNSTASKS",160246688:"IFCRELAGGREGATES",2324767716:"IFCRAMPFLIGHTTYPE",2893384427:"IFCRAILINGTYPE",3248260540:"IFCRADIUSDIMENSION",2250791053:"IFCPUMPTYPE",1842657554:"IFCPROTECTIVEDEVICETYPE",3651124850:"IFCPROJECTIONELEMENT",3642467123:"IFCPROJECTORDERRECORD",2904328755:"IFCPROJECTORDER",2744685151:"IFCPROCEDURE",3740093272:"IFCPORT",3724593414:"IFCPOLYLINE",4017108033:"IFCPLATETYPE",4231323485:"IFCPIPESEGMENTTYPE",804291784:"IFCPIPEFITTINGTYPE",3327091369:"IFCPERMIT",2382730787:"IFCPERFORMANCEHISTORY",2837617999:"IFCOUTLETTYPE",3425660407:"IFCORDERACTION",3588315303:"IFCOPENINGELEMENT",4143007308:"IFCOCCUPANT",1916936684:"IFCMOVE",977012517:"IFCMOTORCONNECTIONTYPE",3181161470:"IFCMEMBERTYPE",2108223431:"IFCMECHANICALFASTENERTYPE",377706215:"IFCMECHANICALFASTENER",2506943328:"IFCLINEARDIMENSION",1161773419:"IFCLIGHTFIXTURETYPE",1051575348:"IFCLAMPTYPE",3827777499:"IFCLABORRESOURCE",4288270099:"IFCJUNCTIONBOXTYPE",2391368822:"IFCINVENTORY",1806887404:"IFCHUMIDIFIERTYPE",1251058090:"IFCHEATEXCHANGERTYPE",2706460486:"IFCGROUP",3009204131:"IFCGRID",200128114:"IFCGASTERMINALTYPE",814719939:"IFCFURNITURESTANDARD",263784265:"IFCFURNISHINGELEMENT",3009222698:"IFCFLOWTREATMENTDEVICETYPE",2297155007:"IFCFLOWTERMINALTYPE",1339347760:"IFCFLOWSTORAGEDEVICETYPE",1834744321:"IFCFLOWSEGMENTTYPE",1482959167:"IFCFLOWMOVINGDEVICETYPE",3815607619:"IFCFLOWMETERTYPE",3198132628:"IFCFLOWFITTINGTYPE",3907093117:"IFCFLOWCONTROLLERTYPE",1287392070:"IFCFEATUREELEMENTSUBTRACTION",2143335405:"IFCFEATUREELEMENTADDITION",2827207264:"IFCFEATUREELEMENT",2489546625:"IFCFASTENERTYPE",647756555:"IFCFASTENER",3737207727:"IFCFACETEDBREPWITHVOIDS",807026263:"IFCFACETEDBREP",3390157468:"IFCEVAPORATORTYPE",3174744832:"IFCEVAPORATIVECOOLERTYPE",3272907226:"IFCEQUIPMENTSTANDARD",1962604670:"IFCEQUIPMENTELEMENT",2107101300:"IFCENERGYCONVERSIONDEVICETYPE",1704287377:"IFCELLIPSE",2590856083:"IFCELEMENTCOMPONENTTYPE",1623761950:"IFCELEMENTCOMPONENT",4123344466:"IFCELEMENTASSEMBLY",1758889154:"IFCELEMENT",360485395:"IFCELECTRICALBASEPROPERTIES",3849074793:"IFCDISTRIBUTIONFLOWELEMENTTYPE",3256556792:"IFCDISTRIBUTIONELEMENTTYPE",681481545:"IFCDIMENSIONCURVEDIRECTEDCALLOUT",1457835157:"IFCCURTAINWALLTYPE",3295246426:"IFCCREWRESOURCE",1916426348:"IFCCOVERINGTYPE",1419761937:"IFCCOSTSCHEDULE",3895139033:"IFCCOSTITEM",3293443760:"IFCCONTROL",2559216714:"IFCCONSTRUCTIONRESOURCE",2510884976:"IFCCONIC",3732776249:"IFCCOMPOSITECURVE",300633059:"IFCCOLUMNTYPE",2937912522:"IFCCIRCLEHOLLOWPROFILEDEF",3124254112:"IFCBUILDINGSTOREY",1950629157:"IFCBUILDINGELEMENTTYPE",4031249490:"IFCBUILDING",1260505505:"IFCBOUNDEDCURVE",3649129432:"IFCBOOLEANCLIPPINGRESULT",1334484129:"IFCBLOCK",3207858831:"IFCASYMMETRICISHAPEPROFILEDEF",1674181508:"IFCANNOTATION",2296667514:"IFCACTOR",2097647324:"IFCTRANSPORTELEMENTTYPE",3473067441:"IFCTASK",1580310250:"IFCSYSTEMFURNITUREELEMENTTYPE",4124788165:"IFCSURFACEOFREVOLUTION",2809605785:"IFCSURFACEOFLINEAREXTRUSION",2028607225:"IFCSURFACECURVESWEPTAREASOLID",4070609034:"IFCSTRUCTUREDDIMENSIONCALLOUT",2218152070:"IFCSTRUCTURALSURFACEMEMBERVARYING",3979015343:"IFCSTRUCTURALSURFACEMEMBER",3689010777:"IFCSTRUCTURALREACTION",530289379:"IFCSTRUCTURALMEMBER",3136571912:"IFCSTRUCTURALITEM",3544373492:"IFCSTRUCTURALACTIVITY",451544542:"IFCSPHERE",3893378262:"IFCSPATIALSTRUCTUREELEMENTTYPE",2706606064:"IFCSPATIALSTRUCTUREELEMENT",3626867408:"IFCRIGHTCIRCULARCYLINDER",4158566097:"IFCRIGHTCIRCULARCONE",1856042241:"IFCREVOLVEDAREASOLID",2914609552:"IFCRESOURCE",1401173127:"IFCRELVOIDSELEMENT",3451746338:"IFCRELSPACEBOUNDARY",366585022:"IFCRELSERVICESBUILDINGS",4122056220:"IFCRELSEQUENCE",1058617721:"IFCRELSCHEDULESCOSTITEMS",1245217292:"IFCRELREFERENCEDINSPATIALSTRUCTURE",750771296:"IFCRELPROJECTSELEMENT",202636808:"IFCRELOVERRIDESPROPERTIES",2051452291:"IFCRELOCCUPIESSPACES",3268803585:"IFCRELNESTS",4189434867:"IFCRELINTERACTIONREQUIREMENTS",279856033:"IFCRELFLOWCONTROLELEMENTS",3940055652:"IFCRELFILLSELEMENT",781010003:"IFCRELDEFINESBYTYPE",4186316022:"IFCRELDEFINESBYPROPERTIES",693640335:"IFCRELDEFINES",2551354335:"IFCRELDECOMPOSES",2802773753:"IFCRELCOVERSSPACES",886880790:"IFCRELCOVERSBLDGELEMENTS",3242617779:"IFCRELCONTAINEDINSPATIALSTRUCTURE",3678494232:"IFCRELCONNECTSWITHREALIZINGELEMENTS",504942748:"IFCRELCONNECTSWITHECCENTRICITY",1638771189:"IFCRELCONNECTSSTRUCTURALMEMBER",3912681535:"IFCRELCONNECTSSTRUCTURALELEMENT",2127690289:"IFCRELCONNECTSSTRUCTURALACTIVITY",3190031847:"IFCRELCONNECTSPORTS",4201705270:"IFCRELCONNECTSPORTTOELEMENT",3945020480:"IFCRELCONNECTSPATHELEMENTS",1204542856:"IFCRELCONNECTSELEMENTS",826625072:"IFCRELCONNECTS",2851387026:"IFCRELASSOCIATESPROFILEPROPERTIES",2655215786:"IFCRELASSOCIATESMATERIAL",3840914261:"IFCRELASSOCIATESLIBRARY",982818633:"IFCRELASSOCIATESDOCUMENT",2728634034:"IFCRELASSOCIATESCONSTRAINT",919958153:"IFCRELASSOCIATESCLASSIFICATION",4095574036:"IFCRELASSOCIATESAPPROVAL",1327628568:"IFCRELASSOCIATESAPPLIEDVALUE",1865459582:"IFCRELASSOCIATES",205026976:"IFCRELASSIGNSTORESOURCE",3372526763:"IFCRELASSIGNSTOPROJECTORDER",2857406711:"IFCRELASSIGNSTOPRODUCT",4278684876:"IFCRELASSIGNSTOPROCESS",1307041759:"IFCRELASSIGNSTOGROUP",2495723537:"IFCRELASSIGNSTOCONTROL",1683148259:"IFCRELASSIGNSTOACTOR",3939117080:"IFCRELASSIGNS",3454111270:"IFCRECTANGULARTRIMMEDSURFACE",2798486643:"IFCRECTANGULARPYRAMID",2770003689:"IFCRECTANGLEHOLLOWPROFILEDEF",3219374653:"IFCPROXY",1451395588:"IFCPROPERTYSET",4194566429:"IFCPROJECTIONCURVE",103090709:"IFCPROJECT",4208778838:"IFCPRODUCT",2945172077:"IFCPROCESS",220341763:"IFCPLANE",603570806:"IFCPLANARBOX",3566463478:"IFCPERMEABLECOVERINGPROPERTIES",3505215534:"IFCOFFSETCURVE3D",3388369263:"IFCOFFSETCURVE2D",3888040117:"IFCOBJECT",1425443689:"IFCMANIFOLDSOLIDBREP",1281925730:"IFCLINE",572779678:"IFCLSHAPEPROFILEDEF",1484403080:"IFCISHAPEPROFILEDEF",987898635:"IFCGEOMETRICCURVESET",1268542332:"IFCFURNITURETYPE",4238390223:"IFCFURNISHINGELEMENTTYPE",3455213021:"IFCFLUIDFLOWPROPERTIES",315944413:"IFCFILLAREASTYLETILES",4203026998:"IFCFILLAREASTYLETILESYMBOLWITHSTYLE",374418227:"IFCFILLAREASTYLEHATCHING",2047409740:"IFCFACEBASEDSURFACEMODEL",477187591:"IFCEXTRUDEDAREASOLID",80994333:"IFCENERGYPROPERTIES",2835456948:"IFCELLIPSEPROFILEDEF",2777663545:"IFCELEMENTARYSURFACE",339256511:"IFCELEMENTTYPE",1883228015:"IFCELEMENTQUANTITY",1472233963:"IFCEDGELOOP",4006246654:"IFCDRAUGHTINGPREDEFINEDCURVEFONT",445594917:"IFCDRAUGHTINGPREDEFINEDCOLOUR",3073041342:"IFCDRAUGHTINGCALLOUT",526551008:"IFCDOORSTYLE",1714330368:"IFCDOORPANELPROPERTIES",2963535650:"IFCDOORLININGPROPERTIES",32440307:"IFCDIRECTION",4054601972:"IFCDIMENSIONCURVETERMINATOR",606661476:"IFCDIMENSIONCURVE",693772133:"IFCDEFINEDSYMBOL",2827736869:"IFCCURVEBOUNDEDPLANE",2601014836:"IFCCURVE",2147822146:"IFCCSGSOLID",2506170314:"IFCCSGPRIMITIVE3D",194851669:"IFCCRANERAILFSHAPEPROFILEDEF",4133800736:"IFCCRANERAILASHAPEPROFILEDEF",2485617015:"IFCCOMPOSITECURVESEGMENT",2205249479:"IFCCLOSEDSHELL",1383045692:"IFCCIRCLEPROFILEDEF",1416205885:"IFCCARTESIANTRANSFORMATIONOPERATOR3DNONUNIFORM",3331915920:"IFCCARTESIANTRANSFORMATIONOPERATOR3D",3486308946:"IFCCARTESIANTRANSFORMATIONOPERATOR2DNONUNIFORM",3749851601:"IFCCARTESIANTRANSFORMATIONOPERATOR2D",59481748:"IFCCARTESIANTRANSFORMATIONOPERATOR",1123145078:"IFCCARTESIANPOINT",2898889636:"IFCCSHAPEPROFILEDEF",2713105998:"IFCBOXEDHALFSPACE",2581212453:"IFCBOUNDINGBOX",4182860854:"IFCBOUNDEDSURFACE",2736907675:"IFCBOOLEANRESULT",2740243338:"IFCAXIS2PLACEMENT3D",3125803723:"IFCAXIS2PLACEMENT2D",4261334040:"IFCAXIS1PLACEMENT",1302238472:"IFCANNOTATIONSURFACE",2265737646:"IFCANNOTATIONFILLAREAOCCURRENCE",669184980:"IFCANNOTATIONFILLAREA",3288037868:"IFCANNOTATIONCURVEOCCURRENCE",2543172580:"IFCZSHAPEPROFILEDEF",1299126871:"IFCWINDOWSTYLE",512836454:"IFCWINDOWPANELPROPERTIES",336235671:"IFCWINDOWLININGPROPERTIES",2759199220:"IFCVERTEXLOOP",1417489154:"IFCVECTOR",427810014:"IFCUSHAPEPROFILEDEF",2347495698:"IFCTYPEPRODUCT",1628702193:"IFCTYPEOBJECT",1345879162:"IFCTWODIRECTIONREPEATFACTOR",2715220739:"IFCTRAPEZIUMPROFILEDEF",3124975700:"IFCTEXTLITERALWITHEXTENT",4282788508:"IFCTEXTLITERAL",3028897424:"IFCTERMINATORSYMBOL",3071757647:"IFCTSHAPEPROFILEDEF",230924584:"IFCSWEPTSURFACE",1260650574:"IFCSWEPTDISKSOLID",2247615214:"IFCSWEPTAREASOLID",1878645084:"IFCSURFACESTYLERENDERING",2513912981:"IFCSURFACE",2233826070:"IFCSUBEDGE",3653947884:"IFCSTRUCTURALSTEELPROFILEPROPERTIES",3843319758:"IFCSTRUCTURALPROFILEPROPERTIES",1190533807:"IFCSTRUCTURALLOADSINGLEFORCEWARPING",1597423693:"IFCSTRUCTURALLOADSINGLEFORCE",1973038258:"IFCSTRUCTURALLOADSINGLEDISPLACEMENTDISTORTION",2473145415:"IFCSTRUCTURALLOADSINGLEDISPLACEMENT",2668620305:"IFCSTRUCTURALLOADPLANARFORCE",1595516126:"IFCSTRUCTURALLOADLINEARFORCE",390701378:"IFCSPACETHERMALLOADPROPERTIES",1202362311:"IFCSOUNDVALUE",2485662743:"IFCSOUNDPROPERTIES",723233188:"IFCSOLIDMODEL",2609359061:"IFCSLIPPAGECONNECTIONCONDITION",4124623270:"IFCSHELLBASEDSURFACEMODEL",2411513650:"IFCSERVICELIFEFACTOR",1509187699:"IFCSECTIONEDSPINE",2778083089:"IFCROUNDEDRECTANGLEPROFILEDEF",478536968:"IFCRELATIONSHIP",3765753017:"IFCREINFORCEMENTDEFINITIONPROPERTIES",3413951693:"IFCREGULARTIMESERIES",3615266464:"IFCRECTANGLEPROFILEDEF",110355661:"IFCPROPERTYTABLEVALUE",3650150729:"IFCPROPERTYSINGLEVALUE",3357820518:"IFCPROPERTYSETDEFINITION",941946838:"IFCPROPERTYREFERENCEVALUE",2752243245:"IFCPROPERTYLISTVALUE",4166981789:"IFCPROPERTYENUMERATEDVALUE",1680319473:"IFCPROPERTYDEFINITION",871118103:"IFCPROPERTYBOUNDEDVALUE",673634403:"IFCPRODUCTDEFINITIONSHAPE",179317114:"IFCPREDEFINEDPOINTMARKERSYMBOL",433424934:"IFCPREDEFINEDDIMENSIONSYMBOL",2559016684:"IFCPREDEFINEDCURVEFONT",759155922:"IFCPREDEFINEDCOLOUR",2775532180:"IFCPOLYGONALBOUNDEDHALFSPACE",2924175390:"IFCPOLYLOOP",1423911732:"IFCPOINTONSURFACE",4022376103:"IFCPOINTONCURVE",2067069095:"IFCPOINT",1663979128:"IFCPLANAREXTENT",2004835150:"IFCPLACEMENT",597895409:"IFCPIXELTEXTURE",3021840470:"IFCPHYSICALCOMPLEXQUANTITY",2519244187:"IFCPATH",2529465313:"IFCPARAMETERIZEDPROFILEDEF",1029017970:"IFCORIENTEDEDGE",2665983363:"IFCOPENSHELL",2833995503:"IFCONEDIRECTIONREPEATFACTOR",219451334:"IFCOBJECTDEFINITION",1430189142:"IFCMECHANICALCONCRETEMATERIALPROPERTIES",2022407955:"IFCMATERIALDEFINITIONREPRESENTATION",2347385850:"IFCMAPPEDITEM",1008929658:"IFCLOOP",2624227202:"IFCLOCALPLACEMENT",3422422726:"IFCLIGHTSOURCESPOT",1520743889:"IFCLIGHTSOURCEPOSITIONAL",4266656042:"IFCLIGHTSOURCEGONIOMETRIC",2604431987:"IFCLIGHTSOURCEDIRECTIONAL",125510826:"IFCLIGHTSOURCEAMBIENT",1402838566:"IFCLIGHTSOURCE",3741457305:"IFCIRREGULARTIMESERIES",3905492369:"IFCIMAGETEXTURE",2445078500:"IFCHYGROSCOPICMATERIALPROPERTIES",812098782:"IFCHALFSPACESOLID",178086475:"IFCGRIDPLACEMENT",3590301190:"IFCGEOMETRICSET",4142052618:"IFCGEOMETRICREPRESENTATIONSUBCONTEXT",2453401579:"IFCGEOMETRICREPRESENTATIONITEM",3448662350:"IFCGEOMETRICREPRESENTATIONCONTEXT",1446786286:"IFCGENERALPROFILEPROPERTIES",803998398:"IFCGENERALMATERIALPROPERTIES",3857492461:"IFCFUELPROPERTIES",738692330:"IFCFILLAREASTYLE",4219587988:"IFCFAILURECONNECTIONCONDITION",3008276851:"IFCFACESURFACE",803316827:"IFCFACEOUTERBOUND",1809719519:"IFCFACEBOUND",2556980723:"IFCFACE",1860660968:"IFCEXTENDEDMATERIALPROPERTIES",476780140:"IFCEDGECURVE",3900360178:"IFCEDGE",4170525392:"IFCDRAUGHTINGPREDEFINEDTEXTFONT",3732053477:"IFCDOCUMENTREFERENCE",1694125774:"IFCDIMENSIONPAIR",2273265877:"IFCDIMENSIONCALLOUTRELATIONSHIP",3632507154:"IFCDERIVEDPROFILEDEF",3800577675:"IFCCURVESTYLE",2889183280:"IFCCONVERSIONBASEDUNIT",3050246964:"IFCCONTEXTDEPENDENTUNIT",45288368:"IFCCONNECTIONPOINTECCENTRICITY",1981873012:"IFCCONNECTIONCURVEGEOMETRY",370225590:"IFCCONNECTEDFACESET",1485152156:"IFCCOMPOSITEPROFILEDEF",2542286263:"IFCCOMPLEXPROPERTY",776857604:"IFCCOLOURRGB",647927063:"IFCCLASSIFICATIONREFERENCE",3150382593:"IFCCENTERLINEPROFILEDEF",616511568:"IFCBLOBTEXTURE",2705031697:"IFCARBITRARYPROFILEDEFWITHVOIDS",1310608509:"IFCARBITRARYOPENPROFILEDEF",3798115385:"IFCARBITRARYCLOSEDPROFILEDEF",2297822566:"IFCANNOTATIONTEXTOCCURRENCE",3612888222:"IFCANNOTATIONSYMBOLOCCURRENCE",962685235:"IFCANNOTATIONSURFACEOCCURRENCE",2442683028:"IFCANNOTATIONOCCURRENCE",1065908215:"IFCWATERPROPERTIES",891718957:"IFCVIRTUALGRIDINTERSECTION",1907098498:"IFCVERTEXPOINT",3304826586:"IFCVERTEXBASEDTEXTUREMAP",2799835756:"IFCVERTEX",180925521:"IFCUNITASSIGNMENT",1735638870:"IFCTOPOLOGYREPRESENTATION",1377556343:"IFCTOPOLOGICALREPRESENTATIONITEM",581633288:"IFCTIMESERIESVALUE",1718945513:"IFCTIMESERIESREFERENCERELATIONSHIP",3101149627:"IFCTIMESERIES",3317419933:"IFCTHERMALMATERIALPROPERTIES",1210645708:"IFCTEXTUREVERTEX",2552916305:"IFCTEXTUREMAP",1742049831:"IFCTEXTURECOORDINATEGENERATOR",280115917:"IFCTEXTURECOORDINATE",1484833681:"IFCTEXTSTYLEWITHBOXCHARACTERISTICS",1640371178:"IFCTEXTSTYLETEXTMODEL",2636378356:"IFCTEXTSTYLEFORDEFINEDFONT",1983826977:"IFCTEXTSTYLEFONTMODEL",1447204868:"IFCTEXTSTYLE",912023232:"IFCTELECOMADDRESS",531007025:"IFCTABLEROW",985171141:"IFCTABLE",1290481447:"IFCSYMBOLSTYLE",626085974:"IFCSURFACETEXTURE",1351298697:"IFCSURFACESTYLEWITHTEXTURES",846575682:"IFCSURFACESTYLESHADING",1607154358:"IFCSURFACESTYLEREFRACTION",3303107099:"IFCSURFACESTYLELIGHTING",1300840506:"IFCSURFACESTYLE",3049322572:"IFCSTYLEDREPRESENTATION",3958052878:"IFCSTYLEDITEM",2830218821:"IFCSTYLEMODEL",3408363356:"IFCSTRUCTURALLOADTEMPERATURE",2525727697:"IFCSTRUCTURALLOADSTATIC",2162789131:"IFCSTRUCTURALLOAD",2273995522:"IFCSTRUCTURALCONNECTIONCONDITION",3692461612:"IFCSIMPLEPROPERTY",4240577450:"IFCSHAPEREPRESENTATION",3982875396:"IFCSHAPEMODEL",867548509:"IFCSHAPEASPECT",4165799628:"IFCSECTIONREINFORCEMENTPROPERTIES",2042790032:"IFCSECTIONPROPERTIES",448429030:"IFCSIUNIT",2341007311:"IFCROOT",3679540991:"IFCRIBPLATEPROFILEPROPERTIES",1660063152:"IFCREPRESENTATIONMAP",3008791417:"IFCREPRESENTATIONITEM",3377609919:"IFCREPRESENTATIONCONTEXT",1076942058:"IFCREPRESENTATION",1222501353:"IFCRELAXATION",1580146022:"IFCREINFORCEMENTBARPROPERTIES",2692823254:"IFCREFERENCESVALUEDOCUMENT",825690147:"IFCQUANTITYWEIGHT",2405470396:"IFCQUANTITYVOLUME",3252649465:"IFCQUANTITYTIME",931644368:"IFCQUANTITYLENGTH",2093928680:"IFCQUANTITYCOUNT",2044713172:"IFCQUANTITYAREA",3710013099:"IFCPROPERTYENUMERATION",148025276:"IFCPROPERTYDEPENDENCYRELATIONSHIP",3896028662:"IFCPROPERTYCONSTRAINTRELATIONSHIP",2598011224:"IFCPROPERTY",2802850158:"IFCPROFILEPROPERTIES",3958567839:"IFCPROFILEDEF",2267347899:"IFCPRODUCTSOFCOMBUSTIONPROPERTIES",2095639259:"IFCPRODUCTREPRESENTATION",2417041796:"IFCPRESENTATIONSTYLEASSIGNMENT",3119450353:"IFCPRESENTATIONSTYLE",1304840413:"IFCPRESENTATIONLAYERWITHSTYLE",2022622350:"IFCPRESENTATIONLAYERASSIGNMENT",1775413392:"IFCPREDEFINEDTEXTFONT",3213052703:"IFCPREDEFINEDTERMINATORSYMBOL",990879717:"IFCPREDEFINEDSYMBOL",3727388367:"IFCPREDEFINEDITEM",3355820592:"IFCPOSTALADDRESS",2226359599:"IFCPHYSICALSIMPLEQUANTITY",2483315170:"IFCPHYSICALQUANTITY",101040310:"IFCPERSONANDORGANIZATION",2077209135:"IFCPERSON",1207048766:"IFCOWNERHISTORY",1411181986:"IFCORGANIZATIONRELATIONSHIP",4251960020:"IFCORGANIZATION",1227763645:"IFCOPTICALMATERIALPROPERTIES",2251480897:"IFCOBJECTIVE",3701648758:"IFCOBJECTPLACEMENT",1918398963:"IFCNAMEDUNIT",2706619895:"IFCMONETARYUNIT",3368373690:"IFCMETRIC",677618848:"IFCMECHANICALSTEELMATERIALPROPERTIES",4256014907:"IFCMECHANICALMATERIALPROPERTIES",2597039031:"IFCMEASUREWITHUNIT",3265635763:"IFCMATERIALPROPERTIES",2199411900:"IFCMATERIALLIST",1303795690:"IFCMATERIALLAYERSETUSAGE",3303938423:"IFCMATERIALLAYERSET",248100487:"IFCMATERIALLAYER",1847130766:"IFCMATERIALCLASSIFICATIONRELATIONSHIP",1838606355:"IFCMATERIAL",30780891:"IFCLOCALTIME",1566485204:"IFCLIGHTINTENSITYDISTRIBUTION",4162380809:"IFCLIGHTDISTRIBUTIONDATA",3452421091:"IFCLIBRARYREFERENCE",2655187982:"IFCLIBRARYINFORMATION",3020489413:"IFCIRREGULARTIMESERIESVALUE",852622518:"IFCGRIDAXIS",3548104201:"IFCEXTERNALLYDEFINEDTEXTFONT",3207319532:"IFCEXTERNALLYDEFINEDSYMBOL",1040185647:"IFCEXTERNALLYDEFINEDSURFACESTYLE",2242383968:"IFCEXTERNALLYDEFINEDHATCHSTYLE",3200245327:"IFCEXTERNALREFERENCE",1648886627:"IFCENVIRONMENTALIMPACTVALUE",3796139169:"IFCDRAUGHTINGCALLOUTRELATIONSHIP",770865208:"IFCDOCUMENTINFORMATIONRELATIONSHIP",1154170062:"IFCDOCUMENTINFORMATION",1376555844:"IFCDOCUMENTELECTRONICFORMAT",2949456006:"IFCDIMENSIONALEXPONENTS",1045800335:"IFCDERIVEDUNITELEMENT",1765591967:"IFCDERIVEDUNIT",1072939445:"IFCDATEANDTIME",3510044353:"IFCCURVESTYLEFONTPATTERN",2367409068:"IFCCURVESTYLEFONTANDSCALING",1105321065:"IFCCURVESTYLEFONT",539742890:"IFCCURRENCYRELATIONSHIP",602808272:"IFCCOSTVALUE",1065062679:"IFCCOORDINATEDUNIVERSALTIMEOFFSET",347226245:"IFCCONSTRAINTRELATIONSHIP",613356794:"IFCCONSTRAINTCLASSIFICATIONRELATIONSHIP",1658513725:"IFCCONSTRAINTAGGREGATIONRELATIONSHIP",1959218052:"IFCCONSTRAINT",2732653382:"IFCCONNECTIONSURFACEGEOMETRY",4257277454:"IFCCONNECTIONPORTGEOMETRY",2614616156:"IFCCONNECTIONPOINTGEOMETRY",2859738748:"IFCCONNECTIONGEOMETRY",3264961684:"IFCCOLOURSPECIFICATION",3639012971:"IFCCLASSIFICATIONNOTATIONFACET",938368621:"IFCCLASSIFICATIONNOTATION",1098599126:"IFCCLASSIFICATIONITEMRELATIONSHIP",1767535486:"IFCCLASSIFICATIONITEM",747523909:"IFCCLASSIFICATION",622194075:"IFCCALENDARDATE",2069777674:"IFCBOUNDARYNODECONDITIONWARPING",1387855156:"IFCBOUNDARYNODECONDITION",3367102660:"IFCBOUNDARYFACECONDITION",1560379544:"IFCBOUNDARYEDGECONDITION",4037036970:"IFCBOUNDARYCONDITION",3869604511:"IFCAPPROVALRELATIONSHIP",390851274:"IFCAPPROVALPROPERTYRELATIONSHIP",2080292479:"IFCAPPROVALACTORRELATIONSHIP",130549933:"IFCAPPROVAL",1110488051:"IFCAPPLIEDVALUERELATIONSHIP",411424972:"IFCAPPLIEDVALUE",639542469:"IFCAPPLICATION",618182010:"IFCADDRESS",3630933823:"IFCACTORROLE",599546466:"FILE_DESCRIPTION",1390159747:"FILE_NAME",1109904537:"FILE_SCHEMA"},Lc=class{constructor(){Ne(this,"enabled",!0),Ne(this,"trigger",t=>{if(!this.enabled)return;let i=this.handlers.slice(0);for(let n of i)n(t)}),Ne(this,"handlers",[])}add(t){this.handlers.push(t)}remove(t){this.handlers=this.handlers.filter(i=>i!==t)}reset(){this.handlers.length=0}};var fo=class extends Map{constructor(t){super(t),Ne(this,"onBeforeSet",new Lc),Ne(this,"onItemSet",new Lc),Ne(this,"onItemUpdated",new Lc),Ne(this,"onBeforeDelete",new Lc),Ne(this,"onItemDeleted",new Lc),Ne(this,"onCleared",new Lc),Ne(this,"guard",()=>!0),Ne(this,"deleteGuard",()=>!0),Ne(this,"updateGuard",()=>!0)}set eventsEnabled(t){this.onItemSet.enabled=t,this.onItemUpdated.enabled=t,this.onItemDeleted.enabled=t,this.onBeforeDelete.enabled=t,this.onCleared.enabled=t}clear(){for(let[t,i]of this)this.onBeforeDelete.trigger({key:t,value:i});super.clear(),this.onCleared.trigger()}set(t,i){let n=this.has(t);if(!(this.guard??(()=>!0))(t,i))return this;n||this.onBeforeSet.trigger({key:t,value:i});let r=super.set(t,i);return n?(this.onItemUpdated||(this.onItemUpdated=new Lc),this.onItemUpdated.trigger({key:t,value:i})):(this.onItemSet||(this.onItemSet=new Lc),this.onItemSet.trigger({key:t,value:i})),r}delete(t){let i=this.get(t);if(!i||!this.deleteGuard(t,i))return!1;this.onBeforeDelete.trigger({key:t,value:i});let n=super.delete(t);return n&&this.onItemDeleted.trigger(t),n}getKey(t){for(let[i,n]of this)if(n===t)return i}add(t){let i=cr.generateUUID().toLowerCase();return this.set(i,t),i}update(t){let i=this.getKey(t);i&&this.updateGuard(i,t)&&this.set(i,t)}deleteIf(t){for(let[i,n]of this)t(n,i)&&this.delete(i)}replaceKey(t,i,n=!1){let s=this.get(t);return!s||this.get(i)&&!n?!1:(this.eventsEnabled=!1,this.delete(t),this.eventsEnabled=!0,this.set(i,s),!0)}dispose(){this.clear(),this.onItemSet.reset(),this.onItemDeleted.reset(),this.onItemUpdated.reset(),this.onCleared.reset(),this.onBeforeDelete.reset()}},sI=class extends Set{constructor(t){super(t),Ne(this,"onUpdated",new Lc),Ne(this,"onItemAdded",new Lc),Ne(this,"onBeforeDelete",new Lc),Ne(this,"onItemDeleted",new Lc),Ne(this,"onCleared",new Lc),Ne(this,"guard",()=>!0),Ne(this,"deleteGuard",()=>!0)}set eventsEnabled(t){this.onUpdated.enabled=t,this.onItemAdded.enabled=t,this.onItemDeleted.enabled=t,this.onBeforeDelete.enabled=t,this.onCleared.enabled=t}clear(){for(let t of this)this.onBeforeDelete.trigger(t);super.clear(),this.onCleared.trigger(),this.onUpdated.trigger()}add(...t){for(let i of t)this.has(i)||!(this.guard??(()=>!0))(i)||(super.add(i),this.onItemAdded||(this.onItemAdded=new Lc),this.onItemAdded.trigger(i));return this.onUpdated||(this.onUpdated=new Lc),this.onUpdated.trigger(),this}delete(t){if(!this.has(t)||!this.deleteGuard(t))return!1;this.onBeforeDelete.trigger(t);let n=super.delete(t);return n&&(this.onItemDeleted.trigger(),this.onUpdated.trigger()),n}deleteIf(t){for(let i of this)t(i)&&this.delete(i)}getIndex(t){let i=0;for(let n of this){if(n===t)return i;i++}return-1}dispose(){this.clear(),this.onItemAdded.reset(),this.onItemDeleted.reset(),this.onCleared.reset(),this.onBeforeDelete.reset(),this.onUpdated.reset()}},Yie=2,w2=4,LS=4,XI=4,MN=new Int32Array(2),Kpe=new Float32Array(MN.buffer),Qpe=new Float64Array(MN.buffer),Cq=new Uint16Array(new Uint8Array([1,0]).buffer)[0]===1,fne;(function(e){e[e.UTF8_BYTES=1]="UTF8_BYTES",e[e.UTF16_STRING=2]="UTF16_STRING"})(fne||(fne={}));var YV=class e{constructor(t){this.bytes_=t,this.position_=0,this.text_decoder_=new TextDecoder}static allocate(t){return new e(new Uint8Array(t))}clear(){this.position_=0}bytes(){return this.bytes_}position(){return this.position_}setPosition(t){this.position_=t}capacity(){return this.bytes_.length}readInt8(t){return this.readUint8(t)<<24>>24}readUint8(t){return this.bytes_[t]}readInt16(t){return this.readUint16(t)<<16>>16}readUint16(t){return this.bytes_[t]|this.bytes_[t+1]<<8}readInt32(t){return this.bytes_[t]|this.bytes_[t+1]<<8|this.bytes_[t+2]<<16|this.bytes_[t+3]<<24}readUint32(t){return this.readInt32(t)>>>0}readInt64(t){return BigInt.asIntN(64,BigInt(this.readUint32(t))+(BigInt(this.readUint32(t+4))<<BigInt(32)))}readUint64(t){return BigInt.asUintN(64,BigInt(this.readUint32(t))+(BigInt(this.readUint32(t+4))<<BigInt(32)))}readFloat32(t){return MN[0]=this.readInt32(t),Kpe[0]}readFloat64(t){return MN[Cq?0:1]=this.readInt32(t),MN[Cq?1:0]=this.readInt32(t+4),Qpe[0]}writeInt8(t,i){this.bytes_[t]=i}writeUint8(t,i){this.bytes_[t]=i}writeInt16(t,i){this.bytes_[t]=i,this.bytes_[t+1]=i>>8}writeUint16(t,i){this.bytes_[t]=i,this.bytes_[t+1]=i>>8}writeInt32(t,i){this.bytes_[t]=i,this.bytes_[t+1]=i>>8,this.bytes_[t+2]=i>>16,this.bytes_[t+3]=i>>24}writeUint32(t,i){this.bytes_[t]=i,this.bytes_[t+1]=i>>8,this.bytes_[t+2]=i>>16,this.bytes_[t+3]=i>>24}writeInt64(t,i){this.writeInt32(t,Number(BigInt.asIntN(32,i))),this.writeInt32(t+4,Number(BigInt.asIntN(32,i>>BigInt(32))))}writeUint64(t,i){this.writeUint32(t,Number(BigInt.asUintN(32,i))),this.writeUint32(t+4,Number(BigInt.asUintN(32,i>>BigInt(32))))}writeFloat32(t,i){Kpe[0]=i,this.writeInt32(t,MN[0])}writeFloat64(t,i){Qpe[0]=i,this.writeInt32(t,MN[Cq?0:1]),this.writeInt32(t+4,MN[Cq?1:0])}getBufferIdentifier(){if(this.bytes_.length<this.position_+w2+LS)throw new Error("FlatBuffers: ByteBuffer is too short to contain an identifier.");let t="";for(let i=0;i<LS;i++)t+=String.fromCharCode(this.readInt8(this.position_+w2+i));return t}__offset(t,i){let n=t-this.readInt32(t);return i<this.readInt16(n)?this.readInt16(n+i):0}__union(t,i){return t.bb_pos=i+this.readInt32(i),t.bb=this,t}__string(t,i){t+=this.readInt32(t);let n=this.readInt32(t);t+=w2;let s=this.bytes_.subarray(t,t+n);return i===fne.UTF8_BYTES?s:this.text_decoder_.decode(s)}__union_with_string(t,i){return typeof t=="string"?this.__string(i):this.__union(t,i)}__indirect(t){return t+this.readInt32(t)}__vector(t){return t+this.readInt32(t)+w2}__vector_len(t){return this.readInt32(t+this.readInt32(t))}__has_identifier(t){if(t.length!=LS)throw new Error("FlatBuffers: file identifier must be length "+LS);for(let i=0;i<LS;i++)if(t.charCodeAt(i)!=this.readInt8(this.position()+w2+i))return!1;return!0}createScalarList(t,i){let n=[];for(let s=0;s<i;++s){let o=t(s);o!==null&&n.push(o)}return n}createObjList(t,i){let n=[];for(let s=0;s<i;++s){let o=t(s);o!==null&&n.push(o.unpack())}return n}},jV=class e{constructor(t){this.minalign=1,this.vtable=null,this.vtable_in_use=0,this.isNested=!1,this.object_start=0,this.vtables=[],this.vector_num_elems=0,this.force_defaults=!1,this.string_maps=null,this.text_encoder=new TextEncoder;let i;t?i=t:i=1024,this.bb=YV.allocate(i),this.space=i}clear(){this.bb.clear(),this.space=this.bb.capacity(),this.minalign=1,this.vtable=null,this.vtable_in_use=0,this.isNested=!1,this.object_start=0,this.vtables=[],this.vector_num_elems=0,this.force_defaults=!1,this.string_maps=null}forceDefaults(t){this.force_defaults=t}dataBuffer(){return this.bb}asUint8Array(){return this.bb.bytes().subarray(this.bb.position(),this.bb.position()+this.offset())}prep(t,i){t>this.minalign&&(this.minalign=t);let n=~(this.bb.capacity()-this.space+i)+1&t-1;for(;this.space<n+t+i;){let s=this.bb.capacity();this.bb=e.growByteBuffer(this.bb),this.space+=this.bb.capacity()-s}this.pad(n)}pad(t){for(let i=0;i<t;i++)this.bb.writeInt8(--this.space,0)}writeInt8(t){this.bb.writeInt8(this.space-=1,t)}writeInt16(t){this.bb.writeInt16(this.space-=2,t)}writeInt32(t){this.bb.writeInt32(this.space-=4,t)}writeInt64(t){this.bb.writeInt64(this.space-=8,t)}writeFloat32(t){this.bb.writeFloat32(this.space-=4,t)}writeFloat64(t){this.bb.writeFloat64(this.space-=8,t)}addInt8(t){this.prep(1,0),this.writeInt8(t)}addInt16(t){this.prep(2,0),this.writeInt16(t)}addInt32(t){this.prep(4,0),this.writeInt32(t)}addInt64(t){this.prep(8,0),this.writeInt64(t)}addFloat32(t){this.prep(4,0),this.writeFloat32(t)}addFloat64(t){this.prep(8,0),this.writeFloat64(t)}addFieldInt8(t,i,n){(this.force_defaults||i!=n)&&(this.addInt8(i),this.slot(t))}addFieldInt16(t,i,n){(this.force_defaults||i!=n)&&(this.addInt16(i),this.slot(t))}addFieldInt32(t,i,n){(this.force_defaults||i!=n)&&(this.addInt32(i),this.slot(t))}addFieldInt64(t,i,n){(this.force_defaults||i!==n)&&(this.addInt64(i),this.slot(t))}addFieldFloat32(t,i,n){(this.force_defaults||i!=n)&&(this.addFloat32(i),this.slot(t))}addFieldFloat64(t,i,n){(this.force_defaults||i!=n)&&(this.addFloat64(i),this.slot(t))}addFieldOffset(t,i,n){(this.force_defaults||i!=n)&&(this.addOffset(i),this.slot(t))}addFieldStruct(t,i,n){i!=n&&(this.nested(i),this.slot(t))}nested(t){if(t!=this.offset())throw new TypeError("FlatBuffers: struct must be serialized inline.")}notNested(){if(this.isNested)throw new TypeError("FlatBuffers: object serialization must not be nested.")}slot(t){this.vtable!==null&&(this.vtable[t]=this.offset())}offset(){return this.bb.capacity()-this.space}static growByteBuffer(t){let i=t.capacity();if(i&3221225472)throw new Error("FlatBuffers: cannot grow buffer beyond 2 gigabytes.");let n=i<<1,s=YV.allocate(n);return s.setPosition(n-i),s.bytes().set(t.bytes(),n-i),s}addOffset(t){this.prep(w2,0),this.writeInt32(this.offset()-t+w2)}startObject(t){this.notNested(),this.vtable==null&&(this.vtable=[]),this.vtable_in_use=t;for(let i=0;i<t;i++)this.vtable[i]=0;this.isNested=!0,this.object_start=this.offset()}endObject(){if(this.vtable==null||!this.isNested)throw new Error("FlatBuffers: endObject called without startObject");this.addInt32(0);let t=this.offset(),i=this.vtable_in_use-1;for(;i>=0&&this.vtable[i]==0;i--);let n=i+1;for(;i>=0;i--)this.addInt16(this.vtable[i]!=0?t-this.vtable[i]:0);let s=2;this.addInt16(t-this.object_start);let o=(n+s)*Yie;this.addInt16(o);let r=0,l=this.space;e:for(i=0;i<this.vtables.length;i++){let d=this.bb.capacity()-this.vtables[i];if(o==this.bb.readInt16(d)){for(let h=Yie;h<o;h+=Yie)if(this.bb.readInt16(l+h)!=this.bb.readInt16(d+h))continue e;r=this.vtables[i];break}}return r?(this.space=this.bb.capacity()-t,this.bb.writeInt32(this.space,r-t)):(this.vtables.push(this.offset()),this.bb.writeInt32(this.bb.capacity()-t,this.offset()-t)),this.isNested=!1,t}finish(t,i,n){let s=n?XI:0;if(i){let o=i;if(this.prep(this.minalign,w2+LS+s),o.length!=LS)throw new TypeError("FlatBuffers: file identifier must be length "+LS);for(let r=LS-1;r>=0;r--)this.writeInt8(o.charCodeAt(r))}this.prep(this.minalign,w2+s),this.addOffset(t),s&&this.addInt32(this.bb.capacity()-this.space),this.bb.setPosition(this.space)}finishSizePrefixed(t,i){this.finish(t,i,!0)}requiredField(t,i){let n=this.bb.capacity()-t,s=n-this.bb.readInt32(n);if(!(i<this.bb.readInt16(s)&&this.bb.readInt16(s+i)!=0))throw new TypeError("FlatBuffers: field "+i+" must be set")}startVector(t,i,n){this.notNested(),this.vector_num_elems=i,this.prep(w2,t*i),this.prep(n,t*i)}endVector(){return this.writeInt32(this.vector_num_elems),this.offset()}createSharedString(t){if(!t)return 0;if(this.string_maps||(this.string_maps=new Map),this.string_maps.has(t))return this.string_maps.get(t);let i=this.createString(t);return this.string_maps.set(t,i),i}createString(t){if(t==null)return 0;let i;return t instanceof Uint8Array?i=t:i=this.text_encoder.encode(t),this.addInt8(0),this.startVector(1,i.length,1),this.bb.setPosition(this.space-=i.length),this.bb.bytes().set(i,this.space),this.endVector()}createByteVector(t){return t==null?0:(this.startVector(1,t.length,1),this.bb.setPosition(this.space-=t.length),this.bb.bytes().set(t,this.space),this.endVector())}createObjectOffset(t){return t===null?0:typeof t=="string"?this.createString(t):t.pack(this)}createObjectOffsetList(t){let i=[];for(let n=0;n<t.length;++n){let s=t[n];if(s!==null)i.push(this.createObjectOffset(s));else throw new TypeError("FlatBuffers: Argument for createObjectOffsetList cannot contain null.")}return i}createStructOffsetList(t,i){return i(this,t.length),this.createObjectOffsetList(t.slice().reverse()),this.endVector()}};var Zxe=4,Jpe=0,Xpe=1,Kxe=2;function A8(e){let t=e.length;for(;--t>=0;)e[t]=0}var Qxe=0,YIe=1,Jxe=2,Xxe=3,eOe=258,Zse=29,ck=256,qV=ck+1+Zse,m8=30,Kse=19,jIe=2*qV+1,K6=15,jie=16,tOe=7,Qse=256,qIe=16,$Ie=17,ZIe=18,pne=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),Wq=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),iOe=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),KIe=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),nOe=512,DS=new Array((qV+2)*2);A8(DS);var GV=new Array(m8*2);A8(GV);var $V=new Array(nOe);A8($V);var ZV=new Array(eOe-Xxe+1);A8(ZV);var Jse=new Array(Zse);A8(Jse);var n$=new Array(m8);A8(n$);function qie(e,t,i,n,s){this.static_tree=e,this.extra_bits=t,this.extra_base=i,this.elems=n,this.max_length=s,this.has_stree=e&&e.length}var QIe,JIe,XIe;function $ie(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}var eme=e=>e<256?$V[e]:$V[256+(e>>>7)],KV=(e,t)=>{e.pending_buf[e.pending++]=t&255,e.pending_buf[e.pending++]=t>>>8&255},KI=(e,t,i)=>{e.bi_valid>jie-i?(e.bi_buf|=t<<e.bi_valid&65535,KV(e,e.bi_buf),e.bi_buf=t>>jie-e.bi_valid,e.bi_valid+=i-jie):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=i)},v2=(e,t,i)=>{KI(e,i[t*2],i[t*2+1])},tme=(e,t)=>{let i=0;do i|=e&1,e>>>=1,i<<=1;while(--t>0);return i>>>1},sOe=e=>{e.bi_valid===16?(KV(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=e.bi_buf&255,e.bi_buf>>=8,e.bi_valid-=8)},oOe=(e,t)=>{let i=t.dyn_tree,n=t.max_code,s=t.stat_desc.static_tree,o=t.stat_desc.has_stree,r=t.stat_desc.extra_bits,l=t.stat_desc.extra_base,d=t.stat_desc.max_length,h,p,I,m,y,T,R=0;for(m=0;m<=K6;m++)e.bl_count[m]=0;for(i[e.heap[e.heap_max]*2+1]=0,h=e.heap_max+1;h<jIe;h++)p=e.heap[h],m=i[i[p*2+1]*2+1]+1,m>d&&(m=d,R++),i[p*2+1]=m,!(p>n)&&(e.bl_count[m]++,y=0,p>=l&&(y=r[p-l]),T=i[p*2],e.opt_len+=T*(m+y),o&&(e.static_len+=T*(s[p*2+1]+y)));if(R!==0){do{for(m=d-1;e.bl_count[m]===0;)m--;e.bl_count[m]--,e.bl_count[m+1]+=2,e.bl_count[d]--,R-=2}while(R>0);for(m=d;m!==0;m--)for(p=e.bl_count[m];p!==0;)I=e.heap[--h],!(I>n)&&(i[I*2+1]!==m&&(e.opt_len+=(m-i[I*2+1])*i[I*2],i[I*2+1]=m),p--)}},ime=(e,t,i)=>{let n=new Array(K6+1),s=0,o,r;for(o=1;o<=K6;o++)s=s+i[o-1]<<1,n[o]=s;for(r=0;r<=t;r++){let l=e[r*2+1];l!==0&&(e[r*2]=tme(n[l]++,l))}},rOe=()=>{let e,t,i,n,s,o=new Array(K6+1);for(i=0,n=0;n<Zse-1;n++)for(Jse[n]=i,e=0;e<1<<pne[n];e++)ZV[i++]=n;for(ZV[i-1]=n,s=0,n=0;n<16;n++)for(n$[n]=s,e=0;e<1<<Wq[n];e++)$V[s++]=n;for(s>>=7;n<m8;n++)for(n$[n]=s<<7,e=0;e<1<<Wq[n]-7;e++)$V[256+s++]=n;for(t=0;t<=K6;t++)o[t]=0;for(e=0;e<=143;)DS[e*2+1]=8,e++,o[8]++;for(;e<=255;)DS[e*2+1]=9,e++,o[9]++;for(;e<=279;)DS[e*2+1]=7,e++,o[7]++;for(;e<=287;)DS[e*2+1]=8,e++,o[8]++;for(ime(DS,qV+1,o),e=0;e<m8;e++)GV[e*2+1]=5,GV[e*2]=tme(e,5);QIe=new qie(DS,pne,ck+1,qV,K6),JIe=new qie(GV,Wq,0,m8,K6),XIe=new qie(new Array(0),iOe,0,Kse,tOe)},nme=e=>{let t;for(t=0;t<qV;t++)e.dyn_ltree[t*2]=0;for(t=0;t<m8;t++)e.dyn_dtree[t*2]=0;for(t=0;t<Kse;t++)e.bl_tree[t*2]=0;e.dyn_ltree[Qse*2]=1,e.opt_len=e.static_len=0,e.sym_next=e.matches=0},sme=e=>{e.bi_valid>8?KV(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0},eIe=(e,t,i,n)=>{let s=t*2,o=i*2;return e[s]<e[o]||e[s]===e[o]&&n[t]<=n[i]},Zie=(e,t,i)=>{let n=e.heap[i],s=i<<1;for(;s<=e.heap_len&&(s<e.heap_len&&eIe(t,e.heap[s+1],e.heap[s],e.depth)&&s++,!eIe(t,n,e.heap[s],e.depth));)e.heap[i]=e.heap[s],i=s,s<<=1;e.heap[i]=n},tIe=(e,t,i)=>{let n,s,o=0,r,l;if(e.sym_next!==0)do n=e.pending_buf[e.sym_buf+o++]&255,n+=(e.pending_buf[e.sym_buf+o++]&255)<<8,s=e.pending_buf[e.sym_buf+o++],n===0?v2(e,s,t):(r=ZV[s],v2(e,r+ck+1,t),l=pne[r],l!==0&&(s-=Jse[r],KI(e,s,l)),n--,r=eme(n),v2(e,r,i),l=Wq[r],l!==0&&(n-=n$[r],KI(e,n,l)));while(o<e.sym_next);v2(e,Qse,t)},Ine=(e,t)=>{let i=t.dyn_tree,n=t.stat_desc.static_tree,s=t.stat_desc.has_stree,o=t.stat_desc.elems,r,l,d=-1,h;for(e.heap_len=0,e.heap_max=jIe,r=0;r<o;r++)i[r*2]!==0?(e.heap[++e.heap_len]=d=r,e.depth[r]=0):i[r*2+1]=0;for(;e.heap_len<2;)h=e.heap[++e.heap_len]=d<2?++d:0,i[h*2]=1,e.depth[h]=0,e.opt_len--,s&&(e.static_len-=n[h*2+1]);for(t.max_code=d,r=e.heap_len>>1;r>=1;r--)Zie(e,i,r);h=o;do r=e.heap[1],e.heap[1]=e.heap[e.heap_len--],Zie(e,i,1),l=e.heap[1],e.heap[--e.heap_max]=r,e.heap[--e.heap_max]=l,i[h*2]=i[r*2]+i[l*2],e.depth[h]=(e.depth[r]>=e.depth[l]?e.depth[r]:e.depth[l])+1,i[r*2+1]=i[l*2+1]=h,e.heap[1]=h++,Zie(e,i,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],oOe(e,t),ime(i,d,e.bl_count)},iIe=(e,t,i)=>{let n,s=-1,o,r=t[1],l=0,d=7,h=4;for(r===0&&(d=138,h=3),t[(i+1)*2+1]=65535,n=0;n<=i;n++)o=r,r=t[(n+1)*2+1],!(++l<d&&o===r)&&(l<h?e.bl_tree[o*2]+=l:o!==0?(o!==s&&e.bl_tree[o*2]++,e.bl_tree[qIe*2]++):l<=10?e.bl_tree[$Ie*2]++:e.bl_tree[ZIe*2]++,l=0,s=o,r===0?(d=138,h=3):o===r?(d=6,h=3):(d=7,h=4))},nIe=(e,t,i)=>{let n,s=-1,o,r=t[1],l=0,d=7,h=4;for(r===0&&(d=138,h=3),n=0;n<=i;n++)if(o=r,r=t[(n+1)*2+1],!(++l<d&&o===r)){if(l<h)do v2(e,o,e.bl_tree);while(--l!==0);else o!==0?(o!==s&&(v2(e,o,e.bl_tree),l--),v2(e,qIe,e.bl_tree),KI(e,l-3,2)):l<=10?(v2(e,$Ie,e.bl_tree),KI(e,l-3,3)):(v2(e,ZIe,e.bl_tree),KI(e,l-11,7));l=0,s=o,r===0?(d=138,h=3):o===r?(d=6,h=3):(d=7,h=4)}},lOe=e=>{let t;for(iIe(e,e.dyn_ltree,e.l_desc.max_code),iIe(e,e.dyn_dtree,e.d_desc.max_code),Ine(e,e.bl_desc),t=Kse-1;t>=3&&e.bl_tree[KIe[t]*2+1]===0;t--);return e.opt_len+=3*(t+1)+5+5+4,t},aOe=(e,t,i,n)=>{let s;for(KI(e,t-257,5),KI(e,i-1,5),KI(e,n-4,4),s=0;s<n;s++)KI(e,e.bl_tree[KIe[s]*2+1],3);nIe(e,e.dyn_ltree,t-1),nIe(e,e.dyn_dtree,i-1)},uOe=e=>{let t=4093624447,i;for(i=0;i<=31;i++,t>>>=1)if(t&1&&e.dyn_ltree[i*2]!==0)return Jpe;if(e.dyn_ltree[18]!==0||e.dyn_ltree[20]!==0||e.dyn_ltree[26]!==0)return Xpe;for(i=32;i<ck;i++)if(e.dyn_ltree[i*2]!==0)return Xpe;return Jpe},sIe=!1,cOe=e=>{sIe||(rOe(),sIe=!0),e.l_desc=new $ie(e.dyn_ltree,QIe),e.d_desc=new $ie(e.dyn_dtree,JIe),e.bl_desc=new $ie(e.bl_tree,XIe),e.bi_buf=0,e.bi_valid=0,nme(e)},ome=(e,t,i,n)=>{KI(e,(Qxe<<1)+(n?1:0),3),sme(e),KV(e,i),KV(e,~i),i&&e.pending_buf.set(e.window.subarray(t,t+i),e.pending),e.pending+=i},dOe=e=>{KI(e,YIe<<1,3),v2(e,Qse,DS),sOe(e)},hOe=(e,t,i,n)=>{let s,o,r=0;e.level>0?(e.strm.data_type===Kxe&&(e.strm.data_type=uOe(e)),Ine(e,e.l_desc),Ine(e,e.d_desc),r=lOe(e),s=e.opt_len+3+7>>>3,o=e.static_len+3+7>>>3,o<=s&&(s=o)):s=o=i+5,i+4<=s&&t!==-1?ome(e,t,i,n):e.strategy===Zxe||o===s?(KI(e,(YIe<<1)+(n?1:0),3),tIe(e,DS,GV)):(KI(e,(Jxe<<1)+(n?1:0),3),aOe(e,e.l_desc.max_code+1,e.d_desc.max_code+1,r+1),tIe(e,e.dyn_ltree,e.dyn_dtree)),nme(e),n&&sme(e)},fOe=(e,t,i)=>(e.pending_buf[e.sym_buf+e.sym_next++]=t,e.pending_buf[e.sym_buf+e.sym_next++]=t>>8,e.pending_buf[e.sym_buf+e.sym_next++]=i,t===0?e.dyn_ltree[i*2]++:(e.matches++,t--,e.dyn_ltree[(ZV[i]+ck+1)*2]++,e.dyn_dtree[eme(t)*2]++),e.sym_next===e.sym_end),pOe=cOe,IOe=ome,mOe=hOe,yOe=fOe,EOe=dOe,TOe={_tr_init:pOe,_tr_stored_block:IOe,_tr_flush_block:mOe,_tr_tally:yOe,_tr_align:EOe},gOe=(e,t,i,n)=>{let s=e&65535|0,o=e>>>16&65535|0,r=0;for(;i!==0;){r=i>2e3?2e3:i,i-=r;do s=s+t[n++]|0,o=o+s|0;while(--r);s%=65521,o%=65521}return s|o<<16|0},QV=gOe,wOe=()=>{let e,t=[];for(var i=0;i<256;i++){e=i;for(var n=0;n<8;n++)e=e&1?3988292384^e>>>1:e>>>1;t[i]=e}return t},vOe=new Uint32Array(wOe()),ROe=(e,t,i,n)=>{let s=vOe,o=n+i;e^=-1;for(let r=n;r<o;r++)e=e>>>8^s[(e^t[r])&255];return e^-1},$0=ROe,tx={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},dk={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8},{_tr_init:SOe,_tr_stored_block:mne,_tr_flush_block:AOe,_tr_tally:GN,_tr_align:bOe}=TOe,{Z_NO_FLUSH:VN,Z_PARTIAL_FLUSH:NOe,Z_FULL_FLUSH:_Oe,Z_FINISH:aE,Z_BLOCK:oIe,Z_OK:kh,Z_STREAM_END:rIe,Z_STREAM_ERROR:A2,Z_DATA_ERROR:DOe,Z_BUF_ERROR:Kie,Z_DEFAULT_COMPRESSION:COe,Z_FILTERED:xOe,Z_HUFFMAN_ONLY:xq,Z_RLE:OOe,Z_FIXED:LOe,Z_DEFAULT_STRATEGY:POe,Z_UNKNOWN:MOe,Z_DEFLATED:m$}=dk,BOe=9,FOe=15,UOe=8,HOe=29,GOe=256,yne=GOe+1+HOe,VOe=30,kOe=19,zOe=2*yne+1,WOe=15,ho=3,HN=258,b2=HN+ho+1,YOe=32,T8=42,Xse=57,Ene=69,Tne=73,gne=91,wne=103,Q6=113,xV=666,iI=1,b8=2,ix=3,N8=4,jOe=3,J6=(e,t)=>(e.msg=tx[t],t),lIe=e=>e*2-(e>4?9:0),BN=e=>{let t=e.length;for(;--t>=0;)e[t]=0},qOe=e=>{let t,i,n,s=e.w_size;t=e.hash_size,n=t;do i=e.head[--n],e.head[n]=i>=s?i-s:0;while(--t);t=s,n=t;do i=e.prev[--n],e.prev[n]=i>=s?i-s:0;while(--t)},$Oe=(e,t,i)=>(t<<e.hash_shift^i)&e.hash_mask,kN=$Oe,A1=e=>{let t=e.state,i=t.pending;i>e.avail_out&&(i=e.avail_out),i!==0&&(e.output.set(t.pending_buf.subarray(t.pending_out,t.pending_out+i),e.next_out),e.next_out+=i,t.pending_out+=i,e.total_out+=i,e.avail_out-=i,t.pending-=i,t.pending===0&&(t.pending_out=0))},N1=(e,t)=>{AOe(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,A1(e.strm)},Go=(e,t)=>{e.pending_buf[e.pending++]=t},AV=(e,t)=>{e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=t&255},vne=(e,t,i,n)=>{let s=e.avail_in;return s>n&&(s=n),s===0?0:(e.avail_in-=s,t.set(e.input.subarray(e.next_in,e.next_in+s),i),e.state.wrap===1?e.adler=QV(e.adler,t,s,i):e.state.wrap===2&&(e.adler=$0(e.adler,t,s,i)),e.next_in+=s,e.total_in+=s,s)},rme=(e,t)=>{let i=e.max_chain_length,n=e.strstart,s,o,r=e.prev_length,l=e.nice_match,d=e.strstart>e.w_size-b2?e.strstart-(e.w_size-b2):0,h=e.window,p=e.w_mask,I=e.prev,m=e.strstart+HN,y=h[n+r-1],T=h[n+r];e.prev_length>=e.good_match&&(i>>=2),l>e.lookahead&&(l=e.lookahead);do if(s=t,!(h[s+r]!==T||h[s+r-1]!==y||h[s]!==h[n]||h[++s]!==h[n+1])){n+=2,s++;do;while(h[++n]===h[++s]&&h[++n]===h[++s]&&h[++n]===h[++s]&&h[++n]===h[++s]&&h[++n]===h[++s]&&h[++n]===h[++s]&&h[++n]===h[++s]&&h[++n]===h[++s]&&n<m);if(o=HN-(m-n),n=m-HN,o>r){if(e.match_start=t,r=o,o>=l)break;y=h[n+r-1],T=h[n+r]}}while((t=I[t&p])>d&&--i!==0);return r<=e.lookahead?r:e.lookahead},g8=e=>{let t=e.w_size,i,n,s;do{if(n=e.window_size-e.lookahead-e.strstart,e.strstart>=t+(t-b2)&&(e.window.set(e.window.subarray(t,t+t-n),0),e.match_start-=t,e.strstart-=t,e.block_start-=t,e.insert>e.strstart&&(e.insert=e.strstart),qOe(e),n+=t),e.strm.avail_in===0)break;if(i=vne(e.strm,e.window,e.strstart+e.lookahead,n),e.lookahead+=i,e.lookahead+e.insert>=ho)for(s=e.strstart-e.insert,e.ins_h=e.window[s],e.ins_h=kN(e,e.ins_h,e.window[s+1]);e.insert&&(e.ins_h=kN(e,e.ins_h,e.window[s+ho-1]),e.prev[s&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=s,s++,e.insert--,!(e.lookahead+e.insert<ho)););}while(e.lookahead<b2&&e.strm.avail_in!==0)},lme=(e,t)=>{let i=e.pending_buf_size-5>e.w_size?e.w_size:e.pending_buf_size-5,n,s,o,r=0,l=e.strm.avail_in;do{if(n=65535,o=e.bi_valid+42>>3,e.strm.avail_out<o||(o=e.strm.avail_out-o,s=e.strstart-e.block_start,n>s+e.strm.avail_in&&(n=s+e.strm.avail_in),n>o&&(n=o),n<i&&(n===0&&t!==aE||t===VN||n!==s+e.strm.avail_in)))break;r=t===aE&&n===s+e.strm.avail_in?1:0,mne(e,0,0,r),e.pending_buf[e.pending-4]=n,e.pending_buf[e.pending-3]=n>>8,e.pending_buf[e.pending-2]=~n,e.pending_buf[e.pending-1]=~n>>8,A1(e.strm),s&&(s>n&&(s=n),e.strm.output.set(e.window.subarray(e.block_start,e.block_start+s),e.strm.next_out),e.strm.next_out+=s,e.strm.avail_out-=s,e.strm.total_out+=s,e.block_start+=s,n-=s),n&&(vne(e.strm,e.strm.output,e.strm.next_out,n),e.strm.next_out+=n,e.strm.avail_out-=n,e.strm.total_out+=n)}while(r===0);return l-=e.strm.avail_in,l&&(l>=e.w_size?(e.matches=2,e.window.set(e.strm.input.subarray(e.strm.next_in-e.w_size,e.strm.next_in),0),e.strstart=e.w_size,e.insert=e.strstart):(e.window_size-e.strstart<=l&&(e.strstart-=e.w_size,e.window.set(e.window.subarray(e.w_size,e.w_size+e.strstart),0),e.matches<2&&e.matches++,e.insert>e.strstart&&(e.insert=e.strstart)),e.window.set(e.strm.input.subarray(e.strm.next_in-l,e.strm.next_in),e.strstart),e.strstart+=l,e.insert+=l>e.w_size-e.insert?e.w_size-e.insert:l),e.block_start=e.strstart),e.high_water<e.strstart&&(e.high_water=e.strstart),r?N8:t!==VN&&t!==aE&&e.strm.avail_in===0&&e.strstart===e.block_start?b8:(o=e.window_size-e.strstart,e.strm.avail_in>o&&e.block_start>=e.w_size&&(e.block_start-=e.w_size,e.strstart-=e.w_size,e.window.set(e.window.subarray(e.w_size,e.w_size+e.strstart),0),e.matches<2&&e.matches++,o+=e.w_size,e.insert>e.strstart&&(e.insert=e.strstart)),o>e.strm.avail_in&&(o=e.strm.avail_in),o&&(vne(e.strm,e.window,e.strstart,o),e.strstart+=o,e.insert+=o>e.w_size-e.insert?e.w_size-e.insert:o),e.high_water<e.strstart&&(e.high_water=e.strstart),o=e.bi_valid+42>>3,o=e.pending_buf_size-o>65535?65535:e.pending_buf_size-o,i=o>e.w_size?e.w_size:o,s=e.strstart-e.block_start,(s>=i||(s||t===aE)&&t!==VN&&e.strm.avail_in===0&&s<=o)&&(n=s>o?o:s,r=t===aE&&e.strm.avail_in===0&&n===s?1:0,mne(e,e.block_start,n,r),e.block_start+=n,A1(e.strm)),r?ix:iI)},Qie=(e,t)=>{let i,n;for(;;){if(e.lookahead<b2){if(g8(e),e.lookahead<b2&&t===VN)return iI;if(e.lookahead===0)break}if(i=0,e.lookahead>=ho&&(e.ins_h=kN(e,e.ins_h,e.window[e.strstart+ho-1]),i=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),i!==0&&e.strstart-i<=e.w_size-b2&&(e.match_length=rme(e,i)),e.match_length>=ho)if(n=GN(e,e.strstart-e.match_start,e.match_length-ho),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=ho){e.match_length--;do e.strstart++,e.ins_h=kN(e,e.ins_h,e.window[e.strstart+ho-1]),i=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart;while(--e.match_length!==0);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=kN(e,e.ins_h,e.window[e.strstart+1]);else n=GN(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(n&&(N1(e,!1),e.strm.avail_out===0))return iI}return e.insert=e.strstart<ho-1?e.strstart:ho-1,t===aE?(N1(e,!0),e.strm.avail_out===0?ix:N8):e.sym_next&&(N1(e,!1),e.strm.avail_out===0)?iI:b8},r8=(e,t)=>{let i,n,s;for(;;){if(e.lookahead<b2){if(g8(e),e.lookahead<b2&&t===VN)return iI;if(e.lookahead===0)break}if(i=0,e.lookahead>=ho&&(e.ins_h=kN(e,e.ins_h,e.window[e.strstart+ho-1]),i=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=ho-1,i!==0&&e.prev_length<e.max_lazy_match&&e.strstart-i<=e.w_size-b2&&(e.match_length=rme(e,i),e.match_length<=5&&(e.strategy===xOe||e.match_length===ho&&e.strstart-e.match_start>4096)&&(e.match_length=ho-1)),e.prev_length>=ho&&e.match_length<=e.prev_length){s=e.strstart+e.lookahead-ho,n=GN(e,e.strstart-1-e.prev_match,e.prev_length-ho),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=s&&(e.ins_h=kN(e,e.ins_h,e.window[e.strstart+ho-1]),i=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart);while(--e.prev_length!==0);if(e.match_available=0,e.match_length=ho-1,e.strstart++,n&&(N1(e,!1),e.strm.avail_out===0))return iI}else if(e.match_available){if(n=GN(e,0,e.window[e.strstart-1]),n&&N1(e,!1),e.strstart++,e.lookahead--,e.strm.avail_out===0)return iI}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(n=GN(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<ho-1?e.strstart:ho-1,t===aE?(N1(e,!0),e.strm.avail_out===0?ix:N8):e.sym_next&&(N1(e,!1),e.strm.avail_out===0)?iI:b8},ZOe=(e,t)=>{let i,n,s,o,r=e.window;for(;;){if(e.lookahead<=HN){if(g8(e),e.lookahead<=HN&&t===VN)return iI;if(e.lookahead===0)break}if(e.match_length=0,e.lookahead>=ho&&e.strstart>0&&(s=e.strstart-1,n=r[s],n===r[++s]&&n===r[++s]&&n===r[++s])){o=e.strstart+HN;do;while(n===r[++s]&&n===r[++s]&&n===r[++s]&&n===r[++s]&&n===r[++s]&&n===r[++s]&&n===r[++s]&&n===r[++s]&&s<o);e.match_length=HN-(o-s),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=ho?(i=GN(e,1,e.match_length-ho),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(i=GN(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),i&&(N1(e,!1),e.strm.avail_out===0))return iI}return e.insert=0,t===aE?(N1(e,!0),e.strm.avail_out===0?ix:N8):e.sym_next&&(N1(e,!1),e.strm.avail_out===0)?iI:b8},KOe=(e,t)=>{let i;for(;;){if(e.lookahead===0&&(g8(e),e.lookahead===0)){if(t===VN)return iI;break}if(e.match_length=0,i=GN(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,i&&(N1(e,!1),e.strm.avail_out===0))return iI}return e.insert=0,t===aE?(N1(e,!0),e.strm.avail_out===0?ix:N8):e.sym_next&&(N1(e,!1),e.strm.avail_out===0)?iI:b8};function f2(e,t,i,n,s){this.good_length=e,this.max_lazy=t,this.nice_length=i,this.max_chain=n,this.func=s}var OV=[new f2(0,0,0,0,lme),new f2(4,4,8,4,Qie),new f2(4,5,16,8,Qie),new f2(4,6,32,32,Qie),new f2(4,4,16,16,r8),new f2(8,16,32,32,r8),new f2(8,16,128,128,r8),new f2(8,32,128,256,r8),new f2(32,128,258,1024,r8),new f2(32,258,258,4096,r8)],QOe=e=>{e.window_size=2*e.w_size,BN(e.head),e.max_lazy_match=OV[e.level].max_lazy,e.good_match=OV[e.level].good_length,e.nice_match=OV[e.level].nice_length,e.max_chain_length=OV[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=ho-1,e.match_available=0,e.ins_h=0};function JOe(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=m$,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(zOe*2),this.dyn_dtree=new Uint16Array((2*VOe+1)*2),this.bl_tree=new Uint16Array((2*kOe+1)*2),BN(this.dyn_ltree),BN(this.dyn_dtree),BN(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(WOe+1),this.heap=new Uint16Array(2*yne+1),BN(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(2*yne+1),BN(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}var hk=e=>{if(!e)return 1;let t=e.state;return!t||t.strm!==e||t.status!==T8&&t.status!==Xse&&t.status!==Ene&&t.status!==Tne&&t.status!==gne&&t.status!==wne&&t.status!==Q6&&t.status!==xV?1:0},ame=e=>{if(hk(e))return J6(e,A2);e.total_in=e.total_out=0,e.data_type=MOe;let t=e.state;return t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap===2?Xse:t.wrap?T8:Q6,e.adler=t.wrap===2?0:1,t.last_flush=-2,SOe(t),kh},ume=e=>{let t=ame(e);return t===kh&&QOe(e.state),t},XOe=(e,t)=>hk(e)||e.state.wrap!==2?A2:(e.state.gzhead=t,kh),cme=(e,t,i,n,s,o)=>{if(!e)return A2;let r=1;if(t===COe&&(t=6),n<0?(r=0,n=-n):n>15&&(r=2,n-=16),s<1||s>BOe||i!==m$||n<8||n>15||t<0||t>9||o<0||o>LOe||n===8&&r!==1)return J6(e,A2);n===8&&(n=9);let l=new JOe;return e.state=l,l.strm=e,l.status=T8,l.wrap=r,l.gzhead=null,l.w_bits=n,l.w_size=1<<l.w_bits,l.w_mask=l.w_size-1,l.hash_bits=s+7,l.hash_size=1<<l.hash_bits,l.hash_mask=l.hash_size-1,l.hash_shift=~~((l.hash_bits+ho-1)/ho),l.window=new Uint8Array(l.w_size*2),l.head=new Uint16Array(l.hash_size),l.prev=new Uint16Array(l.w_size),l.lit_bufsize=1<<s+6,l.pending_buf_size=l.lit_bufsize*4,l.pending_buf=new Uint8Array(l.pending_buf_size),l.sym_buf=l.lit_bufsize,l.sym_end=(l.lit_bufsize-1)*3,l.level=t,l.strategy=o,l.method=i,ume(e)},eLe=(e,t)=>cme(e,t,m$,FOe,UOe,POe),tLe=(e,t)=>{if(hk(e)||t>oIe||t<0)return e?J6(e,A2):A2;let i=e.state;if(!e.output||e.avail_in!==0&&!e.input||i.status===xV&&t!==aE)return J6(e,e.avail_out===0?Kie:A2);let n=i.last_flush;if(i.last_flush=t,i.pending!==0){if(A1(e),e.avail_out===0)return i.last_flush=-1,kh}else if(e.avail_in===0&&lIe(t)<=lIe(n)&&t!==aE)return J6(e,Kie);if(i.status===xV&&e.avail_in!==0)return J6(e,Kie);if(i.status===T8&&i.wrap===0&&(i.status=Q6),i.status===T8){let s=m$+(i.w_bits-8<<4)<<8,o=-1;if(i.strategy>=xq||i.level<2?o=0:i.level<6?o=1:i.level===6?o=2:o=3,s|=o<<6,i.strstart!==0&&(s|=YOe),s+=31-s%31,AV(i,s),i.strstart!==0&&(AV(i,e.adler>>>16),AV(i,e.adler&65535)),e.adler=1,i.status=Q6,A1(e),i.pending!==0)return i.last_flush=-1,kh}if(i.status===Xse){if(e.adler=0,Go(i,31),Go(i,139),Go(i,8),i.gzhead)Go(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),Go(i,i.gzhead.time&255),Go(i,i.gzhead.time>>8&255),Go(i,i.gzhead.time>>16&255),Go(i,i.gzhead.time>>24&255),Go(i,i.level===9?2:i.strategy>=xq||i.level<2?4:0),Go(i,i.gzhead.os&255),i.gzhead.extra&&i.gzhead.extra.length&&(Go(i,i.gzhead.extra.length&255),Go(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=$0(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=Ene;else if(Go(i,0),Go(i,0),Go(i,0),Go(i,0),Go(i,0),Go(i,i.level===9?2:i.strategy>=xq||i.level<2?4:0),Go(i,jOe),i.status=Q6,A1(e),i.pending!==0)return i.last_flush=-1,kh}if(i.status===Ene){if(i.gzhead.extra){let s=i.pending,o=(i.gzhead.extra.length&65535)-i.gzindex;for(;i.pending+o>i.pending_buf_size;){let l=i.pending_buf_size-i.pending;if(i.pending_buf.set(i.gzhead.extra.subarray(i.gzindex,i.gzindex+l),i.pending),i.pending=i.pending_buf_size,i.gzhead.hcrc&&i.pending>s&&(e.adler=$0(e.adler,i.pending_buf,i.pending-s,s)),i.gzindex+=l,A1(e),i.pending!==0)return i.last_flush=-1,kh;s=0,o-=l}let r=new Uint8Array(i.gzhead.extra);i.pending_buf.set(r.subarray(i.gzindex,i.gzindex+o),i.pending),i.pending+=o,i.gzhead.hcrc&&i.pending>s&&(e.adler=$0(e.adler,i.pending_buf,i.pending-s,s)),i.gzindex=0}i.status=Tne}if(i.status===Tne){if(i.gzhead.name){let s=i.pending,o;do{if(i.pending===i.pending_buf_size){if(i.gzhead.hcrc&&i.pending>s&&(e.adler=$0(e.adler,i.pending_buf,i.pending-s,s)),A1(e),i.pending!==0)return i.last_flush=-1,kh;s=0}i.gzindex<i.gzhead.name.length?o=i.gzhead.name.charCodeAt(i.gzindex++)&255:o=0,Go(i,o)}while(o!==0);i.gzhead.hcrc&&i.pending>s&&(e.adler=$0(e.adler,i.pending_buf,i.pending-s,s)),i.gzindex=0}i.status=gne}if(i.status===gne){if(i.gzhead.comment){let s=i.pending,o;do{if(i.pending===i.pending_buf_size){if(i.gzhead.hcrc&&i.pending>s&&(e.adler=$0(e.adler,i.pending_buf,i.pending-s,s)),A1(e),i.pending!==0)return i.last_flush=-1,kh;s=0}i.gzindex<i.gzhead.comment.length?o=i.gzhead.comment.charCodeAt(i.gzindex++)&255:o=0,Go(i,o)}while(o!==0);i.gzhead.hcrc&&i.pending>s&&(e.adler=$0(e.adler,i.pending_buf,i.pending-s,s))}i.status=wne}if(i.status===wne){if(i.gzhead.hcrc){if(i.pending+2>i.pending_buf_size&&(A1(e),i.pending!==0))return i.last_flush=-1,kh;Go(i,e.adler&255),Go(i,e.adler>>8&255),e.adler=0}if(i.status=Q6,A1(e),i.pending!==0)return i.last_flush=-1,kh}if(e.avail_in!==0||i.lookahead!==0||t!==VN&&i.status!==xV){let s=i.level===0?lme(i,t):i.strategy===xq?KOe(i,t):i.strategy===OOe?ZOe(i,t):OV[i.level].func(i,t);if((s===ix||s===N8)&&(i.status=xV),s===iI||s===ix)return e.avail_out===0&&(i.last_flush=-1),kh;if(s===b8&&(t===NOe?bOe(i):t!==oIe&&(mne(i,0,0,!1),t===_Oe&&(BN(i.head),i.lookahead===0&&(i.strstart=0,i.block_start=0,i.insert=0))),A1(e),e.avail_out===0))return i.last_flush=-1,kh}return t!==aE?kh:i.wrap<=0?rIe:(i.wrap===2?(Go(i,e.adler&255),Go(i,e.adler>>8&255),Go(i,e.adler>>16&255),Go(i,e.adler>>24&255),Go(i,e.total_in&255),Go(i,e.total_in>>8&255),Go(i,e.total_in>>16&255),Go(i,e.total_in>>24&255)):(AV(i,e.adler>>>16),AV(i,e.adler&65535)),A1(e),i.wrap>0&&(i.wrap=-i.wrap),i.pending!==0?kh:rIe)},iLe=e=>{if(hk(e))return A2;let t=e.state.status;return e.state=null,t===Q6?J6(e,DOe):kh},nLe=(e,t)=>{let i=t.length;if(hk(e))return A2;let n=e.state,s=n.wrap;if(s===2||s===1&&n.status!==T8||n.lookahead)return A2;if(s===1&&(e.adler=QV(e.adler,t,i,0)),n.wrap=0,i>=n.w_size){s===0&&(BN(n.head),n.strstart=0,n.block_start=0,n.insert=0);let d=new Uint8Array(n.w_size);d.set(t.subarray(i-n.w_size,i),0),t=d,i=n.w_size}let o=e.avail_in,r=e.next_in,l=e.input;for(e.avail_in=i,e.next_in=0,e.input=t,g8(n);n.lookahead>=ho;){let d=n.strstart,h=n.lookahead-(ho-1);do n.ins_h=kN(n,n.ins_h,n.window[d+ho-1]),n.prev[d&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=d,d++;while(--h);n.strstart=d,n.lookahead=ho-1,g8(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=ho-1,n.match_available=0,e.next_in=r,e.input=l,e.avail_in=o,n.wrap=s,kh},sLe=eLe,oLe=cme,rLe=ume,lLe=ame,aLe=XOe,uLe=tLe,cLe=iLe,dLe=nLe,hLe="pako deflate (from Nodeca project)",VV={deflateInit:sLe,deflateInit2:oLe,deflateReset:rLe,deflateResetKeep:lLe,deflateSetHeader:aLe,deflate:uLe,deflateEnd:cLe,deflateSetDictionary:dLe,deflateInfo:hLe},fLe=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),pLe=function(e){let t=Array.prototype.slice.call(arguments,1);for(;t.length;){let i=t.shift();if(i){if(typeof i!="object")throw new TypeError(i+"must be non-object");for(let n in i)fLe(i,n)&&(e[n]=i[n])}}return e},ILe=e=>{let t=0;for(let n=0,s=e.length;n<s;n++)t+=e[n].length;let i=new Uint8Array(t);for(let n=0,s=0,o=e.length;n<o;n++){let r=e[n];i.set(r,s),s+=r.length}return i},y$={assign:pLe,flattenChunks:ILe},dme=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{dme=!1}var JV=new Uint8Array(256);for(let e=0;e<256;e++)JV[e]=e>=252?6:e>=248?5:e>=240?4:e>=224?3:e>=192?2:1;JV[254]=JV[254]=1;var mLe=e=>{if(typeof TextEncoder=="function"&&TextEncoder.prototype.encode)return new TextEncoder().encode(e);let t,i,n,s,o,r=e.length,l=0;for(s=0;s<r;s++)i=e.charCodeAt(s),(i&64512)===55296&&s+1<r&&(n=e.charCodeAt(s+1),(n&64512)===56320&&(i=65536+(i-55296<<10)+(n-56320),s++)),l+=i<128?1:i<2048?2:i<65536?3:4;for(t=new Uint8Array(l),o=0,s=0;o<l;s++)i=e.charCodeAt(s),(i&64512)===55296&&s+1<r&&(n=e.charCodeAt(s+1),(n&64512)===56320&&(i=65536+(i-55296<<10)+(n-56320),s++)),i<128?t[o++]=i:i<2048?(t[o++]=192|i>>>6,t[o++]=128|i&63):i<65536?(t[o++]=224|i>>>12,t[o++]=128|i>>>6&63,t[o++]=128|i&63):(t[o++]=240|i>>>18,t[o++]=128|i>>>12&63,t[o++]=128|i>>>6&63,t[o++]=128|i&63);return t},yLe=(e,t)=>{if(t<65534&&e.subarray&&dme)return String.fromCharCode.apply(null,e.length===t?e:e.subarray(0,t));let i="";for(let n=0;n<t;n++)i+=String.fromCharCode(e[n]);return i},ELe=(e,t)=>{let i=t||e.length;if(typeof TextDecoder=="function"&&TextDecoder.prototype.decode)return new TextDecoder().decode(e.subarray(0,t));let n,s,o=new Array(i*2);for(s=0,n=0;n<i;){let r=e[n++];if(r<128){o[s++]=r;continue}let l=JV[r];if(l>4){o[s++]=65533,n+=l-1;continue}for(r&=l===2?31:l===3?15:7;l>1&&n<i;)r=r<<6|e[n++]&63,l--;if(l>1){o[s++]=65533;continue}r<65536?o[s++]=r:(r-=65536,o[s++]=55296|r>>10&1023,o[s++]=56320|r&1023)}return yLe(o,s)},TLe=(e,t)=>{t=t||e.length,t>e.length&&(t=e.length);let i=t-1;for(;i>=0&&(e[i]&192)===128;)i--;return i<0||i===0?t:i+JV[e[i]]>t?i:t},XV={string2buf:mLe,buf2string:ELe,utf8border:TLe};function gLe(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}var hme=gLe,fme=Object.prototype.toString,{Z_NO_FLUSH:wLe,Z_SYNC_FLUSH:vLe,Z_FULL_FLUSH:RLe,Z_FINISH:SLe,Z_OK:s$,Z_STREAM_END:ALe,Z_DEFAULT_COMPRESSION:bLe,Z_DEFAULT_STRATEGY:NLe,Z_DEFLATED:_Le}=dk;function fk(e){this.options=y$.assign({level:bLe,method:_Le,chunkSize:16384,windowBits:15,memLevel:8,strategy:NLe},e||{});let t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new hme,this.strm.avail_out=0;let i=VV.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(i!==s$)throw new Error(tx[i]);if(t.header&&VV.deflateSetHeader(this.strm,t.header),t.dictionary){let n;if(typeof t.dictionary=="string"?n=XV.string2buf(t.dictionary):fme.call(t.dictionary)==="[object ArrayBuffer]"?n=new Uint8Array(t.dictionary):n=t.dictionary,i=VV.deflateSetDictionary(this.strm,n),i!==s$)throw new Error(tx[i]);this._dict_set=!0}}fk.prototype.push=function(e,t){let i=this.strm,n=this.options.chunkSize,s,o;if(this.ended)return!1;for(t===~~t?o=t:o=t===!0?SLe:wLe,typeof e=="string"?i.input=XV.string2buf(e):fme.call(e)==="[object ArrayBuffer]"?i.input=new Uint8Array(e):i.input=e,i.next_in=0,i.avail_in=i.input.length;;){if(i.avail_out===0&&(i.output=new Uint8Array(n),i.next_out=0,i.avail_out=n),(o===vLe||o===RLe)&&i.avail_out<=6){this.onData(i.output.subarray(0,i.next_out)),i.avail_out=0;continue}if(s=VV.deflate(i,o),s===ALe)return i.next_out>0&&this.onData(i.output.subarray(0,i.next_out)),s=VV.deflateEnd(this.strm),this.onEnd(s),this.ended=!0,s===s$;if(i.avail_out===0){this.onData(i.output);continue}if(o>0&&i.next_out>0){this.onData(i.output.subarray(0,i.next_out)),i.avail_out=0;continue}if(i.avail_in===0)break}return!0};fk.prototype.onData=function(e){this.chunks.push(e)};fk.prototype.onEnd=function(e){e===s$&&(this.result=y$.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function eoe(e,t){let i=new fk(t);if(i.push(e,!0),i.err)throw i.msg||tx[i.err];return i.result}function DLe(e,t){return t=t||{},t.raw=!0,eoe(e,t)}function CLe(e,t){return t=t||{},t.gzip=!0,eoe(e,t)}var xLe=fk,OLe=eoe,LLe=DLe,PLe=CLe,MLe={Deflate:xLe,deflate:OLe,deflateRaw:LLe,gzip:PLe},Oq=16209,BLe=16191,FLe=function(t,i){let n,s,o,r,l,d,h,p,I,m,y,T,R,b,A,O,P,U,Z,ne,K,oe,se,he,Re=t.state;n=t.next_in,se=t.input,s=n+(t.avail_in-5),o=t.next_out,he=t.output,r=o-(i-t.avail_out),l=o+(t.avail_out-257),d=Re.dmax,h=Re.wsize,p=Re.whave,I=Re.wnext,m=Re.window,y=Re.hold,T=Re.bits,R=Re.lencode,b=Re.distcode,A=(1<<Re.lenbits)-1,O=(1<<Re.distbits)-1;e:do{T<15&&(y+=se[n++]<<T,T+=8,y+=se[n++]<<T,T+=8),P=R[y&A];t:for(;;){if(U=P>>>24,y>>>=U,T-=U,U=P>>>16&255,U===0)he[o++]=P&65535;else if(U&16){Z=P&65535,U&=15,U&&(T<U&&(y+=se[n++]<<T,T+=8),Z+=y&(1<<U)-1,y>>>=U,T-=U),T<15&&(y+=se[n++]<<T,T+=8,y+=se[n++]<<T,T+=8),P=b[y&O];i:for(;;){if(U=P>>>24,y>>>=U,T-=U,U=P>>>16&255,U&16){if(ne=P&65535,U&=15,T<U&&(y+=se[n++]<<T,T+=8,T<U&&(y+=se[n++]<<T,T+=8)),ne+=y&(1<<U)-1,ne>d){t.msg="invalid distance too far back",Re.mode=Oq;break e}if(y>>>=U,T-=U,U=o-r,ne>U){if(U=ne-U,U>p&&Re.sane){t.msg="invalid distance too far back",Re.mode=Oq;break e}if(K=0,oe=m,I===0){if(K+=h-U,U<Z){Z-=U;do he[o++]=m[K++];while(--U);K=o-ne,oe=he}}else if(I<U){if(K+=h+I-U,U-=I,U<Z){Z-=U;do he[o++]=m[K++];while(--U);if(K=0,I<Z){U=I,Z-=U;do he[o++]=m[K++];while(--U);K=o-ne,oe=he}}}else if(K+=I-U,U<Z){Z-=U;do he[o++]=m[K++];while(--U);K=o-ne,oe=he}for(;Z>2;)he[o++]=oe[K++],he[o++]=oe[K++],he[o++]=oe[K++],Z-=3;Z&&(he[o++]=oe[K++],Z>1&&(he[o++]=oe[K++]))}else{K=o-ne;do he[o++]=he[K++],he[o++]=he[K++],he[o++]=he[K++],Z-=3;while(Z>2);Z&&(he[o++]=he[K++],Z>1&&(he[o++]=he[K++]))}}else if((U&64)===0){P=b[(P&65535)+(y&(1<<U)-1)];continue i}else{t.msg="invalid distance code",Re.mode=Oq;break e}break}}else if((U&64)===0){P=R[(P&65535)+(y&(1<<U)-1)];continue t}else if(U&32){Re.mode=BLe;break e}else{t.msg="invalid literal/length code",Re.mode=Oq;break e}break}}while(n<s&&o<l);Z=T>>3,n-=Z,T-=Z<<3,y&=(1<<T)-1,t.next_in=n,t.next_out=o,t.avail_in=n<s?5+(s-n):5-(n-s),t.avail_out=o<l?257+(l-o):257-(o-l),Re.hold=y,Re.bits=T},l8=15,aIe=852,uIe=592,cIe=0,Jie=1,dIe=2,ULe=new Uint16Array([3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0]),HLe=new Uint8Array([16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78]),GLe=new Uint16Array([1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0]),VLe=new Uint8Array([16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64]),kLe=(e,t,i,n,s,o,r,l)=>{let d=l.bits,h=0,p=0,I=0,m=0,y=0,T=0,R=0,b=0,A=0,O=0,P,U,Z,ne,K,oe=null,se,he=new Uint16Array(l8+1),Re=new Uint16Array(l8+1),ee=null,Ae,Ee,Ce;for(h=0;h<=l8;h++)he[h]=0;for(p=0;p<n;p++)he[t[i+p]]++;for(y=d,m=l8;m>=1&&he[m]===0;m--);if(y>m&&(y=m),m===0)return s[o++]=1<<24|64<<16|0,s[o++]=1<<24|64<<16|0,l.bits=1,0;for(I=1;I<m&&he[I]===0;I++);for(y<I&&(y=I),b=1,h=1;h<=l8;h++)if(b<<=1,b-=he[h],b<0)return-1;if(b>0&&(e===cIe||m!==1))return-1;for(Re[1]=0,h=1;h<l8;h++)Re[h+1]=Re[h]+he[h];for(p=0;p<n;p++)t[i+p]!==0&&(r[Re[t[i+p]]++]=p);if(e===cIe?(oe=ee=r,se=20):e===Jie?(oe=ULe,ee=HLe,se=257):(oe=GLe,ee=VLe,se=0),O=0,p=0,h=I,K=o,T=y,R=0,Z=-1,A=1<<y,ne=A-1,e===Jie&&A>aIe||e===dIe&&A>uIe)return 1;for(;;){Ae=h-R,r[p]+1<se?(Ee=0,Ce=r[p]):r[p]>=se?(Ee=ee[r[p]-se],Ce=oe[r[p]-se]):(Ee=96,Ce=0),P=1<<h-R,U=1<<T,I=U;do U-=P,s[K+(O>>R)+U]=Ae<<24|Ee<<16|Ce|0;while(U!==0);for(P=1<<h-1;O&P;)P>>=1;if(P!==0?(O&=P-1,O+=P):O=0,p++,--he[h]===0){if(h===m)break;h=t[i+r[p]]}if(h>y&&(O&ne)!==Z){for(R===0&&(R=y),K+=I,T=h-R,b=1<<T;T+R<m&&(b-=he[T+R],!(b<=0));)T++,b<<=1;if(A+=1<<T,e===Jie&&A>aIe||e===dIe&&A>uIe)return 1;Z=O&ne,s[Z]=y<<24|T<<16|K-o|0}}return O!==0&&(s[K+O]=h-R<<24|64<<16|0),l.bits=y,0},kV=kLe,zLe=0,pme=1,Ime=2,{Z_FINISH:hIe,Z_BLOCK:WLe,Z_TREES:Lq,Z_OK:nx,Z_STREAM_END:YLe,Z_NEED_DICT:jLe,Z_STREAM_ERROR:dE,Z_DATA_ERROR:mme,Z_MEM_ERROR:yme,Z_BUF_ERROR:qLe,Z_DEFLATED:fIe}=dk,E$=16180,pIe=16181,IIe=16182,mIe=16183,yIe=16184,EIe=16185,TIe=16186,gIe=16187,wIe=16188,vIe=16189,o$=16190,AS=16191,Xie=16192,RIe=16193,ene=16194,SIe=16195,AIe=16196,bIe=16197,NIe=16198,Pq=16199,Mq=16200,_Ie=16201,DIe=16202,CIe=16203,xIe=16204,OIe=16205,tne=16206,LIe=16207,PIe=16208,ca=16209,Eme=16210,Tme=16211,$Le=852,ZLe=592,KLe=15,QLe=KLe,MIe=e=>(e>>>24&255)+(e>>>8&65280)+((e&65280)<<8)+((e&255)<<24);function JLe(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}var ux=e=>{if(!e)return 1;let t=e.state;return!t||t.strm!==e||t.mode<E$||t.mode>Tme?1:0},gme=e=>{if(ux(e))return dE;let t=e.state;return e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=t.wrap&1),t.mode=E$,t.last=0,t.havedict=0,t.flags=-1,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new Int32Array($Le),t.distcode=t.distdyn=new Int32Array(ZLe),t.sane=1,t.back=-1,nx},wme=e=>{if(ux(e))return dE;let t=e.state;return t.wsize=0,t.whave=0,t.wnext=0,gme(e)},vme=(e,t)=>{let i;if(ux(e))return dE;let n=e.state;return t<0?(i=0,t=-t):(i=(t>>4)+5,t<48&&(t&=15)),t&&(t<8||t>15)?dE:(n.window!==null&&n.wbits!==t&&(n.window=null),n.wrap=i,n.wbits=t,wme(e))},Rme=(e,t)=>{if(!e)return dE;let i=new JLe;e.state=i,i.strm=e,i.window=null,i.mode=E$;let n=vme(e,t);return n!==nx&&(e.state=null),n},XLe=e=>Rme(e,QLe),BIe=!0,ine,nne,ePe=e=>{if(BIe){ine=new Int32Array(512),nne=new Int32Array(32);let t=0;for(;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(kV(pme,e.lens,0,288,ine,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;kV(Ime,e.lens,0,32,nne,0,e.work,{bits:5}),BIe=!1}e.lencode=ine,e.lenbits=9,e.distcode=nne,e.distbits=5},Sme=(e,t,i,n)=>{let s,o=e.state;return o.window===null&&(o.wsize=1<<o.wbits,o.wnext=0,o.whave=0,o.window=new Uint8Array(o.wsize)),n>=o.wsize?(o.window.set(t.subarray(i-o.wsize,i),0),o.wnext=0,o.whave=o.wsize):(s=o.wsize-o.wnext,s>n&&(s=n),o.window.set(t.subarray(i-n,i-n+s),o.wnext),n-=s,n?(o.window.set(t.subarray(i-n,i),0),o.wnext=n,o.whave=o.wsize):(o.wnext+=s,o.wnext===o.wsize&&(o.wnext=0),o.whave<o.wsize&&(o.whave+=s))),0},tPe=(e,t)=>{let i,n,s,o,r,l,d,h,p,I,m,y,T,R,b=0,A,O,P,U,Z,ne,K,oe,se=new Uint8Array(4),he,Re,ee=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(ux(e)||!e.output||!e.input&&e.avail_in!==0)return dE;i=e.state,i.mode===AS&&(i.mode=Xie),r=e.next_out,s=e.output,d=e.avail_out,o=e.next_in,n=e.input,l=e.avail_in,h=i.hold,p=i.bits,I=l,m=d,oe=nx;e:for(;;)switch(i.mode){case E$:if(i.wrap===0){i.mode=Xie;break}for(;p<16;){if(l===0)break e;l--,h+=n[o++]<<p,p+=8}if(i.wrap&2&&h===35615){i.wbits===0&&(i.wbits=15),i.check=0,se[0]=h&255,se[1]=h>>>8&255,i.check=$0(i.check,se,2,0),h=0,p=0,i.mode=pIe;break}if(i.head&&(i.head.done=!1),!(i.wrap&1)||(((h&255)<<8)+(h>>8))%31){e.msg="incorrect header check",i.mode=ca;break}if((h&15)!==fIe){e.msg="unknown compression method",i.mode=ca;break}if(h>>>=4,p-=4,K=(h&15)+8,i.wbits===0&&(i.wbits=K),K>15||K>i.wbits){e.msg="invalid window size",i.mode=ca;break}i.dmax=1<<i.wbits,i.flags=0,e.adler=i.check=1,i.mode=h&512?vIe:AS,h=0,p=0;break;case pIe:for(;p<16;){if(l===0)break e;l--,h+=n[o++]<<p,p+=8}if(i.flags=h,(i.flags&255)!==fIe){e.msg="unknown compression method",i.mode=ca;break}if(i.flags&57344){e.msg="unknown header flags set",i.mode=ca;break}i.head&&(i.head.text=h>>8&1),i.flags&512&&i.wrap&4&&(se[0]=h&255,se[1]=h>>>8&255,i.check=$0(i.check,se,2,0)),h=0,p=0,i.mode=IIe;case IIe:for(;p<32;){if(l===0)break e;l--,h+=n[o++]<<p,p+=8}i.head&&(i.head.time=h),i.flags&512&&i.wrap&4&&(se[0]=h&255,se[1]=h>>>8&255,se[2]=h>>>16&255,se[3]=h>>>24&255,i.check=$0(i.check,se,4,0)),h=0,p=0,i.mode=mIe;case mIe:for(;p<16;){if(l===0)break e;l--,h+=n[o++]<<p,p+=8}i.head&&(i.head.xflags=h&255,i.head.os=h>>8),i.flags&512&&i.wrap&4&&(se[0]=h&255,se[1]=h>>>8&255,i.check=$0(i.check,se,2,0)),h=0,p=0,i.mode=yIe;case yIe:if(i.flags&1024){for(;p<16;){if(l===0)break e;l--,h+=n[o++]<<p,p+=8}i.length=h,i.head&&(i.head.extra_len=h),i.flags&512&&i.wrap&4&&(se[0]=h&255,se[1]=h>>>8&255,i.check=$0(i.check,se,2,0)),h=0,p=0}else i.head&&(i.head.extra=null);i.mode=EIe;case EIe:if(i.flags&1024&&(y=i.length,y>l&&(y=l),y&&(i.head&&(K=i.head.extra_len-i.length,i.head.extra||(i.head.extra=new Uint8Array(i.head.extra_len)),i.head.extra.set(n.subarray(o,o+y),K)),i.flags&512&&i.wrap&4&&(i.check=$0(i.check,n,y,o)),l-=y,o+=y,i.length-=y),i.length))break e;i.length=0,i.mode=TIe;case TIe:if(i.flags&2048){if(l===0)break e;y=0;do K=n[o+y++],i.head&&K&&i.length<65536&&(i.head.name+=String.fromCharCode(K));while(K&&y<l);if(i.flags&512&&i.wrap&4&&(i.check=$0(i.check,n,y,o)),l-=y,o+=y,K)break e}else i.head&&(i.head.name=null);i.length=0,i.mode=gIe;case gIe:if(i.flags&4096){if(l===0)break e;y=0;do K=n[o+y++],i.head&&K&&i.length<65536&&(i.head.comment+=String.fromCharCode(K));while(K&&y<l);if(i.flags&512&&i.wrap&4&&(i.check=$0(i.check,n,y,o)),l-=y,o+=y,K)break e}else i.head&&(i.head.comment=null);i.mode=wIe;case wIe:if(i.flags&512){for(;p<16;){if(l===0)break e;l--,h+=n[o++]<<p,p+=8}if(i.wrap&4&&h!==(i.check&65535)){e.msg="header crc mismatch",i.mode=ca;break}h=0,p=0}i.head&&(i.head.hcrc=i.flags>>9&1,i.head.done=!0),e.adler=i.check=0,i.mode=AS;break;case vIe:for(;p<32;){if(l===0)break e;l--,h+=n[o++]<<p,p+=8}e.adler=i.check=MIe(h),h=0,p=0,i.mode=o$;case o$:if(i.havedict===0)return e.next_out=r,e.avail_out=d,e.next_in=o,e.avail_in=l,i.hold=h,i.bits=p,jLe;e.adler=i.check=1,i.mode=AS;case AS:if(t===WLe||t===Lq)break e;case Xie:if(i.last){h>>>=p&7,p-=p&7,i.mode=tne;break}for(;p<3;){if(l===0)break e;l--,h+=n[o++]<<p,p+=8}switch(i.last=h&1,h>>>=1,p-=1,h&3){case 0:i.mode=RIe;break;case 1:if(ePe(i),i.mode=Pq,t===Lq){h>>>=2,p-=2;break e}break;case 2:i.mode=AIe;break;case 3:e.msg="invalid block type",i.mode=ca}h>>>=2,p-=2;break;case RIe:for(h>>>=p&7,p-=p&7;p<32;){if(l===0)break e;l--,h+=n[o++]<<p,p+=8}if((h&65535)!==(h>>>16^65535)){e.msg="invalid stored block lengths",i.mode=ca;break}if(i.length=h&65535,h=0,p=0,i.mode=ene,t===Lq)break e;case ene:i.mode=SIe;case SIe:if(y=i.length,y){if(y>l&&(y=l),y>d&&(y=d),y===0)break e;s.set(n.subarray(o,o+y),r),l-=y,o+=y,d-=y,r+=y,i.length-=y;break}i.mode=AS;break;case AIe:for(;p<14;){if(l===0)break e;l--,h+=n[o++]<<p,p+=8}if(i.nlen=(h&31)+257,h>>>=5,p-=5,i.ndist=(h&31)+1,h>>>=5,p-=5,i.ncode=(h&15)+4,h>>>=4,p-=4,i.nlen>286||i.ndist>30){e.msg="too many length or distance symbols",i.mode=ca;break}i.have=0,i.mode=bIe;case bIe:for(;i.have<i.ncode;){for(;p<3;){if(l===0)break e;l--,h+=n[o++]<<p,p+=8}i.lens[ee[i.have++]]=h&7,h>>>=3,p-=3}for(;i.have<19;)i.lens[ee[i.have++]]=0;if(i.lencode=i.lendyn,i.lenbits=7,he={bits:i.lenbits},oe=kV(zLe,i.lens,0,19,i.lencode,0,i.work,he),i.lenbits=he.bits,oe){e.msg="invalid code lengths set",i.mode=ca;break}i.have=0,i.mode=NIe;case NIe:for(;i.have<i.nlen+i.ndist;){for(;b=i.lencode[h&(1<<i.lenbits)-1],A=b>>>24,O=b>>>16&255,P=b&65535,!(A<=p);){if(l===0)break e;l--,h+=n[o++]<<p,p+=8}if(P<16)h>>>=A,p-=A,i.lens[i.have++]=P;else{if(P===16){for(Re=A+2;p<Re;){if(l===0)break e;l--,h+=n[o++]<<p,p+=8}if(h>>>=A,p-=A,i.have===0){e.msg="invalid bit length repeat",i.mode=ca;break}K=i.lens[i.have-1],y=3+(h&3),h>>>=2,p-=2}else if(P===17){for(Re=A+3;p<Re;){if(l===0)break e;l--,h+=n[o++]<<p,p+=8}h>>>=A,p-=A,K=0,y=3+(h&7),h>>>=3,p-=3}else{for(Re=A+7;p<Re;){if(l===0)break e;l--,h+=n[o++]<<p,p+=8}h>>>=A,p-=A,K=0,y=11+(h&127),h>>>=7,p-=7}if(i.have+y>i.nlen+i.ndist){e.msg="invalid bit length repeat",i.mode=ca;break}for(;y--;)i.lens[i.have++]=K}}if(i.mode===ca)break;if(i.lens[256]===0){e.msg="invalid code -- missing end-of-block",i.mode=ca;break}if(i.lenbits=9,he={bits:i.lenbits},oe=kV(pme,i.lens,0,i.nlen,i.lencode,0,i.work,he),i.lenbits=he.bits,oe){e.msg="invalid literal/lengths set",i.mode=ca;break}if(i.distbits=6,i.distcode=i.distdyn,he={bits:i.distbits},oe=kV(Ime,i.lens,i.nlen,i.ndist,i.distcode,0,i.work,he),i.distbits=he.bits,oe){e.msg="invalid distances set",i.mode=ca;break}if(i.mode=Pq,t===Lq)break e;case Pq:i.mode=Mq;case Mq:if(l>=6&&d>=258){e.next_out=r,e.avail_out=d,e.next_in=o,e.avail_in=l,i.hold=h,i.bits=p,FLe(e,m),r=e.next_out,s=e.output,d=e.avail_out,o=e.next_in,n=e.input,l=e.avail_in,h=i.hold,p=i.bits,i.mode===AS&&(i.back=-1);break}for(i.back=0;b=i.lencode[h&(1<<i.lenbits)-1],A=b>>>24,O=b>>>16&255,P=b&65535,!(A<=p);){if(l===0)break e;l--,h+=n[o++]<<p,p+=8}if(O&&(O&240)===0){for(U=A,Z=O,ne=P;b=i.lencode[ne+((h&(1<<U+Z)-1)>>U)],A=b>>>24,O=b>>>16&255,P=b&65535,!(U+A<=p);){if(l===0)break e;l--,h+=n[o++]<<p,p+=8}h>>>=U,p-=U,i.back+=U}if(h>>>=A,p-=A,i.back+=A,i.length=P,O===0){i.mode=OIe;break}if(O&32){i.back=-1,i.mode=AS;break}if(O&64){e.msg="invalid literal/length code",i.mode=ca;break}i.extra=O&15,i.mode=_Ie;case _Ie:if(i.extra){for(Re=i.extra;p<Re;){if(l===0)break e;l--,h+=n[o++]<<p,p+=8}i.length+=h&(1<<i.extra)-1,h>>>=i.extra,p-=i.extra,i.back+=i.extra}i.was=i.length,i.mode=DIe;case DIe:for(;b=i.distcode[h&(1<<i.distbits)-1],A=b>>>24,O=b>>>16&255,P=b&65535,!(A<=p);){if(l===0)break e;l--,h+=n[o++]<<p,p+=8}if((O&240)===0){for(U=A,Z=O,ne=P;b=i.distcode[ne+((h&(1<<U+Z)-1)>>U)],A=b>>>24,O=b>>>16&255,P=b&65535,!(U+A<=p);){if(l===0)break e;l--,h+=n[o++]<<p,p+=8}h>>>=U,p-=U,i.back+=U}if(h>>>=A,p-=A,i.back+=A,O&64){e.msg="invalid distance code",i.mode=ca;break}i.offset=P,i.extra=O&15,i.mode=CIe;case CIe:if(i.extra){for(Re=i.extra;p<Re;){if(l===0)break e;l--,h+=n[o++]<<p,p+=8}i.offset+=h&(1<<i.extra)-1,h>>>=i.extra,p-=i.extra,i.back+=i.extra}if(i.offset>i.dmax){e.msg="invalid distance too far back",i.mode=ca;break}i.mode=xIe;case xIe:if(d===0)break e;if(y=m-d,i.offset>y){if(y=i.offset-y,y>i.whave&&i.sane){e.msg="invalid distance too far back",i.mode=ca;break}y>i.wnext?(y-=i.wnext,T=i.wsize-y):T=i.wnext-y,y>i.length&&(y=i.length),R=i.window}else R=s,T=r-i.offset,y=i.length;y>d&&(y=d),d-=y,i.length-=y;do s[r++]=R[T++];while(--y);i.length===0&&(i.mode=Mq);break;case OIe:if(d===0)break e;s[r++]=i.length,d--,i.mode=Mq;break;case tne:if(i.wrap){for(;p<32;){if(l===0)break e;l--,h|=n[o++]<<p,p+=8}if(m-=d,e.total_out+=m,i.total+=m,i.wrap&4&&m&&(e.adler=i.check=i.flags?$0(i.check,s,m,r-m):QV(i.check,s,m,r-m)),m=d,i.wrap&4&&(i.flags?h:MIe(h))!==i.check){e.msg="incorrect data check",i.mode=ca;break}h=0,p=0}i.mode=LIe;case LIe:if(i.wrap&&i.flags){for(;p<32;){if(l===0)break e;l--,h+=n[o++]<<p,p+=8}if(i.wrap&4&&h!==(i.total&4294967295)){e.msg="incorrect length check",i.mode=ca;break}h=0,p=0}i.mode=PIe;case PIe:oe=YLe;break e;case ca:oe=mme;break e;case Eme:return yme;case Tme:default:return dE}return e.next_out=r,e.avail_out=d,e.next_in=o,e.avail_in=l,i.hold=h,i.bits=p,(i.wsize||m!==e.avail_out&&i.mode<ca&&(i.mode<tne||t!==hIe))&&Sme(e,e.output,e.next_out,m-e.avail_out),I-=e.avail_in,m-=e.avail_out,e.total_in+=I,e.total_out+=m,i.total+=m,i.wrap&4&&m&&(e.adler=i.check=i.flags?$0(i.check,s,m,e.next_out-m):QV(i.check,s,m,e.next_out-m)),e.data_type=i.bits+(i.last?64:0)+(i.mode===AS?128:0)+(i.mode===Pq||i.mode===ene?256:0),(I===0&&m===0||t===hIe)&&oe===nx&&(oe=qLe),oe},iPe=e=>{if(ux(e))return dE;let t=e.state;return t.window&&(t.window=null),e.state=null,nx},nPe=(e,t)=>{if(ux(e))return dE;let i=e.state;return(i.wrap&2)===0?dE:(i.head=t,t.done=!1,nx)},sPe=(e,t)=>{let i=t.length,n,s,o;return ux(e)||(n=e.state,n.wrap!==0&&n.mode!==o$)?dE:n.mode===o$&&(s=1,s=QV(s,t,i,0),s!==n.check)?mme:(o=Sme(e,t,i,i),o?(n.mode=Eme,yme):(n.havedict=1,nx))},oPe=wme,rPe=vme,lPe=gme,aPe=XLe,uPe=Rme,cPe=tPe,dPe=iPe,hPe=nPe,fPe=sPe,pPe="pako inflate (from Nodeca project)",CS={inflateReset:oPe,inflateReset2:rPe,inflateResetKeep:lPe,inflateInit:aPe,inflateInit2:uPe,inflate:cPe,inflateEnd:dPe,inflateGetHeader:hPe,inflateSetDictionary:fPe,inflateInfo:pPe};function IPe(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}var mPe=IPe,Ame=Object.prototype.toString,{Z_NO_FLUSH:yPe,Z_FINISH:EPe,Z_OK:ek,Z_STREAM_END:sne,Z_NEED_DICT:one,Z_STREAM_ERROR:TPe,Z_DATA_ERROR:FIe,Z_MEM_ERROR:gPe}=dk;function pk(e){this.options=y$.assign({chunkSize:1024*64,windowBits:15,to:""},e||{});let t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,t.windowBits===0&&(t.windowBits=-15)),t.windowBits>=0&&t.windowBits<16&&!(e&&e.windowBits)&&(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&(t.windowBits&15)===0&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new hme,this.strm.avail_out=0;let i=CS.inflateInit2(this.strm,t.windowBits);if(i!==ek)throw new Error(tx[i]);if(this.header=new mPe,CS.inflateGetHeader(this.strm,this.header),t.dictionary&&(typeof t.dictionary=="string"?t.dictionary=XV.string2buf(t.dictionary):Ame.call(t.dictionary)==="[object ArrayBuffer]"&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(i=CS.inflateSetDictionary(this.strm,t.dictionary),i!==ek)))throw new Error(tx[i])}pk.prototype.push=function(e,t){let i=this.strm,n=this.options.chunkSize,s=this.options.dictionary,o,r,l;if(this.ended)return!1;for(t===~~t?r=t:r=t===!0?EPe:yPe,Ame.call(e)==="[object ArrayBuffer]"?i.input=new Uint8Array(e):i.input=e,i.next_in=0,i.avail_in=i.input.length;;){for(i.avail_out===0&&(i.output=new Uint8Array(n),i.next_out=0,i.avail_out=n),o=CS.inflate(i,r),o===one&&s&&(o=CS.inflateSetDictionary(i,s),o===ek?o=CS.inflate(i,r):o===FIe&&(o=one));i.avail_in>0&&o===sne&&i.state.wrap>0&&e[i.next_in]!==0;)CS.inflateReset(i),o=CS.inflate(i,r);switch(o){case TPe:case FIe:case one:case gPe:return this.onEnd(o),this.ended=!0,!1}if(l=i.avail_out,i.next_out&&(i.avail_out===0||o===sne))if(this.options.to==="string"){let d=XV.utf8border(i.output,i.next_out),h=i.next_out-d,p=XV.buf2string(i.output,d);i.next_out=h,i.avail_out=n-h,h&&i.output.set(i.output.subarray(d,d+h),0),this.onData(p)}else this.onData(i.output.length===i.next_out?i.output:i.output.subarray(0,i.next_out));if(!(o===ek&&l===0)){if(o===sne)return o=CS.inflateEnd(this.strm),this.onEnd(o),this.ended=!0,!0;if(i.avail_in===0)break}}return!0};pk.prototype.onData=function(e){this.chunks.push(e)};pk.prototype.onEnd=function(e){e===ek&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=y$.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function toe(e,t){let i=new pk(t);if(i.push(e),i.err)throw i.msg||tx[i.err];return i.result}function wPe(e,t){return t=t||{},t.raw=!0,toe(e,t)}var vPe=pk,RPe=toe,SPe=wPe,APe=toe,bPe={Inflate:vPe,inflate:RPe,inflateRaw:SPe,ungzip:APe},{Deflate:NPe,deflate:_Pe,deflateRaw:DPe,gzip:CPe}=MLe,{Inflate:xPe,inflate:OPe,inflateRaw:LPe,ungzip:PPe}=bPe,MPe=NPe,BPe=_Pe,FPe=DPe,UPe=CPe,HPe=xPe,GPe=OPe,VPe=LPe,kPe=PPe,zPe=dk,T$={Deflate:MPe,deflate:BPe,deflateRaw:FPe,gzip:UPe,Inflate:HPe,inflate:GPe,inflateRaw:VPe,ungzip:kPe,constants:zPe},C3=class e{constructor(){Ne(this,"bb",null),Ne(this,"bb_pos",0)}__init(t,i){return this.bb_pos=t,this.bb=i,this}static getRootAsAttribute(t,i){return(i||new e).__init(t.readInt32(t.position())+t.position(),t)}static getSizePrefixedRootAsAttribute(t,i){return t.setPosition(t.position()+XI),(i||new e).__init(t.readInt32(t.position())+t.position(),t)}data(t,i){let n=this.bb.__offset(this.bb_pos,4);return n?this.bb.__string(this.bb.__vector(this.bb_pos+n)+t*4,i):null}dataLength(){let t=this.bb.__offset(this.bb_pos,4);return t?this.bb.__vector_len(this.bb_pos+t):0}static startAttribute(t){t.startObject(1)}static addData(t,i){t.addFieldOffset(0,i,0)}static createDataVector(t,i){t.startVector(4,i.length,4);for(let n=i.length-1;n>=0;n--)t.addOffset(i[n]);return t.endVector()}static startDataVector(t,i){t.startVector(4,i,4)}static endAttribute(t){let i=t.endObject();return t.requiredField(i,4),i}static createAttribute(t,i){return e.startAttribute(t),e.addData(t,i),e.endAttribute(t)}},pc=class{constructor(){Ne(this,"bb",null),Ne(this,"bb_pos",0)}__init(t,i){return this.bb_pos=t,this.bb=i,this}x(){return this.bb.readFloat32(this.bb_pos)}mutate_x(t){return this.bb.writeFloat32(this.bb_pos+0,t),!0}y(){return this.bb.readFloat32(this.bb_pos+4)}mutate_y(t){return this.bb.writeFloat32(this.bb_pos+4,t),!0}z(){return this.bb.readFloat32(this.bb_pos+8)}mutate_z(t){return this.bb.writeFloat32(this.bb_pos+8,t),!0}static sizeOf(){return 12}static createFloatVector(t,i,n,s){return t.prep(4,12),t.writeFloat32(s),t.writeFloat32(n),t.writeFloat32(i),t.offset()}},WN=class{constructor(){Ne(this,"bb",null),Ne(this,"bb_pos",0)}__init(t,i){return this.bb_pos=t,this.bb=i,this}aperture(){return this.bb.readFloat32(this.bb_pos)}mutate_aperture(t){return this.bb.writeFloat32(this.bb_pos+0,t),!0}position(t){return(t||new pc).__init(this.bb_pos+4,this.bb)}radius(){return this.bb.readFloat32(this.bb_pos+16)}mutate_radius(t){return this.bb.writeFloat32(this.bb_pos+16,t),!0}xDirection(t){return(t||new pc).__init(this.bb_pos+20,this.bb)}yDirection(t){return(t||new pc).__init(this.bb_pos+32,this.bb)}static sizeOf(){return 44}static createCircleCurve(t,i,n,s,o,r,l,d,h,p,I,m){return t.prep(4,44),t.prep(4,12),t.writeFloat32(m),t.writeFloat32(I),t.writeFloat32(p),t.prep(4,12),t.writeFloat32(h),t.writeFloat32(d),t.writeFloat32(l),t.writeFloat32(r),t.prep(4,12),t.writeFloat32(o),t.writeFloat32(s),t.writeFloat32(n),t.writeFloat32(i),t.offset()}},sx=class{constructor(){Ne(this,"bb",null),Ne(this,"bb_pos",0)}__init(t,i){return this.bb_pos=t,this.bb=i,this}p1(t){return(t||new pc).__init(this.bb_pos,this.bb)}p2(t){return(t||new pc).__init(this.bb_pos+12,this.bb)}static sizeOf(){return 24}static createWire(t,i,n,s,o,r,l){return t.prep(4,24),t.prep(4,12),t.writeFloat32(l),t.writeFloat32(r),t.writeFloat32(o),t.prep(4,12),t.writeFloat32(s),t.writeFloat32(n),t.writeFloat32(i),t.offset()}},PS=class e{constructor(){Ne(this,"bb",null),Ne(this,"bb_pos",0)}__init(t,i){return this.bb_pos=t,this.bb=i,this}static getRootAsWireSet(t,i){return(i||new e).__init(t.readInt32(t.position())+t.position(),t)}static getSizePrefixedRootAsWireSet(t,i){return t.setPosition(t.position()+XI),(i||new e).__init(t.readInt32(t.position())+t.position(),t)}ps(t,i){let n=this.bb.__offset(this.bb_pos,4);return n?(i||new pc).__init(this.bb.__vector(this.bb_pos+n)+t*12,this.bb):null}psLength(){let t=this.bb.__offset(this.bb_pos,4);return t?this.bb.__vector_len(this.bb_pos+t):0}static startWireSet(t){t.startObject(1)}static addPs(t,i){t.addFieldOffset(0,i,0)}static startPsVector(t,i){t.startVector(12,i,4)}static endWireSet(t){return t.endObject()}static createWireSet(t,i){return e.startWireSet(t),e.addPs(t,i),e.endWireSet(t)}},Ns=class e{constructor(){Ne(this,"bb",null),Ne(this,"bb_pos",0)}__init(t,i){return this.bb_pos=t,this.bb=i,this}static getRootAsAxis(t,i){return(i||new e).__init(t.readInt32(t.position())+t.position(),t)}static getSizePrefixedRootAsAxis(t,i){return t.setPosition(t.position()+XI),(i||new e).__init(t.readInt32(t.position())+t.position(),t)}wires(t,i){let n=this.bb.__offset(this.bb_pos,4);return n?(i||new sx).__init(this.bb.__vector(this.bb_pos+n)+t*24,this.bb):null}wiresLength(){let t=this.bb.__offset(this.bb_pos,4);return t?this.bb.__vector_len(this.bb_pos+t):0}order(t){let i=this.bb.__offset(this.bb_pos,6);return i?this.bb.readUint32(this.bb.__vector(this.bb_pos+i)+t*4):0}orderLength(){let t=this.bb.__offset(this.bb_pos,6);return t?this.bb.__vector_len(this.bb_pos+t):0}orderArray(){let t=this.bb.__offset(this.bb_pos,6);return t?new Uint32Array(this.bb.bytes().buffer,this.bb.bytes().byteOffset+this.bb.__vector(this.bb_pos+t),this.bb.__vector_len(this.bb_pos+t)):null}parts(t){let i=this.bb.__offset(this.bb_pos,8);return i?this.bb.readInt8(this.bb.__vector(this.bb_pos+i)+t):0}partsLength(){let t=this.bb.__offset(this.bb_pos,8);return t?this.bb.__vector_len(this.bb_pos+t):0}partsArray(){let t=this.bb.__offset(this.bb_pos,8);return t?new Int8Array(this.bb.bytes().buffer,this.bb.bytes().byteOffset+this.bb.__vector(this.bb_pos+t),this.bb.__vector_len(this.bb_pos+t)):null}wireSets(t,i){let n=this.bb.__offset(this.bb_pos,10);return n?(i||new PS).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+n)+t*4),this.bb):null}wireSetsLength(){let t=this.bb.__offset(this.bb_pos,10);return t?this.bb.__vector_len(this.bb_pos+t):0}circleCurves(t,i){let n=this.bb.__offset(this.bb_pos,12);return n?(i||new WN).__init(this.bb.__vector(this.bb_pos+n)+t*44,this.bb):null}circleCurvesLength(){let t=this.bb.__offset(this.bb_pos,12);return t?this.bb.__vector_len(this.bb_pos+t):0}static startAxis(t){t.startObject(5)}static addWires(t,i){t.addFieldOffset(0,i,0)}static startWiresVector(t,i){t.startVector(24,i,4)}static addOrder(t,i){t.addFieldOffset(1,i,0)}static createOrderVector(t,i){t.startVector(4,i.length,4);for(let n=i.length-1;n>=0;n--)t.addInt32(i[n]);return t.endVector()}static startOrderVector(t,i){t.startVector(4,i,4)}static addParts(t,i){t.addFieldOffset(2,i,0)}static createPartsVector(t,i){t.startVector(1,i.length,1);for(let n=i.length-1;n>=0;n--)t.addInt8(i[n]);return t.endVector()}static startPartsVector(t,i){t.startVector(1,i,1)}static addWireSets(t,i){t.addFieldOffset(3,i,0)}static createWireSetsVector(t,i){t.startVector(4,i.length,4);for(let n=i.length-1;n>=0;n--)t.addOffset(i[n]);return t.endVector()}static startWireSetsVector(t,i){t.startVector(4,i,4)}static addCircleCurves(t,i){t.addFieldOffset(4,i,0)}static startCircleCurvesVector(t,i){t.startVector(44,i,4)}static endAxis(t){let i=t.endObject();return t.requiredField(i,4),t.requiredField(i,6),t.requiredField(i,8),t.requiredField(i,10),t.requiredField(i,12),i}static createAxis(t,i,n,s,o,r){return e.startAxis(t),e.addWires(t,i),e.addOrder(t,n),e.addParts(t,s),e.addWireSets(t,o),e.addCircleCurves(t,r),e.endAxis(t)}},mu=(e=>(e[e.NONE=0]="NONE",e[e.WIRE=1]="WIRE",e[e.WIRE_SET=2]="WIRE_SET",e[e.CIRCLE_CURVE=3]="CIRCLE_CURVE",e))(mu||{}),hE=class e{constructor(){Ne(this,"bb",null),Ne(this,"bb_pos",0)}__init(t,i){return this.bb_pos=t,this.bb=i,this}static getRootAsBigShellHole(t,i){return(i||new e).__init(t.readInt32(t.position())+t.position(),t)}static getSizePrefixedRootAsBigShellHole(t,i){return t.setPosition(t.position()+XI),(i||new e).__init(t.readInt32(t.position())+t.position(),t)}indices(t){let i=this.bb.__offset(this.bb_pos,4);return i?this.bb.readUint32(this.bb.__vector(this.bb_pos+i)+t*4):0}indicesLength(){let t=this.bb.__offset(this.bb_pos,4);return t?this.bb.__vector_len(this.bb_pos+t):0}indicesArray(){let t=this.bb.__offset(this.bb_pos,4);return t?new Uint32Array(this.bb.bytes().buffer,this.bb.bytes().byteOffset+this.bb.__vector(this.bb_pos+t),this.bb.__vector_len(this.bb_pos+t)):null}profileId(){let t=this.bb.__offset(this.bb_pos,6);return t?this.bb.readUint16(this.bb_pos+t):0}mutate_profile_id(t){let i=this.bb.__offset(this.bb_pos,6);return i===0?!1:(this.bb.writeUint16(this.bb_pos+i,t),!0)}static startBigShellHole(t){t.startObject(2)}static addIndices(t,i){t.addFieldOffset(0,i,0)}static createIndicesVector(t,i){t.startVector(4,i.length,4);for(let n=i.length-1;n>=0;n--)t.addInt32(i[n]);return t.endVector()}static startIndicesVector(t,i){t.startVector(4,i,4)}static addProfileId(t,i){t.addFieldInt16(1,i,0)}static endBigShellHole(t){let i=t.endObject();return t.requiredField(i,4),i}static createBigShellHole(t,i,n){return e.startBigShellHole(t),e.addIndices(t,i),e.addProfileId(t,n),e.endBigShellHole(t)}},D1=class e{constructor(){Ne(this,"bb",null),Ne(this,"bb_pos",0)}__init(t,i){return this.bb_pos=t,this.bb=i,this}static getRootAsBigShellProfile(t,i){return(i||new e).__init(t.readInt32(t.position())+t.position(),t)}static getSizePrefixedRootAsBigShellProfile(t,i){return t.setPosition(t.position()+XI),(i||new e).__init(t.readInt32(t.position())+t.position(),t)}indices(t){let i=this.bb.__offset(this.bb_pos,4);return i?this.bb.readUint32(this.bb.__vector(this.bb_pos+i)+t*4):0}indicesLength(){let t=this.bb.__offset(this.bb_pos,4);return t?this.bb.__vector_len(this.bb_pos+t):0}indicesArray(){let t=this.bb.__offset(this.bb_pos,4);return t?new Uint32Array(this.bb.bytes().buffer,this.bb.bytes().byteOffset+this.bb.__vector(this.bb_pos+t),this.bb.__vector_len(this.bb_pos+t)):null}static startBigShellProfile(t){t.startObject(1)}static addIndices(t,i){t.addFieldOffset(0,i,0)}static createIndicesVector(t,i){t.startVector(4,i.length,4);for(let n=i.length-1;n>=0;n--)t.addInt32(i[n]);return t.endVector()}static startIndicesVector(t,i){t.startVector(4,i,4)}static endBigShellProfile(t){let i=t.endObject();return t.requiredField(i,4),i}static createBigShellProfile(t,i){return e.startBigShellProfile(t),e.addIndices(t,i),e.endBigShellProfile(t)}},r$=class{constructor(){Ne(this,"bb",null),Ne(this,"bb_pos",0)}__init(t,i){return this.bb_pos=t,this.bb=i,this}min(t){return(t||new pc).__init(this.bb_pos,this.bb)}max(t){return(t||new pc).__init(this.bb_pos+12,this.bb)}static sizeOf(){return 24}static createBoundingBox(t,i,n,s,o,r,l){return t.prep(4,24),t.prep(4,12),t.writeFloat32(l),t.writeFloat32(r),t.writeFloat32(o),t.prep(4,12),t.writeFloat32(s),t.writeFloat32(n),t.writeFloat32(i),t.offset()}},Pl=class e{constructor(){Ne(this,"bb",null),Ne(this,"bb_pos",0)}__init(t,i){return this.bb_pos=t,this.bb=i,this}static getRootAsCircleExtrusion(t,i){return(i||new e).__init(t.readInt32(t.position())+t.position(),t)}static getSizePrefixedRootAsCircleExtrusion(t,i){return t.setPosition(t.position()+XI),(i||new e).__init(t.readInt32(t.position())+t.position(),t)}radius(t){let i=this.bb.__offset(this.bb_pos,4);return i?this.bb.readFloat64(this.bb.__vector(this.bb_pos+i)+t*8):0}radiusLength(){let t=this.bb.__offset(this.bb_pos,4);return t?this.bb.__vector_len(this.bb_pos+t):0}radiusArray(){let t=this.bb.__offset(this.bb_pos,4);return t?new Float64Array(this.bb.bytes().buffer,this.bb.bytes().byteOffset+this.bb.__vector(this.bb_pos+t),this.bb.__vector_len(this.bb_pos+t)):null}axes(t,i){let n=this.bb.__offset(this.bb_pos,6);return n?(i||new Ns).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+n)+t*4),this.bb):null}axesLength(){let t=this.bb.__offset(this.bb_pos,6);return t?this.bb.__vector_len(this.bb_pos+t):0}static startCircleExtrusion(t){t.startObject(2)}static addRadius(t,i){t.addFieldOffset(0,i,0)}static createRadiusVector(t,i){t.startVector(8,i.length,8);for(let n=i.length-1;n>=0;n--)t.addFloat64(i[n]);return t.endVector()}static startRadiusVector(t,i){t.startVector(8,i,8)}static addAxes(t,i){t.addFieldOffset(1,i,0)}static createAxesVector(t,i){t.startVector(4,i.length,4);for(let n=i.length-1;n>=0;n--)t.addOffset(i[n]);return t.endVector()}static startAxesVector(t,i){t.startVector(4,i,4)}static endCircleExtrusion(t){let i=t.endObject();return t.requiredField(i,4),t.requiredField(i,6),i}static createCircleExtrusion(t,i,n){return e.startCircleExtrusion(t),e.addRadius(t,i),e.addAxes(t,n),e.endCircleExtrusion(t)}},l$=class{constructor(){Ne(this,"bb",null),Ne(this,"bb_pos",0)}__init(t,i){return this.bb_pos=t,this.bb=i,this}x(){return this.bb.readFloat64(this.bb_pos)}mutate_x(t){return this.bb.writeFloat64(this.bb_pos+0,t),!0}y(){return this.bb.readFloat64(this.bb_pos+8)}mutate_y(t){return this.bb.writeFloat64(this.bb_pos+8,t),!0}z(){return this.bb.readFloat64(this.bb_pos+16)}mutate_z(t){return this.bb.writeFloat64(this.bb_pos+16,t),!0}static sizeOf(){return 24}static createDoubleVector(t,i,n,s){return t.prep(8,24),t.writeFloat64(s),t.writeFloat64(n),t.writeFloat64(i),t.offset()}},YN=class{constructor(){Ne(this,"bb",null),Ne(this,"bb_pos",0)}__init(t,i){return this.bb_pos=t,this.bb=i,this}r(){return this.bb.readUint8(this.bb_pos)}mutate_r(t){return this.bb.writeUint8(this.bb_pos+0,t),!0}g(){return this.bb.readUint8(this.bb_pos+1)}mutate_g(t){return this.bb.writeUint8(this.bb_pos+1,t),!0}b(){return this.bb.readUint8(this.bb_pos+2)}mutate_b(t){return this.bb.writeUint8(this.bb_pos+2,t),!0}a(){return this.bb.readUint8(this.bb_pos+3)}mutate_a(t){return this.bb.writeUint8(this.bb_pos+3,t),!0}renderedFaces(){return this.bb.readInt8(this.bb_pos+4)}mutate_rendered_faces(t){return this.bb.writeInt8(this.bb_pos+4,t),!0}stroke(){return this.bb.readInt8(this.bb_pos+5)}mutate_stroke(t){return this.bb.writeInt8(this.bb_pos+5,t),!0}static sizeOf(){return 6}static createMaterial(t,i,n,s,o,r,l){return t.prep(1,6),t.writeInt8(l),t.writeInt8(r),t.writeInt8(o),t.writeInt8(s),t.writeInt8(n),t.writeInt8(i),t.offset()}},cE=class{constructor(){Ne(this,"bb",null),Ne(this,"bb_pos",0)}__init(t,i){return this.bb_pos=t,this.bb=i,this}id(){return this.bb.readUint32(this.bb_pos)}mutate_id(t){return this.bb.writeUint32(this.bb_pos+0,t),!0}bbox(t){return(t||new r$).__init(this.bb_pos+4,this.bb)}representationClass(){return this.bb.readInt8(this.bb_pos+28)}mutate_representation_class(t){return this.bb.writeInt8(this.bb_pos+28,t),!0}static sizeOf(){return 32}static createRepresentation(t,i,n,s,o,r,l,d,h){return t.prep(4,32),t.pad(3),t.writeInt8(h),t.prep(4,24),t.prep(4,12),t.writeFloat32(d),t.writeFloat32(l),t.writeFloat32(r),t.prep(4,12),t.writeFloat32(o),t.writeFloat32(s),t.writeFloat32(n),t.writeInt32(i),t.offset()}},jN=class{constructor(){Ne(this,"bb",null),Ne(this,"bb_pos",0)}__init(t,i){return this.bb_pos=t,this.bb=i,this}item(){return this.bb.readUint32(this.bb_pos)}mutate_item(t){return this.bb.writeUint32(this.bb_pos+0,t),!0}material(){return this.bb.readUint32(this.bb_pos+4)}mutate_material(t){return this.bb.writeUint32(this.bb_pos+4,t),!0}representation(){return this.bb.readUint32(this.bb_pos+8)}mutate_representation(t){return this.bb.writeUint32(this.bb_pos+8,t),!0}localTransform(){return this.bb.readUint32(this.bb_pos+12)}mutate_local_transform(t){return this.bb.writeUint32(this.bb_pos+12,t),!0}static sizeOf(){return 16}static createSample(t,i,n,s,o){return t.prep(4,16),t.writeInt32(o),t.writeInt32(s),t.writeInt32(n),t.writeInt32(i),t.offset()}},fE=class e{constructor(){Ne(this,"bb",null),Ne(this,"bb_pos",0)}__init(t,i){return this.bb_pos=t,this.bb=i,this}static getRootAsShellHole(t,i){return(i||new e).__init(t.readInt32(t.position())+t.position(),t)}static getSizePrefixedRootAsShellHole(t,i){return t.setPosition(t.position()+XI),(i||new e).__init(t.readInt32(t.position())+t.position(),t)}indices(t){let i=this.bb.__offset(this.bb_pos,4);return i?this.bb.readUint16(this.bb.__vector(this.bb_pos+i)+t*2):0}indicesLength(){let t=this.bb.__offset(this.bb_pos,4);return t?this.bb.__vector_len(this.bb_pos+t):0}indicesArray(){let t=this.bb.__offset(this.bb_pos,4);return t?new Uint16Array(this.bb.bytes().buffer,this.bb.bytes().byteOffset+this.bb.__vector(this.bb_pos+t),this.bb.__vector_len(this.bb_pos+t)):null}profileId(){let t=this.bb.__offset(this.bb_pos,6);return t?this.bb.readUint16(this.bb_pos+t):0}mutate_profile_id(t){let i=this.bb.__offset(this.bb_pos,6);return i===0?!1:(this.bb.writeUint16(this.bb_pos+i,t),!0)}static startShellHole(t){t.startObject(2)}static addIndices(t,i){t.addFieldOffset(0,i,0)}static createIndicesVector(t,i){t.startVector(2,i.length,2);for(let n=i.length-1;n>=0;n--)t.addInt16(i[n]);return t.endVector()}static startIndicesVector(t,i){t.startVector(2,i,2)}static addProfileId(t,i){t.addFieldInt16(1,i,0)}static endShellHole(t){let i=t.endObject();return t.requiredField(i,4),i}static createShellHole(t,i,n){return e.startShellHole(t),e.addIndices(t,i),e.addProfileId(t,n),e.endShellHole(t)}},C1=class e{constructor(){Ne(this,"bb",null),Ne(this,"bb_pos",0)}__init(t,i){return this.bb_pos=t,this.bb=i,this}static getRootAsShellProfile(t,i){return(i||new e).__init(t.readInt32(t.position())+t.position(),t)}static getSizePrefixedRootAsShellProfile(t,i){return t.setPosition(t.position()+XI),(i||new e).__init(t.readInt32(t.position())+t.position(),t)}indices(t){let i=this.bb.__offset(this.bb_pos,4);return i?this.bb.readUint16(this.bb.__vector(this.bb_pos+i)+t*2):0}indicesLength(){let t=this.bb.__offset(this.bb_pos,4);return t?this.bb.__vector_len(this.bb_pos+t):0}indicesArray(){let t=this.bb.__offset(this.bb_pos,4);return t?new Uint16Array(this.bb.bytes().buffer,this.bb.bytes().byteOffset+this.bb.__vector(this.bb_pos+t),this.bb.__vector_len(this.bb_pos+t)):null}static startShellProfile(t){t.startObject(1)}static addIndices(t,i){t.addFieldOffset(0,i,0)}static createIndicesVector(t,i){t.startVector(2,i.length,2);for(let n=i.length-1;n>=0;n--)t.addInt16(i[n]);return t.endVector()}static startIndicesVector(t,i){t.startVector(2,i,2)}static endShellProfile(t){let i=t.endObject();return t.requiredField(i,4),i}static createShellProfile(t,i){return e.startShellProfile(t),e.addIndices(t,i),e.endShellProfile(t)}},Pc=(e=>(e[e.NONE=0]="NONE",e[e.BIG=1]="BIG",e))(Pc||{}),or=class e{constructor(){Ne(this,"bb",null),Ne(this,"bb_pos",0)}__init(t,i){return this.bb_pos=t,this.bb=i,this}static getRootAsShell(t,i){return(i||new e).__init(t.readInt32(t.position())+t.position(),t)}static getSizePrefixedRootAsShell(t,i){return t.setPosition(t.position()+XI),(i||new e).__init(t.readInt32(t.position())+t.position(),t)}profiles(t,i){let n=this.bb.__offset(this.bb_pos,4);return n?(i||new C1).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+n)+t*4),this.bb):null}profilesLength(){let t=this.bb.__offset(this.bb_pos,4);return t?this.bb.__vector_len(this.bb_pos+t):0}holes(t,i){let n=this.bb.__offset(this.bb_pos,6);return n?(i||new fE).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+n)+t*4),this.bb):null}holesLength(){let t=this.bb.__offset(this.bb_pos,6);return t?this.bb.__vector_len(this.bb_pos+t):0}points(t,i){let n=this.bb.__offset(this.bb_pos,8);return n?(i||new pc).__init(this.bb.__vector(this.bb_pos+n)+t*12,this.bb):null}pointsLength(){let t=this.bb.__offset(this.bb_pos,8);return t?this.bb.__vector_len(this.bb_pos+t):0}bigProfiles(t,i){let n=this.bb.__offset(this.bb_pos,10);return n?(i||new D1).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+n)+t*4),this.bb):null}bigProfilesLength(){let t=this.bb.__offset(this.bb_pos,10);return t?this.bb.__vector_len(this.bb_pos+t):0}bigHoles(t,i){let n=this.bb.__offset(this.bb_pos,12);return n?(i||new hE).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+n)+t*4),this.bb):null}bigHolesLength(){let t=this.bb.__offset(this.bb_pos,12);return t?this.bb.__vector_len(this.bb_pos+t):0}type(){let t=this.bb.__offset(this.bb_pos,14);return t?this.bb.readInt8(this.bb_pos+t):Pc.NONE}mutate_type(t){let i=this.bb.__offset(this.bb_pos,14);return i===0?!1:(this.bb.writeInt8(this.bb_pos+i,t),!0)}profilesFaceIds(t){let i=this.bb.__offset(this.bb_pos,16);return i?this.bb.readUint16(this.bb.__vector(this.bb_pos+i)+t*2):0}profilesFaceIdsLength(){let t=this.bb.__offset(this.bb_pos,16);return t?this.bb.__vector_len(this.bb_pos+t):0}profilesFaceIdsArray(){let t=this.bb.__offset(this.bb_pos,16);return t?new Uint16Array(this.bb.bytes().buffer,this.bb.bytes().byteOffset+this.bb.__vector(this.bb_pos+t),this.bb.__vector_len(this.bb_pos+t)):null}static startShell(t){t.startObject(7)}static addProfiles(t,i){t.addFieldOffset(0,i,0)}static createProfilesVector(t,i){t.startVector(4,i.length,4);for(let n=i.length-1;n>=0;n--)t.addOffset(i[n]);return t.endVector()}static startProfilesVector(t,i){t.startVector(4,i,4)}static addHoles(t,i){t.addFieldOffset(1,i,0)}static createHolesVector(t,i){t.startVector(4,i.length,4);for(let n=i.length-1;n>=0;n--)t.addOffset(i[n]);return t.endVector()}static startHolesVector(t,i){t.startVector(4,i,4)}static addPoints(t,i){t.addFieldOffset(2,i,0)}static startPointsVector(t,i){t.startVector(12,i,4)}static addBigProfiles(t,i){t.addFieldOffset(3,i,0)}static createBigProfilesVector(t,i){t.startVector(4,i.length,4);for(let n=i.length-1;n>=0;n--)t.addOffset(i[n]);return t.endVector()}static startBigProfilesVector(t,i){t.startVector(4,i,4)}static addBigHoles(t,i){t.addFieldOffset(4,i,0)}static createBigHolesVector(t,i){t.startVector(4,i.length,4);for(let n=i.length-1;n>=0;n--)t.addOffset(i[n]);return t.endVector()}static startBigHolesVector(t,i){t.startVector(4,i,4)}static addType(t,i){t.addFieldInt8(5,i,Pc.NONE)}static addProfilesFaceIds(t,i){t.addFieldOffset(6,i,0)}static createProfilesFaceIdsVector(t,i){t.startVector(2,i.length,2);for(let n=i.length-1;n>=0;n--)t.addInt16(i[n]);return t.endVector()}static startProfilesFaceIdsVector(t,i){t.startVector(2,i,2)}static endShell(t){let i=t.endObject();return t.requiredField(i,4),t.requiredField(i,6),t.requiredField(i,8),t.requiredField(i,10),t.requiredField(i,12),t.requiredField(i,16),i}static createShell(t,i,n,s,o,r,l,d){return e.startShell(t),e.addProfiles(t,i),e.addHoles(t,n),e.addPoints(t,s),e.addBigProfiles(t,o),e.addBigHoles(t,r),e.addType(t,l),e.addProfilesFaceIds(t,d),e.endShell(t)}},JI=class{constructor(){Ne(this,"bb",null),Ne(this,"bb_pos",0)}__init(t,i){return this.bb_pos=t,this.bb=i,this}position(t){return(t||new l$).__init(this.bb_pos,this.bb)}xDirection(t){return(t||new pc).__init(this.bb_pos+24,this.bb)}yDirection(t){return(t||new pc).__init(this.bb_pos+36,this.bb)}static sizeOf(){return 48}static createTransform(t,i,n,s,o,r,l,d,h,p){return t.prep(8,48),t.prep(4,12),t.writeFloat32(p),t.writeFloat32(h),t.writeFloat32(d),t.prep(4,12),t.writeFloat32(l),t.writeFloat32(r),t.writeFloat32(o),t.prep(8,24),t.writeFloat64(s),t.writeFloat64(n),t.writeFloat64(i),t.offset()}},Ji=class e{constructor(){Ne(this,"bb",null),Ne(this,"bb_pos",0)}__init(t,i){return this.bb_pos=t,this.bb=i,this}static getRootAsMeshes(t,i){return(i||new e).__init(t.readInt32(t.position())+t.position(),t)}static getSizePrefixedRootAsMeshes(t,i){return t.setPosition(t.position()+XI),(i||new e).__init(t.readInt32(t.position())+t.position(),t)}coordinates(t){let i=this.bb.__offset(this.bb_pos,4);return i?(t||new JI).__init(this.bb_pos+i,this.bb):null}meshesItems(t){let i=this.bb.__offset(this.bb_pos,6);return i?this.bb.readUint32(this.bb.__vector(this.bb_pos+i)+t*4):0}meshesItemsLength(){let t=this.bb.__offset(this.bb_pos,6);return t?this.bb.__vector_len(this.bb_pos+t):0}meshesItemsArray(){let t=this.bb.__offset(this.bb_pos,6);return t?new Uint32Array(this.bb.bytes().buffer,this.bb.bytes().byteOffset+this.bb.__vector(this.bb_pos+t),this.bb.__vector_len(this.bb_pos+t)):null}samples(t,i){let n=this.bb.__offset(this.bb_pos,8);return n?(i||new jN).__init(this.bb.__vector(this.bb_pos+n)+t*16,this.bb):null}samplesLength(){let t=this.bb.__offset(this.bb_pos,8);return t?this.bb.__vector_len(this.bb_pos+t):0}representations(t,i){let n=this.bb.__offset(this.bb_pos,10);return n?(i||new cE).__init(this.bb.__vector(this.bb_pos+n)+t*32,this.bb):null}representationsLength(){let t=this.bb.__offset(this.bb_pos,10);return t?this.bb.__vector_len(this.bb_pos+t):0}materials(t,i){let n=this.bb.__offset(this.bb_pos,12);return n?(i||new YN).__init(this.bb.__vector(this.bb_pos+n)+t*6,this.bb):null}materialsLength(){let t=this.bb.__offset(this.bb_pos,12);return t?this.bb.__vector_len(this.bb_pos+t):0}circleExtrusions(t,i){let n=this.bb.__offset(this.bb_pos,14);return n?(i||new Pl).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+n)+t*4),this.bb):null}circleExtrusionsLength(){let t=this.bb.__offset(this.bb_pos,14);return t?this.bb.__vector_len(this.bb_pos+t):0}shells(t,i){let n=this.bb.__offset(this.bb_pos,16);return n?(i||new or).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+n)+t*4),this.bb):null}shellsLength(){let t=this.bb.__offset(this.bb_pos,16);return t?this.bb.__vector_len(this.bb_pos+t):0}localTransforms(t,i){let n=this.bb.__offset(this.bb_pos,18);return n?(i||new JI).__init(this.bb.__vector(this.bb_pos+n)+t*48,this.bb):null}localTransformsLength(){let t=this.bb.__offset(this.bb_pos,18);return t?this.bb.__vector_len(this.bb_pos+t):0}globalTransforms(t,i){let n=this.bb.__offset(this.bb_pos,20);return n?(i||new JI).__init(this.bb.__vector(this.bb_pos+n)+t*48,this.bb):null}globalTransformsLength(){let t=this.bb.__offset(this.bb_pos,20);return t?this.bb.__vector_len(this.bb_pos+t):0}materialIds(t){let i=this.bb.__offset(this.bb_pos,22);return i?this.bb.readUint32(this.bb.__vector(this.bb_pos+i)+t*4):0}materialIdsLength(){let t=this.bb.__offset(this.bb_pos,22);return t?this.bb.__vector_len(this.bb_pos+t):0}materialIdsArray(){let t=this.bb.__offset(this.bb_pos,22);return t?new Uint32Array(this.bb.bytes().buffer,this.bb.bytes().byteOffset+this.bb.__vector(this.bb_pos+t),this.bb.__vector_len(this.bb_pos+t)):null}representationIds(t){let i=this.bb.__offset(this.bb_pos,24);return i?this.bb.readUint32(this.bb.__vector(this.bb_pos+i)+t*4):0}representationIdsLength(){let t=this.bb.__offset(this.bb_pos,24);return t?this.bb.__vector_len(this.bb_pos+t):0}representationIdsArray(){let t=this.bb.__offset(this.bb_pos,24);return t?new Uint32Array(this.bb.bytes().buffer,this.bb.bytes().byteOffset+this.bb.__vector(this.bb_pos+t),this.bb.__vector_len(this.bb_pos+t)):null}sampleIds(t){let i=this.bb.__offset(this.bb_pos,26);return i?this.bb.readUint32(this.bb.__vector(this.bb_pos+i)+t*4):0}sampleIdsLength(){let t=this.bb.__offset(this.bb_pos,26);return t?this.bb.__vector_len(this.bb_pos+t):0}sampleIdsArray(){let t=this.bb.__offset(this.bb_pos,26);return t?new Uint32Array(this.bb.bytes().buffer,this.bb.bytes().byteOffset+this.bb.__vector(this.bb_pos+t),this.bb.__vector_len(this.bb_pos+t)):null}localTransformIds(t){let i=this.bb.__offset(this.bb_pos,28);return i?this.bb.readUint32(this.bb.__vector(this.bb_pos+i)+t*4):0}localTransformIdsLength(){let t=this.bb.__offset(this.bb_pos,28);return t?this.bb.__vector_len(this.bb_pos+t):0}localTransformIdsArray(){let t=this.bb.__offset(this.bb_pos,28);return t?new Uint32Array(this.bb.bytes().buffer,this.bb.bytes().byteOffset+this.bb.__vector(this.bb_pos+t),this.bb.__vector_len(this.bb_pos+t)):null}globalTransformIds(t){let i=this.bb.__offset(this.bb_pos,30);return i?this.bb.readUint32(this.bb.__vector(this.bb_pos+i)+t*4):0}globalTransformIdsLength(){let t=this.bb.__offset(this.bb_pos,30);return t?this.bb.__vector_len(this.bb_pos+t):0}globalTransformIdsArray(){let t=this.bb.__offset(this.bb_pos,30);return t?new Uint32Array(this.bb.bytes().buffer,this.bb.bytes().byteOffset+this.bb.__vector(this.bb_pos+t),this.bb.__vector_len(this.bb_pos+t)):null}static startMeshes(t){t.startObject(14)}static addCoordinates(t,i){t.addFieldStruct(0,i,0)}static addMeshesItems(t,i){t.addFieldOffset(1,i,0)}static createMeshesItemsVector(t,i){t.startVector(4,i.length,4);for(let n=i.length-1;n>=0;n--)t.addInt32(i[n]);return t.endVector()}static startMeshesItemsVector(t,i){t.startVector(4,i,4)}static addSamples(t,i){t.addFieldOffset(2,i,0)}static startSamplesVector(t,i){t.startVector(16,i,4)}static addRepresentations(t,i){t.addFieldOffset(3,i,0)}static startRepresentationsVector(t,i){t.startVector(32,i,4)}static addMaterials(t,i){t.addFieldOffset(4,i,0)}static startMaterialsVector(t,i){t.startVector(6,i,1)}static addCircleExtrusions(t,i){t.addFieldOffset(5,i,0)}static createCircleExtrusionsVector(t,i){t.startVector(4,i.length,4);for(let n=i.length-1;n>=0;n--)t.addOffset(i[n]);return t.endVector()}static startCircleExtrusionsVector(t,i){t.startVector(4,i,4)}static addShells(t,i){t.addFieldOffset(6,i,0)}static createShellsVector(t,i){t.startVector(4,i.length,4);for(let n=i.length-1;n>=0;n--)t.addOffset(i[n]);return t.endVector()}static startShellsVector(t,i){t.startVector(4,i,4)}static addLocalTransforms(t,i){t.addFieldOffset(7,i,0)}static startLocalTransformsVector(t,i){t.startVector(48,i,8)}static addGlobalTransforms(t,i){t.addFieldOffset(8,i,0)}static startGlobalTransformsVector(t,i){t.startVector(48,i,8)}static addMaterialIds(t,i){t.addFieldOffset(9,i,0)}static createMaterialIdsVector(t,i){t.startVector(4,i.length,4);for(let n=i.length-1;n>=0;n--)t.addInt32(i[n]);return t.endVector()}static startMaterialIdsVector(t,i){t.startVector(4,i,4)}static addRepresentationIds(t,i){t.addFieldOffset(10,i,0)}static createRepresentationIdsVector(t,i){t.startVector(4,i.length,4);for(let n=i.length-1;n>=0;n--)t.addInt32(i[n]);return t.endVector()}static startRepresentationIdsVector(t,i){t.startVector(4,i,4)}static addSampleIds(t,i){t.addFieldOffset(11,i,0)}static createSampleIdsVector(t,i){t.startVector(4,i.length,4);for(let n=i.length-1;n>=0;n--)t.addInt32(i[n]);return t.endVector()}static startSampleIdsVector(t,i){t.startVector(4,i,4)}static addLocalTransformIds(t,i){t.addFieldOffset(12,i,0)}static createLocalTransformIdsVector(t,i){t.startVector(4,i.length,4);for(let n=i.length-1;n>=0;n--)t.addInt32(i[n]);return t.endVector()}static startLocalTransformIdsVector(t,i){t.startVector(4,i,4)}static addGlobalTransformIds(t,i){t.addFieldOffset(13,i,0)}static createGlobalTransformIdsVector(t,i){t.startVector(4,i.length,4);for(let n=i.length-1;n>=0;n--)t.addInt32(i[n]);return t.endVector()}static startGlobalTransformIdsVector(t,i){t.startVector(4,i,4)}static endMeshes(t){let i=t.endObject();return t.requiredField(i,4),t.requiredField(i,6),t.requiredField(i,8),t.requiredField(i,10),t.requiredField(i,12),t.requiredField(i,14),t.requiredField(i,16),t.requiredField(i,18),t.requiredField(i,20),i}static createMeshes(t,i,n,s,o,r,l,d,h,p,I,m,y,T,R){return e.startMeshes(t),e.addCoordinates(t,i),e.addMeshesItems(t,n),e.addSamples(t,s),e.addRepresentations(t,o),e.addMaterials(t,r),e.addCircleExtrusions(t,l),e.addShells(t,d),e.addLocalTransforms(t,h),e.addGlobalTransforms(t,p),e.addMaterialIds(t,I),e.addRepresentationIds(t,m),e.addSampleIds(t,y),e.addLocalTransformIds(t,T),e.addGlobalTransformIds(t,R),e.endMeshes(t)}},ox=class e{constructor(){Ne(this,"bb",null),Ne(this,"bb_pos",0)}__init(t,i){return this.bb_pos=t,this.bb=i,this}static getRootAsRelation(t,i){return(i||new e).__init(t.readInt32(t.position())+t.position(),t)}static getSizePrefixedRootAsRelation(t,i){return t.setPosition(t.position()+XI),(i||new e).__init(t.readInt32(t.position())+t.position(),t)}data(t,i){let n=this.bb.__offset(this.bb_pos,4);return n?this.bb.__string(this.bb.__vector(this.bb_pos+n)+t*4,i):null}dataLength(){let t=this.bb.__offset(this.bb_pos,4);return t?this.bb.__vector_len(this.bb_pos+t):0}static startRelation(t){t.startObject(1)}static addData(t,i){t.addFieldOffset(0,i,0)}static createDataVector(t,i){t.startVector(4,i.length,4);for(let n=i.length-1;n>=0;n--)t.addOffset(i[n]);return t.endVector()}static startDataVector(t,i){t.startVector(4,i,4)}static endRelation(t){let i=t.endObject();return t.requiredField(i,4),i}static createRelation(t,i){return e.startRelation(t),e.addData(t,i),e.endRelation(t)}},oo=class e{constructor(){Ne(this,"bb",null),Ne(this,"bb_pos",0)}__init(t,i){return this.bb_pos=t,this.bb=i,this}static getRootAsSpatialStructure(t,i){return(i||new e).__init(t.readInt32(t.position())+t.position(),t)}static getSizePrefixedRootAsSpatialStructure(t,i){return t.setPosition(t.position()+XI),(i||new e).__init(t.readInt32(t.position())+t.position(),t)}localId(){let t=this.bb.__offset(this.bb_pos,4);return t?this.bb.readUint32(this.bb_pos+t):null}mutate_local_id(t){let i=this.bb.__offset(this.bb_pos,4);return i===0?!1:(this.bb.writeUint32(this.bb_pos+i,t),!0)}category(t){let i=this.bb.__offset(this.bb_pos,6);return i?this.bb.__string(this.bb_pos+i,t):null}children(t,i){let n=this.bb.__offset(this.bb_pos,8);return n?(i||new e).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+n)+t*4),this.bb):null}childrenLength(){let t=this.bb.__offset(this.bb_pos,8);return t?this.bb.__vector_len(this.bb_pos+t):0}static startSpatialStructure(t){t.startObject(3)}static addLocalId(t,i){t.addFieldInt32(0,i,null)}static addCategory(t,i){t.addFieldOffset(1,i,0)}static addChildren(t,i){t.addFieldOffset(2,i,0)}static createChildrenVector(t,i){t.startVector(4,i.length,4);for(let n=i.length-1;n>=0;n--)t.addOffset(i[n]);return t.endVector()}static startChildrenVector(t,i){t.startVector(4,i,4)}static endSpatialStructure(t){return t.endObject()}static createSpatialStructure(t,i,n,s){return e.startSpatialStructure(t),i!==null&&e.addLocalId(t,i),e.addCategory(t,n),e.addChildren(t,s),e.endSpatialStructure(t)}},In=class e{constructor(){Ne(this,"bb",null),Ne(this,"bb_pos",0)}__init(t,i){return this.bb_pos=t,this.bb=i,this}static getRootAsModel(t,i){return(i||new e).__init(t.readInt32(t.position())+t.position(),t)}static getSizePrefixedRootAsModel(t,i){return t.setPosition(t.position()+XI),(i||new e).__init(t.readInt32(t.position())+t.position(),t)}static bufferHasIdentifier(t){return t.__has_identifier("0001")}metadata(t){let i=this.bb.__offset(this.bb_pos,4);return i?this.bb.__string(this.bb_pos+i,t):null}guids(t,i){let n=this.bb.__offset(this.bb_pos,6);return n?this.bb.__string(this.bb.__vector(this.bb_pos+n)+t*4,i):null}guidsLength(){let t=this.bb.__offset(this.bb_pos,6);return t?this.bb.__vector_len(this.bb_pos+t):0}guidsItems(t){let i=this.bb.__offset(this.bb_pos,8);return i?this.bb.readUint32(this.bb.__vector(this.bb_pos+i)+t*4):0}guidsItemsLength(){let t=this.bb.__offset(this.bb_pos,8);return t?this.bb.__vector_len(this.bb_pos+t):0}guidsItemsArray(){let t=this.bb.__offset(this.bb_pos,8);return t?new Uint32Array(this.bb.bytes().buffer,this.bb.bytes().byteOffset+this.bb.__vector(this.bb_pos+t),this.bb.__vector_len(this.bb_pos+t)):null}maxLocalId(){let t=this.bb.__offset(this.bb_pos,10);return t?this.bb.readUint32(this.bb_pos+t):0}mutate_max_local_id(t){let i=this.bb.__offset(this.bb_pos,10);return i===0?!1:(this.bb.writeUint32(this.bb_pos+i,t),!0)}localIds(t){let i=this.bb.__offset(this.bb_pos,12);return i?this.bb.readUint32(this.bb.__vector(this.bb_pos+i)+t*4):0}localIdsLength(){let t=this.bb.__offset(this.bb_pos,12);return t?this.bb.__vector_len(this.bb_pos+t):0}localIdsArray(){let t=this.bb.__offset(this.bb_pos,12);return t?new Uint32Array(this.bb.bytes().buffer,this.bb.bytes().byteOffset+this.bb.__vector(this.bb_pos+t),this.bb.__vector_len(this.bb_pos+t)):null}categories(t,i){let n=this.bb.__offset(this.bb_pos,14);return n?this.bb.__string(this.bb.__vector(this.bb_pos+n)+t*4,i):null}categoriesLength(){let t=this.bb.__offset(this.bb_pos,14);return t?this.bb.__vector_len(this.bb_pos+t):0}meshes(t){let i=this.bb.__offset(this.bb_pos,16);return i?(t||new Ji).__init(this.bb.__indirect(this.bb_pos+i),this.bb):null}attributes(t,i){let n=this.bb.__offset(this.bb_pos,18);return n?(i||new C3).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+n)+t*4),this.bb):null}attributesLength(){let t=this.bb.__offset(this.bb_pos,18);return t?this.bb.__vector_len(this.bb_pos+t):0}relations(t,i){let n=this.bb.__offset(this.bb_pos,20);return n?(i||new ox).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+n)+t*4),this.bb):null}relationsLength(){let t=this.bb.__offset(this.bb_pos,20);return t?this.bb.__vector_len(this.bb_pos+t):0}relationsItems(t){let i=this.bb.__offset(this.bb_pos,22);return i?this.bb.readInt32(this.bb.__vector(this.bb_pos+i)+t*4):0}relationsItemsLength(){let t=this.bb.__offset(this.bb_pos,22);return t?this.bb.__vector_len(this.bb_pos+t):0}relationsItemsArray(){let t=this.bb.__offset(this.bb_pos,22);return t?new Int32Array(this.bb.bytes().buffer,this.bb.bytes().byteOffset+this.bb.__vector(this.bb_pos+t),this.bb.__vector_len(this.bb_pos+t)):null}guid(t){let i=this.bb.__offset(this.bb_pos,24);return i?this.bb.__string(this.bb_pos+i,t):null}spatialStructure(t){let i=this.bb.__offset(this.bb_pos,26);return i?(t||new oo).__init(this.bb.__indirect(this.bb_pos+i),this.bb):null}uniqueAttributes(t,i){let n=this.bb.__offset(this.bb_pos,28);return n?this.bb.__string(this.bb.__vector(this.bb_pos+n)+t*4,i):null}uniqueAttributesLength(){let t=this.bb.__offset(this.bb_pos,28);return t?this.bb.__vector_len(this.bb_pos+t):0}relationNames(t,i){let n=this.bb.__offset(this.bb_pos,30);return n?this.bb.__string(this.bb.__vector(this.bb_pos+n)+t*4,i):null}relationNamesLength(){let t=this.bb.__offset(this.bb_pos,30);return t?this.bb.__vector_len(this.bb_pos+t):0}static startModel(t){t.startObject(14)}static addMetadata(t,i){t.addFieldOffset(0,i,0)}static addGuids(t,i){t.addFieldOffset(1,i,0)}static createGuidsVector(t,i){t.startVector(4,i.length,4);for(let n=i.length-1;n>=0;n--)t.addOffset(i[n]);return t.endVector()}static startGuidsVector(t,i){t.startVector(4,i,4)}static addGuidsItems(t,i){t.addFieldOffset(2,i,0)}static createGuidsItemsVector(t,i){t.startVector(4,i.length,4);for(let n=i.length-1;n>=0;n--)t.addInt32(i[n]);return t.endVector()}static startGuidsItemsVector(t,i){t.startVector(4,i,4)}static addMaxLocalId(t,i){t.addFieldInt32(3,i,0)}static addLocalIds(t,i){t.addFieldOffset(4,i,0)}static createLocalIdsVector(t,i){t.startVector(4,i.length,4);for(let n=i.length-1;n>=0;n--)t.addInt32(i[n]);return t.endVector()}static startLocalIdsVector(t,i){t.startVector(4,i,4)}static addCategories(t,i){t.addFieldOffset(5,i,0)}static createCategoriesVector(t,i){t.startVector(4,i.length,4);for(let n=i.length-1;n>=0;n--)t.addOffset(i[n]);return t.endVector()}static startCategoriesVector(t,i){t.startVector(4,i,4)}static addMeshes(t,i){t.addFieldOffset(6,i,0)}static addAttributes(t,i){t.addFieldOffset(7,i,0)}static createAttributesVector(t,i){t.startVector(4,i.length,4);for(let n=i.length-1;n>=0;n--)t.addOffset(i[n]);return t.endVector()}static startAttributesVector(t,i){t.startVector(4,i,4)}static addRelations(t,i){t.addFieldOffset(8,i,0)}static createRelationsVector(t,i){t.startVector(4,i.length,4);for(let n=i.length-1;n>=0;n--)t.addOffset(i[n]);return t.endVector()}static startRelationsVector(t,i){t.startVector(4,i,4)}static addRelationsItems(t,i){t.addFieldOffset(9,i,0)}static createRelationsItemsVector(t,i){t.startVector(4,i.length,4);for(let n=i.length-1;n>=0;n--)t.addInt32(i[n]);return t.endVector()}static startRelationsItemsVector(t,i){t.startVector(4,i,4)}static addGuid(t,i){t.addFieldOffset(10,i,0)}static addSpatialStructure(t,i){t.addFieldOffset(11,i,0)}static addUniqueAttributes(t,i){t.addFieldOffset(12,i,0)}static createUniqueAttributesVector(t,i){t.startVector(4,i.length,4);for(let n=i.length-1;n>=0;n--)t.addOffset(i[n]);return t.endVector()}static startUniqueAttributesVector(t,i){t.startVector(4,i,4)}static addRelationNames(t,i){t.addFieldOffset(13,i,0)}static createRelationNamesVector(t,i){t.startVector(4,i.length,4);for(let n=i.length-1;n>=0;n--)t.addOffset(i[n]);return t.endVector()}static startRelationNamesVector(t,i){t.startVector(4,i,4)}static endModel(t){let i=t.endObject();return t.requiredField(i,6),t.requiredField(i,8),t.requiredField(i,12),t.requiredField(i,14),t.requiredField(i,16),t.requiredField(i,24),i}static finishModelBuffer(t,i){t.finish(i,"0001")}static finishSizePrefixedModelBuffer(t,i){t.finish(i,"0001",!0)}},g$=(e=>(e[e.ONE=0]="ONE",e[e.TWO=1]="TWO",e))(g$||{}),No=(e=>(e[e.NONE=0]="NONE",e[e.SHELL=1]="SHELL",e[e.CIRCLE_EXTRUSION=2]="CIRCLE_EXTRUSION",e))(No||{});var on=(e=>(e[e.CREATE_MATERIAL=0]="CREATE_MATERIAL",e[e.CREATE_REPRESENTATION=1]="CREATE_REPRESENTATION",e[e.CREATE_SAMPLE=2]="CREATE_SAMPLE",e[e.CREATE_GLOBAL_TRANSFORM=3]="CREATE_GLOBAL_TRANSFORM",e[e.CREATE_LOCAL_TRANSFORM=4]="CREATE_LOCAL_TRANSFORM",e[e.CREATE_ITEM=5]="CREATE_ITEM",e[e.CREATE_RELATION=6]="CREATE_RELATION",e[e.UPDATE_MATERIAL=7]="UPDATE_MATERIAL",e[e.UPDATE_REPRESENTATION=8]="UPDATE_REPRESENTATION",e[e.UPDATE_SAMPLE=9]="UPDATE_SAMPLE",e[e.UPDATE_GLOBAL_TRANSFORM=10]="UPDATE_GLOBAL_TRANSFORM",e[e.UPDATE_LOCAL_TRANSFORM=11]="UPDATE_LOCAL_TRANSFORM",e[e.UPDATE_ITEM=12]="UPDATE_ITEM",e[e.UPDATE_MAX_LOCAL_ID=13]="UPDATE_MAX_LOCAL_ID",e[e.UPDATE_RELATION=14]="UPDATE_RELATION",e[e.UPDATE_METADATA=15]="UPDATE_METADATA",e[e.UPDATE_SPATIAL_STRUCTURE=16]="UPDATE_SPATIAL_STRUCTURE",e[e.DELETE_MATERIAL=17]="DELETE_MATERIAL",e[e.DELETE_REPRESENTATION=18]="DELETE_REPRESENTATION",e[e.DELETE_SAMPLE=19]="DELETE_SAMPLE",e[e.DELETE_GLOBAL_TRANSFORM=20]="DELETE_GLOBAL_TRANSFORM",e[e.DELETE_LOCAL_TRANSFORM=21]="DELETE_LOCAL_TRANSFORM",e[e.DELETE_ITEM=22]="DELETE_ITEM",e[e.DELETE_RELATION=23]="DELETE_RELATION",e))(on||{});function LV(e,t){let i=e.position,n=e.xDirection,s=e.yDirection;return JI.createTransform(t,i[0],i[1],i[2],n[0],n[1],n[2],s[0],s[1],s[2])}function rne(e,t){let i=t.position(),n=t.xDirection(),s=t.yDirection();return JI.createTransform(e,i.x(),i.y(),i.z(),n.x(),n.y(),n.z(),s.x(),s.y(),s.z())}function WPe(e,t){return pc.createFloatVector(e,t.x(),t.y(),t.z())}function lne(e,t){let i=t.type,n=[],s=[],o=[],r=[],l=t.points.length;or.startPointsVector(e,l);for(let R=0;R<l;R++){let b=l-1-R,A=t.points[b];pc.createFloatVector(e,A[0],A[1],A[2])}let d=e.endVector();for(let[,R]of t.profiles){let b=C1.createIndicesVector(e,R),A=C1.createShellProfile(e,b);n.push(A)}let h=or.createProfilesVector(e,n);for(let[R,b]of t.holes)for(let A of b){let O=fE.createIndicesVector(e,A),P=fE.createShellHole(e,O,R);s.push(P)}let p=or.createHolesVector(e,s);for(let[,R]of t.bigProfiles){let b=D1.createIndicesVector(e,R),A=D1.createBigShellProfile(e,b);o.push(A)}let I=or.createBigProfilesVector(e,o);for(let[R,b]of t.bigHoles)for(let A of b){let O=hE.createIndicesVector(e,A),P=hE.createBigShellHole(e,O,R);r.push(P)}let m=or.createBigHolesVector(e,r),y=or.createProfilesFaceIdsVector(e,t.profilesFaceIds);return or.createShell(e,h,p,d,I,m,i,y)}function YPe(e,t){let i=t.type(),n=[],s=[],o=[],r=[],l=t.pointsLength();or.startPointsVector(e,l);for(let P=0;P<l;P++){let U=l-1-P,Z=t.points(U);WPe(e,Z)}let d=e.endVector(),h=t.profilesLength();for(let P=0;P<h;P++){let Z=t.profiles(P).indicesArray(),ne=C1.createIndicesVector(e,Z),K=C1.createShellProfile(e,ne);n.push(K)}let p=or.createProfilesVector(e,n),I=t.holesLength();for(let P=0;P<I;P++){let U=t.holes(P),Z=U.indicesArray(),ne=U.profileId(),K=fE.createIndicesVector(e,Z),oe=fE.createShellHole(e,K,ne);s.push(oe)}let m=or.createHolesVector(e,s),y=t.bigProfilesLength();for(let P=0;P<y;P++){let Z=t.bigProfiles(P).indicesArray(),ne=D1.createIndicesVector(e,Z),K=D1.createBigShellProfile(e,ne);o.push(K)}let T=or.createBigProfilesVector(e,o),R=t.bigHolesLength();for(let P=0;P<R;P++){let U=t.bigHoles(P),Z=U.indicesArray(),ne=U.profileId(),K=hE.createIndicesVector(e,Z),oe=hE.createBigShellHole(e,K,ne);r.push(oe)}let b=or.createBigHolesVector(e,r),A=or.createProfilesFaceIdsVector(e,t.profilesFaceIdsArray()||[]);return or.createShell(e,p,m,d,T,b,i,A)}function jPe(e,t){let i=t.radiusArray(),n=Pl.createRadiusVector(e,i),s=t.axesLength(),o=[];for(let d=0;d<s;d++){let h=t.axes(d),p=h.circleCurvesLength();Ns.startCircleCurvesVector(e,p);for(let U=0;U<p;U++){let Z=p-1-U,ne=h.circleCurves(Z),K=ne.position(),oe=ne.radius(),se=ne.aperture(),he=ne.xDirection(),Re=ne.yDirection(),ee=K.x(),Ae=K.y(),Ee=K.z(),Ce=he.x(),Qe=he.y(),qe=he.z(),St=Re.x(),$e=Re.y(),ke=Re.z();WN.createCircleCurve(e,se,ee,Ae,Ee,oe,Ce,Qe,qe,St,$e,ke)}let I=e.endVector(),m=h.wiresLength();Ns.startWiresVector(e,m);for(let U=0;U<m;U++){let Z=m-1-U,ne=h.wires(Z),K=ne.p1(),oe=ne.p2();sx.createWire(e,K.x(),K.y(),K.z(),oe.x(),oe.y(),oe.z())}let y=e.endVector();Ns.startWireSetsVector(e,0);let T=e.endVector(),R=h.orderArray(),b=Ns.createOrderVector(e,R),A=Array.from(h.partsArray()),O=Ns.createPartsVector(e,A);Ns.startAxis(e),Ns.addCircleCurves(e,I),Ns.addOrder(e,b),Ns.addWires(e,y),Ns.addWireSets(e,T),Ns.addParts(e,O);let P=Ns.endAxis(e);o.push(P)}let r=Pl.createAxesVector(e,o);return Pl.startCircleExtrusion(e),Pl.addAxes(e,r),Pl.addRadius(e,n),Pl.endCircleExtrusion(e)}function ane(e,t){let i=t.radius,n=Pl.createRadiusVector(e,i),s=[];for(let l of t.axes){let d=l.circleCurves.length;Ns.startCircleCurvesVector(e,d);for(let A of l.circleCurves)WN.createCircleCurve(e,A.aperture,A.position[0],A.position[1],A.position[2],A.radius,A.xDirection[0],A.xDirection[1],A.xDirection[2],A.yDirection[0],A.yDirection[1],A.yDirection[2]);let h=e.endVector(),p=l.wires.length;Ns.startWiresVector(e,p);for(let A of l.wires)sx.createWire(e,A[0],A[1],A[2],A[3],A[4],A[5]);let I=e.endVector(),m=[];for(let A of l.wireSets){PS.startPsVector(e,A.length/3);for(let U=0;U<A.length-2;U+=3)pc.createFloatVector(e,A[U],A[U+1],A[U+2]);let O=e.endVector();PS.startWireSet(e),PS.addPs(e,O);let P=PS.endWireSet(e);m.push(P)}let y=Ns.createWireSetsVector(e,m),T=Ns.createOrderVector(e,l.order),R=Ns.createPartsVector(e,l.parts);Ns.startAxis(e),Ns.addCircleCurves(e,h),Ns.addOrder(e,T),Ns.addWires(e,I),Ns.addWireSets(e,y),Ns.addParts(e,R);let b=Ns.endAxis(e);s.push(b)}let o=Pl.createAxesVector(e,s);return Pl.startCircleExtrusion(e),Pl.addAxes(e,o),Pl.addRadius(e,n),Pl.endCircleExtrusion(e)}function bme(e,t){if(!t)return null;let i=t.childrenLength(),n=[];for(let l=0;l<i;l++){let d=t.children(l),h=bme(e,d);h!==null&&n.push(h)}let s=oo.createChildrenVector(e,n),o=t.localId(),r=t.category();if(o!==null)return oo.startSpatialStructure(e),oo.addLocalId(e,o),oo.addChildren(e,s),oo.endSpatialStructure(e);if(r!==null){let l=e.createSharedString(r);return oo.startSpatialStructure(e),oo.addCategory(e,l),oo.addChildren(e,s),oo.endSpatialStructure(e)}throw new Error("Spatial structure must have a local id or a category")}function Nme(e,t){let i=t.children??[],n=i?i.length:0,s=[];for(let d=0;d<n;d++){let h=i[d],p=Nme(e,h);p!==null&&s.push(p)}let o=oo.createChildrenVector(e,s),r=t.localId,l=t.category;if(r!==null)return oo.startSpatialStructure(e),oo.addLocalId(e,r),oo.addChildren(e,o),oo.endSpatialStructure(e);if(l!==null){let d=e.createSharedString(l);return oo.startSpatialStructure(e),oo.addCategory(e,d),oo.addChildren(e,o),oo.endSpatialStructure(e)}throw new Error("Spatial structure must have a local id or a category")}function une(e,t,i,n,s,o){if(!t.has(i))throw new Error("Invalid sample: item id not found");if(!t.has(n))throw new Error("Invalid sample: mat id not found");if(!t.has(s))throw new Error("Invalid sample: repr id not found");if(!t.has(o))throw new Error("Invalid sample: lt id not found");let r=t.get(i),l=t.get(n),d=t.get(s),h=t.get(o);jN.createSample(e,r,l,d,h)}function qPe(e,t){let i=new Set,n=new Set,s=new Set,o=new Set,r=new Set,l=new Set,d=new Set,h=new Set,p=!1,I=0,m=0,y=0,T=0,R=0,b=0,A=0,O=new Set,P=new Set,U=new Set,Z=new Set,ne=new Set,K=new Set,oe=new Set,se=e.meshes(),he=new Set(se.globalTransformIdsArray()),Re=new Set(se.localTransformIdsArray()),ee=new Set(se.materialIdsArray()),Ae=new Set(se.representationIdsArray()),Ee=new Set(e.localIdsArray()),Ce=new Set(se.sampleIdsArray()),Qe=new Set;for(let ke of t){if(ke.type===on.CREATE_SAMPLE&&(p=!0),ke.type===on.UPDATE_LOCAL_TRANSFORM){s.add(ke.localId);continue}if(ke.type===on.UPDATE_MATERIAL){r.add(ke.localId);continue}if(ke.type===on.UPDATE_REPRESENTATION){l.add(ke.localId);continue}if(ke.type===on.UPDATE_ITEM){i.add(ke.localId);continue}if(ke.type===on.CREATE_GLOBAL_TRANSFORM){Ee.has(ke.data.itemId)&&i.add(ke.data.itemId);continue}if(ke.type===on.UPDATE_GLOBAL_TRANSFORM){n.add(ke.localId),Ee.has(ke.data.itemId)&&i.add(ke.data.itemId);continue}if(ke.type===on.UPDATE_SAMPLE){Qe.has(ke.localId)||o.add(ke.localId),he.has(ke.data.item)&&n.add(ke.data.item),Re.has(ke.data.localTransform)&&U.add(ke.data.localTransform),ee.has(ke.data.material)&&Z.add(ke.data.material),Ae.has(ke.data.representation)&&ne.add(ke.data.representation);continue}if(ke.type===on.CREATE_SAMPLE){Qe.add(ke.localId),he.has(ke.data.item)&&n.add(ke.data.item),Re.has(ke.data.localTransform)&&U.add(ke.data.localTransform),ee.has(ke.data.material)&&Z.add(ke.data.material),Ae.has(ke.data.representation)&&ne.add(ke.data.representation);continue}}let qe=new Set;for(let ke of t){if(ke.type===on.DELETE_GLOBAL_TRANSFORM){n.delete(ke.localId),he.has(ke.localId)||I++;continue}if(ke.type===on.DELETE_LOCAL_TRANSFORM){s.delete(ke.localId),Re.has(ke.localId)||m++;continue}if(ke.type===on.DELETE_SAMPLE){o.delete(ke.localId),O.add(ke.localId),Ce.has(ke.localId)||y++;continue}if(ke.type===on.DELETE_MATERIAL){r.delete(ke.localId),ee.has(ke.localId)||T++;continue}if(ke.type===on.DELETE_REPRESENTATION){l.delete(ke.localId),qe.add(ke.localId),Ae.has(ke.localId)||R++;continue}if(ke.type===on.DELETE_ITEM){i.delete(ke.localId);continue}}let St=Hs.getRepresentations(e,qe);for(let[ke,It]of St)if(!Ae.has(ke))if(It.representationClass===No.SHELL)b++;else if(It.representationClass===No.CIRCLE_EXTRUSION)A++;else throw new Error("Unsupported representation class");for(let ke of t)if(ke.type===on.CREATE_REPRESENTATION&&qe.has(ke.localId))if(ke.data.representationClass===No.SHELL)b++;else if(ke.data.representationClass===No.CIRCLE_EXTRUSION)A++;else throw new Error("Unsupported representation class");for(let ke=0;ke<se.samplesLength();ke++){let It=se.samples(ke),ft=It.item(),Dt=It.localTransform(),Zt=It.material(),Ct=It.representation(),Ut=se.globalTransformIds(ft),ii=se.localTransformIds(Dt),Vt=se.materialIds(Zt),Kt=se.representationIds(Ct),ui=se.meshesItems(ft),jt=e.localIds(ui);(n.has(Ut)||s.has(ii)||r.has(Vt)||l.has(Kt)||i.has(jt))&&Ee.has(jt)&&i.add(jt)}for(let ke=0;ke<se.samplesLength();ke++){let It=se.sampleIds(ke);if(O.has(It))continue;let ft=se.samples(ke),Dt=ft.item(),Zt=ft.localTransform(),Ct=ft.material(),Ut=ft.representation(),ii=se.globalTransformIds(Dt),Vt=se.localTransformIds(Zt),Kt=se.materialIds(Ct),ui=se.representationIds(Ut),jt=se.meshesItems(Dt),Oe=e.localIds(jt);(n.has(ii)||s.has(Vt)||r.has(Kt)||l.has(ui)||i.has(Oe))&&(he.has(ii)&&P.add(ii),Re.has(Vt)&&U.add(Vt),ee.has(Kt)&&Z.add(Kt),Ae.has(ui)&&ne.add(ui),Ee.has(Oe)&&oe.add(Oe),K.add(It))}he.clear(),Re.clear(),ee.clear(),Ae.clear(),Ee.clear(),Ce.clear();for(let ke of P)n.add(ke);for(let ke of U)s.add(ke);for(let ke of Z)r.add(ke);for(let ke of ne)l.add(ke);for(let ke of K)o.add(ke);for(let ke of oe)i.add(ke);P.clear(),U.clear(),Z.clear(),ne.clear(),K.clear(),oe.clear();let $e=Hs.getGeometryIndicesFromRepresentations(e,l);for(let ke of $e.shellsIndices)d.add(ke);for(let ke of $e.rebarsIndices)h.add(ke);return{itemIds:i,globalTranforms:n,localTransforms:s,samples:o,materials:r,representations:l,shells:d,circleExtrusions:h,detaDeletedGts:I,detaDeletedLts:m,detaDeletedSamples:y,detaDeletedMaterials:T,detaDeletedRepresentations:R,detaDeletedShells:b,detaDeletedCircleExtrusions:A,createNewSample:p}}function _me(e){let t=new jV(1024);Ji.startGlobalTransformsVector(t,0);let i=t.endVector(),n=Ji.createShellsVector(t,[]);Ji.startRepresentationsVector(t,0);let s=t.endVector();Ji.startSamplesVector(t,0);let o=t.endVector();Ji.startLocalTransformsVector(t,0);let r=t.endVector();Ji.startMaterialsVector(t,0);let l=t.endVector(),d=Ji.createCircleExtrusionsVector(t,[]),h=Ji.createMeshesItemsVector(t,[]),p=Ji.createRepresentationIdsVector(t,[]),I=Ji.createSampleIdsVector(t,[]),m=Ji.createMaterialIdsVector(t,[]),y=Ji.createLocalTransformIdsVector(t,[]),T=Ji.createGlobalTransformIdsVector(t,[]);Ji.startMeshes(t);let R=LV({position:[0,0,0],xDirection:[1,0,0],yDirection:[0,1,0]},t);Ji.addCoordinates(t,R),Ji.addGlobalTransforms(t,i),Ji.addShells(t,n),Ji.addRepresentations(t,s),Ji.addSamples(t,o),Ji.addLocalTransforms(t,r),Ji.addMaterials(t,l),Ji.addCircleExtrusions(t,d),Ji.addMeshesItems(t,h),Ji.addRepresentationIds(t,p),Ji.addSampleIds(t,I),Ji.addMaterialIds(t,m),Ji.addLocalTransformIds(t,y),Ji.addGlobalTransformIds(t,T);let b=Ji.endMeshes(t),A=t.createString("{}"),O=In.createAttributesVector(t,[]),P=In.createUniqueAttributesVector(t,[]),U=In.createRelationNamesVector(t,[]),Z=In.createLocalIdsVector(t,[]),ne=In.createCategoriesVector(t,[]),K=In.createRelationsItemsVector(t,[]),oe=In.createRelationsVector(t,[]),se=In.createGuidsItemsVector(t,[]),he=In.createGuidsVector(t,[]),Re=t.createString(cr.generateUUID());In.startModel(t),In.addMeshes(t,b),In.addMetadata(t,A),In.addAttributes(t,O),In.addUniqueAttributes(t,P),In.addRelationNames(t,U),In.addLocalIds(t,Z),In.addCategories(t,ne),In.addRelationsItems(t,K),In.addRelations(t,oe),In.addGuidsItems(t,se),In.addGuids(t,he),In.addGuid(t,Re),In.addMaxLocalId(t,1);let ee=In.endModel(t);t.finish(ee);let Ae=t.asUint8Array();return t.clear(),e.raw?Ae:T$.deflate(Ae)}function UIe(e,t,i,n,s){for(let o of e)(o.type===on.UPDATE_SAMPLE||o.type===on.DELETE_SAMPLE)&&t.add(o.localId);for(let o=0;o<i.sampleIdsLength();o++){let r=i.sampleIds(o);if(t.has(r)){let d=i.samples(o).item(),h=i.meshesItems(d),p=n.localIds(h);s.add(p)}}}function $Pe(e,t,i){let n=e.meshes(),s=i?.raw??!1,o=i?.delta??!1,r=new Set,l=new Set,d=new Set,h=new Set,p=new Set,I=new Set,m=new Set,y=new Set,T=0,R=0,b=0,A=0,O=0,P=0,U=0;if(o){let bt=qPe(e,t);if(r=bt.itemIds,l=bt.globalTranforms,d=bt.localTransforms,h=bt.samples,p=bt.materials,I=bt.representations,m=bt.shells,y=bt.circleExtrusions,T=bt.detaDeletedGts,R=bt.detaDeletedLts,b=bt.detaDeletedSamples,A=bt.detaDeletedMaterials,O=bt.detaDeletedRepresentations,P=bt.detaDeletedShells,U=bt.detaDeletedCircleExtrusions,!bt.createNewSample&&r.size===0&&l.size===0&&d.size===0&&h.size===0&&p.size===0&&I.size===0&&m.size===0&&y.size===0){let zi=new Set;return UIe(t,new Set,n,e,zi),{model:_me({raw:s}),items:Array.from(zi)}}}let Z=new Map,ne=new Map,K=new Map,oe=new Map,se=new Map,he=new Map,Re=new Map,ee=new Map,Ae=new Map,Ee=null,Ce=null,Qe=new Map,qe=new Map,St=new Map,$e=new Map,ke=new Map,It=new Map,ft=new Map,Dt=new Map,Zt=new Map,Ct=new Set,Ut=new Set,ii=new Set,Vt=new Set,Kt=new Set,ui=new Set,jt=new Set,Oe=new Set,Ft=new Set,ge=new Set(n.materialIdsArray()),Ue=new Set(n.representationIdsArray()),Pe=new Set(n.sampleIdsArray()),Me=new Set(n.globalTransformIdsArray()),ze=new Set(n.localTransformIdsArray()),pt=new Set(e.localIdsArray()),He=e.maxLocalId();for(let bt of t){if(bt.type===on.UPDATE_MATERIAL){Z.set(bt.localId,bt.data);continue}if(bt.type===on.UPDATE_REPRESENTATION){ne.set(bt.localId,bt.data);continue}if(bt.type===on.UPDATE_SAMPLE){K.set(bt.localId,bt.data);continue}if(bt.type===on.UPDATE_GLOBAL_TRANSFORM){oe.set(bt.localId,bt.data);continue}if(bt.type===on.UPDATE_LOCAL_TRANSFORM){se.set(bt.localId,bt.data);continue}if(bt.type===on.UPDATE_ITEM){ee.set(bt.localId,bt.data);continue}if(bt.type===on.UPDATE_RELATION){Ae.set(bt.localId,bt.data);continue}if(bt.type===on.UPDATE_METADATA){Ee=bt.data;continue}if(bt.type===on.UPDATE_SPATIAL_STRUCTURE){Ce=bt.data;continue}if(bt.type===on.CREATE_MATERIAL){let vi=bt.localId;if(ge.has(vi))continue;Qe.set(vi,bt.data);continue}if(bt.type===on.CREATE_REPRESENTATION){let vi=bt.localId;if(Ue.has(vi))continue;qe.set(vi,bt.data),bt.data.representationClass===No.SHELL?St.set(vi,bt.data.geometry):bt.data.representationClass===No.CIRCLE_EXTRUSION&&$e.set(vi,bt.data.geometry);continue}if(bt.type===on.CREATE_SAMPLE){let vi=bt.localId;if(Pe.has(vi))continue;ke.set(vi,bt.data);continue}if(bt.type===on.CREATE_GLOBAL_TRANSFORM){let vi=bt.localId;if(Me.has(vi))continue;It.set(vi,bt.data);continue}if(bt.type===on.CREATE_LOCAL_TRANSFORM){let vi=bt.localId;if(ze.has(vi))continue;ft.set(vi,bt.data);continue}if(bt.type===on.CREATE_ITEM){let vi=bt.localId;if(pt.has(vi))continue;Dt.set(vi,bt.data)}if(bt.type===on.CREATE_RELATION){let vi=bt.localId;Zt.set(vi,bt.data)}if(bt.type===on.DELETE_MATERIAL){Ct.add(bt.localId);continue}if(bt.type===on.DELETE_REPRESENTATION){ii.add(bt.localId);continue}if(bt.type===on.DELETE_SAMPLE){Ut.add(bt.localId);continue}if(bt.type===on.DELETE_GLOBAL_TRANSFORM){ui.add(bt.localId);continue}if(bt.type===on.DELETE_LOCAL_TRANSFORM){jt.add(bt.localId);continue}if(bt.type===on.DELETE_ITEM){Oe.add(bt.localId);continue}if(bt.type===on.UPDATE_MAX_LOCAL_ID){He=bt.localId;continue}if(bt.type===on.DELETE_RELATION){Ft.add(bt.localId);continue}}for(let bt=0;bt<n.representationsLength();bt++){let vi=n.representations(bt),zi=vi.id(),Rn=n.representationIds(bt);if(o&&!I.has(Rn))continue;if(ii.has(Rn)){if(vi.representationClass()===No.SHELL)Vt.add(zi);else if(vi.representationClass()===No.CIRCLE_EXTRUSION)Kt.add(zi);else throw new Error("Representation class is not supported");continue}if(!ne.has(Rn))continue;let _n=vi.representationClass();if(_n===No.SHELL)he.set(zi,Rn);else if(_n===No.CIRCLE_EXTRUSION)Re.set(zi,Rn);else throw new Error("Representation class is not supported")}ge.clear(),Ue.clear(),Pe.clear(),Me.clear(),ze.clear(),pt.clear();let At=n.materialsLength(),Tt=o?p.size:At,Lt=o?A:Ct.size,Ht=Tt+Qe.size-Lt,ri=n.representationsLength(),Xe=o?I.size:ri,We=o?O:ii.size,Mt=0;if(o)for(let[bt]of qe)I.has(bt)&&Mt++;let si=Xe+qe.size-We-Mt,gi=n.shellsLength(),mi=o?m.size:gi,bi=o?P:Vt.size,Qt=mi+St.size-bi,di=n.circleExtrusionsLength(),Wi=o?y.size:di,ki=o?U:Kt.size,Pi=Wi+$e.size-ki,Di=n.samplesLength(),dn=o?h.size:Di,Ln=o?b:Ut.size,Zi=dn+ke.size-Ln,kt=n.globalTransformsLength(),Gi=o?l.size:kt,wi=o?T:ui.size,Qi=Gi+It.size-wi,Fi=n.localTransformsLength(),Ci=o?d.size:Fi,cn=o?R:jt.size,Un=Ci+ft.size-cn;if(Qi<0||si<0||Zi<0||Un<0||Ht<0||Qt<0||Pi<0)throw new Error("Invalid number of elements");let hn=new Map,Rs=[],Wo=[],Io=[],ao=[],Ma=[],Yn=[],wu=[],mo=0;for(let bt=0;bt<n.globalTransformsLength();bt++){let vi=n.globalTransformIds(bt);if(!ui.has(vi)&&!(o&&!l.has(vi))){if(hn.has(vi))throw new Error("Local id already exists");hn.set(vi,mo++),ao.push(vi)}}for(let[bt]of It)if(!ui.has(bt)){if(hn.has(bt))throw new Error("Local id already exists");hn.set(bt,mo++),ao.push(bt)}let Ia=0;for(let bt=0;bt<n.materialIdsLength();bt++){let vi=n.materialIds(bt);if(!Ct.has(vi)&&!(o&&!p.has(vi))){if(hn.has(vi))throw new Error("Local id already exists");hn.set(vi,Ia++),Rs.push(vi)}}for(let[bt]of Qe)if(!Ct.has(bt)){if(hn.has(bt))throw new Error("Local id already exists");hn.set(bt,Ia++),Rs.push(bt)}let Er=0;for(let bt=0;bt<n.localTransformIdsLength();bt++){let vi=n.localTransformIds(bt);if(!jt.has(vi)&&!(o&&!d.has(vi))){if(hn.has(vi))throw new Error("Local id already exists");hn.set(vi,Er++),Yn.push(vi)}}for(let[bt]of ft)if(!jt.has(bt)){if(hn.has(bt))throw new Error("Local id already exists");hn.set(bt,Er++),Yn.push(bt)}let Vl=0;for(let bt=0;bt<n.representationIdsLength();bt++){let vi=n.representationIds(bt);if(!ii.has(vi)&&!(o&&!I.has(vi))){if(hn.has(vi))throw new Error("Local id already exists");hn.set(vi,Vl++),Wo.push(vi)}}for(let[bt]of qe)if(!ii.has(bt)){if(hn.has(bt))throw new Error("Local id already exists");hn.set(bt,Vl++),Wo.push(bt)}for(let bt=0;bt<n.sampleIdsLength();bt++){let vi=n.sampleIds(bt);Ut.has(vi)||o&&!h.has(vi)||Io.push(vi)}for(let[bt]of ke)Ut.has(bt)||Io.push(bt);let Nr=0;for(let bt=0;bt<e.localIdsLength();bt++){let vi=e.localIds(bt);Oe.has(vi)||o&&!r.has(vi)||(hn.set(vi,Nr++),wu.push(vi))}for(let[bt]of Dt)Oe.has(bt)||(hn.set(bt,Nr++),wu.push(bt));let Ni=new jV(1024);Ji.startGlobalTransformsVector(Ni,Qi);let _r=Array.from(It.keys());for(let bt=0;bt<_r.length;bt++){let vi=_r.length-1-bt,zi=_r[vi],_n=oe.has(zi)?oe.get(zi):It.get(zi);if(!_n)throw new Error(`Global transform not found: ${zi}`);if(ui.has(zi))continue;let Cn=_n.itemId;if(!hn.has(Cn))throw new Error("Item id not found for global transform");let Wn=hn.get(Cn);Ma.unshift(Wn),LV(_n,Ni)}_r.length=0;for(let bt=0;bt<kt;bt++){let vi=kt-1-bt,zi=n.globalTransforms(vi),Rn=n.globalTransformIds(vi);if(ui.has(Rn)||o&&!l.has(Rn))continue;if(oe.has(Rn)){let Cn=oe.get(Rn),Wn=Cn.itemId;if(!hn.has(Wn))throw new Error(`Item id not found for global transform: ${Rn}`);let An=hn.get(Wn);Ma.unshift(An),LV(Cn,Ni)}else{let Cn=n.meshesItems(vi),Wn=e.localIds(Cn);if(!hn.has(Wn))throw new Error(`Item id not found for global transform: ${Rn}`);let An=hn.get(Wn);Ma.unshift(An),rne(Ni,zi)}}let Hc=Ni.endVector(),Dr=[];for(let bt=0;bt<gi;bt++){if(Vt.has(bt)||o&&!m.has(bt))continue;if(he.has(bt)){let Rn=he.get(bt),Cn=ne.get(Rn).geometry,Wn=lne(Ni,Cn);Dr.push(Wn);continue}let vi=n.shells(bt),zi=YPe(Ni,vi);Dr.push(zi)}for(let[bt]of St){if(ii.has(bt))continue;let vi=ne.has(bt),zi=0;if(vi){let _n=ne.get(bt).geometry;zi=lne(Ni,_n)}else{let Rn=St.get(bt);zi=lne(Ni,Rn)}Dr.push(zi)}let ma=Ji.createShellsVector(Ni,Dr),A0=[];for(let bt=0;bt<di;bt++){if(Kt.has(bt)||o&&!y.has(bt))continue;if(Re.has(bt)){let Rn=Re.get(bt),Cn=ne.get(Rn).geometry,Wn=ane(Ni,Cn);A0.push(Wn);continue}let vi=n.circleExtrusions(bt),zi=jPe(Ni,vi);A0.push(zi)}for(let[bt]of $e){if(Kt.has(bt))continue;let vi=ne.has(bt),zi=0;if(vi){let _n=ne.get(bt).geometry;zi=ane(Ni,_n)}else{let Rn=$e.get(bt);zi=ane(Ni,Rn)}A0.push(zi)}let Gc=Ji.createCircleExtrusionsVector(Ni,A0);Ji.startRepresentationsVector(Ni,si);let Vc=Array.from(qe.keys()),yo=Qt-1,vu=Pi-1;for(let bt=0;bt<Vc.length;bt++){let vi=Vc.length-1-bt,zi=Vc[vi];if(ii.has(zi))continue;let _n=ne.has(zi)?ne.get(zi):qe.get(zi);if(!_n)throw new Error(`Representation not found: ${zi}`);let Cn=_n.bbox,Wn=_n.representationClass,An=0;if(_n.representationClass===No.SHELL)An=yo--;else if(_n.representationClass===No.CIRCLE_EXTRUSION)An=vu--;else throw new Error("Representation class is not supported");cE.createRepresentation(Ni,An,Cn[0],Cn[1],Cn[2],Cn[3],Cn[4],Cn[5],Wn)}Vc.length=0;for(let bt=0;bt<ri;bt++){let vi=ri-1-bt,zi=n.representations(vi),Rn=n.representationIds(vi);if(ii.has(Rn)||o&&!I.has(Rn))continue;if(ne.has(Rn)){let Cn=ne.get(Rn),Wn=Cn.bbox,An=0;if(Cn.representationClass===No.SHELL)An=yo--;else if(Cn.representationClass===No.CIRCLE_EXTRUSION)An=vu--;else throw new Error("Representation class is not supported");let js=Cn.representationClass;cE.createRepresentation(Ni,An,Wn[0],Wn[1],Wn[2],Wn[3],Wn[4],Wn[5],js)}else{let Cn=zi.bbox(),Wn=0;if(zi.representationClass()===No.SHELL)Wn=yo--;else if(zi.representationClass()===No.CIRCLE_EXTRUSION)Wn=vu--;else throw new Error("Representation class is not supported");let An=zi.representationClass(),js=Cn.min(),Uo=Cn.max();cE.createRepresentation(Ni,Wn,js.x(),js.y(),js.z(),Uo.x(),Uo.y(),Uo.z(),An)}}let Es=Ni.endVector();Ji.startSamplesVector(Ni,Zi);let ht=Array.from(ke.keys());for(let bt=0;bt<ht.length;bt++){let vi=ht.length-1-bt,zi=ht[vi];if(Ut.has(zi))continue;let _n=K.has(zi)?K.get(zi):ke.get(zi);if(!_n)throw new Error(`Sample not found: ${zi}`);if(Ct.has(_n.material))throw new Error(`Material to delete found in sample ${zi}`);if(ii.has(_n.representation))throw new Error(`Representation to delete found in sample ${zi}`);let Cn=_n.item,Wn=_n.material,An=_n.representation,js=_n.localTransform;une(Ni,hn,Cn,Wn,An,js)}ht.length=0;for(let bt=0;bt<Di;bt++){let vi=Di-1-bt,zi=n.samples(vi),Rn=n.sampleIds(vi);if(Ut.has(Rn)||o&&!h.has(Rn))continue;if(K.has(Rn)){let Uo=K.get(Rn),Yo=Uo.item,ya=Uo.material,D0=Uo.representation,ep=Uo.localTransform;une(Ni,hn,Yo,ya,D0,ep);continue}let Cn=n.globalTransformIds(zi.item()),Wn=n.materialIds(zi.material()),An=n.representationIds(zi.representation()),js=n.localTransformIds(zi.localTransform());if(Ct.has(Wn))throw new Error(`Material to delete found in sample ${Rn}`);une(Ni,hn,Cn,Wn,An,js)}let qt=Ni.endVector();Ji.startLocalTransformsVector(Ni,Un);let ni=Array.from(ft.keys());for(let bt=0;bt<ni.length;bt++){let vi=ni.length-1-bt,zi=ni[vi];if(jt.has(zi))continue;let _n=se.has(zi)?se.get(zi):ft.get(zi);if(!_n)throw new Error(`Local transform not found: ${zi}`);LV(_n,Ni)}ni.length=0;for(let bt=0;bt<Fi;bt++){let vi=Fi-1-bt,zi=n.localTransforms(vi),Rn=n.localTransformIds(vi),_n=se.has(Rn);if(!jt.has(Rn)&&!(o&&!d.has(Rn)))if(_n){let Cn=se.get(Rn);LV(Cn,Ni)}else rne(Ni,zi)}let ei=Ni.endVector();Ji.startMaterialsVector(Ni,Ht);let Xt=Array.from(Qe.keys());for(let bt=0;bt<Xt.length;bt++){let vi=Xt.length-1-bt,zi=Xt[vi];if(Ct.has(zi))continue;let _n=Z.has(zi)?Z.get(zi):Qe.get(zi);if(!_n)throw new Error(`Material not found: ${zi}`);let Cn=_n.r,Wn=_n.g,An=_n.b,js=_n.a,Uo=_n.stroke,Yo=_n.renderedFaces;YN.createMaterial(Ni,Cn,Wn,An,js,Yo,Uo)}Xt.length=0;for(let bt=0;bt<At;bt++){let vi=At-1-bt,zi=n.materials(vi),Rn=n.materialIds(vi);if(Ct.has(Rn)||o&&!p.has(Rn))continue;let _n=Z.has(Rn),Cn=Z.get(Rn),Wn=_n?Cn.r:zi.r(),An=_n?Cn.g:zi.g(),js=_n?Cn.b:zi.b(),Uo=_n?Cn.a:zi.a(),Yo=_n?Cn.stroke:zi.stroke(),ya=_n?Cn.renderedFaces:zi.renderedFaces();YN.createMaterial(Ni,Wn,An,js,Uo,ya,Yo)}let ji=Ni.endVector(),rn=Ji.createMeshesItemsVector(Ni,Ma),Ki=Ji.createRepresentationIdsVector(Ni,Wo),fn=Ji.createSampleIdsVector(Ni,Io),En=Ji.createMaterialIdsVector(Ni,Rs),zn=Ji.createLocalTransformIdsVector(Ni,Yn),Vn=Ji.createGlobalTransformIdsVector(Ni,ao);Ji.startMeshes(Ni);let wn=n.coordinates(),Ds=rne(Ni,wn);Ji.addCoordinates(Ni,Ds),Ji.addGlobalTransforms(Ni,Hc),Ji.addShells(Ni,ma),Ji.addRepresentations(Ni,Es),Ji.addSamples(Ni,qt),Ji.addLocalTransforms(Ni,ei),Ji.addMaterials(Ni,ji),Ji.addCircleExtrusions(Ni,Gc),Ji.addMeshesItems(Ni,rn),Ji.addRepresentationIds(Ni,Ki),Ji.addSampleIds(Ni,fn),Ji.addMaterialIds(Ni,En),Ji.addLocalTransformIds(Ni,zn),Ji.addGlobalTransformIds(Ni,Vn);let Ws=Ji.endMeshes(Ni),Ys;if(Ee){let bt=JSON.stringify(Ee);Ys=Ni.createString(bt)}else{let bt=e.metadata();Ys=Ni.createString(bt)}let hs=e.attributesLength(),uo=[],sn=new Set,eo=[],Xn=[],Do=[],lr=new Map;for(let bt=0;bt<e.guidsItemsLength();bt++){let vi=e.guidsItems(bt);lr.set(vi,bt)}for(let bt=0;bt<hs;bt++){let vi=e.localIds(bt);if(Oe.has(vi))continue;let zi=e.attributes(bt),Rn=[];if(ee.has(vi)){let An=ee.get(vi);eo.push(Ni.createSharedString(An.category)),An.guid&&(Xn.push(Ni.createSharedString(An.guid)),Do.push(vi));for(let js in An.data){let{value:Uo,type:Yo}=An.data[js],ya=JSON.stringify([js,Uo,Yo]);sn.add(ya);let D0=Ni.createSharedString(ya);Rn.push(D0)}}else{let An=e.categories(bt);eo.push(Ni.createSharedString(An));let js=lr.get(vi);if(js!==void 0){let Yo=e.guids(js);Xn.push(Ni.createSharedString(Yo)),Do.push(vi)}let Uo=zi.dataLength();for(let Yo=0;Yo<Uo;Yo++){let ya=zi.data(Yo);sn.add(ya);let D0=Ni.createSharedString(ya);Rn.push(D0)}}let Cn=C3.createDataVector(Ni,Rn),Wn=C3.createAttribute(Ni,Cn);uo.push(Wn)}for(let[bt,vi]of Dt){if(Oe.has(bt))continue;eo.push(Ni.createSharedString(vi.category)),vi.guid&&(console.log(vi.guid),Xn.push(Ni.createSharedString(vi.guid)),Do.push(bt));let zi=[];for(let Cn in vi.data){let{value:Wn,type:An}=vi.data[Cn],js=JSON.stringify([Cn,Wn,An]);sn.add(js);let Uo=Ni.createSharedString(js);zi.push(Uo)}let Rn=C3.createDataVector(Ni,zi),_n=C3.createAttribute(Ni,Rn);uo.push(_n)}let Bo=In.createAttributesVector(Ni,uo),Fo=[];for(let bt of sn){let vi=Ni.createSharedString(bt);Fo.push(vi)}let rs=In.createUniqueAttributesVector(Ni,Fo),Ts=e.relationNamesLength(),ls=[];for(let bt=0;bt<Ts;bt++){let vi=e.relationNames(bt),zi=Ni.createSharedString(vi);ls.push(zi)}let Ss=In.createRelationNamesVector(Ni,ls),Tr=In.createLocalIdsVector(Ni,wu),hr=In.createCategoriesVector(Ni,eo),b0=[],N0=[],th=new Set,kc=e.relationsItemsLength(),Jh=bt=>{let vi=[];for(let _n in bt.data){let Wn=bt.data[_n].filter(js=>!Oe.has(js));if(!Wn.length)continue;let An=Ni.createSharedString(JSON.stringify([_n,...Wn]));vi.push(An)}let zi=ox.createDataVector(Ni,vi),Rn=ox.createRelation(Ni,zi);b0.push(Rn)};for(let bt=0;bt<kc;bt++){let vi=e.relationsItems(bt);if(th.add(vi),Oe.has(vi)||Ft.has(vi)||!hn.has(vi))continue;let zi;if(Ae.has(vi))zi=Ae.get(vi);else{let Rn=e.relations(bt);zi=Hs.getRelationData(Rn)}Jh(zi),N0.push(vi)}for(let[bt,vi]of Zt){if(Oe.has(bt)||Ft.has(bt)||th.has(bt))continue;let zi;Ae.has(bt)?zi=Ae.get(bt):zi=vi,Jh(zi),N0.push(bt)}th.clear();let Xh=In.createRelationsVector(Ni,b0),ih=In.createRelationsItemsVector(Ni,N0),nh=In.createGuidsItemsVector(Ni,Do),pI=In.createGuidsVector(Ni,Xn),_0=null;if(Ce)_0=Nme(Ni,Ce);else{let bt=e.spatialStructure();_0=bme(Ni,bt)}let to=e.guid(),Jf=Ni.createString(to);In.startModel(Ni),In.addMeshes(Ni,Ws),In.addMetadata(Ni,Ys),In.addAttributes(Ni,Bo),In.addUniqueAttributes(Ni,rs),In.addRelationNames(Ni,Ss),In.addLocalIds(Ni,Tr),In.addCategories(Ni,hr),In.addRelationsItems(Ni,ih),In.addRelations(Ni,Xh),In.addGuidsItems(Ni,nh),In.addGuids(Ni,pI),_0!==null&&In.addSpatialStructure(Ni,_0),In.addGuid(Ni,Jf),In.addMaxLocalId(Ni,He);let io=In.endModel(Ni);Ni.finish(io);let sh=Ni.asUint8Array();Ni.clear();let U1=s?sh:T$.deflate(sh),ef=new Set(wu),Xf=new Set(Io);return UIe(t,Xf,n,e,ef),{model:U1,items:Array.from(ef)}}var Rne="-DELTA-MODEL-";function ZPe(e){return e.includes(Rne)?e.substring(0,e.indexOf(Rne)):e}function KPe(e,t){let i=new YV(t?e:T$.inflate(e));return In.getRootAsModel(i)}function Dme(e){return{item:e.item(),localTransform:e.localTransform(),material:e.material(),representation:e.representation()}}function tk(e){let t=e.position(),i=e.xDirection(),n=e.yDirection();return{position:[t.x(),t.y(),t.z()],xDirection:[i.x(),i.y(),i.z()],yDirection:[n.x(),n.y(),n.z()]}}function QPe(e){let t={data:{}},i=e.dataLength();for(let n=0;n<i;n++){let s=e.data(n),[o,...r]=JSON.parse(s);t.data[o]=r}return t}function ioe(e){return{r:e.r(),g:e.g(),b:e.b(),a:e.a(),renderedFaces:e.renderedFaces(),stroke:e.stroke()}}function w$(e){let t=e.bbox(),i=t.min(),n=t.max();return{id:e.id(),bbox:[i.x(),i.y(),i.z(),n.x(),n.y(),n.z()],representationClass:e.representationClass()}}function noe(e){let t=[];for(let l=0;l<e.pointsLength();l++){let d=e.points(l);t.push([d.x(),d.y(),d.z()])}let i=new Map;for(let l=0;l<e.profilesLength();l++){let d=e.profiles(l),h=Array.from(d.indicesArray()||[]);i.set(l,h)}let n=new Map;for(let l=0;l<e.holesLength();l++){let d=e.holes(l),h=Array.from(d.indicesArray()||[]),p=d.profileId();n.has(p)||n.set(p,[]),n.get(p).push(h)}let s=new Map;for(let l=0;l<e.bigProfilesLength();l++){let d=e.bigProfiles(l),h=Array.from(d.indicesArray()||[]);s.set(l,h)}let o=new Map;for(let l=0;l<e.bigHolesLength();l++){let d=e.bigHoles(l),h=Array.from(d.indicesArray()||[]),p=d.profileId();o.has(p)||o.set(p,[]),o.get(p).push(h)}let r=Array.from(e.profilesFaceIdsArray()||[]);return{points:t,profiles:i,holes:n,bigProfiles:s,bigHoles:o,type:e.type(),profilesFaceIds:r}}function JPe(e){let t={radius:[],axes:[]},i=e.radiusArray();t.radius=Array.from(i);let n=e.axesLength();for(let s=0;s<n;s++){let o=e.axes(s),r=o.wiresLength(),l=[];for(let b=0;b<r;b++){let A=o.wires(b),O=A.p1(),P=A.p2();l.push([O.x(),O.y(),O.z(),P.x(),P.y(),P.z()])}let d=o.orderLength(),h=[];for(let b=0;b<d;b++)h.push(o.order(b));let p=o.partsLength(),I=[];for(let b=0;b<p;b++)I.push(o.parts(b));let m=o.wireSetsLength(),y=[];for(let b=0;b<m;b++){let A=o.wireSets(b),O=A.psLength(),P=[];for(let U=0;U<O;U++){let Z=A.ps(U);P.push(Z.x(),Z.y(),Z.z())}y.push(P)}let T=o.circleCurvesLength(),R=[];for(let b=0;b<T;b++){let A=o.circleCurves(b),O=A.aperture(),P=A.position(),U=P.x(),Z=P.y(),ne=P.z(),K=A.radius(),oe=A.xDirection(),se=oe.x(),he=oe.y(),Re=oe.z(),ee=A.yDirection(),Ae=ee.x(),Ee=ee.y(),Ce=ee.z();R.push({aperture:O,position:[U,Z,ne],radius:K,xDirection:[se,he,Re],yDirection:[Ae,Ee,Ce]})}t.axes.push({wires:l,order:h,parts:I,wireSets:y,circleCurves:R})}return t}function XPe(e){return e.meshes().materialIdsArray()||[]}function e7e(e,t){let i=e.meshes(),n=t||i.materialIdsArray(),s=new Set(n),o=new YN,r=new Map;for(let l=0;l<i.materialsLength();l++){let d=i.materialIds(l);if(!s.has(d))continue;i.materials(l,o);let h=ioe(o);r.set(d,h)}return r}function t7e(e){return e.meshes().representationIdsArray()||[]}function i7e(e,t){let i=e.meshes(),n=t||i.representationIdsArray(),s=new Set(n),o=new Map,r=new cE;for(let l=0;l<i.representationsLength();l++){let d=i.representationIds(l);if(!s.has(d))continue;i.representations(l,r);let h=w$(r);if(h.representationClass===No.SHELL){let p=i.shells(h.id),I=noe(p);h.geometry=I}else if(h.representationClass===No.CIRCLE_EXTRUSION){let p=i.circleExtrusions(h.id),I=JPe(p);h.geometry=I}o.set(d,h)}return o}function n7e(e,t){let i=e.meshes(),n=t||i.representationIdsArray(),s=new Set(n),o=new cE,r=new Set,l=new Set;for(let d=0;d<i.representationsLength();d++){let h=i.representationIds(d);if(!s.has(h))continue;i.representations(d,o);let p=w$(o);if(p.representationClass===No.SHELL)r.add(p.id);else if(p.representationClass===No.CIRCLE_EXTRUSION)l.add(p.id);else throw new Error("Rebars not supported yet")}return{shellsIndices:r,rebarsIndices:l}}function s7e(e){let t=[];for(let i in e){if(i[0]==="_")continue;let n=e[i];if(Array.isArray(n))continue;let s=n.value,o=n.type,r=JSON.stringify([i,s,o]);t.push(r)}return t}function o7e(e){let t=e._category;if(!t)throw new Error("Category is required");let i=t.value,n=e._guid,s={};for(let r in e){if(r[0]==="_")continue;let l=e[r];Array.isArray(l)||(s[r]=l)}let o=n?n.value:void 0;return{data:s,category:i,guid:o}}function r7e(e){return e.meshes().localTransformIdsArray()||[]}function l7e(e,t){let i=e.meshes(),n=t||i.localTransformIdsArray(),s=new Set(n),o=new Map,r=new JI;for(let l=0;l<i.localTransformsLength();l++){let d=i.localTransformIds(l);if(!s.has(d))continue;i.localTransforms(l,r);let h=tk(r);o.set(d,h)}return o}function a7e(e){return e.meshes().globalTransformIdsArray()||[]}function u7e(e,t){let i=e.meshes(),n=null;t?n=new Set(t):n=new Set(i.globalTransformIdsArray());let s=new Map,o=new JI,r=i.globalTransformsLength();for(let l=0;l<r;l++){i.globalTransforms(l,o);let d=i.globalTransformIds(l),h=i.meshesItems(l),p=e.localIds(h);if(!n.has(d))continue;let I=tk(o);s.set(d,{...I,itemId:p})}return s}function c7e(e){return e.meshes().sampleIdsArray()||[]}function d7e(e,t){let i=e.meshes(),n=t||i.sampleIdsArray(),s=new Set(n),o=new Map,r=new jN;for(let l=0;l<i.samplesLength();l++){let d=i.sampleIds(l);if(!s.has(d))continue;i.samples(l,r);let h=Dme(r);h.item=i.globalTransformIds(h.item),h.material=i.materialIds(h.material),h.representation=i.representationIds(h.representation),h.localTransform=i.localTransformIds(h.localTransform),o.set(d,h)}return o}function h7e(e){return e.localIdsArray()}function f7e(e,t){let i=new Set;if(t)i=new Set(t);else for(let s=0;s<e.localIdsLength();s++)i.add(s);let n=new Map;for(let s of i){let o=e.localIds(s),r=e.categories(s),l=e.guids(s),d=e.attributes(s),h={};for(let p=0;p<d.dataLength();p++){let I=d.data(p),[m,y,T]=JSON.parse(I);h[m]={value:y,type:T}}n.set(o,{data:h,category:r,guid:l})}return n}function p7e(e,t){let i=e.meshes(),n=new Set(t),s=new Set;for(let o=0;o<i.meshesItemsLength();o++){let r=i.meshesItems(o),l=e.localIds(r);n.has(l)&&s.add(i.globalTransformIds(o))}return Array.from(s)}function I7e(e,t){let i=e.data,n=i.meshes(),s={},o=new Set(t),r=new JI,l=new YN,d=new cE,h=new or;for(let m=0;m<n.samplesLength();m++){let y=n.samples(m),T=y.item(),R=n.meshesItems(T),b=i.localIds(R);if(!o.has(b))continue;s[b]||(s[b]={samples:{},localTransforms:{},globalTransforms:{},representations:{},materials:{}});let A=s[b],O=y.localTransform(),P=y.material(),U=y.representation(),Z=n.sampleIds(m),ne=n.globalTransformIds(T),K=n.localTransformIds(O),oe=n.materialIds(P),se=n.representationIds(U);A.samples[Z]={item:ne,localTransform:K,material:oe,representation:se},n.localTransforms(O,r),A.localTransforms[K]=tk(r),n.globalTransforms(T,r);let he=tk(r);A.globalTransforms[ne]={...he,itemId:b},n.materials(P,l),A.materials[oe]=ioe(l),n.representations(U,d);let Re=w$(d);if(Re.representationClass===No.SHELL){n.shells(Re.id,h);let ee=noe(h);Re.geometry=ee}A.representations[se]=Re}let p=new Map;for(let m=0;m<i.relationsItemsLength();m++){let y=i.relationsItems(m);p.set(y,m)}let I=new Map;for(let m=0;m<i.localIdsLength();m++){let y=i.localIds(m);I.set(y,m)}return s}function m7e(e,t,i){let n=e[t];if(typeof n=="string"){let s=i.get(n);if(s===void 0)throw new Error(`Malformed request: temp id ${e[t]} not found`);e[t]=s}}function Bq(e,t,i){let n=e[t];if(typeof n=="string"){let s=i.get(n);if(s===void 0)throw new Error(`Malformed request: temp id ${e[t]} not found`);e[t]=s}}function y7e(e,t,i){let n=e[t];if(typeof n=="string"){let s=i.get(n);if(s===void 0)throw new Error(`Malformed request: temp id ${e[t]} not found`);e[t]=s}}function E7e(e,t){let i=new Map,n=[];for(let s of e){if(s.localId!==void 0)continue;let o=t++;s.tempId&&i.set(s.tempId,o),s.localId=o,n.push(o)}for(let s of e){if(s.type===on.UPDATE_SAMPLE||s.type===on.CREATE_SAMPLE){let o=s.data;Bq(o,"item",i),Bq(o,"material",i),Bq(o,"representation",i),Bq(o,"localTransform",i);continue}if(s.type===on.UPDATE_GLOBAL_TRANSFORM||s.type===on.CREATE_GLOBAL_TRANSFORM){let o=s.data;m7e(o,"itemId",i);continue}y7e(s,"localId",i)}return i.clear(),n}function T7e(e,t,i,n){let s=on[`CREATE_${i}`],o=on[`UPDATE_${i}`],r=on[`DELETE_${i}`];if(e)for(let l of e){if(l.type===s||l.type===o){if(n&&!n.has(l.localId))continue;t.set(l.localId,l.data);continue}l.type===r&&t.delete(l.localId)}}function g7e(e,t){let i=on[`UPDATE_${t}`];if(e)for(let n=e.length-1;n>=0;n--){let s=e[n];if(s.type===i)return JSON.parse(JSON.stringify(s.data))}return null}function w7e(e,t,i,n){let s=new Set(t),o=on[`DELETE_${i}`],r=on[`CREATE_${i}`];if(e){for(let l of e){if(l.type===o){s.delete(l.localId);continue}n&&l.type===r&&s.add(l.localId)}return Array.from(s)}return t}var Hs=class{};Ne(Hs,"edit",$Pe);Ne(Hs,"solveIds",E7e);Ne(Hs,"newModel",_me);Ne(Hs,"applyChangesToRawData",T7e);Ne(Hs,"applyChangesToSpecialData",g7e);Ne(Hs,"applyChangesToIds",w7e);Ne(Hs,"getModelFromBuffer",KPe);Ne(Hs,"getSampleData",Dme);Ne(Hs,"getTransformData",tk);Ne(Hs,"getRelationData",QPe);Ne(Hs,"getMaterialData",ioe);Ne(Hs,"getRepresentationData",w$);Ne(Hs,"getShellData",noe);Ne(Hs,"getMaterialsIds",XPe);Ne(Hs,"getMaterials",e7e);Ne(Hs,"getRepresentationsIds",t7e);Ne(Hs,"getRepresentations",i7e);Ne(Hs,"getLocalTransformsIds",r7e);Ne(Hs,"getLocalTransforms",l7e);Ne(Hs,"getGlobalTransformsIds",a7e);Ne(Hs,"getGlobalTransforms",u7e);Ne(Hs,"getSamplesIds",c7e);Ne(Hs,"getSamples",d7e);Ne(Hs,"getItemsIds",h7e);Ne(Hs,"getItems",f7e);Ne(Hs,"getGlobalTranformsIdsOfItems",p7e);Ne(Hs,"getElementsData",I7e);Ne(Hs,"getGeometryIndicesFromRepresentations",n7e);Ne(Hs,"getRootModelId",ZPe);Ne(Hs,"getSerializedAttributes",s7e);Ne(Hs,"itemDataToRawItemData",o7e);Ne(Hs,"DELTA_MODEL_ID",Rne);var Sne=class{constructor(t,i,n,s){Ne(this,"x"),Ne(this,"y"),Ne(this,"z"),Ne(this,"hash"),Ne(this,"id"),this.x=as.round(t[i*3],s),this.y=as.round(t[i*3+1],s),this.z=as.round(t[i*3+2],s),this.hash=`${this.x}/${this.y}/${this.z}`,this.id=n}},Ane=class{constructor(t){Ne(this,"list",new Map),Ne(this,"tempV1",new ye),Ne(this,"tempV2",new ye),Ne(this,"tempV3",new ye),Ne(this,"precission"),this.precission=t}create(t,i){let n=new Sne(t,i,this.list.size,this.precission);return this.list.has(n.hash)||this.list.set(n.hash,n),this.list.get(n.hash)}get(){return Array.from(this.list.values()).map(t=>[t.x,t.y,t.z])}isValidTriangle(t,i,n,s){this.tempV1.set(t[i*3],t[i*3+1],t[i*3+2]),this.tempV2.set(t[n*3],t[n*3+1],t[n*3+2]),this.tempV3.set(t[s*3],t[s*3+1],t[s*3+2]);let o=1/this.precission*10,r=this.tempV1.distanceTo(this.tempV2)>o,l=this.tempV1.distanceTo(this.tempV3)>o,d=this.tempV2.distanceTo(this.tempV3)>o;return r&&l&&d}},bne=class{constructor(t,i){Ne(this,"edges",new Map),Ne(this,"openEdges",new Set),Ne(this,"id"),Ne(this,"plane"),this.id=t,this.plane=i}add(t){if(this.edges.size===0){for(let i of t)this.openEdges.add(i.hash),this.edges.set(i.hash,i);return}for(let i of t)this.openEdges.has(i.hash)?this.openEdges.delete(i.hash):this.openEdges.add(i.hash),this.edges.set(i.hash,i)}match(t,i){if(i.id!==this.plane.id)return!1;for(let n of t)if(this.openEdges.has(n.hash))return!0;return!1}getOpenEdges(){let t=[];for(let i of this.openEdges)t.push(this.edges.get(i));return t}merge(t){for(let[i,n]of t.edges)this.edges.set(i,n);for(let i of t.openEdges)this.openEdges.has(i)?this.openEdges.delete(i):this.openEdges.add(i)}},Nne=class{constructor(){Ne(this,"list",new Map),Ne(this,"nextFaceID",0)}add(t,i){let n=this.match(t,i);if(n.length===0){let s=this.nextFaceID++,o=new bne(s,i);o.add(t),this.list.set(o.id,o);return}if(n.length===1){this.list.get(n[0]).add(t);return}if(n.length>1){let s=this.list.get(n[0]);s.add(t);for(let o=1;o<n.length;o++){let r=n[o],l=this.list.get(r);s.merge(l),this.list.delete(r)}}}match(t,i){let n=[];for(let s of this.list.values())s.match(t,i)&&n.push(s.id);return n}},ex=class{constructor(t,i){Ne(this,"p1"),Ne(this,"p2"),Ne(this,"hash"),this.p1=t,this.p2=i;let n=[this.p1,this.p2];n.sort((s,o)=>s.x-o.x||s.y-o.y||s.z-o.z),this.hash=`${n[0].hash}_${n[1].hash}`}},v7e=class{constructor(t){Ne(this,"closed",!1),Ne(this,"openStartPoint",null),Ne(this,"openEndPoint",null),Ne(this,"plane"),Ne(this,"orderedPoints",[]),this.plane=t}getEdges(t=!1){let i=[];if(t)for(let n=this.orderedPoints.length-1;n>0;n--)i.push(new ex(this.orderedPoints[n],this.orderedPoints[n-1]));else for(let n=0;n<this.orderedPoints.length-1;n++)i.push(new ex(this.orderedPoints[n],this.orderedPoints[n+1]));return i}getIndices(){return this.orderedPoints.map(t=>t.id)}add(t){if(this.orderedPoints.length===0){this.openStartPoint=t.p1.hash,this.openEndPoint=t.p2.hash,this.orderedPoints.push(t.p1,t.p2);return}let i=this.match(t);if(i===0)throw new Error("Fragments: Edge doesn't match with any open point");if(i>2)throw new Error("Fragments: Edge matches with more than 2 open points");if(i===2){this.closed=!0,this.openEndPoint=null,this.openStartPoint=null;return}this.openStartPoint===t.p1.hash?(this.orderedPoints.unshift(t.p2),this.openStartPoint=t.p2.hash):this.openEndPoint===t.p1.hash?(this.orderedPoints.push(t.p2),this.openEndPoint=t.p2.hash):this.openStartPoint===t.p2.hash?(this.orderedPoints.unshift(t.p1),this.openStartPoint=t.p1.hash):this.openEndPoint===t.p2.hash&&(this.orderedPoints.push(t.p1),this.openEndPoint=t.p1.hash)}match(t){if(this.closed)return 0;let i=0;return this.openStartPoint===t.p1.hash&&i++,this.openStartPoint===t.p2.hash&&i++,this.openEndPoint===t.p1.hash&&i++,this.openEndPoint===t.p2.hash&&i++,i}merge(t){if(t.closed||this.closed)throw new Error("Fragments: Cannot merge closed profiles");if(t.openStartPoint===this.openEndPoint&&t.openEndPoint===this.openStartPoint)throw new Error("Fragments: Cannot merge profiles that close each other");if(t.openEndPoint===this.openEndPoint&&t.openStartPoint===this.openStartPoint)throw new Error("Fragments: Cannot merge profiles that close each other");let i=!1;(t.openEndPoint===this.openStartPoint||t.openEndPoint===this.openEndPoint)&&(i=!0);let n=t.getEdges(i);for(let s of n)this.add(s)}getArea(){let t=this.orderedPoints.map(h=>[h.x,h.y,h.z]),i=0,n=1,s=Math.abs(this.plane.normal.x),o=Math.abs(this.plane.normal.y),r=Math.abs(this.plane.normal.z);s>=o&&s>=r?(i=1,n=2):o>=s&&o>=r?(i=0,n=2):(i=0,n=1);let l=[];for(let h of t)l.push(new hi(h[i],h[n]));let d=0;for(let h=0,p=l.length;h<p;h++){let I=l[h].x,m=l[h===l.length-1?0:h+1].y,y=l[h===l.length-1?0:h+1].x,T=l[h].y;d+=I*m*.5,d-=y*T*.5}return Math.abs(d)}},_ne=class{constructor(t){Ne(this,"list",new Map),Ne(this,"plane"),Ne(this,"nextProfileID",0),this.plane=t}add(t){let i=this.match(t);if(i.length===0){let n=this.nextProfileID++,s=new v7e(this.plane);s.add(t),this.list.set(n,s);return}if(i.length===1){this.list.get(i[0]).add(t);return}if(i.length>1){let n=this.list.get(i[0]);n.add(t);let s=this.list.get(i[1]);n.merge(s),this.list.delete(i[1])}}getProfiles(){let t=null,i=0;for(let[o,r]of this.list){let l=r.getArea();l>i&&(i=l,t=o)}if(t===null)return null;let n=this.list.get(t).getIndices(),s=[];for(let[o,r]of this.list)o!==t&&s.push(r.getIndices());return{profile:n,holes:s}}match(t){let i=[];for(let[n,s]of this.list)s.match(t)>0&&i.push(n);return i}},Dne=class{constructor(t,i,n){Ne(this,"normal"),Ne(this,"constant"),Ne(this,"id"),Ne(this,"faces",[]);let s=as.round(t.normal.x,n),o=as.round(t.normal.y,n),r=as.round(t.normal.z,n),l=as.round(t.constant,i);this.normal=new ye(s,o,r),this.constant=l;let d="||";this.id=`${s}${d}${o}${d}${r}${d}${l}`}},Cme=class Cne{static round(t,i){return Math.round(t*i)/i}static getAABB(t){let i=Number.POSITIVE_INFINITY,n=Number.POSITIVE_INFINITY,s=Number.POSITIVE_INFINITY,o=Number.NEGATIVE_INFINITY,r=Number.NEGATIVE_INFINITY,l=Number.NEGATIVE_INFINITY;for(let d=0;d<t.length;d+=3){let h=t[d],p=t[d+1],I=t[d+2];h<i&&(i=h),p<n&&(n=p),I<s&&(s=I),h>o&&(o=h),p>r&&(r=p),I>l&&(l=I)}return{min:{x:i,y:n,z:s},max:{x:o,y:r,z:l}}}static transformFromMatrix(t,i={position:[0,0,0],xDirection:[1,0,0],yDirection:[0,1,0]}){let n=t.elements[12],s=t.elements[13],o=t.elements[14],r=t.elements[0],l=t.elements[1],d=t.elements[2],h=t.elements[4],p=t.elements[5],I=t.elements[6];return i.position[0]=n,i.position[1]=s,i.position[2]=o,i.xDirection[0]=r,i.xDirection[1]=l,i.xDirection[2]=d,i.yDirection[0]=h,i.yDirection[1]=p,i.yDirection[2]=I,i}static matrixFromTransform(t){let i=new Ai,[n,s,o]=t.position,[r,l,d]=t.xDirection,[h,p,I]=t.yDirection,m=new ye(r,l,d),y=new ye(h,p,I),{x:T,y:R,z:b}=m.cross(y);return i.fromArray([r,l,d,0,h,p,I,0,T,R,b,0,n,s,o,1]),i}static bboxFromCircleExtrusion(t){let i=new kn,n=[];for(let p of t.axes)for(let I of p.wires)for(let m=0;m<I.length-2;m+=3){let y=I[m],T=I[m+1],R=I[m+2];n.push(new ye(y,T,R))}i.setFromPoints(n);let s=i.min.x,o=i.min.y,r=i.min.z,l=i.max.x,d=i.max.y,h=i.max.z;return[s,o,r,l,d,h]}static representationFromGeometry(t,i={bbox:[0,0,0,0,0,0],representationClass:No.SHELL,geometry:{points:[],type:Pc.NONE,profiles:new Map,holes:new Map,bigHoles:new Map,bigProfiles:new Map,profilesFaceIds:[]}},n={threshold:3e3,precision:1e6,normalPrecision:1e7,planePrecision:1e3,faceThreshold:.6,forceTransparentSpaces:!0}){let o=t.getAttribute("position").array,l=t.getAttribute("normal").array,h=t.index.array,p=Cne.getShellData({position:o,normals:l,index:h,raw:!1,settings:n}),{min:I,max:m}=p.bbox;if(i.bbox=[I.x,I.y,I.z,m.x,m.y,m.z],i.representationClass===No.CIRCLE_EXTRUSION)throw new Error("Circle extrusions can't be represented as shells");let y=i.geometry,T=p.points,R=T.length>Cne.ushortMaxValue;return y.type=R?Pc.BIG:Pc.NONE,y.points=T,y.profilesFaceIds=p.profilesFaceIds,R?(y.profiles=new Map,y.holes=new Map,y.bigHoles=p.holes,y.bigProfiles=p.profiles):(y.profiles=p.profiles,y.holes=p.holes,y.bigHoles=new Map,y.bigProfiles=new Map),i}static getRawShellData(t,i,n,s,o){var r;let l=new Map,d=new Map,h=(m,y,T)=>{let R=`${m},${y},${T}`;if(l.has(R))return l.get(R)[0];let b=l.size;return l.set(R,[b,m,y,T]),b};for(let m=0;m<t.length-2;m+=3){let y=t[m],T=t[m+1],R=t[m+2],b=i[y*3],A=i[y*3+1],O=i[y*3+2],P=i[T*3],U=i[T*3+1],Z=i[T*3+2],ne=i[R*3],K=i[R*3+1],oe=i[R*3+2],se=h(b,A,O),he=h(P,U,Z),Re=h(ne,K,oe);d.set(d.size,[se,he,Re])}let p=[];for(let[,[,m,y,T]]of l)p.push([m,y,T]);let I={bbox:n,type:No.SHELL,profiles:d,holes:new Map,points:p,profilesFaceIds:[]};if(o&&((r=s.categoryFaceThresholds)!=null&&r.has(o)))this.computeShellFaceIds(I,s,o);else for(let m=0;m<d.size;m++)I.profilesFaceIds.push(0);return I}static getShellData(t){let{position:i,normals:n,index:s,raw:o,settings:r,category:l}=t,{threshold:d,precision:h,normalPrecision:p,planePrecision:I}=r,y=i.length/3>d,T=this.getAABB(i);if(T.min.x===0&&T.min.y===0&&T.min.z===0&&T.max.x===0&&T.max.y===0&&T.max.z===0)throw new Error("Fragments: Bbox is not valid");if(o||y)return this.getRawShellData(s,i,T,r,l);let R=new es,b=new ye,A=new ye,O=new Map;for(let Ae=0;Ae<s.length-2;Ae+=3){let Ee=s[Ae];b.set(n[Ee*3],n[Ee*3+1],n[Ee*3+2]),A.set(i[Ee*3],i[Ee*3+1],i[Ee*3+2]),R.setFromNormalAndCoplanarPoint(b,A);let Ce=new Dne(R,I,p);O.has(Ce.id)||O.set(Ce.id,Ce),O.get(Ce.id).faces.push(Ae)}let P=new Ane(h),U=new Nne;for(let[,Ae]of O)for(let Ee of Ae.faces){let Ce=s[Ee],Qe=s[Ee+1],qe=s[Ee+2];if(!P.isValidTriangle(i,Ce,Qe,qe))continue;let St=P.create(i,Ce),$e=P.create(i,Qe),ke=P.create(i,qe),It=new ex(St,$e),ft=new ex($e,ke),Dt=new ex(ke,St),Zt=[It,ft,Dt];U.add(Zt,Ae)}let Z=new Map,ne=new Map,K=0;for(let[,Ae]of U.list){let Ee=new _ne(Ae.plane),Ce=Ae.getOpenEdges();if(Ce.length===0)return this.getRawShellData(s,i,T,r,l);for(let qe of Ce)Ee.add(qe);let Qe=Ee.getProfiles();Z.set(K,Qe?.profile||[]),ne.set(K,Qe?.holes||[]),K++}let oe=0,se=new Map,he=new Map;for(let[Ae,Ee]of Z)Ee.length&&(se.set(Ae,oe),he.set(oe,Ee),oe++);let Re=new Map;for(let[Ae,Ee]of ne)if(Ee.length){let Ce=se.get(Ae);Re.set(Ce,Ee)}let ee={bbox:T,type:No.SHELL,profiles:he,holes:Re,points:P.get(),profilesFaceIds:[]};return this.computeShellFaceIds(ee,r,l),ee}static computeShellFaceIds(t,i,n){var s;let o=i.faceThreshold;n&&((s=i.categoryFaceThresholds)!=null&&s.has(n))&&(o=i.categoryFaceThresholds.get(n));let r=new Map,l=0,d=new Map,h=new Map,p=new Map,I=new ye,m=new ye,y=new ye,T=new ye,R=new fr,b=t.profiles.size;for(let O=0;O<b;O++){let P=t.profiles.get(O),U=P.length;for(let oe=0;oe<U;oe++){let se=P[oe],Re=oe===U-1?P[0]:P[oe+1],ee=Math.min(se,Re),Ae=Math.max(se,Re),Ee=ee+this.makeDecimal(Ae);h.has(O)?h.get(O).push(Ee):h.set(O,[Ee]),d.has(Ee)?d.get(Ee).push(O):d.set(Ee,[O])}let Z=0,ne=1,K=2;for(;K<U;){let oe=P[Z],se=P[ne],he=P[K];if(I.set(t.points[oe][0],t.points[oe][1],t.points[oe][2]),m.set(t.points[se][0],t.points[se][1],t.points[se][2]),y.set(t.points[he][0],t.points[he][1],t.points[he][2]),R.set(I,m,y),R.getNormal(T),T.x!==0||T.y!==0||T.z!==0)break;Z++,ne++,K++}p.set(O,[T.x,T.y,T.z])}for(let[O,P]of h){let U=r.get(O);U===void 0&&(U=l++,r.set(O,U));let[Z,ne,K]=p.get(O);for(let oe of P){let se=d.get(oe);for(let he of se){if(he===O)continue;let[Re,ee,Ae]=p.get(he),Ce=Math.abs(Z*Re+ne*ee+K*Ae)<o;if(r.has(he)){if(!Ce){let Qe=r.get(he);for(let[qe,St]of r)St===Qe&&r.set(qe,U)}}else{let Qe=Ce?l++:U;r.set(he,Qe)}}}}for(let O=0;O<t.profiles.size;O++)if(!r.has(O))throw new Error(`Face id not found for profile ${O}`);let A=Array.from(r.keys()).sort((O,P)=>O-P);for(let O of A){let P=r.get(O);t.profilesFaceIds.push(P)}}static makeDecimal(t){let i=1;for(;i<=t;)i*=10;return t/i}};Ne(Cme,"ushortMaxValue",65e3);var as=Cme,rx=class{static getAbsolutePlacement(t,i,n=this.getUnitsFactor(t)){let s=i.ObjectPlacement.value,o=t.GetLine(0,s),r=new Ai;r.identity(),this.getAbsolutePlacementRecursively(t,o,r,n);let l=new Ai;return l.makeRotationX(-Math.PI/2),r.premultiply(l),r}static getUnitsFactor(t){var i,n,s,o;let r=t.GetLineIDsWithType(0,nq),l=1;if(r.size()===0)return l;for(let d=0;d<r.size();d++){let h=r.get(d),p=t.GetLine(0,h);for(let I of p.Units){let m=t.GetLine(0,I.value);if(((i=m.UnitType)==null?void 0:i.value)!=="LENGTHUNIT")continue;let T=1,R=1;m.Name.value==="METRE"&&(R=1),m.Name.value==="FOOT"&&(R=.3048),((n=m.Prefix)==null?void 0:n.value)==="MILLI"?T=.001:((s=m.Prefix)==null?void 0:s.value)==="CENTI"?T=.01:((o=m.Prefix)==null?void 0:o.value)==="DECI"&&(T=.1),l=R*T}}return l}static getAbsolutePlacementRecursively(t,i,n,s){let o=i.RelativePlacement.value,r=t.GetLine(0,o),l=r.Location.value,d=r.Axis,h=r.RefDirection,p=new ye(0,0,0),I=new ye(0,0,1),m=new ye(1,0,0),y=t.GetLine(0,l);if(y){let[O,P,U]=y.Coordinates;p.x=O.value*s,p.y=P.value*s,p.z=U.value*s}if(d){let O=t.GetLine(0,d.value),[P,U,Z]=O.DirectionRatios.map(ne=>typeof ne=="number"?ne:ne.value);I.x=P,I.y=U,I.z=Z}if(h){let O=t.GetLine(0,h.value),[P,U,Z]=O.DirectionRatios.map(ne=>typeof ne=="number"?ne:ne.value);m.x=P,m.y=U,m.z=Z}let T=I.clone().cross(m),R=new Ai;if(R.fromArray([m.x,m.y,m.z,0,T.x,T.y,T.z,0,I.x,I.y,I.z,0,p.x,p.y,p.z,1]),n.premultiply(R),!i.PlacementRelTo||!i.PlacementRelTo.value)return;let b=i.PlacementRelTo.value,A=t.GetLine(0,b);this.getAbsolutePlacementRecursively(t,A,n,s)}};var R7e=new Set([ky,E6,N5,b5,J7,$5,jy,Ow,Yy,S1,IS,sS,Hf,Zp,Kp,tS,X7,pV,fV,tS,hV,w1,Lie,pS,Gy,Jp,NN,aV,et,Qp,j6,W7,Y6,zf,Ky,Xy,uS,aS,Hy,Yp,Uh,fc,u2,fS,Iu,kw,zp,jp,Cy,Ly,My,W5,Y6,zf,$7,b3,lS,K5,Zy,q5,l2,Wp,Qy,nS,rS,R1,By,gV,EV,E3,qm,v3,Q7,qy,X5,R1,Sp,xy,Wy,zy,J5,Q5,Vy,Xp,hS,R5,wV,jm,K7,l2,Z7,Gie,dS,n8,j6,dV,Uy,Z5,w3,TV,y3,q7,cS,eE,Fy,$m,Jy,Y7,j5,Y5,bN,wy,m3,A5,g3,YI,_5,z5,$y,zj,S1,Py,z7,u2,S5,oS,Gp,Oie,iS,e8,eS]),S7e=new Map([[li,{forRelating:"HasSurfaceFeatures",forRelated:"AdheresToElement"}],[zt,{forRelating:"Positions",forRelated:"PositionedRelativeTo"}],[C7,{forRelating:"AssociatedTo",forRelated:"HasAssociations"}],[Fh,{forRelating:"BoundedBy",forRelated:"ProvidesBoundaries"}],[kp,{forRelating:"BoundedBy",forRelated:"ProvidesBoundaries"}],[_e,{forRelating:"InterferesElements",forRelated:"IsInterferedByElements"}],[So,{forRelating:"Defines",forRelated:"IsDefinedBy"}],[ce,{forRelating:"Declares",forRelated:"IsDeclaredBy"}],[me,{forRelating:"Declares",forRelated:"HasContext"}],[T3,{forRelating:"IsGroupedBy",forRelated:"HasAssignments"}],[vN,{forRelating:"Controls",forRelated:"HasAssignments"}],[M,{forRelating:"IsDecomposedBy",forRelated:"Decomposes"}],[rt,{forRelating:"HasOpenings",forRelated:"VoidsElements"}],[at,{forRelating:"BoundedBy",forRelated:"ProvidesBoundaries"}],[Gn,{forRelating:"ServicesBuildings",forRelated:"ServicedBySystems"}],[$s,{forRelating:"IsPredecessorTo",forRelated:"IsSuccessorFrom"}],[r6,{forRelating:"ReferencedBy",forRelated:"HasAssignments"}],[Ye,{forRelating:"ReferencesElements",forRelated:"ReferencedInStructures"}],[lt,{forRelating:"HasProjections",forRelated:"ProjectsElements"}],[l6,{forRelating:"DefinesOccurrence",forRelated:"IsDefinedBy"}],[a6,{forRelating:"IsActingUpon",forRelated:"HasAssignments"}],[B,{forRelating:"IsNestedBy",forRelated:"Nests"}],[AN,{forRelating:"HasInteractionReqsTo",forRelated:"HasInteractionReqsFrom"}],[ti,{forRelating:"HasControlElements",forRelated:"AssignedToFlowElement"}],[ut,{forRelating:"HasFillings",forRelated:"FillsVoids"}],[pe,{forRelating:"Types",forRelated:"IsTypedBy"}],[Fe,{forRelating:"DefinesOccurrence",forRelated:"IsDefinedBy"}],[Ei,{forRelating:"DefinesOccurrence",forRelated:"IsDefinedBy"}],[je,{forRelating:"IsDecomposedBy",forRelated:"Decomposes"}],[j0,{forRelating:"HasCoverings",forRelated:"CoversSpaces"}],[ct,{forRelating:"HasCoverings",forRelated:"CoversElements"}],[tt,{forRelating:"ContainsElements",forRelated:"ContainedInStructure"}],[dt,{forRelating:"ConnectedTo",forRelated:"ConnectedFrom"}],[qp,{forRelating:"ConnectedBy",forRelated:"ConnectsStructuralMembers"}],[ks,{forRelating:"ConnectedBy",forRelated:"ConnectsStructuralMembers"}],[bn,{forRelating:"HasStructuralMember",forRelated:"ReferencesElement"}],[vn,{forRelating:"AssignedStructuralActivity",forRelated:"AssignedToStructuralItem"}],[ua,{forRelating:"ConnectedTo",forRelated:"ConnectedFrom"}],[Bt,{forRelating:"ContainedIn",forRelated:"HasPorts"}],[$p,{forRelating:"ConnectedTo",forRelated:"ConnectedFrom"}],[ve,{forRelating:"ConnectedTo",forRelated:"ConnectedFrom"}],[k5,{forRelating:"ConnectedTo",forRelated:"ConnectedFrom"}],[O7,{forRelating:"AssociatedTo",forRelated:"HasAssociations"}],[Os,{forRelating:"AssociatedTo",forRelated:"HasAssociations"}],[Gf,{forRelating:"LibraryInfoForObjects",forRelated:"HasAssociations"}],[Vf,{forRelating:"DocumentInfoForObjects",forRelated:"DocumentRefForObjects"}],[Oy,{forRelating:"AssociatedTo",forRelated:"HasAssociations"}],[kf,{forRelating:"HasReferences",forRelated:"ClassificationRefForObjects"}],[qI,{forRelating:"ApprovedObjects",forRelated:"HasAssociations"}],[L7,{forRelating:"AssociatedTo",forRelated:"HasAssociations"}],[ie,{forRelating:"AssociatedTo",forRelated:"HasAssociations"}],[ns,{forRelating:"ResourceOf",forRelated:"HasAssignments"}],[u6,{forRelating:"ReferencedBy",forRelated:"HasAssignments"}],[Te,{forRelating:"ReferencedBy",forRelated:"HasAssignments"}],[bo,{forRelating:"OperatesOn",forRelated:"HasAssignments"}],[Is,{forRelating:"IsGroupedBy",forRelated:"HasAssignments"}],[is,{forRelating:"Controls",forRelated:"HasAssignments"}],[q0,{forRelating:"IsActingUpon",forRelated:"HasAssignments"}],[re,{forRelating:"ReferencedBy",forRelated:"HasAssignments"}]]);var w8=65536,nI=(e=>(e[e.LINE=0]="LINE",e[e.SHELL=1]="SHELL",e))(nI||{}),yu=(e=>(e[e.UPDATE=0]="UPDATE",e[e.CREATE=1]="CREATE",e[e.DELETE=2]="DELETE",e[e.FINISH=3]="FINISH",e))(yu||{}),Zs=(e=>(e[e.GEOMETRY=0]="GEOMETRY",e[e.WIRES=1]="WIRES",e[e.INVISIBLE=2]="INVISIBLE",e))(Zs||{}),_1=(e=>(e[e.CREATE_MODEL=0]="CREATE_MODEL",e[e.DELETE_MODEL=1]="DELETE_MODEL",e[e.EXECUTE=2]="EXECUTE",e[e.RAYCAST=3]="RAYCAST",e[e.FETCH_BOXES=4]="FETCH_BOXES",e[e.REFRESH_VIEW=5]="REFRESH_VIEW",e[e.RECOMPUTE_MESHES=6]="RECOMPUTE_MESHES",e[e.CREATE_MATERIAL=7]="CREATE_MATERIAL",e[e.THROW_ERROR=8]="THROW_ERROR",e[e.LOAD_PROGRESS=9]="LOAD_PROGRESS",e[e.ABORT_MODEL=10]="ABORT_MODEL",e))(_1||{});var xne=(e=>(e[e.VISIBLE=0]="VISIBLE",e))(xne||{}),xN=(e=>(e[e.POINT=0]="POINT",e[e.LINE=1]="LINE",e[e.FACE=2]="FACE",e))(xN||{}),A7e="ThatOpenAlignment",b7e="ThatOpenGrid",R2=(e=>(e[e.NONE=0]="NONE",e[e.LINES=1]="LINES",e[e.CLOTHOID=2]="CLOTHOID",e[e.ELLIPSE_ARC=3]="ELLIPSE_ARC",e[e.PARABOLA=4]="PARABOLA",e))(R2||{}),Yq=(e=>(e[e.DEFAULT=0]="DEFAULT",e[e.ALL_VISIBLE=1]="ALL_VISIBLE",e[e.ALL_GEOMETRY=2]="ALL_GEOMETRY",e))(Yq||{}),lx=class{static containedInParallelPlanes(t,i){let n=!0;for(let s of t){let r=s.distanceToPoint(i)>=0;n=n&&r}return n}static collides(t,i,n){for(let s of i)if(this.getPointDistance(s,n,t)<0)return!1;return!0}static getPointDistance(t,i,n){let s=t.normal;for(let o of this.dimensions)s[o]>=0!==i?this.tempPoint[o]=n.max[o]:this.tempPoint[o]=n.min[o];return t.distanceToPoint(this.tempPoint)}};Ne(lx,"tempPoint",new ye);Ne(lx,"dimensions",["x","y","z"]);var MS=class{static transform(t,i,n=new F0){for(let s=0;s<n.planes.length;s++){let o=n.planes[s],r=t.planes[s];o.copy(r),o.applyMatrix4(i)}return n}static isIncluded(t,i){return lx.collides(t,i,!0)}static collides(t,i){return lx.collides(t,i,!1)}};function N7e(e,t,i=2){let n=t&&t.length,s=n?t[0]*i:e.length,o=xme(e,0,s,i,!0),r=[];if(!o||o.next===o.prev)return r;let l,d,h;if(n&&(o=O7e(e,t,o,i)),e.length>80*i){l=1/0,d=1/0;let p=-1/0,I=-1/0;for(let m=i;m<s;m+=i){let y=e[m],T=e[m+1];y<l&&(l=y),T<d&&(d=T),y>p&&(p=y),T>I&&(I=T)}h=Math.max(p-l,I-d),h=h!==0?32767/h:0}return ik(o,r,i,l,d,h,0),r}function xme(e,t,i,n,s){let o;if(s===z7e(e,t,i,n)>0)for(let r=t;r<i;r+=n)o=HIe(r/n|0,e[r],e[r+1],o);else for(let r=i-n;r>=t;r-=n)o=HIe(r/n|0,e[r],e[r+1],o);return o&&v8(o,o.next)&&(sk(o),o=o.next),o}function ax(e,t){if(!e)return e;t||(t=e);let i=e,n;do if(n=!1,!i.steiner&&(v8(i,i.next)||Ca(i.prev,i,i.next)===0)){if(sk(i),i=t=i.prev,i===i.next)break;n=!0}else i=i.next;while(n||i!==t);return t}function ik(e,t,i,n,s,o,r){if(!e)return;!r&&o&&F7e(e,n,s,o);let l=e;for(;e.prev!==e.next;){let d=e.prev,h=e.next;if(o?D7e(e,n,s,o):_7e(e)){t.push(d.i,e.i,h.i),sk(e),e=h.next,l=h.next;continue}if(e=h,e===l){r?r===1?(e=C7e(ax(e),t),ik(e,t,i,n,s,o,2)):r===2&&x7e(e,t,i,n,s,o):ik(ax(e),t,i,n,s,o,1);break}}}function _7e(e){let t=e.prev,i=e,n=e.next;if(Ca(t,i,n)>=0)return!1;let s=t.x,o=i.x,r=n.x,l=t.y,d=i.y,h=n.y,p=Math.min(s,o,r),I=Math.min(l,d,h),m=Math.max(s,o,r),y=Math.max(l,d,h),T=n.next;for(;T!==t;){if(T.x>=p&&T.x<=m&&T.y>=I&&T.y<=y&&PV(s,l,o,d,r,h,T.x,T.y)&&Ca(T.prev,T,T.next)>=0)return!1;T=T.next}return!0}function D7e(e,t,i,n){let s=e.prev,o=e,r=e.next;if(Ca(s,o,r)>=0)return!1;let l=s.x,d=o.x,h=r.x,p=s.y,I=o.y,m=r.y,y=Math.min(l,d,h),T=Math.min(p,I,m),R=Math.max(l,d,h),b=Math.max(p,I,m),A=One(y,T,t,i,n),O=One(R,b,t,i,n),P=e.prevZ,U=e.nextZ;for(;P&&P.z>=A&&U&&U.z<=O;){if(P.x>=y&&P.x<=R&&P.y>=T&&P.y<=b&&P!==s&&P!==r&&PV(l,p,d,I,h,m,P.x,P.y)&&Ca(P.prev,P,P.next)>=0||(P=P.prevZ,U.x>=y&&U.x<=R&&U.y>=T&&U.y<=b&&U!==s&&U!==r&&PV(l,p,d,I,h,m,U.x,U.y)&&Ca(U.prev,U,U.next)>=0))return!1;U=U.nextZ}for(;P&&P.z>=A;){if(P.x>=y&&P.x<=R&&P.y>=T&&P.y<=b&&P!==s&&P!==r&&PV(l,p,d,I,h,m,P.x,P.y)&&Ca(P.prev,P,P.next)>=0)return!1;P=P.prevZ}for(;U&&U.z<=O;){if(U.x>=y&&U.x<=R&&U.y>=T&&U.y<=b&&U!==s&&U!==r&&PV(l,p,d,I,h,m,U.x,U.y)&&Ca(U.prev,U,U.next)>=0)return!1;U=U.nextZ}return!0}function C7e(e,t){let i=e;do{let n=i.prev,s=i.next.next;!v8(n,s)&&Lme(n,i,i.next,s)&&nk(n,s)&&nk(s,n)&&(t.push(n.i,i.i,s.i),sk(i),sk(i.next),i=e=s),i=i.next}while(i!==e);return ax(i)}function x7e(e,t,i,n,s,o){let r=e;do{let l=r.next.next;for(;l!==r.prev;){if(r.i!==l.i&&G7e(r,l)){let d=Pme(r,l);r=ax(r,r.next),d=ax(d,d.next),ik(r,t,i,n,s,o,0),ik(d,t,i,n,s,o,0);return}l=l.next}r=r.next}while(r!==e)}function O7e(e,t,i,n){let s=[];for(let o=0,r=t.length;o<r;o++){let l=t[o]*n,d=o<r-1?t[o+1]*n:e.length,h=xme(e,l,d,n,!1);h===h.next&&(h.steiner=!0),s.push(H7e(h))}s.sort(L7e);for(let o=0;o<s.length;o++)i=P7e(s[o],i);return i}function L7e(e,t){let i=e.x-t.x;if(i===0&&(i=e.y-t.y,i===0)){let n=(e.next.y-e.y)/(e.next.x-e.x),s=(t.next.y-t.y)/(t.next.x-t.x);i=n-s}return i}function P7e(e,t){let i=M7e(e,t);if(!i)return t;let n=Pme(i,e);return ax(n,n.next),ax(i,i.next)}function M7e(e,t){let i=t,n=e.x,s=e.y,o=-1/0,r;if(v8(e,i))return i;do{if(v8(e,i.next))return i.next;if(s<=i.y&&s>=i.next.y&&i.next.y!==i.y){let I=i.x+(s-i.y)*(i.next.x-i.x)/(i.next.y-i.y);if(I<=n&&I>o&&(o=I,r=i.x<i.next.x?i:i.next,I===n))return r}i=i.next}while(i!==t);if(!r)return null;let l=r,d=r.x,h=r.y,p=1/0;i=r;do{if(n>=i.x&&i.x>=d&&n!==i.x&&Ome(s<h?n:o,s,d,h,s<h?o:n,s,i.x,i.y)){let I=Math.abs(s-i.y)/(n-i.x);nk(i,e)&&(I<p||I===p&&(i.x>r.x||i.x===r.x&&B7e(r,i)))&&(r=i,p=I)}i=i.next}while(i!==l);return r}function B7e(e,t){return Ca(e.prev,e,t.prev)<0&&Ca(t.next,e,e.next)<0}function F7e(e,t,i,n){let s=e;do s.z===0&&(s.z=One(s.x,s.y,t,i,n)),s.prevZ=s.prev,s.nextZ=s.next,s=s.next;while(s!==e);s.prevZ.nextZ=null,s.prevZ=null,U7e(s)}function U7e(e){let t,i=1;do{let n=e,s;e=null;let o=null;for(t=0;n;){t++;let r=n,l=0;for(let h=0;h<i&&(l++,r=r.nextZ,!!r);h++);let d=i;for(;l>0||d>0&&r;)l!==0&&(d===0||!r||n.z<=r.z)?(s=n,n=n.nextZ,l--):(s=r,r=r.nextZ,d--),o?o.nextZ=s:e=s,s.prevZ=o,o=s;n=r}o.nextZ=null,i*=2}while(t>1);return e}function One(e,t,i,n,s){return e=(e-i)*s|0,t=(t-n)*s|0,e=(e|e<<8)&16711935,e=(e|e<<4)&252645135,e=(e|e<<2)&858993459,e=(e|e<<1)&1431655765,t=(t|t<<8)&16711935,t=(t|t<<4)&252645135,t=(t|t<<2)&858993459,t=(t|t<<1)&1431655765,e|t<<1}function H7e(e){let t=e,i=e;do(t.x<i.x||t.x===i.x&&t.y<i.y)&&(i=t),t=t.next;while(t!==e);return i}function Ome(e,t,i,n,s,o,r,l){return(s-r)*(t-l)>=(e-r)*(o-l)&&(e-r)*(n-l)>=(i-r)*(t-l)&&(i-r)*(o-l)>=(s-r)*(n-l)}function PV(e,t,i,n,s,o,r,l){return!(e===r&&t===l)&&Ome(e,t,i,n,s,o,r,l)}function G7e(e,t){return e.next.i!==t.i&&e.prev.i!==t.i&&!V7e(e,t)&&(nk(e,t)&&nk(t,e)&&k7e(e,t)&&(Ca(e.prev,e,t.prev)||Ca(e,t.prev,t))||v8(e,t)&&Ca(e.prev,e,e.next)>0&&Ca(t.prev,t,t.next)>0)}function Ca(e,t,i){return(t.y-e.y)*(i.x-t.x)-(t.x-e.x)*(i.y-t.y)}function v8(e,t){return e.x===t.x&&e.y===t.y}function Lme(e,t,i,n){let s=Uq(Ca(e,t,i)),o=Uq(Ca(e,t,n)),r=Uq(Ca(i,n,e)),l=Uq(Ca(i,n,t));return!!(s!==o&&r!==l||s===0&&Fq(e,i,t)||o===0&&Fq(e,n,t)||r===0&&Fq(i,e,n)||l===0&&Fq(i,t,n))}function Fq(e,t,i){return t.x<=Math.max(e.x,i.x)&&t.x>=Math.min(e.x,i.x)&&t.y<=Math.max(e.y,i.y)&&t.y>=Math.min(e.y,i.y)}function Uq(e){return e>0?1:e<0?-1:0}function V7e(e,t){let i=e;do{if(i.i!==e.i&&i.next.i!==e.i&&i.i!==t.i&&i.next.i!==t.i&&Lme(i,i.next,e,t))return!0;i=i.next}while(i!==e);return!1}function nk(e,t){return Ca(e.prev,e,e.next)<0?Ca(e,t,e.next)>=0&&Ca(e,e.prev,t)>=0:Ca(e,t,e.prev)<0||Ca(e,e.next,t)<0}function k7e(e,t){let i=e,n=!1,s=(e.x+t.x)/2,o=(e.y+t.y)/2;do i.y>o!=i.next.y>o&&i.next.y!==i.y&&s<(i.next.x-i.x)*(o-i.y)/(i.next.y-i.y)+i.x&&(n=!n),i=i.next;while(i!==e);return n}function Pme(e,t){let i=Lne(e.i,e.x,e.y),n=Lne(t.i,t.x,t.y),s=e.next,o=t.prev;return e.next=t,t.prev=e,i.next=s,s.prev=i,n.next=i,i.prev=n,o.next=n,n.prev=o,n}function HIe(e,t,i,n){let s=Lne(e,t,i);return n?(s.next=n.next,s.prev=n,n.next.prev=s,n.next=s):(s.prev=s,s.next=s),s}function sk(e){e.next.prev=e.prev,e.prev.next=e.next,e.prevZ&&(e.prevZ.nextZ=e.nextZ),e.nextZ&&(e.nextZ.prevZ=e.prevZ)}function Lne(e,t,i){return{i:e,x:t,y:i,prev:null,next:null,z:0,prevZ:null,nextZ:null,steiner:!1}}function z7e(e,t,i,n){let s=0;for(let o=t,r=i-n;o<i;o+=n)s+=(e[r]-e[o])*(e[o+1]+e[r+1]),r=o;return s}var Pne=class{constructor(){Ne(this,"int"),Ne(this,"float"),Ne(this,"buffer"),Ne(this,"s1",4),Ne(this,"s2",8);let{intBuffer:t,floatBuffer:i,buffer:n}=this.newBuffers();this.int=t,this.float=i,this.buffer=n}newBuffers(){let t=new Int32Array(1),i=t.buffer,n=new Float32Array(i),s=new Uint8Array(i);return{intBuffer:t,floatBuffer:n,buffer:s}}},ok=class{static check(t){let i=Number.isInteger(t),n=t<this._max,s=t>this._min;return i&&n&&s}};Ne(ok,"_max",2147483647);Ne(ok,"_min",-2147483648);var Mme=class Bme{constructor(){Ne(this,"_core",new Pne),Ne(this,"_handlers"),Ne(this,"_result",-1),Ne(this,"handleObject",t=>{let i=Object.keys(t);for(let n of i)t.hasOwnProperty(n)&&this.compute(t[n])}),Ne(this,"handleString",t=>{let i=t.length;for(let n=0;n<i;++n){let s=t.codePointAt(n);this._core.int[0]=s,this.update()}}),Ne(this,"handleBoolean",t=>{t?this._core.int[0]=1:this._core.int[0]=0,this.update()}),Ne(this,"handleNumber",t=>{let n=ok.check(t)?this._core.int:this._core.float;n[0]=t,this.update()}),this._handlers=this.newHandlers()}get value(){return~this._result}fromMaterialData(t){let{modelId:i,objectClass:n,currentLod:s,templateId:o,...r}=t;this.reset(),this.compute(i),this.compute(n),this.compute(r),this.compute(s),this.compute(o!==void 0)}generate(t){this.reset();for(let i of t)this.compute(i);return this.value}compute(t){return this.getHandler(t)(t),this}reset(){return this._result=-1,this}getHandler(t){let i=typeof t,n=this._handlers[i];if(!n)throw new Error("Fragments: Unsupported input type");return n}newHandlers(){return{number:this.handleNumber,boolean:this.handleBoolean,string:this.handleString,object:this.handleObject}}update(){for(let t=0;t<this._core.s1;++t){this._result^=this._core.buffer[t];for(let i=0;i<this._core.s2;++i)this._result&1?this._result=this._result>>1^Bme._polynomial:this._result>>=1}}};Ne(Mme,"_polynomial",2197175160);var soe=Mme,v$=class jq{constructor(t,i){Ne(this,"_first"),this._first=this.newData(t,i)}static getComplementary(t,i){let n=0,s=t.position.length;n=this.makeBufferComplementary(s,t,n,i),n!==1/0&&i(n,1/0)}static get(t,i,n,s){let{filtered:o,position:r,size:l}=this.getData(t,n);return this.setAllBufferData(o,i,r,l,s),{position:r,size:l}}fullOf(t){let i=this._first.following,n=this._first.data;return i===null&&n===t}update(t,i){let n=this.getBufferData(t);if(!(n.data===i)){let{a:o,c:r,b:l}=this.newBuffers(t,n,i);this.setupInputData(n,o,r),this.setupUpdateBuffers(o,l,r)}}size(t){let i=0,n=this._first;for(;n!==null;)this.doesFilterPass(t,n)&&i++,n=n.following;return i}static setAllBufferData(t,i,n,s,o){for(let r=0;r<t.length;++r){let l=t[r];this.transform(l,i),this.setBuffers(n,s,r),o&&o(r,l.data)}}static makeBufferComplementary(t,i,n,s){for(let o=0;o<t;++o){let r=this.getBuffers(i,o),{position:l,size:d}=r;l>n&&s(n,l-n),n=l+d}return n}static setBuffers(t,i,n){t[n]=this._tempData.position,this._tempData.size===1/0?i[n]=this._inf:i[n]=this._tempData.size}add(t,i,n){if(!jq._stash.length)return this.newData(i,n,t);let o=jq._stash.pop();if(!o)throw new Error("Fragments: No stash found");return o.position=t,o.size=i,o.data=n,o}remove(t){t&&(t.following=null,t.past=null,jq._stash.push(t))}static getData(t,i){let n=t.filter(i),s=n.length,o=new Uint32Array(s),r=new Uint32Array(s);return{filtered:n,position:o,size:r}}filter(t){let i=[],n=this._first;for(;n!==null;)this.doesFilterPass(t,n)&&i.push(n),n=n.following;return i}static transform(t,i){let n=this.getTempData(),s=t.position+t.size,o=s===i.length;if(n.position=i[t.position],o)n.size=1/0;else{let r=i[s];n.size=r-n.position}return n}static getBuffers(t,i){let n=t.position[i],s=t.size[i]===this._inf,o;return s?o=1/0:o=t.size[i],{position:n,size:o}}static getTempData(){return this._tempData?this._tempData:{position:0,size:0}}doesFilterPass(t,i){return!t||t(i.data)}setupUpdateBuffers(t,i,n){this.chainBuffers(t,i,n),this.setupFirstBuffer(t,i),this.setupLastBuffer(n,i),this.setupMiddleBufferStart(i),this.setupMiddleBufferEnd(i)}setupMiddleBufferEnd(t){var i;if(((i=t.following)==null?void 0:i.data)===t.data){if(!t.following)return;let n=t.following.size+t.size,s=t.following.following;t.size=n,this.remove(t.following),t.following=s,t.following&&(t.following.past=t)}}setupFirstBuffer(t,i){t.size||(t.past?t.past.following=i:this._first=i,i.past=t.past,this.remove(t))}setupMiddleBufferStart(t){var i;if(((i=t.past)==null?void 0:i.data)===t.data){if(!t.past)return;t.size=t.past.size+t.size,t.position=t.past.position;let n=t.past.past;this.remove(t.past),t.past=n,t.past?t.past.following=t:this._first=t}}chainBuffers(t,i,n){t.following=i,i.past=t,i.following=n,n.past=i}setupLastBuffer(t,i){t.size||(t.following&&(t.following.past=i),i.following=t.following,this.remove(t))}newBuffers(t,i,n){let s=t-i.position,o=this.add(i.position,s,i.data),r=this.add(t,1,n),l=i.size-o.size-1,d=this.add(t+1,l,i.data);return{a:o,c:d,b:r}}setupInputData(t,i,n){t.past?(t.past.following=i,i.past=t.past):this._first=i,t.following&&(t.following.past=n,n.following=t.following),this.remove(t)}newData(t,i,n=0){return{position:n,size:t,past:null,following:null,data:i}}getBufferData(t){let i=this._first;for(;;){let n=i===null,s=i.position<=t,o=t<i.position+i.size;if(n||s&&o)return i;i=i.following}}};Ne(v$,"_stash",[]);Ne(v$,"_tempData",{position:0,size:0});Ne(v$,"_inf",4294967295);var Hq=v$,b1=class{static fixNumber(t){return Number.isNaN(t)||!Number.isFinite(t)?0:t}static forEach(t,i){if(Array.isArray(t)){let n=0;for(let s of t)i(s,n++);return}i(t,0)}},a$=class{static estimateCapacity(){let t=this.capacityFactor,i=window.screen.width,n=window.screen.height,s=window.devicePixelRatio;return Math.trunc(i*n*s*s*t)}};Ne(a$,"capacityFactor",200);var zV=class{static check(t,i,n){let s=this.get(n);return!!(t[i]&s)}static apply(t,i,n,s){let o=this.get(n);if(s){t[i]|=o;return}t[i]&=~o}static checkMemory(t){if(t>w8)throw new Error("Fragments: Memory overflow!")}static get(t){return 1<<t}},zN=class{static parseMaterial(t){let i=t.r()/255,n=t.g()/255,s=t.b()/255,o=t.a()/255,r=t.a()<255,l=new Oi().setRGB(i,n,s,Va),d=t.renderedFaces();return{color:l,renderedFaces:d,opacity:o,transparent:r,localId:void 0}}static parseBox(t,i){this.getBox(t,i,"min"),this.getBox(t,i,"max")}static parseTransform(t,i){return this.getVector(t,"position",this._doubleVector),this.getVector(t,"xDirection",this._floatVector),this.getVector(t,"yDirection",this._floatVector),this.computeZVector(),this.setTransform(i),i}static setTransform(t){let{x:i,y:n,z:s}=this._temp.xDirection,{x:o,y:r,z:l}=this._temp.yDirection,{x:d,y:h,z:p}=this._temp.zDirection,{x:I,y:m,z:y}=this._temp.position;t.set(i,o,d,I,n,r,h,m,s,l,p,y,0,0,0,1)}static getBox(t,i,n){t[n](this._floatVector);let s=this._floatVector.x(),o=this._floatVector.y(),r=this._floatVector.z();i[n].x=b1.fixNumber(s),i[n].y=b1.fixNumber(o),i[n].z=b1.fixNumber(r)}static getVector(t,i,n){t[i](n);let s=this._temp[i],o=n.x(),r=n.y(),l=n.z();s.x=b1.fixNumber(o),s.y=b1.fixNumber(r),s.z=b1.fixNumber(l)}static computeZVector(){this._temp.zDirection.crossVectors(this._temp.xDirection,this._temp.yDirection)}};Ne(zN,"_temp",{position:new ye,xDirection:new ye,yDirection:new ye,zDirection:new ye});Ne(zN,"_doubleVector",new l$);Ne(zN,"_floatVector",new pc);var QI=class{static get(t,i,n){this.fetchSampleTransform(t,i),this.fetchItemTransform(t,i),n.multiplyMatrices(this._item,this._sample)}static getBox(t,i){t.bbox(this._box),zN.parseBox(this._box,i)}static getBoxData(t){this._min.copy(t.min),this._max.copy(t.max),this._center.addVectors(this._min,this._max),this._center.divideScalar(2),t.getSize(this._distance)}static boxSize(t){return this.getBoxData(t),this.applyTransformer(),this._edge.start=this._min.clone(),this._edge.end=this._max.clone(),this._edge}static applyTransformer(){let{x:t,y:i,z:n}=this._distance,s=Math.max(t,i,n);t===s?this._transformers.x():i===s?this._transformers.y():this._transformers.z()}static fetchItemTransform(t,i){let n=t.item();i.globalTransforms(n,this._transform),zN.parseTransform(this._transform,this._item)}static fetchSampleTransform(t,i){let n=t.localTransform();i.localTransforms(n,this._transform),zN.parseTransform(this._transform,this._sample)}static setBoxZ(){this._min.set(this._center.x,this._center.y,this._min.z),this._max.set(this._center.x,this._center.y,this._max.z)}static setBoxY(){this._min.set(this._center.x,this._min.y,this._center.z),this._max.set(this._center.x,this._max.y,this._center.z)}static setBoxX(){this._min.set(this._min.x,this._center.y,this._center.z),this._max.set(this._max.x,this._center.y,this._center.z)}};Ne(QI,"_transform",new JI);Ne(QI,"_min",new ye);Ne(QI,"_max",new ye);Ne(QI,"_center",new ye);Ne(QI,"_distance",new ye);Ne(QI,"_edge",new ds);Ne(QI,"_item",new Ai);Ne(QI,"_sample",new Ai);Ne(QI,"_box",new r$);Ne(QI,"_transformers",{x:()=>QI.setBoxX(),y:()=>QI.setBoxY(),z:()=>QI.setBoxZ()});var f8=QI,u$=class{static getWidth(t){return t.getSize(this._temp.vector),this._temp.vector.x>this._temp.vector.y&&this._temp.vector.set(this._temp.vector.y,this._temp.vector.x,this._temp.vector.z),this._temp.vector.y>this._temp.vector.z&&this._temp.vector.set(this._temp.vector.x,this._temp.vector.z,this._temp.vector.y),this._temp.vector.x>this._temp.vector.y&&this._temp.vector.set(this._temp.vector.y,this._temp.vector.x,this._temp.vector.z),this._temp.vector.y}};Ne(u$,"_temp",{vector:new ye});var c$=class{static getEarcutDimensions(t){let i=Math.abs(t.x),n=Math.abs(t.y),s=Math.abs(t.z),o=0,r=1,l=2;return s>i&&s>n?t.z>0?[o,r]:[r,o]:n>i&&n>s?t.y>0?[l,o]:[o,l]:t.x>0?[r,l]:[l,r]}},Mne=class{constructor(t){Ne(this,"model"),Ne(this,"_endpointsMaterials",{interior:new _T({color:15658734,size:8,sizeAttenuation:!1,depthTest:!1}),exterior:new _T({color:16777215,size:16,sizeAttenuation:!1,depthTest:!1})}),Ne(this,"_absoluteAlignments",new Zo),Ne(this,"_horizontalAlignments",new Zo),Ne(this,"_verticalAlignments",new Zo),Ne(this,"_alignmentMaterials",new Map([[R2.NONE,new iE({color:16777215,linewidth:5,depthTest:!1})],[R2.LINES,new iE({color:16711935,linewidth:5,depthTest:!1})],[R2.CLOTHOID,new iE({color:16711680,linewidth:5,depthTest:!1})],[R2.ELLIPSE_ARC,new iE({color:65535,linewidth:5,depthTest:!1})],[R2.PARABOLA,new iE({color:255,linewidth:5,depthTest:!1})]])),this.model=t}async getAlignments(){return this._absoluteAlignments.children.length||await this.constructAlignments(),this._absoluteAlignments}async getHorizontalAlignments(){return this._horizontalAlignments.children.length||await this.constructAlignments(),this._horizontalAlignments}async getVerticalAlignments(){return this._verticalAlignments.children.length||await this.constructAlignments(),this._verticalAlignments}async getAlignmentStyles(){return{...this._alignmentMaterials,...this._endpointsMaterials}}async constructAlignments(){let t=await this.model.threads.invoke(this.model.modelId,"getAlignments");for(let i of t)this.constructLine(i.absolute,this._absoluteAlignments),this.constructLine(i.horizontal,this._horizontalAlignments),this.constructLine(i.vertical,this._verticalAlignments)}constructLine(t,i){if(!t.length)return;let n=[],s=[],o=new Zo;i.add(o);let r=t[0].points,l=t[t.length-1].points;s.push(l[0],l[1],l[2]),s.push(r[r.length-3],r[r.length-2],r[r.length-1]);for(let p of t){let I=p.points;n.push(I[0],I[1],I[2]),n.push(I[I.length-3],I[I.length-2],I[I.length-1]);let m=new o8;m.setPositions(I);let y=this._alignmentMaterials.get(p.type),T=new Dq(m,y);o.add(T),T.renderOrder=1,T.userData.points=I}let{interior:d,exterior:h}=this._endpointsMaterials;this.constructPoints(n,d,o),this.constructPoints(s,h,o)}constructPoints(t,i,n){let s=new my,o=new nn,r=new Float32Array(t),l=new Tn(r,3);o.setAttribute("position",l),s.geometry=o,s.material=i,n.add(s),s.renderOrder=2}dispose(){this._absoluteAlignments.removeFromParent();for(let t of this._absoluteAlignments.children){let i=t;i.geometry.dispose(),i.geometry=void 0,i.material=void 0}for(let t of Object.values(this._alignmentMaterials))t.dispose();this._alignmentMaterials={}}},Bne=class{async setup(t,i,n,s,o){let r=this.getCreateModelMessage(t,n,s,o),l=this.formatModelData(n),d=await t.threads.fetch(r,l);this.updateBox(i,d)}formatModelData(t){if(t instanceof ArrayBuffer)return[t]}updateBox(t,i){t.min.copy(i.boundingBox.min),t.max.copy(i.boundingBox.max)}getCreateModelMessage(t,i,n,s){return{class:_1.CREATE_MODEL,modelId:t.modelId,modelData:i,raw:n,config:s}}},Fne=class{async getBoxes(t,i){let n=this.getIndividualBoxesIds(i),s=this.getBoxRequest(t,n),o=await t.threads.fetch(s);return this.getAllBoxes(o,t)}async getMergedBox(t,i){let n=this.getBoxRequest(t,[i]),{boxes:s}=await t.threads.fetch(n),[o]=s;return this.getAbsoluteBox(o,t)}getAbsoluteBox(t,i){let n=new kn;return n.copy(t),n.applyMatrix4(i.object.matrixWorld),n}getIndividualBoxesIds(t){if(!t)return;let i=[];for(let n of t)i.push([n]);return i}getAllBoxes(t,i){let n=t.boxes,s=[];for(let o of n){let r=new kn;r.copy(o),r.applyMatrix4(i.object.matrixWorld),s.push(r)}return s}getBoxRequest(t,i){return{class:_1.FETCH_BOXES,modelId:t.modelId,localIds:i}}},Une=class{constructor(){Ne(this,"_coordinationMatrices",new Map)}async getCoordinationMatrix(t){let i=this._coordinationMatrices.get(t.modelId);if(i)return i;i=new Ai,this._coordinationMatrices.set(t.modelId,i);let[n,s,o,r,l,d,h,p,I]=await this.getCoordinates(t),m=new ye(r,l,d),y=new ye(h,p,I),T=new ye().crossVectors(m,y);return i.set(r,h,T.x,n,l,p,T.y,s,d,I,T.z,o,0,0,0,1),i}async getCoordinates(t){let i=t.modelId;return t.threads.invoke(i,"getCoordinates")}async getPositions(t,i){let n=[i],s=await t.threads.invoke(t.modelId,"getPositions",n);return this.getAbsolutePositions(s,t)}getAbsolutePositions(t,i){let n=[];for(let s of t){let{x:o,y:r,z:l}=s,d=new ye(o,r,l);d.applyMatrix4(i.object.matrixWorld),n.push(d)}return n}},Hne=class extends Map{constructor(t,i){super(i),Ne(this,"tracker",null),Ne(this,"localId"),Ne(this,"guard",()=>!0),this.localId=t}get object(){let t={};for(let[i,n]of this.entries())t[i]=n.value;return t}set(t,i){if(!(this.guard??(()=>!0))(t,i))return this;let o=i.type!==void 0?i:{value:i.value,type:this.getType(t)};if(!this.tracker)return super.set(t,o);if(this.localId===null)return console.warn("Item attributes are missing a valid localId. Changes can't be tracked."),super.set(t,o);let r=this.tracker.get(this.localId);return r||(r={type:"modified",added:{},deleted:[],modified:{}},this.tracker.set(this.localId,r)),r.type==="added"?r.data[t]=o:r.type==="modified"&&(this.has(t)?r.modified[t]=o:r.deleted.includes(t)?(r.deleted=r.deleted.filter(l=>l!==t),r.modified[t]=o):r.added[t]=o),super.set(t,o)}setValue(t,i){return this.set(t,{value:i,type:this.getType(t)})}setType(t,i){let n=this.getValue(t);return n?this.set(t,{value:n,type:i}):this}delete(t){if(!this.tracker)return super.delete(t);let i=this.get("localId");if(i===void 0||typeof i!="number")return console.warn("Item attributes are missing a valid localId. Changes can't be tracked."),t==="localId"?!1:super.delete(t);if(t==="localId"||!this.has(t))return!1;let n=this.tracker.get(i);return n||(n={type:"modified",added:{},deleted:[],modified:{}},this.tracker.set(i,n)),n.type==="added"?delete n.data[t]:n.type==="modified"&&(t in n.added?delete n.added[t]:(t in n.modified&&delete n.modified[t],n.deleted.push(t))),super.delete(t)}getValue(t){let i=this.get(t);return i?i.value:null}getType(t){var i;return(i=this.get(t))==null?void 0:i.type}},Gne=class extends Map{constructor(t,i){super(i),Ne(this,"tracker",null),Ne(this,"localId"),Ne(this,"guard",()=>!0),Ne(this,"onItemsRequested",null),this.localId=t}get itemChanges(){if(!this.tracker)return null;if(!this.localId)return console.warn("Item relations can't be tracked."),null;let t=this.tracker.get(this.localId);return t||(t={type:"modified",added:{},deleted:new Set,removed:{},modified:{}},this.tracker.set(this.localId,t)),t}set(t,i){let n=this.has(t);if(!(this.guard??(()=>!0))(t,i))return this;let r=this.itemChanges;return r?(n?r.modified[t]=i:r.added[t]=i,super.set(t,i)):super.set(t,i)}add(t,i){var n;let s=this.has(t),o=this.get(t);if(!o)return o=new Set([i]),this.set(t,o),!0;if(!o||o.has(i))return!1;let r=this.itemChanges;if(!r)return o.add(i),!0;if(s)if((n=r.removed[t])!=null&&n.has(i))r.removed[t].delete(i),r.removed[t].size===0&&delete r.removed[t];else{let l=r.modified[t];l||(l=new Set,r.modified[t]=l),l.add(i)}else{let l=r.added[t];l||(l=new Set,r.added[t]=l),l.add(i)}return o.add(i),!0}remove(t,i){var n;let s=this.get(t);if(!s||!s.has(i))return!1;let o=this.itemChanges;if(!o)return s.delete(i);if((n=o.modified[t])!=null&&n.has(i))o.modified[t].delete(i),o.modified[t].size===0&&delete o.modified[t];else{let r=o.removed[t];r||(r=new Set,o.removed[t]=r),r.add(i)}return s.delete(i)}delete(t){if(!this.has(t))return!1;let i=this.itemChanges;return i?(i.deleted.add(t),super.delete(t)):super.delete(t)}async getItems(t){if(!this.onItemsRequested)return null;let i=this.get(t);return i?await this.onItemsRequested([...i]):null}},Vne=class{constructor(t,i){Ne(this,"model"),Ne(this,"localId"),Ne(this,"_indices",null),Ne(this,"_transform",null),Ne(this,"_normals",null),Ne(this,"_positions",null),Ne(this,"_vertices",null),Ne(this,"_triangles",null),Ne(this,"_position",null),Ne(this,"_box",null),this.model=t,this.localId=i}async get(){let[t]=await this.model.threads.invoke(this.model.modelId,"getItemsGeometry",[[this.localId]]);for(let i of t){i.transform=new Ai().fromArray(i.transform.elements);let{indices:n,normals:s,positions:o,transform:r}=i;this._indices||(this._indices=[]),this._normals||(this._normals=[]),this._positions||(this._positions=[]),this._transform||(this._transform=[]),this._indices.push(n),this._normals.push(s),this._positions.push(o),this._transform.push(r)}return t}async getIndices(){return this._indices!==null?this._indices:(await this.get(),this._indices)}async getTransform(){return this._transform!==null?this._transform:(await this.get(),this._transform)}async getNormals(){return this._normals!==null?this._normals:(await this.get(),this._normals)}async getPositions(){return this._positions!==null?this._positions:(await this.get(),this._positions)}async getVertices(){if(this._vertices)return this._vertices;let t=await this.getPositions(),i=await this.getTransform();if(!t||!i)return this._vertices;this._vertices=[];for(let n=0;n<t.length;n++){let s=t[n],o=i[n];if(!s||!o)continue;let r=[];this._vertices.push(r);let l=Object.keys(s).length/3,d=[];for(let h=0;h<l;h++){let p=s[h*3],I=s[h*3+1],m=s[h*3+2];if(typeof p!="number"||typeof I!="number"||typeof m!="number")continue;let y=`${p},${I},${m}`;if(d.includes(y))continue;d.push(y);let T=new ye(p,I,m);T.applyMatrix4(o),r.push(T)}}return this._vertices}async getTriangles(){if(this._triangles)return this._triangles;let t=await this.getIndices(),i=await this.getPositions(),n=await this.getTransform();if(!t||!i||!n)return this._triangles;this._triangles=[];for(let s=0;s<t.length;s++){let o=t[s],r=i[s],l=n[s];if(!o||!r||!l)continue;let d=[];this._triangles.push(d);for(let h=0;h<o.length;h+=3){let p=o[h],I=o[h+1],m=o[h+2],y=new ye(r[p*3],r[p*3+1],r[p*3+2]),T=new ye(r[I*3],r[I*3+1],r[I*3+2]),R=new ye(r[m*3],r[m*3+1],r[m*3+2]);y.applyMatrix4(l),T.applyMatrix4(l),R.applyMatrix4(l),d.push(new fr(y,T,R))}}return this._triangles}async getPosition(){if(!this._position){if(this.localId===null)return null;this._position=await this.model.getPositions([this.localId])}return this._position}async getBox(){if(!this._box){if(this.localId===null)return null;this._box=await this.model.getBoxes([this.localId])}return this._box}async setVisibility(t){await this.model.setVisible([this.localId],t)}async getVisibility(){let[t]=await this.model.getVisible([this.localId]);return t}},kne=class{constructor(t,i){Ne(this,"model"),Ne(this,"_localId",null),Ne(this,"_attributes",null),Ne(this,"_relations",null),Ne(this,"_guid",null),Ne(this,"_category",null),Ne(this,"_geometry",null),this.model=t,typeof i=="number"&&(this._localId=i),typeof i=="string"&&(this._guid=i)}async getLocalId(){if(!this._localId)if(this._guid)[this._localId]=await this.model.threads.invoke(this.model.modelId,"getLocalIdsByGuids",[[this._guid]]);else throw new Error("Fragments: Item localId couldn't be get.");return this._localId}async getAttributes(){if(this._attributes)return this._attributes;let t=await this.getLocalId();if(t===null)return null;let i=await this.model.threads.invoke(this.model.modelId,"getItemAttributes",[t]);if(this._attributes=new Hne(t),!i){let s=this.model.attrsChanges.get(t);if(!(s&&s.type==="added"))return null;this._attributes.localId=t;for(let[o,r]of Object.entries(s.data))this._attributes.set(o,r);return this._attributes}let n=this.model.attrsChanges.get(t);if(n&&n.type==="modified")for(let[s,o]of Object.entries(n.added))this._attributes.set(s,o);for(let s in i){let{value:o,type:r}=i[s];n?.type==="modified"&&n.deleted.includes(s)||(n?.type==="modified"&&s in n.modified?this._attributes.set(s,n.modified[s]):this._attributes.set(s,{value:o,type:r}))}return this._attributes.tracker=this.model.attrsChanges,this._attributes}async getRelations(){if(this._relations)return this._relations;let t=await this.getLocalId();if(t===null)return null;let i=await this.model.threads.invoke(this.model.modelId,"getItemRelations",[t]);if(!i)return null;this._relations=new Gne(t),this._relations.onItemsRequested=async s=>{let o=[];for(let r of s){let l=this.model.getItem(r);l&&o.push(l)}return o};let n=this.model.relsChanges.get(t);if(n&&n.type==="modified")for(let[s,o]of Object.entries(n.added))this._relations.set(s,o);for(let[s,o]of Object.entries(i))if(!(n?.type==="modified"&&n.deleted.has(s)))if(n?.type==="modified"&&s in n.modified){let r=new Set([...n.modified[s],...o]);this._relations.set(s,new Set(r))}else this._relations.set(s,new Set(o));return this._relations.tracker=this.model.relsChanges,this._relations}async getGuid(){if(!this._guid){let t=await this.getLocalId();if(t===null)return null;[this._guid]=await this.model.threads.invoke(this.model.modelId,"getGuidsByLocalIds",[[t]])}return this._guid}async getCategory(){if(!this._category){let t=await this.getLocalId();if(t===null)return null;this._category=await this.model.threads.invoke(this.model.modelId,"getItemCategory",[t])}return this._category}async getGeometry(){if(this._geometry)return this._geometry;let t=await this.getLocalId();return t===null?null:new Vne(this.model,t)}async getData(t=[]){var i;let n=await this.getLocalId();if(n==null)return{};t.push(n);let s=(i=await this.getAttributes())==null?void 0:i.object,o=await this.getRelations(),r={};if(o)for(let d of o.keys()){let h=[];r[d]=h;let p=await o.getItems(d);if(p)for(let I of p){let m=await I.getLocalId();if(!m||t.find(T=>T===m)!==void 0)continue;t.push(m);let y=await I.getData(t);y&&h.push(y)}}return{...s,...r}}},zne=class{getItem(t,i){return new kne(t,i)}async getItemsData(t,i,n){return t.threads.invoke(t.modelId,"getItemsData",[i,n])}async getItemsChildren(t,i){return t.threads.invoke(t.modelId,"getItemsChildren",[i])}},Wne=class{constructor(){Ne(this,"getClippingPlanesEvent",()=>[]),Ne(this,"currentCamera",null),Ne(this,"_tempMatrix",new Ai),Ne(this,"_tempVec",new ye),Ne(this,"_tempFrustum",new F0),Ne(this,"_updateCameraPositionEvent",()=>{}),Ne(this,"_updateCameraFrustumEvent",()=>{}),Ne(this,"_updateFOVEvent",()=>{}),Ne(this,"_updateOrthoSizeEvent",()=>{})}async refreshView(t,i){let n=this.setup(i,t),s=MS.transform(this._tempFrustum,this._tempMatrix),o=this.newViewRequest(s,n,t);await t.threads.fetch(o)}useCamera(t){let i=new Ai;this.setCameraPosition(t),this.setCameraFrustum(t,i),this.setFov(t),this.setOrtho(),this.currentCamera=t}async setLodMode(t,i){return t.threads.invoke(t.modelId,"setLodMode",[i])}getOrthoSize(){let t=this._updateOrthoSizeEvent();if(t){let i=this._tempMatrix.getMaxScaleOnAxis();t*=i}return t}setup(t,i){return t.requests.clean(i.modelId),this._tempMatrix.copy(i.object.matrixWorld).invert(),this._updateCameraPositionEvent(this._tempVec),this._updateCameraFrustumEvent(this._tempFrustum),this._updateFOVEvent()}newViewRequest(t,i,n){let s=this.newView(t,i,n),o={};return o.class=_1.REFRESH_VIEW,o.modelId=n.modelId,o.cameraFrustum=t,o.view=s,o}newView(t,i,n){let s={};return s.cameraFrustum=t,s.cameraPosition=this._tempVec.applyMatrix4(this._tempMatrix),s.fov=i,s.orthogonalDimension=this.getOrthoSize(),s.viewSize=Math.max(window.innerWidth,window.innerHeight),s.graphicThreshold=a$.estimateCapacity(),s.graphicQuality=n.graphicsQuality*-1.5+2,s.clippingPlanes=this.getPlanes(),s.modelPlacement=n.object.matrixWorld,s}setOrtho(){this._updateOrthoSizeEvent=()=>{}}setFov(t){this._updateFOVEvent=()=>{if(t instanceof xo)return t.fov}}getPlanes(){let t=[],i=this.getClippingPlanesEvent();for(let n of i){let s=n.clone();s.applyMatrix4(this._tempMatrix),t.push(s)}return t}setCameraPosition(t){this._updateCameraPositionEvent=i=>{i.copy(t.position)}}setCameraFrustum(t,i){this._updateCameraFrustumEvent=n=>{t.updateProjectionMatrix(),t.updateWorldMatrix(!0,!0);let{projectionMatrix:s,matrixWorldInverse:o}=t;i.multiplyMatrices(s,o),n.setFromProjectionMatrix(i)}}},Yne=class{constructor(){Ne(this,"_caster",new fp),Ne(this,"_ray",new Wa),Ne(this,"_frustum",new F0),Ne(this,"_inverseTransform",new Ai),Ne(this,"_t",new es),Ne(this,"_r",new es),Ne(this,"_b",new es),Ne(this,"_l",new es),Ne(this,"_n",new es),Ne(this,"_f",new es),Ne(this,"_tl",new ye),Ne(this,"_tr",new ye),Ne(this,"_bl",new ye),Ne(this,"_br",new ye),Ne(this,"_tln",new ye),Ne(this,"_brn",new ye),Ne(this,"_tlp",new hi),Ne(this,"_brp",new hi),Ne(this,"distance",10)}async raycast(t,i){let{frustum:n,ray:s}=this.getRayAndFrustum(i),o=this.getRequest(t,n,s);if(!o)return null;let r=await t.threads.fetch(o);if(r.results&&r.results.length){let[l]=r.results;return this.getResult({hit:l,frustum:n,ray:s,model:t})}return null}async raycastAll(t,i){let{frustum:n,ray:s}=this.getRayAndFrustum(i),o=this.getRequest(t,n,s);if(!o)return null;o.returnAll=!0;let r=[],l=await t.threads.fetch(o);if(l.results&&l.results.length){for(let d of l.results)r.push(this.getResult({hit:d,frustum:n,ray:s,model:t}));return r}return null}async rectangleRaycast(t,i,n){let s=this.getFrustum(n),o=this.getRequest(t,s);if(!o)return null;o.fullyIncluded=n.fullyIncluded;let r=await t.threads.fetch(o);return r.localIds&&r.localIds.length?this.newRectangleCastResponse(r,i):null}async raycastWithSnapping(t,i){let{frustum:n,ray:s}=this.getRayAndFrustum(i),o=this.getRequest(t,n,s);if(!o)return null;o.snappingClass=i.snappingClasses;let r=await t.threads.fetch(o);return r.results?this.newRaycastSnapResult(r,n,s,t):null}screenRectToFrustum(t,i,n,s){return this.screenToCast(t,n,this._tlp),this.screenToCast(i,n,this._brp),this.setVectors(s),this.setPlanes(s),this.newFrustum()}screenToCasterPoint(t,i,n){let s=this.screenToCast(t,i);return this._caster.setFromCamera(s,n),this._caster.ray.clone()}setPlanes(t){this.setBasePoints(),t.getWorldDirection(this._n.normal),this.setEnds(t)}setVectors(t){this.setVector(this._tl,this._tlp,this._tlp,1,t),this.setVector(this._tr,this._brp,this._tlp,1,t),this.setVector(this._bl,this._tlp,this._brp,1,t),this.setVector(this._br,this._brp,this._brp,1,t),this.setVector(this._tln,this._tlp,this._tlp,0,t),this.setVector(this._brn,this._brp,this._brp,0,t)}newFrustum(){return new F0(this._t,this._b,this._l,this._r,this._f,this._n)}setEnds(t){if(t instanceof ba){let i=t.position,n=this._n.normal.dot(i);this._n.constant=-(n+t.near),this._f.constant=-(n-t.far)}else this._n.constant=t.position.length(),this._f.constant=1/0;this._f.normal=this._n.normal}screenToCast(t,i,n=new hi){let s=i.getBoundingClientRect(),o=s.width/i.clientWidth,r=s.height/i.clientHeight,l=(t.x-s.left)/o,d=(t.y-s.top)/r;return n.x=l/i.clientWidth*2-1,n.y=-(d/i.clientHeight)*2+1,n}setVector(t,i,n,s,o){t.set(i.x,n.y,s),t.unproject(o)}setPlane(t,i,n,s){t.setFromCoplanarPoints(i,n,s)}setBasePoints(){this.setPlane(this._t,this._tln,this._tl,this._tr),this.setPlane(this._r,this._brn,this._tr,this._br),this.setPlane(this._b,this._brn,this._br,this._bl),this.setPlane(this._l,this._tln,this._bl,this._tl)}setupRay(t,i){t&&(this._ray.copy(t),this._ray.applyMatrix4(this._inverseTransform),i.ray=this._ray)}setupMatrix(t){this._inverseTransform.copy(t.matrixWorld),this._inverseTransform.invert()}getRequest(t,i,n){let{object:s,box:o,modelId:r}=t;return i.intersectsBox(o)?this.newCastRequest(s,r,n,i):null}getRayAndFrustum(t){this.updateCamera(t.camera);let{bottomLeft:i,topRight:n}=this.getCorners(t.mouse),s=this.screenToCasterPoint(t.mouse,t.dom,t.camera),o=this.screenRectToFrustum(i,n,t.dom,t.camera);return{ray:s,frustum:o}}getFrustum(t){return this.updateCamera(t.camera),this.screenRectToFrustum(t.topLeft,t.bottomRight,t.dom,t.camera)}getCorners(t){let i=t.clone().subScalar(this.distance),n=t.clone().addScalar(this.distance);return{bottomLeft:i,topRight:n}}getResult(t){let{hit:i,frustum:n,ray:s,model:o}=t,r={};return this.setPoint(o,i,r),this.setNormal(o,i,r),this.setDistance(o,i,r),this.setRayDistance(o,i,r),this.setBasicHitData(o,i,r,s,n),this.setSnapEdge(o,i,r,"snappedEdgeP1"),this.setSnapEdge(o,i,r,"snappedEdgeP2"),r.facePoints=i.facePoints,r.faceIndices=i.faceIndices,r}updateCamera(t){t.updateProjectionMatrix(),t.updateWorldMatrix(!0,!0)}newCastRequest(t,i,n,s){this.setupMatrix(t);let o={};return o.class=_1.RAYCAST,o.modelId=i,this.setupRay(n,o),MS.transform(s,this._inverseTransform,this._frustum),o.frustum=this._frustum,o}setSnapEdge(t,i,n,s){if(i[s]){let o=new ye;o.copy(i[s]),o.applyMatrix4(t.object.matrixWorld),n[s]=o}else n[s]=void 0}setNormal(t,i,n){if(i.normal){let s=new ye;s.copy(i.normal),s.transformDirection(t.object.matrixWorld),s.normalize(),n.normal=s;return}n.normal=void 0}setDistance(t,i,n){let s=Math.sqrt(i.cameraSquaredDistance),o=t.object.matrixWorld.getMaxScaleOnAxis();n.distance=s*o}setPoint(t,i,n){let s=new ye;s.copy(i.point),s.applyMatrix4(t.object.matrixWorld),n.point=s}newRaycastSnapResult(t,i,n,s){let o=[];for(let r of t.results){let l=this.getResult({hit:r,frustum:i,ray:n,model:s});o.push(l)}return o}newRectangleCastResponse(t,i){return{localIds:t.localIds,fragments:i.list.get(t.modelId)}}setRayDistance(t,i,n){if(i.raySquaredDistance!==void 0){let s=t.object.matrixWorld.getMaxScaleOnAxis(),o=Math.sqrt(i.raySquaredDistance);n.rayDistance=o*s;return}n.rayDistance=void 0}setBasicHitData(t,i,n,s,o){n.itemId=i.itemId,n.localId=i.localId,n.object=t.object,n.fragments=t,n.ray=s,n.frustum=o,n.representationClass=i.representationClass,n.snappingClass=i.snappingClass}},jne=class{async resetVisible(t){await t.threads.invoke(t.modelId,"resetVisible")}async getItemsByVisibility(t,i){return t.threads.invoke(t.modelId,"getItemsByVisibility",[i])}async getVisible(t,i){return t.threads.invoke(t.modelId,"getVisible",[i])}},R8=class{};Ne(R8,"vertex",`
|
||
#include <common>
|
||
#include <clipping_planes_pars_vertex>
|
||
|
||
attribute float itemFilter;
|
||
uniform vec2 lodSize;
|
||
attribute vec3 itemFirst;
|
||
attribute vec3 itemLast;
|
||
|
||
float lodWidth = 2.0;
|
||
|
||
void cutLodLine(const in vec4 first, inout vec4 second ) {
|
||
float projValue1 = projectionMatrix[2][2];
|
||
float projValue2 = projectionMatrix[3][2];
|
||
float approxResult = -(projValue2 / projValue1) / 2.0;
|
||
float diff1 = approxResult - first.z;
|
||
float diff2 = second.z - first.z;
|
||
float cutFilter = diff1 / diff2;
|
||
second.xyz = mix(first.xyz, second.xyz, cutFilter);
|
||
}
|
||
|
||
varying float vHighlight;
|
||
|
||
void main() {
|
||
if (itemFilter == 0.0) {
|
||
gl_Position = vec4(0,0,0,0);
|
||
return;
|
||
}
|
||
|
||
vHighlight = itemFilter > 1.5 ? 1.0 : 0.0;
|
||
|
||
vec4 rawFirst = vec4(itemFirst, 1.0);
|
||
vec4 rawLast = vec4(itemLast, 1.0);
|
||
vec4 first = modelViewMatrix * rawFirst;
|
||
vec4 last = modelViewMatrix * rawLast;
|
||
|
||
bool lodPerspective = projectionMatrix[2][3] == -1.0;
|
||
if (lodPerspective) {
|
||
bool firstCut = first.z < 0.0 && last.z >= 0.0;
|
||
bool lastCut = last.z < 0.0 && first.z >= 0.0;
|
||
if (firstCut) {
|
||
cutLodLine( first, last );
|
||
} else if (lastCut) {
|
||
cutLodLine( last, first );
|
||
}
|
||
}
|
||
|
||
vec4 firstCut = projectionMatrix * first;
|
||
vec4 lastCut = projectionMatrix * last;
|
||
vec3 firstNdc = firstCut.xyz / firstCut.w;
|
||
vec3 lastNdc = lastCut.xyz / lastCut.w;
|
||
|
||
vec2 lodOrientation = lastNdc.xy - firstNdc.xy;
|
||
|
||
float lodRatio = lodSize.x / lodSize.y;
|
||
lodOrientation.x *= lodRatio;
|
||
lodOrientation = normalize(lodOrientation);
|
||
|
||
vec2 lodDistance = vec2(lodOrientation.y, - lodOrientation.x);
|
||
lodOrientation.x /= lodRatio;
|
||
lodDistance.x /= lodRatio;
|
||
|
||
if (position.x < 0.0) {
|
||
lodDistance *= - 1.0;
|
||
}
|
||
|
||
if (position.y < 0.0) {
|
||
lodDistance += -lodOrientation;
|
||
} else if (position.y > 1.0) {
|
||
lodDistance += lodOrientation;
|
||
}
|
||
|
||
lodDistance *= lodWidth;
|
||
lodDistance /= lodSize.y;
|
||
|
||
bool isFirst = position.y < 0.5;
|
||
vec4 lodPosition = isFirst ? firstCut : lastCut;
|
||
lodDistance *= lodPosition.w;
|
||
lodPosition.xy += lodDistance;
|
||
gl_Position = lodPosition;
|
||
|
||
vec4 mvPosition = isFirst ? first : last;
|
||
#include <clipping_planes_vertex>
|
||
}
|
||
`);Ne(R8,"fragment",`
|
||
#include <common>
|
||
#include <clipping_planes_pars_fragment>
|
||
|
||
uniform vec3 lodColor;
|
||
uniform float lodOpacity;
|
||
uniform vec3 highlightColor;
|
||
uniform float highlightOpacity;
|
||
|
||
varying float vHighlight;
|
||
|
||
void main() {
|
||
#include <clipping_planes_fragment>
|
||
vec3 color = mix(lodColor, highlightColor, vHighlight);
|
||
float alpha = mix(lodOpacity, highlightOpacity, vHighlight);
|
||
gl_FragColor = vec4(color, alpha);
|
||
#include <colorspace_fragment>
|
||
}
|
||
`);var Ik=class ON{static setupLodMeshResize(t){t.onBeforeRender=i=>{i.getSize(t.material[0].lodSize)}}static setupLodAttributes(t){t.setIndex(ON.indices),t.setAttribute("position",ON.vertices)}static setLodBuffer(t,i,n){let s=t.getItemFirst(),o=t.getItemLast(),r=this.setItemFirst(t,s,i,o);({itemFirst:s,dataBuffer:r,itemLast:o}=this.resetAttributes(s,r,i,o)),this.setupFinish(n,r),t.setAttribute("itemFirst",s),t.setAttribute("itemLast",o)}static setLodVisibility(t,i){let n=this.setupItemFilter(t);this.applyVisibilityState(t,i,n),n.needsUpdate=!0}static getInterAttribute(t,i){return t.getAttribute(i)}static computeLodSphere(t){if(!t.boundingSphere)return;let i=t.getItemFirst();if(i){let n=ON.getLodMidPoint(t,i),s=ON.getLodRadius(n,i);t.boundingSphere.radius=s}}static newLodMaterialParams(t){let i={lodColor:{value:new Oi(t.color)},lodSize:{value:new hi(1,1)},lodOpacity:{value:t.opacity??1},highlightColor:{value:new Oi(1,1,1)},highlightOpacity:{value:1}},n=eN.merge([an.common,i]),s=t.transparent??!1;return{uniforms:n,transparent:s,vertexShader:R8.vertex,fragmentShader:R8.fragment}}static setLodFilter(t,i){let n=t.getItemFilter(),s=n.array;for(let o=0;o<i.position.length;++o){let r=i.position[o]/2,l=i.size[o]/2;l===4294967295?s.fill(1,r):s.fill(1,r,r+l)}n.needsUpdate=!0}static setLodHighlight(t,i){let n=t.getItemFilter(),s=n.array;for(let o=0;o<i.position.length;++o){let r=i.position[o]/2,l=i.size[o]/2;l===4294967295?s.fill(2,r):s.fill(2,r,r+l)}n.needsUpdate=!0}static getInstancedAttribute(t,i){return t.getAttribute(i)}static computeLodBox(t){if(!t.boundingBox)return;let i=t.getItemFirst();if(i){let n=i.data.array;t.boundingBox.setFromArray(n);return}t.boundingBox.makeEmpty()}static setDataBuffer(t,i,n){return t=i.data,t.array=n,t.needsUpdate=!0,t}static disposeAllData(t){delete t.attributes.itemFilter,delete t.attributes.position,t.index=null,t.dispose(),ON.setupLodAttributes(t)}static setItemFirst(t,i,n,s){let o=null;return i&&(n.length===i.data.array.length?o=this.setDataBuffer(o,i,n):(i=void 0,this.disposeAllData(t))),o}static setupFinish(t,i){t&&(i.onUploadCallback=t)}static resetAttributes(t,i,n,s){return t||(i=new Dm(n,6,1),t=new Du(i,3,0),s=new Du(i,3,3)),{itemFirst:t,dataBuffer:i,itemLast:s}}static setupItemFilter(t){let n=t.getItemFirst().count,s=t.getItemFilter();return s?s.array.fill(0):(s=new B0(new Uint8Array(n),1),t.setAttribute("itemFilter",s)),s}static applyVisibilityState(t,i,n){if(i===!0){n.array.fill(1);return}i&&this.setLodFilter(t,i)}static getLodMidPoint(t,i){let n=t.boundingSphere.center;return this.tempBox.setFromArray(i.data.array),this.tempBox.getCenter(n),n}static getLodRadius(t,i){let n=0,s=i.data.array.length;for(let o=0;o<s;o+=3){let r=i.data.array;ON.tempVec.fromArray(r,o);let l=t.distanceToSquared(ON.tempVec);n=Math.max(n,l)}return Math.sqrt(n)}};Ne(Ik,"tempVec",new ye);Ne(Ik,"tempBox",new kn);Ne(Ik,"vertices",new ln([-1,2,0,1,2,0,-1,1,0,1,1,0,-1,0,0,1,0,0,-1,-1,0,1,-1,0],3));Ne(Ik,"indices",new aP([0,2,1,2,3,1,2,4,3,4,5,3,4,6,5,6,7,5],1));var D3=Ik,d$=class extends _i{constructor(t,i){super(t,i),Ne(this,"geometry"),Ne(this,"material"),this.geometry=t,this.material=i,D3.setupLodMeshResize(this)}},qne=class extends Xv{constructor(){super(),Ne(this,"isLODGeometry",!0),D3.setupLodAttributes(this)}isFiltered(){return!!this.getItemFilter()}computeBoundingBox(){this.boundingBox||(this.boundingBox=new kn),D3.computeLodBox(this)}applyMatrix4(t){return this.applyTransformToBuffers(t),this.updateBounds(),this}computeBoundingSphere(){this.boundingSphere||(this.boundingSphere=new no),D3.computeLodSphere(this)}getItemFilter(){return D3.getInstancedAttribute(this,"itemFilter")}getItemLast(){return D3.getInterAttribute(this,"itemLast")}getItemFirst(){return D3.getInterAttribute(this,"itemFirst")}applyTransformToBuffers(t){this.getItemFirst().applyMatrix4(t),this.getItemLast().applyMatrix4(t)}updateBounds(){this.boundingBox&&this.computeBoundingBox(),this.boundingSphere&&this.computeBoundingSphere()}},$ne=class extends Kl{constructor(t){super(D3.newLodMaterialParams(t)),Ne(this,"isLodMaterial",!0),Ne(this,"isLineMaterial",!0),this.clipping=!0,this.lights=!1,this.needsUpdate=!0}get lodSize(){return this.uniforms.lodSize.value}set lodColor(t){this.uniforms.lodColor.value=t}set lodSize(t){this.uniforms.lodSize.value.copy(t)}get lodColor(){return this.uniforms.lodColor.value}set lodOpacity(t){this.uniforms.lodOpacity.value=t}get lodOpacity(){return this.uniforms.lodOpacity.value}set highlightColor(t){this.uniforms.highlightColor.value=t}get highlightColor(){return this.uniforms.highlightColor.value}set highlightOpacity(t){this.uniforms.highlightOpacity.value=t}get highlightOpacity(){return this.uniforms.highlightOpacity.value}},rk=class{constructor(){Ne(this,"list",new fo),Ne(this,"_modelMaterialMapping",new Map),Ne(this,"_definitions",new Map),Ne(this,"_idGenerator",new soe),Ne(this,"white",4294967295)}static resetColors(t){for(let i of t){if(!(i&&i.color))continue;let{color:n}=i;if(n.isColor)continue;let{r:s,g:o,b:r}=n;i.color=new Oi().setRGB(s,o,r,Va)}}dispose(t){this._definitions.delete(t);let i=this._modelMaterialMapping.get(t);if(i){for(let n of i){let s=this.list.get(n);s&&(s.dispose(),this.list.delete(n))}this._modelMaterialMapping.delete(t)}}get(t,i){let{modelId:n,objectClass:s,currentLod:o,templateId:r}=i;if(!(n&&s!==void 0&&o!==void 0))throw new Error("Fragments: material definition information is missing to create the material.");this._idGenerator.fromMaterialData({modelId:n,objectClass:s,currentLod:o,templateId:r,...t});let{value:l}=this._idGenerator;return this.getUniqueMaterial(l,t,i)}addDefinitions(t,i){let n=this._definitions.get(t);n?n.push(...i):this._definitions.set(t,i)}createHighlights(t,i){let{tileData:{highlightData:n,highlightIds:s},modelId:o,material:r}=i,{geometry:l}=t,d=t.material.slice(0,2),h=new Map,p=this._definitions.get(o);if(!p)return d;for(let I=0;I<n.position.length;I++){let m=s[I];this.processHighlight(h,m,p,r,i,d);let y=n.position[I],T=n.size[I],b=T===this.white?1/0:T;l.addGroup(y,b,h.get(s[I]))}return d}getHighlightProps(t,i,n){let s=this._definitions.get(n);if(!s)return;let o=s[i],r=s[t];if(!r||!o)return;let{preserveOriginalMaterial:l,_explicitProps:d,...h}=r,p={...o};if(l)for(let I of d??[])h[I]!==void 0&&(p[I]=h[I]);else Object.assign(p,h);return p}getFromRequest(t){let{material:i,modelId:n}=t,s=this._definitions.get(n),o=s?.[i];if(!o)throw new Error(`Fragments: Missing mesh material for index ${i}`);return this.get(o,t)}newLODMaterial(t,i){let{data:n}=t,s=new Oi(n.color);i.currentLod===Zs.WIRES&&s.multiplyScalar(.85);let o={color:s,...this.getParameters(n)},r=new $ne(o);return r.userData={customId:n.customId},r}getParameters(t){let{opacity:i,transparent:n}=t,s=i<1;return{opacity:i,transparent:n||s,clipIntersection:!1}}new(t,i){let{objectClass:n,templateId:s}=i,o;if(n===nI.SHELL)o=new tw({color:t.color,transparent:t.opacity<1,opacity:t.opacity,userData:{customId:t.customId,localId:t.localId},depthTest:t.depthTest??!0,depthWrite:t.depthWrite??!0,side:t.renderedFaces===1?so:$l});else if(n===nI.LINE)o=this.newLODMaterial({data:t,instancing:s!==void 0},i);else throw new Error("Fragments: Unsupported object class");return o}addMaterialToModel(t,i){let n=this._modelMaterialMapping.get(t);n||(n=new Set,this._modelMaterialMapping.set(t,n)),n.add(i)}processHighlight(t,i,n,s,o,r){if(!t.has(i)){let l=n[s],d=n[i],{preserveOriginalMaterial:h,_explicitProps:p,...I}=d,m={...l};if(h)for(let T of p??[])I[T]!==void 0&&(m[T]=I[T]);else Object.assign(m,I);let y=this.get(m,o);r.push(y),t.set(i,r.length-1)}}getUniqueMaterial(t,i,n){let s=n.modelId,o=this.list.get(t);if(o)return o;let r=this.new(i,n);return this.list.set(t,r),this.addMaterialToModel(s,t),this.list.get(t)}},Zne=class{async getHighlight(t,i){let n=await t.threads.invoke(t.modelId,"getHighlight",[i]);return rk.resetColors(n),n}async highlight(t,i,n){await t.threads.invoke(t.modelId,"highlight",[i,n])}async setColor(t,i,n){await t.threads.invoke(t.modelId,"setColor",[i,n])}async resetColor(t,i){await t.threads.invoke(t.modelId,"resetColor",[i])}async setOpacity(t,i,n){await t.threads.invoke(t.modelId,"setOpacity",[i,n])}async resetOpacity(t,i){await t.threads.invoke(t.modelId,"resetOpacity",[i])}async getHighlightItemIds(t){return t.threads.invoke(t.modelId,"getHighlightItemIds")}async resetHighlight(t,i){await t.threads.invoke(t.modelId,"resetHighlight",[i])}},Kne=class{async getSection(t,i,n){let s=[i,n];return await t.threads.invoke(t.modelId,"getSection",s)}},Qne=class{async dispose(t,i,n,s){i.list.delete(t.modelId),await this.requestModelDelete(t),t.threads.delete(t.modelId),t.object.removeFromParent(),this.deleteAllTiles(t),i.materials.dispose(t.modelId),n.dispose(),s.dispose()}async getBuffer(t,i){return t.threads.invoke(t.modelId,"getBuffer",[i])}async getCategories(t){return t.threads.invoke(t.modelId,"getCategories")}async getMaxLocalId(t){return t.threads.invoke(t.modelId,"getMaxLocalId")}async getLocalIdsByGuids(t,i){return t.threads.invoke(t.modelId,"getLocalIdsByGuids",[i])}async getSpatialStructure(t){return t.threads.invoke(t.modelId,"getSpatialStructure")}async getItemsWithGeometry(t){return(await t.threads.invoke(t.modelId,"getItemsWithGeometry",[])).map(s=>t.getItem(s))}async getItemsWithGeometryCategories(t){return t.threads.invoke(t.modelId,"getItemsWithGeometryCategories",[])}async getItemsIdsWithGeometry(t){return t.threads.invoke(t.modelId,"getItemsWithGeometry",[])}async getItemsOfCategories(t,i){let n=[i];return await t.threads.invoke(t.modelId,"getItemsOfCategories",n)}async getItemsByQuery(t,i,n){let s=[i,n];return await t.threads.invoke(t.modelId,"getItemsByQuery",s)}async getMetadata(t){return t.threads.invoke(t.modelId,"getMetadata",[])}async getCRS(t){return t.threads.invoke(t.modelId,"getCRS",[])}async getGuidsByLocalIds(t,i){return t.threads.invoke(t.modelId,"getGuidsByLocalIds",[i])}async requestModelDelete(t){await t.threads.fetch({class:_1.DELETE_MODEL,modelId:t.modelId})}deleteAllTiles(t){for(let[i]of t.tiles)t.tiles.delete(i)}},Jne=class{async getSequenced(t,i,n,s){let o=[i,n,s];return await t.threads.invoke(t.modelId,"getSequenced",o)}},Xne=class{constructor(t,i){Ne(this,"_deltaModels",{}),Ne(this,"_fragments"),Ne(this,"_connection"),this._fragments=t,this._connection=i}async edit(t,i,n={removeRedo:!0}){let s=this._fragments.models.list.get(t);if(!s)throw new Error(`Model ${t} not found`);let o=this._deltaModels[t]||[];this._deltaModels[t]=null,n.removeRedo&&s._setRequests({undoneRequests:[]});let{deltaModelBuffer:r,ids:l}=await s._edit(i),d=0;for(let I=0;I<i.length;I++)i[I].localId===void 0&&(i[I].localId=l[d++]);let h=await this.load(r,s);this._deltaModels[t]=[h],s.deltaModelId=h.modelId;let p=[];for(let I of o)p.push(I.dispose()),this._fragments.models.list.delete(I.modelId);return await Promise.all(p),l}async save(t){let i=this._fragments.models.list.get(t);if(!i)return console.log(`Model ${t} not found`),null;let n=i.object.parent,s=await i._getRequests(),o=i.camera||void 0,r=await i._save();await i.dispose();let l=await this._fragments.load(r,{modelId:t,raw:!0,camera:o});return await l._setRequests({undoneRequests:s.undoneRequests}),n&&n.add(l.object),s}async reset(t){let i=this._fragments.models.list.get(t);if(!i){console.log(`Model ${t} not found`);return}await i._reset(),await this.disposeDeltaModels(t)}async getRequests(t){let i=this._fragments.models.list.get(t);if(!i)throw new Error(`Model ${t} not found`);return i._getRequests()}async selectRequest(t,i){let n=this._fragments.models.list.get(t);if(!n)throw new Error(`Model ${t} not found`);return n._selectRequest(i)}async _update(t){let i=this._deltaModels[t];if(i){let n=[];for(let s of i)n.push(s._refreshView());await Promise.all(n)}}async disposeDeltaModels(t){let i=this._deltaModels[t];if(i){for(let n of i)await n.dispose();this._deltaModels[t]=[]}}async load(t,i){let n=Hs.DELTA_MODEL_ID,s=`${i.modelId}${n}${performance.now()}`,o=new Ume(s,this._fragments.models,this._connection,this._fragments.editor);o._setDeltaModel(i.modelId),o.frozen=!0,o.graphicsQuality=this._fragments.settings.graphicsQuality;try{this._fragments.models.list.set(o.modelId,o),await o._setup(t,!0),i.object.add(o.object)}catch(l){throw this._fragments.models.list.delete(o.modelId),l}let r=i.camera;return r&&o.useCamera(r),o._frozen=!1,await o._refreshView(),await this._fragments.models.forceUpdateFinish(),o}},ese=class{constructor(t){Ne(this,"_nextTempIds",{}),Ne(this,"_requests",{}),Ne(this,"_fragments"),this._fragments=t}getRequests(t){let i=this.getModelRequests(t);this._requests[t]=this.newRequests();let{create:n,update:s,remove:o,relations:{create:r,update:l,remove:d}}=i,h=Object.values(n),p=Object.values(s),I=Object.values(o),m=Object.values(r),y=Object.values(l),T=Object.values(d),R=[...I,...h,...p,...m,...y,...T];return R.length>0?R:null}createMaterial(t,i){let n=this.getNextTempId(t),s={r:i.color.r*255,g:i.color.g*255,b:i.color.b*255,a:i.opacity*255,renderedFaces:i.side===so?1:0,stroke:0};return this.addRequest(t,n,"create",{type:on.CREATE_MATERIAL,tempId:n,data:s}),n}createLocalTransform(t,i){let n=this.getNextTempId(t),s=as.transformFromMatrix(i);return this.addRequest(t,n,"create",{type:on.CREATE_LOCAL_TRANSFORM,tempId:n,data:s}),n}createShell(t,i){let n=this.getNextTempId(t),s=as.representationFromGeometry(i);return this.addRequest(t,n,"create",{type:on.CREATE_REPRESENTATION,tempId:n,data:s}),n}createCircleExtrusion(t,i){let n=as.bboxFromCircleExtrusion(i),s=this.getNextTempId(t);return this.addRequest(t,s,"create",{type:on.CREATE_REPRESENTATION,tempId:s,data:{representationClass:No.CIRCLE_EXTRUSION,bbox:n,geometry:i}}),s}createGlobalTransform(t,i,n){let s=this.getNextTempId(t),o=as.transformFromMatrix(i);return this.addRequest(t,s,"create",{type:on.CREATE_GLOBAL_TRANSFORM,tempId:s,data:{itemId:n,...o}}),s}createSample(t,i){let{localTransform:n,representation:s,material:o,globalTransform:r}=i,l=this.getNextTempId(t);return this.addRequest(t,l,"create",{type:on.CREATE_SAMPLE,tempId:l,data:{localTransform:n,representation:s,material:o,item:r}}),l}createItem(t,i){let n=this.getNextTempId(t);return this.addRequest(t,n,"create",{type:on.CREATE_ITEM,tempId:n,data:i}),n}setItem(t,i){let n=i._localId;if(!n)throw new Error("No local id provided for the item to set");let s=n.value,o=Hs.itemDataToRawItemData(i);this.addRequest(t,n.value,"update",{type:on.UPDATE_ITEM,localId:s,data:o})}async relate(t,i,n,s){let o=this._fragments.models.list.get(t);if(!o)throw new Error(`Model ${t} not found`);let l=(await o.getRelations([i])).get(i);if(!l){this.addRelationRequest(t,i,"create",{type:on.CREATE_RELATION,localId:i,data:{data:{[n]:s}}});return}if(!l.data[n])l.data[n]=s;else{let d=new Set(l.data[n]);for(let h of s)d.add(h);l.data[n]=Array.from(d)}this.addRelationRequest(t,i,"update",{type:on.UPDATE_RELATION,localId:i,data:l})}async unrelate(t,i,n,s){let o=this._fragments.models.list.get(t);if(!o)throw new Error(`Model ${t} not found`);let l=(await o.getRelations([i])).get(i);if(!l||!l.data[n])return;let d=new Set(l.data[n]);for(let h of s)d.delete(h);l.data[n]=Array.from(d),this.addRelationRequest(t,i,"update",{type:on.UPDATE_RELATION,localId:i,data:l})}async get(t,i){let n=this._fragments.models.list.get(t);if(!n)throw new Error(`Model ${t} not found`);return n._getElements(i)}async create(t,i){for(let l of i){let{attributes:d,samples:h,globalTransform:p}=l,I=this.getNextTempId(t),m=Hs.itemDataToRawItemData(d);this.addRequest(t,I,"create",{type:on.CREATE_ITEM,tempId:I,data:m});let y=this.createGlobalTransform(t,p,I);for(let T of h){let{localTransform:R,representation:b,material:A}=T,O;typeof R!="number"&&typeof R!="string"?O=this.createLocalTransform(t,R):O=R;let P;typeof b!="number"&&typeof b!="string"?P=this.createShell(t,b):P=b;let U;typeof A!="number"&&typeof A!="string"?U=this.createMaterial(t,A):U=A,this.createSample(t,{localTransform:O,representation:P,material:U,globalTransform:y})}}let n=this.getRequests(t);if(!n)return console.log("Something went wrong, no requests sent"),null;let s=[];for(let l=0;l<n.length;l++)n[l].type===on.CREATE_ITEM&&s.push(l);let o=await this._fragments.editor.edit(t,n),r=s.map(l=>o[l]);return this.get(t,r)}delete(t,i){for(let n of i){n.delete();let s=n.getRequests();if(s)for(let o of s){let r=o.localId;r&&this.addRequest(t,r,"remove",o)}}}async applyChanges(t,i=[]){let n=[];for(let o of i){let r=o.getRequests();r&&n.push(...r)}let s=this.getRequests(t);return s&&n.push(...s),n.length>0?this._fragments.editor.edit(t,n):[]}async deleteData(t,i){let n=this._fragments.models.list.get(t);if(!n)throw new Error(`Model ${t} not found`);let s=i.filterInUse??!0,{itemIds:o,materialIds:r,localTransformIds:l,representationIds:d,sampleIds:h}=i,p=new Set,I=new Set,m=new Set,y=new Set;if(s){let T=await n.getSamples();for(let R of T.values())p.add(R.material),I.add(R.localTransform),m.add(R.item),y.add(R.representation)}if(r)for(let T of r){if(s&&p.has(T)){console.log(`Material ${T} is used, skipping`);continue}if(this.isBeingCreated(t,T)){delete this._requests[t].create[T];continue}this.addRequest(t,T,"remove",{type:on.DELETE_MATERIAL,localId:T})}if(l)for(let T of l){if(s&&I.has(T)){console.log(`Local transform ${T} is used, skipping`);continue}if(this.isBeingCreated(t,T)){delete this._requests[t].create[T];continue}this.addRequest(t,T,"remove",{type:on.DELETE_LOCAL_TRANSFORM,localId:T})}if(d)for(let T of d){if(s&&y.has(T)){console.log(`Representation ${T} is used, skipping`);continue}if(this.isBeingCreated(t,T)){delete this._requests[t].create[T];continue}this.addRequest(t,T,"remove",{type:on.DELETE_REPRESENTATION,localId:T})}if(h)for(let T of h){if(this.isBeingCreated(t,T)){delete this._requests[t].create[T];continue}this.addRequest(t,T,"remove",{type:on.DELETE_SAMPLE,localId:T})}if(o)for(let T of o){if(this.isBeingCreated(t,T)){delete this._requests[t].create[T];continue}this.addRequest(t,T,"remove",{type:on.DELETE_ITEM,localId:T})}}getNextTempId(t){return this._nextTempIds[t]||(this._nextTempIds[t]=0),(this._nextTempIds[t]++).toString()}addRelationRequest(t,i,n,s){let l=this.getModelRequests(t).relations[n],d=i;l[d]=s}addRequest(t,i,n,s){let r=this.getModelRequests(t)[n],l=i;r[l]=s}getModelRequests(t){return this._requests[t]||(this._requests[t]=this.newRequests()),this._requests[t]}isBeingCreated(t,i){return this._requests[t]?this._requests[t].create[i]!==void 0:!1}newRequests(){return{update:{},create:{},remove:{},relations:{create:{},update:{},remove:{}}}}},tse=class{constructor(t,i){Ne(this,"onEdit",new Lc),Ne(this,"_editHelper"),Ne(this,"_elementsHelper"),this._editHelper=new Xne(t,i),this._elementsHelper=new ese(t)}async edit(t,i,n={removeRedo:!0}){let s=await this._editHelper.edit(t,i,n);return this.onEdit.trigger(),s}async save(t){return this._editHelper.save(t)}async reset(t){await this._editHelper.reset(t)}async getModelRequests(t){return this._editHelper.getRequests(t)}async selectRequest(t,i){return this._editHelper.selectRequest(t,i)}clearElementsRequests(t){return this._elementsHelper.getRequests(t)}createMaterial(t,i){return this._elementsHelper.createMaterial(t,i)}createLocalTransform(t,i){return this._elementsHelper.createLocalTransform(t,i)}createShell(t,i){return this._elementsHelper.createShell(t,i)}createCircleExtrusion(t,i){return this._elementsHelper.createCircleExtrusion(t,i)}createGlobalTransform(t,i,n){return this._elementsHelper.createGlobalTransform(t,i,n)}createSample(t,i){return this._elementsHelper.createSample(t,i)}createItem(t,i){return this._elementsHelper.createItem(t,i)}setItem(t,i){return this._elementsHelper.setItem(t,i)}async relate(t,i,n,s){return this._elementsHelper.relate(t,i,n,s)}async unrelate(t,i,n,s){return this._elementsHelper.unrelate(t,i,n,s)}async getElements(t,i){return this._elementsHelper.get(t,i)}async createElements(t,i){return this._elementsHelper.create(t,i)}deleteElements(t,i){return this._elementsHelper.delete(t,i)}async applyChanges(t,i=[]){return this._elementsHelper.applyChanges(t,i)}async deleteData(t,i){return this._elementsHelper.deleteData(t,i)}async _update(t){await this._editHelper._update(t)}},ise=class{constructor(t,i,n){Ne(this,"localId"),Ne(this,"model"),Ne(this,"core"),Ne(this,"config",{data:{attributesDefault:!0,relations:{IsDefinedBy:{attributes:!0,relations:!0},DefinesOcurrence:{attributes:!1,relations:!1}}}}),Ne(this,"updateRequests",{}),Ne(this,"createRequests",{}),Ne(this,"removeRequests",{}),Ne(this,"_elementChanged",!1),this.localId=t,this.core=i,this.model=n}get elementChanged(){return this._elementChanged}getRequests(){let t=Object.values(this.createRequests);this.createRequests={};let i=Object.values(this.updateRequests);this.updateRequests={};let n=Object.values(this.removeRequests);this.removeRequests={};let s=[...n,...t,...i];return s.length>0?s:null}delete(){this.createRequests[this.localId]?delete this.createRequests[this.localId]:this.removeRequests[this.localId]={type:on.DELETE_ITEM,localId:this.localId};for(let t in this.core.samples){let i=this.core.samples[t],n=parseInt(t,10);this.createRequests[i.localTransform]?delete this.createRequests[i.localTransform]:this.removeRequests[i.localTransform]={type:on.DELETE_LOCAL_TRANSFORM,localId:i.localTransform},this.createRequests[i.representation]?delete this.createRequests[i.representation]:this.removeRequests[i.representation]={type:on.DELETE_REPRESENTATION,localId:i.representation},this.createRequests[i.material]?delete this.createRequests[i.material]:this.removeRequests[i.material]={type:on.DELETE_MATERIAL,localId:i.material},this.createRequests[i.item]?delete this.createRequests[i.item]:this.removeRequests[i.item]={type:on.DELETE_GLOBAL_TRANSFORM,localId:i.item},this.createRequests[n]?delete this.createRequests[n]:this.removeRequests[n]={type:on.DELETE_SAMPLE,localId:n}}}async getData(){return(await this.model.getItemsData([this.localId],this.config.data))[0]}getGlobalTransformId(){return parseInt(Object.keys(this.core.globalTransforms)[0],10)}disposeMeshes(t,i){let n=i?.disposeGeometry??!0,s=i?.disposeMaterial??!0;t.removeFromParent(),t.traverse(o=>{o instanceof _i&&(n&&o.geometry.dispose(),s&&o.material.dispose())})}async getMeshes(){let t=new Zo,i=Object.values(this.core.globalTransforms)[0],n=as.matrixFromTransform(i);t.applyMatrix4(n);let s=new Map,o=new Map,r=Object.keys(this.core.representations).map(Number),l=await this.model.getGeometries(r),d=new Map;for(let h of l){let p=h.representationId;d.set(p,h)}for(let h in this.core.samples){let p=parseInt(h,10),I=this.core.samples[p],m=d.get(I.representation);if(!m)throw new Error(`No geometry found for representation ${I.representation}`);let{indices:y,positions:T,normals:R}=m;if(!y||!T||!R)continue;if(!s.has(I.material)){let{r:ne,g:K,b:oe,a:se}=this.core.materials[I.material],he=new Oi().setRGB(ne/255,K/255,oe/255,Va),Re=new tw({color:he,transparent:!0,opacity:se/255});Re.userData.localId=I.material,s.set(I.material,Re)}let b=s.get(I.material),A=this.core.localTransforms[I.localTransform],O=as.matrixFromTransform(A);if(!o.has(I.representation)){let ne=new nn;ne.setIndex(Array.from(y)),ne.setAttribute("position",new Tn(T,3)),ne.setAttribute("normal",new Tn(R,3)),ne.userData.localId=I.representation,o.set(I.representation,ne)}let P=o.get(I.representation),U=new Zo;U.userData.localId=I.localTransform,t.add(U),U.applyMatrix4(O);let Z=new _i(P,b);Z.userData.sampleId=p,U.add(Z)}return t}async setMeshes(t){let i=await this.getMeshes(),n=!0;t.updateMatrix();let s=1e3;for(let I=0;I<t.matrix.elements.length;I++){let m=Math.trunc(t.matrix.elements[I]*s)/s,y=Math.trunc(i.matrix.elements[I]*s)/s;if(m!==y){n=!1;break}}if(!n){let I=parseInt(Object.keys(this.core.globalTransforms)[0],10),m=this.core.globalTransforms[I];as.transformFromMatrix(t.matrix,m),this._elementChanged=!0,this.updateRequests[I]={type:on.UPDATE_GLOBAL_TRANSFORM,localId:I,data:m}}let o=new Map,r=new Map;i.traverse(I=>{I instanceof _i&&o.set(I.material.userData.localId,I.material)}),t.traverse(I=>{I instanceof _i&&r.set(I.material.userData.localId,I.material)});for(let[I,m]of o){let y=r.get(I);if(!y)continue;let T=m.color.r,R=m.color.g,b=m.color.b,A=m.opacity,O=y.color.r,P=y.color.g,U=y.color.b,Z=y.opacity,ne=this.core.materials[I];ne.r=O*255,ne.g=P*255,ne.b=U*255,ne.a=Z*255,(T!==O||R!==P||b!==U||A!==Z)&&(this._elementChanged=!0,this.updateRequests[I]={type:on.UPDATE_MATERIAL,localId:I,data:ne})}o.clear(),r.clear();let l=new Map,d=new Map;for(let I of t.children)I.updateMatrix(),d.set(I.userData.localId,I.matrix);for(let I of i.children)l.set(I.userData.localId,I.matrix);for(let[I,m]of l){let y=d.get(I);if(y&&!m.equals(y)){let T=this.core.localTransforms[I];as.transformFromMatrix(y,T),this._elementChanged=!0,this.updateRequests[I]={type:on.UPDATE_LOCAL_TRANSFORM,localId:I,data:T}}}l.clear(),d.clear();let h=new Map,p=new Map;t.traverse(I=>{if(I instanceof _i){let m=I.geometry;p.set(m.userData.localId,m)}}),i.traverse(I=>{if(I instanceof _i){let m=I.geometry;h.set(m.userData.localId,m)}});for(let[I,m]of h){let y=this.core.representations[I];if(y.representationClass===No.CIRCLE_EXTRUSION)continue;let T=p.get(I);if(!T)continue;let R=!0,b=m.getAttribute("position"),A=T.getAttribute("position");if(b&&A)if(b.count===A.count){for(let O=0;O<b.array.length;O++)if(b.array[O]!==A.array[O]){R=!1;break}}else R=!1;R||(as.representationFromGeometry(T,y),this._elementChanged=!0,this.updateRequests[I]={type:on.UPDATE_REPRESENTATION,localId:I,data:y})}}createSamples(t){for(let i of t){let n=Math.trunc(performance.now());this.core.samples[n]=i,this.createRequests[n]={type:on.CREATE_SAMPLE,data:i}}}deleteSamples(t){this._elementChanged=!0;for(let i of t)Object.keys(this.core.samples).length!==1&&(delete this.core.samples[i],delete this.updateRequests[i],this.createRequests[i]?delete this.createRequests[i]:this.removeRequests[i]={type:on.DELETE_SAMPLE,localId:i})}async updateSamples(){let t=new Set(Object.keys(this.core.materials).map(Number)),i=new Set(Object.keys(this.core.localTransforms).map(Number)),n=new Set(Object.keys(this.core.globalTransforms).map(Number)),s=new Set(Object.keys(this.core.representations).map(Number)),o=new Set,r=new Set,l=new Set,d=new Set,h=new Set;for(let T in this.core.samples){let R=parseInt(T,10),b=this.core.samples[R];t.delete(b.material),n.delete(b.item),i.delete(b.localTransform),s.delete(b.representation),this.core.materials[b.material]||(h.add(R),o.add(b.material)),this.core.globalTransforms[b.item]||(h.add(R),r.add(b.item)),this.core.localTransforms[b.localTransform]||(h.add(R),l.add(b.localTransform)),this.core.representations[b.representation]||(h.add(R),d.add(b.representation))}for(let T of t)delete this.core.materials[T];for(let T of n)delete this.core.globalTransforms[T];for(let T of i)delete this.core.localTransforms[T];for(let T of s)delete this.core.representations[T];let p=new Map;o.size&&(p=await this.model.getMaterials(o));let I=new Map;r.size&&(I=await this.model.getGlobalTransforms(r));let m=new Map;l.size&&(m=await this.model.getLocalTransforms(l));let y=new Map;d.size&&(y=await this.model.getRepresentations(d));for(let[T,R]of p)this.core.materials[T]=R;for(let[T,R]of I)this.core.globalTransforms[T]=R;for(let[T,R]of m)this.core.localTransforms[T]=R;for(let[T,R]of y)this.core.representations[T]=R;for(let T of h){if(this.createRequests[T]){let R=this.createRequests[T];R.data=this.core.samples[T];continue}this._elementChanged=!0,this.updateRequests[T]={type:on.UPDATE_SAMPLE,localId:T,data:this.core.samples[T]}}}},nse=class{async edit(t,i){return t.threads.invoke(t.modelId,"edit",[i])}async reset(t){return t.threads.invoke(t.modelId,"reset",[])}async save(t){return t.threads.invoke(t.modelId,"save",[])}async getItemsGeometry(t,i,n){let s=await t.threads.invoke(t.modelId,"getItemsGeometry",[i,n]),o=t.deltaModelId;if(!o)return s;let r=await t.threads.invoke(o,"getItemsGeometry",[i]),l=new Map;for(let d of s){let h=d[0].localId;l.set(h,d)}for(let d of r){let h=d[0].localId;l.set(h,d)}return Array.from(l.values())}async getGeometries(t,i){let n=await t.threads.invoke(t.modelId,"getGeometries",[i]),s=t.deltaModelId;if(!s)return n;let o=await t.threads.invoke(s,"getGeometries",[i]),r=new Map;for(let l of n){let d=l.representationId;r.set(d,l)}for(let l of o){let d=l.representationId;r.set(d,l)}return Array.from(r.values())}async getMaterialsIds(t){return t.threads.invoke(t.modelId,"getMaterialsIds",[])}async getMaterials(t,i){return t.threads.invoke(t.modelId,"getMaterials",[i])}async getSamplesIds(t){return t.threads.invoke(t.modelId,"getSamplesIds",[])}async getSamples(t,i){return t.threads.invoke(t.modelId,"getSamples",[i])}async getRepresentationsIds(t){return t.threads.invoke(t.modelId,"getRepresentationsIds",[])}async getRepresentations(t,i){return t.threads.invoke(t.modelId,"getRepresentations",[i])}async getLocalTransformsIds(t){return t.threads.invoke(t.modelId,"getLocalTransformsIds",[])}async getLocalTransforms(t,i){return t.threads.invoke(t.modelId,"getLocalTransforms",[i])}async getGlobalTransformsIds(t){return t.threads.invoke(t.modelId,"getGlobalTransformsIds",[])}async getGlobalTransforms(t,i){return t.threads.invoke(t.modelId,"getGlobalTransforms",[i])}async getItemsIds(t){return t.threads.invoke(t.modelId,"getItemsIds",[])}async getItems(t,i){return t.threads.invoke(t.modelId,"getItems",[i])}async getRelations(t,i){return t.threads.invoke(t.modelId,"getRelations",[i])}async getGlobalTranformsIdsOfItems(t,i){return await t.threads.invoke(t.modelId,"getGlobalTranformsIdsOfItems",[i])}async getEditedElements(t){return t.deltaModelId?t.threads.invoke(t.deltaModelId,"getItemsWithGeometry",[]):[]}async getElements(t,i){let n=await t.threads.invoke(t.modelId,"getElementsData",[i]);if(t.deltaModelId){let o=await t.threads.invoke(t.deltaModelId,"getElementsData",[i]);for(let r in o)n[r]=o[r]}let s=[];for(let o in n){let r=new ise(Number(o),n[o],t);s.push(r)}return s}async getRequests(t){return t.threads.invoke(t.modelId,"getRequests",[])}async setRequests(t,i){return t.threads.invoke(t.modelId,"setRequests",[i])}async selectRequest(t,i){return t.threads.invoke(t.modelId,"selectRequest",[i])}},sse=class{constructor(t){Ne(this,"model"),Ne(this,"_grids",new Zo),Ne(this,"_gridMaterial",new xT({color:16777215,linewidth:5,depthTest:!1,dashSize:1,gapSize:.3})),this.model=t}async getGrids(){return this._grids.children.length||await this.constructGrids(),this._grids}async constructGrids(){let t=await this.model.threads.invoke(this.model.modelId,"getGrids"),i=new Ai;for(let n of t){let s=new Zo;this._grids.add(s),s.userData.id=n.id,i.fromArray(n.transform),s.applyMatrix4(i),this.getGridAxis(n,s,"uAxes"),this.getGridAxis(n,s,"vAxes"),this.getGridAxis(n,s,"wAxes"),this._grids.add(s)}}getGridAxis(t,i,n){for(let{curve:s,tag:o}of t[n]){let[r,l,d,h]=s,p=new nn;p.setAttribute("position",new Tn(new Float32Array([r,l,0,d,h,0]),3));let I=new nr(p,this._gridMaterial);I.userData.tag=o,I.computeLineDistances(),I.renderOrder=1,i.add(I)}}dispose(){this._grids.removeFromParent();for(let t of this._grids.children){let i=t;i.geometry.dispose(),i.geometry=void 0,i.material=void 0}this._gridMaterial.dispose(),this._gridMaterial=void 0}},Fme=class ose{constructor(t,i,n,s){Ne(this,"attrsChanges",new Map),Ne(this,"relsChanges",new Map),Ne(this,"threads"),Ne(this,"tiles",new fo),Ne(this,"onViewUpdated",new Lc),Ne(this,"visibleItems",new Set),Ne(this,"object",new ps),Ne(this,"graphicsQuality",0),Ne(this,"deltaModelId",null),Ne(this,"_boxManager",new Fne),Ne(this,"_itemsManager",new zne),Ne(this,"_coordinatesManager",new Une),Ne(this,"_setupManager",new Bne),Ne(this,"_viewManager",new Wne),Ne(this,"_raycastManager",new Yne),Ne(this,"_visibilityManager",new jne),Ne(this,"_highlightManager",new Zne),Ne(this,"_sectionManager",new Kne),Ne(this,"_dataManager",new Qne),Ne(this,"_sequenceManager",new Jne),Ne(this,"_bbox",new kn),Ne(this,"_alignmentsManager"),Ne(this,"_gridsManager"),Ne(this,"_meshManager"),Ne(this,"_editManager",new nse),Ne(this,"_editor"),Ne(this,"_isProcessing",!1),Ne(this,"_isLoaded",!1),Ne(this,"_frozen",!1),Ne(this,"_isSetup",!1),Ne(this,"_parentModelId",null),this.object.name=t,this.object.up.set(0,0,1),this._meshManager=i,this.threads=n,this._editor=s,this._alignmentsManager=new Mne(this),this._gridsManager=new sse(this),this.tiles.onItemSet.add(({value:o})=>this.object.add(o)),this.tiles.onBeforeDelete.add(({value:o})=>{this.object.remove(o),o.geometry.dispose(),b1.forEach(o.material,r=>r.dispose())})}get modelId(){return this.object.name}get box(){return this._bbox.clone().applyMatrix4(this.object.matrixWorld)}get isBusy(){let t=this._meshManager.requests.arePending;return!this._isLoaded||this._isProcessing||t}get frozen(){return!!this._frozen}set frozen(t){t!==this._frozen&&(this._frozen=t,!t&&this._refreshView())}get getClippingPlanesEvent(){return this._viewManager.getClippingPlanesEvent}set getClippingPlanesEvent(t){this._viewManager.getClippingPlanesEvent=t}get camera(){return this._viewManager.currentCamera}get isDeltaModel(){return this.object.userData[ose._deltaModelId]}get parentModelId(){return this._parentModelId}async dispose(){this._isLoaded=!1,this.visibleItems.clear(),this.onViewUpdated.reset(),await this._dataManager.dispose(this,this._meshManager,this._alignmentsManager,this._gridsManager)}async getSpatialStructure(){return this._dataManager.getSpatialStructure(this)}async getLocalIdsByGuids(t){return this._dataManager.getLocalIdsByGuids(this,t)}async getCategories(){return this._dataManager.getCategories(this)}async getItemsWithGeometryCategories(){return this._dataManager.getItemsWithGeometryCategories(this)}async getItemsWithGeometry(){return this._dataManager.getItemsWithGeometry(this)}async getItemsIdsWithGeometry(){return this._dataManager.getItemsIdsWithGeometry(this)}async getMetadata(){return this._dataManager.getMetadata(this)}async getCRS(){return this._dataManager.getCRS(this)}async getGuidsByLocalIds(t){return this._dataManager.getGuidsByLocalIds(this,t)}async getBuffer(t=!1){return this._dataManager.getBuffer(this,t)}async getSubsetBuffer(t,i=!1){return this.threads.invoke(this.modelId,"getSubsetBuffer",[t,i])}async getItemsOfCategories(t){return this._dataManager.getItemsOfCategories(this,t)}async getGuids(){return await this.threads.invoke(this.modelId,"getGuids",[])}async getLocalIds(){return await this.threads.invoke(this.modelId,"getLocalIds",[])}async getItemsByQuery(t,i){return this._dataManager.getItemsByQuery(this,t,i)}async getItemsMaterialDefinition(t){return await this.threads.invoke(this.modelId,"getItemsMaterialDefinition",[t])}async getItemsGeometry(t,i=Zs.GEOMETRY){return this._editManager.getItemsGeometry(this,t,i)}async getGeometries(t){return this._editManager.getGeometries(this,t)}async getItemsVolume(t){return await this.threads.invoke(this.modelId,"getItemsVolume",[t])}async getAttributeNames(){return await this.threads.invoke(this.modelId,"getAttributeNames",[])}async getAttributeValues(){return await this.threads.invoke(this.modelId,"getAttributeValues",[])}async getAttributesUniqueValues(t){return await this.threads.invoke(this.modelId,"getAttributesUniqueValues",[t])}async getAttributeTypes(){return await this.threads.invoke(this.modelId,"getAttributeTypes",[])}async getRelationNames(){return await this.threads.invoke(this.modelId,"getRelationNames",[])}async getMaxLocalId(){return this._dataManager.getMaxLocalId(this)}getItem(t){return this._itemsManager.getItem(this,t)}async getItemsChildren(t){return this._itemsManager.getItemsChildren(this,t)}async getItemsData(t,i){return this._itemsManager.getItemsData(this,t,i)}async getPositions(t){return this._coordinatesManager.getPositions(this,t)}async getCoordinates(){return this._coordinatesManager.getCoordinates(this)}async getCoordinationMatrix(){return this._coordinatesManager.getCoordinationMatrix(this)}async getMergedBox(t){return this._boxManager.getMergedBox(this,t)}async getBoxes(t){return this._boxManager.getBoxes(this,t)}async getAlignments(){return this._alignmentsManager.getAlignments()}async getHorizontalAlignments(){return this._alignmentsManager.getHorizontalAlignments()}async getVerticalAlignments(){return this._alignmentsManager.getVerticalAlignments()}getAlignmentStyles(){return this._alignmentsManager.getAlignmentStyles()}async getGrids(){return this._gridsManager.getGrids()}useCamera(t){this._viewManager.useCamera(t)}async setLodMode(t){return this._viewManager.setLodMode(this,t)}async rectangleRaycast(t){return this._raycastManager.rectangleRaycast(this,this._meshManager,t)}async raycast(t){return this._raycastManager.raycast(this,t)}async raycastAll(t){return this._raycastManager.raycastAll(this,t)}async raycastWithSnapping(t){return this._raycastManager.raycastWithSnapping(this,t)}async setVisible(t,i){let n=[t,i];await this.threads.invoke(this.modelId,"setVisible",n)}async toggleVisible(t){let i=[t];await this.threads.invoke(this.modelId,"toggleVisible",i)}async getItemsByVisibility(t){return this._visibilityManager.getItemsByVisibility(this,t)}async getVisible(t){return this._visibilityManager.getVisible(this,t)}async resetVisible(){return this._visibilityManager.resetVisible(this)}async highlight(t,i){return this._highlightManager.highlight(this,t,i)}async setColor(t,i){return this._highlightManager.setColor(this,t,i)}async resetColor(t){return this._highlightManager.resetColor(this,t)}async setOpacity(t,i){return this._highlightManager.setOpacity(this,t,i)}async resetOpacity(t){return this._highlightManager.resetOpacity(this,t)}async getHighlight(t){return this._highlightManager.getHighlight(this,t)}async resetHighlight(t){return this._highlightManager.resetHighlight(this,t)}async getHighlightItemIds(){return this._highlightManager.getHighlightItemIds(this)}async getSection(t,i){return this._sectionManager.getSection(this,t,i)}async getMaterialsIds(){return this._editManager.getMaterialsIds(this)}async getMaterials(t){return this._editManager.getMaterials(this,t)}async getRepresentationsIds(){return this._editManager.getRepresentationsIds(this)}async getRepresentations(t){return this._editManager.getRepresentations(this,t)}async getLocalTransformsIds(){return this._editManager.getLocalTransformsIds(this)}async getLocalTransforms(t){return this._editManager.getLocalTransforms(this,t)}async getGlobalTransformsIds(){return this._editManager.getGlobalTransformsIds(this)}async getGlobalTransforms(t){return this._editManager.getGlobalTransforms(this,t)}async getSamplesIds(){return this._editManager.getSamplesIds(this)}async getSamples(t){return this._editManager.getSamples(this,t)}async getItemsIds(){return this._editManager.getItemsIds(this)}async getItems(t){return this._editManager.getItems(this,t)}async getRelations(t){return this._editManager.getRelations(this,t)}async getGlobalTranformsIdsOfItems(t){return this._editManager.getGlobalTranformsIdsOfItems(this,t)}async getEditedElements(){return this._editManager.getEditedElements(this)}async getSequenced(t,i,n){return this._sequenceManager.getSequenced(this,t,i,n)}async handleRequest(t){await this._meshManager.requests.handleRequest(this._meshManager,t)}async _getElements(t){return this._editManager.getElements(this,t)}_finishProcessing(){this._isProcessing=!1,this.onViewUpdated.trigger(this)}_setDeltaModel(t){this.object.userData[ose._deltaModelId]=!0,this._parentModelId=t}async _refreshView(){if(this.frozen)return;this._isProcessing=!0;let t=this._viewManager.refreshView(this,this._meshManager),i=this._editor._update(this.modelId);await Promise.all([t,i])}async _setup(t,i,n){this._isSetup||(await this._setupManager.setup(this,this._bbox,t,i,n),this._isLoaded=!0,this._isProcessing=!0,this._isSetup=!0)}async _edit(t){return this._editManager.edit(this,t)}async _reset(){return this._editManager.reset(this)}async _save(){return this._editManager.save(this)}async _getRequests(){return this._editManager.getRequests(this)}async _setRequests(t){return this._editManager.setRequests(this,t)}async _selectRequest(t){return this._editManager.selectRequest(this,t)}};Ne(Fme,"_deltaModelId","isDeltaModel");var Ume=Fme,rse=class{constructor(){Ne(this,"list",[]),Ne(this,"onFinish",()=>{})}get arePending(){return this.list.length>0}async handleRequest(t,i){if(i.class===_1.RECOMPUTE_MESHES)this.add(i.list),i.list=void 0;else if(i.class===_1.CREATE_MATERIAL){let{materialDefinitions:n,modelId:s}=i;rk.resetColors(n),t.materials.addDefinitions(s,n),i.materialDefinitions=void 0}else i.class===_1.THROW_ERROR&&console.error(i)}add(t){for(let i of t)this.insert(i)||this.list.push(i),i.tileRequestClass===yu.FINISH&&this.onFinish()}clean(t){let i=this.list.filter(n=>n.modelId!==t||n.tileRequestClass!==yu.FINISH);this.list=i}insert(t){let{modelId:i,tileId:n,tileRequestClass:s,tileData:o}=t;if(n===void 0)return!1;if(s===yu.DELETE){let r=this.list.filter(l=>!((l.tileRequestClass===yu.CREATE||l.tileRequestClass===yu.DELETE)&&l.modelId===i&&l.tileId===n));this.list=r}if(s===yu.CREATE){let r=this.list.filter(l=>!(l.tileRequestClass===yu.CREATE&&l.modelId===i&&l.tileId===n));this.list=r}if(s===yu.UPDATE){let r=this.list.find(l=>l.modelId===i&&l.tileId===n);if(r)return(r.tileRequestClass===yu.CREATE||r.tileRequestClass===yu.UPDATE)&&(r.tileData=o),!0}return!1}},lse=class{constructor(t){Ne(this,"_materials"),Ne(this,"white",4294967295),this._materials=t}createMesh(t,i){let n=this._materials.getFromRequest(i);if(!("isLodMaterial"in n&&n.isLodMaterial))throw new Error("Fragments: material is not an instance of LodMaterial.");let{positions:s}=i;if(!s)throw new Error("Fragments: no positions provided to create the LOD mesh.");let o=new qne,r=this.deleteAttributeEvent(t);return D3.setLodBuffer(o,s,r),new d$(o,[n])}updateVisibility(t,i){let{geometry:n}=t,{visibilityData:s,highlightData:o}=i;D3.setLodVisibility(n,s),o&&D3.setLodHighlight(n,o),n.addGroup(0,1/0,0)}applyHighlight(t,i){let{tileData:{highlightIds:n},modelId:s,material:o}=i,r=t.material[0],l=this._materials.getHighlightProps(n[0],o,s);if(!l)return;let d=new Oi(l.color);r.highlightColor=d,r.highlightOpacity=l.opacity,r.transparent=l.opacity<1||r.transparent}processMesh(t,i){let{geometry:n}=t,{tileData:{visibilityData:s},currentLod:o}=i;if(o===Zs.WIRES&&t instanceof d$)this.updateVisibility(t,i.tileData);else if(s&&s.position.length>0)for(let r=0;r<s.position.length;++r){let l=s.size[r]===this.white,d=s.position[r],h=l?1/0:s.size[r];n.addGroup(d,h,0)}}deleteAttributeEvent(t){function i(){delete this.array}return i}},ase=class{constructor(t){Ne(this,"list",new fo),Ne(this,"materials",new rk),Ne(this,"lod",new lse(this.materials)),Ne(this,"requests",new rse),Ne(this,"updateThreshold",4),Ne(this,"_updateFinished",!0),Ne(this,"_onUpdate"),this._onUpdate=t,this.requests.onFinish=()=>this._updateFinished=!0}async forceUpdateFinish(t=200,i=500){let n=!1;for(;!n;)await new Promise(s=>{this._updateFinished=!1;let o=setInterval(()=>{this.update(),this._updateFinished&&(clearInterval(o),s())},t)}),await new Promise(s=>{setTimeout(s,i)}),n=this._updateFinished}update(){let t=performance.now();for(;this.requests.arePending;){let i=this.requests.list.shift();if(i&&(this.processTileRequest(i),this._onUpdate(),performance.now()-t>this.updateThreshold))return}}setTileData(t,i){let{tileId:n,itemId:s,matrix:o,aabb:r}=i;this.setMeshData(t,n,s,o),this.setupBoundings(t,r),this.updateStatus(t,i)}processTileRequest(t){let{tileRequestClass:i,tileId:n,modelId:s}=t,o=this.list.get(s);if(o)if(i===yu.CREATE){if(t.objectClass===void 0)return;let r=this.create(t);this.setTileData(r,t);let l=this.extractUniqueItemIds(t.itemIds);r.userData.itemIds=l,this.trackVisibleItems(o,l,!0),o.tiles.set(r.userData.tileId,r)}else if(i===yu.DELETE){let r=o.tiles.get(n);r?.userData.itemIds&&this.trackVisibleItems(o,r.userData.itemIds,!1),o.tiles.delete(n)}else if(i===yu.UPDATE){let r=o.tiles.get(n);r&&this.updateStatus(r,t)}else i===yu.FINISH&&o._finishProcessing()}extractUniqueItemIds(t){let i=new Set;if(!t)return i;for(let n=0;n<t.length;n++)i.add(t[n]);return i}trackVisibleItems(t,i,n){for(let s of i)n?t.visibleItems.add(s):t.visibleItems.delete(s)}createMesh(t){let{indices:i,positions:n,normals:s,itemIds:o,faceIds:r}=t,l=new nn;this.setIndex(l,i),this.setPositions(n,l),this.setNormals(s,l),this.setItemIds(o,l),this.setFaceIds(r,l);let d=this.materials.getFromRequest(t);return new _i(l,[d])}setupBoundings(t,i){let{geometry:n}=t,s=new kn().copy(i),o=new no;s.getBoundingSphere(o),n.boundingBox=s,n.boundingSphere=o}create(t){if(t.objectClass===nI.SHELL)return this.createMesh(t);if(t.objectClass===nI.LINE){let i=new nn;return this.lod.createMesh(i,t)}throw new Error(`Fragments: object class ${t.objectClass} is not supported.`)}updateStatus(t,i){let{tileData:{highlightData:n},currentLod:s}=i,{geometry:o}=t;if(o.clearGroups(),this.lod.processMesh(t,i),!n)return;if(s===Zs.WIRES){this.lod.applyHighlight(t,i);return}let r=this.materials.createHighlights(t,i);t.material=r}cleanAttributeMemory(t,i){t.attributes[i].onUpload(this.deleteAttribute(t))}setPositions(t,i){if(!t)throw new Error("Fragments: no positions provided to create the mesh.");i.setAttribute("position",new Tn(t,3)),this.cleanAttributeMemory(i,"position")}setFaceIds(t,i){t&&(i.setAttribute("color",new Tn(t,3)),this.cleanAttributeMemory(i,"color"))}setIndex(t,i){if(!i)throw new Error("Fragments: no indices provided to create the mesh.");t.setIndex(new Tn(i,1)),t.index.onUpload(this.deleteAttribute(t))}setNormals(t,i){t&&i.setAttribute("normal",new Tn(t,3,!0)),this.cleanAttributeMemory(i,"normal")}setItemIds(t,i){t&&(i.setAttribute("id",new Tn(t,1,!1)),this.cleanAttributeMemory(i,"id"))}deleteAttribute(t){function i(){delete this.array}return i}setMeshData(t,i,n,s){t.userData={tileId:i,itemId:n},t.matrixAutoUpdate=!1,t.applyMatrix4(s),t.matrix.copy(s)}},W7e=0;var Y7e=32,CYe=Y7e/4;var xYe=Math.pow(2,-24),j7e=Symbol("SKIP_GENERATION"),OYe={strategy:W7e,maxDepth:40,maxLeafSize:10,useSharedArrayBuffer:!1,setBoundingBox:!0,onProgress:null,indirect:!1,verbose:!0,range:null,[j7e]:!1};var LYe=Math.pow(2,32);var x3=class{constructor(){this.min=1/0,this.max=-1/0}setFromPointsField(t,i){let n=1/0,s=-1/0;for(let o=0,r=t.length;o<r;o++){let d=t[o][i];n=d<n?d:n,s=d>s?d:s}this.min=n,this.max=s}setFromPoints(t,i){let n=1/0,s=-1/0;for(let o=0,r=i.length;o<r;o++){let l=i[o],d=t.dot(l);n=d<n?d:n,s=d>s?d:s}this.min=n,this.max=s}isSeparated(t){return this.min>t.max||t.min>this.max}};x3.prototype.setFromBox=(function(){let e=new ye;return function(i,n){let s=n.min,o=n.max,r=1/0,l=-1/0;for(let d=0;d<=1;d++)for(let h=0;h<=1;h++)for(let p=0;p<=1;p++){e.x=s.x*d+o.x*(1-d),e.y=s.y*h+o.y*(1-h),e.z=s.z*p+o.z*(1-p);let I=i.dot(e);r=Math.min(I,r),l=Math.max(I,l)}this.min=r,this.max=l}})();var q7e=(function(){let e=new ye,t=new ye,i=new ye;return function(s,o,r){let l=s.start,d=e,h=o.start,p=t;i.subVectors(l,h),e.subVectors(s.end,s.start),t.subVectors(o.end,o.start);let I=i.dot(p),m=p.dot(d),y=p.dot(p),T=i.dot(d),b=d.dot(d)*y-m*m,A,O;b!==0?A=(I*m-T*y)/b:A=0,O=(I+A*m)/y,r.x=A,r.y=O}})(),ooe=(function(){let e=new hi,t=new ye,i=new ye;return function(s,o,r,l){q7e(s,o,e);let d=e.x,h=e.y;if(d>=0&&d<=1&&h>=0&&h<=1){s.at(d,r),o.at(h,l);return}else if(d>=0&&d<=1){h<0?o.at(0,l):o.at(1,l),s.closestPointToPoint(l,!0,r);return}else if(h>=0&&h<=1){d<0?s.at(0,r):s.at(1,r),o.closestPointToPoint(r,!0,l);return}else{let p;d<0?p=s.start:p=s.end;let I;h<0?I=o.start:I=o.end;let m=t,y=i;if(s.closestPointToPoint(I,!0,t),o.closestPointToPoint(p,!0,i),m.distanceToSquared(I)<=y.distanceToSquared(p)){r.copy(m),l.copy(I);return}else{r.copy(p),l.copy(y);return}}}})(),$7e=(function(){let e=new ye,t=new ye,i=new es,n=new ds;return function(o,r){let{radius:l,center:d}=o,{a:h,b:p,c:I}=r;if(n.start=h,n.end=p,n.closestPointToPoint(d,!0,e).distanceTo(d)<=l||(n.start=h,n.end=I,n.closestPointToPoint(d,!0,e).distanceTo(d)<=l)||(n.start=p,n.end=I,n.closestPointToPoint(d,!0,e).distanceTo(d)<=l))return!0;let R=r.getPlane(i);if(Math.abs(R.distanceToPoint(d))<=l){let A=R.projectPoint(d,t);if(r.containsPoint(A))return!0}return!1}})(),Z7e=["x","y","z"],xS=1e-15,GIe=xS*xS;function nE(e){return Math.abs(e)<xS}var qN=class extends fr{constructor(...t){super(...t),this.isExtendedTriangle=!0,this.satAxes=new Array(4).fill().map(()=>new ye),this.satBounds=new Array(4).fill().map(()=>new x3),this.points=[this.a,this.b,this.c],this.plane=new es,this.isDegenerateIntoSegment=!1,this.isDegenerateIntoPoint=!1,this.degenerateSegment=new ds,this.needsUpdate=!0}intersectsSphere(t){return $7e(t,this)}update(){let t=this.a,i=this.b,n=this.c,s=this.points,o=this.satAxes,r=this.satBounds,l=o[0],d=r[0];this.getNormal(l),d.setFromPoints(l,s);let h=o[1],p=r[1];h.subVectors(t,i),p.setFromPoints(h,s);let I=o[2],m=r[2];I.subVectors(i,n),m.setFromPoints(I,s);let y=o[3],T=r[3];y.subVectors(n,t),T.setFromPoints(y,s);let R=h.length(),b=I.length(),A=y.length();this.isDegenerateIntoPoint=!1,this.isDegenerateIntoSegment=!1,R<xS?b<xS||A<xS?this.isDegenerateIntoPoint=!0:(this.isDegenerateIntoSegment=!0,this.degenerateSegment.start.copy(t),this.degenerateSegment.end.copy(n)):b<xS?A<xS?this.isDegenerateIntoPoint=!0:(this.isDegenerateIntoSegment=!0,this.degenerateSegment.start.copy(i),this.degenerateSegment.end.copy(t)):A<xS&&(this.isDegenerateIntoSegment=!0,this.degenerateSegment.start.copy(n),this.degenerateSegment.end.copy(i)),this.plane.setFromNormalAndCoplanarPoint(l,t),this.needsUpdate=!1}};qN.prototype.closestPointToSegment=(function(){let e=new ye,t=new ye,i=new ds;return function(s,o=null,r=null){let{start:l,end:d}=s,h=this.points,p,I=1/0;for(let m=0;m<3;m++){let y=(m+1)%3;i.start.copy(h[m]),i.end.copy(h[y]),ooe(i,s,e,t),p=e.distanceToSquared(t),p<I&&(I=p,o&&o.copy(e),r&&r.copy(t))}return this.closestPointToPoint(l,e),p=l.distanceToSquared(e),p<I&&(I=p,o&&o.copy(e),r&&r.copy(l)),this.closestPointToPoint(d,e),p=d.distanceToSquared(e),p<I&&(I=p,o&&o.copy(e),r&&r.copy(d)),Math.sqrt(I)}})();qN.prototype.intersectsTriangle=(function(){let e=new qN,t=new x3,i=new x3,n=new ye,s=new ye,o=new ye,r=new ye,l=new ds,d=new ds,h=new ye,p=new hi,I=new hi;function m(P,U,Z,ne){let K=n;!P.isDegenerateIntoPoint&&!P.isDegenerateIntoSegment?K.copy(P.plane.normal):K.copy(U.plane.normal);let oe=P.satBounds,se=P.satAxes;for(let ee=1;ee<4;ee++){let Ae=oe[ee],Ee=se[ee];if(t.setFromPoints(Ee,U.points),Ae.isSeparated(t)||(r.copy(K).cross(Ee),t.setFromPoints(r,P.points),i.setFromPoints(r,U.points),t.isSeparated(i)))return!1}let he=U.satBounds,Re=U.satAxes;for(let ee=1;ee<4;ee++){let Ae=he[ee],Ee=Re[ee];if(t.setFromPoints(Ee,P.points),Ae.isSeparated(t)||(r.crossVectors(K,Ee),t.setFromPoints(r,P.points),i.setFromPoints(r,U.points),t.isSeparated(i)))return!1}return Z&&(ne||console.warn("ExtendedTriangle.intersectsTriangle: Triangles are coplanar which does not support an output edge. Setting edge to 0, 0, 0."),Z.start.set(0,0,0),Z.end.set(0,0,0)),!0}function y(P,U,Z,ne,K,oe,se,he,Re,ee,Ae){let Ee=se/(se-he);ee.x=ne+(K-ne)*Ee,Ae.start.subVectors(U,P).multiplyScalar(Ee).add(P),Ee=se/(se-Re),ee.y=ne+(oe-ne)*Ee,Ae.end.subVectors(Z,P).multiplyScalar(Ee).add(P)}function T(P,U,Z,ne,K,oe,se,he,Re,ee,Ae){if(K>0)y(P.c,P.a,P.b,ne,U,Z,Re,se,he,ee,Ae);else if(oe>0)y(P.b,P.a,P.c,Z,U,ne,he,se,Re,ee,Ae);else if(he*Re>0||se!=0)y(P.a,P.b,P.c,U,Z,ne,se,he,Re,ee,Ae);else if(he!=0)y(P.b,P.a,P.c,Z,U,ne,he,se,Re,ee,Ae);else if(Re!=0)y(P.c,P.a,P.b,ne,U,Z,Re,se,he,ee,Ae);else return!0;return!1}function R(P,U,Z,ne){let K=U.degenerateSegment,oe=P.plane.distanceToPoint(K.start),se=P.plane.distanceToPoint(K.end);return nE(oe)?nE(se)?m(P,U,Z,ne):(Z&&(Z.start.copy(K.start),Z.end.copy(K.start)),P.containsPoint(K.start)):nE(se)?(Z&&(Z.start.copy(K.end),Z.end.copy(K.end)),P.containsPoint(K.end)):P.plane.intersectLine(K,n)!=null?(Z&&(Z.start.copy(n),Z.end.copy(n)),P.containsPoint(n)):!1}function b(P,U,Z){let ne=U.a;return nE(P.plane.distanceToPoint(ne))&&P.containsPoint(ne)?(Z&&(Z.start.copy(ne),Z.end.copy(ne)),!0):!1}function A(P,U,Z){let ne=P.degenerateSegment,K=U.a;return ne.closestPointToPoint(K,!0,n),K.distanceToSquared(n)<GIe?(Z&&(Z.start.copy(K),Z.end.copy(K)),!0):!1}function O(P,U,Z,ne){if(P.isDegenerateIntoSegment)if(U.isDegenerateIntoSegment){let K=P.degenerateSegment,oe=U.degenerateSegment,se=s,he=o;K.delta(se),oe.delta(he);let Re=n.subVectors(oe.start,K.start),ee=se.x*he.y-se.y*he.x;if(nE(ee))return!1;let Ae=(Re.x*he.y-Re.y*he.x)/ee,Ee=-(se.x*Re.y-se.y*Re.x)/ee;if(Ae<0||Ae>1||Ee<0||Ee>1)return!1;let Ce=K.start.z+se.z*Ae,Qe=oe.start.z+he.z*Ee;return nE(Ce-Qe)?(Z&&(Z.start.copy(K.start).addScaledVector(se,Ae),Z.end.copy(K.start).addScaledVector(se,Ae)),!0):!1}else return U.isDegenerateIntoPoint?A(P,U,Z):R(U,P,Z,ne);else{if(P.isDegenerateIntoPoint)return U.isDegenerateIntoPoint?U.a.distanceToSquared(P.a)<GIe?(Z&&(Z.start.copy(P.a),Z.end.copy(P.a)),!0):!1:U.isDegenerateIntoSegment?A(U,P,Z):b(U,P,Z);if(U.isDegenerateIntoPoint)return b(P,U,Z);if(U.isDegenerateIntoSegment)return R(P,U,Z,ne)}}return function(U,Z=null,ne=!1){this.needsUpdate&&this.update(),U.isExtendedTriangle?U.needsUpdate&&U.update():(e.copy(U),e.update(),U=e);let K=O(this,U,Z,ne);if(K!==void 0)return K;let oe=this.plane,se=U.plane,he=se.distanceToPoint(this.a),Re=se.distanceToPoint(this.b),ee=se.distanceToPoint(this.c);nE(he)&&(he=0),nE(Re)&&(Re=0),nE(ee)&&(ee=0);let Ae=he*Re,Ee=he*ee;if(Ae>0&&Ee>0)return!1;let Ce=oe.distanceToPoint(U.a),Qe=oe.distanceToPoint(U.b),qe=oe.distanceToPoint(U.c);nE(Ce)&&(Ce=0),nE(Qe)&&(Qe=0),nE(qe)&&(qe=0);let St=Ce*Qe,$e=Ce*qe;if(St>0&&$e>0)return!1;s.copy(oe.normal),o.copy(se.normal);let ke=s.cross(o),It=0,ft=Math.abs(ke.x),Dt=Math.abs(ke.y);Dt>ft&&(ft=Dt,It=1),Math.abs(ke.z)>ft&&(It=2);let Ct=Z7e[It],Ut=this.a[Ct],ii=this.b[Ct],Vt=this.c[Ct],Kt=U.a[Ct],ui=U.b[Ct],jt=U.c[Ct];if(T(this,Ut,ii,Vt,Ae,Ee,he,Re,ee,p,l))return m(this,U,Z,ne);if(T(U,Kt,ui,jt,St,$e,Ce,Qe,qe,I,d))return m(this,U,Z,ne);if(p.y<p.x){let Oe=p.y;p.y=p.x,p.x=Oe,h.copy(l.start),l.start.copy(l.end),l.end.copy(h)}if(I.y<I.x){let Oe=I.y;I.y=I.x,I.x=Oe,h.copy(d.start),d.start.copy(d.end),d.end.copy(h)}return p.y<I.x||I.y<p.x?!1:(Z&&(I.x>p.x?Z.start.copy(d.start):Z.start.copy(l.start),I.y<p.y?Z.end.copy(d.end):Z.end.copy(l.end)),!0)}})();qN.prototype.distanceToPoint=(function(){let e=new ye;return function(i){return this.closestPointToPoint(i,e),i.distanceTo(e)}})();qN.prototype.distanceToTriangle=(function(){let e=new ye,t=new ye,i=["a","b","c"],n=new ds,s=new ds;return function(r,l=null,d=null){let h=l||d?n:null;if(this.intersectsTriangle(r,h))return(l||d)&&(l&&h.getCenter(l),d&&h.getCenter(d)),0;let p=1/0;for(let I=0;I<3;I++){let m,y=i[I],T=r[y];this.closestPointToPoint(T,e),m=T.distanceToSquared(e),m<p&&(p=m,l&&l.copy(e),d&&d.copy(T));let R=this[y];r.closestPointToPoint(R,e),m=R.distanceToSquared(e),m<p&&(p=m,l&&l.copy(R),d&&d.copy(e))}for(let I=0;I<3;I++){let m=i[I],y=i[(I+1)%3];n.set(this[m],this[y]);for(let T=0;T<3;T++){let R=i[T],b=i[(T+1)%3];s.set(r[R],r[b]),ooe(n,s,e,t);let A=e.distanceToSquared(t);A<p&&(p=A,l&&l.copy(e),d&&d.copy(t))}}return Math.sqrt(p)}})();var $N=class{constructor(t,i,n){this.isOrientedBox=!0,this.min=new ye,this.max=new ye,this.matrix=new Ai,this.invMatrix=new Ai,this.points=new Array(8).fill().map(()=>new ye),this.satAxes=new Array(3).fill().map(()=>new ye),this.satBounds=new Array(3).fill().map(()=>new x3),this.alignedSatBounds=new Array(3).fill().map(()=>new x3),this.needsUpdate=!1,t&&this.min.copy(t),i&&this.max.copy(i),n&&this.matrix.copy(n)}set(t,i,n){this.min.copy(t),this.max.copy(i),this.matrix.copy(n),this.needsUpdate=!0}copy(t){this.min.copy(t.min),this.max.copy(t.max),this.matrix.copy(t.matrix),this.needsUpdate=!0}};$N.prototype.update=(function(){return function(){let t=this.matrix,i=this.min,n=this.max,s=this.points;for(let h=0;h<=1;h++)for(let p=0;p<=1;p++)for(let I=0;I<=1;I++){let m=1*h|2*p|4*I,y=s[m];y.x=h?n.x:i.x,y.y=p?n.y:i.y,y.z=I?n.z:i.z,y.applyMatrix4(t)}let o=this.satBounds,r=this.satAxes,l=s[0];for(let h=0;h<3;h++){let p=r[h],I=o[h],m=1<<h,y=s[m];p.subVectors(l,y),I.setFromPoints(p,s)}let d=this.alignedSatBounds;d[0].setFromPointsField(s,"x"),d[1].setFromPointsField(s,"y"),d[2].setFromPointsField(s,"z"),this.invMatrix.copy(this.matrix).invert(),this.needsUpdate=!1}})();$N.prototype.intersectsBox=(function(){let e=new x3;return function(i){this.needsUpdate&&this.update();let n=i.min,s=i.max,o=this.satBounds,r=this.satAxes,l=this.alignedSatBounds;if(e.min=n.x,e.max=s.x,l[0].isSeparated(e)||(e.min=n.y,e.max=s.y,l[1].isSeparated(e))||(e.min=n.z,e.max=s.z,l[2].isSeparated(e)))return!1;for(let d=0;d<3;d++){let h=r[d],p=o[d];if(e.setFromBox(h,i),p.isSeparated(e))return!1}return!0}})();$N.prototype.intersectsTriangle=(function(){let e=new qN,t=new Array(3),i=new x3,n=new x3,s=new ye;return function(r){this.needsUpdate&&this.update(),r.isExtendedTriangle?r.needsUpdate&&r.update():(e.copy(r),e.update(),r=e);let l=this.satBounds,d=this.satAxes;t[0]=r.a,t[1]=r.b,t[2]=r.c;for(let m=0;m<3;m++){let y=l[m],T=d[m];if(i.setFromPoints(T,t),y.isSeparated(i))return!1}let h=r.satBounds,p=r.satAxes,I=this.points;for(let m=0;m<3;m++){let y=h[m],T=p[m];if(i.setFromPoints(T,I),y.isSeparated(i))return!1}for(let m=0;m<3;m++){let y=d[m];for(let T=0;T<4;T++){let R=p[T];if(s.crossVectors(y,R),i.setFromPoints(s,t),n.setFromPoints(s,I),i.isSeparated(n))return!1}}return!0}})();$N.prototype.closestPointToPoint=(function(){return function(t,i){return this.needsUpdate&&this.update(),i.copy(t).applyMatrix4(this.invMatrix).clamp(this.min,this.max).applyMatrix4(this.matrix),i}})();$N.prototype.distanceToPoint=(function(){let e=new ye;return function(i){return this.closestPointToPoint(i,e),i.distanceTo(e)}})();$N.prototype.distanceToBox=(function(){let e=["x","y","z"],t=new Array(12).fill().map(()=>new ds),i=new Array(12).fill().map(()=>new ds),n=new ye,s=new ye;return function(r,l=0,d=null,h=null){if(this.needsUpdate&&this.update(),this.intersectsBox(r))return(d||h)&&(r.getCenter(s),this.closestPointToPoint(s,n),r.closestPointToPoint(n,s),d&&d.copy(n),h&&h.copy(s)),0;let p=l*l,I=r.min,m=r.max,y=this.points,T=1/0;for(let b=0;b<8;b++){let A=y[b];s.copy(A).clamp(I,m);let O=A.distanceToSquared(s);if(O<T&&(T=O,d&&d.copy(A),h&&h.copy(s),O<p))return Math.sqrt(O)}let R=0;for(let b=0;b<3;b++)for(let A=0;A<=1;A++)for(let O=0;O<=1;O++){let P=(b+1)%3,U=(b+2)%3,Z=A<<P|O<<U,ne=1<<b|A<<P|O<<U,K=y[Z],oe=y[ne];t[R].set(K,oe);let he=e[b],Re=e[P],ee=e[U],Ae=i[R],Ee=Ae.start,Ce=Ae.end;Ee[he]=I[he],Ee[Re]=A?I[Re]:m[Re],Ee[ee]=O?I[ee]:m[Re],Ce[he]=m[he],Ce[Re]=A?I[Re]:m[Re],Ce[ee]=O?I[ee]:m[Re],R++}for(let b=0;b<=1;b++)for(let A=0;A<=1;A++)for(let O=0;O<=1;O++){s.x=b?m.x:I.x,s.y=A?m.y:I.y,s.z=O?m.z:I.z,this.closestPointToPoint(s,n);let P=s.distanceToSquared(n);if(P<T&&(T=P,d&&d.copy(n),h&&h.copy(s),P<p))return Math.sqrt(P)}for(let b=0;b<12;b++){let A=t[b];for(let O=0;O<12;O++){let P=i[O];ooe(A,P,n,s);let U=n.distanceToSquared(s);if(U<T&&(T=U,d&&d.copy(n),h&&h.copy(s),U<p))return Math.sqrt(U)}}return Math.sqrt(T)}})();var PYe=parseInt("184")>=169,MYe=parseInt("184")<=161;var BYe={Mesh:_i.prototype.raycast,Line:nr.prototype.raycast,LineSegments:xs.prototype.raycast,LineLoop:ew.prototype.raycast,Points:my.prototype.raycast,BatchedMesh:$v.prototype.raycast};var h$=class{constructor(t,i){Ne(this,"meshes"),Ne(this,"_templateController",new Dse),Ne(this,"_meshIds",new Set),Ne(this,"_idGenerator",new soe),Ne(this,"_modelCode"),this.meshes=i,this._modelCode=this.getModelCode(t)}dispose(){d8.delete(this._meshIds)}useMesh(t,i,n){let s=this.meshCode(t,n);d8.lockIn(i),this._templateController.add(s,i)}getMesh(t,i){let n=this.meshCode(t,i);return d8.get(n)??this._templateController.get(n)}saveMesh(t,i,n){b1.forEach(i,d8.updateMeshMemory);let s=this.meshCode(t,n);d8.add(s,i),this._meshIds.add(s)}meshCode(t,i){let n=this._modelCode,s=this.getRepresentation(),o=[n,s,i,t];return this._idGenerator.generate(o)}getModelCode(t){return this._idGenerator.generate([t])}},WV=2**15-1,X6=(e=>(e[e.NONE=0]="NONE",e[e.AABB=1]="AABB",e[e.CUSTOM=2]="CUSTOM",e))(X6||{}),em=class _3{static getProfile(t,i,n){return t.type()===Pc.BIG?t.bigProfiles(i,n):t.profiles(i,n)}static getPoints(t){let i=new Float32Array(t.pointsLength()*3);for(let n=0;n<t.pointsLength();n++)t.points(n,this._tempPoint),i[n*3]=this._tempPoint.x(),i[n*3+1]=this._tempPoint.y(),i[n*3+2]=this._tempPoint.z();return i}static getProfileIndices(t,i){let n=t.type()===Pc.BIG,s={outer:[],inners:[]},o=n?t.bigHolesLength():t.holesLength(),r=n?"bigHoles":"holes",l=_3.getProfile(t,i);s.outer=Array.from(l.indicesArray());for(let d=0;d<o;d++){let h=t[r](d);if(h.profileId()===i){let p=Array.from(h.indicesArray());s.inners.push(p)}}return s}static getHole(t,i,n){return t.type()===Pc.BIG?t.bigHoles(i,n):t.holes(i,n)}static getProfilesLength(t){return t.type()===Pc.BIG?t.bigProfilesLength():t.profilesLength()}static getHolesLength(t){return t.type()===Pc.BIG?t.bigHolesLength():t.holesLength()}static getShell(t,i){return t.shells(i,this._shell)}static point(t,i,n){t instanceof or&&t.points(i,this._tempPoint);let s=this._tempPoint.x(),o=this._tempPoint.y(),r=this._tempPoint.z();n.set(s,o,r)}static getNormalsOfShellProfile(t,i){let n=_3.getProfilesLength(t);for(let s=0;s<n;s++){let o=_3.getProfile(t,s),r=this.fetchNormalsOfProfile(t,o);i.push(r)}return i}static computeNormalsAvg(t,i,n,s){this.setupNormalBuffer(t);let o=n[i];for(let r=0;r<t.length;r++){let l=t[r],d=s.get(l);this.aggregateNormals(d,n,o),this.computeAvgNormal(r)}return this._normalBuffer}static getBuffer(t){let i=t.bb,s=i.__offset(t.bb_pos,8),o=t.pointsLength()*3,r=i.__vector(t.bb_pos+s),d=i.bytes().buffer;return new Float32Array(d,r,o)}static getPointsShell(t){return this._pointsByProfile.clear(),this.fetchAllPointsByProfile(t),_3.fetchAllPointsByHole(t),this._pointsByProfile}static addNormals(t,i,n){for(let s of t){let o=i[s];n.dot(o)>this._faceThreshold&&this._tempNormal.add(o)}}static setupNormalBuffer(t){let i=t.length*3;this._normalBuffer.length<i&&(this._normalBuffer=new Int16Array(i))}static fetchNormalsOfProfile(t,i){let n=i.indicesLength();return this.isTooSmall(t,n)?new ye(1,0,0):this.computeProfileNormal(n,i,t)}static fetchAllPointsByHole(t){let i=_3.getHolesLength(t),n=this.getTempHole(t);for(let s=0;s<i;s++){_3.getHole(t,s,n);let o=n.profileId(),r=n.indicesLength();for(let l=0;l<r;l++){let d=n.indices(l);_3.savePointByProfile(d,o)}}}static computeProfileNormal(t,i,n){this._v3.set(0,0,0);for(let o=0;o<t;o++)this.fetchPointsForNormal(o,t,i,n),this.computeProfilePointNormal();let s=this._v3.clone();return s.normalize(),s}static computeProfilePointNormal(){let t=this._v1.x-this._v2.x,i=this._v1.y-this._v2.y,n=this._v1.z-this._v2.z,s=this._v1.x+this._v2.x,o=this._v1.y+this._v2.y,r=this._v1.z+this._v2.z;this._v3.x+=i*r,this._v3.y+=n*s,this._v3.z+=t*o}static aggregateNormals(t,i,n){if(this._tempNormal.set(0,0,0),!t||!t.length){this._tempNormal.set(1,0,0);return}if(t.length===1){let r=t[0];this._tempNormal=i[r].clone();return}_3.addNormals(t,i,n)}static fetchPointsForNormal(t,i,n,s){let r=(t+1)%i,l=n.indices(t),d=n.indices(r);this.point(s,l,this._v1),this.point(s,d,this._v2)}static savePointByProfile(t,i){this._pointsByProfile.has(t)||this._pointsByProfile.set(t,[]),this._pointsByProfile.get(t).push(i)}static isTooSmall(t,i){let n=t.pointsLength()<=2,s=i<=2;return n||s}static fetchAllPointsByProfile(t){let i=this.getProfilesLength(t),n=this.getTempProfile(t);for(let s=0;s<i;s++){_3.getProfile(t,s,n);let o=n.indicesLength();for(let r=0;r<o;r++){let l=n.indices(r);_3.savePointByProfile(l,s)}}}static computeAvgNormal(t){this._tempNormal.normalize(),this._tempNormal.multiplyScalar(WV),this._tempNormal.toArray(this._normalBuffer,t*3)}static getTempProfile(t){return t.type()===Pc.BIG?this._bigShellProfile:this._shellProfile}static getTempHole(t){return t.type()===Pc.BIG?this._bigShellHole:this._shellHole}};Ne(em,"_faceThreshold",Math.cos(Math.PI/8));Ne(em,"_shell",new or);Ne(em,"_normalBuffer",new Int16Array);Ne(em,"_tempNormal",new ye);Ne(em,"_tempPoint",new pc);Ne(em,"_shellProfile",new C1);Ne(em,"_bigShellProfile",new D1);Ne(em,"_shellHole",new fE);Ne(em,"_bigShellHole",new hE);Ne(em,"_pointsByProfile",new Map);Ne(em,"_v1",new ye);Ne(em,"_v2",new ye);Ne(em,"_v3",new ye);var _o=em,use=class{constructor(){Ne(this,"_shellHole",new fE),Ne(this,"_bigShellHole",new hE),Ne(this,"holePoints",0),Ne(this,"profilePoints",0),Ne(this,"triangleAmount",0),Ne(this,"indexCount",0),Ne(this,"meshes",[]),Ne(this,"_shellProfile",new C1),Ne(this,"_bigShellProfile",new D1)}newMeshTemplate(t){return this.getIsEmpty(t)?{objectClass:nI.SHELL}:(this.reset(!0),this.processShell(t),this.getResult())}manageDataLeft(){this.getIsDataLeft()&&this.setMesh()}getIsEmpty(t){return _o.getProfilesLength(t)===0}processShellHoles(t,i){let n=!1,s=_o.getHolesLength(t),o=this.getTempHole(t);for(let r=0;r<s;r++)_o.getHole(t,r,o),o.profileId()===i&&(this.updateBuffers(t,n),n=!0);this.manageFoundHoles(t,n)}newMesh(){return{objectClass:nI.SHELL,indexCount:this.triangleAmount*3,positionCount:(this.holePoints+this.profilePoints)*3,normalCount:(this.holePoints+this.profilePoints)*3}}reset(t){this.holePoints=0,this.profilePoints=0,this.triangleAmount=0,t&&(this.meshes=void 0)}getIsDataLeft(){let t=this.triangleAmount>0,i=this.holePoints>0,n=this.profilePoints>0;return t||i||n}processShell(t){let i=_o.getProfilesLength(t),n=this.getTempProfile(t);for(let s=0;s<i;s++)_o.getProfile(t,s,n),this.indexCount=n.indicesLength(),this.profilePoints+=this.indexCount,this.processShellHoles(t,s),this.manageMemory();this.manageDataLeft()}manageFoundHoles(t,i){let s=this.getTempProfile(t).indicesLength();if(i){this.triangleAmount+=s;return}s>2&&(this.triangleAmount+=s-2)}getResult(){let t=this.meshes;return this.meshes=void 0,t}manageMemory(){this.holePoints+this.profilePoints+this.indexCount>w8&&this.setMesh()}updateBuffers(t,i){let n=this.getTempHole(t);this.holePoints+=n.indicesLength(),this.triangleAmount+=n.indicesLength(),i&&(this.triangleAmount+=2)}setMesh(){let t=this.newMesh();this.meshes?Array.isArray(this.meshes)?this.meshes.push(t):this.meshes=[this.meshes,t]:this.meshes=t,this.reset(!1)}getTempProfile(t){return t.type()===Pc.BIG?this._bigShellProfile:this._shellProfile}getTempHole(t){return t.type()===Pc.BIG?this._bigShellHole:this._shellHole}},cse=(e=>(e[e.four=4]="four",e[e.three=3]="three",e))(cse||{});function K7e(e,t,i,n,s,o){let r=t&&t.length,l=r?t[0]*i:e.length,d=Hme(e,0,l,i,!0,n,s);if(!d||d.next===d.prev)return;let h,p,I;if(r&&(d=t8e(e,t,d,i,n,s)),e.length>80*i){let m=e[n],y=e[s];h=m,p=y;for(let T=i;T<l;T+=i){let R=e[T+n],b=e[T+s];R<h&&(h=R),b<p&&(p=b),R>m&&(m=R),b>y&&(y=b)}I=Math.max(m-h,y-p),I=I!==0?1/I:0}lk(d,o,i,h,p,I)}function Hme(e,t,i,n,s,o,r){let l,d,h;if(s===h8e(e,t,i,n,o,r)>0)for(h=t;h<i;h+=n)l=VIe(h,e[h+o],e[h+r],l);else for(h=i-n;h>=t;h-=n)l=VIe(h,e[h+o],e[h+r],l);return l&&R$(l,l.next)&&(d=l.next,uk(l),l=d),l}function ZN(e,t){if(!e)return e;t||(t=e);let i=e,n,s;do if(n=!1,!i.steiner&&(R$(i,i.next)||xa(i.prev,i,i.next)===0)){if(s=i.prev,uk(i),i=t=s,i===i.next)break;n=!0}else i=i.next;while(n||i!==t);return t}function lk(e,t,i,n,s,o,r){!r&&o&&r8e(e,n,s,o);let l=e;for(;e.prev!==e.next;){let d=e.prev,h=e.next;if(o?J7e(e,n,s,o):Q7e(e)){t(d.i/i,e.i/i,h.i/i),uk(e),e=h.next,l=h.next;continue}if(e=h,e===l){r?r===1?(e=X7e(ZN(e),t,i),lk(e,t,i,n,s,o,2)):r===2&&e8e(e,t,i,n,s,o):lk(ZN(e),t,i,n,s,o,1);break}}}function Q7e(e){let t=e.prev,i=e,n=e.next;if(xa(t,i,n)>=0)return!1;let s=e.next.next;for(;s!==e.prev;){if(p8(t.x,t.y,i.x,i.y,n.x,n.y,s.x,s.y)&&xa(s.prev,s,s.next)>=0)return!1;s=s.next}return!0}function J7e(e,t,i,n){let s=e.prev,o=e,r=e.next;if(xa(s,o,r)>=0)return!1;let l=Math.min(s.x,o.x,r.x),d=Math.min(s.y,o.y,r.y),h=Math.max(s.x,o.x,r.x),p=Math.max(s.y,o.y,r.y),I=dse(l,d,t,i,n),m=dse(h,p,t,i,n),y=e.prevZ,T=e.nextZ;for(;y&&y.z>=I&&T&&T.z<=m;){if(y!==e.prev&&y!==e.next&&p8(s.x,s.y,o.x,o.y,r.x,r.y,y.x,y.y)&&xa(y.prev,y,y.next)>=0||(y=y.prevZ,T!==e.prev&&T!==e.next&&p8(s.x,s.y,o.x,o.y,r.x,r.y,T.x,T.y)&&xa(T.prev,T,T.next)>=0))return!1;T=T.nextZ}for(;y&&y.z>=I;){if(y!==e.prev&&y!==e.next&&p8(s.x,s.y,o.x,o.y,r.x,r.y,y.x,y.y)&&xa(y.prev,y,y.next)>=0)return!1;y=y.prevZ}for(;T&&T.z<=m;){if(T!==e.prev&&T!==e.next&&p8(s.x,s.y,o.x,o.y,r.x,r.y,T.x,T.y)&&xa(T.prev,T,T.next)>=0)return!1;T=T.nextZ}return!0}function X7e(e,t,i){let n=e;do{let s=n.prev,o=n.next.next;!R$(s,o)&&Gme(s,n,n.next,o)&&ak(s,o)&&ak(o,s)&&(t(s.i/i,n.i/i,o.i/i),uk(n.next),uk(n),n=e=o),n=n.next}while(n!==e);return ZN(n)}function e8e(e,t,i,n,s,o){let r=e;do{let l=r.next.next;for(;l!==r.prev;){if(r.i!==l.i&&u8e(r,l)){let d=Vme(r,l);r=ZN(r,r.next),d=ZN(d,d.next),lk(r,t,i,n,s,o),lk(d,t,i,n,s,o);return}l=l.next}r=r.next}while(r!==e)}function t8e(e,t,i,n,s,o){let r=[];for(let l=0,d=t.length;l<d;l++){let h=t[l]*n,p=l<d-1?t[l+1]*n:e.length,I=Hme(e,h,p,n,!1,s,o);I===I.next&&(I.steiner=!0),r.push(a8e(I))}r.sort(i8e);for(let l=0;l<r.length;l++)i=n8e(r[l],i),i=ZN(i,i.next);return i}function i8e(e,t){return e.x-t.x}function n8e(e,t){let i=s8e(e,t);if(!i)return t;let n=Vme(i,e),s=ZN(i,i.next);return ZN(n,n.next),t===t.next||i===t?s:t}function s8e(e,t){let i=t,n=e.x,s=e.y,o=-1/0,r;do{if(s<=i.y&&s>=i.next.y&&i.next.y!==i.y){let I=i.x+(s-i.y)*(i.next.x-i.x)/(i.next.y-i.y);if(I<=n&&I>o){if(o=I,I===n){if(s===i.y)return i;if(s===i.next.y)return i.next}r=i.x<i.next.x?i:i.next}}i=i.next}while(i!==t);if(!r)return null;if(n===o)return r;let l=r,d=r.x,h=r.y,p=1/0;i=r;do{if(n>=i.x&&i.x>=d&&n!==i.x&&p8(s<h?n:o,s,d,h,s<h?o:n,s,i.x,i.y)){let I=Math.abs(s-i.y)/(n-i.x);ak(i,e)&&(I<p||I===p&&(i.x>r.x||i.x===r.x&&o8e(r,i)))&&(r=i,p=I)}i=i.next}while(i!==l);return r}function o8e(e,t){return xa(e.prev,e,t.prev)<0&&xa(t.next,e,e.next)<0}function r8e(e,t,i,n){let s=e;do s.z===null&&(s.z=dse(s.x,s.y,t,i,n)),s.prevZ=s.prev,s.nextZ=s.next,s=s.next;while(s!==e);s.prevZ.nextZ=null,s.prevZ=null,l8e(s)}function l8e(e){let t=1,i;do{let n=e,s;e=null;let o=null;for(i=0;n;){i++;let r=n,l=0;for(let h=0;h<t&&(l++,r=r.nextZ,!!r);h++);let d=t;for(;l>0||d>0&&r;)l!==0&&(d===0||!r||n.z<=r.z)?(s=n,n=n.nextZ,l--):(s=r,r=r.nextZ,d--),o?o.nextZ=s:e=s,s.prevZ=o,o=s;n=r}o.nextZ=null,t*=2}while(i>1);return e}function dse(e,t,i,n,s){return e=32767*(e-i)*s,t=32767*(t-n)*s,e=(e|e<<8)&16711935,e=(e|e<<4)&252645135,e=(e|e<<2)&858993459,e=(e|e<<1)&1431655765,t=(t|t<<8)&16711935,t=(t|t<<4)&252645135,t=(t|t<<2)&858993459,t=(t|t<<1)&1431655765,e|t<<1}function a8e(e){let t=e,i=e;do(t.x<i.x||t.x===i.x&&t.y<i.y)&&(i=t),t=t.next;while(t!==e);return i}function p8(e,t,i,n,s,o,r,l){return(s-r)*(t-l)-(e-r)*(o-l)>=0&&(e-r)*(n-l)-(i-r)*(t-l)>=0&&(i-r)*(o-l)-(s-r)*(n-l)>=0}function u8e(e,t){return e.next.i!==t.i&&e.prev.i!==t.i&&!c8e(e,t)&&(ak(e,t)&&ak(t,e)&&d8e(e,t)&&(xa(e.prev,e,t.prev)||xa(e,t.prev,t))||R$(e,t)&&xa(e.prev,e,e.next)>0&&xa(t.prev,t,t.next)>0)}function xa(e,t,i){return(t.y-e.y)*(i.x-t.x)-(t.x-e.x)*(i.y-t.y)}function R$(e,t){return e.x===t.x&&e.y===t.y}function Gme(e,t,i,n){let s=Vq(xa(e,t,i)),o=Vq(xa(e,t,n)),r=Vq(xa(i,n,e)),l=Vq(xa(i,n,t));return!!(s!==o&&r!==l||s===0&&Gq(e,i,t)||o===0&&Gq(e,n,t)||r===0&&Gq(i,e,n)||l===0&&Gq(i,t,n))}function Gq(e,t,i){return t.x<=Math.max(e.x,i.x)&&t.x>=Math.min(e.x,i.x)&&t.y<=Math.max(e.y,i.y)&&t.y>=Math.min(e.y,i.y)}function Vq(e){return e>0?1:e<0?-1:0}function c8e(e,t){let i=e;do{if(i.i!==e.i&&i.next.i!==e.i&&i.i!==t.i&&i.next.i!==t.i&&Gme(i,i.next,e,t))return!0;i=i.next}while(i!==e);return!1}function ak(e,t){return xa(e.prev,e,e.next)<0?xa(e,t,e.next)>=0&&xa(e,e.prev,t)>=0:xa(e,t,e.prev)<0||xa(e,e.next,t)<0}function d8e(e,t){let i=e,n=!1,s=(e.x+t.x)/2,o=(e.y+t.y)/2;do i.y>o!=i.next.y>o&&i.next.y!==i.y&&s<(i.next.x-i.x)*(o-i.y)/(i.next.y-i.y)+i.x&&(n=!n),i=i.next;while(i!==e);return n}function Vme(e,t){let i=hse(e.i,e.x,e.y),n=hse(t.i,t.x,t.y),s=e.next,o=t.prev;return e.next=t,t.prev=e,i.next=s,s.prev=i,n.next=i,i.prev=n,o.next=n,n.prev=o,n}function VIe(e,t,i,n){let s=hse(e,t,i);return n?(s.next=n.next,s.prev=n,n.next.prev=s,n.next=s):(s.prev=s,s.next=s),s}function uk(e){e.next.prev=e.prev,e.prev.next=e.next,e.prevZ&&(e.prevZ.nextZ=e.nextZ),e.nextZ&&(e.nextZ.prevZ=e.prevZ),e.next=e,e.prev=e}function hse(e,t,i){return{i:e,x:t,y:i,prev:null,next:null,z:null,prevZ:null,nextZ:null,steiner:!1}}function h8e(e,t,i,n,s,o){let r=0;for(let l=t,d=i-n;l<i;l+=n)r+=(e[d+s]-e[l+s])*(e[l+o]+e[d+o]),d=l;return r}var kme=class fse{static create(t,i,n,s,o,r,l,d){let h=t.length,p=l.verticesAmount;fse.processBuffers(h,t,o,l,i,n);let I=o.positionBuffer,y=(l.verticesAmount-p)/3;this.processNormals(I,this._tempVec,y,p),this.triangulate(r,s,h,o,l,p),this.setFaceId(p,l,o,d)}static setFaceId(t,i,n,s){let o=t/3,r=i.verticesAmount/3;for(let l=o;l<r;l++)n.faceIdBuffer[l]=s}static getVertices(t,i,n){let o=t.positionBuffer.buffer,r=i*4,l=n.verticesAmount-i;return new Float32Array(o,r,l)}static getEvent(t,i,n){return(s,o,r)=>{let l=t.indexBuffer;l[i.indices++]=s+n/3,l[i.indices++]=o+n/3,l[i.indices++]=r+n/3}}static processBuffers(t,i,n,s,o,r){for(let l=0;l<t;l++)this.processPositionBuffer(n,i,l,s,o),this.processNormalbuffer(n,r,l,s),this.updateBufferData(s)}static getHoles(t,i,n,s,o){if(!t)return;if(t.has(i)){let l=t.get(i),d=[];for(let h of l.indices)d.push(h+n);return this.setHolesBuffers(s,l,o),d}}static setHolesBuffers(t,i,n){let s=t.positionBuffer,o=t.normalBuffer;s.set(i.points,n.verticesAmount);let r=i.points.length;n.verticesAmount+=r,n.vertices+=r/3,o.set(i.normals,n.normalsAmount),n.normalsAmount+=r}static updateBufferData(t){t.vertices+=1,t.verticesAmount+=3,t.normalsAmount+=3}static processPositionBuffer(t,i,n,s,o){let r=t.positionBuffer;for(let l=0;l<3;l++){let d=i[n]*3;r[s.verticesAmount+l]=o[d+l]}}static triangulate(t,i,n,s,o,r){let d=this.getHoles(t,i,n,s,o),h=fse.getVertices(s,r,o),p=c$.getEarcutDimensions(this._tempVec),I=this.getEvent(s,o,r),m=p[0],y=p[1];K7e(h,d,3,m,y,I)}static processNormals(t,i,n,s=0){i.set(0,0,0);for(let o=0;o<n;o++){let r=(o+1)%n,l=s+o*3,d=s+r*3,h=t[l+0],p=t[d+0],I=t[l+1],m=t[d+1],y=t[l+2],T=t[d+2];i.x+=(I-m)*(y+T),i.y+=(y-T)*(h+p),i.z+=(h-p)*(I+m)}i.normalize()}static processNormalbuffer(t,i,n,s){let o=t.normalBuffer,r=n*3,l=i[r],d=i[r+1],h=i[r+2];o.set([l,d,h],s.normalsAmount)}};Ne(kme,"_tempVec",new ye);var zme=kme,g0=class{static create(t,i,n,s,o,r,l){if(this.setAllVectors(t,i),this.getIsConvex()){this.processConvexFace4(o,r,n,l);return}zme.create(t,i,n,s,o,void 0,r,l)}static setAllVectors(t,i){this.setVector(t,i,this.a,0),this.setVector(t,i,this.b,1),this.setVector(t,i,this.c,2),this.setVector(t,i,this.d,3),this.getCrossVectors()}static processConvexFace4(t,i,n,s){this.processIndices(t,i),this.processPoints(t,i),this.processNormal(t,i,n),this.setFaceId(t,i,s),this.updateData(i)}static setFaceId(t,i,n){let s=t.faceIdBuffer;for(let o=i.vertices;o<i.vertices+4;o++)s[o]=n}static getIsConvex(){return this.h.dot(this.i)>0}static getCrossVectors(){this.e.copy(this.b),this.f.copy(this.c),this.g.copy(this.d),this.e.sub(this.a),this.f.sub(this.a),this.g.sub(this.a),this.h.crossVectors(this.e,this.f),this.i.crossVectors(this.f,this.g)}static updateData(t){t.normalsAmount+=this.totalIncrease,t.vertices+=this.vertexIncrease,t.verticesAmount+=this.totalIncrease}static processPoints(t,i){let n=0,s=t.positionBuffer,o=i.verticesAmount;for(let r=0;r<this.vertexIncrease;r++){let l=this._vecs[r];s[o+n++]=l.x,s[o+n++]=l.y,s[o+n++]=l.z}}static setVector(t,i,n,s){let o=t[s]*3,r=i[o],l=i[o+1],d=i[o+2];n.set(r,l,d)}static processNormal(t,i,n){let s=t.normalBuffer,o=i.normalsAmount;for(let r=0;r<this.totalIncrease;r++)s[o+r]=n[r]}static processIndices(t,i){let n=t.indexBuffer;for(let s=0;s<this.indexIncrease;s++){let o=this._convexIndices[s];n[i.indices+s]=i.vertices+o}i.indices+=this.indexIncrease}};Ne(g0,"a",new ye);Ne(g0,"b",new ye);Ne(g0,"c",new ye);Ne(g0,"d",new ye);Ne(g0,"e",new ye);Ne(g0,"f",new ye);Ne(g0,"g",new ye);Ne(g0,"h",new ye);Ne(g0,"i",new ye);Ne(g0,"_vecs",[g0.a,g0.b,g0.c,g0.d]);Ne(g0,"_convexIndices",[0,1,3,3,1,2]);Ne(g0,"totalIncrease",12);Ne(g0,"indexIncrease",6);Ne(g0,"vertexIncrease",4);var f8e=g0,roe=class qq{static create(t,i,n,s,o,r){this.setFaceIds(o,s,r),this.setIndices(s,o),this.setPoints(t,s,o,i),this.setNormals(s,o,n),this.updateData(o)}static setFaceIds(t,i,n){let o=t.verticesAmount/3,r=o+3;for(let l=o;l<r;l++)i.faceIdBuffer[l]=n}static setNormals(t,i,n){let s=t.normalBuffer;for(let o=0;o<this.totalIncrease;o++)s[i.normalsAmount+o]=n[o]}static setPoints(t,i,n,s){let o=0,r=i.positionBuffer;for(let l=0;l<this.vertexIncrease;l++){let d=t[l]*this.vertexIncrease;for(let h=0;h<this.vertexIncrease;h++)r[n.verticesAmount+o]=s[d+h],o++}}static setIndices(t,i){let n=t.indexBuffer;for(let s=0;s<this.vertexIncrease;s++)n[i.indices+s]=i.vertices+s;i.indices+=this.vertexIncrease}static updateData(t){t.normalsAmount+=qq.totalIncrease,t.vertices+=qq.vertexIncrease,t.verticesAmount+=qq.totalIncrease}};Ne(roe,"vertexIncrease",3);Ne(roe,"totalIncrease",9);var p8e=roe,pse=class{constructor(){Ne(this,"point",new pc),Ne(this,"_shellHole",new fE),Ne(this,"_bigShellHole",new hE),Ne(this,"interiorProfiles",new Map),Ne(this,"normalsAvgInterior",new Int16Array),Ne(this,"_pointsPerProfile",new Map),Ne(this,"_shellProfile",new C1),Ne(this,"_bigShellProfile",new D1),Ne(this,"_normalsAvg",new Int16Array),Ne(this,"_normals",[]),Ne(this,"_indices",0),Ne(this,"_sizes",{vertices:0,indices:0,verticesAmount:0,normalsAmount:0,normals:0}),Ne(this,"_tileData"),Ne(this,"_faceIdPerProfile",new Map),Ne(this,"nextBuffer",t=>{this.setTileData(t),this.initializeIndices(),this.initializePositions(),this.initializeNormals(),this.initializeFaceIds(),this.initializeSizes(),this._indices++})}construct(t,i){this.resetConstructData(i),this.getPointsPerWire(t);let n=_o.getBuffer(t);this.newShellInteriorProfiles(t),this.constructShell(t,n,i),this._tileData=void 0}getIntProfileNormalsAvg(t,i){let s=this.getTempHole(t).indicesArray();this.normalsAvgInterior=_o.computeNormalsAvg(s,i,this._normals,this._pointsPerProfile)}saveInteriorProfile(t){let n=this.getTempHole(t).profileId();if(this.interiorProfiles.has(n))return this.saveExistingInteriorProfile(n),n;let s=this.getNewIntProfileData();return this.interiorProfiles.set(n,s),n}computeNormalsAvg(t,i,n){if(!this.isShell(t))return;let o=this._normals,r=this._pointsPerProfile;this._normalsAvg=_o.computeNormalsAvg(i,n,o,r)}isShell(t){return t instanceof or}getPointsPerWire(t){this.isShell(t)&&(_o.getNormalsOfShellProfile(t,this._normals),this._pointsPerProfile=_o.getPointsShell(t))}getIndices(t,i){let n=this.getTempProfile(t);return _o.getProfile(t,i,n),n.indicesArray()}resetConstructData(t){this._indices=0,this._tileData=void 0,this.nextBuffer(t),this._normals.length=0}initializeIndices(){let t=this._tileData.indexCount;this._tileData.indexBuffer=new Uint16Array(t)}constructFace4(t,i,n){let s=this._faceIdPerProfile.get(n);f8e.create(t,i,this._normalsAvg,n,this._tileData,this._sizes,s)}initializeSizes(){this._sizes.vertices=0,this._sizes.indices=0,this._sizes.verticesAmount=0,this._sizes.normalsAmount=0,this._sizes.normals=0}getInteriorProfileBuffer(t,i){let s=this.getTempHole(t).indicesLength();if(this.isShell(t))for(let r=0;r<s;r++)this.getIntProfilePoints(r,t,i),this.getIntProfileNormals(i,r)}constructProfile(t,i,n,s){let r=this.getTempProfile(i).indicesLength(),l=!this.interiorProfiles.has(t);if(r===cse.three&&l){this.constructFace3(n,s,t);return}if(r===cse.four&&l){this.constructFace4(n,s,t);return}this.constructFaceX(n,s,t)}getIntProfileNormals(t,i){let n=i*3,s=this.normalsAvgInterior[n],o=this.normalsAvgInterior[n+1],r=this.normalsAvgInterior[n+2];t.normals.push(s,o,r)}saveExistingInteriorProfile(t){let i=this.interiorProfiles.get(t),s=i.points.length/3;i.indices.push(s),this.interiorProfiles.set(t,i)}getNewIntProfileData(){return{indices:[0],points:[],normals:[]}}constructFace3(t,i,n){let s=this._faceIdPerProfile.get(n);p8e.create(t,i,this._normalsAvg,this._tileData,this._sizes,s)}getIntProfilePoints(t,i,n){let o=this.getTempHole(i).indices(t);i.points(o,this.point);let r=this.point.x(),l=this.point.y(),d=this.point.z();n.points.push(r,l,d)}manageMemory(t,i){let s=this.getTempProfile(t).indicesLength();this._sizes.verticesAmount/3+s>w8&&this.nextBuffer(i)}initializeFaceIds(){let t=this._tileData.positionCount;this._tileData.faceIdBuffer=new Uint32Array(t/3)}getNextFaceId(){return Math.random()*4294967295}newShellInteriorProfiles(t){this.interiorProfiles.clear();let i=_o.getHolesLength(t),n=this.getTempHole(t);for(let s=0;s<i;s++){_o.getHole(t,s,n);let o=this.saveInteriorProfile(t),r=this.interiorProfiles.get(o);this.getIntProfileNormalsAvg(t,o),this.getInteriorProfileBuffer(t,r)}return this.interiorProfiles}initializePositions(){let t=this._tileData.positionCount;this._tileData.positionBuffer=new Float32Array(t)}initializeNormals(){let t=this._tileData.normalCount;this._tileData.normalBuffer=new Int16Array(t)}setTileData(t){if(Array.isArray(t)){this._tileData=t[this._indices];return}this._tileData=t}constructShell(t,i,n){this.getFaceIds(t);let s=_o.getProfilesLength(t);for(let o=0;o<s;o++){let r=this.getIndices(t,o);this.computeNormalsAvg(t,r,o),this.constructProfile(o,t,r,i),this.manageMemory(t,n)}}constructFaceX(t,i,n){let s=this._faceIdPerProfile.get(n);zme.create(t,i,this._normalsAvg,n,this._tileData,this.interiorProfiles,this._sizes,s)}getTempProfile(t){return t.type()===Pc.BIG?this._bigShellProfile:this._shellProfile}getTempHole(t){return t.type()===Pc.BIG?this._bigShellHole:this._shellHole}getFaceIds(t){this._faceIdPerProfile.clear();let i=t.profilesFaceIdsArray(),n=new Map;if(i&&i.length>0){for(let s=0;s<i.length;s++){let o=i[s];n.has(o)||n.set(o,this.getNextFaceId());let r=n.get(o);this._faceIdPerProfile.set(s,r)}return}for(let s=0;s<t.profilesLength();s++)this._faceIdPerProfile.set(s,this.getNextFaceId())}},Ise=class{constructor(t){Ne(this,"a",new ye),Ne(this,"b",new ye),Ne(this,"c",new ye),Ne(this,"d",new ye),Ne(this,"e",new ye),Ne(this,"f",new ye),Ne(this,"g",new ye),Ne(this,"h",new ye),Ne(this,"i",new ye),Ne(this,"j",new ye),Ne(this,"k",new ye),Ne(this,"tempTriangle",new fr),Ne(this,"tempPlane",new es),Ne(this,"includedVertices",[]),Ne(this,"interiorProfiles",new Map),Ne(this,"_meshes"),this._meshes=t}faceRaycast(t,i){let n=_o.getShell(this._meshes,t);this.resetData(),this.getInteriorProfiles(n);let s=_o.getBuffer(n);return this.processAllCollisions(n,s,i),this.includedVertices}resetVectors(){this.a.set(0,0,0),this.b.set(0,0,0),this.c.set(0,0,0),this.d.set(0,0,0)}resetData(){this.includedVertices.length=0,this.interiorProfiles.clear()}getInteriorProfiles(t){let i=_o.getHolesLength(t);for(let n=0;n<i;n++){let o=_o.getHole(t,n).profileId();this.interiorProfiles.has(o)||this.interiorProfiles.set(o,[]),this.interiorProfiles.get(o).push(n)}}processTriangle(t,i,n){let s=t[0]*3,o=t[1]*3,r=t[2]*3;this.saveTriPoint(this.e,i,s),this.saveTriPoint(this.f,i,o),this.saveTriPoint(this.g,i,r);let l=this.triangleHit(n);if(l){let d=this.getTriangleBuffer(i,t);l.facePoints=d.points,l.faceIndices=d.indices,this.includedVertices.push(l)}}processAllCollisions(t,i,n){let s=_o.getProfilesLength(t);for(let o=0;o<s;o++){this.resetVectors();let r=this.getIndices(t,o);this.getValidCollision(r,i,n,o,t)&&this.processCollision(t,o,i,r)}}saveTriPoint(t,i,n){let s=i[n],o=i[n+1],r=i[n+2];t.set(s,o,r)}getIndices(t,i){return _o.getProfile(t,i).indicesArray()}getIsTriangle(t){return t.length===3}getNormal(){this.tempTriangle.a=this.e,this.tempTriangle.b=this.f,this.tempTriangle.c=this.g;let t=new ye;return this.tempTriangle.getNormal(t),t}isHole(t,i,n){if(this.interiorProfiles.has(t)){let s=this.interiorProfiles.get(t);return this.holeContains(s,i,n)}return!1}computeNormal(t,i){this.d.set(0,0,0);let n=i.length;for(let s=0;s<n;s++){let o=(s+1)%n,r=i[s]*3,l=i[o]*3;this.processNormal(t,r,l)}this.d.normalize()}holeContains(t,i,n){let s=t.length;for(let o=0;o<s;o++){let l=_o.getHole(i,t[o]).indicesArray();if(this.polygonContains(n,l))return!0}return!1}triangleHit(t){let i=this.e,n=this.f,s=this.g;if(!t.intersectTriangle(i,n,s,!1,this.h))return;let r=this.getNormal();return{point:this.h.clone(),normal:r}}getValidCollision(t,i,n,s,o){return this.getIsTriangle(t)?(this.processTriangle(t,i,n),!1):!(!this.getCollidesPlane(t,i,n)||this.isHole(s,o,i))}processCollision(t,i,n,s){if(!this.polygonContains(n,s))return;let r=this.b.clone(),l=this.tempPlane.normal.clone(),d=this.getFaceBuffer(t,i,n);this.includedVertices.push({point:r,normal:l,facePoints:d.points,faceIndices:d.indices})}newOrthoNormalBasis(){let t=this.tempPlane.normal,i=this.j,n=this.i,s=Math.abs(t.x),o=Math.abs(t.y);if(s>=o){let r=1/Math.sqrt(t.x*t.x+t.z*t.z),l=-t.z*r,d=0,h=t.x*r;i.set(l,d,h);let p=t.y*i.z,I=t.z*i.x-t.x*i.z,m=-t.y*i.x;n.set(p,I,m)}else{let r=1/Math.sqrt(t.y*t.y+t.z*t.z),l=0,d=t.z*r,h=-t.y*r;i.set(l,d,h);let p=t.y*i.z-t.z*i.y,I=-t.x*i.z,m=t.x*i.y;n.set(p,I,m)}i.normalize(),n.normalize()}polygonContains(t,i){let n=!1;this.newOrthoNormalBasis(),this.setPolyContainVec(i,t);let s=this.k.dot(this.i),o=this.k.dot(this.j);for(let r=0;r<i.length;r++){let l=i[r]*3,d=t[l],h=t[l+1],p=t[l+2];this.k.set(d,h,p),this.k.sub(this.b);let I=this.k.dot(this.i),m=this.k.dot(this.j),y=m>0,T=o>0;y!==T&&(s-I)*-m/(o-m)+I>0&&(n=!n),s=I,o=m}return n}processNormal(t,i,n){let s=t[i+0],o=t[n+0],r=t[i+1],l=t[n+1],d=t[i+2],h=t[n+2];this.d.x+=(r-l)*(d+h),this.d.y+=(d-h)*(s+o),this.d.z+=(s-o)*(r+l)}getCollidesPlane(t,i,n){let s=t[0]*3,o=i[s],r=i[s+1],l=i[s+2];return this.a.set(o,r,l),this.computeNormal(i,t),this.tempPlane.setFromNormalAndCoplanarPoint(this.d,this.a),n.intersectPlane(this.tempPlane,this.b)}setPolyContainVec(t,i){let n=t[t.length-1]*3,s=i[n],o=i[n+1],r=i[n+2];this.k.set(s,o,r),this.k.sub(this.b)}getTriangleBuffer(t,i){let n=[],s=[];for(let o=0;o<i.length;o++){let r=i[o]*3;n.push(t[r],t[r+1],t[r+2]),s.push(o)}return{points:new Float32Array(n),indices:s}}getFaceBuffer(t,i,n){let s=_o.getProfileIndices(t,i),{outer:o,inners:r}=s,l=[];for(let O=0;O<o.length;O++){let P=o[O]*3;l.push(n[P],n[P+1],n[P+2])}let d=[];for(let O=0;O<r.length;O++){let P=r[O];d.push(l.length/3);for(let U=0;U<P.length;U++){let Z=P[U]*3;l.push(n[Z],n[Z+1],n[Z+2])}}let h=new ye,p=new ye,I=new ye;h.set(l[0],l[1],l[2]),p.set(l[3],l[4],l[5]),I.set(l[6],l[7],l[8]);let m=new fr;m.set(h,p,I);let y=new ye;m.getNormal(y);let[T,R]=c$.getEarcutDimensions(y),b=[];for(let O=0;O<l.length;O+=3){let P=l[O],U=l[O+1],Z=l[O+2],ne=[P,U,Z];b.push(ne[T],ne[R])}let A=N7e(b,d);return{points:new Float32Array(l),indices:A}}},mse=class{constructor(t){Ne(this,"_meshes"),Ne(this,"_minAngle",Math.PI/32),Ne(this,"_shellProfile",new C1),Ne(this,"_bigShellProfile",new D1),Ne(this,"_tempV1",new ye),Ne(this,"_tempV2",new ye),Ne(this,"_tempPoint",new ye),Ne(this,"_normals",[]),Ne(this,"_pointsByProfile",new Map),Ne(this,"_shell",new or),Ne(this,"_result",[]),this._meshes=t}lineRaycast(t,i,n){return this.resetData(t),this.lineRaycastItems(i,n),this._result}lineRaycastItems(t,i){let n=_o.getProfilesLength(this._shell);for(let s=0;s<n;s++){let o=this.getTempProfile(this._shell);_o.getProfile(this._shell,s,o),this.lineRaycastProfile(t,i,s)}}resetData(t){this._shell=_o.getShell(this._meshes,t),this._normals.length=0,_o.getNormalsOfShellProfile(this._shell,this._normals),this._pointsByProfile=_o.getPointsShell(this._shell),this._result=[]}lineRaycastProfile(t,i,n){let s=this.getTempProfile(this._shell),o=s.indicesLength();for(let r=0;r<o;r++){let l=s.indices(r),d=this.getSecondIndex(r,o);this.cast(l,d,t,i,n)&&this.saveResult(n)}}isInvalidAngle(t,i,n){let s=this.getProfile(t,i,n);if(!s.length)return!0;let o=this._normals[s[0]],r=this._normals[n];return o.dot(r)>Math.cos(this._minAngle)}getProfile(t,i,n){let s=this._pointsByProfile.get(t),o=this._pointsByProfile.get(i),r=[];for(let l of s)o.indexOf(l)!==-1&&l!==n&&r.push(l);return r}cast(t,i,n,s,o){return _o.point(this._shell,t,this._tempV1),_o.point(this._shell,i,this._tempV2),this.raycastSegment(n),!(!s.containsPoint(this._tempPoint)||this.isInvalidAngle(t,i,o))}saveResult(t){let i=this._tempV1.clone(),n=this._tempV2.clone(),s=this._normals[t],o=this._tempPoint.clone();this._result.push({point:o,normal:s,snappedEdgeP1:i,snappedEdgeP2:n})}getSecondIndex(t,i){let n=t===i-1,s=this.getTempProfile(this._shell);return n?s.indices(0):s.indices(t+1)}raycastSegment(t){t.distanceSqToSegment(this._tempV1,this._tempV2,void 0,this._tempPoint)}getTempProfile(t){return t.type()===Pc.BIG?this._bigShellProfile:this._shellProfile}},yse=class{constructor(t){Ne(this,"_meshes"),Ne(this,"_tempVec",new ye),this._meshes=t}pointRaycast(t,i){let n=_o.getShell(this._meshes,t),s=[];return this.cast(n,i,s),s}cast(t,i,n){let s=t.pointsLength();for(let o=0;o<s;o++){if(_o.point(t,o,this._tempVec),!i.containsPoint(this._tempVec))continue;let l=this._tempVec.clone();n.push({point:l})}}},Ese=class extends h${constructor(){super(...arguments),Ne(this,"_lodClass",X6.AABB),Ne(this,"_objectClass",nI.SHELL),Ne(this,"_representationClass",No.SHELL),Ne(this,"_templates",new use),Ne(this,"_constructor",new pse),Ne(this,"_faceRaycaster",new Ise(this.meshes)),Ne(this,"_lineRaycaster",new mse(this.meshes)),Ne(this,"_pointRaycaster",new yse(this.meshes))}fetchMeshes(t,i){let n=this.getMesh(t,Zs.GEOMETRY);return this.constructMesh(n,i,t),n}newMeshTemplate(t){return this._templates.newMeshTemplate(t)}lineRaycast(t,i,n){return this._lineRaycaster.lineRaycast(t,i,n)}faceRaycast(t,i){return this._faceRaycaster.faceRaycast(t,i)}raycast(t,i){return this._faceRaycaster.faceRaycast(t,i)}pointRaycast(t,i,n){return this._pointRaycaster.pointRaycast(t,n)}setupTemplates(){for(let t=0,i=this.meshes.shellsLength();t<i;t++){let n=_o.getShell(this.meshes,t);this.useMesh(t,this.newMeshTemplate(n),Zs.GEOMETRY)}}getRepresentation(){return this._representationClass}getObjectClass(){return this._objectClass}getLodClass(){return this._lodClass}isVoidMesh(t){return Array.isArray(t)?t[0].positionBuffer===void 0:t.positionBuffer===void 0}constructMesh(t,i,n){if(!this.isVoidMesh(t)||!i)return;let o=_o.getShell(this.meshes,n);this._constructor.construct(o,t),this.saveMesh(n,t,Zs.GEOMETRY)}},As=class{static circleCurve3Divisions(t){let o=t.aperture(),r=t.radius(),l=o*r*4,d=Math.round(l);return Math.min(Math.max(d,4),32)}static traverseCircleCurve(t,i,n){let s=t.circleCurvesLength(),o=2;for(let r=0;r<s;r++){this.getAllCircleCurveData(t,r);let l=n(this._circleCurve);this._circlePoints.length=l-o,this.getCircleCurveMids(l),this.getNewCircleCurveData(),i(this._circleP1,this._circlePoints,this._circleP2)}}static traverseWireSets(t,i){let n=t.wireSetsLength();for(let s=0;s<n;s++)t.wireSets(s,this._wireSet),this.traverseWireSetWires(i)}static raycastCircleExtr(t,i,n,s){let o=i.distanceTo(t);return this.setupCircleExtrusionAxes(i,t),this.setupCircleExtrusionTransform(t,s),this.setupCircleExtrusionRay(n),this.computeCircleExtrusionRaycast(o,s)}static traverseWires(t,i){let n=t.wiresLength();for(let s=0;s<n;s++)t.wires(s,this._wire),this.setWire(),i(this._wireP1,this._wireP2)}static getNewCircleCurveData(){this._circleP2.copy(this._circleP1);let t=this._circleCurve.aperture(),i=this._circleCurve.radius();this._circleP2.applyAxisAngle(this._circleOrientation,t),this._circleP2.multiplyScalar(i),this._circleP2.add(this._circleOrigin),this._circleP1.multiplyScalar(i),this._circleP1.add(this._circleOrigin)}static setWire(){this.setWirePoint("p1",this._wireP1),this.setWirePoint("p2",this._wireP2)}static getCircleCurveMids(t){let i=this._circlePoints.length;for(let n=0;n<i;n++)this._circlePoints[n]=this.newCirclePoint(n,t)}static newCirclePoint(t,i){let n=i-1,s=t+1,o=new ye;o.copy(this._circleP1);let r=this._circleCurve.radius(),h=this._circleCurve.aperture()*s/n;return o.applyAxisAngle(this._circleOrientation,h),o.multiplyScalar(r),o.add(this._circleOrigin),o}static getAllCircleCurveData(t,i){t.circleCurves(i,this._circleCurve),this.getCircleCurveData(this._circleOrigin,"position"),this.getCircleCurveData(this._circleOrientation,"xDirection"),this.getCircleCurveData(this._circleP1,"yDirection")}static setWirePoint(t,i){this._wire[t](this._floats);let n=this._floats.x(),s=this._floats.y(),o=this._floats.z();i.set(n,s,o)}static getCircleCurveData(t,i){let n=this._circleCurve[i]();this.getVectorData(n,t)}static getVectorData(t,i){let n=t.x(),s=t.y(),o=t.z();i.set(n,s,o)}static traverseWireSetWires(t){let n=this._wireSet.psLength()-1;for(let s=0;s<n;s++)this.getWiresetPoint(this._currentWireSetPoint,s),this.getWiresetPoint(this._nextWireSetPoint,s+1),t(this._currentWireSetPoint,this._nextWireSetPoint)}static getWiresetPoint(t,i){let n=this._wireSet.ps(i);this.getVectorData(n,t)}static setupCircleExtrusionTransform(t,i){this._ceTransform.identity(),this._ceTransform.makeBasis(this._ceAxisX,this._ceAxisY,this._ceAxisZ),this._ceTransform.setPosition(t),this._ceSize.set(i,i,i),this._ceTransform.scale(this._ceSize)}static computeCircleExtrusionRaycastFactors(){let n=this._ceRay.direction,s=this._ceRay.origin,o=n.x*n.x+n.y*n.y,r=2*s.x*n.x+2*s.y*n.y,l=s.x*s.x+s.y*s.y-1,d=4*o*l,h=r*r;if(d>h)return null;let I=2*o,m=Math.sqrt(h-d),y=(-r+m)/I,T=(-r-m)/I;return{factorA:y,factorB:T}}static computeCircleExtrusionRaycast(t,i){let n=this.computeCircleExtrusionRaycastFactors();if(n===null)return[];let{factorA:s,factorB:o}=n;return this._ceInverseTransform.transpose(),this._ceRaycastPoints=[],this.computeCircleExtrusionRaycastPoints(s,t,i),this.computeCircleExtrusionRaycastPoints(o,t,i),this._ceRaycastPoints}static setupCircleExtrusionRay(t){this._ceInverseTransform.copy(this._ceTransform),this._ceInverseTransform.invert(),this._ceRay.copy(t),this._ceRay.applyMatrix4(this._ceInverseTransform)}static computeCircleExtrusionRaycastPoints(t,i,n){if(!this.checkIfCircleExtrusionClashes(t,i,n))return;this._ceRaycastPoint.applyMatrix4(this._ceTransform);let o=this._ceRaycastPoint.clone();this._ceRaycastPoints.push({point:o})}static setupCircleExtrusionAxes(t,i){this._ceAxisZ.copy(t),this._ceAxisZ.sub(i),this._ceAxisZ.normalize(),this.computeNormal(this._ceAxisZ,this._ceAxisX),this._ceAxisY.crossVectors(this._ceAxisZ,this._ceAxisX)}static computeNormal(t,i){let s=t.dot(this._ceAbsoluteX),l=Math.abs(s)>.9?this._ceAbsoluteZ:this._ceAbsoluteX;i.crossVectors(t,l),i.normalize()}static setupCircleExtrusionRaycastPoint(t){this._ceRaycastPoint.copy(this._ceRay.direction),this._ceRaycastPoint.normalize(),this._ceRaycastPoint.multiplyScalar(t),this._ceRaycastPoint.add(this._ceRay.origin)}static checkIfCircleExtrusionClashes(t,i,n){this.setupCircleExtrusionRaycastPoint(t);let s=i/n,o=this._ceRaycastPoint.z;return o>=0&&o<=s}};Ne(As,"_floats",new pc);Ne(As,"_wire",new sx);Ne(As,"_wireSet",new PS);Ne(As,"_circleCurve",new WN);Ne(As,"_wireP1",new ye);Ne(As,"_wireP2",new ye);Ne(As,"_circleP1",new ye);Ne(As,"_circleP2",new ye);Ne(As,"_circleOrigin",new ye);Ne(As,"_circleOrientation",new ye);Ne(As,"_currentWireSetPoint",new ye);Ne(As,"_nextWireSetPoint",new ye);Ne(As,"_ceAxisZ",new ye);Ne(As,"_ceAxisY",new ye);Ne(As,"_ceAxisX",new ye);Ne(As,"_ceRaycastPoint",new ye);Ne(As,"_ceSize",new ye);Ne(As,"_ceAbsoluteX",new ye(0,0,1));Ne(As,"_ceAbsoluteZ",new ye(1,0,0));Ne(As,"_circlePoints",[]);Ne(As,"_ceTransform",new Ai);Ne(As,"_ceInverseTransform",new Ai);Ne(As,"_ceRay",new Wa);Ne(As,"_ceRaycastPoints",[]);var Eu=class c8{static newPaths(t,i){let n=c8.newPathData();return this.fetchCircleCurveData(t,n),this.fetchCircleCurveMids(i,n,t),this.fetchCircleCurveEnds(n,t),this.fetchCircleCurveCuts(n),n.cuts}static getAxisPartSize(t,i,n){let s=t.parts(i),o=t.order(i),r=c8.getAxisPartData(s,n,t,o);return c8.fetchAxisPartSize(n,r),this._axisPartSize}static vertexLength(t,i=200){let n=Math.round(t*i),s=Math.max(n,c8._minSize);return Math.min(s,c8._maxSize)}static setPathVertices(t){let i=this.circleCurvePoints,n=!i,s=i&&i.length!==t;if(n||s){this.circleCurvePoints=[];for(let o=0;o<t;o++){let d=2*Math.PI*o/t,h=Math.sin(d),p=Math.cos(d),I=new ye(h,p,0);this.circleCurvePoints.push(I)}}}static fetchCircleCurveEnds(t,i){t.last.copy(t.first),t.last.applyAxisAngle(t.axis,i.aperture()),t.last.multiplyScalar(i.radius()),t.last.add(t.center),t.first.multiplyScalar(i.radius()),t.first.add(t.center)}static getAxisPartData(t,i,n,s){return{[mu.WIRE]:this.getAxisPartWireData,[mu.WIRE_SET]:this.getAxisPartWireSetData,[mu.CIRCLE_CURVE]:this.getAxisPartCircleCurveData}[t](n,s,i)}static newEmptyAxisPartData(){return{indices:0,points:0,faces:0,links:0}}static fetchCircleCurveMids(t,i,n){let s=t-2;for(let o=0;o<s;o++){let r=new ye;r.copy(i.first);let l=n.aperture(),d=t-1,p=l*(o+1)/d;r.applyAxisAngle(i.axis,p),r.multiplyScalar(n.radius()),r.add(i.center),i.mids[o]=r}}static validSize(t,i,n){let s=t+i+n;return w8>=s}static fetchCircleCurveCuts(t){t.cuts.push(t.first),t.cuts.push(...t.mids),t.cuts.push(t.last)}static fetchCircleCurveData(t,i){let n=t.position();i.center.set(n.x(),n.y(),n.z());let s=t.xDirection();i.axis.set(s.x(),s.y(),s.z());let o=t.yDirection();i.first.set(o.x(),o.y(),o.z())}static newPathData(){return{axis:new ye,cuts:[],center:new ye,last:new ye,first:new ye,mids:[]}}static fetchAxisPartSize(t,i){let n=t-2,o=i.faces*n*3,r=i.links*t*this._wireSize;this._axisPartSize.verticesLength=i.points,this._axisPartSize.indicesLength=i.indices+o+r}};Ne(Eu,"up",new ye(0,0,1));Ne(Eu,"circleCurves",[]);Ne(Eu,"circleCurvePoints");Ne(Eu,"temp",{circleExtrusion:new Pl,circleCurve:new WN,wireSet:new PS,axis:new Ns,rotation:new Gs,vector:new ye});Ne(Eu,"_wireSize",6);Ne(Eu,"_minSize",6);Ne(Eu,"_maxSize",30);Ne(Eu,"_axisPartSize",{verticesLength:0,indicesLength:0});Ne(Eu,"getAxisPartWireSetData",(e,t,i)=>{let s=Eu.newEmptyAxisPartData();e.wireSets(t,Eu.temp.wireSet);let o=Eu.temp.wireSet.psLength()-1;return s.points=o*2*i,s.indices=Eu._wireSize*o*i,s.faces=o*2,s});Ne(Eu,"getAxisPartWireData",(e,t,i)=>{let n=Eu.newEmptyAxisPartData();return n.points=2*i,n.indices=Eu._wireSize*i,n.faces=2,n});Ne(Eu,"getAxisPartCircleCurveData",(e,t,i)=>{let n=Eu.newEmptyAxisPartData();e.circleCurves(t,Eu.temp.circleCurve);let s=As.circleCurve3Divisions(Eu.temp.circleCurve),o=i*s;n.points=o;let r=i*(s-1),l=Eu._wireSize*r;n.indices=l;let d=2;return n.faces=d,n.links=d,n});var un=Eu,Tse=class{constructor(){Ne(this,"_minLinkDistance",1/1e8),Ne(this,"_first",new ye),Ne(this,"_last",new ye),Ne(this,"_currentPoint"),Ne(this,"_currentIndex"),Ne(this,"_v1",new ye),Ne(this,"_v2",new ye),Ne(this,"_v3",new ye),Ne(this,"_v4",new ye),Ne(this,"_tempLine",new ds),Ne(this,"_total",0),Ne(this,"_closest",0),Ne(this,"_result",0)}newTemplate(t,i,n){let s=t.radius(i),o=t.axes(i,un.temp.axis),r=un.vertexLength(s),l=n.length-1,d=n[l],h=o.orderLength();for(let p=0;p<h;p++)d=this.generateTemplate(o,p,r,d,n)}construct(t,i){let n={},r=0;for(let l=0,d=t.axesLength();l<d;l++){let h=t.radius(l);t.axes(l,un.temp.axis);let p=un.vertexLength(h);r=this.constructVce(p,n,void 0,r,0,i,h)}}getTemplateCreationData(t,i,n){let s=!t,o=!1;if(!s){let r=t.positionCount/3,l=i.verticesLength;o=un.validSize(r,l,n)}return{isStart:s,fits:o}}generateTemplate(t,i,n,s,o){let r=un.getAxisPartSize(t,i,n),{isStart:l,fits:d}=this.getTemplateCreationData(s,r,n);return(l||!d)&&(s=this.newTemplateData(),o.push(s),this.savePrevious(l,i,n,s)),s.positionCount+=r.verticesLength*3,s.normalCount+=r.verticesLength*3,s.indexCount+=r.indicesLength,s}savePrevious(t,i,n,s){if(!t&&i!==0){let d=(n-2)*3;s.positionCount+=n*3,s.normalCount+=n*3,s.indexCount+=d}}constructNewVce(t,i,n,s,o,r,l){let d=!t,h=!1;if(!d){let I=i.verticesLength;h=un.validSize(n,I,s)}if(d||!h){t=o[r++],this.setupNewVceBuffers(t);let I=this._currentPoint;if(n=this.clearOffset(n),!d&&l!==0){let y=o[r-2];this.getClone(y,t,I,s),n+=s}}return{data:t,pointAmount:n,position:r}}constructVce(t,i,n,s,o,r,l){let d=un.temp.axis.orderLength();for(let h=0;h<d;h++){let p=un.temp.axis,I=un.getAxisPartSize(p,h,t);this.setupLink(h,i),{data:n,pointAmount:s,position:o}=this.constructNewVce(n,I,s,t,r,o,h),this.newAxisPart(un.temp.axis,h,n,l,t,i),s+=I.verticesLength}return s}newTemplateData(){return{objectClass:nI.SHELL,indexCount:0,positionCount:0,normalCount:0}}setupNewVceBuffers(t){t.positionBuffer=new Float32Array(t.positionCount),t.normalBuffer=new Int16Array(t.normalCount),t.indexBuffer=new Uint16Array(t.indexCount)}clearOffset(t){return this._currentPoint=0,this._currentIndex=0,t=0,t}getClone(t,i,n,s){let o=s*-3;for(let r=o;r<0;r++){let l=i.positionBuffer,d=t.positionBuffer,h=i.normalBuffer,p=t.normalBuffer;l[this._currentPoint]=d[n+r],h[this._currentPoint]=p[n+r],this._currentPoint++}}manageAxisPartCreation(t,i,n,s,o,r,l){if(t===mu.CIRCLE_CURVE){let d=i.circleCurves(n);this.newCircleCurve(d,s,o,r,l);return}if(t===mu.WIRE_SET){let d=i.wireSets(n);this.newWireSet(d,s,o,r,l);return}if(t===mu.WIRE){let d=i.wires(n);this.newWire(d,s,o,r,l)}}newWireSetStart(t,i,n,s){t===1?this.linkStart(i,n,s,this._first,mu.WIRE_SET):this.newPathOrderData(i,n)}newWireSet(t,i,n,s,o){for(let r=1,l=t.psLength();r<l;r++){let d=un.temp.rotation;this.getWireSetPoints(t,r),this.setWireSetVector(),this.newPath(this._first,i,d,n,s),this.newWireSetStart(r,n,s,o),this.newPath(this._last,i,d,n,s),this.fillWireSetData(r,l,o,n,s),this.linkPaths(n,s)}}fillWireSetData(t,i,n,s,o){t!==i-1||n.last?this.newPathOrderData(s,o,!0):(n.placement=this._last,n.axisClass=mu.WIRE_SET)}setWireSetVector(){un.temp.vector.copy(this._last),un.temp.vector.sub(this._first),un.temp.vector.normalize(),un.temp.rotation.setFromUnitVectors(un.up,un.temp.vector)}newCircleCurveBody(t,i,n,s){let o=t-2;for(let r=0;r<o;r++){let l=un.circleCurves[r],d=un.circleCurves[r+1],h=un.circleCurves[r+2],p=un.temp.vector;p.copy(h),p.sub(l),p.normalize(),un.temp.rotation.setFromUnitVectors(un.up,p),this.newPath(d,i,un.temp.rotation,n,s),this.linkPaths(n,s,!0)}}newCircleCurveFinish(t,i,n,s,o){let r=t-2,l=t-1,d=un.circleCurves[r],h=un.circleCurves[l],p=un.temp.vector;if(p.copy(h),p.sub(d),p.normalize(),un.temp.rotation.setFromUnitVectors(un.up,p),this.newPath(h,i,un.temp.rotation,n,s),o.last){this.newPathOrderData(n,s,!0);return}o.placement=un.circleCurves[l],o.axisClass=mu.CIRCLE_CURVE}setupLink(t,i){t===0&&(i.first=!0);let n=un.temp.axis.orderLength();t===n-1&&(i.last=!0)}newCircleCurveStart(t,i,n,s){let o=un.circleCurves[0],r=un.circleCurves[1],l=un.temp.vector;l.copy(r),l.sub(o),l.normalize(),un.temp.rotation.setFromUnitVectors(un.up,l),this.newPath(o,t,un.temp.rotation,i,n);let d=mu.CIRCLE_CURVE;this.linkStart(i,n,s,o,d)}getWireSetPoints(t,i){let n=t.ps(i-1);this._first.set(n.x(),n.y(),n.z());let s=t.ps(i);this._last.set(s.x(),s.y(),s.z())}finishWire(t,i,n,s){this.newPath(this._last,t,un.temp.rotation,i,n),s.last?this.newPathOrderData(i,n,!0):(s.placement=this._last,s.axisClass=mu.WIRE),this.linkPaths(i,n)}linkPaths(t,i,n=!1){let s=i,{p1:o,p2:r,p3:l}=this.getPathPositions(s,n,t),d=t.indexBuffer;for(let h=0;h<s;h++){let p=(h+1)%s,{i3:I,i4:m,i1:y,i2:T}=this.getLinkPathIndices(l,h,o,s,p,r);d[this._currentIndex++]=I,d[this._currentIndex++]=m,d[this._currentIndex++]=y,d[this._currentIndex++]=y,d[this._currentIndex++]=m,d[this._currentIndex++]=T}}startWire(t,i,n,s){this.newPath(this._first,t,un.temp.rotation,i,n);let o=mu.WIRE;this.linkStart(i,n,s,this._first,o)}setupWireVectors(){let t=un.temp.vector;t.copy(this._last),t.sub(this._first),t.normalize(),un.temp.rotation.setFromUnitVectors(un.up,t)}getLinkPathIndices(t,i,n,s,o,r){let l=0,d=0,h=0,p=0;return t+i>=n?l=t+i-s:l=t+i,t+o>=n?d=t+o-s:d=t+o,r+i>=n+s?h=r+i-s:h=r+i,r+o>=n+s?p=r+o-s:p=r+o,{i3:h,i4:p,i1:l,i2:d}}fetchWirePoints(t){let i=t.p1(),n=t.p2();this._first.set(i.x(),i.y(),i.z()),this._last.set(n.x(),n.y(),n.z())}findLinkedVertex(t,i,n,s,o){for(let r=t;r<i;r++){this.point(r,n,this._v1);let l=r-s+o,d=l>=t?l-s:l;this.point(d,n,this._v2);let h=l+1>=t?l+1-s:l+1;this.point(h,n,this._v3),this._tempLine.set(this._v2,this._v3),this._tempLine.closestPointToPoint(this._v1,!0,this._v4),this._total+=this._v4.distanceTo(this._v1)}}newPath(t,i,n,s,o){un.setPathVertices(o);let r=3;for(let l=0;l<o;l++)this.setPathPosition(l,i,n,t,s),this.setPathNormal(l,n,s),this._currentPoint+=r}linkStart(t,i,n,s,o){if(n.first){this.newPathOrderData(t,i);return}let l=mu.CIRCLE_CURVE,p=n.axisClass===l||o===l,m=n.placement.distanceToSquared(s)<this._minLinkDistance;if(!p||!m){this.newPathOrderData(t,i,!0,!0),this.newPathOrderData(t,i);return}this.linkPaths(t,i,!0)}setPathPosition(t,i,n,s,o){let r=un.temp.vector;r.copy(un.circleCurvePoints[t]),r.multiplyScalar(i),r.applyQuaternion(n),r.add(s);let l=o.positionBuffer,d=this._currentPoint,h=this._currentPoint+1,p=this._currentPoint+2;l[d]=r.x,l[h]=r.y,l[p]=r.z}newWire(t,i,n,s,o){this.fetchWirePoints(t),this.setupWireVectors(),this.startWire(i,n,s,o),this.finishWire(i,n,s,o)}newCircleCurve(t,i,n,s,o){let r=As.circleCurve3Divisions(t);un.circleCurves=un.newPaths(t,r),this.newCircleCurveStart(i,n,s,o),this.newCircleCurveBody(r,i,n,s),this.newCircleCurveFinish(r,i,n,s,o),this.linkPaths(n,s,!0)}newPathOrderData(t,i,n=!1,s=!1){let l=i-2,d=t.indexBuffer;for(let h=0;h<l;h++){let p=this._currentPoint/3,m=i*(s?2:1),y=p-m;d[this._currentIndex]=y,this._currentIndex++;let T=n?2:1,R=p+h+T-m;d[this._currentIndex]=R,this._currentIndex++;let b=n?1:2,A=p+h+b-m;d[this._currentIndex]=A,this._currentIndex++}}getPathPositions(t,i,n){let s=this._currentPoint/3-t,o=s,r=s-t;return i&&(r=this.fetchLinkedVertex(s,n,t)),{p3:r,p1:s,p2:o}}newAxisPart(t,i,n,s,o,r){let l=t.parts(i),d=t.order(i);this.manageAxisPartCreation(l,t,d,s,n,o,r),r.first=!1,r.last=!1}fetchLinkedVertex(t,i,n){this._closest=Number.MAX_VALUE;for(let s=0;s<n;s++){this._total=0;let o=t+n;this.findLinkedVertex(t,o,i,n,s),this._total<this._closest&&(this._closest=this._total,this._result=t-n+s+1)}return this._result}setPathNormal(t,i,n){let s=un.temp.vector,o=un.circleCurvePoints[t];s.copy(o),s.applyQuaternion(i);let r=n.normalBuffer,l=this._currentPoint,d=this._currentPoint+1,h=this._currentPoint+2;r[l]=s.x*WV,r[d]=s.y*WV,r[h]=s.z*WV}point(t,i,n){let s=i.positionBuffer,o=t*3,r=t*3+1,l=t*3+2,d=s[o],h=s[r],p=s[l];return n.set(d,h,p),n}},gse=class{constructor(t){Ne(this,"_meshes"),Ne(this,"_results",[]),Ne(this,"_circleExtrusion",new Pl),Ne(this,"_axis",new Ns),this._meshes=t}raycast(t,i){this._results.length=0,this._meshes.circleExtrusions(t,this._circleExtrusion);for(let n=0,s=this._circleExtrusion.axesLength();n<s;n++){this._circleExtrusion.axes(n,this._axis);let o=this._circleExtrusion.radius(n);this.traverseAllCurves(i,o)}return this._results}getTraverseWiresEvent(t,i){return(n,s)=>{this.castCurveExtrusion(n,s,t,i)}}castCurveExtrusion(t,i,n,s){let r=As.raycastCircleExtr(t,i,n,s);for(let l of r)this._results.push(l)}getTraverseCircleCurveEvent(t,i){return(n,s,o)=>{let r=s[0];this.castCurveExtrusion(n,r,t,i);for(let d=0;d<s.length;d++){if(d===0)continue;let h=s[d-1],p=s[d];this.castCurveExtrusion(h,p,t,i)}let l=s[s.length-1];this.castCurveExtrusion(l,o,t,i)}}traverseAllCurves(t,i){let n=this.getTraverseWiresEvent(t,i);As.traverseWires(this._axis,n);let s=this.getTraverseCircleCurveEvent(t,i),o=As.circleCurve3Divisions;As.traverseCircleCurve(this._axis,s,o);let r=this.getTraverseWiresEvent(t,i);As.traverseWireSets(this._axis,r)}},wse=class{constructor(t){Ne(this,"_meshes"),Ne(this,"_found",[]),Ne(this,"_circleExtrusion",new Pl),Ne(this,"_axis",new Ns),Ne(this,"_wirePoint",new ye),this._meshes=t}lineRaycast(t,i){this._found.length=0,this._meshes.circleExtrusions(t,this._circleExtrusion);let n=this._circleExtrusion.axesLength();for(let s=0;s<n;s++)this._circleExtrusion.axes(s,this._axis),this.processLineRaycast(s,i);return this._found}wireSetRaycast(t,i){let n=this._axis;As.traverseWireSets(n,(s,o)=>{this.cylinderRaycast(s,o,t,i)})}exclusiveCylinderRaycast(t,i){let n=this._axis,s=this.getCylinderRaycastEvent(t,i);As.traverseWires(n,s)}processLineRaycast(t,i){let n=this._circleExtrusion.radius(t);this.exclusiveCylinderRaycast(i,n),this.circleCurveRaycast(i,n),this.wireSetRaycast(i,n)}getCylinderRaycastEvent(t,i){return(n,s)=>{this.cylinderRaycast(n,s,t,i)}}processCircleCurveBody(t,i,n){for(let s=0;s<t.length;s++){if(s===0)continue;let o=t[s],r=t[s-1];this.cylinderRaycast(r,o,i,n)}}getCircleCurveRaycastEvent(t,i){return(n,s,o)=>{this.cylinderRaycast(n,s[0],t,i),this.processCircleCurveBody(s,t,i);let r=s[s.length-1];this.cylinderRaycast(r,o,t,i)}}fetchCylinderRaycastResult(t,i,n){t.distanceSqToSegment(i,n,void 0,this._wirePoint);let s=this.newResult(i,n);this._found.push(s)}circleCurveRaycast(t,i){let n=As.circleCurve3Divisions,s=this.getCircleCurveRaycastEvent(t,i);As.traverseCircleCurve(this._axis,s,n)}newResult(t,i){return{point:this._wirePoint.clone(),raySquaredDistance:void 0,snappedEdgeP1:t.clone(),snappedEdgeP2:i.clone()}}cylinderRaycast(t,i,n,s){let r=As.raycastCircleExtr(t,i,n,s);for(let l of r)l.point&&this.fetchCylinderRaycastResult(n,t,i)}},vse=class{constructor(t){Ne(this,"_meshes"),Ne(this,"_results",[]),Ne(this,"_circleExtrusion",new Pl),Ne(this,"_axis",new Ns),Ne(this,"_normal",new ye),Ne(this,"_point",new ye),Ne(this,"_plane",new es),this._meshes=t}pointRaycast(t,i){return this._results.length=0,this._meshes.circleExtrusions(t,this._circleExtrusion),this.traverseAllCircleExtrusions(i),this.getCleanResults()}fetchOrientation(t,i){un.temp.vector.copy(t),un.temp.vector.sub(i),un.temp.vector.normalize(),un.temp.rotation.setFromUnitVectors(un.up,un.temp.vector)}getTraverseWiresEvent(t,i){return(n,s)=>{this.fetchOrientation(n,s);let o=this.raycastCutCircleExtrusion(n,t,i),r=this.raycastCutCircleExtrusion(s,t,i);this._results.push(o,r)}}traverseAllCircleExtrusions(t){let i=this._circleExtrusion.axesLength();for(let n=0;n<i;n++){this._circleExtrusion.axes(n,this._axis);let s=this._circleExtrusion.radius(n),o=un.vertexLength(s);un.setPathVertices(o),this.traverseAllCurves(t,s)}}setupCuttedCircleExtrusion(t){this._normal.set(0,0,1),this._normal.applyQuaternion(un.temp.rotation),this._plane.setFromNormalAndCoplanarPoint(this._normal,t)}getTraverseCircleCurveEvent(t,i){return(n,s,o)=>{this.fetchOrientation(n,s[0]);let r=this.raycastCutCircleExtrusion(n,t,i),l=s[s.length-1];this.fetchOrientation(l,o);let d=this.raycastCutCircleExtrusion(o,t,i);this._results.push(r,d)}}computeCutCircleExtrCast(t,i,n){if(n.intersectPlane(this._plane,this._point),this._point.distanceTo(t)<=i)return{point:t.clone()}}raycastCutCircleExtrusion(t,i,n){if(this.setupCuttedCircleExtrusion(t),i.intersectsPlane(this._plane))return this.computeCutCircleExtrCast(t,n,i)}getCleanResults(){let t=[];for(let i of this._results)i&&t.push(i);return t}traverseAllCurves(t,i){let n=this.getTraverseWiresEvent(t,i);As.traverseWires(this._axis,n);let s=this.getTraverseCircleCurveEvent(t,i),o=As.circleCurve3Divisions;As.traverseCircleCurve(this._axis,s,o);let r=this.getTraverseWiresEvent(t,i);As.traverseWireSets(this._axis,r)}},Rse=class{constructor(){Ne(this,"_currentElement",0),Ne(this,"_wireSize",6),Ne(this,"newCircleCurveLod",(t,i,n)=>{let s=this.newCircleCurveLodPath(t,i),o=n.positionBuffer;for(let r=1;r<s;r++){let l=un.circleCurves[r-1],d=un.circleCurves[r];this.newWire(o,l,d)}}),Ne(this,"newWireSetLod",(t,i,n)=>{let s=t.wireSets(i),o=s.psLength(),r=n.positionBuffer;for(let l=1;l<o;l++){let d=s.ps(l-1),h=s.ps(l);this.newWire(r,d,h)}}),Ne(this,"newWireTemplate",(t,i)=>{i.positionCount+=this._wireSize}),Ne(this,"newWireSetTemplate",(t,i)=>{let o=un.temp.axis.wireSets(t,un.temp.wireSet).psLength()-1;i.positionCount+=this._wireSize*o}),Ne(this,"newWireLod",(t,i,n)=>{let s=t.wires(i),o=s.p1(),r=s.p2(),l=n.positionBuffer;this.newWire(l,o,r)}),Ne(this,"newCircleCurveTemplate",(t,i)=>{let s=un.temp.axis.circleCurves(t,un.temp.circleCurve),o=As.circleCurve3Divisions(s);i.positionCount+=this._wireSize*(o-1)})}construct(t,i){this._currentElement=0,i.positionBuffer=new Float32Array(i.positionCount);for(let n=0,s=t.axesLength();n<s;n++)t.axes(n,un.temp.axis),this.constructLod(i);return i}constructCircleExtrusionLod(t,i){let n=un.temp.axis,s=n.parts(t),o=n.order(t);this.getLodConstructor(s)(n,o,i)}newCircleCurveLodPath(t,i){let n=t.circleCurves(i),s=As.circleCurve3Divisions(n);return un.circleCurves=un.newPaths(n,s),s}selectNextWire(){this._currentElement+=this._wireSize}getAxisPartVertexSize(t,i){let n=un.temp.axis,s=n.parts(t),o=n.order(t);this.getTemplateConstructor(s)(o,i)}getIndices(){let t=this._currentElement,i=this._currentElement+1,n=this._currentElement+2,s=this._currentElement+3,o=this._currentElement+4,r=this._currentElement+5;return{i1:t,i2:i,i3:n,i4:s,i5:o,i6:r}}setAxisTemplate(t,i){un.temp.circleExtrusion.axes(t,un.temp.axis);let n=un.temp.axis.partsLength();for(let s=0;s<n;s++)this.getAxisPartVertexSize(s,i);this.setAxisThickness(i,t)}constructLod(t){let i=un.temp.axis.orderLength();for(let n=0;n<i;n++)this.constructCircleExtrusionLod(n,t)}getLodConstructor(t){return{[mu.WIRE]:this.newWireLod,[mu.WIRE_SET]:this.newWireSetLod,[mu.CIRCLE_CURVE]:this.newCircleCurveLod}[t]}newTemplate(){let t=un.temp.circleExtrusion,i=this.newTemplateData(),n=t.axesLength();for(let s=0;s<n;s++)this.setAxisTemplate(s,i);return i}setAxisThickness(t,i){let n=t.lodThickness,s=un.temp.circleExtrusion.radius(i);t.lodThickness=Math.max(n,s)}newTemplateData(){return{objectClass:nI.LINE,lod:Zs.WIRES,lodThickness:0,positionCount:0}}getTemplateConstructor(t){return{[mu.WIRE]:this.newWireTemplate,[mu.WIRE_SET]:this.newWireSetTemplate,[mu.CIRCLE_CURVE]:this.newCircleCurveTemplate}[t]}newWire(t,i,n){let s=i instanceof ye?i.x:i.x(),o=i instanceof ye?i.y:i.y(),r=i instanceof ye?i.z:i.z(),l=n instanceof ye?n.x:n.x(),d=n instanceof ye?n.y:n.y(),h=n instanceof ye?n.z:n.z(),{i1:p,i2:I,i3:m,i4:y,i5:T,i6:R}=this.getIndices();t[p]=s,t[I]=o,t[m]=r,t[y]=l,t[T]=d,t[R]=h,this.selectNextWire()}},Sse=class extends h${constructor(){super(...arguments),Ne(this,"_vceConstructor",new Tse),Ne(this,"_lodConstructor",new Rse),Ne(this,"_vceRaycaster",new gse(this.meshes)),Ne(this,"_vceLineRaycaster",new wse(this.meshes)),Ne(this,"_vcePointRaycaster",new vse(this.meshes)),Ne(this,"_representationClass",No.CIRCLE_EXTRUSION),Ne(this,"_objectClass",nI.LINE),Ne(this,"lodClass",X6.CUSTOM)}setupTemplates(){let t=this.meshes.circleExtrusionsLength();for(let i=0;i<t;i++)this.newCircleExtrusionTemplate(i)}fetchLod(t,i){let n=this.getMesh(t,Zs.WIRES);return this.generateLodIfNeeded(t,i,n),n}fetchMeshes(t,i){let n=this.getMesh(t,Zs.GEOMETRY);return this.generateMeshesIfNeeded(t,i,n),n}raycast(t,i){return this._vceRaycaster.raycast(t,i)}faceRaycast(){return[]}pointRaycast(t,i){return this._vcePointRaycaster.pointRaycast(t,i)}lineRaycast(t,i){return this._vceLineRaycaster.lineRaycast(t,i)}getObjectClass(){return this._objectClass}getRepresentation(){return this._representationClass}getLodClass(){return this.lodClass}newMeshes(t,i){this.meshes.circleExtrusions(t,un.temp.circleExtrusion);let n=un.temp.circleExtrusion;this._vceConstructor.construct(n,i),this.saveMesh(t,i,Zs.GEOMETRY)}generateMeshesIfNeeded(t,i,n){if(n.length===0)return;let s=!!n.length,o=!n[0].positionBuffer;i&&o&&s&&this.newMeshes(t,n)}newCircleExtrusionTemplate(t){let i=[];this.meshes.circleExtrusions(t,un.temp.circleExtrusion);let n=un.temp.circleExtrusion,s=n.axesLength();for(let r=0;r<s;r++)this._vceConstructor.newTemplate(n,r,i);let o=this._lodConstructor.newTemplate();this.useMesh(t,i,Zs.GEOMETRY),this.useMesh(t,o,Zs.WIRES)}generateLodIfNeeded(t,i,n){n.positionBuffer||!i||(this.meshes.circleExtrusions(t,un.temp.circleExtrusion),this._lodConstructor.construct(un.temp.circleExtrusion,n),this.saveMesh(t,n,Zs.WIRES))}},Ase=class{constructor(t){Ne(this,"size"),Ne(this,"_data"),Ne(this,"_highlightData"),this.size=t,this._data=new Uint8Array(t),this._highlightData=new Uint16Array(t),this._data.fill(1)}getHighlight(t){return this._highlightData[t]}setHighlight(t,i){zV.checkMemory(i),this._highlightData[t]=i}clearHighlight(){this._highlightData.fill(0)}visible(t){return zV.check(this._data,t,xne.VISIBLE)}setVisible(t,i){zV.apply(this._data,t,xne.VISIBLE,i)}clearVisible(){this._data.fill(1)}},BS=class e{static newThread(t,i){return i?new Worker(t):new Worker(t,{type:"module"})}static newUpdater(t,i){return setInterval(t,i)}static getMeshComputeRequest(t,i){return{class:_1.RECOMPUTE_MESHES,modelId:t,list:i}}static planeSet(t){let i=[];for(let n of t){let s=this.array(n.normal),o=n.constant,r=new es(s,o);i.push(r)}return i}static data(t){var i,n;if(t?.elements!==void 0)return e.transform(t);if(t?.origin!==void 0&&t?.direction!==void 0)return e.beam(t);if(t?.planes!==void 0)return e.frustum(t);let l=t?.normal!==void 0,d=t?.constant!==void 0;if(l&&d)return e.plane(t);let p=((i=t[0])==null?void 0:i.normal)!==void 0,I=((n=t[0])==null?void 0:n.constant)!==void 0;if(p&&I)return e.planeSet(t);let y=t?.x!==void 0,T=t?.y!==void 0,R=t?.z!==void 0;return y&&T&&R?e.array(t):t}static getExecuteRequest(t,i,n){let s=Array.from(n);return{class:_1.EXECUTE,modelId:t,function:i,parameters:s}}static plane(t){let i=this.array(t.normal),n=t.constant;return new es(i,n)}static getRequestContent(t){let i=[];for(let n of t.list)e.setupCreateRequest(n,i),e.setupUpdateRequest(n,i);return i}static array(t){let i=new ye;return i.set(t.x,t.y,t.z),i}static cleanRequests(t){let i=[],n=e;for(let s of t)n.isFinishRequest(s)||i.push(s);return i}static frustum(t){let i=this.planeSet(t.planes),[n,s,o,r,l,d]=i;return new F0(n,s,o,r,l,d)}static beam(t){let i=this.array(t.origin),n=this.array(t.direction);return new Wa(i,n)}static transform(t){let i=new Ai;return i.copy(t),i}static deleteUpdater(t){clearInterval(t)}static areCoresAvailable(t){let i=e.getCpuCapacity(),n=Math.max(i,2);return t<n}static isFinishRequest(t){return t.tileRequestClass===yu.FINISH}static setupUpdateRequest(t,i){t.tileRequestClass===yu.UPDATE&&this.addAllTileData(t,i)}static getCpuCapacity(){var t;return(t=globalThis.navigator)!=null&&t.hardwareConcurrency?navigator.hardwareConcurrency-3:0}static addAllTileData(t,i){this.addRequestTileData(t,i,"visibilityData");let n=["highlightIds"];this.addRequestTileData(t,i,"highlightData",n)}static addRequestContent(t,i,n){if(!i[t])return;let s=i[t].buffer;n.push(s)}static addRequestTileData(t,i,n,s=[]){let o=t.tileData[n];if(o){i.push(o.position.buffer),i.push(o.size.buffer);for(let r of s)i.push(t.tileData[r].buffer)}}static setupCreateRequest(t,i){if(t.tileRequestClass!==yu.CREATE)return;let n=this.getCreateRequestIds();for(let s of n)this.addRequestContent(s,t,i);this.addAllTileData(t,i)}static getCreateRequestIds(){return["positions","indices","normals","itemIds"]}},bse=class{constructor(t,i){Ne(this,"_rate",64),Ne(this,"_updater"),Ne(this,"_modelId"),Ne(this,"_threshold",16),Ne(this,"_connection"),Ne(this,"_list",[]),Ne(this,"refresh",()=>{if(this._list.length){let n=this._list;this._connection.fetchMeshCompute(this._modelId,n),this._list=[]}}),this._modelId=t,this._connection=i,this._updater=BS.newUpdater(this.refresh,this._rate)}get needsRefresh(){return this._list.length>this._threshold}dispose(){BS.deleteUpdater(this._updater)}clean(){this._list=BS.cleanRequests(this._list)}process(t){this._list.push(t),this.needsRefresh&&this.refresh()}},Nse=class{constructor(t,i,n,s){Ne(this,"_meshes"),Ne(this,"_model"),Ne(this,"_boxes"),Ne(this,"_tiles"),Ne(this,"_items"),Ne(this,"_edgeThreshold",8),Ne(this,"_raycastMultiplier",32),Ne(this,"_maxDuration",512),Ne(this,"_precission",.001),Ne(this,"_temp",{sample:new jN,representation:new cE,tempPlane:new es,ray:new Wa,frustum:new F0,m1:new Ai,m2:new Ai,m3:new Ai,v1:new ye,planes:[]}),this._model=t,this._boxes=i,this._tiles=n,this._items=s,this._meshes=t.meshes()}static cast(t,i,n,s,o){let r=i.id();if(o===xN.FACE)return t.faceRaycast(r,n,s);if(o===xN.LINE)return t.lineRaycast(r,n,s);if(o===xN.POINT)return t.pointRaycast(r,n,s);if(o===void 0)return t.raycast(r,n,s)}raycast(t,i,n,s){let o={ray:t,frustum:i,planes:n,returnAll:s},r=this.castBox(i,n);return r.length?this.computeRaycastList(r,o):null}snapRaycast(t,i,n,s){let o=[],r={ray:t,frustum:i,planes:s},l=this.raycast(t,i,s);return l?(this.getSnaps(l,r,n,o),l.normal?this.filterOnFront(o):o):this.snapCastEdges(r,n)}rectangleRaycast(t,i,n){let s=this._boxes.lookup;if(!s)return[];let o=s.collideFrustum(i,t,n),r=this.filterVisible(o);return this.localIdsFromItemIds(r)}snapCastEdges(t,i){let n=[],s=i.includes(xN.POINT),o=i.includes(xN.LINE);return(s||o)&&this.computeEdgesCast(t,i,n),this.addDistanceToEdgeResult(n,t.ray),n}filterVisible(t){let i=[];for(let n of t){this._meshes.samples(n,this._temp.sample);let s=this._temp.sample.item();this._items.visible(s)&&i.push(n)}return i}computeSnaps(t,i,n,s){for(let o of t)if(this.isValidSnap(o)){let l={snap:o,...i},d=this.castSample(n,l);for(let h of d)s.push(h)}}computeEdgesCast(t,i,n){let s=this.getRawEdges(t),o=performance.now();for(let r of s)if(this.fetchSampleData(r),this.computeSnaps(i,t,r,n),this.isTimeExceeded(o))break}addDistanceToEdgeResult(t,i){for(let n of t){let s=n.point;n.raySquaredDistance=i.distanceSqToPoint(s)}}getRawEdges(t){let i=this.castBox(t.frustum,t.planes);return i.length<=this._edgeThreshold?i:this.sortBoxes(t.ray,i,this._edgeThreshold)}sortBoxes(t,i,n){let s=[],o=new ye,r=t.origin;for(let h=0;h<i.length;h++){let p=i[h],I=this._boxes.get(p);t.intersectBox(I,o);let m=o.distanceToSquared(r);s.push(m)}let l=this.dataSort(i,s);return n&&l.length>n&&l.splice(n),l}castBox(t,i){let n=this._boxes.lookup;if(!n)return[];if(t instanceof Wa){let o=n.collideRay(i,t);return this.filterVisible(o)}let s=n.collideFrustum(i,t);return this.filterVisible(s)}dataSort(t,i){let s=Array.from(t.keys()).sort((r,l)=>i[r]-i[l]),o=[];for(let r of s){let l=t[r];o.push(l)}return o}localIdsFromItemIds(t){let i=new Set;for(let n of t){this._meshes.samples(n,this._temp.sample);let s=this._temp.sample.item(),o=this._meshes.meshesItems(s);if(o===null)continue;let r=this._model.localIds(o);r!==null&&i.add(r)}return Array.from(i)}getNearest(t){let i=t[0];for(let n=1;n<t.length;n++){let s=t[n];if(i.raySquaredDistance&&s.raySquaredDistance){let o=this.getNearScore(i);this.getNearScore(s)<o&&(i=s)}else s.cameraSquaredDistance<i.cameraSquaredDistance&&(i=s)}return i}getEdges(t,i,n){let s=this.snapCastEdges(t,i);if(s)for(let o of s)n.push(o)}getNearScore(t){let i=this._raycastMultiplier;return t.raySquaredDistance*i+t.cameraSquaredDistance}setupSampleCastData(t){f8.get(this._temp.sample,this._meshes,this._temp.m1),this._temp.m2.copy(this._temp.m1).invert(),this._temp.ray.copy(t.ray).applyMatrix4(this._temp.m2),MS.transform(t.frustum,this._temp.m2,this._temp.frustum)}addLocalId(t){if(!t)return;let i=this._meshes.meshesItems(t.itemId);i!==null&&(t.localId=this._model.localIds(i))}fetchSampleData(t){this._meshes.samples(t,this._temp.sample);let i=this._temp.sample.representation();this._meshes.representations(i,this._temp.representation)}computeRaycastList(t,i){let n=Array.from(new Set(t)),s=this.sortBoxes(i.ray,n),o=this.castBox(i.ray,i.planes),r=this.findAll(s,o,i);if(r.length){if(i.returnAll){for(let d of r)this.addLocalId(d);return r}let l=this.getNearest(r);return this.addLocalId(l),l}return null}formatRaycastResult(t,i,n){for(let s of t){if(s.point.applyMatrix4(this._temp.m1),s.normal&&s.normal.transformDirection(this._temp.m1),"facePoints"in s){let r=this._meshes.samples(i,this._temp.sample);f8.get(r,this._meshes,this._temp.m3);for(let l=0;l<s.facePoints.length;l+=3){let d=s.facePoints[l],h=s.facePoints[l+1],p=s.facePoints[l+2];this._temp.v1.set(d,h,p),this._temp.v1.applyMatrix4(this._temp.m3),s.facePoints[l]=this._temp.v1.x,s.facePoints[l+1]=this._temp.v1.y,s.facePoints[l+2]=this._temp.v1.z}}s.sampleId=i,s.itemId=this._temp.sample.item();let o=n.ray.origin.distanceToSquared(s.point);s.cameraSquaredDistance=o,s.snappingClass||(s.snappingClass=n.snap),s.snappedEdgeP1&&s.snappedEdgeP1.applyMatrix4(this._temp.m1),s.snappedEdgeP2&&s.snappedEdgeP2.applyMatrix4(this._temp.m1)}}findAll(t,i,n){let s=[],o=performance.now();for(let r of t){if(this.fetchSampleData(r),!i.includes(r))continue;let l=this.castSample(r,n);for(let h of l)s.push(h);if(this.isTimeExceeded(o))break}return s}isTimeExceeded(t){return performance.now()-t>this._maxDuration}getFilteredSampleCast(t){let i=this._tiles.raycast(this._temp.representation,this._temp.ray,this._temp.frustum,t.snap);if(this._temp.planes.length===0)return i;let n=[];if(i)for(let s of i){let o=this._temp.planes,r=s.point;lx.containedInParallelPlanes(o,r)&&n.push(s)}return n}getSnaps(t,i,n,s){this.fetchSampleData(t.sampleId),t.normal&&(this.setCastSide(t,i.ray),this.setCastPlane(t)),this.getFaces(n,i,t,s),this.getEdges(i,n,s);for(let o of s)this.addLocalId(o)}filterOnFront(t){let i=[];for(let n of t)this._temp.tempPlane.distanceToPoint(n.point)>=0&&i.push(n);return i}setCastSide(t,i){let s=t.point.clone().sub(i.origin);t.normal.dot(s)>0&&t.normal.negate()}getFaces(t,i,n,s){for(let o of t){let r={snap:o,...i},l=this.castSample(n.sampleId,r);for(let d of l)s.push(d)}}setCastPlane(t){let i=this._temp.tempPlane,n=t.point.clone(),s=t.normal.clone();s.multiplyScalar(this._precission),n.sub(s),i.setFromNormalAndCoplanarPoint(t.normal,n)}castSample(t,i){this.setupSampleCastData(i),this.setupPlanesForSampleCast(i);let n=this.getFilteredSampleCast(i);return n&&this.formatRaycastResult(n,t,i),n}isValidSnap(t){let i=t===xN.LINE,n=t===xN.POINT;return i||n}transform(t,i){let n=[];if(t)for(let s of t){let o=new es().copy(s);o.applyMatrix4(i),n.push(o)}return n}setupPlanesForSampleCast(t){if(this._temp.planes.length=0,t.planes&&t.planes.length>0){let i=this.transform(t.planes,this._temp.m2);for(let n of i)this._temp.planes.push(n)}}},y8=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date,Wme=new Set,_se=typeof process=="object"&&process?process:{},Yme=(e,t,i,n)=>{typeof _se.emitWarning=="function"?_se.emitWarning(e,t,i,n):console.error(`[${i}] ${t}: ${e}`)},f$=globalThis.AbortController,kIe=globalThis.AbortSignal;if(typeof f$>"u"){kIe=class{constructor(){Ne(this,"onabort"),Ne(this,"_onabort",[]),Ne(this,"reason"),Ne(this,"aborted",!1)}addEventListener(n,s){this._onabort.push(s)}},f$=class{constructor(){Ne(this,"signal",new kIe),t()}abort(n){var s,o;if(!this.signal.aborted){this.signal.reason=n,this.signal.aborted=!0;for(let r of this.signal._onabort)r(n);(o=(s=this.signal).onabort)==null||o.call(s,n)}}};let e=((Zpe=_se.env)==null?void 0:Zpe.LRU_CACHE_IGNORE_AC_WARNING)!=="1",t=()=>{e&&(e=!1,Yme("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",t))}}var I8e=e=>!Wme.has(e),FN=e=>e&&e===Math.floor(e)&&e>0&&isFinite(e),jme=e=>FN(e)?e<=Math.pow(2,8)?Uint8Array:e<=Math.pow(2,16)?Uint16Array:e<=Math.pow(2,32)?Uint32Array:e<=Number.MAX_SAFE_INTEGER?S8:null:null,S8=class extends Array{constructor(t){super(t),this.fill(0)}},qme=class MV{constructor(t,i){if(Ne(this,"heap"),Ne(this,"length"),!_t(MV,BV))throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new i(t),this.length=0}static create(t){let i=jme(t);if(!i)return[];ss(MV,BV,!0);let n=new MV(t,i);return ss(MV,BV,!1),n}push(t){this.heap[this.length++]=t}pop(){return this.heap[--this.length]}};BV=new WeakMap;vs(qme,BV,!1);var m8e=qme,y8e=class $me{constructor(t){vs(this,kq),vs(this,dne),vs(this,bS),vs(this,_S),vs(this,I$),vs(this,HV),vs(this,DV),vs(this,Sr),vs(this,t$),vs(this,u8),vs(this,OS),vs(this,i$),vs(this,m2,void 0),vs(this,sE,void 0),vs(this,y2,void 0),vs(this,a8,void 0),vs(this,I2,void 0),vs(this,FV,void 0),vs(this,NV,void 0),Ne(this,"ttl"),Ne(this,"ttlResolution"),Ne(this,"ttlAutopurge"),Ne(this,"updateAgeOnGet"),Ne(this,"updateAgeOnHas"),Ne(this,"allowStale"),Ne(this,"noDisposeOnSet"),Ne(this,"noUpdateTTL"),Ne(this,"maxEntrySize"),Ne(this,"sizeCalculation"),Ne(this,"noDeleteOnFetchRejection"),Ne(this,"noDeleteOnStaleGet"),Ne(this,"allowStaleOnFetchAbort"),Ne(this,"allowStaleOnFetchRejection"),Ne(this,"ignoreFetchAbort"),vs(this,Z0,void 0),vs(this,rE,void 0),vs(this,T0,void 0),vs(this,da,void 0),vs(this,bs,void 0),vs(this,ZI,void 0),vs(this,uE,void 0),vs(this,tI,void 0),vs(this,Wh,void 0),vs(this,g2,void 0),vs(this,zh,void 0),vs(this,E2,void 0),vs(this,T2,void 0),vs(this,oE,void 0),vs(this,S2,void 0),vs(this,Z6,void 0),vs(this,$I,void 0),vs(this,_V,void 0),vs(this,h8,()=>{}),vs(this,LN,()=>{}),vs(this,Jq,()=>{}),vs(this,lE,()=>!1),vs(this,E8,se=>{}),vs(this,UV,(se,he,Re)=>{}),vs(this,Xq,(se,he,Re,ee)=>{if(Re||ee)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0}),Ne(this,WIe,"LRUCache");let{max:i=0,ttl:n,ttlResolution:s=1,ttlAutopurge:o,updateAgeOnGet:r,updateAgeOnHas:l,allowStale:d,dispose:h,onInsert:p,disposeAfter:I,noDisposeOnSet:m,noUpdateTTL:y,maxSize:T=0,maxEntrySize:R=0,sizeCalculation:b,fetchMethod:A,memoMethod:O,noDeleteOnFetchRejection:P,noDeleteOnStaleGet:U,allowStaleOnFetchRejection:Z,allowStaleOnFetchAbort:ne,ignoreFetchAbort:K}=t;if(i!==0&&!FN(i))throw new TypeError("max option must be a nonnegative integer");let oe=i?jme(i):Array;if(!oe)throw new Error("invalid max value: "+i);if(ss(this,m2,i),ss(this,sE,T),this.maxEntrySize=R||_t(this,sE),this.sizeCalculation=b,this.sizeCalculation){if(!_t(this,sE)&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if(typeof this.sizeCalculation!="function")throw new TypeError("sizeCalculation set to non-function")}if(O!==void 0&&typeof O!="function")throw new TypeError("memoMethod must be a function if defined");if(ss(this,NV,O),A!==void 0&&typeof A!="function")throw new TypeError("fetchMethod must be a function if specified");if(ss(this,FV,A),ss(this,Z6,!!A),ss(this,T0,new Map),ss(this,da,new Array(i).fill(void 0)),ss(this,bs,new Array(i).fill(void 0)),ss(this,ZI,new oe(i)),ss(this,uE,new oe(i)),ss(this,tI,0),ss(this,Wh,0),ss(this,g2,m8e.create(i)),ss(this,Z0,0),ss(this,rE,0),typeof h=="function"&&ss(this,y2,h),typeof p=="function"&&ss(this,a8,p),typeof I=="function"?(ss(this,I2,I),ss(this,zh,[])):(ss(this,I2,void 0),ss(this,zh,void 0)),ss(this,S2,!!_t(this,y2)),ss(this,_V,!!_t(this,a8)),ss(this,$I,!!_t(this,I2)),this.noDisposeOnSet=!!m,this.noUpdateTTL=!!y,this.noDeleteOnFetchRejection=!!P,this.allowStaleOnFetchRejection=!!Z,this.allowStaleOnFetchAbort=!!ne,this.ignoreFetchAbort=!!K,this.maxEntrySize!==0){if(_t(this,sE)!==0&&!FN(_t(this,sE)))throw new TypeError("maxSize must be a positive integer if specified");if(!FN(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");Bn(this,dne,zIe).call(this)}if(this.allowStale=!!d,this.noDeleteOnStaleGet=!!U,this.updateAgeOnGet=!!r,this.updateAgeOnHas=!!l,this.ttlResolution=FN(s)||s===0?s:1,this.ttlAutopurge=!!o,this.ttl=n||0,this.ttl){if(!FN(this.ttl))throw new TypeError("ttl must be a positive integer if specified");Bn(this,kq,cne).call(this)}if(_t(this,m2)===0&&this.ttl===0&&_t(this,sE)===0)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!_t(this,m2)&&!_t(this,sE)){let se="LRU_CACHE_UNBOUNDED";I8e(se)&&(Wme.add(se),Yme("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",se,$me))}}static unsafeExposeInternals(t){return{starts:_t(t,T2),ttls:_t(t,oE),sizes:_t(t,E2),keyMap:_t(t,T0),keyList:_t(t,da),valList:_t(t,bs),next:_t(t,ZI),prev:_t(t,uE),get head(){return _t(t,tI)},get tail(){return _t(t,Wh)},free:_t(t,g2),isBackgroundFetch:i=>{var n;return Bn(n=t,Sr,Ll).call(n,i)},backgroundFetch:(i,n,s,o)=>{var r;return Bn(r=t,DV,zq).call(r,i,n,s,o)},moveToTail:i=>{var n;return Bn(n=t,u8,CV).call(n,i)},indexes:i=>{var n;return Bn(n=t,bS,CN).call(n,i)},rindexes:i=>{var n;return Bn(n=t,_S,PN).call(n,i)},isStale:i=>{var n;return _t(n=t,lE).call(n,i)}}}get max(){return _t(this,m2)}get maxSize(){return _t(this,sE)}get calculatedSize(){return _t(this,rE)}get size(){return _t(this,Z0)}get fetchMethod(){return _t(this,FV)}get memoMethod(){return _t(this,NV)}get dispose(){return _t(this,y2)}get onInsert(){return _t(this,a8)}get disposeAfter(){return _t(this,I2)}getRemainingTTL(t){return _t(this,T0).has(t)?1/0:0}*entries(){for(let t of Bn(this,bS,CN).call(this))_t(this,bs)[t]!==void 0&&_t(this,da)[t]!==void 0&&!Bn(this,Sr,Ll).call(this,_t(this,bs)[t])&&(yield[_t(this,da)[t],_t(this,bs)[t]])}*rentries(){for(let t of Bn(this,_S,PN).call(this))_t(this,bs)[t]!==void 0&&_t(this,da)[t]!==void 0&&!Bn(this,Sr,Ll).call(this,_t(this,bs)[t])&&(yield[_t(this,da)[t],_t(this,bs)[t]])}*keys(){for(let t of Bn(this,bS,CN).call(this)){let i=_t(this,da)[t];i!==void 0&&!Bn(this,Sr,Ll).call(this,_t(this,bs)[t])&&(yield i)}}*rkeys(){for(let t of Bn(this,_S,PN).call(this)){let i=_t(this,da)[t];i!==void 0&&!Bn(this,Sr,Ll).call(this,_t(this,bs)[t])&&(yield i)}}*values(){for(let t of Bn(this,bS,CN).call(this))_t(this,bs)[t]!==void 0&&!Bn(this,Sr,Ll).call(this,_t(this,bs)[t])&&(yield _t(this,bs)[t])}*rvalues(){for(let t of Bn(this,_S,PN).call(this))_t(this,bs)[t]!==void 0&&!Bn(this,Sr,Ll).call(this,_t(this,bs)[t])&&(yield _t(this,bs)[t])}[Symbol.iterator](){return this.entries()}find(t,i={}){for(let n of Bn(this,bS,CN).call(this)){let s=_t(this,bs)[n],o=Bn(this,Sr,Ll).call(this,s)?s.__staleWhileFetching:s;if(o!==void 0&&t(o,_t(this,da)[n],this))return this.get(_t(this,da)[n],i)}}forEach(t,i=this){for(let n of Bn(this,bS,CN).call(this)){let s=_t(this,bs)[n],o=Bn(this,Sr,Ll).call(this,s)?s.__staleWhileFetching:s;o!==void 0&&t.call(i,o,_t(this,da)[n],this)}}rforEach(t,i=this){for(let n of Bn(this,_S,PN).call(this)){let s=_t(this,bs)[n],o=Bn(this,Sr,Ll).call(this,s)?s.__staleWhileFetching:s;o!==void 0&&t.call(i,o,_t(this,da)[n],this)}}purgeStale(){let t=!1;for(let i of Bn(this,_S,PN).call(this,{allowStale:!0}))_t(this,lE).call(this,i)&&(Bn(this,OS,UN).call(this,_t(this,da)[i],"expire"),t=!0);return t}info(t){let i=_t(this,T0).get(t);if(i===void 0)return;let n=_t(this,bs)[i],s=Bn(this,Sr,Ll).call(this,n)?n.__staleWhileFetching:n;if(s===void 0)return;let o={value:s};if(_t(this,oE)&&_t(this,T2)){let r=_t(this,oE)[i],l=_t(this,T2)[i];if(r&&l){let d=r-(y8.now()-l);o.ttl=d,o.start=Date.now()}}return _t(this,E2)&&(o.size=_t(this,E2)[i]),o}dump(){let t=[];for(let i of Bn(this,bS,CN).call(this,{allowStale:!0})){let n=_t(this,da)[i],s=_t(this,bs)[i],o=Bn(this,Sr,Ll).call(this,s)?s.__staleWhileFetching:s;if(o===void 0||n===void 0)continue;let r={value:o};if(_t(this,oE)&&_t(this,T2)){r.ttl=_t(this,oE)[i];let l=y8.now()-_t(this,T2)[i];r.start=Math.floor(Date.now()-l)}_t(this,E2)&&(r.size=_t(this,E2)[i]),t.unshift([n,r])}return t}load(t){this.clear();for(let[i,n]of t){if(n.start){let s=Date.now()-n.start;n.start=y8.now()-s}this.set(i,n.value,n)}}set(t,i,n={}){var s,o,r,l,d,h,p;if(i===void 0)return this.delete(t),this;let{ttl:I=this.ttl,start:m,noDisposeOnSet:y=this.noDisposeOnSet,sizeCalculation:T=this.sizeCalculation,status:R}=n,{noUpdateTTL:b=this.noUpdateTTL}=n,A=_t(this,Xq).call(this,t,i,n.size||0,T);if(this.maxEntrySize&&A>this.maxEntrySize)return R&&(R.set="miss",R.maxEntrySizeExceeded=!0),Bn(this,OS,UN).call(this,t,"set"),this;let O=_t(this,Z0)===0?void 0:_t(this,T0).get(t);if(O===void 0)O=_t(this,Z0)===0?_t(this,Wh):_t(this,g2).length!==0?_t(this,g2).pop():_t(this,Z0)===_t(this,m2)?Bn(this,HV,e$).call(this,!1):_t(this,Z0),_t(this,da)[O]=t,_t(this,bs)[O]=i,_t(this,T0).set(t,O),_t(this,ZI)[_t(this,Wh)]=O,_t(this,uE)[O]=_t(this,Wh),ss(this,Wh,O),jse(this,Z0)._++,_t(this,UV).call(this,O,A,R),R&&(R.set="add"),b=!1,_t(this,_V)&&((s=_t(this,a8))==null||s.call(this,i,t,"add"));else{Bn(this,u8,CV).call(this,O);let P=_t(this,bs)[O];if(i!==P){if(_t(this,Z6)&&Bn(this,Sr,Ll).call(this,P)){P.__abortController.abort(new Error("replaced"));let{__staleWhileFetching:U}=P;U!==void 0&&!y&&(_t(this,S2)&&((o=_t(this,y2))==null||o.call(this,U,t,"set")),_t(this,$I)&&((r=_t(this,zh))==null||r.push([U,t,"set"])))}else y||(_t(this,S2)&&((l=_t(this,y2))==null||l.call(this,P,t,"set")),_t(this,$I)&&((d=_t(this,zh))==null||d.push([P,t,"set"])));if(_t(this,E8).call(this,O),_t(this,UV).call(this,O,A,R),_t(this,bs)[O]=i,R){R.set="replace";let U=P&&Bn(this,Sr,Ll).call(this,P)?P.__staleWhileFetching:P;U!==void 0&&(R.oldValue=U)}}else R&&(R.set="update");_t(this,_V)&&((h=this.onInsert)==null||h.call(this,i,t,i===P?"update":"replace"))}if(I!==0&&!_t(this,oE)&&Bn(this,kq,cne).call(this),_t(this,oE)&&(b||_t(this,Jq).call(this,O,I,m),R&&_t(this,LN).call(this,R,O)),!y&&_t(this,$I)&&_t(this,zh)){let P=_t(this,zh),U;for(;U=P?.shift();)(p=_t(this,I2))==null||p.call(this,...U)}return this}pop(){var t;try{for(;_t(this,Z0);){let i=_t(this,bs)[_t(this,tI)];if(Bn(this,HV,e$).call(this,!0),Bn(this,Sr,Ll).call(this,i)){if(i.__staleWhileFetching)return i.__staleWhileFetching}else if(i!==void 0)return i}}finally{if(_t(this,$I)&&_t(this,zh)){let i=_t(this,zh),n;for(;n=i?.shift();)(t=_t(this,I2))==null||t.call(this,...n)}}}has(t,i={}){let{updateAgeOnHas:n=this.updateAgeOnHas,status:s}=i,o=_t(this,T0).get(t);if(o!==void 0){let r=_t(this,bs)[o];if(Bn(this,Sr,Ll).call(this,r)&&r.__staleWhileFetching===void 0)return!1;if(_t(this,lE).call(this,o))s&&(s.has="stale",_t(this,LN).call(this,s,o));else return n&&_t(this,h8).call(this,o),s&&(s.has="hit",_t(this,LN).call(this,s,o)),!0}else s&&(s.has="miss");return!1}peek(t,i={}){let{allowStale:n=this.allowStale}=i,s=_t(this,T0).get(t);if(s===void 0||!n&&_t(this,lE).call(this,s))return;let o=_t(this,bs)[s];return Bn(this,Sr,Ll).call(this,o)?o.__staleWhileFetching:o}async fetch(t,i={}){let{allowStale:n=this.allowStale,updateAgeOnGet:s=this.updateAgeOnGet,noDeleteOnStaleGet:o=this.noDeleteOnStaleGet,ttl:r=this.ttl,noDisposeOnSet:l=this.noDisposeOnSet,size:d=0,sizeCalculation:h=this.sizeCalculation,noUpdateTTL:p=this.noUpdateTTL,noDeleteOnFetchRejection:I=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:m=this.allowStaleOnFetchRejection,ignoreFetchAbort:y=this.ignoreFetchAbort,allowStaleOnFetchAbort:T=this.allowStaleOnFetchAbort,context:R,forceRefresh:b=!1,status:A,signal:O}=i;if(!_t(this,Z6))return A&&(A.fetch="get"),this.get(t,{allowStale:n,updateAgeOnGet:s,noDeleteOnStaleGet:o,status:A});let P={allowStale:n,updateAgeOnGet:s,noDeleteOnStaleGet:o,ttl:r,noDisposeOnSet:l,size:d,sizeCalculation:h,noUpdateTTL:p,noDeleteOnFetchRejection:I,allowStaleOnFetchRejection:m,allowStaleOnFetchAbort:T,ignoreFetchAbort:y,status:A,signal:O},U=_t(this,T0).get(t);if(U===void 0){A&&(A.fetch="miss");let Z=Bn(this,DV,zq).call(this,t,U,P,R);return Z.__returned=Z}else{let Z=_t(this,bs)[U];if(Bn(this,Sr,Ll).call(this,Z)){let he=n&&Z.__staleWhileFetching!==void 0;return A&&(A.fetch="inflight",he&&(A.returnedStale=!0)),he?Z.__staleWhileFetching:Z.__returned=Z}let ne=_t(this,lE).call(this,U);if(!b&&!ne)return A&&(A.fetch="hit"),Bn(this,u8,CV).call(this,U),s&&_t(this,h8).call(this,U),A&&_t(this,LN).call(this,A,U),Z;let K=Bn(this,DV,zq).call(this,t,U,P,R),se=K.__staleWhileFetching!==void 0&&n;return A&&(A.fetch=ne?"stale":"refresh",se&&ne&&(A.returnedStale=!0)),se?K.__staleWhileFetching:K.__returned=K}}async forceFetch(t,i={}){let n=await this.fetch(t,i);if(n===void 0)throw new Error("fetch() returned undefined");return n}memo(t,i={}){let n=_t(this,NV);if(!n)throw new Error("no memoMethod provided to constructor");let{context:s,forceRefresh:o,...r}=i,l=this.get(t,r);if(!o&&l!==void 0)return l;let d=n(t,l,{options:r,context:s});return this.set(t,d,r),d}get(t,i={}){let{allowStale:n=this.allowStale,updateAgeOnGet:s=this.updateAgeOnGet,noDeleteOnStaleGet:o=this.noDeleteOnStaleGet,status:r}=i,l=_t(this,T0).get(t);if(l!==void 0){let d=_t(this,bs)[l],h=Bn(this,Sr,Ll).call(this,d);return r&&_t(this,LN).call(this,r,l),_t(this,lE).call(this,l)?(r&&(r.get="stale"),h?(r&&n&&d.__staleWhileFetching!==void 0&&(r.returnedStale=!0),n?d.__staleWhileFetching:void 0):(o||Bn(this,OS,UN).call(this,t,"expire"),r&&n&&(r.returnedStale=!0),n?d:void 0)):(r&&(r.get="hit"),h?d.__staleWhileFetching:(Bn(this,u8,CV).call(this,l),s&&_t(this,h8).call(this,l),d))}else r&&(r.get="miss")}delete(t){return Bn(this,OS,UN).call(this,t,"delete")}clear(){return Bn(this,i$,$se).call(this,"delete")}};WIe=Symbol.toStringTag;m2=new WeakMap;sE=new WeakMap;y2=new WeakMap;a8=new WeakMap;I2=new WeakMap;FV=new WeakMap;NV=new WeakMap;Z0=new WeakMap;rE=new WeakMap;T0=new WeakMap;da=new WeakMap;bs=new WeakMap;ZI=new WeakMap;uE=new WeakMap;tI=new WeakMap;Wh=new WeakMap;g2=new WeakMap;zh=new WeakMap;E2=new WeakMap;T2=new WeakMap;oE=new WeakMap;S2=new WeakMap;Z6=new WeakMap;$I=new WeakMap;_V=new WeakMap;kq=new WeakSet;cne=function(){let e=new S8(_t(this,m2)),t=new S8(_t(this,m2));ss(this,oE,e),ss(this,T2,t),ss(this,Jq,(s,o,r=y8.now())=>{if(t[s]=o!==0?r:0,e[s]=o,o!==0&&this.ttlAutopurge){let l=setTimeout(()=>{_t(this,lE).call(this,s)&&Bn(this,OS,UN).call(this,_t(this,da)[s],"expire")},o+1);l.unref&&l.unref()}}),ss(this,h8,s=>{t[s]=e[s]!==0?y8.now():0}),ss(this,LN,(s,o)=>{if(e[o]){let r=e[o],l=t[o];if(!r||!l)return;s.ttl=r,s.start=l,s.now=i||n();let d=s.now-l;s.remainingTTL=r-d}});let i=0,n=()=>{let s=y8.now();if(this.ttlResolution>0){i=s;let o=setTimeout(()=>i=0,this.ttlResolution);o.unref&&o.unref()}return s};this.getRemainingTTL=s=>{let o=_t(this,T0).get(s);if(o===void 0)return 0;let r=e[o],l=t[o];if(!r||!l)return 1/0;let d=(i||n())-l;return r-d},ss(this,lE,s=>{let o=t[s],r=e[s];return!!r&&!!o&&(i||n())-o>r})};h8=new WeakMap;LN=new WeakMap;Jq=new WeakMap;lE=new WeakMap;dne=new WeakSet;zIe=function(){let e=new S8(_t(this,m2));ss(this,rE,0),ss(this,E2,e),ss(this,E8,t=>{ss(this,rE,_t(this,rE)-e[t]),e[t]=0}),ss(this,Xq,(t,i,n,s)=>{if(Bn(this,Sr,Ll).call(this,i))return 0;if(!FN(n))if(s){if(typeof s!="function")throw new TypeError("sizeCalculation must be a function");if(n=s(i,t),!FN(n))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}else throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");return n}),ss(this,UV,(t,i,n)=>{if(e[t]=i,_t(this,sE)){let s=_t(this,sE)-e[t];for(;_t(this,rE)>s;)Bn(this,HV,e$).call(this,!0)}ss(this,rE,_t(this,rE)+e[t]),n&&(n.entrySize=i,n.totalCalculatedSize=_t(this,rE))})};E8=new WeakMap;UV=new WeakMap;Xq=new WeakMap;bS=new WeakSet;CN=function*({allowStale:e=this.allowStale}={}){if(_t(this,Z0))for(let t=_t(this,Wh);!(!Bn(this,I$,qse).call(this,t)||((e||!_t(this,lE).call(this,t))&&(yield t),t===_t(this,tI)));)t=_t(this,uE)[t]};_S=new WeakSet;PN=function*({allowStale:e=this.allowStale}={}){if(_t(this,Z0))for(let t=_t(this,tI);!(!Bn(this,I$,qse).call(this,t)||((e||!_t(this,lE).call(this,t))&&(yield t),t===_t(this,Wh)));)t=_t(this,ZI)[t]};I$=new WeakSet;qse=function(e){return e!==void 0&&_t(this,T0).get(_t(this,da)[e])===e};HV=new WeakSet;e$=function(e){var t,i;let n=_t(this,tI),s=_t(this,da)[n],o=_t(this,bs)[n];return _t(this,Z6)&&Bn(this,Sr,Ll).call(this,o)?o.__abortController.abort(new Error("evicted")):(_t(this,S2)||_t(this,$I))&&(_t(this,S2)&&((t=_t(this,y2))==null||t.call(this,o,s,"evict")),_t(this,$I)&&((i=_t(this,zh))==null||i.push([o,s,"evict"]))),_t(this,E8).call(this,n),e&&(_t(this,da)[n]=void 0,_t(this,bs)[n]=void 0,_t(this,g2).push(n)),_t(this,Z0)===1?(ss(this,tI,ss(this,Wh,0)),_t(this,g2).length=0):ss(this,tI,_t(this,ZI)[n]),_t(this,T0).delete(s),jse(this,Z0)._--,n};DV=new WeakSet;zq=function(e,t,i,n){let s=t===void 0?void 0:_t(this,bs)[t];if(Bn(this,Sr,Ll).call(this,s))return s;let o=new f$,{signal:r}=i;r?.addEventListener("abort",()=>o.abort(r.reason),{signal:o.signal});let l={signal:o.signal,options:i,context:n},d=(T,R=!1)=>{let{aborted:b}=o.signal,A=i.ignoreFetchAbort&&T!==void 0;if(i.status&&(b&&!R?(i.status.fetchAborted=!0,i.status.fetchError=o.signal.reason,A&&(i.status.fetchAbortIgnored=!0)):i.status.fetchResolved=!0),b&&!A&&!R)return p(o.signal.reason);let O=m;return _t(this,bs)[t]===m&&(T===void 0?O.__staleWhileFetching?_t(this,bs)[t]=O.__staleWhileFetching:Bn(this,OS,UN).call(this,e,"fetch"):(i.status&&(i.status.fetchUpdated=!0),this.set(e,T,l.options))),T},h=T=>(i.status&&(i.status.fetchRejected=!0,i.status.fetchError=T),p(T)),p=T=>{let{aborted:R}=o.signal,b=R&&i.allowStaleOnFetchAbort,A=b||i.allowStaleOnFetchRejection,O=A||i.noDeleteOnFetchRejection,P=m;if(_t(this,bs)[t]===m&&(!O||P.__staleWhileFetching===void 0?Bn(this,OS,UN).call(this,e,"fetch"):b||(_t(this,bs)[t]=P.__staleWhileFetching)),A)return i.status&&P.__staleWhileFetching!==void 0&&(i.status.returnedStale=!0),P.__staleWhileFetching;if(P.__returned===P)throw T},I=(T,R)=>{var b;let A=(b=_t(this,FV))==null?void 0:b.call(this,e,s,l);A&&A instanceof Promise&&A.then(O=>T(O===void 0?void 0:O),R),o.signal.addEventListener("abort",()=>{(!i.ignoreFetchAbort||i.allowStaleOnFetchAbort)&&(T(void 0),i.allowStaleOnFetchAbort&&(T=O=>d(O,!0)))})};i.status&&(i.status.fetchDispatched=!0);let m=new Promise(I).then(d,h),y=Object.assign(m,{__abortController:o,__staleWhileFetching:s,__returned:void 0});return t===void 0?(this.set(e,y,{...l.options,status:void 0}),t=_t(this,T0).get(e)):_t(this,bs)[t]=y,y};Sr=new WeakSet;Ll=function(e){if(!_t(this,Z6))return!1;let t=e;return!!t&&t instanceof Promise&&t.hasOwnProperty("__staleWhileFetching")&&t.__abortController instanceof f$};t$=new WeakSet;hne=function(e,t){_t(this,uE)[t]=e,_t(this,ZI)[e]=t};u8=new WeakSet;CV=function(e){e!==_t(this,Wh)&&(e===_t(this,tI)?ss(this,tI,_t(this,ZI)[e]):Bn(this,t$,hne).call(this,_t(this,uE)[e],_t(this,ZI)[e]),Bn(this,t$,hne).call(this,_t(this,Wh),e),ss(this,Wh,e))};OS=new WeakSet;UN=function(e,t){var i,n,s,o;let r=!1;if(_t(this,Z0)!==0){let l=_t(this,T0).get(e);if(l!==void 0)if(r=!0,_t(this,Z0)===1)Bn(this,i$,$se).call(this,t);else{_t(this,E8).call(this,l);let d=_t(this,bs)[l];if(Bn(this,Sr,Ll).call(this,d)?d.__abortController.abort(new Error("deleted")):(_t(this,S2)||_t(this,$I))&&(_t(this,S2)&&((i=_t(this,y2))==null||i.call(this,d,e,t)),_t(this,$I)&&((n=_t(this,zh))==null||n.push([d,e,t]))),_t(this,T0).delete(e),_t(this,da)[l]=void 0,_t(this,bs)[l]=void 0,l===_t(this,Wh))ss(this,Wh,_t(this,uE)[l]);else if(l===_t(this,tI))ss(this,tI,_t(this,ZI)[l]);else{let h=_t(this,uE)[l];_t(this,ZI)[h]=_t(this,ZI)[l];let p=_t(this,ZI)[l];_t(this,uE)[p]=_t(this,uE)[l]}jse(this,Z0)._--,_t(this,g2).push(l)}}if(_t(this,$I)&&((s=_t(this,zh))!=null&&s.length)){let l=_t(this,zh),d;for(;d=l?.shift();)(o=_t(this,I2))==null||o.call(this,...d)}return r};i$=new WeakSet;$se=function(e){var t,i,n;for(let s of Bn(this,_S,PN).call(this,{allowStale:!0})){let o=_t(this,bs)[s];if(Bn(this,Sr,Ll).call(this,o))o.__abortController.abort(new Error("deleted"));else{let r=_t(this,da)[s];_t(this,S2)&&((t=_t(this,y2))==null||t.call(this,o,r,e)),_t(this,$I)&&((i=_t(this,zh))==null||i.push([o,r,e]))}}if(_t(this,T0).clear(),_t(this,bs).fill(void 0),_t(this,da).fill(void 0),_t(this,oE)&&_t(this,T2)&&(_t(this,oE).fill(0),_t(this,T2).fill(0)),_t(this,E2)&&_t(this,E2).fill(0),ss(this,tI,0),ss(this,Wh,0),_t(this,g2).length=0,ss(this,rE,0),ss(this,Z0,0),_t(this,$I)&&_t(this,zh)){let s=_t(this,zh),o;for(;o=s?.shift();)(n=_t(this,I2))==null||n.call(this,...o)}};var E8e=y8e,FS=class{static get(t){return this._meshes.get(t)}static lockIn(t){Object.seal(t)}static add(t,i){this._meshes.set(t,i)}static delete(t){for(let i of t)this._meshes.delete(i)}static setCapacity(t){t!==this._capacity&&(this._meshes.clear(),this._meshes=this.setupMeshes(t),this._capacity=t)}static setupMeshes(t){let i=Math.max(t??this.computeCapacity(),1),n=this.getSizeCalculationEvent(),s={maxSize:i,sizeCalculation:n};return new E8e(s)}static computeCapacity(){let t=globalThis.navigator&&"deviceMemory"in globalThis.navigator?globalThis.navigator.deviceMemory:null,n=t!==null?t:2,s=this.oneHundredMb*n;return Math.trunc(s)}static getDataSetMemory(t){let i=0;for(let n of t)i+=n.usedMemory;return Math.max(i,1)}static getSizeCalculationEvent(){return t=>Array.isArray(t)?this.getDataSetMemory(t):Math.max(t.usedMemory,1)}};Ne(FS,"oneHundredMb",1e8);Ne(FS,"_meshes",FS.setupMeshes());Ne(FS,"_capacity");Ne(FS,"_memoryAttributes",["positionBuffer","indexBuffer","normalBuffer"]);Ne(FS,"updateMeshMemory",e=>{e.usedMemory=0;for(let t of FS._memoryAttributes)e.usedMemory!==void 0&&e[t]&&(e.usedMemory+=e[t].byteLength);FS.lockIn(e)});var d8=FS,T8e=class $q{constructor(t){Ne(this,"meshes"),Ne(this,"tilesUpdated",!1),Ne(this,"_sampleAmount"),Ne(this,"_tileDimension"),Ne(this,"_tileBySample"),Ne(this,"_lodBySample"),Ne(this,"_virtualMeshes",new Map),Ne(this,"_meshConnection"),Ne(this,"_samples"),Ne(this,"_tileIdGenerator",new soe),Ne(this,"_tiles",new Map),Ne(this,"_tilesChanged",new Set),Ne(this,"_sizeByTile",new Map),Ne(this,"_samplesDimensions"),Ne(this,"_sampleLodClass"),Ne(this,"_sampleLodState"),Ne(this,"_sampleLodSize"),Ne(this,"_boxes"),Ne(this,"_items"),Ne(this,"_materials"),Ne(this,"_modelId"),Ne(this,"_lastView",{rotation:new ye,location:new ye}),Ne(this,"_params",{updateTime:16,updateSamples:64,updateviewOrientation:8*Math.PI/180,updateViewPosition:256,smallTileSize:.32,mediumTileSize:4,smallObjectSize:2,smallScreenSize:2,mediumScreenSize:4,largeScreenSize:16,tempTileDataSize:6,tileIdIncrement:1,tileSizeMultiplier:10,minTileDimension:32,tileDimensionFactor:8}),Ne(this,"_temp",{sample:new jN,representation:new cE,vector:new ye,matrix:new Ai,transform:new Ai,boundingBox:new kn,sampleGeometry:{},box:new kn,raycastPoints:[],tileData:{positionCount:this._params.tempTileDataSize,objectClass:nI.LINE,positionBuffer:new Float32Array(this._params.tempTileDataSize)},tileCenter:new ye,tile:{objectClass:nI.LINE,positionCount:6},viewDimension:0,pastFieldOfview:0}),Ne(this,"_currentSample",0),Ne(this,"_virtualPlanes",[]),Ne(this,"_changedSamples",0),Ne(this,"_virtualView"),Ne(this,"_lodMode",Yq.DEFAULT),this._modelId=t.modelId,this._boxes=t.boxes,this._items=t.items,this._materials=t.materials,this._meshConnection=new bse(t.modelId,t.connection),this.meshes=t.model.meshes(),this._sampleAmount=this.meshes.samplesLength(),this._samples=new Ase(this._sampleAmount),this._samplesDimensions=new Int32Array(this._sampleAmount),this._sampleLodClass=new Uint8Array(this._sampleAmount),this._sampleLodState=new Uint8Array(this._sampleAmount),this._sampleLodSize=new Float32Array(this._sampleAmount),this._tileDimension=this.computeTileSize(),this._tileBySample=new Array(this._sampleAmount),this._lodBySample=new Array(this._sampleAmount),this.init()}restart(){this.resetUpdateProcess(),this._meshConnection.clean()}fetchSample(t,i){this.fetchSampleAndRepresentation(t);let n=this.fetchCurrentMesh(),s=this.sampleTemplate(t);return s.geometries=this.sampleGeoms(s,i,n),s}fetchGeometry(t){return this.meshes.representations(t,this._temp.representation),this.fetchCurrentMesh().fetchMeshes(t,!0)}dispose(){this._meshConnection.dispose();for(let[,t]of this._virtualMeshes)t.dispose()}async generate(t,i){for(let[,s]of this._virtualMeshes)s.setupTemplates();let n=Math.max(1,Math.floor(this._sampleAmount/20));for(let s=0;s<this._sampleAmount;s++)this.generateSampleInTiles(s),s%n===0&&(t?.(s/this._sampleAmount),await new Promise(o=>setTimeout(o,0)),i?.());this.setupTileVisibilityAndHighlight()}setupView(t){this._virtualView=t,d8.setCapacity(t.meshThreshold),this.restart(),this.updateOrientationIfNeeded(),this.updatePositionIfNeeded(),this.setupViewPlanes()}updateVirtualMeshes(t){if(!(!t||!this._virtualView)){for(let i of t)this.updateItem(i);this.restart()}}getSampleTransform(t){return this.fetchSampleAndRepresentation(t),this.sampleTemplate(t).transform}async update(t){this.updateTiles(t),this.notifyUpdateFinished();for(let i of this._tilesChanged){let n=this._tiles.get(i);this._meshConnection.process({tileRequestClass:yu.UPDATE,modelId:this._modelId,tileId:i,objectClass:n.objectClass,material:n.materialId,tileData:this.getTileData(n),currentLod:n.lod})}this._tilesChanged.clear()}raycast(t,i,n,s){this._temp.raycastPoints=[];let o=t.representationClass(),r=this._virtualMeshes.get(o);return this.manageRaycast(r,t,i,n,s),this._temp.raycastPoints}setLodMode(t){this._lodMode=t,this.restart()}init(){let t=new Ese(this._modelId,this.meshes),i=t.getRepresentation();this._virtualMeshes.set(i,t);let n=new Sse(this._modelId,this.meshes),s=n.getRepresentation();this._virtualMeshes.set(s,n),this.processSamplesDimension(),this.fetchSampleLodSize()}initSampleLod(t){this.fetchSampleAndRepresentation(t);let i=this.fetchCurrentMesh();this._sampleLodClass[t]=i.getLodClass(),this._sampleLodState[t]=Zs.INVISIBLE}fetchSampleAndRepresentation(t){this.meshes.samples(t,this._temp.sample),this.meshes.representations(this._temp.sample.representation(),this._temp.representation)}fetchCurrentMesh(){let t=this._temp.representation.representationClass();return this._virtualMeshes.get(t)}fetchCurrentMaterial(){let t=this._temp.sample.material();return this._materials[t]}fetchSampleLodSize(){for(let t=0;t<this._sampleAmount;t++)this.initSampleLod(t),f8.getBox(this._temp.representation,this._temp.box),this._sampleLodSize[t]=u$.getWidth(this._temp.box)}setupTileVisibilityAndHighlight(){for(let[,t]of this._tiles)t.visibilities=new Hq(t.size,!1),t.highlights=new Hq(t.size,0)}addLodToTile(t,i,n){if(t.getLodClass()===X6.AABB){this.addBoxLodToTile(i,n);return}t.getLodClass()===X6.CUSTOM&&this.addCustomLodToTile(t,i,n)}addBoxLodToTile(t,i){this._lodBySample[t]=this.lodTileAppendSample(t,i)}notifyUpdateFinished(){let t=!this.tilesUpdated;this._changedSamples>=this._sampleAmount&&t&&(this._meshConnection.process({tileRequestClass:yu.FINISH,modelId:this._modelId}),this.tilesUpdated=!0)}updatePositionIfNeeded(){let t=this._params.updateViewPosition,i=this._virtualView.cameraPosition;i.distanceToSquared(this._lastView.location)>t&&(this._currentSample=0,this._lastView.location.copy(i))}updateCurrentSample(){this._currentSample++,this._currentSample>=this._sampleAmount&&(this._currentSample=0),this._changedSamples++}processSamplesDimension(){for(let t=0;t<this._sampleAmount;t++)this._samplesDimensions[t]=t;this._samplesDimensions.sort((t,i)=>{let n=this._boxes.dimensionOf(i),s=this._boxes.dimensionOf(t);return n-s})}setupViewPlanes(){this._virtualPlanes=[];for(let t of this._virtualView.cameraFrustum.planes)this._virtualPlanes.push(t);if(this._virtualView.clippingPlanes)for(let t of this._virtualView.clippingPlanes)this._virtualPlanes.push(t)}updateOrientationIfNeeded(){let t=this.getCurrentViewOrientation(),i=this._params.updateviewOrientation;t.angleTo(this._lastView.rotation)>i&&(this._currentSample=0,this._lastView.rotation.copy(t))}getCurrentViewOrientation(){return this._virtualView.cameraFrustum.planes[4].normal}resetUpdateProcess(){this._changedSamples=0,this.tilesUpdated=!1}manageRaycast(t,i,n,s,o){let r=Nse.cast(t,i,n,s,o);if(r)for(let l of r)l.representationClass=t.getObjectClass(),this._temp.raycastPoints.push(l)}setTileShellBuffer(t){t.usedMemory===void 0||t.objectClass!==nI.SHELL||(t.ids=new Float32Array(t.positionCount/3),t.usedMemory+=t.ids.byteLength)}getTileWhenSamplePut(t,i,n){let s=this._tiles.get(t);if(s===void 0){let o=i.lod||Zs.GEOMETRY;s=this.newTile(i.objectClass,n,o),this._tiles.set(t,s)}return s}getPerspTrueDim(t,i){let n=Math.PI/180,s=Math.tan(t*.5*n);return i*s}getTileHighlight(t,i){let n,s,o=t.highlights;if(!o)return{highlightData:void 0,highlightIds:void 0};let r=o.size(l=>l!==0);if(r>0){s=new Uint16Array(r);let l=h=>h!==0,d=(h,p)=>s[h]=p;n=Hq.get(o,i,l,d)}return{highlightData:n,highlightIds:s}}setupTileSampleAttributes(t,i,n,s){let o=t.vertexLocation[i]*3;for(let r=0;r<n.positionBuffer.length;r+=3)this._temp.vector.fromArray(n.positionBuffer,r),this._temp.vector.applyMatrix4(this._temp.matrix),this._temp.vector.toArray(t.positionBuffer,o+r);if(t.normalBuffer){let r=t.vertexLocation[i]*3;for(let l=0;l<n.normalBuffer.length;l+=3)this._temp.vector.fromArray(n.normalBuffer,l),this._temp.vector.transformDirection(this._temp.matrix),this._temp.vector.multiplyScalar(WV),this._temp.vector.toArray(t.normalBuffer,r+l)}if(t.indexBuffer){let r=t.indexLocation[i],l=t.vertexLocation[i];for(let d=0;d<n.indexCount;d++){let h=n.indexBuffer[d]+l;t.indexBuffer[d+r]=h}}if(t.faceIdBuffer&&n.faceIdBuffer){let r=s.sample*100,l=t.vertexLocation[i],d=l+n.positionCount/3;for(let h=l;h<d;h++)t.faceIdBuffer[h]=n.faceIdBuffer[h-l]+r}if(n.objectClass===nI.SHELL){let r=t.vertexLocation[i],l=r+n.positionCount/3;t.ids.fill(this.itemId(s.sample),r,l)}}getTileVisibility(t,i){if(!t.visibilities)throw new Error("Fragments: Malformed tile!");if(t.visibilities.fullOf(!1))return;let n=s=>s;return Hq.get(t.visibilities,i,n)}memoryOverflow(){let t=$q._graphicMemoryConsumed,i=this._virtualView.graphicThreshold;return t>i}updateMesh(t){let i=this.fetchLodLevel(t),n=this._sampleLodState[t];if(i=this.hideHighlightedLods(i,t),i===n){this.updateSampleIfSeen(i,t);return}this.updateVisible(n,i,t)}tileLoadSample(t,i,n){let s=t.sampleLocation.get(i.sample),o=this.getSampleGeometries(i,n);this.setupTileLocation(t,o,i),this.fetchSampleTransform(t,i),this.setupTileSampleAttributes(t,s,o,i)}updateSampleIfSeen(t,i){t!==Zs.INVISIBLE&&this.updateSample(i,t)}hideHighlightedLods(t,i){return t}updateVisible(t,i,n){t!==Zs.INVISIBLE&&this.makeSampleInvisible(n,t);let s=i!==Zs.INVISIBLE;s&&this.updateSample(n,i),this._samples.setVisible(n,s),this._sampleLodState[n]=i}makeInvisibleFromTile(t,i){let n=this._tiles.get(t);this.updateTileData(n,i,!1,0),this.deleteTileIfNeeded(n,t)}updateSample(t,i){let n=this.itemId(t),s=this._items.visible(n),o=this._items.getHighlight(n);this.hasChanged(t,i,s,o)&&this.setSample(t,s,o,i)}hasHighlightChanged(t,i){let n=this._samples.getHighlight(t);return i!==n}hasVisibleChanged(t,i){let n=this._samples.visible(t);return i!==n}newTile(t,i,n){let s={};return s.notVirtual=!1,s.materialId=i,s.indexLocation=[],s.box=new kn,s.objectClass=t,s.lod=n,s.normalCount=0,s.indexCount=0,s.vertexLocation=[],s.size=0,s.geometriesLocation=[],s.positionCount=0,s.sampleLocation=new Map,s.faceIdBuffer=new Uint32Array(0),s}createLod(t){let i=f8.boxSize(t),n=this._temp.tileData.positionBuffer;if(!n)throw new Error("Fragments: Malformed tiles!");return n[0]=i.start.x,n[1]=i.start.y,n[2]=i.start.z,n[3]=i.end.x,n[4]=i.end.y,n[5]=i.end.z,this._temp.tileData}sampleTemplate(t){let i=this._temp.sample,n=this._temp.representation;f8.get(i,this.meshes,this._temp.transform),f8.getBox(n,this._temp.boundingBox),this._temp.sampleGeometry.sample=t;let s=i.material();this._temp.sampleGeometry.material=this._materials[s],this._temp.sampleGeometry.transform=this._temp.transform,this._temp.sampleGeometry.aabb=this._temp.boundingBox,delete this._temp.sampleGeometry.geometries;let o=this._temp.sample.representation(),r=this.meshes.representationIds(o);return this._temp.sampleGeometry.representationId=r,this._temp.sampleGeometry}makeSampleInvisible(t,i){let n=this.getTileIds(t,i);if(!n)return;let s=o=>this.makeInvisibleFromTile(o,t);b1.forEach(n,s)}setSample(t,i,n,s){this._samples.setVisible(t,i),this._samples.setHighlight(t,n);let o=this.getTileIds(t,s);o!==void 0&&b1.forEach(o,r=>{this.updateTile(r,t,n,n===0)})}getTileIds(t,i){return i===Zs.GEOMETRY?this._tileBySample[t]:this._lodBySample[t]}addBasicTileData(t,i,n){t.sampleLocation.set(i,t.size),t.size++,t.geometriesLocation.push(n),t.indexLocation.push(t.indexCount||0),t.vertexLocation.push((t.positionCount||0)/3)}buildNewVirtualTile(t,i){this.constructTile(t),this.loadTile(i,t),t.notVirtual=!0,delete t.indexBuffer,delete t.positionBuffer,delete t.normalBuffer,delete t.faceIdBuffer,delete t.ids}deleteTileIfNeeded(t,i){if(this.getShouldDeleteTile(t)){this.deleteGeometry(i),t.notVirtual=!1,$q._graphicMemoryConsumed-=t.usedMemory;return}this._tilesChanged.add(i)}getShouldDeleteTile(t){if(!t.visibilities||!t.highlights)throw new Error("Fragments: Malformed tile!");let i=t.visibilities.fullOf(!1),n=t.highlights.fullOf(0),s=this.memoryOverflow();return i&&n&&s}checkTileMemoryOverflow(t,i){let n=this._tiles.get(t);return(n?n.positionCount:0)+i.positionCount>w8}updateTileData(t,i,n,s){if(!t.visibilities||!t.highlights)throw new Error("Fragments: Malformed tile!");let o=t.sampleLocation.get(i);t.visibilities.update(o,n),t.highlights.update(o,s)}getKeepUpdating(t,i){let n=this._params.updateTime,s=this._params.updateSamples,o=t<this._sampleAmount,r=performance.now()-i,l=t<s,d=r<n||l;return o&&d}computeTileSize(){let t=this._boxes.fullBox.getSize(this._temp.vector),n=Math.max(t.x,t.y,t.z)/this._params.tileDimensionFactor,s=Math.ceil(n);return Math.max(this._params.minTileDimension,s)}newTileId(t,i,n){this.logBufferOverflowIfNeeded(n);let s=n.lod||Zs.GEOMETRY,o=this.generateTileCode(t,i,n,s),r=this._sizeByTile.get(o)||1,l=o+r-1;return this.checkTileMemoryOverflow(l,n)&&(l+=this._params.tileIdIncrement,this._sizeByTile.set(o,r+1)),l}logBufferOverflowIfNeeded(t){t.positionCount/3>w8&&console.log("Fragments: Buffer overflow")}fetchLodLevel(t){if(this._lodMode===Yq.ALL_VISIBLE){this.meshes.samples(t,this._temp.sample);let he=this._temp.sample.item();return this._items.visible(he)?Zs.GEOMETRY:Zs.INVISIBLE}let i=this._boxes.get(t);if(!MS.collides(i,this._virtualPlanes))return Zs.INVISIBLE;this.meshes.samples(t,this._temp.sample);let s=this._temp.sample.item();if(!this._items.visible(s))return Zs.INVISIBLE;let r=this._virtualView.graphicQuality,l=this._boxes.dimensionOf(t),d=i.distanceToPoint(this._virtualView.cameraPosition),h=this.screenSize(l,d),p=l<this._params.smallObjectSize,I=!p,m=this._params.smallScreenSize*r,y=this._params.mediumScreenSize*r,T=this._params.largeScreenSize*r,R=h<m,b=h<y,A=h<T,O=p&&b,P=I&&R,U=p&&A,Z=I&&b;if(O||P)return Zs.INVISIBLE;if(this._lodMode===Yq.ALL_GEOMETRY)return Zs.GEOMETRY;if(U||Z)return Zs.WIRES;let ne=this._sampleLodSize[t],K=this.screenSize(ne,d),oe=Math.max(y,this._params.mediumScreenSize);return K<oe?Zs.WIRES:Zs.GEOMETRY}generateTileCode(t,i,n,s){this._tileIdGenerator.reset(),this.processTileDataId(n,i,s);let o=this.processTileSpatialId(t,s);return this.processTileDimensionId(o),this._tileIdGenerator.value}processTileDataId(t,i,n){this._tileIdGenerator.compute(t.objectClass!==void 0?t.objectClass:0),this._tileIdGenerator.compute(i),this._tileIdGenerator.compute(n)}deleteGeometry(t){this._meshConnection.process({tileRequestClass:yu.DELETE,modelId:this._modelId,tileId:t})}processTileSpatialId(t,i){let n=this._temp.tileCenter.x,s=this._temp.tileCenter.y,o=this._temp.tileCenter.z,r=this._boxes.get(t);r.getCenter(this._temp.tileCenter);let l=this.getTileDimension(i),d=n-n%l,h=s-s%l,p=o-o%l;return this._tileIdGenerator.compute(d),this._tileIdGenerator.compute(h),this._tileIdGenerator.compute(p),r}addCustomLodToTile(t,i,n){let s=this.meshData(t,!1,Zs.WIRES);this._sampleLodSize[i]=s.lodThickness||0,this._lodBySample[i]=this.putSampleInTiles(i,n,s)}getTileLocations(t){return t.indexCount?t.indexLocation:t.vertexLocation}getTileDimension(t){let i=this._tileDimension;return t===Zs.GEOMETRY&&(i*=this._params.tileSizeMultiplier),i}processTileDimensionId(t){let i=this.getTileDimensionClass(t);this._tileIdGenerator.compute(i)}tileAppend(t,i,n,s){this.addBasicTileData(t,n,s),this.tileAppendAttribute(t,i,"indexCount",!1),this.tileAppendAttribute(t,i,"positionCount",!1),this.tileAppendAttribute(t,i,"normalCount",!1),this.tileAppendAttribute(t,i,"materialId",!0)}putSampleInTiles(t,i,n){let s,o=(r,l)=>{let d=this.newTileId(t,i,r);s=this.getTileIdsWhenSamplePut(s,d);let h=this.getTileWhenSamplePut(d,r,i);this.tileAppend(h,r,t,l)};return b1.forEach(n,o),s}hasLodChanged(t,i){let n=this._sampleLodState[t];return i!==n}getTileIdsWhenSamplePut(t,i){return t===void 0?t=i:typeof t=="number"?t!==i&&(t=[t,i]):t.includes(i)||t.push(i),t}updateTile(t,i,n,s){let o=this._tiles.get(t);if(this.updateTileData(o,i,s,n),o.notVirtual){this._tilesChanged.add(t);return}this.buildNewVirtualTile(o,t)}getLodTileWhenPutSample(t,i){let n=this._tiles.get(t);if(!n){let s=this._temp.tile.objectClass;n=this.newTile(s,i,Zs.WIRES),this._tiles.set(t,n)}return n}lodTileAppendSample(t,i){let n=Zs.WIRES,s=this._temp.tile,o=this.generateTileCode(t,i,s,n),r=this.getLodTileWhenPutSample(o,i);return this.tileAppend(r,s,t,0),o}addSampleToTile(t,i,n){let s=this.meshData(t,!1,Zs.GEOMETRY);this._tileBySample[i]=this.putSampleInTiles(i,n,s)}setTileBuffer(t,i,n){if(t.usedMemory===void 0)return;let s=t[`${i}Count`];if(s>0){let o=n?new Uint16Array(s):new Int16Array(s);t[`${i}Buffer`]=o,t.usedMemory+=o.byteLength}}updateTiles(t){let i=this._changedSamples<this._sampleAmount;if(!(this._virtualView!==void 0)||!i)return;let s=!0,o=0;for(;s;){let r=this._samplesDimensions[this._currentSample];this.updateMesh(r),this.updateCurrentSample(),o++,s=this.getKeepUpdating(o,t)}}sampleGeoms(t,i,n){return n.getLodClass()===X6.AABB&&i===Zs.WIRES?this.createLod(t.aabb):this.meshData(n,!0,i)}generateSampleInTiles(t){this.fetchSampleAndRepresentation(t);let i=this.fetchCurrentMaterial(),n=this.fetchCurrentMesh();this.addSampleToTile(n,t,i),this.addLodToTile(n,t,i)}buildSampleInTile(t,i,n,s,o){let r=t.geometriesLocation[i];if(this.tileLoadSample(t,n,r),s){let l=this._boxes.get(o);this._temp.vector.copy(t.location),this._temp.vector.negate(),l.translate(this._temp.vector),t.box.union(l)}}getSampleGeometries(t,i){return Array.isArray(t.geometries)?t.geometries[i]:t.geometries}constructTile(t){t.positionBuffer===void 0&&(t.positionBuffer=new Float32Array(t.positionCount),t.usedMemory=t.positionBuffer.byteLength,this.setTileBuffer(t,"index",!0),this.setTileBuffer(t,"normal",!1),this.setTileShellBuffer(t),t.faceIdBuffer=new Uint32Array(t.positionCount/3),t.usedMemory+=t.faceIdBuffer.byteLength);let i=!t.location;for(let[n,s]of t.sampleLocation){let o=this.fetchSample(n,t.lod);o&&o.geometries&&this.buildSampleInTile(t,s,o,i,n)}}fetchSampleTransform(t,i){this._temp.vector.copy(t.location),this._temp.vector.negate(),this._temp.matrix.identity(),this._temp.matrix.setPosition(this._temp.vector),this._temp.matrix.multiply(i.transform)}hasChanged(t,i,n,s){let o=this.hasLodChanged(t,i),r=this.hasVisibleChanged(t,n),l=this.hasHighlightChanged(t,s);return o||r||l}setupTileLocation(t,i,n){if(t.location)return;let s=new ye;s.fromArray(i.positionBuffer),s.applyMatrix4(n.transform),t.location=s}getTileData(t){let i=this.getTileLocations(t),n=this.getTileVisibility(t,i),s=this.getTileHighlight(t,i),{highlightData:o,highlightIds:r}=s;return{visibilityData:n,highlightData:o,highlightIds:r}}updateMemoryOnTileLoad(t){$q._graphicMemoryConsumed+=t.usedMemory}fetchTileMatrixOnLoad(t){t.location&&(this._temp.matrix.identity(),this._temp.matrix.setPosition(t.location))}updateItem(t){let i=this._boxes.sampleOf(t);if(i)for(let n of i)this.updateMesh(n)}screenSize(t,i){let n=this.getViewDimension(i);return t/n*this._virtualView.viewSize}getTileDimensionClass(t){let i=t.min.distanceToSquared(t.max),n=this._params.smallTileSize,s=this._params.mediumTileSize;return i>s?2:i>n?1:0}getViewDimension(t){if(this._virtualView.orthogonalDimension)return this._virtualView.orthogonalDimension;let i=this._virtualView.fov;return i!==this._temp.pastFieldOfview&&(this._temp.viewDimension=this.getPerspTrueDim(i,1),this._temp.pastFieldOfview=i),t*this._temp.viewDimension}loadTile(t,i){let n=this.getTileData(i);this.fetchTileMatrixOnLoad(i);let s=this.getFaceIds(i);this._meshConnection.process({tileRequestClass:yu.CREATE,modelId:this._modelId,objectClass:i.objectClass,tileId:t,itemId:void 0,tileData:n,indices:i.indexBuffer,positions:i.positionBuffer,normals:i.normalBuffer,faceIds:s,itemIds:i.ids,material:i.materialId,matrix:this._temp.matrix.clone(),aabb:i.box.clone(),currentLod:i.lod}),this.updateMemoryOnTileLoad(i)}getFaceIds(t){let i=new Oi,n=t.faceIdBuffer,s=new Float32Array(n.length*3);for(let o=0;o<n.length;o++){let r=n[o];i.set(0+r),s[o*3]=i.r,s[o*3+1]=i.g,s[o*3+2]=i.b}return s}meshData(t,i,n){let s=this._temp.representation.id(),o=t.getLodClass()===X6.CUSTOM,r=n===Zs.WIRES;return o&&r?t.fetchLod(s,i):t.fetchMeshes(s,i)}tileAppendAttribute(t,i,n,s){if(i[n]!==void 0){if(s){t[n]=i[n];return}t[n]+=i[n]}}itemId(t){return this.meshes.samples(t,this._temp.sample),this._temp.sample.item()}};Ne(T8e,"_graphicMemoryConsumed",0);var Dse=class{constructor(){Ne(this,"_templates",new Map)}add(t,i){this._templates.set(t,i)}get(t){let i=this._templates.get(t);return Array.isArray(i)?this.getTemplateSet(i):{...i}}getTemplateSet(t){let i=[];for(let n of t){let o={...n};i.push(o)}return i}},Zme=class p2{constructor(t,i){Ne(this,"_dataBuffer"),Ne(this,"_dataPosition"),this._dataBuffer=i||this.getDefaultData(),this._dataPosition=t||p2._data.defaultPosition}set(t){let i=0;for(let n of p2._data.points)for(let s of p2._data.coords){let o=this.getPosition(s,n),r=t[i++];this.setValue(o,r)}}get(t,i){let n=this.getPosition(t,i);return this._dataBuffer[n]}clone(t){for(let i of p2._data.points)for(let n of p2._data.coords){let s=this.getPosition(n,i),o=t.get(n,i);this.setValue(s,o)}}combine(t,i){for(let n of p2._data.points)for(let s of p2._data.coords)this.save(s,n,t,i)}setValue(t,i){this._dataBuffer[t]=i}getDefaultData(){return new Float64Array(p2._data.size)}getPosition(t,i){return p2._data[i][t]+this._dataPosition}save(t,i,n,s){let o=this.getPosition(t,i),r=n.get(t,i),l=s.get(t,i),d=Math[i](r,l);this.setValue(o,d)}};Ne(Zme,"_data",{size:6,defaultPosition:0,min:{x:0,y:2,z:4},max:{x:1,y:3,z:5},coords:["x","y","z"],points:["min","max"]});var Zq=Zme,Kme=class Kq{constructor(t,i){Ne(this,"box"),Ne(this,"data",0),this.box=new Zq(t,i)}get size(){return this.data*Kq._data.factor}get isPoint(){return this.data>=Kq._data.threshold}transform(t,i,n){n||(t*=Kq._data.factor),this.data=t,this.box.clone(i)}};Ne(Kme,"_data",{threshold:0,factor:-1});var g8e=Kme,Cse=class{constructor(t){Ne(this,"_boxes"),Ne(this,"_min",new ye),Ne(this,"_max",new ye),this._boxes=t}inflate(t){let i=this._boxes.fullBox.min,n=this.getVector(t,i,"min"),s=this.getVector(t,i,"max");return new kn(n,s)}deflate(t,i){this.read(t);let n=[];n.push(this._min.x,this._min.y,this._min.z),n.push(this._max.x,this._max.y,this._max.z),i.set(n)}getVector(t,i,n){let s=t.get("x",n)+i.x,o=t.get("y",n)+i.y,r=t.get("z",n)+i.z;return new ye(s,o,r)}read(t){let{min:i}=this._boxes.fullBox;this._min.subVectors(t.min,i),this._max.subVectors(t.max,i)}},xse=class{constructor(t,i){Ne(this,"_data"),Ne(this,"_compressor"),this._data=i,this._compressor=t}frustumCollide(t,i,n=!1){let s=this.getFrustumPlanes(i,t),o=this.getFrustumOnCollide(s),r=this.getFrustumOnIncludes(s),l=this.newDefaultCallback(!0);return this.collide(o,r,l,n)}rayCollide(t,i){let n=this.getRayOnCollide(i),s=this.newDefaultCallback(!1),o=this.getRayOnSeen(t);return this.collide(n,s,o)}addPoint(t,i,n,s){t?s&&i.push(this.getPointData(n)):i.push(this.getPointData(n))}getPointData(t){return this.getPoint(t).data}getBounds(t){let i=this.getPoint(t);return this._compressor.inflate(i.box)}isPoint(t){return this.getPoint(t).isPoint}newDefaultCallback(t){return i=>t}groupSize(t){return this.getPoint(t).size}getPoint(t){return this._data.points[t]}getRayOnSeen(t){let i=this.newDefaultCallback(!0);return t?.length>0&&(i=s=>MS.collides(s,t)),i}getRayOnCollide(t){return i=>t.intersectsBox(i)}collide(t,i,n,s=!1){let o=this._data.points.length,r=[],l=0,d=(p,I)=>{let m=l+this.groupSize(l);for(;l<m;l++)this.isPoint(l)&&n(p)&&(s?I&&this.savePoint(l,r):this.savePoint(l,r))},h=()=>{let p=this.getBounds(l),I=i(p),m=this.isPoint(l),y=I||t(p);m&&y&&n(p)&&this.addPoint(s,r,l,I),y||m?(l++,I&&!m&&d(p,I)):l+=this.groupSize(l)};for(;l<o;)h();return r}getFrustumOnIncludes(t){return i=>MS.isIncluded(i,t)}getFrustumOnCollide(t){return i=>MS.collides(i,t)}getFrustumPlanes(t,i){let n=[];for(let s of t.planes)n.push(s);if(i)for(let s of i)n.push(s);return n}savePoint(t,i){let n=this.getPoint(t);i.push(n.data)}},Ose=class{constructor(t){Ne(this,"_boxes"),Ne(this,"_total",new ye),Ne(this,"_change",new ye),Ne(this,"_average",new ye),Ne(this,"_tempCenterVector",new ye),Ne(this,"_tempVectors",{x:new ye,y:new ye,z:new ye}),this._boxes=t}sort(t,i,n){this.average(this._average,t,i,n),this.getDataToTotal(i,n,t);let s=this.anySort(i,n,t);return s=this.adjust(n,i,s),Math.round(s)}anySort(t,i,n){return this._total.x>this._total.y?this._total.x>this._total.z?this.sortDim("x",this._average.x,t,i,n):this.sortDim("z",this._average.z,t,i,n):this._total.y>this._total.z?this.sortDim("y",this._average.y,t,i,n):this.sortDim("z",this._average.z,t,i,n)}getDataToTotal(t,i,n){this._total.set(0,0,0);for(let s=t;s<i;s++){this._boxes.get(n[s]).getCenter(this._change).sub(this._average);let r=this._change.multiply(this._change);this._total.add(r)}}sortDim(t,i,n,s,o){let r=n;for(let l=n;l<s;l++)this.getValue(o,l,t)>i&&(this.exchange(l,r,o),r++);return r}exchange(t,i,n){let s=n[t];n[t]=n[i],n[i]=s}getValue(t,i,n){let s=this.getBox(t,i),o=this._tempVectors[n];return s.getCenter(o)[n]}average(t,i,n,s){let o=this.getBox(i,n);return o.getCenter(t),this.aggregate(n,s,i,o,t),t.divideScalar(s-n)}aggregate(t,i,n,s,o){for(let r=t+1;r<i;r++){let l=n[r];s=this._boxes.get(l);let d=s.getCenter(this._tempCenterVector);o.add(d)}}adjust(t,i,n){let s=(i+t)/2,r=(t-i)/3;return(n<=i+r||n>=t-1-r)&&(n=s),n}getBox(t,i){let n=t[i];return this._boxes.get(n)}},Lse=class{constructor(t,i,n){Ne(this,"_data"),Ne(this,"_compressor"),Ne(this,"_boxes"),Ne(this,"_sorter"),this._data=n,this._compressor=i,this._boxes=t,this._sorter=new Ose(t)}make(t,i,n=0,s=0,o=0,r=0){let l=n-s;return l===1?this.makePoint(t,s,i,r):l===2?this.makeGroup3(r,t,s,i):this.makeGroup(o,t,s,n,r,i)}makeGroup3(t,i,n,s){let o=this.makeBox(t+1,i,n),r=this.makeBox(t+2,i,n+1);return s.combine(o,r),this.newGroup(t,3,s),3}makeGroup(t,i,n,s,o,r){let l=this._data.limits.primary[t],d=this._data.limits.secondary[t],h=this._sorter.sort(i,n,s),p=this.make(i,l,h,n,t+1,o+1),I=o+p+1,m=this.make(i,d,s,h,t+1,I);r.combine(l,d);let y=p+m+1;return this.newGroup(o,y,r),y}makeBox(t,i,n){let s=this._data.points[t].box,o=i[n],r=this._boxes.get(o);return this._compressor.deflate(r,s),this.set(t,o),s}makePoint(t,i,n,s){let o=this._boxes.get(t[i]);return this._compressor.deflate(o,n),this.newPoint(s,t[i],n),1}newGroup(t,i,n){this.get(t).transform(i,n,!1)}get(t){return this._data.points[t]}newPoint(t,i,n){this.get(t).transform(i,n,!0)}set(t,i){let n=this.get(t);n.data=i}},Qme=class Qq{constructor(t){Ne(this,"_compressor"),Ne(this,"_collider"),Ne(this,"_maker"),Ne(this,"_data"),Ne(this,"_boxes"),this._boxes=t,this._compressor=new Cse(t),this._data=this.getData(),this._collider=new xse(this._compressor,this._data),this._maker=new Lse(this._boxes,this._compressor,this._data),this.initData()}collideFrustum(t,i,n=!1){return this._collider.frustumCollide(t,i,n)}collideRay(t,i){return this._collider.rayCollide(t,i)}setupLimits(){for(let t=0;t<Qq._limitThreshold;t++)this._data.limits.primary.push(new Zq),this._data.limits.secondary.push(new Zq)}getPointBuffer(){let t=this._boxes.getCount(),i=new Uint32Array(t);for(let n=0;n<i.length;n++)i[n]=n;return i}getPointsAmount(t){return t.length*2-1}initData(){let t=this.getPointBuffer(),i=this.getPointsAmount(t),n=i*Qq._boxSize,s=new Float64Array(n);for(let r=0;r<i;r++){let l=r*Qq._boxSize,d=new g8e(l,s);this._data.points.push(d)}this.setupLimits();let o=new Zq;this._maker.make(t,o,t.length)}getData(){return{points:[],limits:{primary:[],secondary:[]}}}};Ne(Qme,"_boxSize",6);Ne(Qme,"_limitThreshold",32);var Pse=class{constructor(){Ne(this,"_list",new Map),Ne(this,"_communicationKey",0)}setupInput(t){t.requestId=this._communicationKey++}set(t,i,n){let s=this.newHandler(i,n);this._list.set(t,s)}run(t){let i=this._list.get(t.requestId);this._list.delete(t.requestId),i(t)}newHandler(t,i){return n=>{if(n.errorInfo){t(n.errorInfo);return}i(n)}}},Mse=class{constructor(t){Ne(this,"_handlers",new Pse),Ne(this,"_handleInput"),Ne(this,"_port"),Ne(this,"onInput",i=>{if(i.data.toMainThread){this._handlers.run(i.data);return}this.manageInput(i.data)}),this._handleInput=t}fetchMeshCompute(t,i){let n=BS,s=n.getMeshComputeRequest(t,i),o=n.getRequestContent(s);this.fetch(s,o)}fetch(t,i){return this._handlers.setupInput(t),new Promise((n,s)=>{this._handlers.set(t.requestId,s,n),this.executeConnection(t,i)})}init(t){this._port=t,this.initConnection(t)}initConnection(t){t.onmessage=this.onInput}async fetchConnection(t){if(!this._port)throw new Error("Fragments: Connection not initialized");return this._port}async executeConnection(t,i){(await this.fetchConnection(t)).postMessage(t,i)}async manageOutput(t){let i=await this.fetchConnection(t);t.toMainThread=!0,i.postMessage(t)}async manageConnection(t){try{await this._handleInput(t)}catch(i){t.errorInfo=i.toString(),i?.name!=="LoadAbortedError"&&console.error(i)}}async manageInput(t){await this.manageConnection(t),await this.manageOutput(t)}},Bse=class{constructor(t){Ne(this,"_modelThread",new Map),Ne(this,"_threadsModelAmount",new Map),Ne(this,"_threadPort",new Map),Ne(this,"_threadPath"),Ne(this,"_placeholder"),this._placeholder={},this._threadPath=t}get path(){return this._threadPath}usePlaceholder(t){this._modelThread.set(t,this._placeholder)}getAmount(t){return this._threadsModelAmount.get(t)}getThread(t){return this._modelThread.get(t)}getAndCheckThread(t){let i=this._modelThread.get(t);if(i===this._placeholder)throw new Error("Fragments: Error fetching thread!");return i}set(t,i){this._modelThread.set(t,i)}deleteModel(t){let i=this.getThreadSafe(t),s=this.getAmountSafe(i)-1;this.setAmount(i,s),this._modelThread.delete(t)}getThreadSafe(t){let i=this.getThread(t);if(!i)throw new Error(`Fragments: Thread for model ${t} not found`);return i}deleteThread(t){this._threadsModelAmount.delete(t),this._threadPort.delete(t),t.terminate()}getThreadAmount(){return this._threadsModelAmount.size}balanceThreadLoad(t){let{lessBusyThread:i,modelAmount:n}=this.getLessBusyThread();return this._threadsModelAmount.set(i,n+1),this._modelThread.set(t.modelId,i),this._threadPort.get(i)}getAmountSafe(t){let i=this.getAmount(t);if(!i)throw new Error(`Fragments: Amount for thread ${t} not found`);return i}setPort(t,i){this._threadPort.set(t,i)}setAmount(t,i){this._threadsModelAmount.set(t,i)}getPort(t){return this._threadPort.get(t)}getLessBusyThread(){let t=Number.MAX_VALUE,i=this._threadsModelAmount.keys().next().value;for(let[n,s]of this._threadsModelAmount)s<t&&(t=s,i=n);return{lessBusyThread:i,modelAmount:t}}},Fse=class extends Mse{constructor(t,i,n){super(t),Ne(this,"_data"),Ne(this,"_classicWorker"),this._classicWorker=n??!1,this._data=new Bse(i)}delete(t){let i=this._data.getThreadSafe(t),n=this._data.getAmountSafe(i)-1;this._data.deleteModel(t),n===0&&this._data.deleteThread(i)}async invoke(t,i,n=[]){let o=BS.getExecuteRequest(t,i,n);return(await this.fetch(o)).result}async fetchConnection(t){let i=this._data.getAndCheckThread(t.modelId);return i?this._data.getPort(i):this.setupNewThread(t)}setupNewThread(t){let i=BS;this._data.usePlaceholder(t.modelId);let n=this._data.getThreadAmount();return i.areCoresAvailable(n)?this.newThread(t,this._data.path):this._data.balanceThreadLoad(t)}setupThread(t){let i=new MessageChannel,n=i.port1,s=i.port2;this.initConnection(n),this._data.setPort(t,n),t.postMessage(s,[s])}newThread(t,i){let n=BS.newThread(i,this._classicWorker);return this.setupThread(n),this._data.setAmount(n,1),this._data.set(t.modelId,n),this._data.getPort(n)}},loe=class NS{constructor(t,i){Ne(this,"onModelLoaded",new Lc),Ne(this,"models"),Ne(this,"settings",{autoCoordinate:!0,maxUpdateRate:100,graphicsQuality:0,forceUpdateRate:200,forceUpdateBuffer:200}),Ne(this,"baseCoordinates",null),Ne(this,"editor"),Ne(this,"_connection"),Ne(this,"_progressCallbacks",new Map),Ne(this,"_isDisposed",!1),Ne(this,"_autoRedrawInterval",null),Ne(this,"_lastUpdate",0);let n=t??new URL("./Worker/worker.mjs",import.meta.url).href,s=this.newRequestEvent(),o=this.newUpdateEvent();this._connection=new Fse(s,n,i?.classicWorker),this.editor=new tse(this,this._connection),this.models=new ase(o),this.models.list.onItemDeleted.add(()=>{this.models.list.size===0&&(this.baseCoordinates=null)})}static async getWorker(){if(NS._workerURL)return NS._workerURL;if(NS._workerPromise)return NS._workerPromise;NS._workerPromise=(async()=>{let t="https://unpkg.com/@thatopen/fragments@3.4.3/dist/worker/worker.mjs",i=await fetch(t);if(!i.ok)throw new Error(`Failed to fetch fragments worker from ${t}: ${i.status} ${i.statusText}`);let n=await i.blob(),s=new File([n],"worker.mjs",{type:"text/javascript"}),o=URL.createObjectURL(s);return NS._workerURL=o,o})();try{return await NS._workerPromise}catch(t){throw NS._workerPromise=null,t}}async load(t,i){let n=new Ume(i.modelId,this.models,this._connection,this.editor);i.userData&&(n.object.userData=i.userData),n.frozen=!0,n.graphicsQuality=this.settings.graphicsQuality,i.onProgress&&this._progressCallbacks.set(i.modelId,i.onProgress);try{if(this.models.list.set(n.modelId,n),await n._setup(t,i.raw,i.virtualModelConfig),this.settings.autoCoordinate){let o=await n.getCoordinates();if(this.baseCoordinates===null)this.baseCoordinates=o;else{let[r,l,d]=o,[h,p,I]=this.baseCoordinates,m=new ye(h-r,p-l,I-d);n.object.position.add(m)}}}catch(o){this._progressCallbacks.delete(i.modelId);try{await n.dispose()}catch{this.models.list.delete(n.modelId)}throw o}finally{this._progressCallbacks.delete(i.modelId)}let{camera:s}=i;return s&&n.useCamera(s),n.frozen=!1,this.onModelLoaded.trigger(n),n}async dispose(){this._isDisposed=!0;let t=Array.from(this.models.list.values()),i=[];for(let n of t)i.push(n.dispose());await Promise.all(i),this.onModelLoaded.reset()}async disposeModel(t){let i=this.models.list.get(t);i&&await i.dispose()}abort(t){this._connection.fetch({class:_1.ABORT_MODEL,modelId:t})}async update(t=!1){if(this._isDisposed)return;let i=performance.now();if(i-this._lastUpdate<this.settings.maxUpdateRate)return;this._lastUpdate=i;let n=[];for(let s of this.models.list.values())n.push(s._refreshView());await Promise.all(n),t?await this.models.forceUpdateFinish(this.settings.forceUpdateRate,this.settings.forceUpdateBuffer):this.models.update()}async manageRequest(t){if(t.class===_1.LOAD_PROGRESS){let n=this._progressCallbacks.get(t.modelId);n&&n({modelId:t.modelId,stage:t.stage,progress:t.progress});return}let i=this.models.list.get(t.modelId);i&&await i.handleRequest(t)}newUpdateEvent(){return()=>{this._autoRedrawInterval&&clearTimeout(this._autoRedrawInterval);let t=this.settings.maxUpdateRate+1;this._autoRedrawInterval=setTimeout(()=>{this.update()},t)}}newRequestEvent(){return t=>{this.manageRequest(t)}}};Ne(loe,"_workerURL",null);Ne(loe,"_workerPromise",null);var aoe=loe,Use=class{constructor(t,i){Ne(this,"_lengthUnitsFactor",1),Ne(this,"_attributesOffsets",[]),Ne(this,"_relationsMap",{}),Ne(this,"_guids",[]),Ne(this,"_guidsItems",[]),Ne(this,"_uniqueAttributes",new Set),Ne(this,"_uniqueRelNames",new Set),Ne(this,"_maxLocalID",0),Ne(this,"_ifcApi",null),Ne(this,"wasm",{path:"/node_modules/web-ifc/",absolute:!1}),Ne(this,"webIfcSettings",{}),Ne(this,"expressIDs",[]),Ne(this,"classes",[]),this._serializer=t,this._builder=i}async getIfcApi(){if(!this._ifcApi){let t=new DN;t.SetWasmPath(this.wasm.path,this.wasm.absolute),await t.Init(),t.SetLogLevel(q6.LOG_LEVEL_OFF),this._ifcApi=t}return this._ifcApi}async getSchema(t=0){let n=(await this.getIfcApi()).GetModelSchema(t);if(!n)throw new Error("Fragments: IFC Schema not found");return n.startsWith("IFC2X3")?"IFC2X3":n.startsWith("IFC4")&&n.replace("IFC4","")===""?"IFC4":n.startsWith("IFC4X")?"IFC4X3":n}unwrapValue(t){return t==null?t:typeof t=="object"&&"value"in t?this.unwrapValue(t.value):t}async process(t){var i,n,s;let o=await this.getIfcApi();if(this._maxLocalID=t.maxLocalID+1,t.readFromCallback&&t.readCallback)o.OpenModelFromCallback(t.readCallback,this.webIfcSettings);else if(t.bytes)await o.OpenModel(t.bytes,this.webIfcSettings);else throw new Error("Fragments: No data provided");this._serializer.replaceStoreyElevation&&await this.setLengthUnitsFactor();let r=o.GetAllTypesOfModel(0).map(Ee=>Ee.typeID),l=await this.getSchema();if(!Sq[l])throw new Error("Fragments: Model schema not recognized.");let h=t.geometryProcessedLocalIDs;await this.processItems(h);let p=new Set(h);(i=t.progressCallback)==null||i.call(t,.6,{process:"attributes",state:"start",entitiesProcessed:h.length});let I=new Set([...this._serializer.classes.abstract,...this._serializer.classes.elements]),m=r.filter(Ee=>I.has(Ee)),y=.15/m.length;for(let[Ee,Ce]of m.entries()){let Qe=o.GetLineIDsWithType(0,Ce);if(Qe.size()===0)continue;let qe=[];for(let St=0;St<Qe.size();St++){let $e=Qe.get(St);p.has($e)||qe.push($e)}qe.length!==0&&(await this.processItems(qe),(n=t.progressCallback)==null||n.call(t,y*(Ee+1)+.6,{process:"attributes",state:Ee+1===m.length?"finish":"inProgress",class:I8[Ce],entitiesProcessed:qe.length}))}let T=t.alignments;T&&this.processCustomItems(T,A7e);let R=t.grids;R&&this.processCustomItems(R,b7e);let b=new Set([...this._serializer.relations.keys()]),A=r.filter(Ee=>b.has(Ee)),O=.15/A.length;for(let[Ee,Ce]of A.entries()){let Qe=Ee===0?"start":Ee+1===A.length?"finish":"inProgress";await this.processRelations([Ce]),(s=t.progressCallback)==null||s.call(t,O*(Ee+1)+.75,{process:"relations",state:Qe,class:I8[Ce]})}let{relIndicesVector:P,relsVector:U}=this.getRelationsVector(),{guidsVector:Z,guidsItemsVector:ne}=this.getGuidsVector(),K=await this.getMetadataOffset(),oe=this.getAttributesVector(),se=this.getUniqueAttributesVector(),he=this.getRelNamesVector(),Re=In.createLocalIdsVector(this._builder,this.expressIDs),ee=this.getCategoriesVector(),Ae=await this.getSpatialStructureOffset();return this.clean(),{relIndicesVector:P,relsVector:U,guidsVector:Z,guidsItemsVector:ne,metadataOffset:K,attributesVector:oe,localIdsVector:Re,categoriesVector:ee,spatialStrutureOffset:Ae,uniqueAttributesVector:se,relNamesVector:he,newMaxLocalID:this._maxLocalID}}async processItems(t){let i=await this.getIfcApi();for(let n=0;n<t.length;n++){let s=t[n];try{let o=i.GetLine(0,s);if(!o)continue;let r=I8[o.type];this.classes.push(r),this.expressIDs.push(s),await this.serializeAttributes(s,o)}catch(o){console.log(`Problem reading properties for ${s}. If many items are problematic, it may be a problem with the category you are trying to process. You can remove it and try again.`),console.log(o),await new Promise(r=>{setTimeout(r,100)});continue}}}async processCustomItems(t,i){for(let n of t){let s=this._maxLocalID++,o=JSON.stringify(n),d=JSON.stringify(["data",o,"UNDEFINED"]),h=this._builder.createSharedString(d);this._serializer.includeUniqueAttributes&&this._uniqueAttributes.add(d);let p=C3.createDataVector(this._builder,[h]),I=C3.createAttribute(this._builder,p);this.classes.push(i),this.expressIDs.push(s),this._attributesOffsets.push(I)}}addRelation(t,i,n){this._relationsMap[t]||(this._relationsMap[t]={}),this._relationsMap[t][i]||(this._relationsMap[t][i]=[]);for(let s of n)this._relationsMap[t][i].push(s);this._serializer.includeRelationNames&&this._uniqueRelNames.add(i)}async getAbsoluteElevation(t,i){let n=await this.getIfcApi(),s=n.GetLine(0,t),o;s?.RelativePlacement&&"value"in s.RelativePlacement&&typeof s.RelativePlacement.value=="number"&&(o=n.GetLine(0,s.RelativePlacement.value));let r;o?.Location&&"value"in o.Location&&typeof o.Location.value=="number"&&(r=n.GetLine(0,o.Location.value)),r?.Coordinates&&Array.isArray(r.Coordinates)&&"value"in r.Coordinates[2]&&typeof r.Coordinates[2].value=="number"&&(i.value+=r.Coordinates[2].value),s?.PlacementRelTo&&"value"in s.PlacementRelTo&&typeof s.PlacementRelTo.value=="number"&&await this.getAbsoluteElevation(s.PlacementRelTo.value,i)}async setLengthUnitsFactor(){let t=await this.getIfcApi();this._lengthUnitsFactor=rx.getUnitsFactor(t)}async serializeAttributes(t,i){let n=[],s=null;if(this._serializer.replaceSiteElevation&&i.type&&typeof i.type=="number"&&i.type===fu&&i.ObjectPlacement&&"value"in i.ObjectPlacement&&typeof i.ObjectPlacement.value=="number"){let l={value:0};await this.getAbsoluteElevation(i.ObjectPlacement.value,l),i.RefElevation=new a.IfcLengthMeasure(l.value*this._lengthUnitsFactor)}if(this._serializer.replaceStoreyElevation&&i.type&&typeof i.type=="number"&&i.type===pu&&i.ObjectPlacement&&"value"in i.ObjectPlacement&&typeof i.ObjectPlacement.value=="number"){let l={value:0};await this.getAbsoluteElevation(i.ObjectPlacement.value,l),i.Elevation=new a.IfcLengthMeasure(l.value*this._lengthUnitsFactor)}for(let[l,d]of Object.entries(i)){if(typeof d=="number"||typeof d=="boolean"||this._serializer.attributesToExclude.has(l)||d===null||d===void 0)continue;if(Array.isArray(d)){let I=d.filter(T=>T.type!==5);if(I.length>0){let T=I.map(P=>this.unwrapValue(P.value)),R=[l,T],b="name"in I[0]&&I[0].name?I[0].name:I[0].constructor.name.toUpperCase();R.push(b!=="OBJECT"?b:"UNDEFINED");let A=JSON.stringify(R),O=this._builder.createSharedString(A);n.push(O)}let y=d.filter(T=>T.type===5).map(T=>T.value);this.addRelation(t,l,y);continue}let h,p;if(typeof d=="object"&&d!==null&&"type"in d?(h=d.value,p=d.type):(h=d,p=void 0),p===5){if(typeof h!="number")continue;this.addRelation(t,l,[h])}else{let I=this.unwrapValue(h);if(l==="GlobalId"&&typeof I=="string"){s=I;continue}let m=[l,I],y="UNDEFINED";typeof d=="object"&&d!==null&&("name"in d&&d.name?y=d.name:d.constructor&&d.constructor.name!=="Object"&&(y=d.constructor.name.toUpperCase())),(y==="UNDEFINED"||y==="OBJECT")&&(typeof I=="number"?y=Number.isInteger(I)?"IFCINTEGER":"IFCREAL":typeof I=="string"?y="IFCLABEL":typeof I=="boolean"&&(y="IFCBOOLEAN")),m.push(y);let T=JSON.stringify(m),R=this._builder.createSharedString(T);n.push(R),this._serializer.includeUniqueAttributes&&this._uniqueAttributes.add(T)}}let o=C3.createDataVector(this._builder,n),r=C3.createAttribute(this._builder,o);this._attributesOffsets.push(r),s&&(this._guids.push(s),this._guidsItems.push(t))}getAttributesVector(){return In.createAttributesVector(this._builder,this._attributesOffsets)}getUniqueAttributesVector(){let t=[];for(let n of this._uniqueAttributes){let s=this._builder.createSharedString(n);t.push(s)}return In.createUniqueAttributesVector(this._builder,t)}getRelNamesVector(){let t=[];for(let n of this._uniqueRelNames){let s=this._builder.createSharedString(n);t.push(s)}return In.createRelationNamesVector(this._builder,t)}getGuidsVector(){let t=[];for(let s of this._guids){let o=this._builder.createString(s);t.push(o)}let i=In.createGuidsVector(this._builder,t),n=In.createGuidsItemsVector(this._builder,this._guidsItems);return{guidsVector:i,guidsItemsVector:n}}async processRelations(t){let i=await this.getIfcApi();for(let n of t){let s=this._serializer.relations.get(n);if(!s)continue;let{forRelating:o,forRelated:r}=s,l=i.GetLineIDsWithType(0,n);if(l.size()!==0)for(let d=0;d<l.size();d++){let h=l.get(d);try{let p=i.GetLine(0,h);if(!p)continue;let I=Object.keys(p),m=I.find(A=>A.startsWith("Relating")),y=I.find(A=>A.startsWith("Related"));if(!(m&&y))continue;let T=p[m].value,R=p[y],b=[];Array.isArray(R)?b=R.map(({value:A})=>A):b=[R.value],this.addRelation(T,o,b);for(let A of b)this.addRelation(A,r,[T])}catch(p){console.log(`Problem reading relations for ${h}`),console.log(p),await new Promise(I=>{setTimeout(I,100)});continue}}}}getRelationsVector(t=!1){let i=[],n=[];for(let[r,l]of Object.entries(this._relationsMap)){if(t&&!this.expressIDs.includes(Number(r)))continue;let d=[];for(let[I,m]of Object.entries(l)){let y=m;if(t&&(y=m.filter(b=>this.expressIDs.includes(b)),y.length===0))continue;let T=JSON.stringify([I,...y]),R=this._builder.createSharedString(T);d.push(R)}if(t&&d.length===0)continue;n.push(Number(r));let h=ox.createDataVector(this._builder,d),p=ox.createRelation(this._builder,h);i.push(p)}let s=In.createRelationsVector(this._builder,i);return{relIndicesVector:In.createRelationsItemsVector(this._builder,n),relsVector:s}}getCategoriesVector(){let t=this.classes.map(n=>this._builder.createSharedString(n));return In.createCategoriesVector(this._builder,t)}async getMetadataOffset(){let t=await this.getIfcApi(),i=t.GetModelSchema(0),n=t.GetHeaderLine(0,Rq),s=t.GetHeaderLine(0,vq),o=[];this.getMetadataRecursively(n.arguments,o);let r=[];this.getMetadataRecursively(s.arguments,r);let l=this.extractCRS(t),d={schema:i,names:o,descriptions:r,crs:l};return this._builder.createString(JSON.stringify(d))}extractCRS(t){let i=null;try{let I=t.GetLineIDsWithType(0,uV);I.size()>0&&(i=t.GetLine(0,I.get(0)))}catch{}if(!i)try{let I=t.GetLineIDsWithType(0,Aie);I.size()>0&&(i=t.GetLine(0,I.get(0)))}catch{}if(!i)return null;let n=this.unwrapValue(i.Name)??null,s=this.unwrapValue(i.Description)??null,o=this.unwrapValue(i.GeodeticDatum)??null,r=this.unwrapValue(i.VerticalDatum)??null,l=this.unwrapValue(i.MapProjection)??null,d=this.unwrapValue(i.MapZone)??null,h=null;try{let I=i.MapUnit;if(I&&typeof I=="object"&&I.type===5){let m=t.GetLine(0,I.value);if(m){let y=this.unwrapValue(m.Name);y&&(h=String(y))}}}catch{}let p=null;try{let I=t.GetLineIDsWithType(0,z7);if(I.size()>0){let m=t.GetLine(0,I.get(0));p={eastings:this.unwrapValue(m.Eastings)??0,northings:this.unwrapValue(m.Northings)??0,orthogonalHeight:this.unwrapValue(m.OrthogonalHeight)??0,xAxisAbscissa:this.unwrapValue(m.XAxisAbscissa)??1,xAxisOrdinate:this.unwrapValue(m.XAxisOrdinate)??0,scale:this.unwrapValue(m.Scale)??1}}}catch{}return{name:n,description:s,geodeticDatum:o,verticalDatum:r,mapProjection:l,mapZone:d,mapUnit:h,mapConversion:p}}getMetadataRecursively(t,i){for(let n of t)n!=null&&(Array.isArray(n)&&this.getMetadataRecursively(n,i),"value"in n&&typeof n.value=="string"&&i.push(n.value))}getEntityDecomposition(t,i){var n;let s=[];for(let l of i){let d=(n=this._relationsMap[t])==null?void 0:n[l];if(!d)continue;let h={};for(let p of d){let I=this.expressIDs.indexOf(p);if(I===-1)continue;let m=this.classes[I];m&&(h[m]||(h[m]=[]),h[m].push(p))}for(let p in h){let m=h[p].map(b=>this.getEntityDecomposition(b,i)),y=oo.createChildrenVector(this._builder,m),T=this._builder.createSharedString(p);oo.startSpatialStructure(this._builder),oo.addCategory(this._builder,T),oo.addChildren(this._builder,y);let R=oo.endSpatialStructure(this._builder);s.push(R)}}let o=oo.createChildrenVector(this._builder,s);return oo.startSpatialStructure(this._builder),oo.addLocalId(this._builder,t),oo.addChildren(this._builder,o),oo.endSpatialStructure(this._builder)}async getSpatialStructureOffset(){let t=await this.getIfcApi(),i=eI,s=[...t.GetLineIDsWithType(0,i)].map(d=>this.getEntityDecomposition(d,["IsDecomposedBy","ContainsElements"])),o=this._builder.createSharedString("IFCPROJECT"),r=oo.createChildrenVector(this._builder,s);return oo.startSpatialStructure(this._builder),oo.addCategory(this._builder,o),oo.addChildren(this._builder,r),oo.endSpatialStructure(this._builder)}clean(){var t;(t=this._ifcApi)==null||t.Dispose(),this._ifcApi=null,this._guids=[],this._guidsItems=[],this._attributesOffsets=[],this._relationsMap={},this._uniqueAttributes.clear(),this._uniqueRelNames.clear(),this.expressIDs=[],this.classes=[]}},Hse=class{read(t){var i;try{let n=t.GetAllAlignments(0),s=[];for(let o of n){let r={absolute:[],horizontal:[],vertical:[]};s.push(r);let l=o.vertical.length===0,d=null;l&&o.FlattenedWorldTransformMatrix&&(d=new Ai,d.fromArray(o.FlattenedWorldTransformMatrix));let h=0,p=(i=o.curve3D[0])==null?void 0:i.points;for(let I=0;I<o.horizontal.length;I++){let m=o.horizontal[I],y=[],T=[],R=this.getCurveType(m.data[1]),b=[],A=[],O=new ye;for(let P of m.points){if(l)O.set(P.x,P.y,0),d&&O.applyMatrix4(d),b.push([O.x,O.z,-O.y]);else{let U=p?.[h++];U?b.push([U.x,U.y,U.z]):console.log("Problem reading alignment 3D points")}A.push([P.x,P.y])}for(let[P,U,Z]of b)y.push(P,U,Z);for(let[P,U]of A)T.push(P,0,-U);y.length&&r.absolute.push({points:y,type:R}),r.horizontal.push({points:T,type:R})}for(let I=0;I<o.vertical.length;I++){let m=o.vertical[I],y=[],T=this.getCurveType(m.data[1]),R=[];for(let b of m.points)R.push([b.x,b.y]);for(let[b,A]of R)y.push(b,A,0);r.vertical.push({points:y,type:T})}}return s}catch(n){return console.error("CivilReader error:",n),[]}}getCurveType(t){if(t.includes("CIRCULARARC"))return R2.ELLIPSE_ARC;if(t.includes("LINE")||t.includes("GRADIENT"))return R2.LINES;if(t.includes("CLOTHOID"))return R2.CLOTHOID;if(t.includes("PARABOLICARC"))return R2.PARABOLA;throw new Error(`Fragments: Unknown curve type: ${t}`)}},Gse=class{read(t){try{let i=[],n=t.GetCoordinationMatrix(0),s=new Ai;s.fromArray(n);let o=rx.getUnitsFactor(t),r=t.GetLineIDsWithType(0,Rr),l=r.size();for(let d=0;d<l;d++){let h=r.get(d),p=t.GetLine(0,h),I=rx.getAbsolutePlacement(t,p,o);I.premultiply(s);let m={id:h,transform:I.elements,uAxes:this.getGridAxes(p,t,o,"UAxes"),vAxes:this.getGridAxes(p,t,o,"VAxes"),wAxes:this.getGridAxes(p,t,o,"WAxes")};i.push(m)}return i}catch(i){return console.error(i),[]}}getGridAxes(t,i,n,s){if(!t[s])return[];let o=[];for(let r of t[s]){let l=i.GetLine(0,r.value),d=l.AxisCurve.value,h=i.GetLine(0,d),p={tag:l.AxisTag.value,curve:[]};if(h.Points){if(h.type===Hf)for(let{value:I}of h.Points){let m=i.GetLine(0,I);if(m.Coordinates)for(let y of m.Coordinates){let T=y.value*n;p.curve.push(T)}}else{let I=h.Points.value;if(!I)continue;let m=i.GetLine(0,I);if(m.CoordList)for(let y of m.CoordList)for(let T of y){let R=T.value*n;p.curve.push(R)}}o.push(p)}}return o}},Vse=class{read(t,i,n,s,o){try{let r=rx.getUnitsFactor(t),l=t.GetCoordinationMatrix(0),d=new Ai;d.fromArray(l);let h=t.GetLineIDsWithType(0,Fh),p=h.size(),I=new Map;for(let m=0;m<p;m++){let y=h.get(m),T=t.GetLine(0,y),R=T.ConnectionGeometry;if(!R)continue;let b=T.RelatingSpace;if(!b)continue;let A=b.value,O=I.get(A);if(!O){let ft=t.GetLine(0,A),Dt=rx.getAbsolutePlacement(t,ft,r);Dt.premultiply(d);let Zt=this.decompose(Dt);O={transform:Dt,decomposed:Zt},I.set(A,O)}let U=t.GetLine(0,R.value).SurfaceOnRelatingElement;if(!U)continue;let Z=this.getFaceBuffers(t,U.value,r);if(!Z)continue;let{position:ne,normals:K,index:oe}=Z,se;try{se=as.getShellData({position:ne,normals:K,index:oe,raw:!1,settings:i.geometryProcessSettings})}catch{console.log(`Fragments: Could not process space boundary geometry for #${y}`);continue}let he=o();n({id:he,geometry:se});let Re={id:he,color:[.5,.5,.8,.5],localTransformID:null},ee={id:T.expressID,type:Fh,guid:T.GlobalId.value,geometries:[Re]},{px:Ae,py:Ee,pz:Ce,dxx:Qe,dxy:qe,dxz:St,dyx:$e,dyy:ke,dyz:It}=O.decomposed;s({element:ee,position:[Ae,Ee,Ce],xDirection:[Qe,qe,St],yDirection:[$e,ke,It]})}}catch(r){console.error("Fragments: Error reading space boundaries",r)}}getFaceBuffers(t,i,n){let s=t.GetLine(0,i);if(!s.Bounds)return null;let o=[];for(let y of s.Bounds){let T=t.GetLine(0,y.value),R=t.GetLine(0,T.Bound.value);if(R.Polygon)for(let b of R.Polygon){let O=t.GetLine(0,b.value).Coordinates,P=O[0].value*n,U=O[1].value*n,Z=O[2].value*n;o.push(new ye(P,U,Z))}}if(o.length<3)return null;let r=new ye().subVectors(o[1],o[0]),l=new ye().subVectors(o[2],o[0]),d=new ye().crossVectors(r,l).normalize(),h=o.length-2,p=new Float32Array(o.length*3),I=new Float32Array(o.length*3),m=new Uint32Array(h*3);for(let y=0;y<o.length;y++)p[y*3]=o[y].x,p[y*3+1]=o[y].y,p[y*3+2]=o[y].z,I[y*3]=d.x,I[y*3+1]=d.y,I[y*3+2]=d.z;for(let y=0;y<h;y++)m[y*3]=0,m[y*3+1]=y+1,m[y*3+2]=y+2;return{position:p,normals:I,index:m}}decompose(t){let i=t.elements,n=1e3,s=1e5,o=as.round(i[0],n),r=as.round(i[1],n),l=as.round(i[2],n),d=as.round(i[4],s),h=as.round(i[5],s),p=as.round(i[6],s),I=as.round(i[12],s),m=as.round(i[13],s),y=as.round(i[14],s);return{dxx:o,dxy:r,dxz:l,dyx:d,dyy:h,dyz:p,px:I,py:m,pz:y}}},kse=class{constructor(t){Ne(this,"_ifcAPI",null),Ne(this,"wasm",{path:"../../../../node_modules/web-ifc/",absolute:!1}),Ne(this,"webIfcSettings",{}),Ne(this,"_tempObject1",new ps),Ne(this,"_tempObject2",new ps),Ne(this,"_tempMatrix1",new Ai),Ne(this,"_previousGeometries",new Map),Ne(this,"_previousGeometriesIDs",new Map),Ne(this,"_previousGeometriesScales",new Map),Ne(this,"_previousLocalTransforms",new Map),Ne(this,"_problematicGeometries",new Set),Ne(this,"_problematicGeometriesHashes",new Set),Ne(this,"_coordinatesInitialized",!1),Ne(this,"_civilReader",new Hse),Ne(this,"_gridReader",new Gse),Ne(this,"_spaceBoundaryReader",new Vse),Ne(this,"_nextId",0),Ne(this,"_rawCategories",new Set([$T,ZT])),Ne(this,"scene",null),Ne(this,"isolatedMeshes",null),Ne(this,"onElementLoaded",()=>{}),Ne(this,"onGeometryLoaded",()=>{}),Ne(this,"onLocalTransformLoaded",()=>{}),Ne(this,"onNextIdFound",()=>{}),Ne(this,"onCoordinatesLoaded",()=>{}),Ne(this,"onAlignmentsLoaded",()=>{}),Ne(this,"onGridsLoaded",()=>{}),this._serializer=t}async load(t){var i,n,s;(i=t.progressCallback)==null||i.call(t,0,{process:"conversion",state:"start"}),this._previousGeometriesIDs.clear(),this._ifcAPI=new DN,this._ifcAPI.SetWasmPath(this.wasm.path,this.wasm.absolute),await this._ifcAPI.Init();let o=0;if(t.readFromCallback&&t.readCallback)o=this._ifcAPI.OpenModelFromCallback(t.readCallback,this.webIfcSettings);else if(t.bytes)o=await this._ifcAPI.OpenModel(t.bytes,this.webIfcSettings);else throw new Error("Fragments: No data provided");this._ifcAPI.SetLogLevel(q6.LOG_LEVEL_OFF),this._nextId=this._ifcAPI.GetMaxExpressID(o)+1,this.onLocalTransformLoaded({id:0,data:[0,0,0,1,0,0,0,1,0]});let r=new ye,l=0,d=I=>{if(this._ifcAPI===null)throw new Error("Fragments: IfcAPI not initialized");if(!this._coordinatesInitialized){let ee=this._ifcAPI.GetCoordinationMatrix(o);this._tempMatrix1.fromArray(ee);let Ae=this.decompose(this._tempMatrix1);this.onCoordinatesLoaded(Ae),this._coordinatesInitialized=!0}let m=this._ifcAPI.GetLine(0,I.expressID),y={id:I.expressID,type:m.type,guid:m.GlobalId.value,geometries:[]},T=I.geometries.size(),b=I.geometries.get(0).flatTransformation,{transformWithoutScale:A}=this.removeScale(b),O=this._serializer.distanceThreshold;if(O!==null&&(r.set(0,0,0),r.applyMatrix4(A),r.x>O||r.y>O||r.z>O)){console.log(`Fragments: Object ${y.id} is more than ${O} meters away from the origin and will be skipped.`);return}for(let ee=0;ee<T;ee++){let Ae="Shell";y.type===vr&&this.hasSweptDiskDirectrix(o,I,ee)&&(Ae="CircleExtrusion"),Ae==="Shell"?this.loadShellGeometry(o,y,I,ee,A.elements,l):Ae==="CircleExtrusion"&&this.loadCircleExtrusionGeometry(o,y,I,ee,A.elements)}let{dxx:P,dxy:U,dxz:Z,dyx:ne,dyy:K,dyz:oe,px:se,py:he,pz:Re}=this.decompose(A);y.geometries.length>0&&this.onElementLoaded({element:y,position:[se,he,Re],xDirection:[P,U,Z],yDirection:[ne,K,oe]})};if((n=this.isolatedMeshes)!=null&&n.size)this._ifcAPI.StreamMeshes(o,Array.from(this.isolatedMeshes),d);else{let m=this._ifcAPI.GetAllTypesOfModel(o).map(T=>T.typeID).filter(T=>this._serializer.classes.elements.has(T));m.includes(Y0)&&(m.splice(m.indexOf(Y0),1),m.push(Y0));let y=.5/m.length;for(let[T,R]of m.entries()){l=R;let b=T===0?"start":T+1===m.length?"finish":"inProgress",A=this._ifcAPI.GetLineIDsWithType(o,R),O=[];for(let P=0;P<A.size();P++)O.push(A.get(P));O.length>0&&(this._ifcAPI.StreamMeshes(o,O,d),(s=t.progressCallback)==null||s.call(t,y*(T+1),{process:"geometries",state:b,class:I8[R],entitiesProcessed:O.length}))}}let h=this._civilReader.read(this._ifcAPI);this.onAlignmentsLoaded(h);let p=this._gridReader.read(this._ifcAPI);this.onGridsLoaded(p),this._serializer.geometryProcessSettings.processIfcRelSpaceBoundarySecondLevel&&this._spaceBoundaryReader.read(this._ifcAPI,this._serializer,I=>this.onGeometryLoaded(I),I=>this.onElementLoaded(I),()=>this._nextId++),this.onNextIdFound(this._nextId),this._ifcAPI.Dispose(),this._ifcAPI=null,this._ifcAPI=new DN,this._ifcAPI.SetWasmPath(this.wasm.path,this.wasm.absolute),await this._ifcAPI.Init(),this._previousGeometries.clear(),this._previousGeometriesIDs.clear(),this._previousGeometriesScales.clear(),this._nextId=0,this._previousLocalTransforms.clear(),this._problematicGeometries.clear(),this._problematicGeometriesHashes.clear()}loadCircleExtrusionGeometry(t,i,n,s,o){if(this._ifcAPI===null)throw new Error("Fragments: IfcAPI not initialized");let r=n.geometries.get(s),l=r.flatTransformation,{units:d}=this.removeScale(l),{x:h,y:p,z:I,w:m}=r.color,y={id:r.geometryExpressID,color:[h,p,I,m],localTransformID:null};i.geometries.push(y);let{transformWithoutScale:T}=this.removeScale(r.flatTransformation);if(this._previousGeometriesIDs.has(y.id)){this.getLocalTransform(o,T,y),y.id=this._previousGeometriesIDs.get(y.id);return}this.getLocalTransform(o,T,y);let R=this._ifcAPI.GetGeometry(t,y.id),b=R.GetSweptDiskSolid(),A=[],O=[],P=b.axis.size();for(let ee=0;ee<P;ee++){let Ae=b.axis.get(ee),Ee=[];for(let Qe=0;Qe<Ae.arcSegments.size();Qe++)Ee.push(Ae.arcSegments.get(Qe));A.push(Ee);let Ce=[];for(let Qe=0;Qe<Ae.points.size();Qe++){let qe=Ae.points.get(Qe);Ce.push({x:qe.x*d.x,y:qe.y*d.y,z:qe.z*d.z})}O.push(Ce)}let U=[],Z=[],ne=[],K=[];for(let ee=0;ee<O.length;ee++){let Ae=O[ee],Ee=A[ee],Ce=Ae.length;for(let Qe=0;Qe<Ce-1;Qe++){let qe=-1,St=-1;for(let $e=0;$e<Ee.length;$e+=2)if(Ee[$e]===Qe){qe=Qe,St=Ee[$e+1];break}if(qe===-1){let $e=[],ke=Ae[Qe],It=Ae[Qe+1],ft=ke.x,Dt=ke.y,Zt=ke.z,Ct=It.x,Ut=It.y,ii=It.z;U.push(ne.length),$e.push(ft,Dt,Zt,Ct,Ut,ii),ne.push($e),Z.push(mu.WIRE)}else{let $e=[],ke=qe,It=Math.round((qe+St)/2),ft=St,Dt=Ae[ke],Zt=Ae[It],Ct=Ae[ft],Ut=this.computeCircleCurveProperties(Dt,Zt,Ct),ii=Dt.x-Ut.center.x,Vt=Dt.y-Ut.center.y,Kt=Dt.z-Ut.center.z,ui=Math.sqrt(ii*ii+Vt*Vt+Kt*Kt);ui===0&&(ui=1);let jt=ii/ui,Oe=Vt/ui,Ft=Kt/ui,ge=Zt.x-Ut.center.x,Ue=Zt.y-Ut.center.y,Pe=Zt.z-Ut.center.z,Me=Math.sqrt(ge*ge+Ue*Ue+Pe*Pe);Me===0&&(Me=1);let ze=ge/Me,pt=Ue/Me,He=Pe/Me,At=this.crossProduct({x:jt,y:Oe,z:Ft},{x:ze,y:pt,z:He});ui=Math.sqrt(At.x*At.x+At.y*At.y+At.z*At.z),ui===0&&(ui=1),At={x:At.x/ui,y:At.y/ui,z:At.z/ui},U.push(K.length),$e.push(Ut.center.x,Ut.center.y,Ut.center.z,Ut.radius,Ut.angle,jt,Oe,Ft,At.x,At.y,At.z),K.push($e),Z.push(mu.CIRCLE_CURVE),Qe=ft-1}}}let oe=this.getGeometryBuffers(t,r);if(oe===null){i.geometries.pop(),this._problematicGeometries.add(y.id);return}let{position:se}=oe;for(let ee=0;ee<se.length-2;ee+=3)se[ee]*=d.x,se[ee+1]*=d.y,se[ee+2]*=d.z;let he=as.getAABB(se),Re=b.profileRadius*d.x;this._previousGeometriesIDs.set(y.id,y.id),this.onGeometryLoaded({id:y.id,geometry:{type:No.CIRCLE_EXTRUSION,indicesArray:U,typesArray:Z,segments:ne,circleCurveData:K,radius:Re,bbox:he}}),R.delete()}loadShellGeometry(t,i,n,s,o,r){if(this._ifcAPI===null)throw new Error("Fragments: IfcAPI not initialized");let l=n.geometries.get(s),d=l.flatTransformation,{units:h}=this.removeScale(d);if(this._problematicGeometries.has(l.geometryExpressID)){console.log(`Fragments: Problematic geometry: ${l.geometryExpressID}`);return}let{x:p,y:I,z:m}=l.color,y=l.color.w;this._serializer.geometryProcessSettings.forceTransparentSpaces&&r===nc&&y===1&&(y=.5);let T={id:l.geometryExpressID,color:[p,I,m,y],localTransformID:null};i.geometries.push(T);let{transformWithoutScale:R}=this.removeScale(l.flatTransformation);if(this._previousGeometriesIDs.has(T.id)){let Vt=this.getScaleHash(h);if(this._previousGeometriesScales.get(T.id)===Vt){this.getLocalTransform(o,R,T),T.id=this._previousGeometriesIDs.get(T.id);return}let jt=this._nextId++;this._previousGeometriesScales.set(jt,Vt),T.id=jt}let b=this.getGeometryBuffers(t,l);if(b===null){i.geometries.pop(),this._problematicGeometries.add(T.id);return}let{position:A,normals:O,index:P}=b;for(let Vt=0;Vt<A.length-2;Vt+=3)A[Vt]*=h.x,A[Vt+1]*=h.y,A[Vt+2]*=h.z;let U=A.length/3,Z=P.length/3,ne=0,K=0,oe=new fr,se=new ye,he=new ye,Re=new ye,ee=this.getVolume(P,A),Ae=new ye;for(let Vt=0;Vt<P.length-2;Vt+=3){let Kt=P[Vt],ui=P[Vt+1],jt=P[Vt+2];se.set(A[Kt*3],A[Kt*3+1],A[Kt*3+2]),he.set(A[ui*3],A[ui*3+1],A[ui*3+2]),Re.set(A[jt*3],A[jt*3+1],A[jt*3+2]),Ae.add(se),Ae.add(he),Ae.add(Re),oe.set(se,he,Re);let Oe=oe.getArea();Oe>ne&&(ne=Oe),K+=Oe}Ae.divideScalar(P.length),se.set(A[0],A[1],A[2]),he.set(A[3],A[4],A[5]),Re.set(A[6],A[7],A[8]);let Ee=1e4,Ce=as.round(K,Ee),Qe=as.round(ne,Ee),qe=as.round(ee,Ee),St=as.round(se.x,Ee),$e=as.round(se.y,Ee),ke=as.round(se.z,Ee),It=as.round(Ae.x,Ee),ft=as.round(Ae.y,Ee),Dt=as.round(Ae.z,Ee),Zt=`${U}-${Z}-${Ce}-${Qe}-${qe}-${It}-${ft}-${Dt}-${St}-${$e}-${ke}`;if(this._problematicGeometriesHashes.has(Zt)){console.log(`Fragments: Problematic geometry: ${T.id}`),i.geometries.pop(),this._problematicGeometries.add(T.id),this._problematicGeometriesHashes.add(Zt);return}let Ct=!this._previousGeometries.has(Zt),Ut=T.id;if(Ct)this._previousGeometries.set(Zt,Ut),this._previousGeometriesIDs.set(Ut,Ut);else{let Vt=this._previousGeometries.get(Zt);if(Vt===void 0)throw new Error("Fragments: Previous geometry not found");this._previousGeometriesIDs.set(Ut,Vt),T.id=Vt}this.getLocalTransform(o,R,T);let ii=this._rawCategories.has(i.type);if(Ct)try{let Vt=as.getShellData({position:A,normals:O,index:P,raw:ii,settings:this._serializer.geometryProcessSettings,category:r});this.onGeometryLoaded({id:T.id,geometry:Vt})}catch{console.log(`Fragments: Problematic geometry: ${T.id}`),i.geometries.pop(),this._problematicGeometries.add(T.id),this._problematicGeometriesHashes.add(Zt)}}getScaleHash(t){return`${t.x}-${t.y}-${t.z}`}getLocalTransform(t,i,n){this._tempObject1.position.set(0,0,0),this._tempObject1.rotation.set(0,0,0),this._tempObject1.scale.set(1,1,1),this._tempObject1.updateMatrix(),this._tempMatrix1.fromArray(t),this._tempObject1.applyMatrix4(this._tempMatrix1),this._tempObject2.position.set(0,0,0),this._tempObject2.rotation.set(0,0,0),this._tempObject2.scale.set(1,1,1),this._tempObject2.updateMatrix(),this._tempObject2.applyMatrix4(i),this._tempObject1.attach(this._tempObject2);let{px:s,py:o,pz:r,dxx:l,dxy:d,dxz:h,dyx:p,dyy:I,dyz:m}=this.decompose(this._tempObject2.matrix);if(this._tempObject2.removeFromParent(),!(s===0&&o===0&&r===0&&l===1&&d===0&&h===0&&p===0&&I===1&&m===0)){let T=`${s}-${o}-${r}-${l}-${d}-${h}-${p}-${I}-${m}`,R=this._previousLocalTransforms.get(T);if(R)n.localTransformID=R.id;else{let A={id:this._previousLocalTransforms.size+1,data:[s,o,r,l,d,h,p,I,m]};this._previousLocalTransforms.set(T,A),n.localTransformID=A.id,this.onLocalTransformLoaded(A)}}}removeScale(t){let i=new Ai().fromArray(t),n=new ye,s=new Gs,o=new ye;i.decompose(n,s,o);let r=o,l=new Ai;return l.compose(n,s,new ye(1,1,1)),{units:r,transformWithoutScale:l}}decompose(t){let s=as.round(t.elements[0],1e3),o=as.round(t.elements[1],1e3),r=as.round(t.elements[2],1e3),l=as.round(t.elements[4],1e5),d=as.round(t.elements[5],1e5),h=as.round(t.elements[6],1e5),p=as.round(t.elements[8],1e5),I=as.round(t.elements[9],1e5),m=as.round(t.elements[10],1e5),y=as.round(t.elements[12],1e5),T=as.round(t.elements[13],1e5),R=as.round(t.elements[14],1e5);return{dxx:s,dxy:o,dxz:r,dyx:l,dyy:d,dyz:h,dzx:p,dzy:I,dzz:m,px:y,py:T,pz:R}}getVolume(t,i){let n=0,s=new ye,o=new ye,r=new ye;for(let l=0;l<t.length-2;l+=3){let d=t[l]*3,h=t[l+1]*3,p=t[l+2]*3;s.set(i[d],i[d+1],i[d+2]),o.set(i[h],i[h+1],i[h+2]),r.set(i[p],i[p+1],i[p+2]),n+=this.getSignedVolumeOfTriangle(s,o,r)}return Math.abs(n)}getSignedVolumeOfTriangle(t,i,n){let s=n.x*i.y*t.z,o=i.x*n.y*t.z,r=n.x*t.y*i.z,l=t.x*n.y*i.z,d=i.x*t.y*n.z,h=t.x*i.y*n.z;return 1/6*(-s+o+r-l-d+h)}getGeometryBuffers(t,i){if(!this._ifcAPI)throw new Error("Fragments: IfcAPI not initialized");let n=this._ifcAPI.GetGeometry(t,i.geometryExpressID),s=this._ifcAPI.GetIndexArray(n.GetIndexData(),n.GetIndexDataSize()),o=this._ifcAPI.GetVertexArray(n.GetVertexData(),n.GetVertexDataSize());if(s.length===0||o.length===0)return n.delete(),null;let r=new Float32Array(o.length/2),l=new Float32Array(o.length/2);for(let d=0;d<o.length;d+=6)r[d/2]=o[d],r[d/2+1]=o[d+1],r[d/2+2]=o[d+2],l[d/2]=o[d+3],l[d/2+1]=o[d+4],l[d/2+2]=o[d+5];return n.delete(),{position:r,normals:l,index:s}}crossProduct(t,i){return{x:t.y*i.z-t.z*i.y,y:t.z*i.x-t.x*i.z,z:t.x*i.y-t.y*i.x}}computeCircleCurveProperties(t,i,n){function s(A,O,P){let U=O.x-A.x,Z=O.y-A.y,ne=O.z-A.z,K=P.x-A.x,oe=P.y-A.y,se=P.z-A.z,he=.5*(U**2+Z**2+ne**2),Re=.5*(K**2+oe**2+se**2),ee=U*oe-Z*K,Ae=Z*se-ne*oe,Ee=ne*K-U*se,Ce=he*K-Re*U,Qe=he*oe-Re*Z,qe=he*se-Re*ne,St=ee**2+Ae**2+Ee**2;if(St===0)throw new Error("Fragments: Points are collinear, no unique circle exists.");let $e=A.x+(ee*Qe-Ee*qe)/St,ke=A.y+(Ae*qe-ee*Ce)/St,It=A.z+(Ee*Ce-Ae*Qe)/St;return{x:$e,y:ke,z:It}}function o(A,O){return{x:A.x-O.x,y:A.y-O.y,z:A.z-O.z}}function r(A){return Math.sqrt(A.x*A.x+A.y*A.y+A.z*A.z)}let l=o(i,t),d=o(n,i),h=this.crossProduct(l,d),p=s(t,i,n),I=o(t,p),m=o(n,p),y=r(o(p,t)),T=o(t,p),R=r(T);T.x/=R,T.y/=R,T.z/=R;let b=Math.acos((I.x*m.x+I.y*m.y+I.z*m.z)/(r(I)*r(m)));return{center:p,radius:y,normal:h,initialTangent:T,angle:b*180/Math.PI}}hasSweptDiskDirectrix(t,i,n){try{if(!this._ifcAPI)return!1;let s=i.geometries.get(n);if(!s)return!1;let o=this._ifcAPI.GetGeometry(t,s.geometryExpressID);if(!o?.GetSweptDiskSolid)return!1;let r=o.GetSweptDiskSolid();return!!r?.axis&&r.axis.size()>0}catch{return!1}}},zse=class{constructor(t){Ne(this,"wasm",{path:"../../../../node_modules/web-ifc/",absolute:!1}),Ne(this,"webIfcSettings",{}),Ne(this,"_serializer"),this._serializer=t}async process(t){let{builder:i}=t,n=0,s=[],o={dxx:1,dxy:0,dxz:0,dyx:0,dyy:1,dyz:0,px:0,py:0,pz:0},r=[],l=[],d=[],h=[],p=[],I=new Map,m=new Map,y=new Map,T=new kse(this._serializer);T.wasm=this.wasm,T.webIfcSettings=this.webIfcSettings,T.onGeometryLoaded=jt=>{r.push(jt)},T.onElementLoaded=jt=>{h.push(jt)},T.onLocalTransformLoaded=jt=>{p.push(jt)},T.onCoordinatesLoaded=jt=>{o=jt},T.onNextIdFound=jt=>{n=jt},T.onAlignmentsLoaded=jt=>{for(let Oe of jt)l.push(Oe)},T.onGridsLoaded=jt=>{for(let Oe of jt)d.push(Oe)},await T.load(t);let R=[],b=0;Ji.startGlobalTransformsVector(i,h.length);let A=[],O=new Map,P=[];for(let jt=0;jt<h.length;jt++){let Oe=h[h.length-1-jt];R.push(b++);let{position:Ft,xDirection:ge,yDirection:Ue}=Oe,[Pe,Me,ze]=Ft,[pt,He,At]=ge,[Tt,Lt,Ht]=Ue;s.push(h[jt].element.id);let ri=h.length-1-jt,Xe=Oe.element.type,We=I8[Xe];O.has(We)||O.set(We,O.size),A.unshift(n++),JI.createTransform(i,Pe,Me,ze,pt,He,At,Tt,Lt,Ht),O.get(We),P.unshift(Oe.element.id),I.set(Oe.element.id,ri)}let U=i.endVector(),Z=[];for(let jt=0;jt<r.length;jt++){let Oe=r[jt];if(Oe.geometry.type!==No.SHELL)continue;let{points:Ft,profiles:ge,holes:Ue,profilesFaceIds:Pe}=Oe.geometry,Me=Ft.length>as.ushortMaxValue,ze=Me?Pc.BIG:Pc.NONE;or.startPointsVector(i,Ft.length);for(let gi=0;gi<Ft.length;gi++){let[mi,bi,Qt]=Ft[Ft.length-1-gi];pc.createFloatVector(i,mi,bi,Qt)}let pt=i.endVector(),He=[],At=[],Tt=[],Lt=[];for(let[,gi]of ge){if(Me){let Qt=D1.createIndicesVector(i,gi),di=D1.createBigShellProfile(i,Qt);Tt.push(di);continue}let mi=C1.createIndicesVector(i,gi),bi=C1.createShellProfile(i,mi);He.push(bi)}let Ht=or.createBigProfilesVector(i,Tt),ri=or.createProfilesVector(i,He);for(let[gi,mi]of Ue){if(Me){for(let bi of mi){let Qt=hE.createIndicesVector(i,bi),di=hE.createBigShellHole(i,Qt,gi);Lt.push(di)}continue}for(let bi of mi){let Qt=fE.createIndicesVector(i,bi),di=fE.createShellHole(i,Qt,gi);At.push(di)}}let Xe=or.createBigHolesVector(i,Lt),We=or.createHolesVector(i,At),Mt=or.createProfilesFaceIdsVector(i,Pe),si=or.createShell(i,ri,We,pt,Ht,Xe,ze,Mt);Z.push(si)}let ne=Ji.createShellsVector(i,Z),K=[];for(let jt=0;jt<r.length;jt++){let Oe=r[jt];if(Oe.geometry.type!==No.CIRCLE_EXTRUSION)continue;let Ft=[],{radius:ge,indicesArray:Ue,typesArray:Pe,segments:Me,circleCurveData:ze}=Oe.geometry;Ns.startCircleCurvesVector(i,ze.length);for(let Mt=0;Mt<ze.length;Mt++){let[si,gi,mi,bi,Qt,di,Wi,ki,Pi,Di,dn]=ze[Mt];WN.createCircleCurve(i,Qt/360*2*Math.PI,si,gi,mi,bi,Pi,Di,dn,di,Wi,ki)}let pt=i.endVector();Ns.startWiresVector(i,Me.length);for(let Mt=0;Mt<Me.length;Mt++){let[si,gi,mi,bi,Qt,di]=Me[Mt];sx.createWire(i,si,gi,mi,bi,Qt,di)}let He=i.endVector(),At=Ns.createOrderVector(i,Ue),Tt=Ns.createPartsVector(i,Pe);Ns.startWireSetsVector(i,0);let Lt=i.endVector();Ns.startAxis(i),Ns.addCircleCurves(i,pt),Ns.addOrder(i,At),Ns.addWires(i,He),Ns.addWireSets(i,Lt),Ns.addParts(i,Tt);let Ht=Ns.endAxis(i);Ft.push(Ht);let ri=Pl.createAxesVector(i,Ft),Xe=Pl.createRadiusVector(i,[ge]);Pl.startCircleExtrusion(i),Pl.addAxes(i,ri),Pl.addRadius(i,Xe);let We=Pl.endCircleExtrusion(i);K.push(We)}let oe=Ji.createCircleExtrusionsVector(i,K),se=[];Ji.startRepresentationsVector(i,r.length);let he=new Map;for(let jt=0;jt<r.length;jt++){let Oe=r.length-1-jt,ge=r[Oe].geometry.type,Ue=he.get(ge);Ue===void 0&&(Ue=-1),he.set(ge,Ue+1)}let Re=new ye,ee=new ye;for(let jt=0;jt<r.length;jt++){let Oe=r.length-1-jt,Ft=r[Oe],{bbox:ge}=Ft.geometry;m.set(Ft.id,Oe);let Ue=Ft.geometry.type,Pe=he.get(Ue);if(Pe===void 0)throw new Error("Fragments: Malformed geometry definition");he.set(Ue,Pe-1),Re.set(ge.min.x,ge.min.y,ge.min.z),ee.set(ge.max.x,ge.max.y,ge.max.z),Re.distanceTo(ee)>999999&&(console.log(`Infinity bounding box: ${Ft.id}`),ge.min.x=0,ge.min.y=0,ge.min.z=0,ge.max.x=.1,ge.max.y=.1,ge.max.z=.1),se.unshift(n++),cE.createRepresentation(i,Pe,ge.min.x,ge.min.y,ge.min.z,ge.max.x,ge.max.y,ge.max.z,Ft.geometry.type)}let Ae=i.endVector(),Ee=0;for(let jt of h)for(let Oe of jt.element.geometries){let Ft=Oe.color.toString();if(!y.has(Ft)){let ge=Oe.color.map(Ue=>Ue*255);y.set(Ft,{id:Ee++,color:ge})}}Ji.startMaterialsVector(i,y.size);let Ce=[],Qe=Array.from(y.keys());for(let jt=0;jt<Qe.length;jt++){let Oe=Qe[Qe.length-1-jt],{color:Ft}=y.get(Oe),[ge,Ue,Pe,Me]=Ft;Ce.push(n++),YN.createMaterial(i,ge,Ue,Pe,Me,g$.ONE,0)}let qe=i.endVector(),St=0;for(let jt of h)St+=jt.element.geometries.length;Ji.startSamplesVector(i,St);let $e=[];for(let jt=0;jt<h.length;jt++){let Oe=h[h.length-1-jt],Ft=I.get(Oe.element.id),ge=Oe.element.geometries;for(let Ue=0;Ue<ge.length;Ue++){let Pe=ge[ge.length-Ue-1],Me=m.get(Pe.id),ze=y.get(Pe.color.toString()).id,pt=Pe.localTransformID||0;$e.push(n++),jN.createSample(i,Ft,ze,Me,pt)}}let ke=i.endVector();Ji.startLocalTransformsVector(i,p.length);let It=[];for(let jt=0;jt<p.length;jt++){let Oe=p[p.length-1-jt],[Ft,ge,Ue,Pe,Me,ze,pt,He,At]=Oe.data;It.push(n++),JI.createTransform(i,Ft,ge,Ue,Pe,Me,ze,pt,He,At)}let ft=i.endVector(),Dt=Ji.createMeshesItemsVector(i,R),Zt=Ji.createRepresentationIdsVector(i,se),Ct=Ji.createSampleIdsVector(i,$e),Ut=Ji.createMaterialIdsVector(i,Ce),ii=Ji.createLocalTransformIdsVector(i,It),Vt=Ji.createGlobalTransformIdsVector(i,A),Kt=JI.createTransform(i,o.px,o.py,o.pz,o.dxx,o.dxy,o.dxz,o.dyx,o.dyy,o.dyz);return Ji.startMeshes(i),Ji.addCoordinates(i,Kt),Ji.addGlobalTransforms(i,U),Ji.addShells(i,ne),Ji.addRepresentations(i,Ae),Ji.addSamples(i,ke),Ji.addLocalTransforms(i,ft),Ji.addMaterials(i,qe),Ji.addCircleExtrusions(i,oe),Ji.addMeshesItems(i,Dt),Ji.addRepresentationIds(i,Zt),Ji.addSampleIds(i,Ct),Ji.addMaterialIds(i,Ut),Ji.addLocalTransformIds(i,ii),Ji.addGlobalTransformIds(i,Vt),{modelMesh:Ji.endMeshes(i),localIDs:s,maxLocalID:n,alignments:l,grids:d}}},bV={base:new Set([eI,fu,du,pu]),units:new Set([nq,t8,Mie,Uie,Bie]),materials:new Set([yV,Fie,lV,z6,mV,a2,IV,cV,V5,rV]),properties:new Set([Jo,N3,jI,wS,gS,TS,jG,ES,yS,mS]),types:new Set([ec,$R,Ju,Bp,hc,n5,dc,cc,i5,Mp,Pp,t5,ac,e5,XR,JR,lc,QR,rc,oc,Op,xp,Cp,sc,ic,Dp,ZR,tc,Ap]),elements:new Set([eI,fu,du,pu,nc,Y0,_h,vd,jd,Ud,Ad,Ph,k0,id,Rd,Vd,Fu,ad,iu,ju,td,Np,Jd,Ew,Yd,xh,gd,Id,uc,ta,Hd,Lu,Od,Jc,Qu,sd,Yu,Aw,Mh,vr,ia,ed,Ed,Ql,Ou,Wu,Xu,vw,Ld,vp,$u,rd,Pd,Qc,Wd,Lp,Uu,n0,bd,ra,Wm,Ka,od,Rw,H0,Ku,Md,Hu,Sd,oa,Zd,qd,Qd,ea,ku,hd,Lh,Fr,Mr,bp,Mu,zd,G0,e0,yw,wd,Xa,Vu,Cd,gw,qu,Fd,qT,Dh,_p,ww,na,zu,pd,Sw,Gu,Rp,Pu,nd,Kd,Xc,Bd,Ym,Zu,Xl,Jl,ld,fd,Gd,cd,la,kd,Xd,Td,Br,xd,md,ud,Oh,z0,dd,Tw,$d,_d,yd,Nd,Bu,sa,Ch,Dd,Rr,gN,qR,ZT,$T,WR,YR,KR,jR,mw,Iw])},p$=class{constructor(){Ne(this,"_builder",null),Ne(this,"wasm",{path:"/node_modules/web-ifc/",absolute:!1}),Ne(this,"webIfcSettings",{COORDINATE_TO_ORIGIN:!0}),Ne(this,"attributesToExclude",new Set(["Representation","ObjectPlacement","CompositionType","OwnerHistory"])),Ne(this,"geometryProcessSettings",{threshold:3e3,precision:1e6,normalPrecision:1e7,planePrecision:1e3,faceThreshold:.6,forceTransparentSpaces:!0}),Ne(this,"relations",new Map([[Fe,{forRelating:"DefinesOcurrence",forRelated:"IsDefinedBy"}],[Os,{forRelated:"HasAssociations",forRelating:"AssociatedTo"}],[M,{forRelated:"Decomposes",forRelating:"IsDecomposedBy"}],[tt,{forRelated:"ContainedInStructure",forRelating:"ContainsElements"}]])),Ne(this,"classes",{elements:new sI([...bV.elements]),abstract:new sI([...bV.base,...bV.materials,...bV.properties,...bV.units])}),Ne(this,"includeUniqueAttributes",!1),Ne(this,"includeRelationNames",!1),Ne(this,"replaceStoreyElevation",!0),Ne(this,"replaceSiteElevation",!0),Ne(this,"distanceThreshold",1e5)}get builder(){if(!this._builder)throw new Error("Fragments: Builder not initialized");return this._builder}async process(t){var i;this._builder=new jV(1024);let n=new zse(this);n.wasm=this.wasm,n.webIfcSettings=this.webIfcSettings;let s={...t,builder:this.builder},o=await n.process(s),{modelMesh:r,maxLocalID:l,localIDs:d,alignments:h,grids:p}=o,I=new Use(this,this.builder);I.wasm=this.wasm,I.webIfcSettings=this.webIfcSettings;let m={...t,geometryProcessedLocalIDs:d,alignments:h,grids:p,maxLocalID:l},y=await I.process(m),{relIndicesVector:T,relsVector:R,guidsVector:b,guidsItemsVector:A,metadataOffset:O,localIdsVector:P,spatialStrutureOffset:U,attributesVector:Z,categoriesVector:ne,uniqueAttributesVector:K,relNamesVector:oe,newMaxLocalID:se}=y,he=t.id??cr.generateUUID(),Re=this.builder.createString(he);In.startModel(this.builder),In.addMeshes(this.builder,r),In.addMetadata(this.builder,O),In.addAttributes(this.builder,Z),In.addUniqueAttributes(this.builder,K),In.addRelationNames(this.builder,oe),In.addLocalIds(this.builder,P),In.addCategories(this.builder,ne),In.addRelationsItems(this.builder,T),In.addRelations(this.builder,R),In.addGuidsItems(this.builder,A),In.addGuids(this.builder,b),In.addSpatialStructure(this.builder,U),In.addGuid(this.builder,Re),In.addMaxLocalId(this.builder,se);let ee=In.endModel(this.builder);this.builder.finish(ee);let Ae=this.builder.asUint8Array();this.clean();let Ee=t.raw?Ae:T$.deflate(Ae);return(i=t.progressCallback)==null||i.call(t,1,{process:"conversion",state:"finish"}),Ee}addAllAttributes(){for(let t in I8){let i=parseInt(t,10);R7e.has(i)||this.classes.abstract.add(i)}this.attributesToExclude=new Set}addAllRelations(){this.relations=new Map(S7e)}clean(){var t;(t=this._builder)==null||t.clear(),this._builder=null}};var Wse=class{constructor(t){Ne(this,"core"),this.core=t.CreateProfile()}get(t,i){let n=i.type??0,s=i.width??.2,o=i.depth??.2,r=i.thickness??.002,l=i.flangeThickness??.002,d=i.hasFillet??!1,h=i.filletRadius??.001,p=i.radius??.01,I=i.slope??.001,m=i.circleSegments??20,y=new t.wasmModule.DoubleVector,T=i.placement??new Ai().identity();for(let b of T.elements)y.push_back(b);let R=this.core;return R.SetValues(n,s,o,r,l,d,h,p,I,m,y),R.GetBuffers()}};Ne(Wse,"map",new Map([["H",0],["C",1],["Z",2],["T",3],["L",4]]));var v8e=["alphaMap","alphaTest","anisotropy","anisotropyMap","anisotropyRotation","aoMap","aoMapIntensity","attenuationColor","attenuationDistance","bumpMap","clearcoat","clearcoatMap","clearcoatNormalMap","clearcoatNormalScale","clearcoatRoughness","color","dispersion","displacementMap","emissive","emissiveIntensity","emissiveMap","envMap","envMapIntensity","gradientMap","ior","iridescence","iridescenceIOR","iridescenceMap","iridescenceThicknessMap","lightMap","lightMapIntensity","map","matcap","metalness","metalnessMap","normalMap","normalScale","opacity","roughness","roughnessMap","sheen","sheenColor","sheenColorMap","sheenRoughnessMap","shininess","specular","specularColor","specularColorMap","specularIntensity","specularIntensityMap","specularMap","thickness","transmission","transmissionMap"],uoe=new WeakMap,Jme=new WeakMap,Xme=new WeakMap,joe=class{constructor(t){this.renderObjects=new WeakMap,this.hasNode=this.containsNode(t),this.hasAnimation=t.object.isSkinnedMesh===!0,this.refreshUniforms=v8e,this.renderId=0}firstInitialization(t){return this.renderObjects.has(t)===!1?(this.getRenderObjectData(t),!0):!1}needsVelocity(t){let i=t.getMRT();return i!==null&&i.has("velocity")}getRenderObjectData(t){let i=this.renderObjects.get(t);if(i===void 0){let{geometry:n,object:s}=t;if(i={geometryId:n.id,worldMatrix:s.matrixWorld.clone()},s.center&&(i.center=s.center.clone()),s.morphTargetInfluences&&(i.morphTargetInfluences=s.morphTargetInfluences.slice()),t.bundle!==null&&(i.version=t.bundle.version),t.material.transmission>0){let{width:o,height:r}=t.context;i.bufferWidth=o,i.bufferHeight=r}i.lights=this.getLightsData(t.lightsNode.getLights()),this.renderObjects.set(t,i)}return i}getAttributesData(t){let i={};for(let n in t){let s=t[n];i[n]={id:s.id,version:s.version}}return i}containsNode(t){let i=t.material;for(let n in i)if(i[n]&&i[n].isNode)return!0;return!!(t.context.modelViewMatrix||t.context.modelNormalViewMatrix||t.context.getAO||t.context.getShadow)}getGeometryData(t){let i=Xme.get(t);return i===void 0&&(i={_renderId:-1,_equal:!1,attributes:this.getAttributesData(t.attributes),indexId:t.index?t.index.id:null,indexVersion:t.index?t.index.version:null,drawRange:{start:t.drawRange.start,count:t.drawRange.count}},Xme.set(t,i)),i}getMaterialData(t){let i=Jme.get(t);if(i===void 0){i={_renderId:-1,_equal:!1};for(let n of this.refreshUniforms){let s=t[n];s!=null&&(typeof s=="object"&&s.clone!==void 0?s.isTexture===!0?i[n]={id:s.id,version:s.version}:i[n]=s.clone():i[n]=s)}Jme.set(t,i)}return i}equals(t,i,n){let{object:s,material:o,geometry:r}=t,l=this.getRenderObjectData(t);if(l.worldMatrix.equals(s.matrixWorld)!==!0)return l.worldMatrix.copy(s.matrixWorld),!1;let d=this.getMaterialData(t.material);if(d._renderId!==n){d._renderId=n;for(let p in d){let I=d[p],m=o[p];if(p!=="_renderId"&&p!=="_equal"){if(I.equals!==void 0){if(I.equals(m)===!1)return I.copy(m),d._equal=!1,!1}else if(m.isTexture===!0){if(I.id!==m.id||I.version!==m.version)return I.id=m.id,I.version=m.version,d._equal=!1,!1}else if(I!==m)return d[p]=m,d._equal=!1,!1}}if(d.transmission>0){let{width:p,height:I}=t.context;if(l.bufferWidth!==p||l.bufferHeight!==I)return l.bufferWidth=p,l.bufferHeight=I,d._equal=!1,!1}d._equal=!0}else if(d._equal===!1)return!1;if(l.geometryId!==r.id)return l.geometryId=r.id,!1;let h=this.getGeometryData(t.geometry);if(h._renderId!==n){h._renderId=n;let p=r.attributes,I=h.attributes,m=0,y=0;for(let P in p)m++;for(let P in I){y++;let U=I[P],Z=p[P];if(Z===void 0)return delete I[P],h._equal=!1,!1;if(U.id!==Z.id||U.version!==Z.version)return U.id=Z.id,U.version=Z.version,h._equal=!1,!1}if(y!==m)return h.attributes=this.getAttributesData(p),h._equal=!1,!1;let T=r.index,R=h.indexId,b=h.indexVersion,A=T?T.id:null,O=T?T.version:null;if(R!==A||b!==O)return h.indexId=A,h.indexVersion=O,h._equal=!1,!1;if(h.drawRange.start!==r.drawRange.start||h.drawRange.count!==r.drawRange.count)return h.drawRange.start=r.drawRange.start,h.drawRange.count=r.drawRange.count,h._equal=!1,!1;h._equal=!0}else if(h._equal===!1)return!1;if(l.morphTargetInfluences){let p=!1;for(let I=0;I<l.morphTargetInfluences.length;I++)l.morphTargetInfluences[I]!==s.morphTargetInfluences[I]&&(l.morphTargetInfluences[I]=s.morphTargetInfluences[I],p=!0);if(p)return!1}if(l.lights){for(let p=0;p<i.length;p++)if(l.lights[p].map!==i[p].map)return!1}return l.center&&l.center.equals(s.center)===!1?(l.center.copy(s.center),!0):(t.bundle!==null&&(l.version=t.bundle.version),!0)}getLightsData(t){let i=[];for(let n of t)n.isSpotLight===!0&&n.map!==null&&i.push({map:n.map.version});return i}getLights(t,i){if(uoe.has(t)){let s=uoe.get(t);if(s.renderId===i)return s.lightsData}let n=this.getLightsData(t.getLights());return uoe.set(t,{renderId:i,lightsData:n}),n}needsRefresh(t,i){if(this.hasNode||this.hasAnimation||this.firstInitialization(t)||this.needsVelocity(i.renderer))return!0;let{renderId:n}=i;if(this.renderId!==n)return this.renderId=n,!0;let s=t.object.static===!0,o=t.bundle!==null&&t.bundle.static===!0&&this.getRenderObjectData(t).version===t.bundle.version;if(s||o)return!1;let r=this.getLights(t.lightsNode,n);return this.equals(t,r,n)!==!0}},R8e=[/^StackTrace\.js$/,/^TSLCore\.js$/,/^.*Node\.js$/,/^three\.webgpu.*\.js$/];function S8e(e){let t=/(?:at\s+(.+?)\s+\()?(?:(.+?)@)?([^@\s()]+):(\d+):(\d+)/;return e.split(`
|
||
`).map(i=>{let n=i.match(t);if(!n)return null;let s=n[1]||n[2]||"",o=n[3].split("?")[0],r=parseInt(n[4],10),l=parseInt(n[5],10),d=o.split("/").pop();return{fn:s,file:d,line:r,column:l}}).filter(i=>i&&!R8e.some(n=>n.test(i.file)))}var ha=class{constructor(t=null){this.isStackTrace=!0,this.stack=S8e(t||new Error().stack)}getLocation(){if(this.stack.length===0)return"[Unknown location]";let t=this.stack[0],i=t.fn;return`${i?`"${i}()" at `:""}"${t.file}:${t.line}"`}getError(t){if(this.stack.length===0)return t;let i=this.stack.map(n=>{let s=`${n.file}:${n.line}:${n.column}`;return n.fn?` at ${n.fn} (${s})`:` at ${s}`}).join(`
|
||
`);return`${t}
|
||
${i}`}};function Sue(e,t=0){let i=3735928559^t,n=1103547991^t;if(Array.isArray(e))for(let s=0,o;s<e.length;s++)o=e[s],i=Math.imul(i^o,2654435761),n=Math.imul(n^o,1597334677);else for(let s=0,o;s<e.length;s++)o=e.charCodeAt(s),i=Math.imul(i^o,2654435761),n=Math.imul(n^o,1597334677);return i=Math.imul(i^i>>>16,2246822507),i^=Math.imul(n^n>>>13,3266489909),n=Math.imul(n^n>>>16,2246822507),n^=Math.imul(i^i>>>13,3266489909),4294967296*(2097151&n)+(i>>>0)}var X8=e=>Sue(e),sz=e=>Sue(e),xk=(...e)=>Sue(e),A8e=new Map([[1,"float"],[2,"vec2"],[3,"vec3"],[4,"vec4"],[9,"mat3"],[16,"mat4"]]),e1e=new WeakMap;function yye(e){return A8e.get(e)}function oZ(e){if(/[iu]?vec\d/.test(e))return e.startsWith("ivec")?Int32Array:e.startsWith("uvec")?Uint32Array:Float32Array;if(/mat\d/.test(e)||/float/.test(e))return Float32Array;if(/uint/.test(e))return Uint32Array;if(/int/.test(e))return Int32Array;throw new Error(`THREE.NodeUtils: Unsupported type: ${e}`)}function Eye(e){if(/float|int|uint/.test(e))return 1;if(/vec2/.test(e))return 2;if(/vec3/.test(e))return 3;if(/vec4/.test(e)||/mat2/.test(e))return 4;if(/mat3/.test(e))return 9;if(/mat4/.test(e))return 16;yi(`TSL: Unsupported type: ${e}`,new ha)}function b8e(e){if(/float|int|uint/.test(e))return 1;if(/vec2/.test(e))return 2;if(/vec3/.test(e))return 3;if(/vec4/.test(e)||/mat2/.test(e))return 4;if(/mat3/.test(e))return 12;if(/mat4/.test(e))return 16;yi(`TSL: Unsupported type: ${e}`,new ha)}function N8e(e){if(/float|int|uint/.test(e))return 4;if(/vec2/.test(e))return 8;if(/vec3/.test(e)||/vec4/.test(e))return 16;if(/mat2/.test(e))return 8;if(/mat3/.test(e)||/mat4/.test(e))return 16;yi(`TSL: Unsupported type: ${e}`,new ha)}function o_(e){if(e==null)return null;let t=typeof e;return e.isNode===!0?"node":t==="number"?"float":t==="boolean"?"bool":t==="string"?"string":t==="function"?"shader":e.isVector2===!0?"vec2":e.isVector3===!0?"vec3":e.isVector4===!0?"vec4":e.isMatrix2===!0?"mat2":e.isMatrix3===!0?"mat3":e.isMatrix4===!0?"mat4":e.isColor===!0?"color":e instanceof ArrayBuffer?"ArrayBuffer":null}function Aue(e,...t){let i=e?e.slice(-4):void 0;return t.length===1&&(i==="vec2"?t=[t[0],t[0]]:i==="vec3"?t=[t[0],t[0],t[0]]:i==="vec4"&&(t=[t[0],t[0],t[0],t[0]])),e==="color"?new Oi(...t):i==="vec2"?new hi(...t):i==="vec3"?new ye(...t):i==="vec4"?new xn(...t):i==="mat2"?new NC(...t):i==="mat3"?new Qn(...t):i==="mat4"?new Ai(...t):e==="bool"?t[0]||!1:e==="float"||e==="int"||e==="uint"?t[0]||0:e==="string"?t[0]||"":e==="ArrayBuffer"?D8e(t[0]):null}function Tye(e){let t=e1e.get(e);return t===void 0&&(t={},e1e.set(e,t)),t}function _8e(e){let t="",i=new Uint8Array(e);for(let n=0;n<i.length;n++)t+=String.fromCharCode(i[n]);return btoa(t)}function D8e(e){return Uint8Array.from(atob(e),t=>t.charCodeAt(0)).buffer}var Dk={VERTEX:"vertex",FRAGMENT:"fragment"},Zn={NONE:"none",FRAME:"frame",RENDER:"render",OBJECT:"object"},C8e={BOOLEAN:"bool",INTEGER:"int",FLOAT:"float",VECTOR2:"vec2",VECTOR3:"vec3",VECTOR4:"vec4",MATRIX2:"mat2",MATRIX3:"mat3",MATRIX4:"mat4"},jh={READ_ONLY:"readOnly",WRITE_ONLY:"writeOnly",READ_WRITE:"readWrite"},gye=["fragment","vertex"],X$=["setup","analyze","generate"],eZ=[...gye,"compute"],Cx=["x","y","z","w"],x8e={analyze:"setup",generate:"analyze"},O8e=0,Sn=class e extends jc{static get type(){return"Node"}constructor(t=null){super(),this.nodeType=t,this.updateType=Zn.NONE,this.updateBeforeType=Zn.NONE,this.updateAfterType=Zn.NONE,this.version=0,this.name="",this.global=!1,this.parents=!1,this.isNode=!0,this._beforeNodes=null,this._cacheKey=null,this._uuid=null,this._cacheKeyVersion=0,this.id=O8e++,this.stackTrace=null,e.captureStackTrace===!0&&(this.stackTrace=new ha)}set needsUpdate(t){t===!0&&this.version++}get uuid(){return this._uuid===null&&(this._uuid=cr.generateUUID()),this._uuid}get type(){return this.constructor.type}onUpdate(t,i){return this.updateType=i,this.update=t.bind(this),this}onFrameUpdate(t){return this.onUpdate(t,Zn.FRAME)}onRenderUpdate(t){return this.onUpdate(t,Zn.RENDER)}onObjectUpdate(t){return this.onUpdate(t,Zn.OBJECT)}onReference(t){return this.updateReference=t.bind(this),this}updateReference(){return this}isGlobal(){return this.global}*getChildren(){for(let{childNode:t}of this._getChildren())yield t}dispose(){this.dispatchEvent({type:"dispose"})}traverse(t){t(this);for(let i of this.getChildren())i.traverse(t)}_getChildren(t=new Set){let i=[];t.add(this);for(let n of Object.getOwnPropertyNames(this)){let s=this[n];if(!(n.startsWith("_")===!0||t.has(s))){if(Array.isArray(s)===!0)for(let o=0;o<s.length;o++){let r=s[o];r&&r.isNode===!0&&i.push({property:n,index:o,childNode:r})}else if(s&&s.isNode===!0)i.push({property:n,childNode:s});else if(s&&Object.getPrototypeOf(s)===Object.prototype)for(let o in s){if(o.startsWith("_")===!0)continue;let r=s[o];r&&r.isNode===!0&&i.push({property:n,index:o,childNode:r})}}}return i}getCacheKey(t=!1,i=null){if(t=t||this.version!==this._cacheKeyVersion,t===!0||this._cacheKey===null){i===null&&(i=new Set);let n=[];for(let{property:s,childNode:o}of this._getChildren(i))n.push(X8(s.slice(0,-4)),o.getCacheKey(t,i));this._cacheKey=xk(sz(n),this.customCacheKey()),this._cacheKeyVersion=this.version}return this._cacheKey}customCacheKey(){return this.id}getScope(){return this}getHash(){return String(this.id)}getUpdateType(){return this.updateType}getUpdateBeforeType(){return this.updateBeforeType}getUpdateAfterType(){return this.updateAfterType}getElementType(t){let i=this.getNodeType(t);return t.getElementType(i)}getMemberType(){return"void"}getNodeType(t,i=null){let n=t.getDataFromNode(this),s;return i!==null?(n.typeFromOutput=n.typeFromOutput||{},s=n.typeFromOutput[i],s===void 0&&(s=this.generateNodeType(t,i),n.typeFromOutput[i]=s)):(s=n.type,s===void 0&&(s=this.generateNodeType(t),n.type=s)),s}generateNodeType(t,i=null){let n=t.getNodeProperties(this);return n.outputNode?n.outputNode.getNodeType(t,i):this.nodeType}getShared(t){let i=this.getHash(t);return t.getNodeFromHash(i)||this}getArrayCount(){return null}setup(t){let i=t.getNodeProperties(this),n=0;for(let s of this.getChildren())i["node"+n++]=s;return i.outputNode||null}analyze(t,i=null){let n=t.increaseUsage(this);if(this.parents===!0){let s=t.getDataFromNode(this,"any");s.stages=s.stages||{},s.stages[t.shaderStage]=s.stages[t.shaderStage]||[],s.stages[t.shaderStage].push(i)}if(n===1){let s=t.getNodeProperties(this);for(let o of Object.values(s))o&&o.isNode===!0&&o.build(t,this)}}generate(t,i){let{outputNode:n}=t.getNodeProperties(this);if(n&&n.isNode===!0)return n.build(t,i)}updateBefore(){ci("Abstract function.")}updateAfter(){ci("Abstract function.")}update(){ci("Abstract function.")}before(t){return this._beforeNodes===null&&(this._beforeNodes=[]),this._beforeNodes.push(t),this}build(t,i=null){let n=this.getShared(t);if(this!==n)return n.build(t,i);if(this._beforeNodes!==null){let d=this._beforeNodes;this._beforeNodes=null;for(let h of d)h.build(t,i);this._beforeNodes=d}let s=t.getDataFromNode(this);s.buildStages=s.buildStages||{},s.buildStages[t.buildStage]=!0;let o=x8e[t.buildStage];if(o&&s.buildStages[o]!==!0){let d=t.getBuildStage();t.setBuildStage(o),this.build(t),t.setBuildStage(d)}t.addChain(this);let r=null,l=t.getBuildStage();if(l==="setup"){t.addNode(this),this.updateReference(t);let d=t.getNodeProperties(this);if(d.initialized!==!0){d.initialized=!0,d.outputNode=this.setup(t)||d.outputNode||null;for(let h of Object.values(d))if(h&&h.isNode===!0){if(h.parents===!0){let p=t.getNodeProperties(h);p.parents=p.parents||[],p.parents.push(this)}h.build(t)}t.addSequentialNode(this)}r=d.outputNode}else if(l==="analyze")this.analyze(t,i);else if(l==="generate"){if(this.generate.length<2){let h=this.getNodeType(t),p=t.getDataFromNode(this);r=p.snippet,r===void 0?p.generated===void 0?(p.generated=!0,r=this.generate(t)||"",p.snippet=r):(ci("Node: Recursion detected.",this),r="/* Recursion detected. */"):p.flowCodes!==void 0&&t.context.nodeBlock!==void 0&&t.addFlowCodeHierarchy(this,t.context.nodeBlock),r=t.format(r,h,i)}else r=this.generate(t,i)||"";r===""&&i!==null&&i!=="void"&&i!=="OutputType"&&(yi(`TSL: Invalid generated code, expected a "${i}".`),r=t.generateConst(i))}return t.removeChain(this),r}getSerializeChildren(){return this._getChildren()}serialize(t){let i=this.getSerializeChildren(),n={};for(let{property:s,index:o,childNode:r}of i)o!==void 0?(n[s]===void 0&&(n[s]=Number.isInteger(o)?[]:{}),n[s][o]=r.toJSON(t.meta).uuid):n[s]=r.toJSON(t.meta).uuid;Object.keys(n).length>0&&(t.inputNodes=n)}deserialize(t){if(t.inputNodes!==void 0){let i=t.meta.nodes;for(let n in t.inputNodes)if(Array.isArray(t.inputNodes[n])){let s=[];for(let o of t.inputNodes[n])s.push(i[o]);this[n]=s}else if(typeof t.inputNodes[n]=="object"){let s={};for(let o in t.inputNodes[n]){let r=t.inputNodes[n][o];s[o]=i[r]}this[n]=s}else{let s=t.inputNodes[n];this[n]=i[s]}}}toJSON(t){let{uuid:i,type:n}=this,s=t===void 0||typeof t=="string";s&&(t={textures:{},images:{},nodes:{}});let o=t.nodes[i];o===void 0&&(o={uuid:i,type:n,meta:t,metadata:{version:4.7,type:"Node",generator:"Node.toJSON"}},s!==!0&&(t.nodes[o.uuid]=o),this.serialize(o),delete o.meta);function r(l){let d=[];for(let h in l){let p=l[h];delete p.metadata,d.push(p)}return d}if(s){let l=r(t.textures),d=r(t.images),h=r(t.nodes);l.length>0&&(o.textures=l),d.length>0&&(o.images=d),h.length>0&&(o.nodes=h)}return o}};Sn.captureStackTrace=!1;var YS=class extends Sn{static get type(){return"ArrayElementNode"}constructor(t,i){super(),this.node=t,this.indexNode=i,this.isArrayElementNode=!0}generateNodeType(t){return this.node.getElementType(t)}getMemberType(t,i){return this.node.getMemberType(t,i)}generate(t){let i=this.indexNode.getNodeType(t),n=this.node.build(t),s=this.indexNode.build(t,!t.isVector(i)&&t.isInteger(i)?i:"uint");return`${n}[ ${s} ]`}},rZ=class extends Sn{static get type(){return"ConvertNode"}constructor(t,i){super(),this.node=t,this.convertTo=i}generateNodeType(t){let i=this.node.getNodeType(t),n=null;for(let s of this.convertTo.split("|"))(n===null||t.getTypeLength(i)===t.getTypeLength(s))&&(n=s);return n}serialize(t){super.serialize(t),t.convertTo=this.convertTo}deserialize(t){super.deserialize(t),this.convertTo=t.convertTo}generate(t,i){let n=this.node,s=this.getNodeType(t),o=n.build(t,s);return t.format(o,s,i)}},Fl=class extends Sn{static get type(){return"TempNode"}constructor(t=null){super(t),this.isTempNode=!0}hasDependencies(t){return t.getDataFromNode(this).usageCount>1}build(t,i){if(t.getBuildStage()==="generate"){let s=t.getVectorType(this.getNodeType(t,i)),o=t.getDataFromNode(this);if(o.propertyName!==void 0)return t.format(o.propertyName,s,i);if(s!=="void"&&i!=="void"&&this.hasDependencies(t)){let r=super.build(t,s),l=t.getVarFromNode(this,null,s),d=t.getPropertyName(l);return t.addLineFlowCode(`${d} = ${r}`,this),o.snippet=r,o.propertyName=d,t.format(o.propertyName,s,i)}}return super.build(t,i)}},qoe=class extends Fl{static get type(){return"JoinNode"}constructor(t=[],i=null){super(i),this.nodes=t}generateNodeType(t){return this.nodeType!==null?t.getVectorType(this.nodeType):t.getTypeFromLength(this.nodes.reduce((i,n)=>i+t.getTypeLength(n.getNodeType(t)),0))}generate(t,i){let n=this.getNodeType(t),s=t.getTypeLength(n),o=this.nodes,r=t.getComponentType(n),l=[],d=0;for(let p of o){if(d>=s){yi(`TSL: Length of parameters exceeds maximum length of function '${n}()' type.`,this.stackTrace);break}let I=p.getNodeType(t),m=t.getTypeLength(I),y;if(d+m>s&&(yi(`TSL: Length of '${n}()' data exceeds maximum length of output type.`,this.stackTrace),m=s-d,I=t.getTypeFromLength(m)),d+=m,y=p.build(t,I),t.getComponentType(I)!==r){let R=t.getTypeFromLength(m,r);y=t.format(y,I,R)}l.push(y)}let h=`${t.getType(n)}( ${l.join(", ")} )`;return t.format(h,n,i)}},L8e=Cx.join(""),lZ=class extends Sn{static get type(){return"SplitNode"}constructor(t,i="x"){super(),this.node=t,this.components=i,this.isSplitNode=!0}getVectorLength(){let t=this.components.length;for(let i of this.components)t=Math.max(Cx.indexOf(i)+1,t);return t}getComponentType(t){return t.getComponentType(this.node.getNodeType(t))}generateNodeType(t){return t.getTypeFromLength(this.components.length,this.getComponentType(t))}getScope(){return this.node.getScope()}generate(t,i){let n=this.node,s=t.getTypeLength(n.getNodeType(t)),o=null;if(s>1){let r=null;this.getVectorLength()>=s&&(r=t.getTypeFromLength(this.getVectorLength(),this.getComponentType(t)));let d=n.build(t,r);this.components.length===s&&this.components===L8e.slice(0,this.components.length)?o=t.format(d,r,i):o=t.format(`${d}.${this.components}`,this.getNodeType(t),i)}else o=n.build(t,i);return o}serialize(t){super.serialize(t),t.components=this.components}deserialize(t){super.deserialize(t),this.components=t.components}},$oe=class extends Fl{static get type(){return"SetNode"}constructor(t,i,n){super(),this.sourceNode=t,this.components=i,this.targetNode=n}generateNodeType(t){return this.sourceNode.getNodeType(t)}generate(t){let{sourceNode:i,components:n,targetNode:s}=this,o=this.getNodeType(t),r=t.getComponentType(s.getNodeType(t)),l=t.getTypeFromLength(n.length,r),d=s.build(t,l),h=i.build(t,o),p=t.getTypeLength(o),I=[];for(let m=0;m<p;m++){let y=Cx[m];y===n[0]?(I.push(d),m+=n.length-1):I.push(h+"."+y)}return`${t.getType(o)}( ${I.join(", ")} )`}},Zoe=class extends Fl{static get type(){return"FlipNode"}constructor(t,i){super(),this.sourceNode=t,this.components=i}generateNodeType(t){return this.sourceNode.getNodeType(t)}generate(t){let{components:i,sourceNode:n}=this,s=this.getNodeType(t),o=n.build(t),r=t.getVarFromNode(this),l=t.getPropertyName(r);t.addLineFlowCode(l+" = "+o,this);let d=t.getTypeLength(s),h=[],p=0;for(let I=0;I<d;I++){let m=Cx[I];m===i[p]?(h.push("1.0 - "+(l+"."+m)),p++):h.push(l+"."+m)}return`${t.getType(s)}( ${h.join(", ")} )`}},Gk=class extends Sn{static get type(){return"InputNode"}constructor(t,i=null){super(i),this.isInputNode=!0,this.value=t,this.precision=null}generateNodeType(){return this.nodeType===null?o_(this.value):this.nodeType}getInputType(t){return this.getNodeType(t)}setPrecision(t){return this.precision=t,this}serialize(t){super.serialize(t),t.value=this.value,this.value&&this.value.toArray&&(t.value=this.value.toArray()),t.valueType=o_(this.value),t.nodeType=this.nodeType,t.valueType==="ArrayBuffer"&&(t.value=_8e(t.value)),t.precision=this.precision}deserialize(t){super.deserialize(t),this.nodeType=t.nodeType,this.value=Array.isArray(t.value)?Aue(t.valueType,...t.value):t.value,this.precision=t.precision||null,this.value&&this.value.fromArray&&(this.value=this.value.fromArray(t.value))}generate(){ci("Abstract function.")}},t1e=/float|u?int/,im=class extends Gk{static get type(){return"ConstNode"}constructor(t,i=null){super(t,i),this.isConstNode=!0}generateConst(t){return t.generateConst(this.getNodeType(t),this.value)}generate(t,i){let n=this.getNodeType(t);return t1e.test(n)&&t1e.test(i)?t.generateConst(i,this.value):t.format(this.generateConst(t),n,i)}},Koe=class extends Sn{static get type(){return"MemberNode"}constructor(t,i){super(),this.structNode=t,this.property=i,this.isMemberNode=!0}hasMember(t){return this.structNode.isMemberNode&&this.structNode.hasMember(t)===!1?!1:this.structNode.getMemberType(t,this.property)!=="void"}generateNodeType(t){return this.hasMember(t)===!1?"float":this.structNode.getMemberType(t,this.property)}getMemberType(t,i){if(this.hasMember(t)===!1)return"float";let n=this.getNodeType(t);return t.getStructTypeNode(n).getMemberType(t,i)}generate(t){if(this.hasMember(t)===!1){ci(`TSL: Member "${this.property}" does not exist in struct.`,this.stackTrace);let n=this.getNodeType(t);return t.generateConst(n)}return this.structNode.build(t)+"."+this.property}},c_=null,Qoe=new Map;function Ti(e,t){if(Qoe.has(e)){ci(`TSL: Redefinition of method chaining '${e}'.`);return}if(typeof t!="function")throw new Error(`THREE.TSL: Node element ${e} is not a function`);Qoe.set(e,t),e!=="assign"&&(Sn.prototype[e]=function(...i){return this.isStackNode?this.addToStack(t(...i)):t(this,...i)},Sn.prototype[e+"Assign"]=function(...i){return this.isStackNode?this.assign(i[0],t(...i)):this.assign(t(this,...i))})}var P8e=e=>e.replace(/r|s/g,"x").replace(/g|t/g,"y").replace(/b|p/g,"z").replace(/a|q/g,"w"),i1e=e=>P8e(e).split("").sort().join("");Sn.prototype.assign=function(...e){if(this.isStackNode!==!0)return c_!==null?c_.assign(this,...e):yi("TSL: No stack defined for assign operation. Make sure the assign is inside a Fn().",new ha),this;{let t=Qoe.get("assign");return this.addToStack(t(...e))}};Sn.prototype.toVarIntent=function(){return this};Sn.prototype.get=function(e){return new Koe(this,e)};var Ok={};function S$(e,t,i){Ok[e]=Ok[t]=Ok[i]={get(){this._cache=this._cache||{};let r=this._cache[e];return r===void 0&&(r=new lZ(this,e),this._cache[e]=r),r},set(r){this[e].assign(gn(r))}};let n=e.toUpperCase(),s=t.toUpperCase(),o=i.toUpperCase();Sn.prototype["set"+n]=Sn.prototype["set"+s]=Sn.prototype["set"+o]=function(r){let l=i1e(e);return new $oe(this,l,gn(r))},Sn.prototype["flip"+n]=Sn.prototype["flip"+s]=Sn.prototype["flip"+o]=function(){let r=i1e(e);return new Zoe(this,r)}}var N2=["x","y","z","w"],_2=["r","g","b","a"],D2=["s","t","p","q"];for(let e=0;e<4;e++){let t=N2[e],i=_2[e],n=D2[e];S$(t,i,n);for(let s=0;s<4;s++){t=N2[e]+N2[s],i=_2[e]+_2[s],n=D2[e]+D2[s],S$(t,i,n);for(let o=0;o<4;o++){t=N2[e]+N2[s]+N2[o],i=_2[e]+_2[s]+_2[o],n=D2[e]+D2[s]+D2[o],S$(t,i,n);for(let r=0;r<4;r++)t=N2[e]+N2[s]+N2[o]+N2[r],i=_2[e]+_2[s]+_2[o]+_2[r],n=D2[e]+D2[s]+D2[o]+D2[r],S$(t,i,n)}}}for(let e=0;e<32;e++)Ok[e]={get(){this._cache=this._cache||{};let t=this._cache[e];return t===void 0&&(t=new YS(this,new im(e,"uint")),this._cache[e]=t),t},set(t){this[e].assign(gn(t))}};Object.defineProperties(Sn.prototype,Ok);var n1e=new WeakMap,M8e=function(e,t=null){let i=o_(e);return i==="node"?e:t===null&&(i==="float"||i==="boolean")||i&&i!=="shader"&&i!=="string"?gn(ere(e,t)):i==="shader"?e.isFn?e:Wt(e):e},B8e=function(e,t=null){for(let i in e)e[i]=gn(e[i],t);return e},F8e=function(e,t=null){let i=e.length;for(let n=0;n<i;n++)e[n]=gn(e[n],t);return e},wye=function(e,t=null,i=null,n=null){function s(p){return n!==null?(p=gn(Object.assign(p,n)),n.intent===!0&&(p=p.toVarIntent())):p=gn(p),p}let o,r=t,l,d;function h(p){let I;return r?I=/[a-z]/i.test(r)?r+"()":r:I=e.type,l!==void 0&&p.length<l?(yi(`TSL: "${I}" parameter length is less than minimum required.`,new ha),p.concat(new Array(l-p.length).fill(0))):d!==void 0&&p.length>d?(yi(`TSL: "${I}" parameter length exceeds limit.`,new ha),p.slice(0,d)):p}return t===null?o=(...p)=>s(new e(...vx(h(p)))):i!==null?(i=gn(i),o=(...p)=>s(new e(t,...vx(h(p)),i))):o=(...p)=>s(new e(t,...vx(h(p)))),o.setParameterLength=(...p)=>(p.length===1?l=d=p[0]:p.length===2&&([l,d]=p),o),o.setName=p=>(r=p,o),o},U8e=function(e,...t){return new e(...vx(t))},Joe=class extends Sn{constructor(t,i){super(),this.shaderNode=t,this.rawInputs=i,this.isShaderCallNodeInternal=!0}generateNodeType(t){return this.shaderNode.nodeType||this.getOutputNode(t).getNodeType(t)}getElementType(t){return this.getOutputNode(t).getElementType(t)}getMemberType(t,i){return this.getOutputNode(t).getMemberType(t,i)}call(t){let{shaderNode:i,rawInputs:n}=this,s=t.getNodeProperties(i),o=t.getClosestSubBuild(i.subBuilds)||"",r=o||"default";if(s[r])return s[r];let l=t.subBuildFn,d=t.fnCall;t.subBuildFn=o,t.fnCall=this;let h=null;if(i.layout){let p=n1e.get(t.constructor);p===void 0&&(p=new WeakMap,n1e.set(t.constructor,p));let I=p.get(i);I===void 0&&(I=gn(t.buildFunctionNode(i)),p.set(i,I)),t.addInclude(I);let m=n?H8e(n):null;h=gn(I.call(m))}else{let p=new Proxy(t,{get:(R,b,A)=>{let O;return Symbol.iterator===b?O=function*(){yield void 0}:O=Reflect.get(R,b,A),O}}),I=n?G8e(n):null,m=Array.isArray(n)?n.length>0:n!==null,y=i.jsFunc,T=m||y.length>1?y(I,p):y(p);h=gn(T)}return t.subBuildFn=l,t.fnCall=d,i.once&&(s[r]=h),h}setupOutput(t){return t.addStack(),t.stack.outputNode=this.call(t),t.removeStack()}getOutputNode(t){let i=t.getNodeProperties(this),n=t.getSubBuildOutput(this);return i[n]=i[n]||this.setupOutput(t),i[n].subBuild=t.getClosestSubBuild(this),i[n]}build(t,i=null){let n=null,s=t.getBuildStage(),o=t.getNodeProperties(this),r=t.getSubBuildOutput(this),l=this.getOutputNode(t),d=t.fnCall;if(t.fnCall=this,s==="setup"){let h=t.getSubBuildProperty("initialized",this);if(o[h]!==!0&&(o[h]=!0,o[r]=this.getOutputNode(t),o[r].build(t),this.shaderNode.subBuilds))for(let p of t.chaining){let I=t.getDataFromNode(p,"any");I.subBuilds=I.subBuilds||new Set;for(let m of this.shaderNode.subBuilds)I.subBuilds.add(m)}n=o[r]}else s==="analyze"?l.build(t,i):s==="generate"&&(n=l.build(t,i)||"");return t.fnCall=d,n}};function H8e(e){let t;return fK(e),e[0]&&(e[0].isNode||Object.getPrototypeOf(e[0])!==Object.prototype)?t=[...e]:t=e[0],t}function G8e(e){let t=0;return fK(e),new Proxy(e,{get:(i,n,s)=>{let o;if(n==="length")return o=e.length,o;if(Symbol.iterator===n)o=function*(){for(let r of e)yield gn(r)};else{if(e.length>0)if(Object.getPrototypeOf(e[0])===Object.prototype){let r=e[0];r[n]===void 0?o=r[t++]:o=Reflect.get(r,n,s)}else e[0]instanceof Sn&&(e[n]===void 0?o=e[t++]:o=Reflect.get(e,n,s));else o=Reflect.get(i,n,s);o=gn(o)}return o}})}var Xoe=class extends Sn{constructor(t,i){super(i),this.jsFunc=t,this.layout=null,this.global=!0,this.once=!1}setLayout(t){return this.layout=t,this}getLayout(){return this.layout}call(t=null){return new Joe(this,t)}setup(){return this.call()}},V8e=[!1,!0],k8e=[0,1,2,3],z8e=[-1,-2],vye=[.5,1.5,1/3,1e-6,1e6,Math.PI,Math.PI*2,1/Math.PI,2/Math.PI,1/(Math.PI*2),Math.PI/2],bue=new Map;for(let e of V8e)bue.set(e,new im(e));var Nue=new Map;for(let e of k8e)Nue.set(e,new im(e,"uint"));var _ue=new Map([...Nue].map(e=>new im(e.value,"int")));for(let e of z8e)_ue.set(e,new im(e,"int"));var dK=new Map([..._ue].map(e=>new im(e.value)));for(let e of vye)dK.set(e,new im(e));for(let e of vye)dK.set(-e,new im(-e));var hK={bool:bue,uint:Nue,ints:_ue,float:dK},s1e=new Map([...bue,...dK]),ere=(e,t)=>s1e.has(e)?s1e.get(e):e.isNode===!0?e:new im(e,t),Fc=function(e,t=null){return(...i)=>{for(let s of i)if(s===void 0)return yi(`TSL: Invalid parameter for the type "${e}".`,new ha),new im(0,e);if((i.length===0||!["bool","float","int","uint"].includes(e)&&i.every(s=>{let o=typeof s;return o!=="object"&&o!=="function"}))&&(i=[Aue(e,...i)]),i.length===1&&t!==null&&t.has(i[0]))return Ck(t.get(i[0]));if(i.length===1){let s=ere(i[0],e);return s.nodeType===e?Ck(s):Ck(new rZ(s,e))}let n=i.map(s=>ere(s));return Ck(new qoe(n,e))}};function z8(e){return e&&e.isNode&&e.traverse(t=>{t.isConstNode&&(e=t.value)}),!!e}var Rye=e=>e!=null?e.nodeType||e.convertTo||(typeof e=="string"?e:null):null;function B8(e,t){return new Xoe(e,t)}var gn=(e,t=null)=>M8e(e,t),Ck=(e,t=null)=>gn(e,t).toVarIntent(),fK=(e,t=null)=>new B8e(e,t),vx=(e,t=null)=>new F8e(e,t),ys=(e,t=null,i=null,n=null)=>new wye(e,t,i,n),en=(e,...t)=>new U8e(e,...t),Mi=(e,t=null,i=null,n={})=>new wye(e,t,i,{...n,intent:!0}),W8e=0,tre=class extends Sn{constructor(t,i=null){super();let n=null;i!==null&&(typeof i=="object"?n=i.return:(typeof i=="string"?n=i:yi("TSL: Invalid layout type.",new ha),i=null)),this.shaderNode=new B8(t,n),i!==null&&this.setLayout(i),this.isFn=!0}setLayout(t){let i=this.shaderNode.nodeType;if(typeof t.inputs!="object"){let n={name:"fn"+W8e++,type:i,inputs:[]};for(let s in t)s!=="return"&&n.inputs.push({name:s,type:t[s]});t=n}return this.shaderNode.setLayout(t),this}generateNodeType(t){return this.shaderNode.getNodeType(t)||"float"}call(...t){let i=this.shaderNode.call(t);return this.shaderNode.nodeType==="void"&&i.toStack(),i.toVarIntent()}once(t=null){return this.shaderNode.once=!0,this.shaderNode.subBuilds=t,this}generate(t){let i=this.getNodeType(t);return yi('TSL: "Fn()" was declared but not invoked. Try calling it like "Fn()( ...params )".',this.stackTrace),t.generateConst(i)}};function Wt(e,t=null){let i=new tre(e,t);return new Proxy(()=>{},{apply(n,s,o){return i.call(...o)},get(n,s,o){return Reflect.get(i,s,o)},set(n,s,o,r){return Reflect.set(i,s,o,r)}})}var Vk=e=>{c_=e},Due=()=>c_,Fn=(...e)=>c_.If(...e),Y8e=(...e)=>c_.Switch(...e);function pK(e){return c_&&c_.addToStack(e),e}Ti("toStack",pK);var Sye=new Fc("color"),Et=new Fc("float",hK.float),Ot=new Fc("int",hK.ints),xi=new Fc("uint",hK.uint),M1=new Fc("bool",hK.bool),Hi=new Fc("vec2"),Mc=new Fc("ivec2"),Cue=new Fc("uvec2"),Aye=new Fc("bvec2"),Gt=new Fc("vec3"),xue=new Fc("ivec3"),xx=new Fc("uvec3"),Oue=new Fc("bvec3"),On=new Fc("vec4"),Lue=new Fc("ivec4"),Pue=new Fc("uvec4"),bye=new Fc("bvec4"),IK=new Fc("mat2"),Q0=new Fc("mat3"),l_=new Fc("mat4"),j8e=(e="")=>new im(e,"string"),q8e=e=>new im(e,"ArrayBuffer");Ti("toColor",Sye);Ti("toFloat",Et);Ti("toInt",Ot);Ti("toUint",xi);Ti("toBool",M1);Ti("toVec2",Hi);Ti("toIVec2",Mc);Ti("toUVec2",Cue);Ti("toBVec2",Aye);Ti("toVec3",Gt);Ti("toIVec3",xue);Ti("toUVec3",xx);Ti("toBVec3",Oue);Ti("toVec4",On);Ti("toIVec4",Lue);Ti("toUVec4",Pue);Ti("toBVec4",bye);Ti("toMat2",IK);Ti("toMat3",Q0);Ti("toMat4",l_);var Nye=ys(YS).setParameterLength(2),_ye=(e,t)=>new rZ(gn(e),t),$8e=(e,t)=>new lZ(gn(e),t);Ti("element",Nye);Ti("convert",_ye);var Z8e=e=>(ci("TSL: append() has been renamed to Stack().",new ha),pK(e));Ti("append",e=>(ci("TSL: .append() has been renamed to .toStack().",new ha),pK(e)));var po=class extends Sn{static get type(){return"PropertyNode"}constructor(t,i=null,n=!1){super(t),this.name=i,this.varying=n,this.isPropertyNode=!0,this.global=!0}customCacheKey(){return X8(this.type+":"+(this.name||"")+":"+(this.varying?"1":"0"))}getHash(t){return this.name||super.getHash(t)}generate(t){let i;return this.varying===!0?(i=t.getVaryingFromNode(this,this.name),i.needsInterpolation=!0):i=t.getVarFromNode(this,this.name),t.getPropertyName(i)}},zS=(e,t)=>new po(e,t),kk=(e,t)=>new po(e,t,!0),ko=en(po,"vec4","DiffuseColor"),mx=en(po,"vec3","DiffuseContribution"),ire=en(po,"vec3","EmissiveColor"),M2=en(po,"float","Roughness"),kS=en(po,"float","Metalness"),aZ=en(po,"float","Clearcoat"),F8=en(po,"float","ClearcoatRoughness"),O1=en(po,"vec3","Sheen"),e_=en(po,"float","SheenRoughness"),mK=en(po,"float","Iridescence"),uZ=en(po,"float","IridescenceIOR"),cZ=en(po,"float","IridescenceThickness"),dZ=en(po,"float","AlphaT"),XN=en(po,"float","Anisotropy"),Lk=en(po,"vec3","AnisotropyT"),Rx=en(po,"vec3","AnisotropyB"),d_=en(po,"color","SpecularColor"),Ex=en(po,"color","SpecularColorBlended"),Tx=en(po,"float","SpecularF90"),hZ=en(po,"float","Shininess"),U8=en(po,"vec4","Output"),tZ=en(po,"float","dashSize"),nre=en(po,"float","gapSize"),K8e=en(po,"float","pointWidth"),Pk=en(po,"float","IOR"),fZ=en(po,"float","Transmission"),Mue=en(po,"float","Thickness"),Bue=en(po,"float","AttenuationDistance"),Fue=en(po,"color","AttenuationColor"),Uue=en(po,"float","Dispersion"),pZ=class extends Sn{static get type(){return"UniformGroupNode"}constructor(t,i=!1,n=1,s=null){super("string"),this.name=t,this.shared=i,this.order=n,this.updateType=s,this.isUniformGroup=!0}update(){this.needsUpdate=!0}serialize(t){super.serialize(t),t.name=this.name,t.version=this.version,t.shared=this.shared}deserialize(t){super.deserialize(t),this.name=t.name,this.version=t.version,this.shared=t.shared}},Dye=(e,t=1,i=null)=>new pZ(e,!1,t,i),yK=(e,t=0,i=null)=>new pZ(e,!0,t,i),Q8e=yK("frame",0,Zn.FRAME),Mn=yK("render",0,Zn.RENDER),Cye=Dye("object",1,Zn.OBJECT),Ax=class extends Gk{static get type(){return"UniformNode"}constructor(t,i=null){super(t,i),this.isUniformNode=!0,this.name="",this.groupNode=Cye}setName(t){return this.name=t,this}label(t){return ci('TSL: "label()" has been deprecated. Use "setName()" instead.',new ha),this.setName(t)}setGroup(t){return this.groupNode=t,this}getGroup(){return this.groupNode}getUniformHash(t){return this.getHash(t)}onUpdate(t,i){return t=t.bind(this),super.onUpdate(n=>{let s=t(n,this);s!==void 0&&(this.value=s)},i)}getInputType(t){let i=super.getInputType(t);return i==="bool"&&(i="uint"),i}generate(t,i){let n=this.getNodeType(t),s=this.getUniformHash(t),o=t.getNodeFromHash(s);o===void 0&&(t.setHashNode(this,s),o=this);let r=o.getInputType(t),l=t.getUniformFromNode(o,r,t.shaderStage,this.name||t.context.nodeName),d=t.getPropertyName(l);t.context.nodeName!==void 0&&delete t.context.nodeName;let h=d;if(n==="bool"){let p=t.getDataFromNode(this),I=p.propertyName;if(I===void 0){let m=t.getVarFromNode(this,null,"bool");I=t.getPropertyName(m),p.propertyName=I,h=t.format(d,r,n),t.addLineFlowCode(`${I} = ${h}`,this)}h=I}return t.format(h,n,i)}},Nn=(e,t)=>{let i=Rye(t||e);if(i===e&&(e=Aue(i)),e&&e.isNode===!0){let n=e.value;e.traverse(s=>{s.isConstNode===!0&&(n=s.value)}),e=n}return new Ax(e,i)},IZ=class extends Fl{static get type(){return"ArrayNode"}constructor(t,i,n=null){super(t),this.count=i,this.values=n,this.isArrayNode=!0}getArrayCount(){return this.count}generateNodeType(t){return this.nodeType===null?this.values[0].getNodeType(t):this.nodeType}getElementType(t){return this.getNodeType(t)}getMemberType(t,i){return this.nodeType===null?this.values[0].getMemberType(t,i):super.getMemberType(t,i)}generate(t){let i=this.getNodeType(t);return t.generateArray(i,this.count,this.values)}},xye=(...e)=>{let t;if(e.length===1){let i=e[0];t=new IZ(null,i.length,i)}else{let i=e[0],n=e[1];t=new IZ(i,n)}return gn(t)};Ti("toArray",(e,t)=>xye(Array(t).fill(e)));var sre=class extends Fl{static get type(){return"AssignNode"}constructor(t,i){super(),this.targetNode=t,this.sourceNode=i,this.isAssignNode=!0}hasDependencies(){return!1}generateNodeType(t,i){return i!=="void"?this.targetNode.getNodeType(t):"void"}needsSplitAssign(t){let{targetNode:i}=this;if(t.isAvailable("swizzleAssign")===!1&&i.isSplitNode&&i.components.length>1){let n=t.getTypeLength(i.node.getNodeType(t));return Cx.join("").slice(0,n)!==i.components}return!1}setup(t){let{targetNode:i,sourceNode:n}=this,s=i.getScope(),o=t.getDataFromNode(s);o.assign=!0;let r=t.getNodeProperties(this);r.sourceNode=n,r.targetNode=i.context({assign:!0})}generate(t,i){let{targetNode:n,sourceNode:s}=t.getNodeProperties(this),o=this.needsSplitAssign(t),r=n.build(t),l=n.getNodeType(t),d=s.build(t,l),h=s.getNodeType(t),p=t.getDataFromNode(this),I;if(p.initialized===!0)i!=="void"&&(I=r);else if(o){let m=t.getVarFromNode(this,null,l),y=t.getPropertyName(m);t.addLineFlowCode(`${y} = ${d}`,this);let T=n.node,b=T.node.context({assign:!0}).build(t);for(let A=0;A<T.components.length;A++){let O=T.components[A];t.addLineFlowCode(`${b}.${O} = ${y}[ ${A} ]`,this)}i!=="void"&&(I=r)}else I=`${r} = ${d}`,(i==="void"||h==="void")&&(t.addLineFlowCode(I,this),i!=="void"&&(I=r));return p.initialized=!0,t.format(I,l,i)}},Oye=ys(sre).setParameterLength(2);Ti("assign",Oye);var ore=class extends Fl{static get type(){return"FunctionCallNode"}constructor(t=null,i={}){super(),this.functionNode=t,this.parameters=i}setParameters(t){return this.parameters=t,this}getParameters(){return this.parameters}generateNodeType(t){return this.functionNode.getNodeType(t)}getMemberType(t,i){return this.functionNode.getMemberType(t,i)}generate(t){let i=[],n=this.functionNode,s=n.getInputs(t),o=this.parameters,r=(d,h)=>{let p=h.type,I=p==="pointer",m;return I?m="&"+d.build(t):m=d.build(t,p),m};if(Array.isArray(o)){if(o.length>s.length)yi("TSL: The number of provided parameters exceeds the expected number of inputs in 'Fn()'."),o.length=s.length;else if(o.length<s.length)for(yi("TSL: The number of provided parameters is less than the expected number of inputs in 'Fn()'.");o.length<s.length;)o.push(Et(0));for(let d=0;d<o.length;d++)i.push(r(o[d],s[d]))}else for(let d of s){let h=o[d.name];h!==void 0?i.push(r(h,d)):(yi(`TSL: Input '${d.name}' not found in 'Fn()'.`),i.push(r(Et(0),d)))}return`${n.build(t,"property")}( ${i.join(", ")} )`}},Lye=(e,...t)=>(t=t.length>1||t[0]&&t[0].isNode===!0?vx(t):fK(t[0]),new ore(gn(e),t));Ti("call",Lye);var J8e={"==":"equal","!=":"notEqual","<":"lessThan",">":"greaterThan","<=":"lessThanEqual",">=":"greaterThanEqual","%":"mod"},La=class e extends Fl{static get type(){return"OperatorNode"}constructor(t,i,n,...s){if(super(),s.length>0){let o=new e(t,i,n);for(let r=0;r<s.length-1;r++)o=new e(t,o,s[r]);i=o,n=s[s.length-1]}this.op=t,this.aNode=i,this.bNode=n,this.isOperatorNode=!0}getOperatorMethod(t,i){return t.getMethod(J8e[this.op],i)}generateNodeType(t,i=null){let n=this.op,s=this.aNode,o=this.bNode,r=s.getNodeType(t),l=o?o.getNodeType(t):null;if(r==="void"||l==="void")return i||"void";if(n==="%")return r;if(n==="~"||n==="&"||n==="|"||n==="^"||n===">>"||n==="<<")return t.getIntegerType(r);if(n==="!"||n==="&&"||n==="||"||n==="^^")return"bool";if(n==="=="||n==="!="||n==="<"||n===">"||n==="<="||n===">="){let d=Math.max(t.getTypeLength(r),t.getTypeLength(l));return d>1?`bvec${d}`:"bool"}else{if(t.isMatrix(r)){if(l==="float")return r;if(t.isVector(l))return t.getVectorFromMatrix(r);if(t.isMatrix(l))return r}else if(t.isMatrix(l)){if(r==="float")return l;if(t.isVector(r))return t.getVectorFromMatrix(l)}return t.getTypeLength(l)>t.getTypeLength(r)?l:r}}generate(t,i){let n=this.op,{aNode:s,bNode:o}=this,r=this.getNodeType(t,i),l=null,d=null;r!=="void"?(l=s.getNodeType(t),d=o?o.getNodeType(t):null,n==="<"||n===">"||n==="<="||n===">="||n==="=="||n==="!="?t.isVector(l)?d=l:t.isVector(d)?l=d:l!==d&&(l=d="float"):n===">>"||n==="<<"?(l=r,d=t.changeComponentType(d,"uint")):n==="%"?(l=r,d=t.isInteger(l)&&t.isInteger(d)?d:l):t.isMatrix(l)?d==="float"?d="float":t.isVector(d)?d=t.getVectorFromMatrix(l):t.isMatrix(d)||(l=d=r):t.isMatrix(d)?l==="float"?l="float":t.isVector(l)?l=t.getVectorFromMatrix(d):l=d=r:l=d=r):l=d=r;let h=s.build(t,l),p=o?o.build(t,d):null,I=t.getFunctionOperator(n);if(i!=="void"){let m=t.renderer.coordinateSystem===Wc;if(n==="=="||n==="!="||n==="<"||n===">"||n==="<="||n===">=")return m?t.isVector(l)?t.format(`${this.getOperatorMethod(t,i)}( ${h}, ${p} )`,r,i):t.format(`( ${h} ${n} ${p} )`,r,i):t.format(`( ${h} ${n} ${p} )`,r,i);if(n==="%")return t.isInteger(d)?t.format(`( ${h} % ${p} )`,r,i):t.format(`${this.getOperatorMethod(t,r)}( ${h}, ${p} )`,r,i);if(n==="!"||n==="~")return t.format(`(${n}${h})`,l,i);if(I)return t.format(`${I}( ${h}, ${p} )`,r,i);if(t.isMatrix(l)&&d==="float")return t.format(`( ${p} ${n} ${h} )`,r,i);if(l==="float"&&t.isMatrix(d))return t.format(`${h} ${n} ${p}`,r,i);{let y=`( ${h} ${n} ${p} )`;return!m&&r==="bool"&&t.isVector(l)&&t.isVector(d)&&(y=`all${y}`),t.format(y,r,i)}}else if(l!=="void")return I?t.format(`${I}( ${h}, ${p} )`,r,i):t.isMatrix(l)&&d==="float"?t.format(`${p} ${n} ${h}`,r,i):t.format(`${h} ${n} ${p}`,r,i)}serialize(t){super.serialize(t),t.op=this.op}deserialize(t){super.deserialize(t),this.op=t.op}},yc=Mi(La,"+").setParameterLength(2,1/0).setName("add"),Ks=Mi(La,"-").setParameterLength(2,1/0).setName("sub"),os=Mi(La,"*").setParameterLength(2,1/0).setName("mul"),B1=Mi(La,"/").setParameterLength(2,1/0).setName("div"),oz=Mi(La,"%").setParameterLength(2).setName("mod"),Pye=Mi(La,"==").setParameterLength(2).setName("equal"),Mye=Mi(La,"!=").setParameterLength(2).setName("notEqual"),Bye=Mi(La,"<").setParameterLength(2).setName("lessThan"),Hue=Mi(La,">").setParameterLength(2).setName("greaterThan"),Fye=Mi(La,"<=").setParameterLength(2).setName("lessThanEqual"),Uye=Mi(La,">=").setParameterLength(2).setName("greaterThanEqual"),Hye=Mi(La,"&&").setParameterLength(2,1/0).setName("and"),Gye=Mi(La,"||").setParameterLength(2,1/0).setName("or"),Vye=Mi(La,"!").setParameterLength(1).setName("not"),kye=Mi(La,"^^").setParameterLength(2).setName("xor"),zye=Mi(La,"&").setParameterLength(2).setName("bitAnd"),Wye=Mi(La,"~").setParameterLength(1).setName("bitNot"),Yye=Mi(La,"|").setParameterLength(2).setName("bitOr"),jye=Mi(La,"^").setParameterLength(2).setName("bitXor"),qye=Mi(La,"<<").setParameterLength(2).setName("shiftLeft"),$ye=Mi(La,">>").setParameterLength(2).setName("shiftRight"),Zye=Wt(([e])=>(e.addAssign(1),e)),Kye=Wt(([e])=>(e.subAssign(1),e)),Qye=Wt(([e])=>{let t=Ot(e).toConst();return e.addAssign(1),t}),Jye=Wt(([e])=>{let t=Ot(e).toConst();return e.subAssign(1),t});Ti("add",yc);Ti("sub",Ks);Ti("mul",os);Ti("div",B1);Ti("mod",oz);Ti("equal",Pye);Ti("notEqual",Mye);Ti("lessThan",Bye);Ti("greaterThan",Hue);Ti("lessThanEqual",Fye);Ti("greaterThanEqual",Uye);Ti("and",Hye);Ti("or",Gye);Ti("not",Vye);Ti("xor",kye);Ti("bitAnd",zye);Ti("bitNot",Wye);Ti("bitOr",Yye);Ti("bitXor",jye);Ti("shiftLeft",qye);Ti("shiftRight",$ye);Ti("incrementBefore",Zye);Ti("decrementBefore",Kye);Ti("increment",Qye);Ti("decrement",Jye);var Xye=(e,t)=>(ci('TSL: "modInt()" is deprecated. Use "mod( int( ... ) )" instead.',new ha),oz(Ot(e),Ot(t)));Ti("modInt",Xye);var oi=class e extends Fl{static get type(){return"MathNode"}constructor(t,i,n=null,s=null){if(super(),(t===e.MAX||t===e.MIN)&&arguments.length>3){let o=new e(t,i,n);for(let r=2;r<arguments.length-1;r++)o=new e(t,o,arguments[r]);i=o,n=arguments[arguments.length-1],s=null}this.method=t,this.aNode=i,this.bNode=n,this.cNode=s,this.isMathNode=!0}getInputType(t){let i=this.aNode.getNodeType(t),n=this.bNode?this.bNode.getNodeType(t):null,s=this.cNode?this.cNode.getNodeType(t):null,o=t.isMatrix(i)?0:t.getTypeLength(i),r=t.isMatrix(n)?0:t.getTypeLength(n),l=t.isMatrix(s)?0:t.getTypeLength(s);return o>r&&o>l?i:r>l?n:l>o?s:i}generateNodeType(t){let i=this.method;return i===e.LENGTH||i===e.DISTANCE||i===e.DOT?"float":i===e.CROSS?"vec3":i===e.ALL||i===e.ANY?"bool":i===e.EQUALS?t.changeComponentType(this.aNode.getNodeType(t),"bool"):this.getInputType(t)}setup(t){let{aNode:i,bNode:n,method:s}=this,o=null;if(s===e.ONE_MINUS)o=Ks(1,i);else if(s===e.RECIPROCAL)o=B1(1,i);else if(s===e.DIFFERENCE)o=dr(Ks(i,n));else if(s===e.TRANSFORM_DIRECTION){let r=i,l=n;t.isMatrix(r.getNodeType(t))?l=On(Gt(l),0):r=On(Gt(r),0);let d=os(r,l).xyz;o=tm(d)}return o!==null?o:super.setup(t)}generate(t,i){if(t.getNodeProperties(this).outputNode)return super.generate(t,i);let s=this.method,o=this.getNodeType(t),r=this.getInputType(t),l=this.aNode,d=this.bNode,h=this.cNode,p=t.renderer.coordinateSystem;if(s===e.NEGATE)return t.format("( - "+l.build(t,r)+" )",o,i);{let I=[];return s===e.CROSS?I.push(l.build(t,o),d.build(t,o)):p===Wc&&s===e.STEP?I.push(l.build(t,t.getTypeLength(l.getNodeType(t))===1?"float":r),d.build(t,r)):p===Wc&&(s===e.MIN||s===e.MAX)?I.push(l.build(t,r),d.build(t,t.getTypeLength(d.getNodeType(t))===1?"float":r)):s===e.REFRACT?I.push(l.build(t,r),d.build(t,r),h.build(t,"float")):s===e.MIX?I.push(l.build(t,r),d.build(t,r),h.build(t,t.getTypeLength(h.getNodeType(t))===1?"float":r)):(p===mf&&s===e.ATAN&&d!==null&&(s="atan2"),t.shaderStage!=="fragment"&&(s===e.DFDX||s===e.DFDY)&&(ci(`TSL: '${s}' is not supported in the ${t.shaderStage} stage.`,this.stackTrace),s="/*"+s+"*/"),I.push(l.build(t,r)),d!==null&&I.push(d.build(t,r)),h!==null&&I.push(h.build(t,r))),t.format(`${t.getMethod(s,o)}( ${I.join(", ")} )`,o,i)}}serialize(t){super.serialize(t),t.method=this.method}deserialize(t){super.deserialize(t),this.method=t.method}};oi.ALL="all";oi.ANY="any";oi.RADIANS="radians";oi.DEGREES="degrees";oi.EXP="exp";oi.EXP2="exp2";oi.LOG="log";oi.LOG2="log2";oi.SQRT="sqrt";oi.INVERSE_SQRT="inversesqrt";oi.FLOOR="floor";oi.CEIL="ceil";oi.NORMALIZE="normalize";oi.FRACT="fract";oi.SIN="sin";oi.SINH="sinh";oi.COS="cos";oi.COSH="cosh";oi.TAN="tan";oi.TANH="tanh";oi.ASIN="asin";oi.ASINH="asinh";oi.ACOS="acos";oi.ACOSH="acosh";oi.ATAN="atan";oi.ATANH="atanh";oi.ABS="abs";oi.SIGN="sign";oi.LENGTH="length";oi.NEGATE="negate";oi.ONE_MINUS="oneMinus";oi.DFDX="dFdx";oi.DFDY="dFdy";oi.ROUND="round";oi.RECIPROCAL="reciprocal";oi.TRUNC="trunc";oi.FWIDTH="fwidth";oi.TRANSPOSE="transpose";oi.DETERMINANT="determinant";oi.INVERSE="inverse";oi.EQUALS="equals";oi.MIN="min";oi.MAX="max";oi.STEP="step";oi.REFLECT="reflect";oi.DISTANCE="distance";oi.DIFFERENCE="difference";oi.DOT="dot";oi.CROSS="cross";oi.POW="pow";oi.TRANSFORM_DIRECTION="transformDirection";oi.MIX="mix";oi.CLAMP="clamp";oi.REFRACT="refract";oi.SMOOTHSTEP="smoothstep";oi.FACEFORWARD="faceforward";var EK=Et(1e-6),X8e=Et(1e6),mZ=Et(Math.PI),eMe=Et(Math.PI*2),tMe=Et(Math.PI*2),iMe=Et(Math.PI*.5),eEe=Mi(oi,oi.ALL).setParameterLength(1),tEe=Mi(oi,oi.ANY).setParameterLength(1),iEe=Mi(oi,oi.RADIANS).setParameterLength(1),nEe=Mi(oi,oi.DEGREES).setParameterLength(1),Gue=Mi(oi,oi.EXP).setParameterLength(1),W8=Mi(oi,oi.EXP2).setParameterLength(1),TK=Mi(oi,oi.LOG).setParameterLength(1),F2=Mi(oi,oi.LOG2).setParameterLength(1),aI=Mi(oi,oi.SQRT).setParameterLength(1),Vue=Mi(oi,oi.INVERSE_SQRT).setParameterLength(1),U2=Mi(oi,oi.FLOOR).setParameterLength(1),gK=Mi(oi,oi.CEIL).setParameterLength(1),tm=Mi(oi,oi.NORMALIZE).setParameterLength(1),F3=Mi(oi,oi.FRACT).setParameterLength(1),rI=Mi(oi,oi.SIN).setParameterLength(1),sEe=Mi(oi,oi.SINH).setParameterLength(1),P3=Mi(oi,oi.COS).setParameterLength(1),oEe=Mi(oi,oi.COSH).setParameterLength(1),rEe=Mi(oi,oi.TAN).setParameterLength(1),lEe=Mi(oi,oi.TANH).setParameterLength(1),aEe=Mi(oi,oi.ASIN).setParameterLength(1),uEe=Mi(oi,oi.ASINH).setParameterLength(1),kue=Mi(oi,oi.ACOS).setParameterLength(1),cEe=Mi(oi,oi.ACOSH).setParameterLength(1),zue=Mi(oi,oi.ATAN).setParameterLength(1,2),dEe=Mi(oi,oi.ATANH).setParameterLength(1),dr=Mi(oi,oi.ABS).setParameterLength(1),Wue=Mi(oi,oi.SIGN).setParameterLength(1),H2=Mi(oi,oi.LENGTH).setParameterLength(1),Yue=Mi(oi,oi.NEGATE).setParameterLength(1),hEe=Mi(oi,oi.ONE_MINUS).setParameterLength(1),jue=Mi(oi,oi.DFDX).setParameterLength(1),que=Mi(oi,oi.DFDY).setParameterLength(1),fEe=Mi(oi,oi.ROUND).setParameterLength(1),pEe=Mi(oi,oi.RECIPROCAL).setParameterLength(1),$ue=Mi(oi,oi.TRUNC).setParameterLength(1),Zue=Mi(oi,oi.FWIDTH).setParameterLength(1),IEe=Mi(oi,oi.TRANSPOSE).setParameterLength(1),mEe=Mi(oi,oi.DETERMINANT).setParameterLength(1),yEe=Mi(oi,oi.INVERSE).setParameterLength(1),nm=Mi(oi,oi.MIN).setParameterLength(2,1/0),fa=Mi(oi,oi.MAX).setParameterLength(2,1/0),bx=Mi(oi,oi.STEP).setParameterLength(2),EEe=Mi(oi,oi.REFLECT).setParameterLength(2),TEe=Mi(oi,oi.DISTANCE).setParameterLength(2),gEe=Mi(oi,oi.DIFFERENCE).setParameterLength(2),gE=Mi(oi,oi.DOT).setParameterLength(2),jS=Mi(oi,oi.CROSS).setParameterLength(2),yE=Mi(oi,oi.POW).setParameterLength(2),Kue=e=>os(e,e),wEe=e=>os(e,e,e),Que=e=>os(e,e,e,e),vEe=Mi(oi,oi.TRANSFORM_DIRECTION).setParameterLength(2),REe=e=>os(Wue(e),yE(dr(e),1/3)),Jue=e=>gE(e,e),zs=Mi(oi,oi.MIX).setParameterLength(3),U3=(e,t=0,i=1)=>new oi(oi.CLAMP,gn(e),gn(t),gn(i)),wK=e=>U3(e),Xue=Mi(oi,oi.REFRACT).setParameterLength(3),H3=Mi(oi,oi.SMOOTHSTEP).setParameterLength(3),ece=Mi(oi,oi.FACEFORWARD).setParameterLength(3),SEe=Wt(([e])=>{let n=43758.5453,s=gE(e.xy,Hi(12.9898,78.233)),o=oz(s,mZ);return F3(rI(o).mul(n))}),AEe=(e,t,i)=>zs(t,i,e),bEe=(e,t,i)=>H3(t,i,e),NEe=(e,t)=>bx(t,e),nMe=ece,sMe=Vue;Ti("all",eEe);Ti("any",tEe);Ti("radians",iEe);Ti("degrees",nEe);Ti("exp",Gue);Ti("exp2",W8);Ti("log",TK);Ti("log2",F2);Ti("sqrt",aI);Ti("inverseSqrt",Vue);Ti("floor",U2);Ti("ceil",gK);Ti("normalize",tm);Ti("fract",F3);Ti("sin",rI);Ti("sinh",sEe);Ti("cos",P3);Ti("cosh",oEe);Ti("tan",rEe);Ti("tanh",lEe);Ti("asin",aEe);Ti("asinh",uEe);Ti("acos",kue);Ti("acosh",cEe);Ti("atan",zue);Ti("atanh",dEe);Ti("abs",dr);Ti("sign",Wue);Ti("length",H2);Ti("lengthSq",Jue);Ti("negate",Yue);Ti("oneMinus",hEe);Ti("dFdx",jue);Ti("dFdy",que);Ti("round",fEe);Ti("reciprocal",pEe);Ti("trunc",$ue);Ti("fwidth",Zue);Ti("min",nm);Ti("max",fa);Ti("step",NEe);Ti("reflect",EEe);Ti("distance",TEe);Ti("dot",gE);Ti("cross",jS);Ti("pow",yE);Ti("pow2",Kue);Ti("pow3",wEe);Ti("pow4",Que);Ti("transformDirection",vEe);Ti("mix",AEe);Ti("clamp",U3);Ti("refract",Xue);Ti("smoothstep",bEe);Ti("faceForward",ece);Ti("difference",gEe);Ti("saturate",wK);Ti("cbrt",REe);Ti("transpose",IEe);Ti("determinant",mEe);Ti("inverse",yEe);Ti("rand",SEe);var rre=class extends Sn{static get type(){return"ConditionalNode"}constructor(t,i,n=null){super(),this.condNode=t,this.ifNode=i,this.elseNode=n}generateNodeType(t){let{ifNode:i,elseNode:n}=t.getNodeProperties(this);if(i===void 0)return t.flowBuildStage(this,"setup"),this.getNodeType(t);let s=i.getNodeType(t);if(n!==null){let o=n.getNodeType(t);if(t.getTypeLength(o)>t.getTypeLength(s))return o}return s}setup(t){let i=this.condNode,n=this.ifNode.isolate(),s=this.elseNode?this.elseNode.isolate():null,o=t.context.nodeBlock;t.getDataFromNode(n).parentNodeBlock=o,s!==null&&(t.getDataFromNode(s).parentNodeBlock=o);let r=t.context.uniformFlow,l=t.getNodeProperties(this);l.condNode=i,l.ifNode=r?n:n.context({nodeBlock:n}),l.elseNode=s?r?s:s.context({nodeBlock:s}):null}generate(t,i){let n=this.getNodeType(t),s=t.getDataFromNode(this);if(s.nodeProperty!==void 0)return s.nodeProperty;let{condNode:o,ifNode:r,elseNode:l}=t.getNodeProperties(this),d=t.currentFunctionNode,h=i!=="void",p=h?zS(n).build(t):"";s.nodeProperty=p;let I=o.build(t,"bool");if(t.context.uniformFlow&&l!==null){let T=r.build(t,n),R=l.build(t,n),b=t.getTernary(I,T,R);return t.format(b,n,i)}t.addFlowCode(`
|
||
${t.tab}if ( ${I} ) {
|
||
|
||
`).addFlowTab();let y=r.build(t,n);if(y&&(h?y=p+" = "+y+";":(y="return "+y+";",d===null&&(ci("TSL: Return statement used in an inline 'Fn()'. Define a layout struct to allow return values.",this.stackTrace),y="// "+y))),t.removeFlowTab().addFlowCode(t.tab+" "+y+`
|
||
|
||
`+t.tab+"}"),l!==null){t.addFlowCode(` else {
|
||
|
||
`).addFlowTab();let T=l.build(t,n);T&&(h?T=p+" = "+T+";":(T="return "+T+";",d===null&&(ci("TSL: Return statement used in an inline 'Fn()'. Define a layout struct to allow return values.",this.stackTrace),T="// "+T))),t.removeFlowTab().addFlowCode(t.tab+" "+T+`
|
||
|
||
`+t.tab+`}
|
||
|
||
`)}else t.addFlowCode(`
|
||
|
||
`);return t.format(p,n,i)}},jf=ys(rre).setParameterLength(2,3);Ti("select",jf);var yZ=class extends Sn{static get type(){return"ContextNode"}constructor(t=null,i={}){super(),this.isContextNode=!0,this.node=t,this.value=i}getScope(){return this.node.getScope()}generateNodeType(t){return this.node.getNodeType(t)}getFlowContextData(){let t=[];return this.traverse(i=>{i.isContextNode===!0&&t.push(i.value)}),Object.assign({},...t)}getMemberType(t,i){return this.node.getMemberType(t,i)}analyze(t){let i=t.addContext(this.value);this.node.build(t),t.setContext(i)}setup(t){let i=t.addContext(this.value);this.node.build(t),t.setContext(i)}generate(t,i){let n=t.addContext(this.value),s=this.node.build(t,i);return t.setContext(n),s}},ZS=(e=null,t={})=>{let i=e;return(i===null||i.isNode!==!0)&&(t=i||t,i=null),new yZ(i,t)},_Ee=e=>ZS(e,{uniformFlow:!0}),tce=(e,t)=>ZS(e,{nodeName:t});function DEe(e,t,i=null){return ZS(i,{getShadow:({light:n,shadowColorNode:s})=>t===n?s.mul(e):s})}function CEe(e,t=null){return ZS(t,{getAO:(i,{material:n})=>n.transparent===!0?i:i!==null?i.mul(e):e})}function xEe(e,t){return ci('TSL: "label()" has been deprecated. Use "setName()" instead.'),tce(e,t)}Ti("context",ZS);Ti("label",xEe);Ti("uniformFlow",_Ee);Ti("setName",tce);Ti("builtinShadowContext",(e,t,i)=>DEe(t,i,e));Ti("builtinAOContext",(e,t)=>CEe(t,e));var H8=class extends Sn{static get type(){return"VarNode"}constructor(t,i=null,n=!1){super(),this.node=t,this.name=i,this.global=!0,this.isVarNode=!0,this.readOnly=n,this.parents=!0,this.intent=!1}setIntent(t){return this.intent=t,this}isIntent(t){return t.getDataFromNode(this).forceDeclaration===!0?!1:this.intent}getIntent(){return this.intent}getMemberType(t,i){return this.node.getMemberType(t,i)}getElementType(t){return this.node.getElementType(t)}generateNodeType(t){return this.node.getNodeType(t)}getArrayCount(t){return this.node.getArrayCount(t)}isAssign(t){return t.getDataFromNode(this).assign}build(...t){let i=t[0];if(this._hasStack(i)===!1&&i.buildStage==="setup"&&(i.context.nodeLoop||i.context.nodeBlock)){let n=!1;if(this.node.isShaderCallNodeInternal&&this.node.shaderNode.getLayout()===null&&i.fnCall&&i.fnCall.shaderNode&&i.getDataFromNode(this.node.shaderNode).hasLoop){let r=i.getDataFromNode(this);r.forceDeclaration=!0,n=!0}let s=i.getBaseStack();n?s.addToStackBefore(this):s.addToStack(this)}return this.isIntent(i)&&this.isAssign(i)!==!0?this.node.build(...t):super.build(...t)}generate(t){let{node:i,name:n,readOnly:s}=this,{renderer:o}=t,r=o.backend.isWebGPUBackend===!0,l=!1,d=!1;s&&(l=t.isDeterministic(i),d=r?s:l);let h=this.getNodeType(t);if(h=="void")return this.isIntent(t)!==!0&&yi('TSL: ".toVar()" can not be used with void type.',this.stackTrace),i.build(t);let p=t.getVectorType(h),I=i.build(t,p),m=t.getVarFromNode(this,n,p,void 0,d),y=t.getPropertyName(m),T=y;if(d)if(r)T=l?`const ${y}`:`let ${y}`;else{let R=i.getArrayCount(t);T=`const ${t.getVar(m.type,y,R)}`}return t.addLineFlowCode(`${T} = ${I}`,this),y}_hasStack(t){return t.getDataFromNode(this).stack!==void 0}},ice=ys(H8),OEe=(e,t=null)=>ice(e,t).toStack(),LEe=(e,t=null)=>ice(e,t,!0).toStack(),PEe=e=>ice(e).setIntent(!0).toStack();Ti("toVar",OEe);Ti("toConst",LEe);Ti("toVarIntent",PEe);var lre=class extends Sn{static get type(){return"SubBuild"}constructor(t,i,n=null){super(n),this.node=t,this.name=i,this.isSubBuildNode=!0}generateNodeType(t){if(this.nodeType!==null)return this.nodeType;t.addSubBuild(this.name);let i=this.node.getNodeType(t);return t.removeSubBuild(),i}build(t,...i){t.addSubBuild(this.name);let n=this.node.build(t,...i);return t.removeSubBuild(),n}},Sx=(e,t,i=null)=>new lre(gn(e),t,i),are=class extends Sn{static get type(){return"VaryingNode"}constructor(t,i=null){super(),this.node=Sx(t,"VERTEX"),this.name=i,this.isVaryingNode=!0,this.interpolationType=null,this.interpolationSampling=null,this.global=!0}setInterpolation(t,i=null){return this.interpolationType=t,this.interpolationSampling=i,this}getHash(t){return this.name||super.getHash(t)}generateNodeType(t){return this.node.getNodeType(t)}setupVarying(t){let i=t.getNodeProperties(this),n=i.varying;if(n===void 0){let s=this.name,o=this.getNodeType(t),r=this.interpolationType,l=this.interpolationSampling;i.varying=n=t.getVaryingFromNode(this,s,o,r,l),i.node=Sx(this.node,"VERTEX")}return n.needsInterpolation||(n.needsInterpolation=t.shaderStage==="fragment"),n}setup(t){this.setupVarying(t),t.flowNodeFromShaderStage(Dk.VERTEX,this.node)}analyze(t){this.setupVarying(t),t.flowNodeFromShaderStage(Dk.VERTEX,this.node)}generate(t){let i=t.getSubBuildProperty("property",t.currentStack),n=t.getNodeProperties(this),s=this.setupVarying(t);if(n[i]===void 0){let o=this.getNodeType(t),r=t.getPropertyName(s,Dk.VERTEX);t.flowNodeFromShaderStage(Dk.VERTEX,n.node,o,r),n[i]=r}return t.getPropertyName(s)}},f_=ys(are).setParameterLength(1,2),MEe=e=>f_(e);Ti("toVarying",f_);Ti("toVertexStage",MEe);var BEe=Wt(([e])=>{let t=e.mul(.9478672986).add(.0521327014).pow(2.4),i=e.mul(.0773993808),n=e.lessThanEqual(.04045);return zs(t,i,n)}).setLayout({name:"sRGBTransferEOTF",type:"vec3",inputs:[{name:"color",type:"vec3"}]}),FEe=Wt(([e])=>{let t=e.pow(.41666).mul(1.055).sub(.055),i=e.mul(12.92),n=e.lessThanEqual(.0031308);return zs(t,i,n)}).setLayout({name:"sRGBTransferOETF",type:"vec3",inputs:[{name:"color",type:"vec3"}]}),nce="WorkingColorSpace",oMe="OutputColorSpace",zk=class extends Fl{static get type(){return"ColorSpaceNode"}constructor(t,i,n){super("vec4"),this.colorNode=t,this.source=i,this.target=n}resolveColorSpace(t,i){return i===nce?Hn.workingColorSpace:i===oMe?t.context.outputColorSpace||t.renderer.outputColorSpace:i}setup(t){let{colorNode:i}=this,n=this.resolveColorSpace(t,this.source),s=this.resolveColorSpace(t,this.target),o=i;return Hn.enabled===!1||n===s||!n||!s||(Hn.getTransfer(n)===pn&&(o=On(BEe(o.rgb),o.a)),Hn.getPrimaries(n)!==Hn.getPrimaries(s)&&(o=On(Q0(Hn._getMatrix(new Qn,n,s)).mul(o.rgb),o.a)),Hn.getTransfer(s)===pn&&(o=On(FEe(o.rgb),o.a))),o}},UEe=(e,t)=>new zk(gn(e),nce,t),vK=(e,t)=>new zk(gn(e),t,nce),rMe=(e,t,i)=>new zk(gn(e),t,i);Ti("workingToColorSpace",UEe);Ti("colorSpaceToWorking",vK);var lMe=class extends YS{static get type(){return"ReferenceElementNode"}constructor(t,i){super(t,i),this.referenceNode=t,this.isReferenceElementNode=!0}generateNodeType(){return this.referenceNode.uniformType}generate(t){let i=super.generate(t),n=this.referenceNode.getNodeType(),s=this.getNodeType();return t.format(i,n,s)}},EZ=class extends Sn{static get type(){return"ReferenceBaseNode"}constructor(t,i,n=null,s=null){super(),this.property=t,this.uniformType=i,this.object=n,this.count=s,this.properties=t.split("."),this.reference=n,this.node=null,this.group=null,this.updateType=Zn.OBJECT}setGroup(t){return this.group=t,this}element(t){return new lMe(this,gn(t))}setNodeType(t){let i=Nn(null,t);this.group!==null&&i.setGroup(this.group),this.node=i}generateNodeType(t){return this.node===null&&(this.updateReference(t),this.updateValue()),this.node.getNodeType(t)}getValueFromReference(t=this.reference){let{properties:i}=this,n=t[i[0]];for(let s=1;s<i.length;s++)n=n[i[s]];return n}updateReference(t){return this.reference=this.object!==null?this.object:t.object,this.reference}setup(){return this.updateValue(),this.node}update(){this.updateValue()}updateValue(){this.node===null&&this.setNodeType(this.uniformType);let t=this.getValueFromReference();Array.isArray(t)?this.node.array=t:this.node.value=t}},aMe=(e,t,i)=>new EZ(e,t,i),ure=class extends EZ{static get type(){return"RendererReferenceNode"}constructor(t,i,n=null){super(t,i,n),this.renderer=n,this.setGroup(Mn)}updateReference(t){return this.reference=this.renderer!==null?this.renderer:t.renderer,this.reference}},HEe=(e,t,i=null)=>new ure(e,t,i),cre=class extends Fl{static get type(){return"ToneMappingNode"}constructor(t,i=VEe,n=null){super("vec3"),this._toneMapping=t,this.exposureNode=i,this.colorNode=n}customCacheKey(){return xk(this._toneMapping)}setToneMapping(t){return this._toneMapping=t,this}getToneMapping(){return this._toneMapping}setup(t){let i=this.colorNode||t.context.color,n=this._toneMapping;if(n===_c)return i;let s=null,o=t.renderer.library.getToneMappingFunction(n);return o!==null?s=On(o(i.rgb,this.exposureNode),i.a):(yi("ToneMappingNode: Unsupported Tone Mapping configuration.",n),s=i),s}},GEe=(e,t,i)=>new cre(e,gn(t),gn(i)),VEe=HEe("toneMappingExposure","float");Ti("toneMapping",(e,t,i)=>GEe(t,i,e));var o1e=new WeakMap;function r1e(e,t){let i=o1e.get(e);return i===void 0&&(i=new qv(e,t),o1e.set(e,i)),i}var L2=class extends Gk{static get type(){return"BufferAttributeNode"}constructor(t,i=null,n=0,s=0){super(t,i),this.isBufferNode=!0,this.bufferType=i,this.bufferStride=n,this.bufferOffset=s,this.usage=Xg,this.instanced=!1,this.attribute=null,this.global=!0,t&&t.isBufferAttribute===!0&&t.itemSize<=4&&(this.attribute=t,this.usage=t.usage,this.instanced=t.isInstancedBufferAttribute)}getHash(t){let i;if(this.bufferStride===0&&this.bufferOffset===0){let n=t.globalCache.getData(this.value);n===void 0&&(n={node:this},t.globalCache.setData(this.value,n)),i=n.node.id}else i=this.id;return String(i)}generateNodeType(t){return this.bufferType===null&&(this.bufferType=t.getTypeFromAttribute(this.attribute)),this.bufferType}setup(t){if(this.attribute!==null)return;let i=this.getNodeType(t),n=t.getTypeLength(i),s=this.value,o=this.bufferStride||n,r=this.bufferOffset,l;s.isInterleavedBuffer===!0?l=s:s.isBufferAttribute===!0?l=r1e(s.array,o):l=r1e(s,o);let d=new Du(l,n,r);l.setUsage(this.usage),this.attribute=d,this.attribute.isInstancedBufferAttribute=this.instanced}generate(t){let i=this.getNodeType(t),n=t.getBufferAttributeFromNode(this,i),s=t.getPropertyName(n),o=null;return t.shaderStage==="vertex"||t.shaderStage==="compute"?(this.name=s,o=s):o=f_(this).build(t,i),o}getInputType(){return"bufferAttribute"}setUsage(t){return this.usage=t,this.attribute&&this.attribute.isBufferAttribute===!0&&(this.attribute.usage=t),this}setInstanced(t){return this.instanced=t,this}};function RK(e,t=null,i=0,n=0,s=Xg,o=!1){return t==="mat3"||t===null&&e.itemSize===9?Q0(new L2(e,"vec3",9,0).setUsage(s).setInstanced(o),new L2(e,"vec3",9,3).setUsage(s).setInstanced(o),new L2(e,"vec3",9,6).setUsage(s).setInstanced(o)):t==="mat4"||t===null&&e.itemSize===16?l_(new L2(e,"vec4",16,0).setUsage(s).setInstanced(o),new L2(e,"vec4",16,4).setUsage(s).setInstanced(o),new L2(e,"vec4",16,8).setUsage(s).setInstanced(o),new L2(e,"vec4",16,12).setUsage(s).setInstanced(o)):new L2(e,t,i,n).setUsage(s)}var sce=(e,t=null,i=0,n=0)=>RK(e,t,i,n),uMe=(e,t=null,i=0,n=0)=>RK(e,t,i,n,Xb),TZ=(e,t=null,i=0,n=0)=>RK(e,t,i,n,Xg,!0),dre=(e,t=null,i=0,n=0)=>RK(e,t,i,n,Xb,!0);Ti("toAttribute",e=>sce(e.value));var Bc=class e extends Sn{static get type(){return"IndexNode"}constructor(t){super("uint"),this.scope=t,this.isIndexNode=!0}generate(t){let i=this.getNodeType(t),n=this.scope,s;if(n===e.VERTEX)s=t.getVertexIndex();else if(n===e.INSTANCE)s=t.getInstanceIndex();else if(n===e.DRAW)s=t.getDrawIndex();else if(n===e.INVOCATION_LOCAL)s=t.getInvocationLocalIndex();else if(n===e.INVOCATION_SUBGROUP)s=t.getInvocationSubgroupIndex();else if(n===e.SUBGROUP)s=t.getSubgroupIndex();else throw new Error("THREE.IndexNode: Unknown scope: "+n);let o;return t.shaderStage==="vertex"||t.shaderStage==="compute"?o=s:o=f_(this).build(t,i),o}};Bc.VERTEX="vertex";Bc.INSTANCE="instance";Bc.SUBGROUP="subgroup";Bc.INVOCATION_LOCAL="invocationLocal";Bc.INVOCATION_SUBGROUP="invocationSubgroup";Bc.DRAW="draw";var kEe=en(Bc,Bc.VERTEX),B3=en(Bc,Bc.INSTANCE),cMe=en(Bc,Bc.SUBGROUP),dMe=en(Bc,Bc.INVOCATION_SUBGROUP),hMe=en(Bc,Bc.INVOCATION_LOCAL),zEe=en(Bc,Bc.DRAW),hre=class extends Sn{static get type(){return"ComputeNode"}constructor(t,i){super("void"),this.isComputeNode=!0,this.computeNode=t,this.workgroupSize=i,this.count=null,this.dispatchSize=null,this.version=1,this.name="",this.updateBeforeType=Zn.OBJECT,this.onInitFunction=null,this.countNode=null}dispose(){this.dispatchEvent({type:"dispose"})}setName(t){return this.name=t,this}label(t){return ci('TSL: "label()" has been deprecated. Use "setName()" instead.',new ha),this.setName(t)}onInit(t){return this.onInitFunction=t,this}updateBefore({renderer:t}){t.compute(this)}setup(t){this.count!==null&&this.countNode===null&&(this.countNode=Nn(this.count,"uint").onObjectUpdate(()=>this.count));let i=this.computeNode.build(t);if(i){let n=t.getNodeProperties(this);n.outputComputeNode=i.outputNode,i.outputNode=null}return i}generate(t,i){let{shaderStage:n}=t;if(n==="compute"){let s=this.computeNode.build(t,"void");if(s!==""&&t.addLineFlowCode(s,this),this.count!==null&&t.allowEarlyReturns===!0){let o=this.countNode.build(t,"uint"),r=B3.build(t,"uint");t.flow.code=`${t.tab}if ( ${r} >= ${o} ) { return; }
|
||
|
||
${t.flow.code}`}}else{let o=t.getNodeProperties(this).outputComputeNode;if(o)return o.build(t,i)}}},oce=(e,t=[64])=>{(t.length===0||t.length>3)&&yi("TSL: compute() workgroupSize must have 1, 2, or 3 elements",new ha);for(let i=0;i<t.length;i++){let n=t[i];(typeof n!="number"||n<=0||!Number.isInteger(n))&&yi(`TSL: compute() workgroupSize element at index [ ${i} ] must be a positive integer`,new ha)}for(;t.length<3;)t.push(1);return new hre(gn(e),t)},WEe=(e,t,i)=>{let n=oce(e,i);return typeof t=="number"?n.count=t:n.dispatchSize=t,n};Ti("compute",WEe);Ti("computeKernel",oce);var fre=class extends Sn{static get type(){return"IsolateNode"}constructor(t,i=!0){super(),this.node=t,this.parent=i,this.isIsolateNode=!0}generateNodeType(t){let i=t.getCache(),n=t.getCacheFromNode(this,this.parent);t.setCache(n);let s=this.node.getNodeType(t);return t.setCache(i),s}build(t,...i){let n=t.getCache(),s=t.getCacheFromNode(this,this.parent);t.setCache(s);let o=this.node.build(t,...i);return t.setCache(n),o}setParent(t){return this.parent=t,this}getParent(){return this.parent}},G8=e=>new fre(gn(e));function YEe(e,t=!0){return ci('TSL: "cache()" has been deprecated. Use "isolate()" instead.'),G8(e).setParent(t)}Ti("cache",YEe);Ti("isolate",G8);var pre=class extends Sn{static get type(){return"BypassNode"}constructor(t,i){super(),this.isBypassNode=!0,this.outputNode=t,this.callNode=i}generateNodeType(t){return this.outputNode.getNodeType(t)}generate(t){let i=this.callNode.build(t,"void");return i!==""&&t.addLineFlowCode(i,this),this.outputNode.build(t)}},jEe=ys(pre).setParameterLength(2);Ti("bypass",jEe);var rce=Wt(([e,t,i,n=Et(0),s=Et(1),o=M1(!1)])=>{let r=e.sub(t).div(i.sub(t));return z8(o)&&(r=r.clamp()),r.mul(s.sub(n)).add(n)});function qEe(e,t,i,n=Et(0),s=Et(1)){return rce(e,t,i,n,s,!0)}Ti("remap",rce);Ti("remapClamp",qEe);var V8=class extends Sn{static get type(){return"ExpressionNode"}constructor(t="",i="void"){super(i),this.snippet=t}generate(t,i){let n=this.getNodeType(t),s=this.snippet;if(n==="void")t.addLineFlowCode(s,this);else return t.format(s,n,i)}},P1=ys(V8).setParameterLength(1,2),$Ee=e=>(e?jf(e,P1("discard")):P1("discard")).toStack(),fMe=()=>P1("return").toStack();Ti("discard",$Ee);var Ire=class extends Fl{static get type(){return"RenderOutputNode"}constructor(t,i,n){super("vec4"),this.colorNode=t,this._toneMapping=i,this.outputColorSpace=n,this.isRenderOutputNode=!0}setToneMapping(t){return this._toneMapping=t,this}getToneMapping(){return this._toneMapping}setup({context:t}){let i=this.colorNode||t.color,n=(this._toneMapping!==null?this._toneMapping:t.toneMapping)||_c,s=(this.outputColorSpace!==null?this.outputColorSpace:t.outputColorSpace)||Eh;return n!==_c&&(i=i.toneMapping(n)),s!==Eh&&s!==Hn.workingColorSpace&&(i=i.workingToColorSpace(s)),i}},lce=(e,t=null,i=null)=>new Ire(gn(e),t,i);Ti("renderOutput",lce);var mre=class extends Fl{static get type(){return"DebugNode"}constructor(t,i=null){super(),this.node=t,this.callback=i}generateNodeType(t){return this.node.getNodeType(t)}setup(t){return this.node.build(t)}analyze(t){return this.node.build(t)}generate(t){let i=this.callback,n=this.node.build(t);if(i!==null)i(t,n);else{let s="--- TSL debug - "+t.shaderStage+" shader ---",o="-".repeat(s.length),r="";r+="// #"+s+`#
|
||
`,r+=t.flow.code.replace(/^\t/mg,"")+`
|
||
`,r+="/* ... */ "+n+` /* ... */
|
||
`,r+="// #"+o+`#
|
||
`,Cb(r)}return n}},ZEe=(e,t=null)=>new mre(gn(e),t).toStack();Ti("debug",ZEe);var gZ=class extends jc{constructor(){super(),this._renderer=null,this.currentFrame=null}get nodeFrame(){return this._renderer._nodes.nodeFrame}setRenderer(t){return this._renderer=t,this}getRenderer(){return this._renderer}init(){}begin(){}finish(){}inspect(){}computeAsync(){}beginCompute(){}finishCompute(){}beginRender(){}finishRender(){}copyTextureToTexture(){}copyFramebufferToTexture(){}},yre=class extends Sn{static get type(){return"InspectorNode"}constructor(t,i="",n=null){super(),this.node=t,this.name=i,this.callback=n,this.updateType=Zn.FRAME,this.isInspectorNode=!0}getName(){return this.name||this.node.name}update(t){t.renderer.inspector.inspect(this)}generateNodeType(t){return this.node.getNodeType(t)}setup(t){let i=this.node;return t.context.inspector===!0&&this.callback!==null&&(i=this.callback(i)),t.renderer.backend.isWebGPUBackend!==!0&&t.renderer.inspector.constructor!==gZ&&Oo('TSL: ".toInspector()" is only available with WebGPU.'),i}};function KEe(e,t="",i=null){return e=gn(e),e.before(new yre(e,t,i))}Ti("toInspector",KEe);function pMe(e){ci("TSL: AddNodeElement has been removed in favor of tree-shaking. Trying add",e)}var wZ=class extends Sn{static get type(){return"AttributeNode"}constructor(t,i=null){super(i),this.global=!0,this._attributeName=t}getHash(t){return this.getAttributeName(t)}generateNodeType(t){let i=this.nodeType;if(i===null){let n=this.getAttributeName(t);if(t.hasGeometryAttribute(n)){let s=t.geometry.getAttribute(n);i=t.getTypeFromAttribute(s)}else i="float"}return i}setAttributeName(t){return this._attributeName=t,this}getAttributeName(){return this._attributeName}generate(t){let i=this.getAttributeName(t),n=this.getNodeType(t);if(t.hasGeometryAttribute(i)===!0){let o=t.geometry.getAttribute(i),r=t.getTypeFromAttribute(o),l=t.getAttribute(i,r);return t.shaderStage==="vertex"?t.format(l.name,r,n):f_(this).build(t,n)}else return ci(`AttributeNode: Vertex attribute "${i}" not found on geometry.`),t.generateConst(n)}serialize(t){super.serialize(t),t.global=this.global,t._attributeName=this._attributeName}deserialize(t){super.deserialize(t),this.global=t.global,this._attributeName=t._attributeName}},qS=(e,t=null)=>new wZ(e,t),er=(e=0)=>qS("uv"+(e>0?e:""),"vec2"),Ere=class extends Sn{static get type(){return"TextureSizeNode"}constructor(t,i=null){super("uvec2"),this.isTextureSizeNode=!0,this.textureNode=t,this.levelNode=i}generate(t,i){let n=this.textureNode.build(t,"property"),s=this.levelNode===null?"0":this.levelNode.build(t,"int");return t.format(`${t.getMethod("textureDimensions")}( ${n}, ${s} )`,this.getNodeType(t),i)}},a_=ys(Ere).setParameterLength(1,2),Tre=class extends Ax{static get type(){return"MaxMipLevelNode"}constructor(t){super(0),this._textureNode=t,this.updateType=Zn.FRAME}get textureNode(){return this._textureNode}get texture(){return this._textureNode.value}update(){let t=this.texture,i=t.images,n=i&&i.length>0?i[0]&&i[0].image||i[0]:t.image;if(n&&n.width!==void 0){let{width:s,height:o}=n;this.value=Math.log2(Math.max(s,o))}}},ace=ys(Tre).setParameterLength(1),vZ=class extends Error{constructor(t,i=null){super(t),this.name="NodeError",this.stackTrace=i}},uce=new wr,wE=class extends Ax{static get type(){return"TextureNode"}constructor(t=uce,i=null,n=null,s=null){super(t),this.isTextureNode=!0,this.uvNode=i,this.levelNode=n,this.biasNode=s,this.compareNode=null,this.depthNode=null,this.gradNode=null,this.offsetNode=null,this.sampler=!0,this.updateMatrix=!1,this.updateType=Zn.NONE,this.referenceNode=null,this._value=t,this._matrixUniform=null,this._flipYUniform=null,this.setUpdateMatrix(i===null)}set value(t){this.referenceNode?this.referenceNode.value=t:this._value=t}get value(){return this.referenceNode?this.referenceNode.value:this._value}getUniformHash(){return this.value.uuid}generateNodeType(){return this.value.isDepthTexture===!0?"float":this.value.type===co?"uvec4":this.value.type===Ya?"ivec4":"vec4"}getInputType(){return"texture"}getDefaultUV(){return er(this.value.channel)}updateReference(){return this.value}getTransformedUV(t){return this._matrixUniform===null&&(this._matrixUniform=Nn(this.value.matrix)),this._matrixUniform.mul(Gt(t,1)).xy}setUpdateMatrix(t){return this.updateMatrix=t,this}setupUV(t,i){return t.isFlipY()&&(this._flipYUniform===null&&(this._flipYUniform=Nn(!1)),i=i.toVar(),this.sampler?i=this._flipYUniform.select(i.flipY(),i):i=this._flipYUniform.select(i.setY(Ot(a_(this,this.levelNode).y).sub(i.y).sub(1)),i)),i}setup(t){let i=t.getNodeProperties(this);i.referenceNode=this.referenceNode;let n=this.value;if(!n||n.isTexture!==!0)throw new vZ("THREE.TSL: `texture( value )` function expects a valid instance of THREE.Texture().",this.stackTrace);let s=Wt(()=>{let d=this.uvNode;return(d===null||t.context.forceUVContext===!0)&&t.context.getUV&&(d=t.context.getUV(this,t)),d||(d=this.getDefaultUV()),this.updateMatrix===!0&&(d=this.getTransformedUV(d)),d=this.setupUV(t,d),this.updateType=this._matrixUniform!==null||this._flipYUniform!==null?Zn.OBJECT:Zn.NONE,d})(),o=this.levelNode;o===null&&t.context.getTextureLevel&&(o=t.context.getTextureLevel(this));let r=null,l=null;if(this.compareNode!==null)if(t.renderer.hasCompatibility(dw.TEXTURE_COMPARE))r=this.compareNode;else{let d=n.compareFunction;d===null||d===OC||d===jT||d===Jb||d===Ty?l=this.compareNode:(r=this.compareNode,Oo('TSL: Only "LessCompare", "LessEqualCompare", "GreaterCompare" and "GreaterEqualCompare" are supported for depth texture comparison fallback.'))}i.uvNode=s,i.levelNode=o,i.biasNode=this.biasNode,i.compareNode=r,i.compareStepNode=l,i.gradNode=this.gradNode,i.depthNode=this.depthNode,i.offsetNode=this.offsetNode}generateUV(t,i){return i.build(t,this.sampler===!0?"vec2":"ivec2")}generateOffset(t,i){return i.build(t,"ivec2")}generateSnippet(t,i,n,s,o,r,l,d,h){let p=this.value,I;return o?I=t.generateTextureBias(p,i,n,o,r,h):d?I=t.generateTextureGrad(p,i,n,d,r,h):l?I=t.generateTextureCompare(p,i,n,l,r,h):this.sampler===!1?I=t.generateTextureLoad(p,i,n,s,r,h):s?I=t.generateTextureLevel(p,i,n,s,r,h):I=t.generateTexture(p,i,n,r,h),I}generate(t,i){let n=this.value,s=t.getNodeProperties(this),o=super.generate(t,"property");if(/^sampler/.test(i))return o+"_sampler";if(t.isReference(i))return o;{let r=t.getDataFromNode(this),l=this.getNodeType(t),d=r.propertyName;if(d===void 0){let{uvNode:p,levelNode:I,biasNode:m,compareNode:y,compareStepNode:T,depthNode:R,gradNode:b,offsetNode:A}=s,O=this.generateUV(t,p),P=I?I.build(t,"float"):null,U=m?m.build(t,"float"):null,Z=R?R.build(t,"int"):null,ne=y?y.build(t,"float"):null,K=T?T.build(t,"float"):null,oe=b?[b[0].build(t,"vec2"),b[1].build(t,"vec2")]:null,se=A?this.generateOffset(t,A):null,he=Z;he===null&&n.isArrayTexture&&this.isTexture3DNode!==!0&&(he="0");let Re=t.getVarFromNode(this);d=t.getPropertyName(Re);let ee=this.generateSnippet(t,o,O,P,U,he,ne,oe,se);if(K!==null){let Ae=n.compareFunction;Ae===Jb||Ae===Ty?ee=bx(P1(ee,l),P1(K,"float")).build(t,l):ee=bx(P1(K,"float"),P1(ee,l)).build(t,l)}t.addLineFlowCode(`${d} = ${ee}`,this),r.snippet=ee,r.propertyName=d}let h=d;return t.needsToWorkingColorSpace(n)&&(h=vK(P1(h,l),n.colorSpace).setup(t).build(t,l)),t.format(h,l,i)}}setSampler(t){return this.sampler=t,this}getSampler(){return this.sampler}sample(t){let i=this.clone();return i.uvNode=gn(t),i.referenceNode=this.getBase(),gn(i)}load(t){return this.sample(t).setSampler(!1)}blur(t){let i=this.clone();i.biasNode=gn(t).mul(ace(i)),i.referenceNode=this.getBase();let n=i.value;return i.generateMipmaps===!1&&(n&&n.generateMipmaps===!1||n.minFilter===Vs||n.magFilter===Vs)&&(ci("TSL: texture().blur() requires mipmaps and sampling. Use .generateMipmaps=true and .minFilter/.magFilter=THREE.LinearFilter in the Texture."),i.biasNode=null),gn(i)}level(t){let i=this.clone();return i.levelNode=gn(t),i.referenceNode=this.getBase(),gn(i)}size(t){return a_(this,t)}bias(t){let i=this.clone();return i.biasNode=gn(t),i.referenceNode=this.getBase(),gn(i)}getBase(){return this.referenceNode?this.referenceNode.getBase():this}compare(t){let i=this.clone();return i.compareNode=gn(t),i.referenceNode=this.getBase(),gn(i)}grad(t,i){let n=this.clone();return n.gradNode=[gn(t),gn(i)],n.referenceNode=this.getBase(),gn(n)}depth(t){let i=this.clone();return i.depthNode=gn(t),i.referenceNode=this.getBase(),gn(i)}offset(t){let i=this.clone();return i.offsetNode=gn(t),i.referenceNode=this.getBase(),gn(i)}serialize(t){super.serialize(t),t.value=this.value.toJSON(t.meta).uuid,t.sampler=this.sampler,t.updateMatrix=this.updateMatrix,t.updateType=this.updateType}deserialize(t){super.deserialize(t),this.value=t.meta.textures[t.value],this.sampler=t.sampler,this.updateMatrix=t.updateMatrix,this.updateType=t.updateType}update(){let t=this.value,i=this._matrixUniform;i!==null&&(i.value=t.matrix),t.matrixAutoUpdate===!0&&t.updateMatrix();let n=this._flipYUniform;n!==null&&(n.value=t.image instanceof ImageBitmap&&t.flipY===!0||t.isRenderTargetTexture===!0||t.isFramebufferTexture===!0||t.isDepthTexture===!0)}clone(){let t=new this.constructor(this.value,this.uvNode,this.levelNode,this.biasNode);return t.sampler=this.sampler,t.depthNode=this.depthNode,t.compareNode=this.compareNode,t.gradNode=this.gradNode,t.offsetNode=this.offsetNode,t}},IMe=ys(wE).setParameterLength(1,4).setName("texture"),lo=(e=uce,t=null,i=null,n=null)=>{let s;return e&&e.isTextureNode===!0?(s=gn(e.clone()),s.referenceNode=e.getBase(),t!==null&&(s.uvNode=gn(t)),i!==null&&(s.levelNode=gn(i)),n!==null&&(s.biasNode=gn(n))):s=IMe(e,t,i,n),s},mMe=(e=uce)=>lo(e),Oa=(...e)=>lo(...e).setSampler(!1),yMe=(e,t,i)=>lo(e,t).level(i),EMe=e=>(e.isNode===!0?e:lo(e)).convert("sampler"),TMe=e=>(e.isNode===!0?e:lo(e)).convert("samplerComparison"),Wk=class extends Ax{static get type(){return"BufferNode"}constructor(t,i,n=0){super(t,i),this.isBufferNode=!0,this.bufferType=i,this.bufferCount=n,this.updateRanges=[]}addUpdateRange(t,i){this.updateRanges.push({start:t,count:i})}clearUpdateRanges(){this.updateRanges.length=0}getElementType(t){return this.getNodeType(t)}getInputType(){return"buffer"}},rz=(e,t,i)=>new Wk(e,t,i),gre=class extends YS{static get type(){return"UniformArrayElementNode"}constructor(t,i){super(t,i),this.isArrayBufferElementNode=!0}generate(t){let i=super.generate(t),n=this.getNodeType(t),s=this.node.getPaddedType();return t.format(i,s,n)}},wre=class extends Wk{static get type(){return"UniformArrayNode"}constructor(t,i=null){super(null),this.array=t,this.elementType=i===null?o_(t[0]):i,this.paddedType=this.getPaddedType(),this.updateType=Zn.RENDER,this.isArrayBufferNode=!0}generateNodeType(){return this.paddedType}getElementType(){return this.elementType}getPaddedType(){let t=this.elementType,i="vec4";return t==="mat2"?i="mat2":/mat/.test(t)===!0?i="mat4":t.charAt(0)==="i"?i="ivec4":t.charAt(0)==="u"&&(i="uvec4"),i}update(){let{array:t,value:i}=this,n=this.elementType;if(n==="float"||n==="int"||n==="uint")for(let s=0;s<t.length;s++){let o=s*4;i[o]=t[s]}else if(n==="color")for(let s=0;s<t.length;s++){let o=s*4,r=t[s];i[o]=r.r,i[o+1]=r.g,i[o+2]=r.b||0}else if(n==="mat2")for(let s=0;s<t.length;s++){let o=s*4,r=t[s];i[o]=r.elements[0],i[o+1]=r.elements[1],i[o+2]=r.elements[2],i[o+3]=r.elements[3]}else if(n==="mat3")for(let s=0;s<t.length;s++){let o=s*16,r=t[s];i[o]=r.elements[0],i[o+1]=r.elements[1],i[o+2]=r.elements[2],i[o+4]=r.elements[3],i[o+5]=r.elements[4],i[o+6]=r.elements[5],i[o+8]=r.elements[6],i[o+9]=r.elements[7],i[o+10]=r.elements[8],i[o+15]=1}else if(n==="mat4")for(let s=0;s<t.length;s++){let o=s*16,r=t[s];for(let l=0;l<r.elements.length;l++)i[o+l]=r.elements[l]}else for(let s=0;s<t.length;s++){let o=s*4,r=t[s];i[o]=r.x,i[o+1]=r.y,i[o+2]=r.z||0,i[o+3]=r.w||0}}setup(t){let i=this.array.length,n=this.elementType,s=Float32Array,o=this.paddedType,r=t.getTypeLength(o);return n.charAt(0)==="i"&&(s=Int32Array),n.charAt(0)==="u"&&(s=Uint32Array),this.value=new s(i*r),this.bufferCount=i,this.bufferType=o,this.update(),super.setup(t)}element(t){return new gre(this,gn(t))}},Yf=(e,t)=>new wre(e,t),vre=class extends Sn{constructor(t){super("float"),this.name=t,this.isBuiltinNode=!0}generate(){return this.name}},KS=ys(vre).setParameterLength(1),mk,yk,qh=class e extends Sn{static get type(){return"ScreenNode"}constructor(t){super(),this.scope=t,this._output=null,this.isViewportNode=!0}generateNodeType(){return this.scope===e.DPR?"float":this.scope===e.VIEWPORT?"vec4":"vec2"}getUpdateType(){let t=Zn.NONE;return(this.scope===e.SIZE||this.scope===e.VIEWPORT||this.scope===e.DPR)&&(t=Zn.RENDER),this.updateType=t,t}update({renderer:t}){let i=t.getRenderTarget();this.scope===e.VIEWPORT?i!==null?yk.copy(i.viewport):(t.getViewport(yk),yk.multiplyScalar(t.getPixelRatio())):this.scope===e.DPR?this._output.value=t.getPixelRatio():i!==null?(mk.width=i.width,mk.height=i.height):t.getDrawingBufferSize(mk)}setup(){let t=this.scope,i=null;return t===e.SIZE?i=Nn(mk||(mk=new hi)):t===e.VIEWPORT?i=Nn(yk||(yk=new xn)):t===e.DPR?i=Nn(1):i=Hi(Ox.div(Nx)),this._output=i,i}generate(t){if(this.scope===e.COORDINATE){let i=t.getFragCoord();if(t.isFlipY()){let n=t.getNodeProperties(Nx).outputNode.build(t);i=`${t.getType("vec2")}( ${i}.x, ${n}.y - ${i}.y )`}return i}return super.generate(t)}};qh.COORDINATE="coordinate";qh.VIEWPORT="viewport";qh.SIZE="size";qh.UV="uv";qh.DPR="dpr";var QEe=en(qh,qh.DPR),G2=en(qh,qh.UV),Nx=en(qh,qh.SIZE),Ox=en(qh,qh.COORDINATE),cce=en(qh,qh.VIEWPORT),dce=cce.zw,JEe=Ox.sub(cce.xy),gMe=JEe.div(dce),wMe=Wt(()=>(ci('TSL: "viewportResolution" is deprecated. Use "screenSize" instead.',new ha),Nx),"vec2").once()(),coe=null,A$=null,doe=null,b$=null,hoe=null,N$=null,foe=null,_$=null,poe=null,D$=null,Ioe=null,C$=null,moe=null,x$=null,p_=Nn(0,"uint").setName("u_cameraIndex").setGroup(yK("cameraIndex")).toVarying("v_cameraIndex"),t_=Nn("float").setName("cameraNear").setGroup(Mn).onRenderUpdate(({camera:e})=>e.near),i_=Nn("float").setName("cameraFar").setGroup(Mn).onRenderUpdate(({camera:e})=>e.far),WS=Wt(({camera:e})=>{let t;if(e.isArrayCamera&&e.cameras.length>0){let i=[];for(let n of e.cameras)i.push(n.projectionMatrix);A$===null?A$=Yf(i).setGroup(Mn).setName("cameraProjectionMatrices"):A$.array=i,t=A$.element(e.isMultiViewCamera?KS("gl_ViewID_OVR"):p_).toConst("cameraProjectionMatrix")}else coe===null&&(coe=Nn(e.projectionMatrix).setName("cameraProjectionMatrix").setGroup(Mn).onRenderUpdate(({camera:i})=>i.projectionMatrix)),t=coe;return t}).once()(),XEe=Wt(({camera:e})=>{let t;if(e.isArrayCamera&&e.cameras.length>0){let i=[];for(let n of e.cameras)i.push(n.projectionMatrixInverse);b$===null?b$=Yf(i).setGroup(Mn).setName("cameraProjectionMatricesInverse"):b$.array=i,t=b$.element(e.isMultiViewCamera?KS("gl_ViewID_OVR"):p_).toConst("cameraProjectionMatrixInverse")}else doe===null&&(doe=Nn(e.projectionMatrixInverse).setName("cameraProjectionMatrixInverse").setGroup(Mn).onRenderUpdate(({camera:i})=>i.projectionMatrixInverse)),t=doe;return t}).once()(),vE=Wt(({camera:e})=>{let t;if(e.isArrayCamera&&e.cameras.length>0){let i=[];for(let n of e.cameras)i.push(n.matrixWorldInverse);N$===null?N$=Yf(i).setGroup(Mn).setName("cameraViewMatrices"):N$.array=i,t=N$.element(e.isMultiViewCamera?KS("gl_ViewID_OVR"):p_).toConst("cameraViewMatrix")}else hoe===null&&(hoe=Nn(e.matrixWorldInverse).setName("cameraViewMatrix").setGroup(Mn).onRenderUpdate(({camera:i})=>i.matrixWorldInverse)),t=hoe;return t}).once()(),vMe=Wt(({camera:e})=>{let t;if(e.isArrayCamera&&e.cameras.length>0){let i=[];for(let n of e.cameras)i.push(n.matrixWorld);_$===null?_$=Yf(i).setGroup(Mn).setName("cameraWorldMatrices"):_$.array=i,t=_$.element(e.isMultiViewCamera?KS("gl_ViewID_OVR"):p_).toConst("cameraWorldMatrix")}else foe===null&&(foe=Nn(e.matrixWorld).setName("cameraWorldMatrix").setGroup(Mn).onRenderUpdate(({camera:i})=>i.matrixWorld)),t=foe;return t}).once()(),RMe=Wt(({camera:e})=>{let t;if(e.isArrayCamera&&e.cameras.length>0){let i=[];for(let n of e.cameras)i.push(n.normalMatrix);D$===null?D$=Yf(i).setGroup(Mn).setName("cameraNormalMatrices"):D$.array=i,t=D$.element(e.isMultiViewCamera?KS("gl_ViewID_OVR"):p_).toConst("cameraNormalMatrix")}else poe===null&&(poe=Nn(e.normalMatrix).setName("cameraNormalMatrix").setGroup(Mn).onRenderUpdate(({camera:i})=>i.normalMatrix)),t=poe;return t}).once()(),eTe=Wt(({camera:e})=>{let t;if(e.isArrayCamera&&e.cameras.length>0){let i=[];for(let n=0,s=e.cameras.length;n<s;n++)i.push(new ye);C$===null?C$=Yf(i).setGroup(Mn).setName("cameraPositions").onRenderUpdate(({camera:n},s)=>{let o=n.cameras,r=s.array;for(let l=0,d=o.length;l<d;l++)r[l].setFromMatrixPosition(o[l].matrixWorld)}):C$.array=i,t=C$.element(e.isMultiViewCamera?KS("gl_ViewID_OVR"):p_).toConst("cameraPosition")}else Ioe===null&&(Ioe=Nn(new ye).setName("cameraPosition").setGroup(Mn).onRenderUpdate(({camera:i},n)=>n.value.setFromMatrixPosition(i.matrixWorld))),t=Ioe;return t}).once()(),SMe=Wt(({camera:e})=>{let t;if(e.isArrayCamera&&e.cameras.length>0){let i=[];for(let n of e.cameras)i.push(n.viewport);x$===null?x$=Yf(i,"vec4").setGroup(Mn).setName("cameraViewports"):x$.array=i,t=x$.element(p_).toConst("cameraViewport")}else moe===null&&(moe=On(0,0,Nx.x,Nx.y).toConst("cameraViewport")),t=moe;return t}).once()(),l1e=new no,Ec=class e extends Sn{static get type(){return"Object3DNode"}constructor(t,i=null){super(),this.scope=t,this.object3d=i,this.updateType=Zn.OBJECT,this.uniformNode=new Ax(null)}generateNodeType(){let t=this.scope;if(t===e.WORLD_MATRIX)return"mat4";if(t===e.POSITION||t===e.VIEW_POSITION||t===e.DIRECTION||t===e.SCALE)return"vec3";if(t===e.RADIUS)return"float"}update(t){let i=this.object3d,n=this.uniformNode,s=this.scope;if(s===e.WORLD_MATRIX)n.value=i.matrixWorld;else if(s===e.POSITION)n.value=n.value||new ye,n.value.setFromMatrixPosition(i.matrixWorld);else if(s===e.SCALE)n.value=n.value||new ye,n.value.setFromMatrixScale(i.matrixWorld);else if(s===e.DIRECTION)n.value=n.value||new ye,i.getWorldDirection(n.value);else if(s===e.VIEW_POSITION){let o=t.camera;n.value=n.value||new ye,n.value.setFromMatrixPosition(i.matrixWorld),n.value.applyMatrix4(o.matrixWorldInverse)}else if(s===e.RADIUS){let o=t.object.geometry;o.boundingSphere===null&&o.computeBoundingSphere(),l1e.copy(o.boundingSphere).applyMatrix4(i.matrixWorld),n.value=l1e.radius}}generate(t){let i=this.scope;return i===e.WORLD_MATRIX?this.uniformNode.nodeType="mat4":i===e.POSITION||i===e.VIEW_POSITION||i===e.DIRECTION||i===e.SCALE?this.uniformNode.nodeType="vec3":i===e.RADIUS&&(this.uniformNode.nodeType="float"),this.uniformNode.build(t)}serialize(t){super.serialize(t),t.scope=this.scope}deserialize(t){super.deserialize(t),this.scope=t.scope}};Ec.WORLD_MATRIX="worldMatrix";Ec.POSITION="position";Ec.SCALE="scale";Ec.VIEW_POSITION="viewPosition";Ec.DIRECTION="direction";Ec.RADIUS="radius";var AMe=ys(Ec,Ec.DIRECTION).setParameterLength(1),bMe=ys(Ec,Ec.WORLD_MATRIX).setParameterLength(1),NMe=ys(Ec,Ec.POSITION).setParameterLength(1),_Me=ys(Ec,Ec.SCALE).setParameterLength(1),DMe=ys(Ec,Ec.VIEW_POSITION).setParameterLength(1),CMe=ys(Ec,Ec.RADIUS).setParameterLength(1),sm=class extends Ec{static get type(){return"ModelNode"}constructor(t){super(t)}update(t){this.object3d=t.object,super.update(t)}},xMe=en(sm,sm.DIRECTION),EE=en(sm,sm.WORLD_MATRIX),OMe=en(sm,sm.POSITION),LMe=en(sm,sm.SCALE),PMe=en(sm,sm.VIEW_POSITION),MMe=en(sm,sm.RADIUS),tTe=Nn(new Qn).onObjectUpdate(({object:e},t)=>t.value.getNormalMatrix(e.matrixWorld)),BMe=Nn(new Ai).onObjectUpdate(({object:e},t)=>t.value.copy(e.matrixWorld).invert()),I_=Wt(e=>e.context.modelViewMatrix||iTe).once()().toVar("modelViewMatrix"),iTe=vE.mul(EE),Rre=Wt(e=>(e.context.isHighPrecisionModelViewMatrix=!0,Nn("mat4").onObjectUpdate(({object:t,camera:i})=>t.modelViewMatrix.multiplyMatrices(i.matrixWorldInverse,t.matrixWorld)))).once()().toVar("highpModelViewMatrix"),Sre=Wt(e=>{let t=e.context.isHighPrecisionModelViewMatrix;return Nn("mat3").onObjectUpdate(({object:i,camera:n})=>(t!==!0&&i.modelViewMatrix.multiplyMatrices(n.matrixWorldInverse,i.matrixWorld),i.normalMatrix.getNormalMatrix(i.modelViewMatrix)))}).once()().toVar("highpModelNormalViewMatrix"),nTe=Wt(e=>e.shaderStage!=="fragment"?(Oo("TSL: `clipSpace` is only available in fragment stage."),On()):e.context.clipSpace.toVarying("v_clipSpace")).once()(),lz=qS("position","vec3"),Ml=lz.toVarying("positionLocal"),Y8=lz.toVarying("positionPrevious"),V2=Wt(e=>EE.mul(Ml).xyz.toVarying(e.getSubBuildProperty("v_positionWorld")),"vec3").once(["POSITION"])(),hce=Wt(()=>Ml.transformDirection(EE).toVarying("v_positionWorldDirection").normalize().toVar("positionWorldDirection"),"vec3").once(["POSITION"])(),Tu=Wt(e=>{if(e.shaderStage==="fragment"&&e.material.vertexNode){let t=XEe.mul(nTe);return t.xyz.div(t.w).toVar("positionView")}return e.context.setupPositionView().toVarying("v_positionView")},"vec3").once(["POSITION","VERTEX"])(),rr=Wt(e=>{let t;return e.camera.isOrthographicCamera?t=Gt(0,0,1):t=Tu.negate().toVarying("v_positionViewDirection").normalize(),t.toVar("positionViewDirection")},"vec3").once(["POSITION"])(),Are=class extends Sn{static get type(){return"FrontFacingNode"}constructor(){super("bool"),this.isFrontFacingNode=!0}generate(t){if(t.shaderStage!=="fragment")return"true";let{material:i}=t;return i.side===Js?"false":t.getFrontFacing()}},sTe=en(Are),fce=Et(sTe).mul(2).sub(1),eM=Wt(([e],{material:t})=>{let i=t.side;return i===Js?e=e.mul(-1):i===so&&(e=e.mul(fce)),e}),SK=qS("normal","vec3"),om=Wt(e=>e.geometry.hasAttribute("normal")===!1?(ci('TSL: Vertex attribute "normal" not found on geometry.'),Gt(0,1,0)):SK,"vec3").once()().toVar("normalLocal"),oTe=Tu.dFdx().cross(Tu.dFdy()).normalize().toVar("normalFlat"),j8=Wt(e=>{let t;return e.isFlatShading()?t=oTe:t=pce(om).toVarying("v_normalViewGeometry").normalize(),t},"vec3").once()().toVar("normalViewGeometry"),rTe=Wt(e=>{let t=j8.transformDirection(vE);return e.isFlatShading()!==!0&&(t=t.toVarying("v_normalWorldGeometry")),t.normalize().toVar("normalWorldGeometry")},"vec3").once()(),ro=Wt(e=>{let t;return e.subBuildFn==="NORMAL"||e.subBuildFn==="VERTEX"?(t=j8,e.isFlatShading()!==!0&&(t=eM(t))):t=e.context.setupNormal().context({getUV:null,getTextureLevel:null}),t},"vec3").once(["NORMAL","VERTEX"])().toVar("normalView"),m_=ro.transformDirection(vE).toVar("normalWorld"),n_=Wt(({subBuildFn:e,context:t})=>{let i;return e==="NORMAL"||e==="VERTEX"?i=ro:i=t.setupClearcoatNormal().context({getUV:null,getTextureLevel:null}),i},"vec3").once(["NORMAL","VERTEX"])().toVar("clearcoatNormalView"),lTe=Wt(([e,t=EE])=>{let i=Q0(t),n=e.div(Gt(i[0].dot(i[0]),i[1].dot(i[1]),i[2].dot(i[2])));return i.mul(n).xyz}),pce=Wt(([e],t)=>{let i=t.context.modelNormalViewMatrix;if(i)return i.transformDirection(e);let n=tTe.mul(e);return vE.transformDirection(n)}),FMe=Wt(()=>(ci('TSL: "transformedNormalView" is deprecated. Use "normalView" instead.'),ro)).once(["NORMAL","VERTEX"])(),UMe=Wt(()=>(ci('TSL: "transformedNormalWorld" is deprecated. Use "normalWorld" instead.'),m_)).once(["NORMAL","VERTEX"])(),HMe=Wt(()=>(ci('TSL: "transformedClearcoatNormalView" is deprecated. Use "clearcoatNormalView" instead.'),n_)).once(["NORMAL","VERTEX"])(),yoe=new Ai,aTe=Nn(0).onReference(({material:e})=>e).onObjectUpdate(({material:e})=>e.refractionRatio),iZ=Nn(1).onReference(({material:e})=>e).onObjectUpdate(function({material:e,scene:t}){return e.envMap?e.envMapIntensity:t.environmentIntensity}),Ice=Nn(new Ai).onReference(function(e){return e.material}).onObjectUpdate(function({material:e,scene:t}){let i=t.environment!==null&&e.envMap===null?t.environmentRotation:e.envMapRotation;return i?yoe.makeRotationFromEuler(i).transpose():yoe.identity(),yoe}),uTe=rr.negate().reflect(ro),cTe=rr.negate().refract(ro,aTe),dTe=uTe.transformDirection(vE).toVar("reflectVector"),hTe=cTe.transformDirection(vE).toVar("reflectVector"),fTe=new Nm,bre=class extends wE{static get type(){return"CubeTextureNode"}constructor(t,i=null,n=null,s=null){super(t,i,n,s),this.isCubeTextureNode=!0}getInputType(){return this.value.isDepthTexture===!0?"cubeDepthTexture":"cubeTexture"}getDefaultUV(){let t=this.value;return t.mapping===Ef?dTe:t.mapping===VI?hTe:(yi('CubeTextureNode: Mapping "%s" not supported.',t.mapping),Gt(0,0,0))}setUpdateMatrix(){}setupUV(t,i){let n=this.value;return n.isDepthTexture===!0?t.renderer.coordinateSystem===mf?Gt(i.x,i.y.negate(),i.z):i:(i=Ice.mul(i),(t.renderer.coordinateSystem===mf||!n.isRenderTargetTexture)&&(i=Gt(i.x.negate(),i.yz)),i)}generateUV(t,i){return i.build(t,this.sampler===!0?"vec3":"ivec3")}},mce=ys(bre).setParameterLength(1,4).setName("cubeTexture"),lI=(e=fTe,t=null,i=null,n=null)=>{let s;return e&&e.isCubeTextureNode===!0?(s=gn(e.clone()),s.referenceNode=e,t!==null&&(s.uvNode=gn(t)),i!==null&&(s.levelNode=gn(i)),n!==null&&(s.biasNode=gn(n))):s=mce(e,t,i,n),s},GMe=(e=fTe)=>mce(e),Nre=class extends YS{static get type(){return"ReferenceElementNode"}constructor(t,i){super(t,i),this.referenceNode=t,this.isReferenceElementNode=!0}generateNodeType(){return this.referenceNode.uniformType}generate(t){let i=super.generate(t),n=this.referenceNode.getNodeType(t),s=this.getNodeType(t);return t.format(i,n,s)}},q8=class extends Sn{static get type(){return"ReferenceNode"}constructor(t,i,n=null,s=null){super(),this.property=t,this.uniformType=i,this.object=n,this.count=s,this.properties=t.split("."),this.reference=n,this.node=null,this.group=null,this.name=null,this.updateType=Zn.OBJECT}element(t){return new Nre(this,gn(t))}setGroup(t){return this.group=t,this}setName(t){return this.name=t,this}label(t){return ci('TSL: "label()" has been deprecated. Use "setName()" instead.'),this.setName(t)}setNodeType(t){let i=null;this.count!==null?i=rz(null,t,this.count):Array.isArray(this.getValueFromReference())?i=Yf(null,t):t==="texture"?i=lo(null):t==="cubeTexture"?i=lI(null):i=Nn(null,t),this.group!==null&&i.setGroup(this.group),this.name!==null&&i.setName(this.name),this.node=i}generateNodeType(t){return this.node===null&&(this.updateReference(t),this.updateValue()),this.node.getNodeType(t)}getValueFromReference(t=this.reference){let{properties:i}=this,n=t[i[0]];for(let s=1;s<i.length;s++)n=n[i[s]];return n}updateReference(t){return this.reference=this.object!==null?this.object:t.object,this.reference}setup(){return this.updateValue(),this.node}update(){this.updateValue()}updateValue(){this.node===null&&this.setNodeType(this.uniformType);let t=this.getValueFromReference();Array.isArray(t)?this.node.array=t:this.node.value=t}},Ar=(e,t,i)=>new q8(e,t,i),_re=(e,t,i,n)=>new q8(e,t,n,i),Dre=class extends q8{static get type(){return"MaterialReferenceNode"}constructor(t,i,n=null){super(t,i,n),this.material=n,this.isMaterialReferenceNode=!0}updateReference(t){return this.reference=this.material!==null?this.material:t.material,this.reference}},VS=(e,t,i=null)=>new Dre(e,t,i),pTe=er(),VMe=Tu.dFdx(),kMe=Tu.dFdy(),ITe=pTe.dFdx(),mTe=pTe.dFdy(),yTe=ro,ETe=kMe.cross(yTe),TTe=yTe.cross(VMe),Cre=ETe.mul(ITe.x).add(TTe.mul(mTe.x)),xre=ETe.mul(ITe.y).add(TTe.mul(mTe.y)),a1e=Cre.dot(Cre).max(xre.dot(xre)),gTe=a1e.equal(0).select(0,a1e.inverseSqrt()),zMe=Cre.mul(gTe).toVar("tangentViewFrame"),WMe=xre.mul(gTe).toVar("bitangentViewFrame"),AK=qS("tangent","vec4"),$8=AK.xyz.toVar("tangentLocal"),bK=Wt(e=>{let t;return e.subBuildFn==="VERTEX"||e.geometry.hasAttribute("tangent")?t=I_.mul(On($8,0)).xyz.toVarying("v_tangentView").normalize():t=zMe,e.isFlatShading()!==!0&&(t=eM(t)),t},"vec3").once(["NORMAL","VERTEX"])().toVar("tangentView"),wTe=bK.transformDirection(vE).toVarying("v_tangentWorld").normalize().toVar("tangentWorld"),NK=Wt(([e,t],i)=>{let n=e.mul(AK.w).xyz;return i.subBuildFn==="NORMAL"&&i.isFlatShading()!==!0&&(n=n.toVarying(t)),n}).once(["NORMAL"]),YMe=NK(SK.cross(AK),"v_bitangentGeometry").normalize().toVar("bitangentGeometry"),jMe=NK(om.cross($8),"v_bitangentLocal").normalize().toVar("bitangentLocal"),vTe=Wt(e=>{let t;return e.subBuildFn==="VERTEX"||e.geometry.hasAttribute("tangent")?t=NK(ro.cross(bK),"v_bitangentView").normalize():t=WMe,e.isFlatShading()!==!0&&(t=eM(t)),t},"vec3").once(["NORMAL","VERTEX"])().toVar("bitangentView"),qMe=NK(m_.cross(wTe),"v_bitangentWorld").normalize().toVar("bitangentWorld"),gx=Q0(bK,vTe,ro).toVar("TBNViewMatrix"),RTe=rr.mul(gx),$Me=(e,t)=>e.sub(RTe.mul(t)),STe=Wt(()=>{let e=Rx.cross(rr);return e=e.cross(Rx).normalize(),e=zs(e,ro,XN.mul(M2.oneMinus()).oneMinus().pow2().pow2()).normalize(),e}).once()(),ATe=e=>gn(e).mul(.5).add(.5),ZMe=e=>gn(e).mul(2).sub(1),Ore=e=>Gt(e,aI(wK(Et(1).sub(gE(e,e))))),Lre=class extends Fl{static get type(){return"NormalMapNode"}constructor(t,i=null){super("vec3"),this.node=t,this.scaleNode=i,this.normalMapType=kI,this.unpackNormalMode=ZP}setup(t){let{normalMapType:i,scaleNode:n,unpackNormalMode:s}=this,o=this.node.mul(2).sub(1);if(i===kI?s===cG?o=Ore(o.xy):s===$Y?o=Ore(o.yw):s!==ZP&&yi(`THREE.NodeMaterial: Unexpected unpack normal mode: ${s}`):s!==ZP&&yi(`THREE.NodeMaterial: Normal map type '${i}' is not compatible with unpack normal mode '${s}'`),n!==null){let l=n;t.isFlatShading()===!0&&(l=eM(l)),o=Gt(o.xy.mul(l),o.z)}let r=null;return i===uG?r=pce(o):i===kI?r=gx.mul(o).normalize():(yi(`NodeMaterial: Unsupported normal map type: ${i}`),r=ro),r}},Pre=ys(Lre).setParameterLength(1,2),KMe=Wt(({textureNode:e,bumpScale:t})=>{let i=s=>e.isolate().context({getUV:o=>s(o.uvNode||er()),forceUVContext:!0}),n=Et(i(s=>s));return Hi(Et(i(s=>s.add(s.dFdx()))).sub(n),Et(i(s=>s.add(s.dFdy()))).sub(n)).mul(t)}),QMe=Wt(e=>{let{surf_pos:t,surf_norm:i,dHdxy:n}=e,s=t.dFdx().normalize(),o=t.dFdy().normalize(),r=i,l=o.cross(r),d=r.cross(s),h=s.dot(l).mul(fce),p=h.sign().mul(n.x.mul(l).add(n.y.mul(d)));return h.abs().mul(i).sub(p).normalize()}),Mre=class extends Fl{static get type(){return"BumpMapNode"}constructor(t,i=null){super("vec3"),this.textureNode=t,this.scaleNode=i}setup(){let t=this.scaleNode!==null?this.scaleNode:1,i=KMe({textureNode:this.textureNode,bumpScale:t});return QMe({surf_pos:Tu,surf_norm:ro,dHdxy:i})}},yce=ys(Mre).setParameterLength(1,2),u1e=new Map,Li=class e extends Sn{static get type(){return"MaterialNode"}constructor(t){super(),this.scope=t}getCache(t,i){let n=u1e.get(t);return n===void 0&&(n=VS(t,i),u1e.set(t,n)),n}getFloat(t){return this.getCache(t,"float")}getColor(t){return this.getCache(t,"color")}getTexture(t){return this.getCache(t==="map"?"map":t+"Map","texture")}setup(t){let i=t.context.material,n=this.scope,s=null;if(n===e.COLOR){let o=i.color!==void 0?this.getColor(n):Gt();i.map&&i.map.isTexture===!0?s=o.mul(this.getTexture("map")):s=o}else if(n===e.OPACITY){let o=this.getFloat(n);i.alphaMap&&i.alphaMap.isTexture===!0?s=o.mul(this.getTexture("alpha")):s=o}else if(n===e.SPECULAR_STRENGTH)i.specularMap&&i.specularMap.isTexture===!0?s=this.getTexture("specular").r:s=Et(1);else if(n===e.SPECULAR_INTENSITY){let o=this.getFloat(n);i.specularIntensityMap&&i.specularIntensityMap.isTexture===!0?s=o.mul(this.getTexture(n).a):s=o}else if(n===e.SPECULAR_COLOR){let o=this.getColor(n);i.specularColorMap&&i.specularColorMap.isTexture===!0?s=o.mul(this.getTexture(n).rgb):s=o}else if(n===e.ROUGHNESS){let o=this.getFloat(n);i.roughnessMap&&i.roughnessMap.isTexture===!0?s=o.mul(this.getTexture(n).g):s=o}else if(n===e.METALNESS){let o=this.getFloat(n);i.metalnessMap&&i.metalnessMap.isTexture===!0?s=o.mul(this.getTexture(n).b):s=o}else if(n===e.EMISSIVE){let o=this.getFloat("emissiveIntensity"),r=this.getColor(n).mul(o);i.emissiveMap&&i.emissiveMap.isTexture===!0?s=r.mul(this.getTexture(n)):s=r}else if(n===e.NORMAL)i.normalMap?(s=Pre(this.getTexture("normal"),this.getCache("normalScale","vec2")),s.normalMapType=i.normalMapType,(i.normalMap.format==Dc||i.normalMap.format==YT||i.normalMap.format==WT)&&(s.unpackNormalMode=cG)):i.bumpMap?s=yce(this.getTexture("bump").r,this.getFloat("bumpScale")):s=ro;else if(n===e.CLEARCOAT){let o=this.getFloat(n);i.clearcoatMap&&i.clearcoatMap.isTexture===!0?s=o.mul(this.getTexture(n).r):s=o}else if(n===e.CLEARCOAT_ROUGHNESS){let o=this.getFloat(n);i.clearcoatRoughnessMap&&i.clearcoatRoughnessMap.isTexture===!0?s=o.mul(this.getTexture(n).r):s=o}else if(n===e.CLEARCOAT_NORMAL)i.clearcoatNormalMap?s=Pre(this.getTexture(n),this.getCache(n+"Scale","vec2")):s=ro;else if(n===e.SHEEN){let o=this.getColor("sheenColor").mul(this.getFloat("sheen"));i.sheenColorMap&&i.sheenColorMap.isTexture===!0?s=o.mul(this.getTexture("sheenColor").rgb):s=o}else if(n===e.SHEEN_ROUGHNESS){let o=this.getFloat(n);i.sheenRoughnessMap&&i.sheenRoughnessMap.isTexture===!0?s=o.mul(this.getTexture(n).a):s=o,s=s.clamp(1e-4,1)}else if(n===e.ANISOTROPY)if(i.anisotropyMap&&i.anisotropyMap.isTexture===!0){let o=this.getTexture(n);s=IK(P8.x,P8.y,P8.y.negate(),P8.x).mul(o.rg.mul(2).sub(Hi(1)).normalize().mul(o.b))}else s=P8;else if(n===e.IRIDESCENCE_THICKNESS){let o=Ar("1","float",i.iridescenceThicknessRange);if(i.iridescenceThicknessMap){let r=Ar("0","float",i.iridescenceThicknessRange);s=o.sub(r).mul(this.getTexture(n).g).add(r)}else s=o}else if(n===e.TRANSMISSION){let o=this.getFloat(n);i.transmissionMap?s=o.mul(this.getTexture(n).r):s=o}else if(n===e.THICKNESS){let o=this.getFloat(n);i.thicknessMap?s=o.mul(this.getTexture(n).g):s=o}else if(n===e.IOR)s=this.getFloat(n);else if(n===e.LIGHT_MAP)s=this.getTexture(n).rgb.mul(this.getFloat("lightMapIntensity"));else if(n===e.AO)s=this.getTexture(n).r.sub(1).mul(this.getFloat("aoMapIntensity")).add(1);else if(n===e.LINE_DASH_OFFSET)s=i.dashOffset?this.getFloat(n):Et(0);else{let o=this.getNodeType(t);s=this.getCache(n,o)}return s}};Li.ALPHA_TEST="alphaTest";Li.COLOR="color";Li.OPACITY="opacity";Li.SHININESS="shininess";Li.SPECULAR="specular";Li.SPECULAR_STRENGTH="specularStrength";Li.SPECULAR_INTENSITY="specularIntensity";Li.SPECULAR_COLOR="specularColor";Li.REFLECTIVITY="reflectivity";Li.ROUGHNESS="roughness";Li.METALNESS="metalness";Li.NORMAL="normal";Li.CLEARCOAT="clearcoat";Li.CLEARCOAT_ROUGHNESS="clearcoatRoughness";Li.CLEARCOAT_NORMAL="clearcoatNormal";Li.EMISSIVE="emissive";Li.ROTATION="rotation";Li.SHEEN="sheen";Li.SHEEN_ROUGHNESS="sheenRoughness";Li.ANISOTROPY="anisotropy";Li.IRIDESCENCE="iridescence";Li.IRIDESCENCE_IOR="iridescenceIOR";Li.IRIDESCENCE_THICKNESS="iridescenceThickness";Li.IOR="ior";Li.TRANSMISSION="transmission";Li.THICKNESS="thickness";Li.ATTENUATION_DISTANCE="attenuationDistance";Li.ATTENUATION_COLOR="attenuationColor";Li.LINE_SCALE="scale";Li.LINE_DASH_SIZE="dashSize";Li.LINE_GAP_SIZE="gapSize";Li.LINE_WIDTH="linewidth";Li.LINE_DASH_OFFSET="dashOffset";Li.POINT_SIZE="size";Li.DISPERSION="dispersion";Li.LIGHT_MAP="light";Li.AO="ao";var bTe=en(Li,Li.ALPHA_TEST),NTe=en(Li,Li.COLOR),_Te=en(Li,Li.SHININESS),DTe=en(Li,Li.EMISSIVE),Ece=en(Li,Li.OPACITY),CTe=en(Li,Li.SPECULAR),Bre=en(Li,Li.SPECULAR_INTENSITY),xTe=en(Li,Li.SPECULAR_COLOR),Mk=en(Li,Li.SPECULAR_STRENGTH),nZ=en(Li,Li.REFLECTIVITY),OTe=en(Li,Li.ROUGHNESS),LTe=en(Li,Li.METALNESS),PTe=en(Li,Li.NORMAL),MTe=en(Li,Li.CLEARCOAT),BTe=en(Li,Li.CLEARCOAT_ROUGHNESS),FTe=en(Li,Li.CLEARCOAT_NORMAL),UTe=en(Li,Li.ROTATION),HTe=en(Li,Li.SHEEN),GTe=en(Li,Li.SHEEN_ROUGHNESS),VTe=en(Li,Li.ANISOTROPY),kTe=en(Li,Li.IRIDESCENCE),zTe=en(Li,Li.IRIDESCENCE_IOR),WTe=en(Li,Li.IRIDESCENCE_THICKNESS),YTe=en(Li,Li.TRANSMISSION),jTe=en(Li,Li.THICKNESS),qTe=en(Li,Li.IOR),$Te=en(Li,Li.ATTENUATION_DISTANCE),ZTe=en(Li,Li.ATTENUATION_COLOR),KTe=en(Li,Li.LINE_SCALE),QTe=en(Li,Li.LINE_DASH_SIZE),JTe=en(Li,Li.LINE_GAP_SIZE),JMe=en(Li,Li.LINE_WIDTH),XTe=en(Li,Li.LINE_DASH_OFFSET),e3e=en(Li,Li.POINT_SIZE),t3e=en(Li,Li.DISPERSION),Tce=en(Li,Li.LIGHT_MAP),i3e=en(Li,Li.AO),P8=Nn(new hi).onReference(function(e){return e.material}).onRenderUpdate(function({material:e}){this.value.set(e.anisotropy*Math.cos(e.anisotropyRotation),e.anisotropy*Math.sin(e.anisotropyRotation))}),n3e=Wt(e=>e.context.setupModelViewProjection(),"vec4").once()().toVarying("v_modelViewProjection"),Fre=class extends YS{static get type(){return"StorageArrayElementNode"}constructor(t,i){super(t,i),this.isStorageArrayElementNode=!0}set storageBufferNode(t){this.node=t}get storageBufferNode(){return this.node}getMemberType(t,i){let n=this.storageBufferNode.structTypeNode;return n?n.getMemberType(t,i):"void"}setup(t){return t.isAvailable("storageBuffer")===!1&&this.node.isPBO===!0&&t.setupPBO(this.node),super.setup(t)}generate(t,i){let n,s=t.context.assign;if(t.isAvailable("storageBuffer")===!1?this.node.isPBO===!0&&s!==!0&&(this.node.value.isInstancedBufferAttribute||t.shaderStage!=="compute")?n=t.generatePBO(this):n=this.node.build(t):n=super.generate(t),s!==!0){let o=this.getNodeType(t);n=t.format(n,o,i)}return n}},XMe=ys(Fre).setParameterLength(2),Ure=class extends Wk{static get type(){return"StorageBufferNode"}constructor(t,i=null,n=0){let s,o=null;i&&i.isStruct?(s="struct",o=i.layout,(t.isStorageBufferAttribute||t.isStorageInstancedBufferAttribute)&&(n=t.count)):i===null&&(t.isStorageBufferAttribute||t.isStorageInstancedBufferAttribute)?(s=yye(t.itemSize),n=t.count):s=i,super(t,s,n),this.isStorageBufferNode=!0,this.structTypeNode=o,this.access=jh.READ_WRITE,this.isAtomic=!1,this.isPBO=!1,this._attribute=null,this._varying=null,this.global=!0,t.isStorageBufferAttribute!==!0&&t.isStorageInstancedBufferAttribute!==!0&&(t.isInstancedBufferAttribute?t.isStorageInstancedBufferAttribute=!0:t.isStorageBufferAttribute=!0)}getHash(t){let i;if(this.bufferCount===0){let n=t.globalCache.getData(this.value);n===void 0&&(n={node:this},t.globalCache.setData(this.value,n)),i=n.node.id}else i=this.id;return String(i)}getInputType(){return this.value.isIndirectStorageBufferAttribute?"indirectStorageBuffer":"storageBuffer"}element(t){return XMe(this,t)}setPBO(t){return this.isPBO=t,this}getPBO(){return this.isPBO}setAccess(t){return this.access=t,this}toReadOnly(){return this.setAccess(jh.READ_ONLY)}setAtomic(t){return this.isAtomic=t,this}toAtomic(){return this.setAtomic(!0)}getAttributeData(){return this._attribute===null&&(this._attribute=sce(this.value),this._varying=f_(this._attribute)),{attribute:this._attribute,varying:this._varying}}generateNodeType(t){if(this.structTypeNode!==null)return this.structTypeNode.getNodeType(t);if(t.isAvailable("storageBuffer")||t.isAvailable("indirectStorageBuffer"))return super.generateNodeType(t);let{attribute:i}=this.getAttributeData();return i.getNodeType(t)}getMemberType(t,i){return this.structTypeNode!==null?this.structTypeNode.getMemberType(t,i):"void"}generate(t){if(this.structTypeNode!==null&&this.structTypeNode.build(t),t.isAvailable("storageBuffer")||t.isAvailable("indirectStorageBuffer"))return super.generate(t);let{attribute:i,varying:n}=this.getAttributeData(),s=n.build(t);return t.registerTransform(s,i),s}},u_=(e,t=null,i=0)=>new Ure(e,t,i),RZ=class extends Sn{static get type(){return"InstanceNode"}constructor(t,i,n=null){super("void"),this.count=t,this.instanceMatrix=i,this.instanceColor=n,this.instanceMatrixNode=null,this.instanceColorNode=null,this.updateType=Zn.FRAME,this.buffer=null,this.bufferColor=null,this.previousInstanceMatrixNode=null}get isStorageMatrix(){let{instanceMatrix:t}=this;return t&&t.isStorageInstancedBufferAttribute===!0}get isStorageColor(){let{instanceColor:t}=this;return t&&t.isStorageInstancedBufferAttribute===!0}setup(t){let{instanceMatrixNode:i,instanceColorNode:n}=this;i===null&&(i=this._createInstanceMatrixNode(!0,t),this.instanceMatrixNode=i);let{instanceColor:s,isStorageColor:o}=this;if(s&&n===null){if(o)n=u_(s,"vec3",Math.max(s.count,1)).element(B3);else{let l=new B0(s.array,3),d=s.usage===Xb?dre:TZ;this.bufferColor=l,n=Gt(d(l,"vec3",3,0))}this.instanceColorNode=n}let r=i.mul(Ml).xyz;if(Ml.assign(r),t.needsPreviousData()&&Y8.assign(this.getPreviousInstancedPosition(t)),t.hasGeometryAttribute("normal")){let l=lTe(om,i);om.assign(l)}this.instanceColorNode!==null&&kk("vec3","vInstanceColor").assign(this.instanceColorNode)}update(t){this.buffer!==null&&this.isStorageMatrix!==!0&&(this.buffer.clearUpdateRanges(),this.buffer.updateRanges.push(...this.instanceMatrix.updateRanges),this.instanceMatrix.version!==this.buffer.version&&(this.buffer.version=this.instanceMatrix.version)),this.instanceColor&&this.bufferColor!==null&&this.isStorageColor!==!0&&(this.bufferColor.clearUpdateRanges(),this.bufferColor.updateRanges.push(...this.instanceColor.updateRanges),this.instanceColor.version!==this.bufferColor.version&&(this.bufferColor.version=this.instanceColor.version)),this.previousInstanceMatrixNode!==null&&t.object.previousInstanceMatrix.array.set(this.instanceMatrix.array)}getPreviousInstancedPosition(t){let i=t.object;return this.previousInstanceMatrixNode===null&&(i.previousInstanceMatrix=this.instanceMatrix.clone(),this.previousInstanceMatrixNode=this._createInstanceMatrixNode(!1,t)),this.previousInstanceMatrixNode.mul(Y8).xyz}_createInstanceMatrixNode(t,i){let n,{instanceMatrix:s}=this,{count:o}=s;if(this.isStorageMatrix)n=u_(s,"mat4",Math.max(o,1)).element(B3);else if(o*16*4<=i.getUniformBufferLimit())n=rz(s.array,"mat4",Math.max(o,1)).element(B3);else{let l=new Dm(s.array,16,1);t===!0&&(this.buffer=l);let d=s.usage===Xb?dre:TZ,h=[d(l,"vec4",16,0),d(l,"vec4",16,4),d(l,"vec4",16,8),d(l,"vec4",16,12)];n=l_(...h)}return n}},eBe=ys(RZ).setParameterLength(2,3),Hre=class extends RZ{static get type(){return"InstancedMeshNode"}constructor(t){let{count:i,instanceMatrix:n,instanceColor:s}=t;super(i,n,s),this.instancedMesh=t}},s3e=ys(Hre).setParameterLength(1),Gre=class extends Sn{static get type(){return"BatchNode"}constructor(t){super("void"),this.batchMesh=t,this.batchingIdNode=null}setup(t){this.batchingIdNode===null&&(t.getDrawIndex()===null?this.batchingIdNode=B3:this.batchingIdNode=zEe);let n=Wt(([T])=>{let R=Ot(a_(Oa(this.batchMesh._indirectTexture),0).x).toConst(),b=Ot(T).mod(R).toConst(),A=Ot(T).div(R).toConst();return Oa(this.batchMesh._indirectTexture,Mc(b,A)).x}).setLayout({name:"getIndirectIndex",type:"uint",inputs:[{name:"id",type:"int"}]})(Ot(this.batchingIdNode)),s=this.batchMesh._matricesTexture,o=Ot(a_(Oa(s),0).x).toConst(),r=Et(n).mul(4).toInt().toConst(),l=r.mod(o).toConst(),d=r.div(o).toConst(),h=l_(Oa(s,Mc(l,d)),Oa(s,Mc(l.add(1),d)),Oa(s,Mc(l.add(2),d)),Oa(s,Mc(l.add(3),d))),p=this.batchMesh._colorsTexture;if(p!==null){let R=Wt(([b])=>{let A=Ot(a_(Oa(p),0).x).toConst(),O=b,P=O.mod(A).toConst(),U=O.div(A).toConst();return Oa(p,Mc(P,U)).rgb}).setLayout({name:"getBatchingColor",type:"vec3",inputs:[{name:"id",type:"int"}]})(n);kk("vec3","vBatchColor").assign(R)}let I=Q0(h);Ml.assign(h.mul(Ml));let m=om.div(Gt(I[0].dot(I[0]),I[1].dot(I[1]),I[2].dot(I[2]))),y=I.mul(m).xyz;om.assign(y),t.hasGeometryAttribute("tangent")&&$8.mulAssign(I)}},o3e=ys(Gre).setParameterLength(1),c1e=new WeakMap,SZ=class extends Sn{static get type(){return"SkinningNode"}constructor(t){super("void"),this.skinnedMesh=t,this.updateType=Zn.OBJECT,this.skinIndexNode=qS("skinIndex","uvec4"),this.skinWeightNode=qS("skinWeight","vec4"),this.bindMatrixNode=Ar("bindMatrix","mat4"),this.bindMatrixInverseNode=Ar("bindMatrixInverse","mat4"),this.boneMatricesNode=_re("skeleton.boneMatrices","mat4",t.skeleton.bones.length),this.positionNode=Ml,this.toPositionNode=Ml,this.previousBoneMatricesNode=null}getSkinnedPosition(t=this.boneMatricesNode,i=this.positionNode){let{skinIndexNode:n,skinWeightNode:s,bindMatrixNode:o,bindMatrixInverseNode:r}=this,l=t.element(n.x),d=t.element(n.y),h=t.element(n.z),p=t.element(n.w),I=o.mul(i),m=yc(l.mul(s.x).mul(I),d.mul(s.y).mul(I),h.mul(s.z).mul(I),p.mul(s.w).mul(I));return r.mul(m).xyz}getSkinnedNormalAndTangent(t=this.boneMatricesNode,i=om,n=$8){let{skinIndexNode:s,skinWeightNode:o,bindMatrixNode:r,bindMatrixInverseNode:l}=this,d=t.element(s.x),h=t.element(s.y),p=t.element(s.z),I=t.element(s.w),m=yc(o.x.mul(d),o.y.mul(h),o.z.mul(p),o.w.mul(I));m=l.mul(m).mul(r);let y=m.transformDirection(i).xyz,T=m.transformDirection(n).xyz;return{skinNormal:y,skinTangent:T}}getPreviousSkinnedPosition(t){let i=t.object;return this.previousBoneMatricesNode===null&&(i.skeleton.previousBoneMatrices=new Float32Array(i.skeleton.boneMatrices),this.previousBoneMatricesNode=_re("skeleton.previousBoneMatrices","mat4",i.skeleton.bones.length)),this.getSkinnedPosition(this.previousBoneMatricesNode,Y8)}setup(t){t.needsPreviousData()&&Y8.assign(this.getPreviousSkinnedPosition(t));let i=this.getSkinnedPosition();if(this.toPositionNode&&this.toPositionNode.assign(i),t.hasGeometryAttribute("normal")){let{skinNormal:n,skinTangent:s}=this.getSkinnedNormalAndTangent();om.assign(n),t.hasGeometryAttribute("tangent")&&$8.assign(s)}return i}generate(t,i){if(i!=="void")return super.generate(t,i)}update(t){let i=t.object&&t.object.skeleton?t.object.skeleton:this.skinnedMesh.skeleton;c1e.get(i)!==t.frameId&&(c1e.set(i,t.frameId),this.previousBoneMatricesNode!==null&&(i.previousBoneMatrices===null&&(i.previousBoneMatrices=new Float32Array(i.boneMatrices)),i.previousBoneMatrices.set(i.boneMatrices)),i.update())}},r3e=e=>new SZ(e),tBe=(e,t=null)=>{let i=new SZ(e);return i.positionNode=u_(new B0(e.geometry.getAttribute("position").array,3),"vec3").setPBO(!0).toReadOnly().element(B3).toVar(),i.skinIndexNode=u_(new B0(new Uint32Array(e.geometry.getAttribute("skinIndex").array),4),"uvec4").setPBO(!0).toReadOnly().element(B3).toVar(),i.skinWeightNode=u_(new B0(e.geometry.getAttribute("skinWeight").array,4),"vec4").setPBO(!0).toReadOnly().element(B3).toVar(),i.bindMatrixNode=Nn(e.bindMatrix,"mat4"),i.bindMatrixInverseNode=Nn(e.bindMatrixInverse,"mat4"),i.boneMatricesNode=rz(e.skeleton.boneMatrices,"mat4",e.skeleton.bones.length),i.toPositionNode=t,gn(i)},Vre=class extends Sn{static get type(){return"LoopNode"}constructor(t=[]){super("void"),this.params=t}getVarName(t){return String.fromCharCode(105+t)}getProperties(t){let i=t.getNodeProperties(this);if(i.stackNode!==void 0)return i;let n={};for(let l=0,d=this.params.length-1;l<d;l++){let h=this.params[l],p=h.isNode!==!0&&h.name||this.getVarName(l),I=h.isNode!==!0&&h.type||"int";n[p]=P1(p,I)}let s=t.addStack(),o=this.params[this.params.length-1](n);i.returnsNode=o.context({nodeLoop:o}),i.stackNode=s;let r=this.params[0];if(r.isNode!==!0&&typeof r.update=="function"){let l=Wt(this.params[0].update)(n);i.updateNode=l.context({nodeLoop:l})}return t.removeStack(),i}setup(t){if(this.getProperties(t),t.fnCall){let i=t.getDataFromNode(t.fnCall.shaderNode);i.hasLoop=!0}}generate(t){let i=this.getProperties(t),n=this.params,s=i.stackNode;for(let r=0,l=n.length-1;r<l;r++){let d=n[r],h=!1,p=null,I=null,m=null,y=null,T=null,R=null;d.isNode?d.getNodeType(t)==="bool"?(h=!0,y="bool",I=d.build(t,y)):(y="int",m=this.getVarName(r),p="0",I=d.build(t,y),T="<"):(y=d.type||"int",m=d.name||this.getVarName(r),p=d.start,I=d.end,T=d.condition,R=d.update,typeof p=="number"?p=t.generateConst(y,p):p&&p.isNode&&(p=p.build(t,y)),typeof I=="number"?I=t.generateConst(y,I):I&&I.isNode&&(I=I.build(t,y)),p!==void 0&&I===void 0?(p=p+" - 1",I="0",T=">="):I!==void 0&&p===void 0&&(p="0",T="<"),T===void 0&&(Number(p)>Number(I)?T=">=":T="<"));let b;if(h)b=`while ( ${I} )`;else{let A={start:p,end:I},O=A.start,P=A.end,U,Z=()=>T.includes("<")?"+=":"-=";if(R!=null)switch(typeof R){case"function":U=t.flowStagesNode(i.updateNode,"void").code.replace(/\t|;/g,"");break;case"number":U=m+" "+Z()+" "+t.generateConst(y,R);break;case"string":U=m+" "+R;break;default:R.isNode?U=m+" "+Z()+" "+R.build(t):(yi("TSL: 'Loop( { update: ... } )' is not a function, string or number.",this.stackTrace),U="break /* invalid update */")}else y==="int"||y==="uint"?R=T.includes("<")?"++":"--":R=Z()+" 1.",U=m+" "+R;let ne=t.getVar(y,m)+" = "+O,K=m+" "+T+" "+P;b=`for ( ${ne}; ${K}; ${U} )`}t.addFlowCode((r===0?`
|
||
`:"")+t.tab+b+` {
|
||
|
||
`).addFlowTab()}let o=s.build(t,"void");i.returnsNode.build(t,"void"),t.removeFlowTab().addFlowCode(`
|
||
`+t.tab+o);for(let r=0,l=this.params.length-1;r<l;r++)t.addFlowCode((r===0?"":t.tab)+`}
|
||
|
||
`).removeFlowTab();t.addFlowTab()}},zo=(...e)=>new Vre(vx(e,"int")).toStack(),iBe=()=>P1("continue").toStack(),l3e=()=>P1("break").toStack(),Eoe=new WeakMap,x1=new xn,d1e=Wt(({bufferMap:e,influence:t,stride:i,width:n,depth:s,offset:o})=>{let r=Ot(kEe).mul(i).add(o),l=r.div(n),d=r.sub(l.mul(n));return Oa(e,Mc(d,l)).depth(s).xyz.mul(t)});function nBe(e){let t=e.morphAttributes.position!==void 0,i=e.morphAttributes.normal!==void 0,n=e.morphAttributes.color!==void 0,s=e.morphAttributes.position||e.morphAttributes.normal||e.morphAttributes.color,o=s!==void 0?s.length:0,r=Eoe.get(e);if(r===void 0||r.count!==o){let A=function(){R.dispose(),Eoe.delete(e),e.removeEventListener("dispose",A)};r!==void 0&&r.texture.dispose();let l=e.morphAttributes.position||[],d=e.morphAttributes.normal||[],h=e.morphAttributes.color||[],p=0;t===!0&&(p=1),i===!0&&(p=2),n===!0&&(p=3);let I=e.attributes.position.count*p,m=1,y=4096;I>y&&(m=Math.ceil(I/y),I=y);let T=new Float32Array(I*m*4*o),R=new Yv(T,I,m,o);R.type=Ro,R.needsUpdate=!0;let b=p*4;for(let O=0;O<o;O++){let P=l[O],U=d[O],Z=h[O],ne=I*m*4*O;for(let K=0;K<P.count;K++){let oe=K*b;t===!0&&(x1.fromBufferAttribute(P,K),T[ne+oe+0]=x1.x,T[ne+oe+1]=x1.y,T[ne+oe+2]=x1.z,T[ne+oe+3]=0),i===!0&&(x1.fromBufferAttribute(U,K),T[ne+oe+4]=x1.x,T[ne+oe+5]=x1.y,T[ne+oe+6]=x1.z,T[ne+oe+7]=0),n===!0&&(x1.fromBufferAttribute(Z,K),T[ne+oe+8]=x1.x,T[ne+oe+9]=x1.y,T[ne+oe+10]=x1.z,T[ne+oe+11]=Z.itemSize===4?x1.w:1)}}r={count:o,texture:R,stride:p,size:new hi(I,m)},Eoe.set(e,r),e.addEventListener("dispose",A)}return r}var kre=class extends Sn{static get type(){return"MorphNode"}constructor(t){super("void"),this.mesh=t,this.morphBaseInfluence=Nn(1),this.updateType=Zn.OBJECT}setup(t){let{geometry:i}=t,n=i.morphAttributes.position!==void 0,s=i.hasAttribute("normal")&&i.morphAttributes.normal!==void 0,o=i.morphAttributes.position||i.morphAttributes.normal||i.morphAttributes.color,r=o!==void 0?o.length:0,{texture:l,stride:d,size:h}=nBe(i);n===!0&&Ml.mulAssign(this.morphBaseInfluence),s===!0&&om.mulAssign(this.morphBaseInfluence);let p=Ot(h.width);zo(r,({i:I})=>{let m=Et(0).toVar();this.mesh.count>1&&this.mesh.morphTexture!==null&&this.mesh.morphTexture!==void 0?m.assign(Oa(this.mesh.morphTexture,Mc(Ot(I).add(1),Ot(B3))).r):m.assign(Ar("morphTargetInfluences","float").element(I).toVar()),Fn(m.notEqual(0),()=>{n===!0&&Ml.addAssign(d1e({bufferMap:l,influence:m,stride:d,width:p,depth:I,offset:Ot(0)})),s===!0&&om.addAssign(d1e({bufferMap:l,influence:m,stride:d,width:p,depth:I,offset:Ot(1)}))})})}update(){let t=this.morphBaseInfluence;this.mesh.geometry.morphTargetsRelative?t.value=1:t.value=1-this.mesh.morphTargetInfluences.reduce((i,n)=>i+n,0)}},a3e=ys(kre).setParameterLength(1),h_=class extends Sn{static get type(){return"LightingNode"}constructor(){super("vec3"),this.isLightingNode=!0}},zre=class extends h_{static get type(){return"AONode"}constructor(t=null){super(),this.aoNode=t}setup(t){t.context.ambientOcclusion.mulAssign(this.aoNode)}},Wre=class extends yZ{static get type(){return"LightingContextNode"}constructor(t,i=null,n=null,s=null){super(t),this.lightingModel=i,this.backdropNode=n,this.backdropAlphaNode=s,this._value=null}getContext(){let{backdropNode:t,backdropAlphaNode:i}=this,n=Gt().toVar("directDiffuse"),s=Gt().toVar("directSpecular"),o=Gt().toVar("indirectDiffuse"),r=Gt().toVar("indirectSpecular"),l={directDiffuse:n,directSpecular:s,indirectDiffuse:o,indirectSpecular:r};return{radiance:Gt().toVar("radiance"),irradiance:Gt().toVar("irradiance"),iblIrradiance:Gt().toVar("iblIrradiance"),ambientOcclusion:Et(1).toVar("ambientOcclusion"),reflectedLight:l,backdrop:t,backdropAlpha:i}}setup(t){return this.value=this._value||(this._value=this.getContext()),this.value.lightingModel=this.lightingModel||t.context.lightingModel,super.setup(t)}},u3e=ys(Wre),Yre=class extends h_{static get type(){return"IrradianceNode"}constructor(t){super(),this.node=t}setup(t){t.context.irradiance.addAssign(this.node)}},cx=new hi,Z8=class extends wE{static get type(){return"ViewportTextureNode"}constructor(t=G2,i=null,n=null){let s=null;n===null?(s=new Mb,s.minFilter=qc,n=s):s=n,super(n,t,i),this.generateMipmaps=!1,this.defaultFramebuffer=s,this.isOutputTextureNode=!0,this.updateBeforeType=Zn.RENDER,this._cacheTextures=new WeakMap}getTextureForReference(t=null){let i,n;if(this.referenceNode?(i=this.referenceNode.defaultFramebuffer,n=this.referenceNode._cacheTextures):(i=this.defaultFramebuffer,n=this._cacheTextures),t===null)return i;if(n.has(t)===!1){let s=i.clone();n.set(t,s)}return n.get(t)}updateReference(t){let i=t.renderer,n=i.getRenderTarget(),s=i.getCanvasTarget(),o=n||s;return this.value=this.getTextureForReference(o),this.value}updateBefore(t){let i=t.renderer,n=i.getRenderTarget(),s=i.getCanvasTarget(),o=n||s;o===null?i.getDrawingBufferSize(cx):o.getDrawingBufferSize?o.getDrawingBufferSize(cx):cx.set(o.width,o.height);let r=this.getTextureForReference(o);(r.image.width!==cx.width||r.image.height!==cx.height)&&(r.image.width=cx.width,r.image.height=cx.height,r.needsUpdate=!0);let l=r.generateMipmaps;r.generateMipmaps=this.generateMipmaps,i.copyFramebufferToTexture(r),r.generateMipmaps=l}clone(){let t=new this.constructor(this.uvNode,this.levelNode,this.value);return t.generateMipmaps=this.generateMipmaps,t}},sBe=ys(Z8).setParameterLength(0,3),gce=ys(Z8,null,null,{generateMipmaps:!0}).setParameterLength(0,3),oBe=gce(),c3e=(e=G2,t=null)=>oBe.sample(e,t),Toe=null,jre=class extends Z8{static get type(){return"ViewportDepthTextureNode"}constructor(t=G2,i=null,n=null){n===null&&(Toe===null&&(Toe=new Zl),n=Toe),super(t,i,n)}},wce=ys(jre).setParameterLength(0,3),G3=class e extends Sn{static get type(){return"ViewportDepthNode"}constructor(t,i=null){super("float"),this.scope=t,this.valueNode=i,this.isViewportDepthNode=!0}generate(t){let{scope:i}=this;return i===e.DEPTH_BASE?t.getFragDepth():super.generate(t)}setup({camera:t}){let{scope:i}=this,n=this.valueNode,s=null;if(i===e.DEPTH_BASE)n!==null&&(s=h3e().assign(n));else if(i===e.DEPTH)t.isPerspectiveCamera?s=vce(Tu.z,t_,i_):s=k8(Tu.z,t_,i_);else if(i===e.LINEAR_DEPTH)if(n!==null)if(t.isPerspectiveCamera){let o=Rce(n,t_,i_);s=k8(o,t_,i_)}else s=n;else s=k8(Tu.z,t_,i_);return s}};G3.DEPTH_BASE="depthBase";G3.DEPTH="depth";G3.LINEAR_DEPTH="linearDepth";var k8=(e,t,i)=>e.add(t).div(t.sub(i)),rBe=(e,t,i)=>e.add(i).div(i.sub(t)),lBe=Wt(([e,t,i],n)=>n.renderer.reversedDepthBuffer===!0?i.sub(t).mul(e).sub(i):t.sub(i).mul(e).sub(t)),vce=(e,t,i)=>t.add(e).mul(i).div(i.sub(t).mul(e)),d3e=(e,t,i)=>t.mul(e.add(i)).div(e.mul(t.sub(i))),Rce=Wt(([e,t,i],n)=>n.renderer.reversedDepthBuffer===!0?t.mul(i).div(t.sub(i).mul(e).sub(t)):t.mul(i).div(i.sub(t).mul(e).sub(i))),Sce=(e,t,i)=>{t=t.max(1e-6).toVar();let n=F2(e.negate().div(t)),s=F2(i.div(t));return n.div(s)},aBe=(e,t,i)=>{let n=e.mul(TK(i.div(t)));return Et(Math.E).pow(n).mul(t).negate()},h3e=ys(G3,G3.DEPTH_BASE),Ace=en(G3,G3.DEPTH),AZ=ys(G3,G3.LINEAR_DEPTH).setParameterLength(0,1),uBe=AZ(wce());Ace.assign=e=>h3e(e);var z2=class e extends Sn{static get type(){return"ClippingNode"}constructor(t=e.DEFAULT){super(),this.scope=t}setup(t){super.setup(t);let i=t.clippingContext,{intersectionPlanes:n,unionPlanes:s}=i;return this.hardwareClipping=t.material.hardwareClipping,this.scope===e.ALPHA_TO_COVERAGE?this.setupAlphaToCoverage(n,s):this.scope===e.HARDWARE?this.setupHardwareClipping(s,t):this.setupDefault(n,s)}setupAlphaToCoverage(t,i){return Wt(()=>{let n=Et().toVar("distanceToPlane"),s=Et().toVar("distanceToGradient"),o=Et(1).toVar("clipOpacity"),r=i.length;if(this.hardwareClipping===!1&&r>0){let d=Yf(i).setGroup(Mn);zo(r,({i:h})=>{let p=d.element(h);n.assign(Tu.dot(p.xyz).negate().add(p.w)),s.assign(n.fwidth().div(2)),o.mulAssign(H3(s.negate(),s,n))})}let l=t.length;if(l>0){let d=Yf(t).setGroup(Mn),h=Et(1).toVar("intersectionClipOpacity");zo(l,({i:p})=>{let I=d.element(p);n.assign(Tu.dot(I.xyz).negate().add(I.w)),s.assign(n.fwidth().div(2)),h.mulAssign(H3(s.negate(),s,n).oneMinus())}),o.mulAssign(h.oneMinus())}ko.a.mulAssign(o),ko.a.equal(0).discard()})()}setupDefault(t,i){return Wt(()=>{let n=i.length;if(this.hardwareClipping===!1&&n>0){let o=Yf(i).setGroup(Mn);zo(n,({i:r})=>{let l=o.element(r);Tu.dot(l.xyz).greaterThan(l.w).discard()})}let s=t.length;if(s>0){let o=Yf(t).setGroup(Mn),r=M1(!0).toVar("clipped");zo(s,({i:l})=>{let d=o.element(l);r.assign(Tu.dot(d.xyz).greaterThan(d.w).and(r))}),r.discard()}})()}setupHardwareClipping(t,i){let n=t.length;return i.enableHardwareClipping(n),Wt(()=>{let s=Yf(t).setGroup(Mn),o=KS(i.getClipDistance());zo(n,({i:r})=>{let l=s.element(r),d=Tu.dot(l.xyz).sub(l.w).negate();o.element(r).assign(d)})})()}};z2.ALPHA_TO_COVERAGE="alphaToCoverage";z2.DEFAULT="default";z2.HARDWARE="hardware";var cBe=()=>new z2,dBe=()=>new z2(z2.ALPHA_TO_COVERAGE),hBe=()=>new z2(z2.HARDWARE),fBe=.05,h1e=Wt(([e])=>F3(os(1e4,rI(os(17,e.x).add(os(.1,e.y)))).mul(yc(.1,dr(rI(os(13,e.y).add(e.x))))))),f1e=Wt(([e])=>h1e(Hi(h1e(e.xy),e.z))),pBe=Wt(([e])=>{let t=fa(H2(jue(e.xyz)),H2(que(e.xyz))),i=Et(1).div(Et(fBe).mul(t)).toVar("pixScale"),n=Hi(W8(U2(F2(i))),W8(gK(F2(i)))),s=Hi(f1e(U2(n.x.mul(e.xyz))),f1e(U2(n.y.mul(e.xyz)))),o=F3(F2(i)),r=yc(os(o.oneMinus(),s.x),os(o,s.y)),l=nm(o,o.oneMinus()),d=Gt(r.mul(r).div(os(2,l).mul(Ks(1,l))),r.sub(os(.5,l)).div(Ks(1,l)),Ks(1,Ks(1,r).mul(Ks(1,r)).div(os(2,l).mul(Ks(1,l))))),h=r.lessThan(l.oneMinus()).select(r.lessThan(l).select(d.x,d.y),d.z);return U3(h,1e-6,1)}).setLayout({name:"getAlphaHashThreshold",type:"float",inputs:[{name:"position",type:"vec3"}]}),qre=class extends wZ{static get type(){return"VertexColorNode"}constructor(t){super(null,"vec4"),this.isVertexColorNode=!0,this.index=t}getAttributeName(){let t=this.index;return"color"+(t>0?t:"")}generate(t){let i=this.getAttributeName(t),n=t.hasGeometryAttribute(i),s;return n===!0?s=super.generate(t):s=t.generateConst(this.nodeType,new xn(1,1,1,1)),s}serialize(t){super.serialize(t),t.index=this.index}deserialize(t){super.deserialize(t),this.index=t.index}},f3e=(e=0)=>new qre(e),IBe=Wt(([e,t])=>nm(1,e.oneMinus().div(t)).oneMinus()).setLayout({name:"blendBurn",type:"vec3",inputs:[{name:"base",type:"vec3"},{name:"blend",type:"vec3"}]}),mBe=Wt(([e,t])=>nm(e.div(t.oneMinus()),1)).setLayout({name:"blendDodge",type:"vec3",inputs:[{name:"base",type:"vec3"},{name:"blend",type:"vec3"}]}),yBe=Wt(([e,t])=>e.oneMinus().mul(t.oneMinus()).oneMinus()).setLayout({name:"blendScreen",type:"vec3",inputs:[{name:"base",type:"vec3"},{name:"blend",type:"vec3"}]}),EBe=Wt(([e,t])=>zs(e.mul(2).mul(t),e.oneMinus().mul(2).mul(t.oneMinus()).oneMinus(),bx(.5,e))).setLayout({name:"blendOverlay",type:"vec3",inputs:[{name:"base",type:"vec3"},{name:"blend",type:"vec3"}]}),TBe=Wt(([e,t])=>{let i=t.a.add(e.a.mul(t.a.oneMinus()));return On(t.rgb.mul(t.a).add(e.rgb.mul(e.a).mul(t.a.oneMinus())).div(i),i)}).setLayout({name:"blendColor",type:"vec4",inputs:[{name:"base",type:"vec4"},{name:"blend",type:"vec4"}]}),p3e=Wt(([e])=>On(e.rgb.mul(e.a),e.a),{color:"vec4",return:"vec4"}),gBe=Wt(([e])=>(Fn(e.a.equal(0),()=>On(0)),On(e.rgb.div(e.a),e.a)),{color:"vec4",return:"vec4"}),Ul=class extends za{static get type(){return"NodeMaterial"}get type(){return this.constructor.type}set type(t){}constructor(){super(),this.isNodeMaterial=!0,this.fog=!0,this.lights=!1,this.hardwareClipping=!1,this.lightsNode=null,this.envNode=null,this.aoNode=null,this.colorNode=null,this.normalNode=null,this.opacityNode=null,this.backdropNode=null,this.backdropAlphaNode=null,this.alphaTestNode=null,this.maskNode=null,this.maskShadowNode=null,this.positionNode=null,this.geometryNode=null,this.depthNode=null,this.receivedShadowPositionNode=null,this.castShadowPositionNode=null,this.receivedShadowNode=null,this.castShadowNode=null,this.outputNode=null,this.mrtNode=null,this.fragmentNode=null,this.vertexNode=null,this.contextNode=null}_getNodeChildren(){let t=[];for(let i of Object.getOwnPropertyNames(this)){if(i.startsWith("_")===!0)continue;let n=this[i];n&&n.isNode===!0&&t.push({property:i,childNode:n})}return t}customProgramCacheKey(){let t=[];for(let{property:i,childNode:n}of this._getNodeChildren())t.push(X8(i.slice(0,-4)),n.getCacheKey());return this.type+sz(t)}build(t){this.setup(t)}setupObserver(t){return new joe(t)}setup(t){t.context.setupNormal=()=>Sx(this.setupNormal(t),"NORMAL","vec3"),t.context.setupPositionView=()=>this.setupPositionView(t),t.context.setupModelViewProjection=()=>this.setupModelViewProjection(t);let i=t.renderer,n=i.getRenderTarget();t.addStack();let s=this.setupVertex(t),o=Sx(this.vertexNode||s,"VERTEX");t.context.clipSpace=o,t.stack.outputNode=o,this.setupHardwareClipping(t),this.geometryNode!==null&&(t.stack.outputNode=t.stack.outputNode.bypass(this.geometryNode)),t.addFlow("vertex",t.removeStack()),t.addStack();let r,l=this.setupClipping(t);if((this.depthWrite===!0||this.depthTest===!0)&&(n!==null?n.depthBuffer===!0&&this.setupDepth(t):i.depth===!0&&this.setupDepth(t)),this.fragmentNode===null){this.setupDiffuseColor(t),this.setupVariants(t);let d=this.setupLighting(t);l!==null&&t.stack.addToStack(l);let h=On(d,ko.a).max(0);r=this.setupOutput(t,h),U8.assign(r);let p=this.outputNode!==null;if(p&&(r=this.outputNode),t.context.getOutput&&(r=t.context.getOutput(r,t)),n!==null){let I=i.getMRT(),m=this.mrtNode;I!==null?(p&&U8.assign(r),r=I,m!==null&&(r=I.merge(m))):m!==null&&(r=m)}}else{let d=this.fragmentNode;d.isOutputStructNode!==!0&&(d=On(d)),r=this.setupOutput(t,d)}t.stack.outputNode=r,t.addFlow("fragment",t.removeStack()),t.observer=this.setupObserver(t)}setupClipping(t){if(t.clippingContext===null)return null;let{unionPlanes:i,intersectionPlanes:n}=t.clippingContext,s=null;if(i.length>0||n.length>0){let o=t.renderer.currentSamples;this.alphaToCoverage&&o>1?s=dBe():t.stack.addToStack(cBe())}return s}setupHardwareClipping(t){if(this.hardwareClipping=!1,t.clippingContext===null)return;let i=t.clippingContext.unionPlanes.length;i>0&&i<=8&&t.isAvailable("clipDistance")&&(t.stack.addToStack(hBe()),this.hardwareClipping=!0)}setupDepth(t){let{renderer:i,camera:n}=t,s=this.depthNode;if(s===null){let o=i.getMRT();o&&o.has("depth")?s=o.get("depth"):i.logarithmicDepthBuffer===!0&&(n.isPerspectiveCamera?s=Sce(Tu.z,t_,i_):s=k8(Tu.z,t_,i_))}s!==null&&Ace.assign(s).toStack()}setupPositionView(){return I_.mul(Ml).xyz}setupModelViewProjection(){return WS.mul(Tu)}setupVertex(t){return t.addStack(),this.setupPosition(t),t.context.position=t.removeStack(),n3e}setupPosition(t){let{object:i,geometry:n}=t;if((n.morphAttributes.position||n.morphAttributes.normal||n.morphAttributes.color)&&a3e(i).toStack(),i.isSkinnedMesh===!0&&r3e(i).toStack(),this.displacementMap){let s=VS("displacementMap","texture"),o=VS("displacementScale","float"),r=VS("displacementBias","float");Ml.addAssign(om.normalize().mul(s.x.mul(o).add(r)))}return i.isBatchedMesh&&o3e(i).toStack(),i.isInstancedMesh&&i.instanceMatrix&&i.instanceMatrix.isInstancedBufferAttribute===!0&&s3e(i).toStack(),this.positionNode!==null&&Ml.assign(Sx(this.positionNode,"POSITION","vec3")),Ml}setupDiffuseColor(t){let{object:i,geometry:n}=t;this.maskNode!==null&&M1(this.maskNode).not().discard();let s=this.colorNode?On(this.colorNode):NTe;this.vertexColors===!0&&n.hasAttribute("color")&&(s=s.mul(f3e())),i.instanceColor&&(s=kk("vec3","vInstanceColor").mul(s)),i.isBatchedMesh&&i._colorsTexture&&(s=kk("vec3","vBatchColor").mul(s)),ko.assign(s);let o=this.opacityNode?Et(this.opacityNode):Ece;ko.a.assign(ko.a.mul(o));let r=null;(this.alphaTestNode!==null||this.alphaTest>0)&&(r=this.alphaTestNode!==null?Et(this.alphaTestNode):bTe,this.alphaToCoverage===!0?(ko.a=H3(r,r.add(Zue(ko.a)),ko.a),ko.a.lessThanEqual(0).discard()):ko.a.lessThanEqual(r).discard()),this.alphaHash===!0&&ko.a.lessThan(pBe(Ml)).discard(),t.isOpaque()&&ko.a.assign(1)}setupVariants(){}setupOutgoingLight(){return this.lights===!0?Gt(0):ko.rgb}setupNormal(){return this.normalNode?Gt(this.normalNode):PTe}setupEnvironment(){let t=null;return this.envNode?t=this.envNode:this.envMap&&(t=this.envMap.isCubeTexture?VS("envMap","cubeTexture"):VS("envMap","texture")),t}setupLightMap(t){let i=null;return t.material.lightMap&&(i=new Yre(Tce)),i}setupLights(t){let i=[],n=this.setupEnvironment(t);n&&n.isLightingNode&&i.push(n);let s=this.setupLightMap(t);s&&s.isLightingNode&&i.push(s);let o=this.aoNode;o===null&&t.material.aoMap&&(o=i3e),t.context.getAO&&(o=t.context.getAO(o,t)),o&&i.push(new zre(o));let r=this.lightsNode||t.lightsNode;return i.length>0&&(r=t.renderer.lighting.createNode([...r.getLights(),...i])),r}setupLightingModel(){}setupLighting(t){let{material:i}=t,{backdropNode:n,backdropAlphaNode:s,emissiveNode:o}=this,l=this.lights===!0||this.lightsNode!==null?this.setupLights(t):null,d=this.setupOutgoingLight(t);if(l&&l.getScope().hasLights){let h=this.setupLightingModel(t)||null;d=u3e(l,h,n,s)}else n!==null&&(d=Gt(s!==null?zs(d,n,s):n));return(o&&o.isNode===!0||i.emissive&&i.emissive.isColor===!0)&&(ire.assign(Gt(o||DTe)),d=d.add(ire)),d}setupFog(t,i){let n=t.fogNode;return n&&(U8.assign(i),i=On(n.toVar())),i}setupPremultipliedAlpha(t,i){return p3e(i)}setupOutput(t,i){return this.fog===!0&&(i=this.setupFog(t,i)),this.premultipliedAlpha===!0&&(i=this.setupPremultipliedAlpha(t,i)),i}setDefaultValues(t){for(let n in t){let s=t[n];this[n]===void 0&&(this[n]=s,s&&s.clone&&(this[n]=s.clone()))}let i=Object.getOwnPropertyDescriptors(t.constructor.prototype);for(let n in i)Object.getOwnPropertyDescriptor(this.constructor.prototype,n)===void 0&&i[n].get!==void 0&&Object.defineProperty(this.constructor.prototype,n,i[n])}toJSON(t){let i=t===void 0||typeof t=="string";i&&(t={textures:{},images:{},nodes:{}});let n=za.prototype.toJSON.call(this,t);n.inputNodes={};for(let{property:o,childNode:r}of this._getNodeChildren())n.inputNodes[o]=r.toJSON(t).uuid;function s(o){let r=[];for(let l in o){let d=o[l];delete d.metadata,r.push(d)}return r}if(i){let o=s(t.textures),r=s(t.images),l=s(t.nodes);o.length>0&&(n.textures=o),r.length>0&&(n.images=r),l.length>0&&(n.nodes=l)}return n}copy(t){return this.lightsNode=t.lightsNode,this.envNode=t.envNode,this.aoNode=t.aoNode,this.colorNode=t.colorNode,this.normalNode=t.normalNode,this.opacityNode=t.opacityNode,this.backdropNode=t.backdropNode,this.backdropAlphaNode=t.backdropAlphaNode,this.alphaTestNode=t.alphaTestNode,this.maskNode=t.maskNode,this.maskShadowNode=t.maskShadowNode,this.positionNode=t.positionNode,this.geometryNode=t.geometryNode,this.depthNode=t.depthNode,this.receivedShadowPositionNode=t.receivedShadowPositionNode,this.castShadowPositionNode=t.castShadowPositionNode,this.receivedShadowNode=t.receivedShadowNode,this.castShadowNode=t.castShadowNode,this.outputNode=t.outputNode,this.mrtNode=t.mrtNode,this.fragmentNode=t.fragmentNode,this.vertexNode=t.vertexNode,this.contextNode=t.contextNode,super.copy(t)}},wBe=new Qo,$re=class extends Ul{static get type(){return"LineBasicNodeMaterial"}constructor(t){super(),this.isLineBasicNodeMaterial=!0,this.setDefaultValues(wBe),this.setValues(t)}},vBe=new xT,Zre=class extends Ul{static get type(){return"LineDashedNodeMaterial"}constructor(t){super(),this.isLineDashedNodeMaterial=!0,this.setDefaultValues(vBe),this.dashOffset=0,this.offsetNode=null,this.dashScaleNode=null,this.dashSizeNode=null,this.gapSizeNode=null,this.setValues(t)}setupVariants(){let t=this.offsetNode?Et(this.offsetNode):XTe,i=this.dashScaleNode?Et(this.dashScaleNode):KTe,n=this.dashSizeNode?Et(this.dashSizeNode):QTe,s=this.gapSizeNode?Et(this.gapSizeNode):JTe;tZ.assign(n),nre.assign(s);let o=f_(qS("lineDistance").mul(i));(t?o.add(t):o).mod(tZ.add(nre)).greaterThan(tZ).discard()}};var RBe=new EC,Kre=class extends Ul{static get type(){return"MeshNormalNodeMaterial"}constructor(t){super(),this.isMeshNormalNodeMaterial=!0,this.setDefaultValues(RBe),this.setValues(t)}setupDiffuseColor(){let t=this.opacityNode?Et(this.opacityNode):Ece;ko.assign(vK(On(ATe(ro),t),Va))}},bce=Wt(([e=hce])=>{let t=e.z.atan(e.x).mul(1/(Math.PI*2)).add(.5),i=e.y.clamp(-1,1).asin().mul(1/Math.PI).add(.5);return Hi(t,i)}),bZ=class extends yf{constructor(t=1,i={}){super(t,t,i),this.isCubeRenderTarget=!0;let n={width:t,height:t,depth:1},s=[n,n,n,n,n,n];this.texture=new Nm(s),this._setTextureOptions(i),this.texture.isRenderTargetTexture=!0}fromEquirectangularTexture(t,i){let n=i.minFilter,s=i.generateMipmaps;i.generateMipmaps=!0,this.texture.type=i.type,this.texture.colorSpace=i.colorSpace,this.texture.generateMipmaps=i.generateMipmaps,this.texture.minFilter=i.minFilter,this.texture.magFilter=i.magFilter;let o=new pr(5,5,5),r=bce(hce),l=new Ul;l.colorNode=lo(i,r,0),l.side=Js,l.blending=Na;let d=new _i(o,l),h=new HI;h.add(d),i.minFilter===qc&&(i.minFilter=Us);let p=new AC(1,10,this),I=t.getMRT();return t.setMRT(null),p.update(t,h),t.setMRT(I),i.minFilter=n,i.generateMipmaps=s,d.geometry.dispose(),d.material.dispose(),this}clear(t,i=!0,n=!0,s=!0){let o=t.getRenderTarget();for(let r=0;r<6;r++)t.setRenderTarget(this,r),t.clear(i,n,s);t.setRenderTarget(o)}},Bk=new WeakMap,Qre=class extends Fl{static get type(){return"CubeMapNode"}constructor(t){super("vec3"),this.envNode=t,this._cubeTexture=null,this._cubeTextureNode=lI(null);let i=new Nm;i.isRenderTargetTexture=!0,this._defaultTexture=i,this.updateBeforeType=Zn.RENDER}updateBefore(t){let{renderer:i,material:n}=t,s=this.envNode;if(s.isTextureNode||s.isMaterialReferenceNode){let o=s.isTextureNode?s.value:n[s.property];if(o&&o.isTexture){let r=o.mapping;if(r===rw||r===lw){if(Bk.has(o)){let l=Bk.get(o);p1e(l,o.mapping),this._cubeTexture=l}else{let l=o.image;if(SBe(l)){let d=new bZ(l.height);d.fromEquirectangularTexture(i,o),p1e(d.texture,o.mapping),this._cubeTexture=d.texture,Bk.set(o,d.texture),o.addEventListener("dispose",I3e)}else this._cubeTexture=this._defaultTexture}this._cubeTextureNode.value=this._cubeTexture}else this._cubeTextureNode=this.envNode}}}setup(t){return this.updateBefore(t),this._cubeTextureNode}};function SBe(e){return e==null?!1:e.height>0}function I3e(e){let t=e.target;t.removeEventListener("dispose",I3e);let i=Bk.get(t);i!==void 0&&(Bk.delete(t),i.dispose())}function p1e(e,t){t===rw?e.mapping=Ef:t===lw&&(e.mapping=VI)}var m3e=ys(Qre).setParameterLength(1),Yk=class extends h_{static get type(){return"BasicEnvironmentNode"}constructor(t=null){super(),this.envNode=t}setup(t){t.context.environment=m3e(this.envNode)}},Jre=class extends h_{static get type(){return"BasicLightMapNode"}constructor(t=null){super(),this.lightMapNode=t}setup(t){let i=Et(1/Math.PI);t.context.irradianceLightMap=this.lightMapNode.mul(i)}},K8=class{start(t){t.lightsNode.setupLights(t,t.lightsNode.getLightNodes(t)),this.indirect(t)}finish(){}direct(){}directRectArea(){}indirect(){}ambientOcclusion(){}},NZ=class extends K8{constructor(){super()}indirect({context:t}){let i=t.ambientOcclusion,n=t.reflectedLight,s=t.irradianceLightMap;n.indirectDiffuse.assign(On(0)),s?n.indirectDiffuse.addAssign(s):n.indirectDiffuse.addAssign(On(1,1,1,0)),n.indirectDiffuse.mulAssign(i),n.indirectDiffuse.mulAssign(ko.rgb)}finish(t){let{material:i,context:n}=t,s=n.outgoingLight,o=t.context.environment;if(o)switch(i.combine){case zb:s.rgb.assign(zs(s.rgb,s.rgb.mul(o.rgb),Mk.mul(nZ)));break;case nG:s.rgb.assign(zs(s.rgb,o.rgb,Mk.mul(nZ)));break;case sG:s.rgb.addAssign(o.rgb.mul(Mk.mul(nZ)));break;default:ci("BasicLightingModel: Unsupported .combine value:",i.combine);break}}},ABe=new Ho,Xre=class extends Ul{static get type(){return"MeshBasicNodeMaterial"}constructor(t){super(),this.isMeshBasicNodeMaterial=!0,this.lights=!0,this.setDefaultValues(ABe),this.setValues(t)}setupNormal(){return eM(j8)}setupEnvironment(t){let i=super.setupEnvironment(t);return i?new Yk(i):null}setupLightMap(t){let i=null;return t.material.lightMap&&(i=new Jre(Tce)),i}setupOutgoingLight(){return ko.rgb}setupLightingModel(){return new NZ}},Q8=Wt(({f0:e,f90:t,dotVH:i})=>{let n=i.mul(-5.55473).sub(6.98316).mul(i).exp2();return e.mul(n.oneMinus()).add(t.mul(n))}),_x=Wt(e=>e.diffuseColor.mul(1/Math.PI)),bBe=()=>Et(.25),NBe=Wt(({dotNH:e})=>hZ.mul(Et(.5)).add(1).mul(Et(1/Math.PI)).mul(e.pow(hZ))),_Be=Wt(({lightDirection:e})=>{let t=e.add(rr).normalize(),i=ro.dot(t).clamp(),n=rr.dot(t).clamp(),s=Q8({f0:d_,f90:1,dotVH:n}),o=bBe(),r=NBe({dotNH:i});return s.mul(o).mul(r)}),_Z=class extends NZ{constructor(t=!0){super(),this.specular=t}direct({lightDirection:t,lightColor:i,reflectedLight:n}){let o=ro.dot(t).clamp().mul(i);n.directDiffuse.addAssign(o.mul(_x({diffuseColor:ko.rgb}))),this.specular===!0&&n.directSpecular.addAssign(o.mul(_Be({lightDirection:t})).mul(Mk))}indirect(t){let{ambientOcclusion:i,irradiance:n,reflectedLight:s}=t.context;s.indirectDiffuse.addAssign(n.mul(_x({diffuseColor:ko}))),s.indirectDiffuse.mulAssign(i)}},DBe=new tw,ele=class extends Ul{static get type(){return"MeshLambertNodeMaterial"}constructor(t){super(),this.isMeshLambertNodeMaterial=!0,this.lights=!0,this.setDefaultValues(DBe),this.setValues(t)}setupEnvironment(t){let i=super.setupEnvironment(t);return i?new Yk(i):null}setupLightingModel(){return new _Z(!1)}},CBe=new mC,tle=class extends Ul{static get type(){return"MeshPhongNodeMaterial"}constructor(t){super(),this.isMeshPhongNodeMaterial=!0,this.lights=!0,this.shininessNode=null,this.specularNode=null,this.setDefaultValues(CBe),this.setValues(t)}setupEnvironment(t){let i=super.setupEnvironment(t);return i?new Yk(i):null}setupLightingModel(){return new _Z}setupVariants(){let t=(this.shininessNode?Et(this.shininessNode):_Te).max(1e-4);hZ.assign(t);let i=this.specularNode||CTe;d_.assign(i)}copy(t){return this.shininessNode=t.shininessNode,this.specularNode=t.specularNode,super.copy(t)}},y3e=Wt(e=>{if(e.geometry.hasAttribute("normal")===!1)return Et(0);let t=j8.dFdx().abs().max(j8.dFdy().abs());return t.x.max(t.y).max(t.z)}),Nce=Wt(e=>{let{roughness:t}=e,i=y3e(),n=t.max(.0525);return n=n.add(i),n=n.min(1),n}),E3e=Wt(({alpha:e,dotNL:t,dotNV:i})=>{let n=e.pow2(),s=t.mul(n.add(n.oneMinus().mul(i.pow2())).sqrt()),o=i.mul(n.add(n.oneMinus().mul(t.pow2())).sqrt());return B1(.5,s.add(o).max(EK))}).setLayout({name:"V_GGX_SmithCorrelated",type:"float",inputs:[{name:"alpha",type:"float"},{name:"dotNL",type:"float"},{name:"dotNV",type:"float"}]}),xBe=Wt(({alphaT:e,alphaB:t,dotTV:i,dotBV:n,dotTL:s,dotBL:o,dotNV:r,dotNL:l})=>{let d=l.mul(Gt(e.mul(i),t.mul(n),r).length()),h=r.mul(Gt(e.mul(s),t.mul(o),l).length());return B1(.5,d.add(h).max(EK))}).setLayout({name:"V_GGX_SmithCorrelated_Anisotropic",type:"float",inputs:[{name:"alphaT",type:"float",qualifier:"in"},{name:"alphaB",type:"float",qualifier:"in"},{name:"dotTV",type:"float",qualifier:"in"},{name:"dotBV",type:"float",qualifier:"in"},{name:"dotTL",type:"float",qualifier:"in"},{name:"dotBL",type:"float",qualifier:"in"},{name:"dotNV",type:"float",qualifier:"in"},{name:"dotNL",type:"float",qualifier:"in"}]}),T3e=Wt(({alpha:e,dotNH:t})=>{let i=e.pow2(),n=t.pow2().mul(i.oneMinus()).oneMinus();return i.div(n.pow2()).mul(1/Math.PI)}).setLayout({name:"D_GGX",type:"float",inputs:[{name:"alpha",type:"float"},{name:"dotNH",type:"float"}]}),OBe=Et(1/Math.PI),LBe=Wt(({alphaT:e,alphaB:t,dotNH:i,dotTH:n,dotBH:s})=>{let o=e.mul(t),r=Gt(t.mul(n),e.mul(s),o.mul(i)),l=r.dot(r),d=o.div(l);return OBe.mul(o.mul(d.pow2()))}).setLayout({name:"D_GGX_Anisotropic",type:"float",inputs:[{name:"alphaT",type:"float",qualifier:"in"},{name:"alphaB",type:"float",qualifier:"in"},{name:"dotNH",type:"float",qualifier:"in"},{name:"dotTH",type:"float",qualifier:"in"},{name:"dotBH",type:"float",qualifier:"in"}]}),_ce=Wt(({lightDirection:e,f0:t,f90:i,roughness:n,f:s,normalView:o=ro,USE_IRIDESCENCE:r,USE_ANISOTROPY:l})=>{let d=n.pow2(),h=e.add(rr).normalize(),p=o.dot(e).clamp(),I=o.dot(rr).clamp(),m=o.dot(h).clamp(),y=rr.dot(h).clamp(),T=Q8({f0:t,f90:i,dotVH:y}),R,b;if(z8(r)&&(T=mK.mix(T,s)),z8(l)){let A=Lk.dot(e),O=Lk.dot(rr),P=Lk.dot(h),U=Rx.dot(e),Z=Rx.dot(rr),ne=Rx.dot(h);R=xBe({alphaT:dZ,alphaB:d,dotTV:O,dotBV:Z,dotTL:A,dotBL:U,dotNV:I,dotNL:p}),b=LBe({alphaT:dZ,alphaB:d,dotNH:m,dotTH:P,dotBH:ne})}else R=E3e({alpha:d,dotNL:p,dotNV:I}),b=T3e({alpha:d,dotNH:m});return T.mul(R).mul(b)}),PBe=new Uint16Array([12469,15057,12620,14925,13266,14620,13807,14376,14323,13990,14545,13625,14713,13328,14840,12882,14931,12528,14996,12233,15039,11829,15066,11525,15080,11295,15085,10976,15082,10705,15073,10495,13880,14564,13898,14542,13977,14430,14158,14124,14393,13732,14556,13410,14702,12996,14814,12596,14891,12291,14937,11834,14957,11489,14958,11194,14943,10803,14921,10506,14893,10278,14858,9960,14484,14039,14487,14025,14499,13941,14524,13740,14574,13468,14654,13106,14743,12678,14818,12344,14867,11893,14889,11509,14893,11180,14881,10751,14852,10428,14812,10128,14765,9754,14712,9466,14764,13480,14764,13475,14766,13440,14766,13347,14769,13070,14786,12713,14816,12387,14844,11957,14860,11549,14868,11215,14855,10751,14825,10403,14782,10044,14729,9651,14666,9352,14599,9029,14967,12835,14966,12831,14963,12804,14954,12723,14936,12564,14917,12347,14900,11958,14886,11569,14878,11247,14859,10765,14828,10401,14784,10011,14727,9600,14660,9289,14586,8893,14508,8533,15111,12234,15110,12234,15104,12216,15092,12156,15067,12010,15028,11776,14981,11500,14942,11205,14902,10752,14861,10393,14812,9991,14752,9570,14682,9252,14603,8808,14519,8445,14431,8145,15209,11449,15208,11451,15202,11451,15190,11438,15163,11384,15117,11274,15055,10979,14994,10648,14932,10343,14871,9936,14803,9532,14729,9218,14645,8742,14556,8381,14461,8020,14365,7603,15273,10603,15272,10607,15267,10619,15256,10631,15231,10614,15182,10535,15118,10389,15042,10167,14963,9787,14883,9447,14800,9115,14710,8665,14615,8318,14514,7911,14411,7507,14279,7198,15314,9675,15313,9683,15309,9712,15298,9759,15277,9797,15229,9773,15166,9668,15084,9487,14995,9274,14898,8910,14800,8539,14697,8234,14590,7790,14479,7409,14367,7067,14178,6621,15337,8619,15337,8631,15333,8677,15325,8769,15305,8871,15264,8940,15202,8909,15119,8775,15022,8565,14916,8328,14804,8009,14688,7614,14569,7287,14448,6888,14321,6483,14088,6171,15350,7402,15350,7419,15347,7480,15340,7613,15322,7804,15287,7973,15229,8057,15148,8012,15046,7846,14933,7611,14810,7357,14682,7069,14552,6656,14421,6316,14251,5948,14007,5528,15356,5942,15356,5977,15353,6119,15348,6294,15332,6551,15302,6824,15249,7044,15171,7122,15070,7050,14949,6861,14818,6611,14679,6349,14538,6067,14398,5651,14189,5311,13935,4958,15359,4123,15359,4153,15356,4296,15353,4646,15338,5160,15311,5508,15263,5829,15188,6042,15088,6094,14966,6001,14826,5796,14678,5543,14527,5287,14377,4985,14133,4586,13869,4257,15360,1563,15360,1642,15358,2076,15354,2636,15341,3350,15317,4019,15273,4429,15203,4732,15105,4911,14981,4932,14836,4818,14679,4621,14517,4386,14359,4156,14083,3795,13808,3437,15360,122,15360,137,15358,285,15355,636,15344,1274,15322,2177,15281,2765,15215,3223,15120,3451,14995,3569,14846,3567,14681,3466,14511,3305,14344,3121,14037,2800,13753,2467,15360,0,15360,1,15359,21,15355,89,15346,253,15325,479,15287,796,15225,1148,15133,1492,15008,1749,14856,1882,14685,1886,14506,1783,14324,1608,13996,1398,13702,1183]),C2=null,jk=Wt(({roughness:e,dotNV:t})=>{C2===null&&(C2=new Ih(PBe,16,16,Dc,sr),C2.name="DFG_LUT",C2.minFilter=Us,C2.magFilter=Us,C2.wrapS=_u,C2.wrapT=_u,C2.generateMipmaps=!1,C2.needsUpdate=!0);let i=Hi(e,t);return lo(C2,i).rg}),MBe=Wt(({lightDirection:e,f0:t,f90:i,roughness:n,f:s,USE_IRIDESCENCE:o,USE_ANISOTROPY:r})=>{let l=_ce({lightDirection:e,f0:t,f90:i,roughness:n,f:s,USE_IRIDESCENCE:o,USE_ANISOTROPY:r}),d=ro.dot(e).clamp(),h=ro.dot(rr).clamp(),p=jk({roughness:n,dotNV:h}),I=jk({roughness:n,dotNV:d}),m=t.mul(p.x).add(i.mul(p.y)),y=t.mul(I.x).add(i.mul(I.y)),T=p.x.add(p.y),R=I.x.add(I.y),b=Et(1).sub(T),A=Et(1).sub(R),O=t.add(t.oneMinus().mul(.047619)),P=m.mul(y).mul(O).div(Et(1).sub(b.mul(A).mul(O).mul(O)).add(EK)),U=b.mul(A),Z=P.mul(U);return l.add(Z)}),g3e=Wt(e=>{let{dotNV:t,specularColor:i,specularF90:n,roughness:s}=e,o=jk({dotNV:t,roughness:s});return i.mul(o.x).add(n.mul(o.y))}),ile=Wt(({f:e,f90:t,dotVH:i})=>{let n=i.oneMinus().saturate(),s=n.mul(n),o=n.mul(s,s).clamp(0,.9999);return e.sub(Gt(t).mul(o)).div(o.oneMinus())}).setLayout({name:"Schlick_to_F0",type:"vec3",inputs:[{name:"f",type:"vec3"},{name:"f90",type:"float"},{name:"dotVH",type:"float"}]}),BBe=Wt(({roughness:e,dotNH:t})=>{let i=e.pow2(),n=Et(1).div(i),o=t.pow2().oneMinus().max(.0078125);return Et(2).add(n).mul(o.pow(n.mul(.5))).div(2*Math.PI)}).setLayout({name:"D_Charlie",type:"float",inputs:[{name:"roughness",type:"float"},{name:"dotNH",type:"float"}]}),FBe=Wt(({dotNV:e,dotNL:t})=>Et(1).div(Et(4).mul(t.add(e).sub(t.mul(e))))).setLayout({name:"V_Neubelt",type:"float",inputs:[{name:"dotNV",type:"float"},{name:"dotNL",type:"float"}]}),UBe=Wt(({lightDirection:e})=>{let t=e.add(rr).normalize(),i=ro.dot(e).clamp(),n=ro.dot(rr).clamp(),s=ro.dot(t).clamp(),o=BBe({roughness:e_,dotNH:s}),r=FBe({dotNV:n,dotNL:i});return O1.mul(o).mul(r)}),I1e=Wt(({N:e,V:t,roughness:i})=>{let o=.0078125,r=e.dot(t).saturate(),l=Hi(i,r.oneMinus().sqrt());return l.assign(l.mul(.984375).add(o)),l}).setLayout({name:"LTC_Uv",type:"vec2",inputs:[{name:"N",type:"vec3"},{name:"V",type:"vec3"},{name:"roughness",type:"float"}]}),HBe=Wt(({f:e})=>{let t=e.length();return fa(t.mul(t).add(e.z).div(t.add(1)),0)}).setLayout({name:"LTC_ClippedSphereFormFactor",type:"float",inputs:[{name:"f",type:"vec3"}]}),O$=Wt(({v1:e,v2:t})=>{let i=e.dot(t),n=i.abs().toVar(),s=n.mul(.0145206).add(.4965155).mul(n).add(.8543985).toVar(),o=n.add(4.1616724).mul(n).add(3.417594).toVar(),r=s.div(o),l=i.greaterThan(0).select(r,fa(i.mul(i).oneMinus(),1e-7).inverseSqrt().mul(.5).sub(r));return e.cross(t).mul(l)}).setLayout({name:"LTC_EdgeVectorFormFactor",type:"vec3",inputs:[{name:"v1",type:"vec3"},{name:"v2",type:"vec3"}]}),goe=Wt(({N:e,V:t,P:i,mInv:n,p0:s,p1:o,p2:r,p3:l})=>{let d=o.sub(s).toVar(),h=l.sub(s).toVar(),p=d.cross(h),I=Gt().toVar();return Fn(p.dot(i.sub(s)).greaterThanEqual(0),()=>{let m=t.sub(e.mul(t.dot(e))).normalize(),y=e.cross(m).negate(),T=n.mul(Q0(m,y,e).transpose()).toVar(),R=T.mul(s.sub(i)).normalize().toVar(),b=T.mul(o.sub(i)).normalize().toVar(),A=T.mul(r.sub(i)).normalize().toVar(),O=T.mul(l.sub(i)).normalize().toVar(),P=Gt(0).toVar();P.addAssign(O$({v1:R,v2:b})),P.addAssign(O$({v1:b,v2:A})),P.addAssign(O$({v1:A,v2:O})),P.addAssign(O$({v1:O,v2:R})),I.assign(Gt(HBe({f:P})))}),I}).setLayout({name:"LTC_Evaluate",type:"vec3",inputs:[{name:"N",type:"vec3"},{name:"V",type:"vec3"},{name:"P",type:"vec3"},{name:"mInv",type:"mat3"},{name:"p0",type:"vec3"},{name:"p1",type:"vec3"},{name:"p2",type:"vec3"},{name:"p3",type:"vec3"}]});var _K=1/6,w3e=e=>os(_K,os(e,os(e,e.negate().add(3)).sub(3)).add(1)),nle=e=>os(_K,os(e,os(e,os(3,e).sub(6))).add(4)),v3e=e=>os(_K,os(e,os(e,os(-3,e).add(3)).add(3)).add(1)),sle=e=>os(_K,yE(e,3)),m1e=e=>w3e(e).add(nle(e)),y1e=e=>v3e(e).add(sle(e)),E1e=e=>yc(-1,nle(e).div(w3e(e).add(nle(e)))),T1e=e=>yc(1,sle(e).div(v3e(e).add(sle(e)))),g1e=(e,t,i)=>{let n=e.uvNode,s=os(n,t.zw).add(.5),o=U2(s),r=F3(s),l=m1e(r.x),d=y1e(r.x),h=E1e(r.x),p=T1e(r.x),I=E1e(r.y),m=T1e(r.y),y=Hi(o.x.add(h),o.y.add(I)).sub(.5).mul(t.xy),T=Hi(o.x.add(p),o.y.add(I)).sub(.5).mul(t.xy),R=Hi(o.x.add(h),o.y.add(m)).sub(.5).mul(t.xy),b=Hi(o.x.add(p),o.y.add(m)).sub(.5).mul(t.xy),A=m1e(r.y).mul(yc(l.mul(e.sample(y).level(i)),d.mul(e.sample(T).level(i)))),O=y1e(r.y).mul(yc(l.mul(e.sample(R).level(i)),d.mul(e.sample(b).level(i))));return A.add(O)},Dce=Wt(([e,t])=>{let i=Hi(e.size(Ot(t))),n=Hi(e.size(Ot(t.add(1)))),s=B1(1,i),o=B1(1,n),r=g1e(e,On(s,i),U2(t)),l=g1e(e,On(o,n),gK(t));return F3(t).mix(r,l)}),GBe=Wt(([e,t])=>{let i=t.mul(ace(e));return Dce(e,i)}),w1e=Wt(([e,t,i,n,s])=>{let o=Gt(Xue(t.negate(),tm(e),B1(1,n))),r=Gt(H2(s[0].xyz),H2(s[1].xyz),H2(s[2].xyz));return tm(o).mul(i.mul(r))}).setLayout({name:"getVolumeTransmissionRay",type:"vec3",inputs:[{name:"n",type:"vec3"},{name:"v",type:"vec3"},{name:"thickness",type:"float"},{name:"ior",type:"float"},{name:"modelMatrix",type:"mat4"}]}),VBe=Wt(([e,t])=>e.mul(U3(t.mul(2).sub(2),0,1))).setLayout({name:"applyIorToRoughness",type:"float",inputs:[{name:"roughness",type:"float"},{name:"ior",type:"float"}]}),kBe=gce(),zBe=c3e(),v1e=Wt(([e,t,i],{material:n})=>{let o=(n.side===Js?kBe:zBe).sample(e),r=F2(Nx.x).mul(VBe(t,i));return Dce(o,r)}),R1e=Wt(([e,t,i])=>(Fn(i.notEqual(0),()=>{let n=TK(t).negate().div(i);return Gue(n.negate().mul(e))}),Gt(1))).setLayout({name:"volumeAttenuation",type:"vec3",inputs:[{name:"transmissionDistance",type:"float"},{name:"attenuationColor",type:"vec3"},{name:"attenuationDistance",type:"float"}]}),WBe=Wt(([e,t,i,n,s,o,r,l,d,h,p,I,m,y,T])=>{let R,b;if(T){R=On().toVar(),b=Gt().toVar();let Z=p.sub(1).mul(T.mul(.025)),ne=Gt(p.sub(Z),p,p.add(Z));zo({start:0,end:3},({i:K})=>{let oe=ne.element(K),se=w1e(e,t,I,oe,l),he=r.add(se),Re=h.mul(d.mul(On(he,1))),ee=Hi(Re.xy.div(Re.w)).toVar();ee.addAssign(1),ee.divAssign(2),ee.assign(Hi(ee.x,ee.y.oneMinus()));let Ae=v1e(ee,i,oe);R.element(K).assign(Ae.element(K)),R.a.addAssign(Ae.a),b.element(K).assign(n.element(K).mul(R1e(H2(se),m,y).element(K)))}),R.a.divAssign(3)}else{let Z=w1e(e,t,I,p,l),ne=r.add(Z),K=h.mul(d.mul(On(ne,1))),oe=Hi(K.xy.div(K.w)).toVar();oe.addAssign(1),oe.divAssign(2),oe.assign(Hi(oe.x,oe.y.oneMinus())),R=v1e(oe,i,p),b=n.mul(R1e(H2(Z),m,y))}let A=b.rgb.mul(R.rgb),O=e.dot(t).clamp(),P=Gt(g3e({dotNV:O,specularColor:s,specularF90:o,roughness:i})),U=b.r.add(b.g,b.b).div(3);return On(P.oneMinus().mul(A),R.a.oneMinus().mul(U).oneMinus())}),YBe=Q0(3.2404542,-.969266,.0556434,-1.5371385,1.8760108,-.2040259,-.4985314,.041556,1.0572252),jBe=e=>{let t=e.sqrt();return Gt(1).add(t).div(Gt(1).sub(t))},S1e=(e,t)=>e.sub(t).div(e.add(t)).pow2(),qBe=(e,t)=>{let i=e.mul(2*Math.PI*1e-9),n=Gt(54856e-17,44201e-17,52481e-17),s=Gt(1681e3,1795300,2208400),o=Gt(43278e5,93046e5,66121e5),r=Et(9747e-17*Math.sqrt(2*Math.PI*45282e5)).mul(i.mul(2239900).add(t.x).cos()).mul(i.pow2().mul(-45282e5).exp()),l=n.mul(o.mul(2*Math.PI).sqrt()).mul(s.mul(i).add(t).cos()).mul(i.pow2().negate().mul(o).exp());return l=Gt(l.x.add(r),l.y,l.z).div(10685e-11),YBe.mul(l)},A1e=Wt(({outsideIOR:e,eta2:t,cosTheta1:i,thinFilmThickness:n,baseF0:s})=>{let o=zs(e,t,H3(0,.03,n)),l=e.div(o).pow2().mul(i.pow2().oneMinus()).oneMinus();Fn(l.lessThan(0),()=>Gt(1));let d=l.sqrt(),h=S1e(o,e),p=Q8({f0:h,f90:1,dotVH:i}),I=p.oneMinus(),m=o.lessThan(e).select(Math.PI,0),y=Et(Math.PI).sub(m),T=jBe(s.clamp(0,.9999)),R=S1e(T,o.toVec3()),b=Q8({f0:R,f90:1,dotVH:d}),A=Gt(T.x.lessThan(o).select(Math.PI,0),T.y.lessThan(o).select(Math.PI,0),T.z.lessThan(o).select(Math.PI,0)),O=o.mul(n,d,2),P=Gt(y).add(A),U=p.mul(b).clamp(1e-5,.9999),Z=U.sqrt(),ne=I.pow2().mul(b).div(Gt(1).sub(U)),oe=p.add(ne).toVar(),se=ne.sub(I).toVar();return zo({start:1,end:2,condition:"<=",name:"m"},({m:he})=>{se.mulAssign(Z);let Re=qBe(Et(he).mul(O),Et(he).mul(P)).mul(2);oe.addAssign(se.mul(Re))}),oe.max(Gt(0))}).setLayout({name:"evalIridescence",type:"vec3",inputs:[{name:"outsideIOR",type:"float"},{name:"eta2",type:"float"},{name:"cosTheta1",type:"float"},{name:"thinFilmThickness",type:"float"},{name:"baseF0",type:"vec3"}]}),Ek=Wt(({normal:e,viewDir:t,roughness:i})=>{let n=e.dot(t).saturate(),s=i.mul(i),o=i.add(.1).reciprocal(),r=Et(-1.9362).add(i.mul(1.0678)).add(s.mul(.4573)).sub(o.mul(.8469)),l=Et(-.6014).add(i.mul(.5538)).sub(s.mul(.467)).sub(o.mul(.1255));return r.mul(n).add(l).exp().saturate()}),Tk=Gt(.04),L$=Et(1),DZ=class extends K8{constructor(t=!1,i=!1,n=!1,s=!1,o=!1,r=!1){super(),this.clearcoat=t,this.sheen=i,this.iridescence=n,this.anisotropy=s,this.transmission=o,this.dispersion=r,this.clearcoatRadiance=null,this.clearcoatSpecularDirect=null,this.clearcoatSpecularIndirect=null,this.sheenSpecularDirect=null,this.sheenSpecularIndirect=null,this.iridescenceFresnel=null,this.iridescenceF0=null,this.iridescenceF0Dielectric=null,this.iridescenceF0Metallic=null}start(t){if(this.clearcoat===!0&&(this.clearcoatRadiance=Gt().toVar("clearcoatRadiance"),this.clearcoatSpecularDirect=Gt().toVar("clearcoatSpecularDirect"),this.clearcoatSpecularIndirect=Gt().toVar("clearcoatSpecularIndirect")),this.sheen===!0&&(this.sheenSpecularDirect=Gt().toVar("sheenSpecularDirect"),this.sheenSpecularIndirect=Gt().toVar("sheenSpecularIndirect")),this.iridescence===!0){let i=ro.dot(rr).clamp(),n=A1e({outsideIOR:Et(1),eta2:uZ,cosTheta1:i,thinFilmThickness:cZ,baseF0:d_}),s=A1e({outsideIOR:Et(1),eta2:uZ,cosTheta1:i,thinFilmThickness:cZ,baseF0:ko.rgb});this.iridescenceFresnel=zs(n,s,kS),this.iridescenceF0Dielectric=ile({f:n,f90:1,dotVH:i}),this.iridescenceF0Metallic=ile({f:s,f90:1,dotVH:i}),this.iridescenceF0=zs(this.iridescenceF0Dielectric,this.iridescenceF0Metallic,kS)}if(this.transmission===!0){let i=V2,n=eTe.sub(V2).normalize(),s=m_,o=t.context;o.backdrop=WBe(s,n,M2,mx,Ex,Tx,i,EE,vE,WS,Pk,Mue,Fue,Bue,this.dispersion?Uue:null),o.backdropAlpha=fZ,ko.a.mulAssign(zs(1,o.backdrop.a,fZ))}super.start(t)}computeMultiscattering(t,i,n,s,o=null){let r=ro.dot(rr).clamp(),l=jk({roughness:M2,dotNV:r}),d=o?mK.mix(s,o):s,h=d.mul(l.x).add(n.mul(l.y)),I=l.x.add(l.y).oneMinus(),m=d.add(d.oneMinus().mul(.047619)),y=h.mul(m).div(I.mul(m).oneMinus());t.addAssign(h),i.addAssign(y.mul(I))}direct({lightDirection:t,lightColor:i,reflectedLight:n}){let o=ro.dot(t).clamp().mul(i).toVar();if(this.sheen===!0){this.sheenSpecularDirect.addAssign(o.mul(UBe({lightDirection:t})));let r=Ek({normal:ro,viewDir:rr,roughness:e_}),l=Ek({normal:ro,viewDir:t,roughness:e_}),d=O1.r.max(O1.g).max(O1.b).mul(r.max(l)).oneMinus();o.mulAssign(d)}if(this.clearcoat===!0){let l=n_.dot(t).clamp().mul(i);this.clearcoatSpecularDirect.addAssign(l.mul(_ce({lightDirection:t,f0:Tk,f90:L$,roughness:F8,normalView:n_})))}n.directDiffuse.addAssign(o.mul(_x({diffuseColor:mx}))),n.directSpecular.addAssign(o.mul(MBe({lightDirection:t,f0:Ex,f90:1,roughness:M2,f:this.iridescenceFresnel,USE_IRIDESCENCE:this.iridescence,USE_ANISOTROPY:this.anisotropy})))}directRectArea({lightColor:t,lightPosition:i,halfWidth:n,halfHeight:s,reflectedLight:o,ltc_1:r,ltc_2:l}){let d=i.add(n).sub(s),h=i.sub(n).sub(s),p=i.sub(n).add(s),I=i.add(n).add(s),m=ro,y=rr,T=Tu.toVar(),R=I1e({N:m,V:y,roughness:M2}),b=r.sample(R).toVar(),A=l.sample(R).toVar(),O=Q0(Gt(b.x,0,b.y),Gt(0,1,0),Gt(b.z,0,b.w)).toVar(),P=Ex.mul(A.x).add(Tx.sub(Ex).mul(A.y)).toVar();if(o.directSpecular.addAssign(t.mul(P).mul(goe({N:m,V:y,P:T,mInv:O,p0:d,p1:h,p2:p,p3:I}))),o.directDiffuse.addAssign(t.mul(mx).mul(goe({N:m,V:y,P:T,mInv:Q0(1,0,0,0,1,0,0,0,1),p0:d,p1:h,p2:p,p3:I}))),this.clearcoat===!0){let U=n_,Z=I1e({N:U,V:y,roughness:F8}),ne=r.sample(Z),K=l.sample(Z),oe=Q0(Gt(ne.x,0,ne.y),Gt(0,1,0),Gt(ne.z,0,ne.w)),se=Tk.mul(K.x).add(L$.sub(Tk).mul(K.y));this.clearcoatSpecularDirect.addAssign(t.mul(se).mul(goe({N:U,V:y,P:T,mInv:oe,p0:d,p1:h,p2:p,p3:I})))}}indirect(t){this.indirectDiffuse(t),this.indirectSpecular(t),this.ambientOcclusion(t)}indirectDiffuse(t){let{irradiance:i,reflectedLight:n}=t.context,s=i.mul(_x({diffuseColor:mx})).toVar();if(this.sheen===!0){let o=Ek({normal:ro,viewDir:rr,roughness:e_}),r=O1.r.max(O1.g).max(O1.b).mul(o).oneMinus();s.mulAssign(r)}n.indirectDiffuse.addAssign(s)}indirectSpecular(t){let{radiance:i,iblIrradiance:n,reflectedLight:s}=t.context;if(this.sheen===!0&&this.sheenSpecularIndirect.addAssign(n.mul(O1,Ek({normal:ro,viewDir:rr,roughness:e_}))),this.clearcoat===!0){let b=n_.dot(rr).clamp(),A=g3e({dotNV:b,specularColor:Tk,specularF90:L$,roughness:F8});this.clearcoatSpecularIndirect.addAssign(this.clearcoatRadiance.mul(A))}let o=Gt().toVar("singleScatteringDielectric"),r=Gt().toVar("multiScatteringDielectric"),l=Gt().toVar("singleScatteringMetallic"),d=Gt().toVar("multiScatteringMetallic");this.computeMultiscattering(o,r,Tx,d_,this.iridescenceF0Dielectric),this.computeMultiscattering(l,d,Tx,ko.rgb,this.iridescenceF0Metallic);let h=zs(o,l,kS),p=zs(r,d,kS),I=o.add(r),m=mx.mul(I.oneMinus()),y=n.mul(1/Math.PI),T=i.mul(h).add(p.mul(y)).toVar(),R=m.mul(y).toVar();if(this.sheen===!0){let b=Ek({normal:ro,viewDir:rr,roughness:e_}),A=O1.r.max(O1.g).max(O1.b).mul(b).oneMinus();T.mulAssign(A),R.mulAssign(A)}s.indirectSpecular.addAssign(T),s.indirectDiffuse.addAssign(R)}ambientOcclusion(t){let{ambientOcclusion:i,reflectedLight:n}=t.context,o=ro.dot(rr).clamp().add(i),r=M2.mul(-16).oneMinus().negate().exp2(),l=i.sub(o.pow(r).oneMinus()).clamp();this.clearcoat===!0&&this.clearcoatSpecularIndirect.mulAssign(i),this.sheen===!0&&this.sheenSpecularIndirect.mulAssign(i),n.indirectDiffuse.mulAssign(i),n.indirectSpecular.mulAssign(l)}finish({context:t}){let{outgoingLight:i}=t;if(this.clearcoat===!0){let n=n_.dot(rr).clamp(),s=Q8({dotVH:n,f0:Tk,f90:L$}),o=i.mul(aZ.mul(s).oneMinus()).add(this.clearcoatSpecularDirect.add(this.clearcoatSpecularIndirect).mul(aZ));i.assign(o)}if(this.sheen===!0){let n=i.add(this.sheenSpecularDirect,this.sheenSpecularIndirect.mul(1/Math.PI));i.assign(n)}}},b1e=Et(1),ole=Et(-2),P$=Et(.8),woe=Et(-1),M$=Et(.4),voe=Et(2),B$=Et(.305),Roe=Et(3),N1e=Et(.21),$Be=Et(4),_1e=Et(4),ZBe=Et(16),KBe=Wt(([e])=>{let t=Gt(dr(e)).toVar(),i=Et(-1).toVar();return Fn(t.x.greaterThan(t.z),()=>{Fn(t.x.greaterThan(t.y),()=>{i.assign(jf(e.x.greaterThan(0),0,3))}).Else(()=>{i.assign(jf(e.y.greaterThan(0),1,4))})}).Else(()=>{Fn(t.z.greaterThan(t.y),()=>{i.assign(jf(e.z.greaterThan(0),2,5))}).Else(()=>{i.assign(jf(e.y.greaterThan(0),1,4))})}),i}).setLayout({name:"getFace",type:"float",inputs:[{name:"direction",type:"vec3"}]}),QBe=Wt(([e,t])=>{let i=Hi().toVar();return Fn(t.equal(0),()=>{i.assign(Hi(e.z,e.y).div(dr(e.x)))}).ElseIf(t.equal(1),()=>{i.assign(Hi(e.x.negate(),e.z.negate()).div(dr(e.y)))}).ElseIf(t.equal(2),()=>{i.assign(Hi(e.x.negate(),e.y).div(dr(e.z)))}).ElseIf(t.equal(3),()=>{i.assign(Hi(e.z.negate(),e.y).div(dr(e.x)))}).ElseIf(t.equal(4),()=>{i.assign(Hi(e.x.negate(),e.z).div(dr(e.y)))}).Else(()=>{i.assign(Hi(e.x,e.y).div(dr(e.z)))}),os(.5,i.add(1))}).setLayout({name:"getUV",type:"vec2",inputs:[{name:"direction",type:"vec3"},{name:"face",type:"float"}]}),JBe=Wt(([e])=>{let t=Et(0).toVar();return Fn(e.greaterThanEqual(P$),()=>{t.assign(b1e.sub(e).mul(woe.sub(ole)).div(b1e.sub(P$)).add(ole))}).ElseIf(e.greaterThanEqual(M$),()=>{t.assign(P$.sub(e).mul(voe.sub(woe)).div(P$.sub(M$)).add(woe))}).ElseIf(e.greaterThanEqual(B$),()=>{t.assign(M$.sub(e).mul(Roe.sub(voe)).div(M$.sub(B$)).add(voe))}).ElseIf(e.greaterThanEqual(N1e),()=>{t.assign(B$.sub(e).mul($Be.sub(Roe)).div(B$.sub(N1e)).add(Roe))}).Else(()=>{t.assign(Et(-2).mul(F2(os(1.16,e))))}),t}).setLayout({name:"roughnessToMip",type:"float",inputs:[{name:"roughness",type:"float"}]}),R3e=Wt(([e,t])=>{let i=e.toVar();i.assign(os(2,i).sub(1));let n=Gt(i,1).toVar();return Fn(t.equal(0),()=>{n.assign(n.zyx)}).ElseIf(t.equal(1),()=>{n.assign(n.xzy),n.xz.mulAssign(-1)}).ElseIf(t.equal(2),()=>{n.x.mulAssign(-1)}).ElseIf(t.equal(3),()=>{n.assign(n.zyx),n.xz.mulAssign(-1)}).ElseIf(t.equal(4),()=>{n.assign(n.xzy),n.xy.mulAssign(-1)}).ElseIf(t.equal(5),()=>{n.z.mulAssign(-1)}),n}).setLayout({name:"getDirection",type:"vec3",inputs:[{name:"uv",type:"vec2"},{name:"face",type:"float"}]}),S3e=Wt(([e,t,i,n,s,o])=>{let r=Et(i),l=Gt(t),d=U3(JBe(r),ole,o),h=F3(d),p=U2(d),I=Gt(qk(e,l,p,n,s,o)).toVar();return Fn(h.notEqual(0),()=>{let m=Gt(qk(e,l,p.add(1),n,s,o)).toVar();I.assign(zs(I,m,h))}),I}),qk=Wt(([e,t,i,n,s,o])=>{let r=Et(i).toVar(),l=Gt(t),d=Et(KBe(l)).toVar(),h=Et(fa(_1e.sub(r),0)).toVar();r.assign(fa(r,_1e));let p=Et(W8(r)).toVar(),I=Hi(QBe(l,d).mul(p.sub(2)).add(1)).toVar();return Fn(d.greaterThan(2),()=>{I.y.addAssign(p),d.subAssign(3)}),I.x.addAssign(d.mul(p)),I.x.addAssign(h.mul(os(3,ZBe))),I.y.addAssign(os(4,W8(o).sub(p))),I.x.mulAssign(n),I.y.mulAssign(s),e.sample(I).grad(Hi(),Hi())}),Soe=Wt(({envMap:e,mipInt:t,outputDirection:i,theta:n,axis:s,CUBEUV_TEXEL_WIDTH:o,CUBEUV_TEXEL_HEIGHT:r,CUBEUV_MAX_MIP:l})=>{let d=P3(n),h=i.mul(d).add(s.cross(i).mul(rI(n))).add(s.mul(s.dot(i).mul(d.oneMinus())));return qk(e,h,t,o,r,l)}),A3e=Wt(({n:e,latitudinal:t,poleAxis:i,outputDirection:n,weights:s,samples:o,dTheta:r,mipInt:l,envMap:d,CUBEUV_TEXEL_WIDTH:h,CUBEUV_TEXEL_HEIGHT:p,CUBEUV_MAX_MIP:I})=>{let m=Gt(jf(t,i,jS(i,n))).toVar();Fn(m.equal(Gt(0)),()=>{m.assign(Gt(n.z,0,n.x.negate()))}),m.assign(tm(m));let y=Gt().toVar();return y.addAssign(s.element(0).mul(Soe({theta:0,axis:m,outputDirection:n,mipInt:l,envMap:d,CUBEUV_TEXEL_WIDTH:h,CUBEUV_TEXEL_HEIGHT:p,CUBEUV_MAX_MIP:I}))),zo({start:Ot(1),end:e},({i:T})=>{Fn(T.greaterThanEqual(o),()=>{l3e()});let R=Et(r.mul(Et(T))).toVar();y.addAssign(s.element(T).mul(Soe({theta:R.mul(-1),axis:m,outputDirection:n,mipInt:l,envMap:d,CUBEUV_TEXEL_WIDTH:h,CUBEUV_TEXEL_HEIGHT:p,CUBEUV_MAX_MIP:I}))),y.addAssign(s.element(T).mul(Soe({theta:R,axis:m,outputDirection:n,mipInt:l,envMap:d,CUBEUV_TEXEL_WIDTH:h,CUBEUV_TEXEL_HEIGHT:p,CUBEUV_MAX_MIP:I})))}),On(y,1)}),XBe=Wt(([e])=>{let t=xi(e).toVar();return t.assign(t.shiftLeft(xi(16)).bitOr(t.shiftRight(xi(16)))),t.assign(t.bitAnd(xi(1431655765)).shiftLeft(xi(1)).bitOr(t.bitAnd(xi(2863311530)).shiftRight(xi(1)))),t.assign(t.bitAnd(xi(858993459)).shiftLeft(xi(2)).bitOr(t.bitAnd(xi(3435973836)).shiftRight(xi(2)))),t.assign(t.bitAnd(xi(252645135)).shiftLeft(xi(4)).bitOr(t.bitAnd(xi(4042322160)).shiftRight(xi(4)))),t.assign(t.bitAnd(xi(16711935)).shiftLeft(xi(8)).bitOr(t.bitAnd(xi(4278255360)).shiftRight(xi(8)))),Et(t).mul(23283064365386963e-26)}),e9e=Wt(([e,t])=>Hi(Et(e).div(Et(t)),XBe(e))),t9e=Wt(([e,t,i])=>{let n=i.mul(i).toConst(),s=Gt(1,0,0).toConst(),o=jS(t,s).toConst(),r=aI(e.x).toConst(),l=os(2,3.14159265359).mul(e.y).toConst(),d=r.mul(P3(l)).toConst(),h=r.mul(rI(l)).toVar(),p=os(.5,t.z.add(1)).toConst();h.assign(p.oneMinus().mul(aI(d.mul(d).oneMinus())).add(p.mul(h)));let I=s.mul(d).add(o.mul(h)).add(t.mul(aI(fa(0,d.mul(d).add(h.mul(h)).oneMinus()))));return tm(Gt(n.mul(I.x),n.mul(I.y),fa(0,I.z)))}),b3e=Wt(({roughness:e,mipInt:t,envMap:i,N_immutable:n,GGX_SAMPLES:s,CUBEUV_TEXEL_WIDTH:o,CUBEUV_TEXEL_HEIGHT:r,CUBEUV_MAX_MIP:l})=>{let d=Gt(n).toVar(),h=Gt(0).toVar(),p=Et(0).toVar();return Fn(e.lessThan(.001),()=>{h.assign(qk(i,d,t,o,r,l))}).Else(()=>{let I=jf(dr(d.z).lessThan(.999),Gt(0,0,1),Gt(1,0,0)),m=tm(jS(I,d)).toVar(),y=jS(d,m).toVar();zo({start:xi(0),end:s},({i:T})=>{let R=e9e(T,s),b=t9e(R,Gt(0,0,1),e),A=tm(m.mul(b.x).add(y.mul(b.y)).add(d.mul(b.z))),O=tm(A.mul(gE(d,A).mul(2)).sub(d)),P=fa(gE(d,O),0);Fn(P.greaterThan(0),()=>{let U=qk(i,O,t,o,r,l);h.addAssign(U.mul(P)),p.addAssign(P)})}),Fn(p.greaterThan(0),()=>{h.assign(h.div(p))})}),On(h,1)}),r_=4,D1e=[.125,.215,.35,.446,.526,.582],yx=20,i9e=512,gk=new ba(-1,1,1,-1,0,1),n9e=new xo(90,1),C1e=new Oi,Aoe=null,boe=0,Noe=0,s9e=new ye,CZ=new WeakMap,o9e=[3,1,5,0,4,2],_oe=R3e(er(),qS("faceIndex")).normalize(),DK=Gt(_oe.x,_oe.y,_oe.z),rle=class{constructor(t){this._renderer=t,this._pingPongRenderTarget=null,this._lodMax=0,this._cubeSize=0,this._sizeLods=[],this._sigmas=[],this._lodMeshes=[],this._blurMaterial=null,this._ggxMaterial=null,this._cubemapMaterial=null,this._equirectMaterial=null,this._backgroundBox=null}get _hasInitialized(){return this._renderer.hasInitialized()}fromScene(t,i=0,n=.1,s=100,o={}){let{size:r=256,position:l=s9e,renderTarget:d=null}=o;if(this._setSize(r),this._hasInitialized===!1){ci('PMREMGenerator: ".fromScene()" called before the backend is initialized. Try using "await renderer.init()" instead.');let p=d||this._allocateTarget();return o.renderTarget=p,this.fromSceneAsync(t,i,n,s,o),p}Aoe=this._renderer.getRenderTarget(),boe=this._renderer.getActiveCubeFace(),Noe=this._renderer.getActiveMipmapLevel();let h=d||this._allocateTarget();return h.depthBuffer=!0,this._init(h),this._sceneToCubeUV(t,n,s,h,l),i>0&&this._blur(h,0,0,i),this._applyPMREM(h),this._cleanup(h),h}async fromSceneAsync(t,i=0,n=.1,s=100,o={}){return Oo('PMREMGenerator: ".fromSceneAsync()" is deprecated. Use "await renderer.init()" instead.'),await this._renderer.init(),this.fromScene(t,i,n,s,o)}fromEquirectangular(t,i=null){if(this._hasInitialized===!1){ci('PMREMGenerator: .fromEquirectangular() called before the backend is initialized. Try using "await renderer.init()" instead.'),this._setSizeFromTexture(t);let n=i||this._allocateTarget();return this.fromEquirectangularAsync(t,n),n}return this._fromTexture(t,i)}async fromEquirectangularAsync(t,i=null){return Oo('PMREMGenerator: ".fromEquirectangularAsync()" is deprecated. Use "await renderer.init()" instead.'),await this._renderer.init(),this._fromTexture(t,i)}fromCubemap(t,i=null){if(this._hasInitialized===!1){ci("PMREMGenerator: .fromCubemap() called before the backend is initialized. Try using .fromCubemapAsync() instead."),this._setSizeFromTexture(t);let n=i||this._allocateTarget();return this.fromCubemapAsync(t,i),n}return this._fromTexture(t,i)}async fromCubemapAsync(t,i=null){return Oo('PMREMGenerator: ".fromCubemapAsync()" is deprecated. Use "await renderer.init()" instead.'),await this._renderer.init(),this._fromTexture(t,i)}async compileCubemapShader(){this._cubemapMaterial===null&&(this._cubemapMaterial=O1e(),await this._compileMaterial(this._cubemapMaterial))}async compileEquirectangularShader(){this._equirectMaterial===null&&(this._equirectMaterial=L1e(),await this._compileMaterial(this._equirectMaterial))}dispose(){this._dispose(),this._cubemapMaterial!==null&&this._cubemapMaterial.dispose(),this._equirectMaterial!==null&&this._equirectMaterial.dispose(),this._backgroundBox!==null&&(this._backgroundBox.geometry.dispose(),this._backgroundBox.material.dispose())}_setSizeFromTexture(t){t.mapping===Ef||t.mapping===VI?this._setSize(t.image.length===0?16:t.image[0].width||t.image[0].image.width):this._setSize(t.image.width/4)}_setSize(t){this._lodMax=Math.floor(Math.log2(t)),this._cubeSize=Math.pow(2,this._lodMax)}_dispose(){this._blurMaterial!==null&&this._blurMaterial.dispose(),this._ggxMaterial!==null&&this._ggxMaterial.dispose(),this._pingPongRenderTarget!==null&&this._pingPongRenderTarget.dispose();for(let t=0;t<this._lodMeshes.length;t++)this._lodMeshes[t].geometry.dispose()}_cleanup(t){this._renderer.setRenderTarget(Aoe,boe,Noe),t.scissorTest=!1,this._setViewport(t,0,0,t.width,t.height)}_fromTexture(t,i){this._setSizeFromTexture(t),Aoe=this._renderer.getRenderTarget(),boe=this._renderer.getActiveCubeFace(),Noe=this._renderer.getActiveMipmapLevel();let n=i||this._allocateTarget();return this._init(n),this._textureToCubeUV(t,n),this._applyPMREM(n),this._cleanup(n),n}_allocateTarget(){let t=3*Math.max(this._cubeSize,112),i=4*this._cubeSize;return x1e(t,i)}_init(t){if(this._pingPongRenderTarget===null||this._pingPongRenderTarget.width!==t.width||this._pingPongRenderTarget.height!==t.height){this._pingPongRenderTarget!==null&&this._dispose(),this._pingPongRenderTarget=x1e(t.width,t.height);let{_lodMax:i}=this;({lodMeshes:this._lodMeshes,sizeLods:this._sizeLods,sigmas:this._sigmas}=r9e(i)),this._blurMaterial=l9e(i,t.width,t.height),this._ggxMaterial=a9e(i,t.width,t.height)}}async _compileMaterial(t){let i=new _i(new nn,t);await this._renderer.compile(i,gk)}_sceneToCubeUV(t,i,n,s,o){let r=n9e;r.near=i,r.far=n;let l=[1,1,1,1,-1,1],d=[1,-1,1,-1,1,-1],h=this._renderer,p=h.autoClear;h.getClearColor(C1e),h.autoClear=!1,this._backgroundBox===null&&(this._backgroundBox=new _i(new pr,new Ho({name:"PMREM.Background",side:Js,depthWrite:!1,depthTest:!1})));let I=this._backgroundBox,m=I.material,y=!1,T=t.background;T?T.isColor&&(m.color.copy(T),t.background=null,y=!0):(m.color.copy(C1e),y=!0),h.setRenderTarget(s),h.clear(),y&&h.render(I,r);for(let R=0;R<6;R++){let b=R%3;b===0?(r.up.set(0,l[R],0),r.position.set(o.x,o.y,o.z),r.lookAt(o.x+d[R],o.y,o.z)):b===1?(r.up.set(0,0,l[R]),r.position.set(o.x,o.y,o.z),r.lookAt(o.x,o.y+d[R],o.z)):(r.up.set(0,l[R],0),r.position.set(o.x,o.y,o.z),r.lookAt(o.x,o.y,o.z+d[R]));let A=this._cubeSize;this._setViewport(s,b*A,R>2?A:0,A,A),h.render(t,r)}h.autoClear=p,t.background=T}_textureToCubeUV(t,i){let n=this._renderer,s=t.mapping===Ef||t.mapping===VI;s?this._cubemapMaterial===null&&(this._cubemapMaterial=O1e(t)):this._equirectMaterial===null&&(this._equirectMaterial=L1e(t));let o=s?this._cubemapMaterial:this._equirectMaterial;o.fragmentNode.value=t;let r=this._lodMeshes[0];r.material=o;let l=this._cubeSize;this._setViewport(i,0,0,3*l,2*l),n.setRenderTarget(i),n.render(r,gk)}_applyPMREM(t){let i=this._renderer,n=i.autoClear;i.autoClear=!1;let s=this._lodMeshes.length;for(let o=1;o<s;o++)this._applyGGXFilter(t,o-1,o);i.autoClear=n}_applyGGXFilter(t,i,n){let s=this._renderer,o=this._pingPongRenderTarget,r=this._ggxMaterial,l=this._lodMeshes[n];l.material=r;let d=CZ.get(r),h=n/(this._lodMeshes.length-1),p=i/(this._lodMeshes.length-1),I=Math.sqrt(h*h-p*p),m=0+h*1.25,y=I*m,{_lodMax:T}=this,R=this._sizeLods[n],b=3*R*(n>T-r_?n-T+r_:0),A=4*(this._cubeSize-R);t.texture.frame=(t.texture.frame||0)+1,d.envMap.value=t.texture,d.roughness.value=y,d.mipInt.value=T-i,this._setViewport(o,b,A,3*R,2*R),s.setRenderTarget(o),s.render(l,gk),o.texture.frame=(o.texture.frame||0)+1,d.envMap.value=o.texture,d.roughness.value=0,d.mipInt.value=T-n,this._setViewport(t,b,A,3*R,2*R),s.setRenderTarget(t),s.render(l,gk)}_blur(t,i,n,s,o){let r=this._pingPongRenderTarget;this._halfBlur(t,r,i,n,s,"latitudinal",o),this._halfBlur(r,t,n,n,s,"longitudinal",o)}_halfBlur(t,i,n,s,o,r,l){let d=this._renderer,h=this._blurMaterial;r!=="latitudinal"&&r!=="longitudinal"&&yi("blur direction must be either latitudinal or longitudinal!");let p=3,I=this._lodMeshes[s];I.material=h;let m=CZ.get(h),y=this._sizeLods[n]-1,T=isFinite(o)?Math.PI/(2*y):2*Math.PI/(2*yx-1),R=o/T,b=isFinite(o)?1+Math.floor(p*R):yx;b>yx&&ci(`sigmaRadians, ${o}, is too large and will clip, as it requested ${b} samples when the maximum is set to ${yx}`);let A=[],O=0;for(let K=0;K<yx;++K){let oe=K/R,se=Math.exp(-oe*oe/2);A.push(se),K===0?O+=se:K<b&&(O+=2*se)}for(let K=0;K<A.length;K++)A[K]=A[K]/O;t.texture.frame=(t.texture.frame||0)+1,m.envMap.value=t.texture,m.samples.value=b,m.weights.array=A,m.latitudinal.value=r==="latitudinal"?1:0,l&&(m.poleAxis.value=l);let{_lodMax:P}=this;m.dTheta.value=T,m.mipInt.value=P-n;let U=this._sizeLods[s],Z=3*U*(s>P-r_?s-P+r_:0),ne=4*(this._cubeSize-U);this._setViewport(i,Z,ne,3*U,2*U),d.setRenderTarget(i),d.render(I,gk)}_setViewport(t,i,n,s,o){this._renderer.isWebGLRenderer?(t.viewport.set(i,t.height-o-n,s,o),t.scissor.set(i,t.height-o-n,s,o)):(t.viewport.set(i,n,s,o),t.scissor.set(i,n,s,o))}};function r9e(e){let t=[],i=[],n=[],s=e,o=e-r_+1+D1e.length;for(let r=0;r<o;r++){let l=Math.pow(2,s);t.push(l);let d=1/l;r>e-r_?d=D1e[r-e+r_-1]:r===0&&(d=0),i.push(d);let h=1/(l-2),p=-h,I=1+h,m=[p,p,I,p,I,I,p,p,I,I,p,I],y=6,T=6,R=3,b=2,A=1,O=new Float32Array(R*T*y),P=new Float32Array(b*T*y),U=new Float32Array(A*T*y);for(let ne=0;ne<y;ne++){let K=ne%3*2/3-1,oe=ne>2?0:-1,se=[K,oe,0,K+2/3,oe,0,K+2/3,oe+1,0,K,oe,0,K+2/3,oe+1,0,K,oe+1,0],he=o9e[ne];O.set(se,R*T*he),P.set(m,b*T*he);let Re=[he,he,he,he,he,he];U.set(Re,A*T*he)}let Z=new nn;Z.setAttribute("position",new Tn(O,R)),Z.setAttribute("uv",new Tn(P,b)),Z.setAttribute("faceIndex",new Tn(U,A)),n.push(new _i(Z,null)),s>r_&&s--}return{lodMeshes:n,sizeLods:t,sigmas:i}}function x1e(e,t){let i={magFilter:Us,minFilter:Us,generateMipmaps:!1,type:sr,format:Ko,colorSpace:kv},n=new yf(e,t,i);return n.texture.mapping=BT,n.texture.name="PMREM.cubeUv",n.texture.isPMREMTexture=!0,n.scissorTest=!0,n}function CK(e){let t=new Ul;return t.depthTest=!1,t.depthWrite=!1,t.blending=Na,t.name=`PMREM_${e}`,t}function l9e(e,t,i){let n=Yf(new Array(yx).fill(0)),s=Nn(new ye(0,1,0)),o=Nn(0),r=Et(yx),l=Nn(0),d=Nn(1),h=lo(),p=Nn(0),I=Et(1/t),m=Et(1/i),y=Et(e),T={n:r,latitudinal:l,weights:n,poleAxis:s,outputDirection:DK,dTheta:o,samples:d,envMap:h,mipInt:p,CUBEUV_TEXEL_WIDTH:I,CUBEUV_TEXEL_HEIGHT:m,CUBEUV_MAX_MIP:y},R=CK("blur");return R.fragmentNode=A3e({...T,latitudinal:l.equal(1)}),CZ.set(R,T),R}function a9e(e,t,i){let n=lo(),s=Nn(0),o=Nn(0),r=Et(1/t),l=Et(1/i),d=Et(e),h={envMap:n,roughness:s,mipInt:o,CUBEUV_TEXEL_WIDTH:r,CUBEUV_TEXEL_HEIGHT:l,CUBEUV_MAX_MIP:d},p=CK("ggx");return p.fragmentNode=b3e({...h,N_immutable:DK,GGX_SAMPLES:xi(i9e)}),CZ.set(p,h),p}function O1e(e){let t=CK("cubemap");return t.fragmentNode=lI(e,DK),t}function L1e(e){let t=CK("equirect");return t.fragmentNode=lo(e,bce(DK),0),t}var P1e=new WeakMap;function u9e(e){let t=Math.log2(e)-2,i=1/e;return{texelWidth:1/(3*Math.max(Math.pow(2,t),112)),texelHeight:i,maxMip:t}}function c9e(e,t,i){let n=d9e(t),s=n.get(e);if((s!==void 0?s.pmremVersion:-1)!==e.pmremVersion){let r=e.image;if(e.isCubeTexture)if(h9e(r))s=i.fromCubemap(e,s);else return null;else if(f9e(r))s=i.fromEquirectangular(e,s);else return null;s.pmremVersion=e.pmremVersion,n.set(e,s)}return s.texture}function d9e(e){let t=P1e.get(e);return t===void 0&&(t=new WeakMap,P1e.set(e,t)),t}var lle=class extends Fl{static get type(){return"PMREMNode"}constructor(t,i=null,n=null){super("vec3"),this._value=t,this._pmrem=null,this.uvNode=i,this.levelNode=n,this._generator=null;let s=new wr;s.isRenderTargetTexture=!0,this._texture=lo(s),this._width=Nn(0),this._height=Nn(0),this._maxMip=Nn(0),this.updateBeforeType=Zn.RENDER}set value(t){this._value=t,this._pmrem=null}get value(){return this._value}updateFromTexture(t){let i=u9e(t.image.height);this._texture.value=t,this._width.value=i.texelWidth,this._height.value=i.texelHeight,this._maxMip.value=i.maxMip}updateBefore(t){let i=this._pmrem,n=i?i.pmremVersion:-1,s=this._value;n!==s.pmremVersion&&(s.isPMREMTexture===!0?i=s:i=c9e(s,t.renderer,this._generator),i!==null&&(this._pmrem=i,this.updateFromTexture(i)))}setup(t){this._generator===null&&(this._generator=new rle(t.renderer)),this.updateBefore(t);let i=this.uvNode;i===null&&t.context.getUV&&(i=t.context.getUV(this,t)),i=Ice.mul(Gt(i.x,i.y.negate(),i.z));let n=this.levelNode;return n===null&&t.context.getTextureLevel&&(n=t.context.getTextureLevel(this)),S3e(this._texture,i,n,this._width,this._height,this._maxMip)}dispose(){super.dispose(),this._generator!==null&&this._generator.dispose()}};function h9e(e){if(e==null)return!1;let t=0,i=6;for(let n=0;n<i;n++)e[n]!==void 0&&t++;return t===i}function f9e(e){return e==null?!1:e.height>0}var Cce=ys(lle).setParameterLength(1,3),M1e=new WeakMap,ale=class extends h_{static get type(){return"EnvironmentNode"}constructor(t=null){super(),this.envNode=t}setup(t){let{material:i}=t,n=this.envNode;if(n.isTextureNode||n.isMaterialReferenceNode){let I=n.isTextureNode?n.value:i[n.property],m=this._getPMREMNodeCache(t.renderer),y=m.get(I);y===void 0&&(y=Cce(I),m.set(I,y)),n=y}let o=i.useAnisotropy===!0||i.anisotropy>0?STe:ro,r=n.context(B1e(M2,o)).mul(iZ),l=n.context(p9e(m_)).mul(Math.PI).mul(iZ),d=G8(r),h=G8(l);t.context.radiance.addAssign(d),t.context.iblIrradiance.addAssign(h);let p=t.context.lightingModel.clearcoatRadiance;if(p){let I=n.context(B1e(F8,n_)).mul(iZ),m=G8(I);p.addAssign(m)}}_getPMREMNodeCache(t){let i=M1e.get(t);return i===void 0&&(i=new WeakMap,M1e.set(t,i)),i}},B1e=(e,t)=>{let i=null;return{getUV:()=>(i===null&&(i=rr.negate().reflect(t),i=Que(e).mix(i,t).normalize(),i=i.transformDirection(vE)),i),getTextureLevel:()=>e}},p9e=e=>({getUV:()=>e,getTextureLevel:()=>Et(1)}),I9e=new Fb,xZ=class extends Ul{static get type(){return"MeshStandardNodeMaterial"}constructor(t){super(),this.isMeshStandardNodeMaterial=!0,this.lights=!0,this.emissiveNode=null,this.metalnessNode=null,this.roughnessNode=null,this.setDefaultValues(I9e),this.setValues(t)}setupEnvironment(t){let i=super.setupEnvironment(t);return i===null&&t.environmentNode&&(i=t.environmentNode),i?new ale(i):null}setupLightingModel(){return new DZ}setupSpecular(){let t=zs(Gt(.04),ko.rgb,kS);d_.assign(Gt(.04)),Ex.assign(t),Tx.assign(1)}setupVariants(){let t=this.metalnessNode?Et(this.metalnessNode):LTe;kS.assign(t);let i=this.roughnessNode?Et(this.roughnessNode):OTe;i=Nce({roughness:i}),M2.assign(i),this.setupSpecular(),mx.assign(ko.rgb.mul(t.oneMinus()))}copy(t){return this.emissiveNode=t.emissiveNode,this.metalnessNode=t.metalnessNode,this.roughnessNode=t.roughnessNode,super.copy(t)}},m9e=new IC,ule=class extends xZ{static get type(){return"MeshPhysicalNodeMaterial"}constructor(t){super(),this.isMeshPhysicalNodeMaterial=!0,this.clearcoatNode=null,this.clearcoatRoughnessNode=null,this.clearcoatNormalNode=null,this.sheenNode=null,this.sheenRoughnessNode=null,this.iridescenceNode=null,this.iridescenceIORNode=null,this.iridescenceThicknessNode=null,this.specularIntensityNode=null,this.specularColorNode=null,this.iorNode=null,this.transmissionNode=null,this.thicknessNode=null,this.attenuationDistanceNode=null,this.attenuationColorNode=null,this.dispersionNode=null,this.anisotropyNode=null,this.setDefaultValues(m9e),this.setValues(t)}get useClearcoat(){return this.clearcoat>0||this.clearcoatNode!==null}get useIridescence(){return this.iridescence>0||this.iridescenceNode!==null}get useSheen(){return this.sheen>0||this.sheenNode!==null}get useAnisotropy(){return this.anisotropy>0||this.anisotropyNode!==null}get useTransmission(){return this.transmission>0||this.transmissionNode!==null}get useDispersion(){return this.dispersion>0||this.dispersionNode!==null}setupSpecular(){let t=this.iorNode?Et(this.iorNode):qTe;Pk.assign(t),d_.assign(nm(Kue(Pk.sub(1).div(Pk.add(1))).mul(xTe),Gt(1)).mul(Bre)),Ex.assign(zs(d_,ko.rgb,kS)),Tx.assign(zs(Bre,1,kS))}setupLightingModel(){return new DZ(this.useClearcoat,this.useSheen,this.useIridescence,this.useAnisotropy,this.useTransmission,this.useDispersion)}setupVariants(t){if(super.setupVariants(t),this.useClearcoat){let i=this.clearcoatNode?Et(this.clearcoatNode):MTe,n=this.clearcoatRoughnessNode?Et(this.clearcoatRoughnessNode):BTe;aZ.assign(i),F8.assign(Nce({roughness:n}))}if(this.useSheen){let i=this.sheenNode?Gt(this.sheenNode):HTe,n=this.sheenRoughnessNode?Et(this.sheenRoughnessNode):GTe;O1.assign(i),e_.assign(n)}if(this.useIridescence){let i=this.iridescenceNode?Et(this.iridescenceNode):kTe,n=this.iridescenceIORNode?Et(this.iridescenceIORNode):zTe,s=this.iridescenceThicknessNode?Et(this.iridescenceThicknessNode):WTe;mK.assign(i),uZ.assign(n),cZ.assign(s)}if(this.useAnisotropy){let i=(this.anisotropyNode?Hi(this.anisotropyNode):VTe).toVar();XN.assign(i.length()),Fn(XN.equal(0),()=>{i.assign(Hi(1,0))}).Else(()=>{i.divAssign(Hi(XN)),XN.assign(XN.saturate())}),dZ.assign(XN.pow2().mix(M2.pow2(),1)),Lk.assign(gx[0].mul(i.x).add(gx[1].mul(i.y))),Rx.assign(gx[1].mul(i.x).sub(gx[0].mul(i.y)))}if(this.useTransmission){let i=this.transmissionNode?Et(this.transmissionNode):YTe,n=this.thicknessNode?Et(this.thicknessNode):jTe,s=this.attenuationDistanceNode?Et(this.attenuationDistanceNode):$Te,o=this.attenuationColorNode?Gt(this.attenuationColorNode):ZTe;if(fZ.assign(i),Mue.assign(n),Bue.assign(s),Fue.assign(o),this.useDispersion){let r=this.dispersionNode?Et(this.dispersionNode):t3e;Uue.assign(r)}}}setupClearcoatNormal(){return this.clearcoatNormalNode?Gt(this.clearcoatNormalNode):FTe}setup(t){t.context.setupClearcoatNormal=()=>Sx(this.setupClearcoatNormal(t),"NORMAL","vec3"),super.setup(t)}copy(t){return this.clearcoatNode=t.clearcoatNode,this.clearcoatRoughnessNode=t.clearcoatRoughnessNode,this.clearcoatNormalNode=t.clearcoatNormalNode,this.sheenNode=t.sheenNode,this.sheenRoughnessNode=t.sheenRoughnessNode,this.iridescenceNode=t.iridescenceNode,this.iridescenceIORNode=t.iridescenceIORNode,this.iridescenceThicknessNode=t.iridescenceThicknessNode,this.specularIntensityNode=t.specularIntensityNode,this.specularColorNode=t.specularColorNode,this.iorNode=t.iorNode,this.transmissionNode=t.transmissionNode,this.thicknessNode=t.thicknessNode,this.attenuationDistanceNode=t.attenuationDistanceNode,this.attenuationColorNode=t.attenuationColorNode,this.dispersionNode=t.dispersionNode,this.anisotropyNode=t.anisotropyNode,super.copy(t)}};var y9e=Wt(({normal:e,lightDirection:t,builder:i})=>{let n=e.dot(t),s=Hi(n.mul(.5).add(.5),0);if(i.material.gradientMap){let o=VS("gradientMap","texture").context({getUV:()=>s});return Gt(o.r)}else{let o=s.fwidth().mul(.5);return zs(Gt(.7),Gt(1),H3(Et(.7).sub(o.x),Et(.7).add(o.x),s.x))}}),cle=class extends K8{direct({lightDirection:t,lightColor:i,reflectedLight:n},s){let o=y9e({normal:SK,lightDirection:t,builder:s}).mul(i);n.directDiffuse.addAssign(o.mul(_x({diffuseColor:ko.rgb})))}indirect(t){let{ambientOcclusion:i,irradiance:n,reflectedLight:s}=t.context;s.indirectDiffuse.addAssign(n.mul(_x({diffuseColor:ko}))),s.indirectDiffuse.mulAssign(i)}},E9e=new yC,dle=class extends Ul{static get type(){return"MeshToonNodeMaterial"}constructor(t){super(),this.isMeshToonNodeMaterial=!0,this.lights=!0,this.setDefaultValues(E9e),this.setValues(t)}setupLightingModel(){return new cle}},N3e=Wt(()=>{let e=Gt(rr.z,0,rr.x.negate()).normalize(),t=rr.cross(e);return Hi(e.dot(ro),t.dot(ro)).mul(.495).add(.5)}).once(["NORMAL","VERTEX"])().toVar("matcapUV"),T9e=new TC,hle=class extends Ul{static get type(){return"MeshMatcapNodeMaterial"}constructor(t){super(),this.isMeshMatcapNodeMaterial=!0,this.setDefaultValues(T9e),this.setValues(t)}setupVariants(t){let i=N3e,n;t.material.matcap?n=VS("matcap","texture").context({getUV:()=>i}):n=Gt(zs(.2,.8,i.y)),ko.rgb.mulAssign(n.rgb)}},fle=class extends Fl{static get type(){return"RotateNode"}constructor(t,i){super(),this.positionNode=t,this.rotationNode=i}generateNodeType(t){return this.positionNode.getNodeType(t)}setup(t){let{rotationNode:i,positionNode:n}=this;if(this.getNodeType(t)==="vec2"){let o=i.cos(),r=i.sin();return IK(o,r,r.negate(),o).mul(n)}else{let o=i,r=l_(On(1,0,0,0),On(0,P3(o.x),rI(o.x).negate(),0),On(0,rI(o.x),P3(o.x),0),On(0,0,0,1)),l=l_(On(P3(o.y),0,rI(o.y),0),On(0,1,0,0),On(rI(o.y).negate(),0,P3(o.y),0),On(0,0,0,1)),d=l_(On(P3(o.z),rI(o.z).negate(),0,0),On(rI(o.z),P3(o.z),0,0),On(0,0,1,0),On(0,0,0,1));return r.mul(l).mul(d).mul(On(n,1)).xyz}}},az=ys(fle).setParameterLength(2),g9e=new Lb,OZ=class extends Ul{static get type(){return"SpriteNodeMaterial"}constructor(t){super(),this.isSpriteNodeMaterial=!0,this._useSizeAttenuation=!0,this.positionNode=null,this.rotationNode=null,this.scaleNode=null,this.transparent=!0,this.setDefaultValues(g9e),this.setValues(t)}setupPositionView(t){let{object:i,camera:n}=t,{positionNode:s,rotationNode:o,scaleNode:r,sizeAttenuation:l}=this,d=I_.mul(Gt(s||0)),h=Hi(EE[0].xyz.length(),EE[1].xyz.length());r!==null&&(h=h.mul(Hi(r))),n.isPerspectiveCamera&&l===!1&&(h=h.mul(d.z.negate()));let p=lz.xy;if(i.center&&i.center.isVector2===!0){let y=aMe("center","vec2",i);p=p.sub(y.sub(.5))}p=p.mul(h);let I=Et(o||UTe),m=az(p,I);return On(d.xy.add(m),d.zw)}copy(t){return this.positionNode=t.positionNode,this.rotationNode=t.rotationNode,this.scaleNode=t.scaleNode,super.copy(t)}get sizeAttenuation(){return this._useSizeAttenuation}set sizeAttenuation(t){this._useSizeAttenuation!==t&&(this._useSizeAttenuation=t,this.needsUpdate=!0)}},w9e=new _T,v9e=new hi,ple=class extends OZ{static get type(){return"PointsNodeMaterial"}constructor(t){super(),this.sizeNode=null,this.isPointsNodeMaterial=!0,this.setDefaultValues(w9e),this.setValues(t)}setupPositionView(){let{positionNode:t}=this;return I_.mul(Gt(t||Ml)).xyz}setupVertexSprite(t){let{material:i,camera:n}=t,{rotationNode:s,scaleNode:o,sizeNode:r,sizeAttenuation:l}=this,d=super.setupVertex(t);if(i.isNodeMaterial!==!0)return d;let h=r!==null?Hi(r):e3e;h=h.mul(QEe),n.isPerspectiveCamera&&l===!0&&(h=h.mul(R9e.div(Tu.z.negate()))),o&&o.isNode&&(h=h.mul(Hi(o)));let p=lz.xy;if(s&&s.isNode){let I=Et(s);p=az(p,I)}return p=p.mul(h),p=p.div(dce.div(2)),p=p.mul(d.w),d=d.add(On(p,0,0)),d}setupVertex(t){return t.object.isPoints?super.setupVertex(t):this.setupVertexSprite(t)}get alphaToCoverage(){return this._useAlphaToCoverage}set alphaToCoverage(t){this._useAlphaToCoverage!==t&&(this._useAlphaToCoverage=t,this.needsUpdate=!0)}},R9e=Nn(1).onFrameUpdate(function({renderer:e}){let t=e.getSize(v9e);this.value=.5*t.y}),Ile=class extends K8{constructor(){super(),this.shadowNode=Et(1).toVar("shadowMask")}direct({lightNode:t}){t.shadowNode!==null&&this.shadowNode.mulAssign(t.shadowNode)}finish({context:t}){ko.a.mulAssign(this.shadowNode.oneMinus()),t.outgoingLight.rgb.assign(ko.rgb)}},S9e=new pC,mle=class extends Ul{static get type(){return"ShadowNodeMaterial"}constructor(t){super(),this.isShadowNodeMaterial=!0,this.lights=!0,this.transparent=!0,this.setDefaultValues(S9e),this.setValues(t)}setupLightingModel(){return new Ile}},zYe=zS("vec3"),WYe=zS("vec3"),YYe=zS("vec3");var yle=class{constructor(t,i,n){this.renderer=t,this.nodes=i,this.info=n,this._context=typeof self<"u"?self:null,this._animationLoop=null,this._requestId=null}start(){let t=(i,n)=>{this._requestId=this._context.requestAnimationFrame(t),this.info.autoReset===!0&&this.info.reset(),this.nodes.nodeFrame.update(),this.info.frame=this.nodes.nodeFrame.frameId,this.renderer._inspector.begin(),this._animationLoop!==null&&this._animationLoop(i,n),this.renderer._inspector.finish()};t()}stop(){this._context!==null&&this._context.cancelAnimationFrame(this._requestId),this._requestId=null}getAnimationLoop(){return this._animationLoop}setAnimationLoop(t){this._animationLoop=t}getContext(){return this._context}setContext(t){this._context=t}dispose(){this.stop()}},W2=class{constructor(){this.weakMaps={}}_getWeakMap(t){let i=t.length,n=this.weakMaps[i];return n===void 0&&(n=new WeakMap,this.weakMaps[i]=n),n}get(t){let i=this._getWeakMap(t);for(let n=0;n<t.length-1;n++)if(i=i.get(t[n]),i===void 0)return;return i.get(t[t.length-1])}set(t,i){let n=this._getWeakMap(t);for(let s=0;s<t.length-1;s++){let o=t[s];n.has(o)===!1&&n.set(o,new WeakMap),n=n.get(o)}return n.set(t[t.length-1],i),this}delete(t){let i=this._getWeakMap(t);for(let n=0;n<t.length-1;n++)if(i=i.get(t[n]),i===void 0)return!1;return i.delete(t[t.length-1])}},A9e=0;function b9e(e){let t=Object.keys(e),i=Object.getPrototypeOf(e);for(;i;){let n=Object.getOwnPropertyDescriptors(i);for(let s in n)if(n[s]!==void 0){let o=n[s];o&&typeof o.get=="function"&&t.push(s)}i=Object.getPrototypeOf(i)}return t}var Ele=class{constructor(t,i,n,s,o,r,l,d,h,p){this.id=A9e++,this._nodes=t,this._geometries=i,this.renderer=n,this.object=s,this.material=o,this.scene=r,this.camera=l,this.lightsNode=d,this.context=h,this.geometry=s.geometry,this.version=o.version,this.drawRange=null,this.attributes=null,this.attributesId=null,this.pipeline=null,this.group=null,this.vertexBuffers=null,this.drawParams=null,this.bundle=null,this.clippingContext=p,this.clippingContextCacheKey=p!==null?p.cacheKey:"",this.initialNodesCacheKey=this.getDynamicCacheKey(),this.initialCacheKey=this.getCacheKey(),this._nodeBuilderState=null,this._bindings=null,this._monitor=null,this.onDispose=null,this.isRenderObject=!0,this.onMaterialDispose=()=>{this.dispose()},this.onGeometryDispose=()=>{this.attributes=null,this.attributesId=null},this.material.addEventListener("dispose",this.onMaterialDispose),this.geometry.addEventListener("dispose",this.onGeometryDispose)}updateClipping(t){this.clippingContext=t}get clippingNeedsUpdate(){return this.clippingContext===null||this.clippingContext.cacheKey===this.clippingContextCacheKey?!1:(this.clippingContextCacheKey=this.clippingContext.cacheKey,!0)}get hardwareClippingPlanes(){return this.material.hardwareClipping===!0?this.clippingContext.unionClippingCount:0}getNodeBuilderState(){return this._nodeBuilderState||(this._nodeBuilderState=this._nodes.getForRender(this))}getMonitor(){return this._monitor||(this._monitor=this.getNodeBuilderState().observer)}getBindings(){return this._bindings||(this._bindings=this.getNodeBuilderState().createBindings())}getBindingGroup(t){for(let i of this.getBindings())if(i.name===t)return i}getIndex(){return this._geometries.getIndex(this)}getIndirect(){return this._geometries.getIndirect(this)}getIndirectOffset(){return this._geometries.getIndirectOffset(this)}getChainArray(){return[this.object,this.material,this.context,this.lightsNode]}setGeometry(t){this.geometry=t,this.attributes=null,this.attributesId=null}getAttributes(){if(this.attributes!==null)return this.attributes;let t=this.getNodeBuilderState().nodeAttributes,i=this.geometry,n=[],s=new Set,o={};for(let r of t){let l;if(r.node&&r.node.attribute?l=r.node.attribute:(l=i.getAttribute(r.name),o[r.name]=l.id),l===void 0)continue;n.push(l);let d=l.isInterleavedBufferAttribute?l.data:l;s.add(d)}return this.attributes=n,this.attributesId=o,this.vertexBuffers=Array.from(s.values()),n}getVertexBuffers(){return this.vertexBuffers===null&&this.getAttributes(),this.vertexBuffers}getDrawParameters(){let{object:t,material:i,geometry:n,group:s,drawRange:o}=this,r=this.drawParams||(this.drawParams={vertexCount:0,firstVertex:0,instanceCount:0,firstInstance:0}),l=this.getIndex(),d=l!==null,h=1;if(n.isInstancedBufferGeometry===!0?h=n.instanceCount:t.count!==void 0&&(h=Math.max(0,t.count)),h===0)return null;if(r.instanceCount=h,t.isBatchedMesh===!0)return r;let p=1;i.wireframe===!0&&!t.isPoints&&!t.isLineSegments&&!t.isLine&&!t.isLineLoop&&(p=2);let I=o.start*p,m=(o.start+o.count)*p;s!==null&&(I=Math.max(I,s.start*p),m=Math.min(m,(s.start+s.count)*p));let y=n.attributes.position,T=1/0;d?T=l.count:y!=null&&(T=y.count),I=Math.max(I,0),m=Math.min(m,T);let R=m-I;return R<0||R===1/0?null:(r.vertexCount=R,r.firstVertex=I,r)}getGeometryCacheKey(){let{geometry:t}=this,i="";for(let n of Object.keys(t.attributes).sort()){let s=t.attributes[n];i+=n+",",s.data&&(i+=s.data.stride+","),s.offset&&(i+=s.offset+","),s.itemSize&&(i+=s.itemSize+","),s.normalized&&(i+="n,")}for(let n of Object.keys(t.morphAttributes).sort()){let s=t.morphAttributes[n];i+="morph-"+n+",";for(let o=0,r=s.length;o<r;o++){let l=s[o];i+=l.id+","}}return t.index&&(i+="index,"),i}getMaterialCacheKey(){let{object:t,material:i,renderer:n}=this,s=i.customProgramCacheKey();for(let o of b9e(i)){if(/^(is[A-Z]|_)|^(visible|version|uuid|name|opacity|userData)$/.test(o))continue;let r=i[o],l;if(r!==null){let d=typeof r;d==="number"?l=r!==0?"1":"0":d==="object"?(l="{",r.isTexture&&(l+=r.mapping,n.backend.isWebGPUBackend===!0&&(l+=r.magFilter,l+=r.minFilter,l+=r.wrapS,l+=r.wrapT,l+=r.wrapR)),l+="}"):l=String(r)}else l=String(r);s+=l+","}return s+=this.clippingContextCacheKey+",",t.geometry&&(s+=this.getGeometryCacheKey()),t.skeleton&&(s+=t.skeleton.bones.length+","),t.isBatchedMesh&&(s+=t._matricesTexture.uuid+",",t._colorsTexture!==null&&(s+=t._colorsTexture.uuid+",")),(t.isInstancedMesh||t.count>1||Array.isArray(t.morphTargetInfluences))&&(s+=t.uuid+","),s+=this.context.id+",",s+=t.receiveShadow+",",X8(s)}get needsGeometryUpdate(){if(this.geometry.id!==this.object.geometry.id)return!0;if(this.attributes!==null){let t=this.attributesId;for(let i in t){let n=this.geometry.getAttribute(i);if(n===void 0||t[i]!==n.id)return!0}}return!1}get needsUpdate(){return this.initialNodesCacheKey!==this.getDynamicCacheKey()||this.clippingNeedsUpdate}getDynamicCacheKey(){let t=0;return this.material.isShadowPassMaterial!==!0&&(t=this._nodes.getCacheKey(this.scene,this.lightsNode)),this.camera.isArrayCamera&&(t=xk(t,this.camera.cameras.length)),this.object.receiveShadow&&(t=xk(t,1)),t=xk(t,this.renderer.contextNode.id,this.renderer.contextNode.version),t}getCacheKey(){return this.getMaterialCacheKey()+this.getDynamicCacheKey()}dispose(){this.material.removeEventListener("dispose",this.onMaterialDispose),this.geometry.removeEventListener("dispose",this.onGeometryDispose),this.onDispose()}},x2=[],Tle=class{constructor(t,i,n,s,o,r){this.renderer=t,this.nodes=i,this.geometries=n,this.pipelines=s,this.bindings=o,this.info=r,this.chainMaps={}}get(t,i,n,s,o,r,l,d){let h=this.getChainMap(d);x2[0]=t,x2[1]=i,x2[2]=r,x2[3]=o;let p=h.get(x2);return p===void 0?(p=this.createRenderObject(this.nodes,this.geometries,this.renderer,t,i,n,s,o,r,l,d),h.set(x2,p)):(p.camera=s,p.updateClipping(l),p.needsGeometryUpdate&&p.setGeometry(t.geometry),(p.version!==i.version||p.needsUpdate)&&(p.initialCacheKey!==p.getCacheKey()?(p.dispose(),p=this.get(t,i,n,s,o,r,l,d)):p.version=i.version)),x2[0]=null,x2[1]=null,x2[2]=null,x2[3]=null,p}getChainMap(t="default"){return this.chainMaps[t]||(this.chainMaps[t]=new W2)}dispose(){this.chainMaps={}}createRenderObject(t,i,n,s,o,r,l,d,h,p,I){let m=this.getChainMap(I),y=new Ele(t,i,n,s,o,r,l,d,h,p);return y.onDispose=()=>{this.pipelines.delete(y),this.bindings.deleteForRender(y),this.nodes.delete(y),m.delete(y.getChainArray())},y}},Y2=class{constructor(){this.data=new WeakMap}get(t){let i=this.data.get(t);return i===void 0&&(i={},this.data.set(t,i)),i}delete(t){let i=null;return this.data.has(t)&&(i=this.data.get(t),this.data.delete(t)),i}has(t){return this.data.has(t)}dispose(){this.data=new WeakMap}},TE={VERTEX:1,INDEX:2,STORAGE:3,INDIRECT:4},s_=16,N9e=211,_9e=212,gle=class extends Y2{constructor(t,i){super(),this.backend=t,this.info=i}delete(t){let i=super.delete(t);return i!==null&&(this.backend.destroyAttribute(t),this.info.destroyAttribute(t)),i}update(t,i){let n=this.get(t);if(n.version===void 0)i===TE.VERTEX?(this.backend.createAttribute(t),this.info.createAttribute(t)):i===TE.INDEX?(this.backend.createIndexAttribute(t),this.info.createIndexAttribute(t)):i===TE.STORAGE?(this.backend.createStorageAttribute(t),this.info.createStorageAttribute(t)):i===TE.INDIRECT&&(this.backend.createIndirectStorageAttribute(t),this.info.createIndirectStorageAttribute(t)),n.version=this._getBufferAttribute(t).version;else{let s=this._getBufferAttribute(t);(n.version<s.version||s.usage===Xb)&&(this.backend.updateAttribute(t),n.version=s.version)}}_getBufferAttribute(t){return t.isInterleavedBufferAttribute&&(t=t.data),t}};function _3e(e){return e.index!==null?e.index.version:e.attributes.position.version}function D3e(e){return e.index!==null?e.index.id:e.attributes.position.id}function F1e(e){let t=[],i=e.index,n=e.attributes.position;if(i!==null){let o=i.array;for(let r=0,l=o.length;r<l;r+=3){let d=o[r+0],h=o[r+1],p=o[r+2];t.push(d,h,h,p,p,d)}}else{let o=n.array;for(let r=0,l=o.length/3-1;r<l;r+=3){let d=r+0,h=r+1,p=r+2;t.push(d,h,h,p,p,d)}}let s=new(n.count>=65535?Ob:xb)(t,1);return s.version=_3e(e),s.__id=D3e(e),s}var wle=class extends Y2{constructor(t,i){super(),this.attributes=t,this.info=i,this.wireframes=new WeakMap,this.attributeCall=new WeakMap,this._geometryDisposeListeners=new Map}has(t){let i=t.geometry;return super.has(i)&&this.get(i).initialized===!0}updateForRender(t){this.has(t)===!1&&this.initGeometry(t),this.updateAttributes(t)}initGeometry(t){let i=t.geometry,n=this.get(i);n.initialized=!0,this.info.memory.geometries++;let s=()=>{this.info.memory.geometries--;let o=i.index,r=t.getAttributes();o!==null&&this.attributes.delete(o);for(let d of r)this.attributes.delete(d);let l=this.wireframes.get(i);l!==void 0&&this.attributes.delete(l),i.removeEventListener("dispose",s),this._geometryDisposeListeners.delete(i)};i.addEventListener("dispose",s),this._geometryDisposeListeners.set(i,s)}updateAttributes(t){let i=t.getAttributes();for(let o of i)o.isStorageBufferAttribute||o.isStorageInstancedBufferAttribute?this.updateAttribute(o,TE.STORAGE):this.updateAttribute(o,TE.VERTEX);let n=this.getIndex(t);n!==null&&this.updateAttribute(n,TE.INDEX);let s=t.geometry.indirect;s!==null&&this.updateAttribute(s,TE.INDIRECT)}updateAttribute(t,i){let n=this.info.render.calls;t.isInterleavedBufferAttribute?this.attributeCall.get(t)===void 0?(this.attributes.update(t,i),this.attributeCall.set(t,n)):this.attributeCall.get(t.data)!==n&&(this.attributes.update(t,i),this.attributeCall.set(t.data,n),this.attributeCall.set(t,n)):this.attributeCall.get(t)!==n&&(this.attributes.update(t,i),this.attributeCall.set(t,n))}getIndirect(t){return t.geometry.indirect}getIndirectOffset(t){return t.geometry.indirectOffset}getIndex(t){let{geometry:i,material:n}=t,s=i.index;if(n.wireframe===!0){let o=this.wireframes,r=o.get(i);r===void 0?(r=F1e(i),o.set(i,r)):(r.version!==_3e(i)||r.__id!==D3e(i))&&(this.attributes.delete(r),r=F1e(i),o.set(i,r)),s=r}return s}dispose(){for(let[t,i]of this._geometryDisposeListeners.entries())t.removeEventListener("dispose",i);this._geometryDisposeListeners.clear()}},vle=class{constructor(){this.autoReset=!0,this.frame=0,this.calls=0,this.render={calls:0,frameCalls:0,drawCalls:0,triangles:0,points:0,lines:0,timestamp:0},this.compute={calls:0,frameCalls:0,timestamp:0},this.memory={geometries:0,textures:0,attributes:0,indexAttributes:0,storageAttributes:0,indirectStorageAttributes:0,readbackBuffers:0,programs:0,renderTargets:0,total:0,texturesSize:0,attributesSize:0,indexAttributesSize:0,storageAttributesSize:0,indirectStorageAttributesSize:0,readbackBuffersSize:0,programsSize:0},this.memoryMap=new Map}update(t,i,n){this.render.drawCalls++,t.isMesh||t.isSprite?this.render.triangles+=n*(i/3):t.isPoints?this.render.points+=n*i:t.isLineSegments?this.render.lines+=n*(i/2):t.isLine?this.render.lines+=n*(i-1):yi("WebGPUInfo: Unknown object type.")}reset(){this.render.drawCalls=0,this.render.frameCalls=0,this.compute.frameCalls=0,this.render.triangles=0,this.render.points=0,this.render.lines=0}dispose(){this.reset(),this.calls=0,this.render.calls=0,this.compute.calls=0,this.render.timestamp=0,this.compute.timestamp=0;for(let t in this.memory)this.memory[t]=0;this.memoryMap.clear()}createTexture(t){let i=this._getTextureMemorySize(t);this.memoryMap.set(t,i),this.memory.textures++,this.memory.total+=i,this.memory.texturesSize+=i}destroyTexture(t){let i=this.memoryMap.get(t)||0;this.memoryMap.delete(t),this.memory.textures--,this.memory.total-=i,this.memory.texturesSize-=i}_createAttribute(t,i){let n=this._getAttributeMemorySize(t);this.memoryMap.set(t,{size:n,type:i}),this.memory[i]++,this.memory.total+=n,this.memory[i+"Size"]+=n}createAttribute(t){this._createAttribute(t,"attributes")}createIndexAttribute(t){this._createAttribute(t,"indexAttributes")}createStorageAttribute(t){this._createAttribute(t,"storageAttributes")}createIndirectStorageAttribute(t){this._createAttribute(t,"indirectStorageAttributes")}destroyAttribute(t){let i=this.memoryMap.get(t);i&&(this.memoryMap.delete(t),this.memory[i.type]--,this.memory.total-=i.size,this.memory[i.type+"Size"]-=i.size)}createReadbackBuffer(t){let i=t.maxByteLength;this.memoryMap.set(t,{size:i,type:"readbackBuffers"}),this.memory.readbackBuffers++,this.memory.total+=i,this.memory.readbackBuffersSize+=i}destroyReadbackBuffer(t){let{size:i}=this.memoryMap.get(t);this.memoryMap.delete(t),this.memory.readbackBuffers--,this.memory.total-=i,this.memory.readbackBuffersSize-=i}createProgram(t){let i=t.code.length;this.memoryMap.set(t,i),this.memory.programs++,this.memory.total+=i,this.memory.programsSize+=i}destroyProgram(t){let i=this.memoryMap.get(t)||0;this.memoryMap.delete(t),this.memory.programs--,this.memory.total-=i,this.memory.programsSize-=i}_getTextureMemorySize(t){if(t.isCompressedTexture)return 1;let i=1;t.type===FT||t.type===Lo?i=1:t.type===UT||t.type===mh||t.type===sr?i=2:(t.type===Ya||t.type===co||t.type===Ro)&&(i=4);let n=4;t.format===xC||t.format===uw||t.format===HT||t.format===Aa||t.format===$c?n=1:t.format===Dc||t.format===cw?n=2:(t.format===tR||t.format===oG)&&(n=3);let s=i*n;t.type===Wb||t.type===Yb?s=2:(t.type===yh||t.type===jb||t.type===qb)&&(s=4);let o=t.width||1,r=t.height||1,l=t.isCubeTexture?6:t.depth||1,d=o*r*l*s,h=t.mipmaps;if(h&&h.length>0){let p=0;for(let I=0;I<h.length;I++){let m=h[I];if(m.data)p+=m.data.byteLength;else{let y=m.width||Math.max(1,o>>I),T=m.height||Math.max(1,r>>I);p+=y*T*l*s}}d+=p}else t.generateMipmaps&&(d=d*1.333);return Math.round(d)}_getAttributeMemorySize(t){return t.isInterleavedBufferAttribute&&(t=t.data),t.array?t.array.byteLength:t.count&&t.itemSize?t.count*t.itemSize*4:0}},LZ=class{constructor(t){this.cacheKey=t,this.usedTimes=0}},Rle=class extends LZ{constructor(t,i,n){super(t),this.vertexProgram=i,this.fragmentProgram=n}},Sle=class extends LZ{constructor(t,i){super(t),this.computeProgram=i,this.isComputePipeline=!0}},D9e=0,Fk=class{constructor(t,i,n,s=null,o=null){this.id=D9e++,this.code=t,this.stage=i,this.name=n,this.transforms=s,this.attributes=o,this.usedTimes=0}},Ale=class extends Y2{constructor(t,i,n){super(),this.backend=t,this.nodes=i,this.info=n,this.bindings=null,this.caches=new Map,this.programs={vertex:new Map,fragment:new Map,compute:new Map}}getForCompute(t,i){let{backend:n}=this,s=this.get(t);if(this._needsComputeUpdate(t)){let o=s.pipeline;o&&(o.usedTimes--,o.computeProgram.usedTimes--);let r=this.nodes.getForCompute(t),l=this.programs.compute.get(r.computeShader);l===void 0&&(o&&o.computeProgram.usedTimes===0&&this._releaseProgram(o.computeProgram),l=new Fk(r.computeShader,"compute",t.name,r.transforms,r.nodeAttributes),this.programs.compute.set(r.computeShader,l),n.createProgram(l),this.info.createProgram(l));let d=this._getComputeCacheKey(t,l),h=this.caches.get(d);h===void 0&&(o&&o.usedTimes===0&&this._releasePipeline(o),h=this._getComputePipeline(t,l,d,i)),h.usedTimes++,l.usedTimes++,s.version=t.version,s.pipeline=h}return s.pipeline}getForRender(t,i=null){let{backend:n}=this,s=this.get(t);if(this._needsRenderUpdate(t)){let o=s.pipeline;o&&(o.usedTimes--,o.vertexProgram.usedTimes--,o.fragmentProgram.usedTimes--);let r=t.getNodeBuilderState(),l=t.material?t.material.name:"",d=this.programs.vertex.get(r.vertexShader);d===void 0&&(o&&o.vertexProgram.usedTimes===0&&this._releaseProgram(o.vertexProgram),d=new Fk(r.vertexShader,"vertex",l),this.programs.vertex.set(r.vertexShader,d),n.createProgram(d),this.info.createProgram(d));let h=this.programs.fragment.get(r.fragmentShader);h===void 0&&(o&&o.fragmentProgram.usedTimes===0&&this._releaseProgram(o.fragmentProgram),h=new Fk(r.fragmentShader,"fragment",l),this.programs.fragment.set(r.fragmentShader,h),n.createProgram(h),this.info.createProgram(h));let p=this._getRenderCacheKey(t,d,h),I=this.caches.get(p);I===void 0?(o&&o.usedTimes===0&&this._releasePipeline(o),I=this._getRenderPipeline(t,d,h,p,i)):t.pipeline=I,I.usedTimes++,d.usedTimes++,h.usedTimes++,s.pipeline=I}return s.pipeline}isReady(t){let n=this.get(t).pipeline;if(n===void 0)return!1;let s=this.backend.get(n);return s.pipeline!==void 0&&s.pipeline!==null}delete(t){let i=this.get(t).pipeline;return i&&(i.usedTimes--,i.usedTimes===0&&this._releasePipeline(i),i.isComputePipeline?(i.computeProgram.usedTimes--,i.computeProgram.usedTimes===0&&this._releaseProgram(i.computeProgram)):(i.fragmentProgram.usedTimes--,i.vertexProgram.usedTimes--,i.vertexProgram.usedTimes===0&&this._releaseProgram(i.vertexProgram),i.fragmentProgram.usedTimes===0&&this._releaseProgram(i.fragmentProgram))),super.delete(t)}dispose(){super.dispose(),this.caches=new Map,this.programs={vertex:new Map,fragment:new Map,compute:new Map}}updateForRender(t){this.getForRender(t)}_getComputePipeline(t,i,n,s){n=n||this._getComputeCacheKey(t,i);let o=this.caches.get(n);return o===void 0&&(o=new Sle(n,i),this.caches.set(n,o),this.backend.createComputePipeline(o,s)),o}_getRenderPipeline(t,i,n,s,o){s=s||this._getRenderCacheKey(t,i,n);let r=this.caches.get(s);return r===void 0&&(r=new Rle(s,i,n),this.caches.set(s,r),t.pipeline=r,this.backend.createRenderPipeline(t,o)),r}_getComputeCacheKey(t,i){return t.id+","+i.id}_getRenderCacheKey(t,i,n){return i.id+","+n.id+","+this.backend.getRenderCacheKey(t)}_releasePipeline(t){this.caches.delete(t.cacheKey)}_releaseProgram(t){let i=t.code,n=t.stage;this.programs[n].delete(i),this.info.destroyProgram(t)}_needsComputeUpdate(t){let i=this.get(t);return i.pipeline===void 0||i.version!==t.version}_needsRenderUpdate(t){return this.get(t).pipeline===void 0||this.backend.needsRenderUpdate(t)}},ble=class extends Y2{constructor(t,i,n,s,o,r){super(),this.backend=t,this.textures=n,this.pipelines=o,this.attributes=s,this.nodes=i,this.info=r,this.pipelines.bindings=this}getForRender(t){let i=t.getBindings();for(let n of i){let s=this.get(n);s.bindGroup===void 0&&(this._init(n),this.backend.createBindings(n,i,0),s.bindGroup=n)}return i}getForCompute(t){let i=this.nodes.getForCompute(t).bindings;for(let n of i){let s=this.get(n);s.bindGroup===void 0&&(this._init(n),this.backend.createBindings(n,i,0),s.bindGroup=n)}return i}updateForCompute(t){this._updateBindings(this.getForCompute(t))}updateForRender(t){this._updateBindings(this.getForRender(t))}deleteForCompute(t){let i=this.nodes.getForCompute(t).bindings;for(let n of i)this.backend.deleteBindGroupData(n),this.delete(n)}deleteForRender(t){let i=t.getBindings();for(let n of i)this.backend.deleteBindGroupData(n),this.delete(n)}_updateBindings(t){for(let i of t)this._update(i,t)}_init(t){for(let i of t.bindings)if(i.isSampledTexture)this.textures.updateTexture(i.texture);else if(i.isSampler)this.textures.updateSampler(i.texture);else if(i.isStorageBuffer){let n=i.attribute,s=n.isIndirectStorageBufferAttribute?TE.INDIRECT:TE.STORAGE;this.attributes.update(n,s)}}_update(t,i){let{backend:n}=this,s=!1,o=!0,r=0,l=0;for(let d of t.bindings)if(this.nodes.updateGroup(d)!==!1){if(d.isStorageBuffer){let p=d.attribute,I=p.isIndirectStorageBufferAttribute?TE.INDIRECT:TE.STORAGE,m=n.get(d);this.attributes.update(p,I),m.attribute!==p&&(m.attribute=p,s=!0)}if(d.isUniformBuffer)d.update()&&n.updateBinding(d);else if(d.isSampledTexture){let p=d.update(),I=d.texture,m=this.textures.get(I);if(p&&(this.textures.updateTexture(I),d.generation!==m.generation&&(d.generation=m.generation,s=!0),m.bindGroups.add(t)),n.get(I).externalTexture!==void 0||m.isDefaultTexture?o=!1:(r=r*10+I.id,l+=I.version),I.isStorageTexture===!0&&I.mipmapsAutoUpdate===!0){let T=this.get(I);d.store===!0?T.needsMipmap=!0:this.textures.needsMipmaps(I)&&T.needsMipmap===!0&&(this.backend.generateMipmaps(I),T.needsMipmap=!1)}}else if(d.isSampler&&d.update()){let I=this.textures.updateSampler(d.texture);d.samplerKey!==I&&(d.samplerKey=I,s=!0)}d.isBuffer&&d.updateRanges.length>0&&d.clearUpdateRanges()}s===!0&&this.backend.updateBindings(t,i,o?r:0,l)}};function C9e(e,t){return e.groupOrder!==t.groupOrder?e.groupOrder-t.groupOrder:e.renderOrder!==t.renderOrder?e.renderOrder-t.renderOrder:e.z!==t.z?e.z-t.z:e.id-t.id}function U1e(e,t){return e.groupOrder!==t.groupOrder?e.groupOrder-t.groupOrder:e.renderOrder!==t.renderOrder?e.renderOrder-t.renderOrder:e.z!==t.z?t.z-e.z:e.id-t.id}function H1e(e){return(e.transmission>0||e.transmissionNode&&e.transmissionNode.isNode)&&e.side===so&&e.forceSinglePass===!1}var Nle=class{constructor(t,i,n){this.renderItems=[],this.renderItemsIndex=0,this.opaque=[],this.transparentDoublePass=[],this.transparent=[],this.bundles=[],this.lightsNode=t.getNode(i,n),this.lightsArray=[],this.scene=i,this.camera=n,this.occlusionQueryCount=0}begin(){return this.renderItemsIndex=0,this.opaque.length=0,this.transparentDoublePass.length=0,this.transparent.length=0,this.bundles.length=0,this.lightsArray.length=0,this.occlusionQueryCount=0,this}getNextRenderItem(t,i,n,s,o,r,l){let d=this.renderItems[this.renderItemsIndex];return d===void 0?(d={id:t.id,object:t,geometry:i,material:n,groupOrder:s,renderOrder:t.renderOrder,z:o,group:r,clippingContext:l},this.renderItems[this.renderItemsIndex]=d):(d.id=t.id,d.object=t,d.geometry=i,d.material=n,d.groupOrder=s,d.renderOrder=t.renderOrder,d.z=o,d.group=r,d.clippingContext=l),this.renderItemsIndex++,d}push(t,i,n,s,o,r,l){let d=this.getNextRenderItem(t,i,n,s,o,r,l);t.occlusionTest===!0&&this.occlusionQueryCount++,n.transparent===!0||n.transmission>0||n.transmissionNode&&n.transmissionNode.isNode||n.backdropNode&&n.backdropNode.isNode?(H1e(n)&&this.transparentDoublePass.push(d),this.transparent.push(d)):this.opaque.push(d)}unshift(t,i,n,s,o,r,l){let d=this.getNextRenderItem(t,i,n,s,o,r,l);n.transparent===!0||n.transmission>0||n.transmissionNode&&n.transmissionNode.isNode||n.backdropNode&&n.backdropNode.isNode?(H1e(n)&&this.transparentDoublePass.unshift(d),this.transparent.unshift(d)):this.opaque.unshift(d)}pushBundle(t){this.bundles.push(t)}pushLight(t){this.lightsArray.push(t)}sort(t,i){this.opaque.length>1&&this.opaque.sort(t||C9e),this.transparentDoublePass.length>1&&this.transparentDoublePass.sort(i||U1e),this.transparent.length>1&&this.transparent.sort(i||U1e)}finish(){this.lightsNode.setLights(this.lightsArray);for(let t=this.renderItemsIndex,i=this.renderItems.length;t<i;t++){let n=this.renderItems[t];if(n.id===null)break;n.id=null,n.object=null,n.geometry=null,n.material=null,n.groupOrder=null,n.renderOrder=null,n.z=null,n.group=null,n.clippingContext=null}}},_8=[],_le=class{constructor(t){this.lighting=t,this.lists=new W2}get(t,i){let n=this.lists;_8[0]=t,_8[1]=i;let s=n.get(_8);return s===void 0&&(s=new Nle(this.lighting,t,i),n.set(_8,s)),_8[0]=null,_8[1]=null,s}dispose(){this.lists=new W2}},x9e=0,Dle=class{constructor(){this.id=x9e++,this.mrt=null,this.color=!0,this.clearColor=!0,this.clearColorValue={r:0,g:0,b:0,a:1},this.depth=!0,this.clearDepth=!0,this.clearDepthValue=1,this.stencil=!1,this.clearStencil=!0,this.clearStencilValue=1,this.viewport=!1,this.viewportValue=new xn,this.scissor=!1,this.scissorValue=new xn,this.renderTarget=null,this.textures=null,this.depthTexture=null,this.activeCubeFace=0,this.activeMipmapLevel=0,this.sampleCount=1,this.width=0,this.height=0,this.occlusionQueryCount=0,this.clippingContext=null,this.camera=null,this.isRenderContext=!0}getCacheKey(){return C3e(this)}};function C3e(e){let{textures:t,activeCubeFace:i,activeMipmapLevel:n}=e,s=[i,n];for(let o of t)s.push(o.id);return sz(s)}var Cle=class{constructor(t){this.renderer=t,this._renderContexts={}}get(t=null,i=null,n=0){let s;if(t===null)s="default";else{let d=t.texture.format,h=t.texture.type;s=`${t.textures.length}:${d}:${h}:${t.samples}:${t.depthBuffer}:${t.stencilBuffer}`}let o=i!==null?i.id:"default",r=s+"-"+o+"-"+n,l=this._renderContexts[r];return l===void 0&&(l=new Dle,l.mrt=i,this._renderContexts[r]=l),t!==null&&(l.sampleCount=t.samples===0?1:t.samples),l.clearDepthValue=this.renderer.getClearDepth(),l.clearStencilValue=this.renderer.getClearStencil(),l}dispose(){this._renderContexts={}}},O9e=new ye,xle=class extends Y2{constructor(t,i,n){super(),this.renderer=t,this.backend=i,this.info=n,this._htmlTextures=new Set}updateRenderTarget(t,i=0){let n=this.get(t),s=t.samples===0?1:t.samples,o=n.depthTextureMips||(n.depthTextureMips={}),r=t.textures,l=this.getSize(r[0]),d=l.width>>i,h=l.height>>i,p=t.depthTexture||o[i],I=t.depthBuffer===!0||t.stencilBuffer===!0,m=!1;p===void 0&&I&&(p=new Zl,p.format=t.stencilBuffer?$c:Aa,p.type=t.stencilBuffer?yh:co,p.image.width=d,p.image.height=h,p.image.depth=l.depth,p.renderTarget=t,p.isArrayTexture=t.multiview===!0&&l.depth>1,o[i]=p),(n.width!==l.width||l.height!==n.height)&&(m=!0,p&&(p.needsUpdate=!0,p.image.width=d,p.image.height=h,p.image.depth=p.isArrayTexture?p.image.depth:1)),n.width=l.width,n.height=l.height,n.textures=r,n.depthTexture=p||null,n.depth=t.depthBuffer,n.stencil=t.stencilBuffer,n.renderTarget=t,n.sampleCount!==s&&(m=!0,p&&(p.needsUpdate=!0),n.sampleCount=s);let y={sampleCount:s};if(t.isXRRenderTarget!==!0){for(let T=0;T<r.length;T++){let R=r[T];m&&(R.needsUpdate=!0),this.updateTexture(R,y)}p&&this.updateTexture(p,y)}n.initialized!==!0&&(n.initialized=!0,this.info.memory.renderTargets++,n.onDispose=()=>{this._destroyRenderTarget(t)},t.addEventListener("dispose",n.onDispose))}updateTexture(t,i={}){let n=this.get(t);if(n.initialized===!0&&n.version===t.version)return;let s=t.isRenderTargetTexture||t.isDepthTexture||t.isFramebufferTexture,o=this.backend;if(s&&n.initialized===!0&&o.destroyTexture(t),t.isFramebufferTexture){let h=this.renderer.getRenderTarget();h?t.type=h.texture.type:t.type=Lo}if(t.isHTMLTexture&&t.image){let h=this.renderer.domElement;if("requestPaint"in h){if(h.hasAttribute("layoutsubtree")||h.setAttribute("layoutsubtree","true"),t.image.parentNode!==h&&h.appendChild(t.image),this._htmlTextures.size===0){let p=this._htmlTextures;h.onpaint=I=>{let m=I&&I.changedElements;for(let y of p)(!m||m.includes(y.image))&&(y.needsUpdate=!0)}}this._htmlTextures.add(t)}}let{width:r,height:l,depth:d}=this.getSize(t);if(i.width=r,i.height=l,i.depth=d,i.needsMipmaps=this.needsMipmaps(t),i.levels=i.needsMipmaps?this.getMipLevels(t,r,l):1,t.isCubeTexture&&t.mipmaps.length>0&&i.levels++,s||t.isStorageTexture===!0||t.isExternalTexture===!0)o.createTexture(t,i),n.generation=t.version;else if(t.version>0){let h=t.image;if(h===void 0)ci("Renderer: Texture marked for update but image is undefined.");else if(h.complete===!1)ci("Renderer: Texture marked for update but image is incomplete.");else{if(t.images){let I=[];for(let m of t.images)I.push(m);i.images=I}else i.image=h;(n.isDefaultTexture===void 0||n.isDefaultTexture===!0)&&(o.createTexture(t,i),n.isDefaultTexture=!1,n.generation=t.version),t.source.dataReady===!0&&o.updateTexture(t,i);let p=t.isStorageTexture===!0&&t.mipmapsAutoUpdate===!1;i.needsMipmaps&&t.mipmaps.length===0&&!p&&o.generateMipmaps(t),t.onUpdate&&t.onUpdate(t)}}else o.createDefaultTexture(t),n.isDefaultTexture=!0,n.generation=t.version;n.initialized!==!0&&(n.initialized=!0,n.generation=t.version,n.bindGroups=new Set,this.info.createTexture(t),t.isVideoTexture&&Hn.enabled===!0&&Hn.getTransfer(t.colorSpace)!==pn&&ci("WebGPURenderer: Video textures must use a color space with a sRGB transfer function, e.g. SRGBColorSpace."),n.onDispose=()=>{this._destroyTexture(t)},t.addEventListener("dispose",n.onDispose)),n.version=t.version}updateSampler(t){return this.backend.updateSampler(t)}getSize(t,i=O9e){let n=t.images?t.images[0]:t.image;return n?(n.image!==void 0&&(n=n.image),t.isHTMLTexture?(i.width=n.offsetWidth||1,i.height=n.offsetHeight||1,i.depth=1):typeof HTMLVideoElement<"u"&&n instanceof HTMLVideoElement?(i.width=n.videoWidth||1,i.height=n.videoHeight||1,i.depth=1):typeof VideoFrame<"u"&&n instanceof VideoFrame?(i.width=n.displayWidth||1,i.height=n.displayHeight||1,i.depth=1):(i.width=n.width||1,i.height=n.height||1,i.depth=t.isCubeTexture?6:n.depth||1)):i.width=i.height=i.depth=1,i}getMipLevels(t,i,n){let s;return t.mipmaps.length>0?s=t.mipmaps.length:t.isCompressedTexture===!0?s=1:s=Math.floor(Math.log2(Math.max(i,n)))+1,s}needsMipmaps(t){return t.generateMipmaps===!0||t.mipmaps.length>0}_destroyRenderTarget(t){if(this.has(t)===!0){let i=this.get(t),n=i.textures,s=i.depthTexture;t.removeEventListener("dispose",i.onDispose);for(let o=0;o<n.length;o++)this._destroyTexture(n[o]);s&&this._destroyTexture(s),this.delete(t),this.backend.delete(t),this.info.memory.renderTargets--}}_destroyTexture(t){if(this.has(t)===!0){let i=this.get(t);t.removeEventListener("dispose",i.onDispose);let n=i.isDefaultTexture;if(this.backend.destroyTexture(t,n),i.bindGroups)for(let s of i.bindGroups){let o=this.backend.get(s);o.groups=void 0,o.versions=void 0}this._htmlTextures.delete(t),this.delete(t),this.info.destroyTexture(t)}}},$k=class extends Oi{constructor(t,i,n,s=1){super(t,i,n),this.a=s}set(t,i,n,s=1){return this.a=s,super.set(t,i,n)}copy(t){return t.a!==void 0&&(this.a=t.a),super.copy(t)}clone(){return new this.constructor(this.r,this.g,this.b,this.a)}},PZ=class extends po{static get type(){return"ParameterNode"}constructor(t,i=null){super(t,i),this.isParameterNode=!0}getMemberType(t,i){let n=this.getNodeType(t),s=t.getStructTypeNode(n),o;return s!==null?o=s.getMemberType(t,i):(yi(`TSL: Member "${i}" not found in struct "${n}".`,new ha),o="float"),o}getHash(){return String(this.id)}generate(){return this.name}},L9e=(e,t)=>new PZ(e,t),Ole=class extends Sn{static get type(){return"StackNode"}constructor(t=null){super(),this.nodes=[],this.outputNode=null,this.parent=t,this._currentCond=null,this._expressionNode=null,this._currentNode=null,this.isStackNode=!0}getElementType(t){return this.hasOutput(t)?this.outputNode.getElementType(t):"void"}generateNodeType(t){return this.hasOutput(t)?this.outputNode.getNodeType(t):"void"}getMemberType(t,i){return this.hasOutput(t)?this.outputNode.getMemberType(t,i):"void"}addToStack(t,i=this.nodes.length){return t.isNode!==!0?(yi("TSL: Invalid node added to stack.",new ha),this):(this.nodes.splice(i,0,t),this)}addToStackBefore(t){let i=this._currentNode?this.nodes.indexOf(this._currentNode):0;return this.addToStack(t,i)}If(t,i){let n=new B8(i);return this._currentCond=jf(t,n),this.addToStack(this._currentCond)}ElseIf(t,i){let n=new B8(i),s=jf(t,n);return this._currentCond.elseNode=s,this._currentCond=s,this}Else(t){return this._currentCond.elseNode=new B8(t),this}Switch(t){return this._expressionNode=gn(t),this}Case(...t){let i=[];if(t.length>=2)for(let l=0;l<t.length-1;l++)i.push(this._expressionNode.equal(gn(t[l])));else yi("TSL: Invalid parameter length. Case() requires at least two parameters.",new ha);let n=t[t.length-1],s=new B8(n),o=i[0];for(let l=1;l<i.length;l++)o=o.or(i[l]);let r=jf(o,s);return this._currentCond===null?(this._currentCond=r,this.addToStack(this._currentCond)):(this._currentCond.elseNode=r,this._currentCond=r,this)}Default(t){return this.Else(t),this}setup(t){let i=t.getNodeProperties(this),n=0;for(let s of this.getChildren())s.isVarNode&&s.isIntent(t)&&s.isAssign(t)!==!0||(i["node"+n++]=s);return i.outputNode||null}hasOutput(t){return this.outputNode&&this.outputNode.isNode&&this.outputNode.getNodeType(t)!=="void"}build(t,...i){let n=Due(),s=t.buildStage;Vk(this),t.setActiveStack(this);let o=h=>{if(this._currentNode=h,!(h.isVarNode&&h.isIntent(t)&&h.isAssign(t)!==!0)){if(s==="setup")h.build(t);else if(s==="analyze")h.build(t,this);else if(s==="generate"){let p=t.getDataFromNode(h,"any").stages,I=p&&p[t.shaderStage];if(h.isVarNode&&I&&I.length===1&&I[0]&&I[0].isStackNode)return;h.build(t,"void")}}},r=[...this.nodes];for(let h of r)o(h);this._currentNode=null;let l=this.nodes.filter(h=>r.indexOf(h)===-1);for(let h of l)o(h);let d;return this.hasOutput(t)?d=this.outputNode.build(t,...i):d=super.build(t,...i),Vk(n),t.removeActiveStack(this),d}},sZ=ys(Ole).setParameterLength(0,1);function P9e(e){return Object.entries(e).map(([t,i])=>typeof i=="string"?{name:t,type:i,atomic:!1}:{name:t,type:i.type,atomic:i.atomic||!1})}var Lle=class extends Sn{static get type(){return"StructTypeNode"}constructor(t,i=null){super("struct"),this.membersLayout=P9e(t),this.name=i,this.isStructLayoutNode=!0}getLength(){let t=Float32Array.BYTES_PER_ELEMENT,i=1,n=0;for(let s of this.membersLayout){let o=s.type,r=b8e(o),l=N8e(o)/t;i=Math.max(i,l);let h=n%i%l;h!==0&&(n+=l-h),n+=r}return Math.ceil(n/i)*i}getMemberType(t,i){let n=this.membersLayout.find(s=>s.name===i);return n?n.type:"void"}generateNodeType(t){return t.getStructTypeFromNode(this,this.membersLayout,this.name).name}setup(t){t.getStructTypeFromNode(this,this.membersLayout,this.name),t.addInclude(this)}generate(t){return this.getNodeType(t)}},Ple=class extends Sn{static get type(){return"StructNode"}constructor(t,i){super("vec3"),this.structTypeNode=t,this.values=i,this.isStructNode=!0}generateNodeType(t){return this.structTypeNode.getNodeType(t)}getMemberType(t,i){return this.structTypeNode.getMemberType(t,i)}_getChildren(){let t=super._getChildren(),i=t.find(n=>n.childNode===this.structTypeNode);return t.splice(t.indexOf(i),1),t.push(i),t}generate(t){let i=t.getVarFromNode(this),n=i.type,s=t.getPropertyName(i);return t.addLineFlowCode(`${s} = ${t.generateStruct(n,this.structTypeNode.membersLayout,this.values)}`,this),i.name}},M9e=(e,t=null)=>{let i=new Lle(e,t),n=(...s)=>{let o=null;if(s.length>0)if(s[0].isNode){o={};let r=Object.keys(e);for(let l=0;l<s.length;l++)o[r[l]]=s[l]}else o=s[0];return new Ple(i,o)};return n.layout=i,n.isStruct=!0,n},MZ=class extends Sn{static get type(){return"OutputStructNode"}constructor(...t){super(),this.members=t,this.isOutputStructNode=!0}generateNodeType(){return"OutputType"}generate(t){let i=t.getDataFromNode(this);if(i.membersLayout===void 0){let r=this.members,l=[];for(let d=0;d<r.length;d++){let h="m"+d,p=r[d].getNodeType(t);l.push({name:h,type:p,index:d})}i.membersLayout=l,i.structType=t.getOutputStructTypeFromNode(this,i.membersLayout)}let n=t.getOutputStructName(),s=this.members,o=n!==""?n+".":"";for(let r=0;r<s.length;r++){let l=s[r].build(t);t.addLineFlowCode(`${o}m${r} = ${l}`,this)}return n}},B9e=ys(MZ),BZ=class{constructor(t=Yc){this.blending=t,this.blendSrc=Gv,this.blendDst=Vv,this.blendEquation=Nc,this.blendSrcAlpha=null,this.blendDstAlpha=null,this.blendEquationAlpha=null,this.premultiplyAlpha=!1}copy(t){return this.blending=t.blending,this.blendSrc=t.blendSrc,this.blendDst=t.blendDst,this.blendEquation=t.blendEquation,this.blendSrcAlpha=t.blendSrcAlpha,this.blendDstAlpha=t.blendDstAlpha,this.blendEquationAlpha=t.blendEquationAlpha,this.premultiplyAlpha=t.premultiplyAlpha,this}clone(){return new this.constructor().copy(this)}},F9e=new BZ(Na),U9e=new BZ(OP);function x3e(e,t){for(let i=0;i<e.length;i++)if(e[i].name===t)return i;return-1}var Mle=class extends MZ{static get type(){return"MRTNode"}constructor(t){super(),this.outputNodes=t,this.blendModes={output:U9e},this.isMRTNode=!0}setBlendMode(t,i){return this.blendModes[t]=i,this}getBlendMode(t){return this.blendModes[t]||F9e}has(t){return this.outputNodes[t]!==void 0}get(t){return this.outputNodes[t]}merge(t){let i={...this.outputNodes,...t.outputNodes},n={...this.blendModes,...t.blendModes},s=O3e(i);return s.blendings=n,s}setup(t){let i=this.outputNodes,n=t.renderer.getRenderTarget(),s=[],o=n.textures;for(let r in i){let l=x3e(o,r);s[l]=On(i[r])}return this.members=s,super.setup(t)}},O3e=ys(Mle),Dx=class extends Fl{static get type(){return"BitcastNode"}constructor(t,i,n=null){super(),this.valueNode=t,this.conversionType=i,this.inputType=n,this.isBitcastNode=!0}generateNodeType(t){if(this.inputType!==null){let i=this.valueNode.getNodeType(t),n=t.getTypeLength(i);return t.getTypeFromLength(n,this.conversionType)}return this.conversionType}generate(t){let i=this.getNodeType(t),n="";if(this.inputType!==null){let s=this.valueNode.getNodeType(t);n=t.getTypeLength(s)===1?this.inputType:t.changeComponentType(s,this.inputType)}else n=this.valueNode.getNodeType(t);return`${t.getBitcastMethod(i,n)}( ${this.valueNode.build(t,n)} )`}},L3e=Mi(Dx).setParameterLength(2),H9e=e=>new Dx(e,"int","float"),P3e=e=>new Dx(e,"uint","float"),G9e=e=>new Dx(e,"float","int"),V9e=e=>new Dx(e,"float","uint"),F$={},V3=class e extends oi{static get type(){return"BitcountNode"}constructor(t,i){super(t,i),this.isBitcountNode=!0}_resolveElementType(t,i,n){n==="int"?i.assign(L3e(t,"uint")):i.assign(t)}_returnDataNode(t){switch(t){case"uint":return xi;case"int":return Ot;case"uvec2":return Cue;case"uvec3":return xx;case"uvec4":return Pue;case"ivec2":return Mc;case"ivec3":return xue;case"ivec4":return Lue}}_createTrailingZerosBaseLayout(t,i){let n=this._returnDataNode(i);return Wt(([o])=>{let r=xi(0);this._resolveElementType(o,r,i);let l=Et(r.bitAnd(Yue(r))),h=P3e(l).shiftRight(23).sub(127);return n(h)}).setLayout({name:t,type:i,inputs:[{name:"value",type:i}]})}_createLeadingZerosBaseLayout(t,i){let n=this._returnDataNode(i);return Wt(([o])=>{Fn(o.equal(xi(0)),()=>xi(32));let r=xi(0),l=xi(0);return this._resolveElementType(o,r,i),Fn(r.shiftRight(16).equal(0),()=>{l.addAssign(16),r.shiftLeftAssign(16)}),Fn(r.shiftRight(24).equal(0),()=>{l.addAssign(8),r.shiftLeftAssign(8)}),Fn(r.shiftRight(28).equal(0),()=>{l.addAssign(4),r.shiftLeftAssign(4)}),Fn(r.shiftRight(30).equal(0),()=>{l.addAssign(2),r.shiftLeftAssign(2)}),Fn(r.shiftRight(31).equal(0),()=>{l.addAssign(1)}),n(l)}).setLayout({name:t,type:i,inputs:[{name:"value",type:i}]})}_createOneBitsBaseLayout(t,i){let n=this._returnDataNode(i);return Wt(([o])=>{let r=xi(0);this._resolveElementType(o,r,i),r.assign(r.sub(r.shiftRight(xi(1)).bitAnd(xi(1431655765)))),r.assign(r.bitAnd(xi(858993459)).add(r.shiftRight(xi(2)).bitAnd(xi(858993459))));let l=r.add(r.shiftRight(xi(4))).bitAnd(xi(252645135)).mul(xi(16843009)).shiftRight(xi(24));return n(l)}).setLayout({name:t,type:i,inputs:[{name:"value",type:i}]})}_createMainLayout(t,i,n,s){let o=this._returnDataNode(i);return Wt(([l])=>{if(n===1)return o(s(l));{let d=o(0),h=["x","y","z","w"];for(let p=0;p<n;p++){let I=h[p];d[I].assign(s(l[I]))}return d}}).setLayout({name:t,type:i,inputs:[{name:"value",type:i}]})}setup(t){let{method:i,aNode:n}=this,{renderer:s}=t;if(s.backend.isWebGPUBackend)return super.setup(t);let o=this.getInputType(t),r=t.getElementType(o),l=t.getTypeLength(o),d=`${i}_base_${r}`,h=`${i}_${o}`,p=F$[d];if(p===void 0){switch(i){case e.COUNT_LEADING_ZEROS:{p=this._createLeadingZerosBaseLayout(d,r);break}case e.COUNT_TRAILING_ZEROS:{p=this._createTrailingZerosBaseLayout(d,r);break}case e.COUNT_ONE_BITS:{p=this._createOneBitsBaseLayout(d,r);break}}F$[d]=p}let I=F$[h];return I===void 0&&(I=this._createMainLayout(h,o,l,p),F$[h]=I),Wt(()=>I(n))()}};V3.COUNT_TRAILING_ZEROS="countTrailingZeros";V3.COUNT_LEADING_ZEROS="countLeadingZeros";V3.COUNT_ONE_BITS="countOneBits";var k9e=Mi(V3,V3.COUNT_TRAILING_ZEROS).setParameterLength(1),z9e=Mi(V3,V3.COUNT_LEADING_ZEROS).setParameterLength(1),W9e=Mi(V3,V3.COUNT_ONE_BITS).setParameterLength(1),Y9e=Wt(([e])=>{let t=e.toUint().mul(747796405).add(2891336453),i=t.shiftRight(t.shiftRight(28).add(4)).bitXor(t).mul(277803737);return i.shiftRight(22).bitXor(i).toFloat().mul(1/2**32)}),Ble=(e,t)=>yE(os(4,e.mul(Ks(1,e))),t),j9e=(e,t)=>e.lessThan(.5)?Ble(e.mul(2),t).div(2):Ks(1,Ble(os(Ks(1,e),2),t).div(2)),q9e=(e,t,i)=>yE(B1(yE(e,t),yc(yE(e,t),yE(Ks(1,e),i))),1/t),$9e=(e,t)=>rI(mZ.mul(t.mul(e).sub(1))).div(mZ.mul(t.mul(e).sub(1))),Zk=class extends Fl{static get type(){return"PackFloatNode"}constructor(t,i){super(),this.vectorNode=i,this.encoding=t,this.isPackFloatNode=!0}generateNodeType(){return"uint"}generate(t){let i=this.vectorNode.getNodeType(t);return`${t.getFloatPackingMethod(this.encoding)}(${this.vectorNode.build(t,i)})`}},Z9e=Mi(Zk,"snorm").setParameterLength(1),K9e=Mi(Zk,"unorm").setParameterLength(1),Q9e=Mi(Zk,"float16").setParameterLength(1),Kk=class extends Fl{static get type(){return"UnpackFloatNode"}constructor(t,i){super(),this.uintNode=i,this.encoding=t,this.isUnpackFloatNode=!0}generateNodeType(){return"vec2"}generate(t){let i=this.uintNode.getNodeType(t);return`${t.getFloatUnpackingMethod(this.encoding)}(${this.uintNode.build(t,i)})`}},J9e=Mi(Kk,"snorm").setParameterLength(1),X9e=Mi(Kk,"unorm").setParameterLength(1),eFe=Mi(Kk,"float16").setParameterLength(1),GS=Wt(([e])=>e.fract().sub(.5).abs()).setLayout({name:"tri",type:"float",inputs:[{name:"x",type:"float"}]}),tFe=Wt(([e])=>Gt(GS(e.z.add(GS(e.y.mul(1)))),GS(e.z.add(GS(e.x.mul(1)))),GS(e.y.add(GS(e.x.mul(1)))))).setLayout({name:"tri3",type:"vec3",inputs:[{name:"p",type:"vec3"}]}),iFe=Wt(([e,t,i])=>{let n=Gt(e).toVar(),s=Et(1.4).toVar(),o=Et(0).toVar(),r=Gt(n).toVar();return zo({start:Et(0),end:Et(3),type:"float",condition:"<="},()=>{let l=Gt(tFe(r.mul(2))).toVar();n.addAssign(l.add(i.mul(Et(.1).mul(t)))),r.mulAssign(1.8),s.mulAssign(1.5),n.mulAssign(1.2);let d=Et(GS(n.z.add(GS(n.x.add(GS(n.y)))))).toVar();o.addAssign(d.div(s)),r.addAssign(.14)}),o}).setLayout({name:"triNoise3D",type:"float",inputs:[{name:"position",type:"vec3"},{name:"speed",type:"float"},{name:"time",type:"float"}]}),Fle=class extends Sn{static get type(){return"FunctionOverloadingNode"}constructor(t=[],...i){super(),this.functionNodes=t,this.parametersNodes=i,this._candidateFn=null,this.global=!0}generateNodeType(t){return this.getCandidateFn(t).shaderNode.layout.type}getCandidateFn(t){let i=this.parametersNodes,n=this._candidateFn;if(n===null){let s=null,o=-1;for(let r of this.functionNodes){let d=r.shaderNode.layout;if(d===null)throw new Error("FunctionOverloadingNode: FunctionNode must be a layout.");let h=d.inputs;if(i.length===h.length){let p=0;for(let I=0;I<i.length;I++){let m=i[I],y=h[I];m.getNodeType(t)===y.type&&p++}p>o&&(s=r,o=p)}}this._candidateFn=n=s}return n}setup(t){return this.getCandidateFn(t)(...this.parametersNodes)}},nFe=ys(Fle),$h=e=>(...t)=>nFe(e,...t),tM=Nn(0).setGroup(Mn).onRenderUpdate(e=>e.time),sFe=Nn(0).setGroup(Mn).onRenderUpdate(e=>e.deltaTime),M3e=Nn(0,"uint").setGroup(Mn).onRenderUpdate(e=>e.frameId),oFe=(e=tM)=>e.add(.75).mul(Math.PI*2).sin().mul(.5).add(.5),rFe=(e=tM)=>e.fract().round(),lFe=(e=tM)=>e.add(.5).fract().mul(2).sub(1).abs(),aFe=(e=tM)=>e.fract();function uFe(e,t=null){return ZS(t,{getUV:typeof e=="function"?e:()=>e})}var cFe=Wt(([e,t,i=Hi(.5)])=>az(e.sub(i),t).add(i)),dFe=Wt(([e,t,i=Hi(.5)])=>{let n=e.sub(i),s=n.dot(n),r=s.mul(s).mul(t);return e.add(n.mul(r))}),hFe=Wt(({position:e=null,horizontal:t=!0,vertical:i=!1})=>{let n;e!==null?(n=EE.toVar(),n[3][0]=e.x,n[3][1]=e.y,n[3][2]=e.z):n=EE;let s=vE.mul(n);return z8(t)&&(s[0][0]=EE[0].length(),s[0][1]=0,s[0][2]=0),z8(i)&&(s[1][0]=0,s[1][1]=EE[1].length(),s[1][2]=0),s[2][0]=0,s[2][1]=0,s[2][2]=1,WS.mul(s).mul(Ml)}),fFe=Wt(([e=null])=>{let t=AZ();return AZ(wce(e)).sub(t).lessThan(0).select(G2,e)}),pFe=Wt(([e,t=er(),i=Et(0)])=>{let n=e.x,s=e.y,o=i.mod(n.mul(s)).floor(),r=o.mod(n),l=s.sub(o.add(1).div(n).ceil()),d=e.reciprocal(),h=Hi(r,l);return t.add(h).mul(d)}),B3e=Wt(([e,t=null,i=null,n=Et(1),s=Ml,o=om])=>{let r=o.abs().normalize();r=r.div(r.dot(Gt(1)));let l=s.yz.mul(n),d=s.zx.mul(n),h=s.xy.mul(n),p=e.value,I=t!==null?t.value:p,m=i!==null?i.value:p,y=lo(p,l).mul(r.x),T=lo(I,d).mul(r.y),R=lo(m,h).mul(r.z);return yc(y,T,R)}),IFe=(...e)=>B3e(...e),D8=new es,dx=new ye,C8=new ye,Doe=new ye,wk=new Ai,U$=new ye(0,0,-1),O2=new xn,vk=new ye,H$=new ye,Rk=new xn,G$=new hi,FZ=new yf,mFe=G2.flipX();FZ.depthTexture=new Zl(1,1);var V$=!1,Ule=class e extends wE{static get type(){return"ReflectorNode"}constructor(t={}){super(t.defaultTexture||FZ.texture,mFe),this._reflectorBaseNode=t.reflector||new Hle(this,t),this._depthNode=null,this.setUpdateMatrix(!1)}get reflector(){return this._reflectorBaseNode}get target(){return this._reflectorBaseNode.target}getDepthNode(){if(this._depthNode===null){if(this._reflectorBaseNode.depth!==!0)throw new Error("THREE.ReflectorNode: Depth node can only be requested when the reflector is created with { depth: true }. ");this._depthNode=new e({defaultTexture:FZ.depthTexture,reflector:this._reflectorBaseNode})}return this._depthNode}setup(t){return t.object.isQuadMesh||this._reflectorBaseNode.build(t),super.setup(t)}clone(){let t=new this.constructor(this.reflectorNode);return t.uvNode=this.uvNode,t.levelNode=this.levelNode,t.biasNode=this.biasNode,t.sampler=this.sampler,t.depthNode=this.depthNode,t.compareNode=this.compareNode,t.gradNode=this.gradNode,t.offsetNode=this.offsetNode,t._reflectorBaseNode=this._reflectorBaseNode,t}dispose(){super.dispose(),this._reflectorBaseNode.dispose()}},Hle=class extends Sn{static get type(){return"ReflectorBaseNode"}constructor(t,i={}){super();let{target:n=new ps,resolutionScale:s=1,generateMipmaps:o=!1,bounces:r=!0,depth:l=!1,samples:d=0}=i;this.textureNode=t,this.target=n,this.resolutionScale=s,i.resolution!==void 0&&(Oo('ReflectorNode: The "resolution" parameter has been renamed to "resolutionScale".'),this.resolutionScale=i.resolution),this.generateMipmaps=o,this.bounces=r,this.depth=l,this.samples=d,this.updateBeforeType=r?Zn.RENDER:Zn.FRAME,this.virtualCameras=new WeakMap,this.renderTargets=new Map,this.forceUpdate=!1,this.hasOutput=!1}_updateResolution(t,i){let n=this.resolutionScale;i.getDrawingBufferSize(G$),t.setSize(Math.round(G$.width*n),Math.round(G$.height*n))}setup(t){return this._updateResolution(FZ,t.renderer),super.setup(t)}dispose(){super.dispose();for(let t of this.renderTargets.values())t.dispose()}getVirtualCamera(t){let i=this.virtualCameras.get(t);return i===void 0&&(i=t.clone(),this.virtualCameras.set(t,i)),i}getRenderTarget(t){let i=this.renderTargets.get(t);return i===void 0&&(i=new yf(0,0,{type:sr,samples:this.samples}),this.generateMipmaps===!0&&(i.texture.minFilter=jY,i.texture.generateMipmaps=!0),this.depth===!0&&(i.depthTexture=new Zl),this.renderTargets.set(t,i)),i}updateBefore(t){if(this.bounces===!1&&V$)return!1;V$=!0;let{scene:i,camera:n,renderer:s,material:o}=t,{target:r}=this,l=this.getVirtualCamera(n),d=this.getRenderTarget(l);s.getDrawingBufferSize(G$),this._updateResolution(d,s),C8.setFromMatrixPosition(r.matrixWorld),Doe.setFromMatrixPosition(n.matrixWorld),wk.extractRotation(r.matrixWorld),dx.set(0,0,1),dx.applyMatrix4(wk),vk.subVectors(C8,Doe);let h=vk.dot(dx)>0,p=!1;if(h===!0&&this.forceUpdate===!1){if(this.hasOutput===!1){V$=!1;return}p=!0}vk.reflect(dx).negate(),vk.add(C8),wk.extractRotation(n.matrixWorld),U$.set(0,0,-1),U$.applyMatrix4(wk),U$.add(Doe),H$.subVectors(C8,U$),H$.reflect(dx).negate(),H$.add(C8),l.coordinateSystem=n.coordinateSystem,l.position.copy(vk),l.up.set(0,1,0),l.up.applyMatrix4(wk),l.up.reflect(dx),l.lookAt(H$),l.near=n.near,l.far=n.far,l.updateMatrixWorld(),l.projectionMatrix.copy(n.projectionMatrix),D8.setFromNormalAndCoplanarPoint(dx,C8),D8.applyMatrix4(l.matrixWorldInverse),O2.set(D8.normal.x,D8.normal.y,D8.normal.z,D8.constant);let I=l.projectionMatrix;Rk.x=(Math.sign(O2.x)+I.elements[8])/I.elements[0],Rk.y=(Math.sign(O2.y)+I.elements[9])/I.elements[5],Rk.z=-1,Rk.w=(1+I.elements[10])/I.elements[14],O2.multiplyScalar(1/O2.dot(Rk));let m=0;I.elements[2]=O2.x,I.elements[6]=O2.y,I.elements[10]=s.coordinateSystem===mf?O2.z-m:O2.z+1-m,I.elements[14]=O2.w,this.textureNode.value=d.texture,this.depth===!0&&(this.textureNode.getDepthNode().value=d.depthTexture),o.visible=!1;let y=s.getRenderTarget(),T=s.getMRT(),R=s.autoClear;s.setMRT(null),s.setRenderTarget(d),s.autoClear=!0;let b=i.name;i.name=(i.name||"Scene")+" [ Reflector ]",p?(s.clear(),this.hasOutput=!1):(s.render(i,l),this.hasOutput=!0),i.name=b,s.setMRT(T),s.setRenderTarget(y),s.autoClear=R,o.visible=!0,V$=!1,this.forceUpdate=!1}get resolution(){return Oo('ReflectorNode: The "resolution" property has been renamed to "resolutionScale".'),this.resolutionScale}set resolution(t){Oo('ReflectorNode: The "resolution" property has been renamed to "resolutionScale".'),this.resolutionScale=t}},yFe=e=>new Ule(e),Coe=new ba(-1,1,1,-1,0,1),Gle=class extends nn{constructor(t=!1){super();let i=t===!1?[0,-1,0,1,2,1]:[0,2,0,0,2,0];this.setAttribute("position",new ln([-1,3,0,-1,-1,0,3,-1,0],3)),this.setAttribute("uv",new ln(i,2))}},EFe=new Gle,Qk=class extends _i{constructor(t=null){super(EFe,t),this.camera=Coe,this.isQuadMesh=!0}async renderAsync(t){Oo('QuadMesh: "renderAsync()" has been deprecated. Use "render()" and "await renderer.init();" when creating the renderer.'),await t.init(),t.render(this,Coe)}render(t){t.render(this,Coe)}},TFe=new hi,Vle=class extends wE{static get type(){return"RTTNode"}constructor(t,i=null,n=null,s={type:sr}){let o=new yf(i,n,s);super(o.texture,er()),this.isRTTNode=!0,this.node=t,this.width=i,this.height=n,this.pixelRatio=1,this.renderTarget=o,this.textureNeedsUpdate=!0,this.autoUpdate=!0,this._rttNode=null,this._quadMesh=new Qk(new Ul),this.updateBeforeType=Zn.RENDER}get autoResize(){return this.width===null}setup(t){return this._rttNode=this.node.context(t.getSharedContext()),this._quadMesh.material.name="RTT",this._quadMesh.material.needsUpdate=!0,super.setup(t)}setSize(t,i){this.width=t,this.height=i;let n=t*this.pixelRatio,s=i*this.pixelRatio;this.renderTarget.setSize(n,s),this.textureNeedsUpdate=!0}setPixelRatio(t){this.pixelRatio=t,this.setSize(this.width,this.height)}updateBefore({renderer:t}){if(this.textureNeedsUpdate===!1&&this.autoUpdate===!1)return;if(this.textureNeedsUpdate=!1,this.autoResize===!0){let s=t.getPixelRatio(),o=t.getSize(TFe),r=Math.floor(o.width*s),l=Math.floor(o.height*s);(r!==this.renderTarget.width||l!==this.renderTarget.height)&&(this.renderTarget.setSize(r,l),this.textureNeedsUpdate=!0)}let i="RTT";this.node.name&&(i=this.node.name+" [ "+i+" ]"),this._quadMesh.material.fragmentNode=this._rttNode,this._quadMesh.name=i;let n=t.getRenderTarget();t.setRenderTarget(this.renderTarget),this._quadMesh.render(t),t.setRenderTarget(n)}clone(){let t=new wE(this.value,this.uvNode,this.levelNode);return t.sampler=this.sampler,t.referenceNode=this,t}},F3e=(e,...t)=>new Vle(gn(e),...t),gFe=(e,...t)=>e.isSampleNode||e.isTextureNode?e:e.isPassNode?e.getTextureNode():F3e(e,...t),M8=Wt(([e,t,i],n)=>{let s;n.renderer.coordinateSystem===mf?(e=Hi(e.x,e.y.oneMinus()).mul(2).sub(1),s=On(Gt(e,t),1)):s=On(Gt(e.x,e.y.oneMinus(),t).mul(2).sub(1),1);let o=On(i.mul(s));return o.xyz.div(o.w)}),wFe=Wt(([e,t])=>{let i=t.mul(On(e,1)),n=i.xy.div(i.w).mul(.5).add(.5).toVar();return Hi(n.x,n.y.oneMinus())}),vFe=Wt(([e,t,i])=>{let n=a_(Oa(t)),s=Mc(e.mul(n)).toVar(),o=Oa(t,s).toVar(),r=Oa(t,s.sub(Mc(2,0))).toVar(),l=Oa(t,s.sub(Mc(1,0))).toVar(),d=Oa(t,s.add(Mc(1,0))).toVar(),h=Oa(t,s.add(Mc(2,0))).toVar(),p=Oa(t,s.add(Mc(0,2))).toVar(),I=Oa(t,s.add(Mc(0,1))).toVar(),m=Oa(t,s.sub(Mc(0,1))).toVar(),y=Oa(t,s.sub(Mc(0,2))).toVar(),T=dr(Ks(Et(2).mul(l).sub(r),o)).toVar(),R=dr(Ks(Et(2).mul(d).sub(h),o)).toVar(),b=dr(Ks(Et(2).mul(I).sub(p),o)).toVar(),A=dr(Ks(Et(2).mul(m).sub(y),o)).toVar(),O=M8(e,o,i).toVar(),P=T.lessThan(R).select(O.sub(M8(e.sub(Hi(Et(1).div(n.x),0)),l,i)),O.negate().add(M8(e.add(Hi(Et(1).div(n.x),0)),d,i))),U=b.lessThan(A).select(O.sub(M8(e.add(Hi(0,Et(1).div(n.y))),I,i)),O.negate().add(M8(e.sub(Hi(0,Et(1).div(n.y))),m,i)));return tm(jS(P,U))}),xce=Wt(([e])=>F3(Et(52.9829189).mul(F3(gE(e,Hi(.06711056,.00583715)))))).setLayout({name:"interleavedGradientNoise",type:"float",inputs:[{name:"position",type:"vec2"}]}),M3=Wt(([e,t,i])=>{let n=Et(2.399963229728653),s=aI(Et(e).add(.5).div(Et(t))),o=Et(e).mul(n).add(i);return Hi(P3(o),rI(o)).mul(s)}).setLayout({name:"vogelDiskSample",type:"vec2",inputs:[{name:"sampleIndex",type:"int"},{name:"samplesCount",type:"int"},{name:"phi",type:"float"}]}),kle=class extends Sn{static get type(){return"SampleNode"}constructor(t,i=null){super(),this.callback=t,this.uvNode=i,this.isSampleNode=!0}setup(){return this.sample(er())}sample(t){return this.callback(t)}},RFe=(e,t=null)=>new kle(e,gn(t)),uI=class e extends Sn{static get type(){return"EventNode"}constructor(t,i){super("void"),this.eventType=t,this.callback=i,t===e.OBJECT?this.updateType=Zn.OBJECT:t===e.MATERIAL?this.updateType=Zn.RENDER:t===e.FRAME?this.updateType=Zn.FRAME:t===e.BEFORE_OBJECT?this.updateBeforeType=Zn.OBJECT:t===e.BEFORE_MATERIAL?this.updateBeforeType=Zn.RENDER:t===e.BEFORE_FRAME&&(this.updateBeforeType=Zn.FRAME)}update(t){this.callback(t)}updateBefore(t){this.callback(t)}};uI.OBJECT="object";uI.MATERIAL="material";uI.FRAME="frame";uI.BEFORE_OBJECT="beforeObject";uI.BEFORE_MATERIAL="beforeMaterial";uI.BEFORE_FRAME="beforeFrame";var iM=(e,t)=>new uI(e,t).toStack(),SFe=e=>iM(uI.OBJECT,e),AFe=e=>iM(uI.MATERIAL,e),bFe=e=>iM(uI.FRAME,e),NFe=e=>iM(uI.BEFORE_OBJECT,e),_Fe=e=>iM(uI.BEFORE_MATERIAL,e),DFe=e=>iM(uI.BEFORE_FRAME,e),zle=class extends B0{constructor(t,i,n=Float32Array){let s=ArrayBuffer.isView(t)?t:new n(t*i);super(s,i),this.isStorageInstancedBufferAttribute=!0}},Wle=class extends Tn{constructor(t,i,n=Float32Array){let s=ArrayBuffer.isView(t)?t:new n(t*i);super(s,i),this.isStorageBufferAttribute=!0}},CFe=(e,t="float")=>{let i,n;t.isStruct===!0?(i=t.layout.getLength(),n=oZ("float")):(i=Eye(t),n=oZ(t));let s=new Wle(e,i,n);return u_(s,t,e)},xFe=(e,t="float")=>{let i,n;t.isStruct===!0?(i=t.layout.getLength(),n=oZ("float")):(i=Eye(t),n=oZ(t));let s=new zle(e,i,n);return u_(s,t,s.count)},Yle=class extends Sn{static get type(){return"PointUVNode"}constructor(){super("vec2"),this.isPointUVNode=!0}generate(){return"vec2( gl_PointCoord.x, 1.0 - gl_PointCoord.y )"}},OFe=en(Yle),xoe=new Ai,U3e=Nn(0).setGroup(Mn).onRenderUpdate(({scene:e})=>e.backgroundBlurriness),jle=Nn(1).setGroup(Mn).onRenderUpdate(({scene:e})=>e.backgroundIntensity),H3e=Nn(new Ai).setGroup(Mn).onRenderUpdate(({scene:e})=>{let t=e.background;return t!==null&&t.isTexture&&t.mapping!==DC?xoe.makeRotationFromEuler(e.backgroundRotation).transpose():xoe.identity(),xoe}),qle=class extends wE{static get type(){return"StorageTextureNode"}constructor(t,i,n=null){super(t,i),this.storeNode=n,this.mipLevel=0,this.isStorageTextureNode=!0,this.access=jh.WRITE_ONLY}getInputType(){return"storageTexture"}setup(t){super.setup(t);let i=t.getNodeProperties(this);return i.storeNode=this.storeNode,i}setAccess(t){return this.access=t,this}setMipLevel(t){return this.mipLevel=t,this}generate(t,i){return this.storeNode!==null?(this.generateStore(t),""):super.generate(t,i)}generateSnippet(t,i,n,s,o,r,l,d,h){let p=this.value;return t.generateStorageTextureLoad(p,i,n,s,r,h)}toReadWrite(){return this.setAccess(jh.READ_WRITE)}toReadOnly(){return this.setAccess(jh.READ_ONLY)}toWriteOnly(){return this.setAccess(jh.WRITE_ONLY)}generateStore(t){let i=t.getNodeProperties(this),{uvNode:n,storeNode:s,depthNode:o}=i,r=super.generate(t,"property"),l=n.build(t,this.value.is3DTexture===!0?"uvec3":"uvec2"),d=s.build(t,"vec4"),h=o?o.build(t,"int"):null,p=t.generateTextureStore(this.value,r,l,h,d);t.addLineFlowCode(p,this)}clone(){let t=super.clone();return t.storeNode=this.storeNode,t.mipLevel=this.mipLevel,t.access=this.access,t}},G3e=ys(qle).setParameterLength(1,3),LFe=(e,t,i)=>{let n;return e.isStorageTextureNode===!0?(n=e.clone(),n.uvNode=t,n.storeNode=i):n=G3e(e,t,i),i!==null&&n.toStack(),n},PFe=Wt(({texture:e,uv:t})=>{let n=Gt().toVar();return Fn(t.x.lessThan(1e-4),()=>{n.assign(Gt(1,0,0))}).ElseIf(t.y.lessThan(1e-4),()=>{n.assign(Gt(0,1,0))}).ElseIf(t.z.lessThan(1e-4),()=>{n.assign(Gt(0,0,1))}).ElseIf(t.x.greaterThan(1-1e-4),()=>{n.assign(Gt(-1,0,0))}).ElseIf(t.y.greaterThan(1-1e-4),()=>{n.assign(Gt(0,-1,0))}).ElseIf(t.z.greaterThan(1-1e-4),()=>{n.assign(Gt(0,0,-1))}).Else(()=>{let o=e.sample(t.add(Gt(-.01,0,0))).r.sub(e.sample(t.add(Gt(.01,0,0))).r),r=e.sample(t.add(Gt(0,-.01,0))).r.sub(e.sample(t.add(Gt(0,.01,0))).r),l=e.sample(t.add(Gt(0,0,-.01))).r.sub(e.sample(t.add(Gt(0,0,.01))).r);n.assign(Gt(o,r,l))}),n.normalize()}),$le=class extends wE{static get type(){return"Texture3DNode"}constructor(t,i=null,n=null){super(t,i,n),this.isTexture3DNode=!0}getInputType(){return"texture3D"}getDefaultUV(){return Gt(.5,.5,.5)}setUpdateMatrix(){}generateUV(t,i){return i.build(t,this.sampler===!0?"vec3":"ivec3")}generateOffset(t,i){return i.build(t,"ivec3")}normal(t){return PFe({texture:this,uv:t})}},Oce=ys($le).setParameterLength(1,3),MFe=(...e)=>Oce(...e).setSampler(!1),BFe=(e,t,i)=>Oce(e,t).level(i),Zle=class extends q8{static get type(){return"UserDataNode"}constructor(t,i,n=null){super(t,i,n),this.userData=n}updateReference(t){return this.reference=this.userData!==null?this.userData:t.object.userData,this.reference}},FFe=(e,t,i)=>new Zle(e,t,i),G1e=new WeakMap,Kle=class extends Fl{static get type(){return"VelocityNode"}constructor(){super("vec2"),this.projectionMatrix=null,this.updateType=Zn.OBJECT,this.updateAfterType=Zn.OBJECT,this.previousModelWorldMatrix=Nn(new Ai),this.previousProjectionMatrix=Nn(new Ai).setGroup(Mn),this.previousCameraViewMatrix=Nn(new Ai)}setProjectionMatrix(t){this.projectionMatrix=t}update({frameId:t,camera:i,object:n}){let s=V1e(n);this.previousModelWorldMatrix.value.copy(s);let o=V3e(i);o.frameId!==t&&(o.frameId=t,o.previousProjectionMatrix===void 0?(o.previousProjectionMatrix=new Ai,o.previousCameraViewMatrix=new Ai,o.currentProjectionMatrix=new Ai,o.currentCameraViewMatrix=new Ai,o.previousProjectionMatrix.copy(this.projectionMatrix||i.projectionMatrix),o.previousCameraViewMatrix.copy(i.matrixWorldInverse)):(o.previousProjectionMatrix.copy(o.currentProjectionMatrix),o.previousCameraViewMatrix.copy(o.currentCameraViewMatrix)),o.currentProjectionMatrix.copy(this.projectionMatrix||i.projectionMatrix),o.currentCameraViewMatrix.copy(i.matrixWorldInverse),this.previousProjectionMatrix.value.copy(o.previousProjectionMatrix),this.previousCameraViewMatrix.value.copy(o.previousCameraViewMatrix))}updateAfter({object:t}){V1e(t).copy(t.matrixWorld)}setup(){let t=this.projectionMatrix===null?WS:Nn(this.projectionMatrix),i=this.previousCameraViewMatrix.mul(this.previousModelWorldMatrix),n=t.mul(I_).mul(Ml),s=this.previousProjectionMatrix.mul(i).mul(Y8),o=n.xy.div(n.w),r=s.xy.div(s.w);return Ks(o,r)}};function V3e(e){let t=G1e.get(e);return t===void 0&&(t={},G1e.set(e,t)),t}function V1e(e,t=0){let i=V3e(e),n=i[t];return n===void 0&&(i[t]=n=new Ai,i[t].copy(e.matrixWorld)),n}var UFe=en(Kle),HFe=Wt(([e])=>Lce(e.rgb)),GFe=Wt(([e,t=Et(1)])=>t.mix(Lce(e.rgb),e.rgb)),VFe=Wt(([e,t=Et(1)])=>{let i=yc(e.r,e.g,e.b).div(3),n=e.r.max(e.g.max(e.b)),s=n.sub(i).mul(t).mul(-3);return zs(e.rgb,n,s)}),kFe=Wt(([e,t=Et(1)])=>{let i=Gt(.57735,.57735,.57735),n=t.cos();return Gt(e.rgb.mul(n).add(i.cross(e.rgb).mul(t.sin()).add(i.mul(gE(i,e.rgb).mul(n.oneMinus())))))}),Lce=(e,t=Gt(Hn.getLuminanceCoefficients(new ye)))=>gE(e,t),zFe=Wt(([e,t=Gt(1),i=Gt(0),n=Gt(1),s=Et(1),o=Gt(Hn.getLuminanceCoefficients(new ye,kv))])=>{let r=e.rgb.dot(Gt(o)),l=fa(e.rgb.mul(t).add(i),0).toVar(),d=l.pow(n).toVar();return Fn(l.r.greaterThan(0),()=>{l.r.assign(d.r)}),Fn(l.g.greaterThan(0),()=>{l.g.assign(d.g)}),Fn(l.b.greaterThan(0),()=>{l.b.assign(d.b)}),l.assign(r.add(l.sub(r).mul(s))),On(l.rgb,e.a)}),WFe=Wt(([e,t])=>e.mul(t).floor().div(t)),k$=null,Qle=class extends Z8{static get type(){return"ViewportSharedTextureNode"}constructor(t=G2,i=null){k$===null&&(k$=new Mb),super(t,i,k$)}getTextureForReference(){return k$}updateReference(){return this}},YFe=ys(Qle).setParameterLength(0,2),z$=new hi,UZ=class extends wE{static get type(){return"PassTextureNode"}constructor(t,i){super(i),this.passNode=t,this.isPassTextureNode=!0,this.setUpdateMatrix(!1)}setup(t){let i=t.getNodeProperties(this);return i.passNode=this.passNode,super.setup(t)}clone(){return new this.constructor(this.passNode,this.value)}},HZ=class extends UZ{static get type(){return"PassMultipleTextureNode"}constructor(t,i,n=!1){super(t,null),this.textureName=i,this.previousTexture=n,this.isPassMultipleTextureNode=!0}updateTexture(){this.value=this.previousTexture?this.passNode.getPreviousTexture(this.textureName):this.passNode.getTexture(this.textureName)}setup(t){return this.updateTexture(),super.setup(t)}clone(){let t=new this.constructor(this.passNode,this.textureName,this.previousTexture);return t.uvNode=this.uvNode,t.levelNode=this.levelNode,t.biasNode=this.biasNode,t.sampler=this.sampler,t.depthNode=this.depthNode,t.compareNode=this.compareNode,t.gradNode=this.gradNode,t.offsetNode=this.offsetNode,t}},j2=class e extends Fl{static get type(){return"PassNode"}constructor(t,i,n,s={}){super("vec4"),this.scope=t,this.scene=i,this.camera=n,this.options=s,this._pixelRatio=1,this._width=1,this._height=1;let o=new Zl;o.isRenderTargetTexture=!0,o.name="depth";let r=new yf(this._width*this._pixelRatio,this._height*this._pixelRatio,{type:sr,...s});r.texture.name="output",r.depthTexture=o,this.renderTarget=r,this.overrideMaterial=null,this.transparent=!0,this.opaque=!0,this.contextNode=null,this._contextNodeCache=null,this._textures={output:r.texture,depth:o},this._textureNodes={},this._linearDepthNodes={},this._viewZNodes={},this._previousTextures={},this._previousTextureNodes={},this._cameraNear=Nn(0),this._cameraFar=Nn(0),this._mrt=null,this._layers=null,this._resolutionScale=1,this._viewport=null,this._scissor=null,this.isPassNode=!0,this.updateBeforeType=Zn.FRAME,this.global=!0}setResolutionScale(t){return this._resolutionScale=t,this}getResolutionScale(){return this._resolutionScale}setResolution(t){return ci("PassNode: .setResolution() is deprecated. Use .setResolutionScale() instead."),this.setResolutionScale(t)}getResolution(){return ci("PassNode: .getResolution() is deprecated. Use .getResolutionScale() instead."),this.getResolutionScale()}setLayers(t){return this._layers=t,this}getLayers(){return this._layers}setMRT(t){return this._mrt=t,this}getMRT(){return this._mrt}getTexture(t){let i=this._textures[t];return i===void 0&&(i=this.renderTarget.texture.clone(),i.name=t,this._textures[t]=i,this.renderTarget.textures.push(i)),i}getPreviousTexture(t){let i=this._previousTextures[t];return i===void 0&&(i=this.getTexture(t).clone(),this._previousTextures[t]=i),i}toggleTexture(t){let i=this._previousTextures[t];if(i!==void 0){let n=this._textures[t],s=this.renderTarget.textures.indexOf(n);this.renderTarget.textures[s]=i,this._textures[t]=i,this._previousTextures[t]=n,this._textureNodes[t].updateTexture(),this._previousTextureNodes[t].updateTexture()}}getTextureNode(t="output"){let i=this._textureNodes[t];return i===void 0&&(i=new HZ(this,t),i.updateTexture(),this._textureNodes[t]=i),i}getPreviousTextureNode(t="output"){let i=this._previousTextureNodes[t];return i===void 0&&(this._textureNodes[t]===void 0&&this.getTextureNode(t),i=new HZ(this,t,!0),i.updateTexture(),this._previousTextureNodes[t]=i),i}getViewZNode(t="depth"){let i=this._viewZNodes[t];if(i===void 0){let n=this._cameraNear,s=this._cameraFar;this._viewZNodes[t]=i=Rce(this.getTextureNode(t),n,s)}return i}getLinearDepthNode(t="depth"){let i=this._linearDepthNodes[t];if(i===void 0){let n=this._cameraNear,s=this._cameraFar,o=this.getViewZNode(t);this._linearDepthNodes[t]=i=k8(o,n,s)}return i}async compileAsync(t){let i=t.getRenderTarget(),n=t.getMRT();t.setRenderTarget(this.renderTarget),t.setMRT(this._mrt),await t.compileAsync(this.scene,this.camera),t.setRenderTarget(i),t.setMRT(n)}setup({renderer:t}){return this.renderTarget.samples=this.options.samples===void 0?t.samples:this.options.samples,this.renderTarget.texture.type=t.getOutputBufferType(),t.reversedDepthBuffer===!0&&(this.renderTarget.depthTexture.type=Ro),this.scope===e.COLOR?this.getTextureNode():this.getLinearDepthNode()}updateBefore(t){let{renderer:i}=t,{scene:n}=this,s,o,r=i.getOutputRenderTarget();r&&r.isXRRenderTarget===!0?(o=1,s=i.xr.getCamera(),i.xr.updateCamera(s),z$.set(r.width,r.height)):(s=this.camera,o=i.getPixelRatio(),i.getSize(z$)),this._pixelRatio=o,this.setSize(z$.width,z$.height);let l=i.getRenderTarget(),d=i.getMRT(),h=i.autoClear,p=i.transparent,I=i.opaque,m=s.layers.mask,y=i.contextNode,T=n.overrideMaterial;this._cameraNear.value=s.near,this._cameraFar.value=s.far,this._layers!==null&&(s.layers.mask=this._layers.mask);for(let b in this._previousTextures)this.toggleTexture(b);this.overrideMaterial!==null&&(n.overrideMaterial=this.overrideMaterial),i.setRenderTarget(this.renderTarget),i.setMRT(this._mrt),i.autoClear=!0,i.transparent=this.transparent,i.opaque=this.opaque,this.contextNode!==null&&((this._contextNodeCache===null||this._contextNodeCache.version!==this.version)&&(this._contextNodeCache={version:this.version,context:ZS({...i.contextNode.getFlowContextData(),...this.contextNode.getFlowContextData()})}),i.contextNode=this._contextNodeCache.context);let R=n.name;n.name=this.name?this.name:n.name,i.render(n,s),n.name=R,n.overrideMaterial=T,i.setRenderTarget(l),i.setMRT(d),i.autoClear=h,i.transparent=p,i.opaque=I,i.contextNode=y,s.layers.mask=m}setSize(t,i){this._width=t,this._height=i;let n=Math.floor(this._width*this._pixelRatio*this._resolutionScale),s=Math.floor(this._height*this._pixelRatio*this._resolutionScale);this.renderTarget.setSize(n,s),this._scissor!==null?(this.renderTarget.scissor.copy(this._scissor).multiplyScalar(this._pixelRatio*this._resolutionScale).floor(),this.renderTarget.scissorTest=!0):this.renderTarget.scissorTest=!1,this._viewport!==null&&this.renderTarget.viewport.copy(this._viewport).multiplyScalar(this._pixelRatio*this._resolutionScale).floor()}setScissor(t,i,n,s){t===null?this._scissor=null:(this._scissor===null&&(this._scissor=new xn),t.isVector4?this._scissor.copy(t):this._scissor.set(t,i,n,s))}setViewport(t,i,n,s){t===null?this._viewport=null:(this._viewport===null&&(this._viewport=new xn),t.isVector4?this._viewport.copy(t):this._viewport.set(t,i,n,s))}setPixelRatio(t){this._pixelRatio=t,this.setSize(this._width,this._height)}dispose(){this.renderTarget.dispose()}};j2.COLOR="color";j2.DEPTH="depth";var jFe=(e,t,i)=>new j2(j2.COLOR,e,t,i),qFe=(e,t)=>new UZ(e,t),$Fe=(e,t,i)=>new j2(j2.DEPTH,e,t,i),Jle=class extends j2{static get type(){return"ToonOutlinePassNode"}constructor(t,i,n,s,o){super(j2.COLOR,t,i),this.colorNode=n,this.thicknessNode=s,this.alphaNode=o,this._materialCache=new WeakMap,this.name="Outline Pass"}updateBefore(t){let{renderer:i}=t,n=i.getRenderObjectFunction();i.setRenderObjectFunction((s,o,r,l,d,h,p,I)=>{if((d.isMeshToonMaterial||d.isMeshToonNodeMaterial)&&d.wireframe===!1){let m=this._getOutlineMaterial(d);i.renderObject(s,o,r,l,m,h,p,I)}i.renderObject(s,o,r,l,d,h,p,I)}),super.updateBefore(t),i.setRenderObjectFunction(n)}_createMaterial(){let t=new Ul;t.isMeshToonOutlineMaterial=!0,t.name="Toon_Outline",t.side=Js;let i=om.negate(),n=WS.mul(I_),s=Et(1),o=n.mul(On(Ml,1)),r=n.mul(On(Ml.add(i),1)),l=tm(o.sub(r));return t.vertexNode=o.add(l.mul(this.thicknessNode).mul(o.w).mul(s)),t.colorNode=On(this.colorNode,this.alphaNode),t}_getOutlineMaterial(t){let i=this._materialCache.get(t);return i===void 0&&(i=this._createMaterial(),this._materialCache.set(t,i)),i}},ZFe=(e,t,i=new Oi(0,0,0),n=.003,s=1)=>new Jle(e,t,gn(i),gn(n),gn(s)),k3e=Wt(([e,t])=>e.mul(t).clamp()).setLayout({name:"linearToneMapping",type:"vec3",inputs:[{name:"color",type:"vec3"},{name:"exposure",type:"float"}]}),z3e=Wt(([e,t])=>(e=e.mul(t),e.div(e.add(1)).clamp())).setLayout({name:"reinhardToneMapping",type:"vec3",inputs:[{name:"color",type:"vec3"},{name:"exposure",type:"float"}]}),W3e=Wt(([e,t])=>{e=e.mul(t),e=e.sub(.004).max(0);let i=e.mul(e.mul(6.2).add(.5)),n=e.mul(e.mul(6.2).add(1.7)).add(.06);return i.div(n).pow(2.2)}).setLayout({name:"cineonToneMapping",type:"vec3",inputs:[{name:"color",type:"vec3"},{name:"exposure",type:"float"}]}),KFe=Wt(([e])=>{let t=e.mul(e.add(.0245786)).sub(90537e-9),i=e.mul(e.add(.432951).mul(.983729)).add(.238081);return t.div(i)}),Y3e=Wt(([e,t])=>{let i=Q0(.59719,.35458,.04823,.076,.90834,.01566,.0284,.13383,.83777),n=Q0(1.60475,-.53108,-.07367,-.10208,1.10813,-.00605,-.00327,-.07276,1.07602);return e=e.mul(t).div(.6),e=i.mul(e),e=KFe(e),e=n.mul(e),e.clamp()}).setLayout({name:"acesFilmicToneMapping",type:"vec3",inputs:[{name:"color",type:"vec3"},{name:"exposure",type:"float"}]}),QFe=Q0(Gt(1.6605,-.1246,-.0182),Gt(-.5876,1.1329,-.1006),Gt(-.0728,-.0083,1.1187)),JFe=Q0(Gt(.6274,.0691,.0164),Gt(.3293,.9195,.088),Gt(.0433,.0113,.8956)),XFe=Wt(([e])=>{let t=Gt(e).toVar(),i=Gt(t.mul(t)).toVar(),n=Gt(i.mul(i)).toVar();return Et(15.5).mul(n.mul(i)).sub(os(40.14,n.mul(t))).add(os(31.96,n).sub(os(6.868,i.mul(t))).add(os(.4298,i).add(os(.1191,t).sub(.00232))))}),j3e=Wt(([e,t])=>{let i=Gt(e).toVar(),n=Q0(Gt(.856627153315983,.137318972929847,.11189821299995),Gt(.0951212405381588,.761241990602591,.0767994186031903),Gt(.0482516061458583,.101439036467562,.811302368396859)),s=Q0(Gt(1.1271005818144368,-.1413297634984383,-.14132976349843826),Gt(-.11060664309660323,1.157823702216272,-.11060664309660294),Gt(-.016493938717834573,-.016493938717834257,1.2519364065950405)),o=Et(-12.47393),r=Et(4.026069);return i.mulAssign(t),i.assign(JFe.mul(i)),i.assign(n.mul(i)),i.assign(fa(i,1e-10)),i.assign(F2(i)),i.assign(i.sub(o).div(r.sub(o))),i.assign(U3(i,0,1)),i.assign(XFe(i)),i.assign(s.mul(i)),i.assign(yE(fa(Gt(0),i),Gt(2.2))),i.assign(QFe.mul(i)),i.assign(U3(i,0,1)),i}).setLayout({name:"agxToneMapping",type:"vec3",inputs:[{name:"color",type:"vec3"},{name:"exposure",type:"float"}]}),q3e=Wt(([e,t])=>{let i=Et(.76),n=Et(.15);e=e.mul(t);let s=nm(e.r,nm(e.g,e.b)),o=jf(s.lessThan(.08),s.sub(os(6.25,s.mul(s))),.04);e.subAssign(o);let r=fa(e.r,fa(e.g,e.b));Fn(r.lessThan(i),()=>e);let l=Ks(1,i),d=Ks(1,l.mul(l).div(r.add(l.sub(i))));e.mulAssign(d.div(r));let h=Ks(1,B1(1,n.mul(r.sub(d)).add(1)));return zs(e,Gt(d),h)}).setLayout({name:"neutralToneMapping",type:"vec3",inputs:[{name:"color",type:"vec3"},{name:"exposure",type:"float"}]}),Ic=class extends Sn{static get type(){return"CodeNode"}constructor(t="",i=[],n=""){super("code"),this.isCodeNode=!0,this.global=!0,this.code=t,this.includes=i,this.language=n}setIncludes(t){return this.includes=t,this}getIncludes(){return this.includes}generate(t){let i=this.getIncludes(t);for(let s of i)s.build(t);let n=t.getCodeFromNode(this,this.getNodeType(t));return n.code=this.code,n.code}serialize(t){super.serialize(t),t.code=this.code,t.language=this.language}deserialize(t){super.deserialize(t),this.code=t.code,this.language=t.language}},xK=ys(Ic).setParameterLength(1,3),eUe=(e,t)=>xK(e,t,"js"),tUe=(e,t)=>xK(e,t,"wgsl"),iUe=(e,t)=>xK(e,t,"glsl"),GZ=class extends Ic{static get type(){return"FunctionNode"}constructor(t="",i=[],n=""){super(t,i,n)}generateNodeType(t){return this.getNodeFunction(t).type}getMemberType(t,i){let n=this.getNodeType(t);return t.getStructTypeNode(n).getMemberType(t,i)}getInputs(t){return this.getNodeFunction(t).inputs}getNodeFunction(t){let i=t.getDataFromNode(this),n=i.nodeFunction;return n===void 0&&(n=t.parser.parseFunction(this.code),i.nodeFunction=n),n}generate(t,i){super.generate(t);let n=this.getNodeFunction(t),s=n.name,o=n.type,r=t.getCodeFromNode(this,o);s!==""&&(r.name=s);let l=t.getPropertyName(r),d=this.getNodeFunction(t).getCode(l);return r.code=d+`
|
||
`,i==="property"?l:t.format(`${l}()`,o,i)}},$3e=(e,t=[],i="")=>{for(let o=0;o<t.length;o++){let r=t[o];typeof r=="function"&&(t[o]=r.functionNode)}let n=new GZ(e,t,i),s=(...o)=>n.call(...o);return s.functionNode=n,s},nUe=(e,t)=>$3e(e,t,"glsl"),sUe=(e,t)=>$3e(e,t,"wgsl");function Pce(e){let t,i=e.context.getViewZ;return i!==void 0&&(t=i(this)),(t||Tu.z).negate()}var Z3e=Wt(([e,t],i)=>{let n=Pce(i);return H3(e,t,n)}),K3e=Wt(([e],t)=>{let i=Pce(t);return e.mul(e,i,i).negate().exp().oneMinus()}),oUe=Wt(([e,t],i)=>{let n=Pce(i),o=t.sub(V2.y).max(0).toConst().mul(n).toConst();return e.mul(e,o,o).negate().exp().oneMinus()}),Xle=Wt(([e,t])=>On(t.toFloat().mix(U8.rgb,e.toVec3()),U8.a)),hx=null,fx=null,eae=class extends Sn{static get type(){return"RangeNode"}constructor(t=Et(),i=Et()){super(),this.minNode=t,this.maxNode=i}getVectorLength(t){let i=this.getConstNode(this.minNode),n=this.getConstNode(this.maxNode),s=t.getTypeLength(o_(i.value)),o=t.getTypeLength(o_(n.value));return s>o?s:o}generateNodeType(t){return t.object.count>1?t.getTypeFromLength(this.getVectorLength(t)):"float"}getConstNode(t){let i=null;if(t.traverse(n=>{n.isConstNode===!0&&(i=n)}),i===null)throw new vZ('THREE.TSL: No "ConstNode" found in node graph.',this.stackTrace);return i}setup(t){let i=t.object,n=null;if(i.count>1){let s=this.getConstNode(this.minNode),o=this.getConstNode(this.maxNode),r=s.value,l=o.value,d=t.getTypeLength(o_(r)),h=t.getTypeLength(o_(l));hx=hx||new xn,fx=fx||new xn,hx.setScalar(0),fx.setScalar(0),d===1?hx.setScalar(r):r.isColor?hx.set(r.r,r.g,r.b,1):hx.set(r.x,r.y,r.z||0,r.w||0),h===1?fx.setScalar(l):l.isColor?fx.set(l.r,l.g,l.b,1):fx.set(l.x,l.y,l.z||0,l.w||0);let p=4,I=p*i.count,m=new Float32Array(I);for(let R=0;R<I;R++){let b=R%p,A=hx.getComponent(b),O=fx.getComponent(b);m[R]=cr.lerp(A,O,Math.random())}let y=this.getNodeType(t);if(i.count*4*4<=t.getUniformBufferLimit())n=rz(m,"vec4",i.count).element(B3).convert(y);else{let R=new B0(m,4);t.geometry.setAttribute("__range"+this.id,R),n=TZ(R).convert(y)}}else n=Et(0);return n}},rUe=ys(eae).setParameterLength(2),tae=class extends Sn{static get type(){return"ComputeBuiltinNode"}constructor(t,i){super(i),this._builtinName=t}getHash(t){return this.getBuiltinName(t)}generateNodeType(){return this.nodeType}setBuiltinName(t){return this._builtinName=t,this}getBuiltinName(){return this._builtinName}hasBuiltin(t){return t.hasBuiltin(this._builtinName)}generate(t,i){let n=this.getBuiltinName(t),s=this.getNodeType(t);return t.shaderStage==="compute"?t.format(n,s,i):(ci(`ComputeBuiltinNode: Compute built-in value ${n} can not be accessed in the ${t.shaderStage} stage`),t.generateConst(s))}serialize(t){super.serialize(t),t.global=this.global,t._builtinName=this._builtinName}deserialize(t){super.deserialize(t),this.global=t.global,this._builtinName=t._builtinName}},uz=(e,t)=>new tae(e,t),lUe=uz("numWorkgroups","uvec3"),aUe=uz("workgroupId","uvec3"),uUe=uz("globalId","uvec3"),cUe=uz("localId","uvec3"),dUe=uz("subgroupSize","uint"),iae=class extends Sn{constructor(t){super(),this.scope=t,this.isBarrierNode=!0}setup(t){t.allowEarlyReturns=!1,t.allowGlobalVariables=!1}generate(t){let{scope:i}=this,{renderer:n}=t;n.backend.isWebGLBackend===!0?t.addFlowCode(` // ${i}Barrier
|
||
`):t.addLineFlowCode(`${i}Barrier()`,this)}},Mce=ys(iae),hUe=()=>Mce("workgroup").toStack(),fUe=()=>Mce("storage").toStack(),pUe=()=>Mce("texture").toStack(),nae=class extends YS{constructor(t,i){super(t,i),this.isWorkgroupInfoElementNode=!0}generate(t,i){let n,s=t.context.assign;if(n=super.generate(t),s!==!0){let o=this.getNodeType(t);n=t.format(n,o,i)}return n}},sae=class extends Sn{constructor(t,i,n=0){super(i),this.bufferType=i,this.bufferCount=n,this.isWorkgroupInfoNode=!0,this.elementType=i,this.scope=t,this.name=""}setName(t){return this.name=t,this}label(t){return ci('TSL: "label()" has been deprecated. Use "setName()" instead.',new ha),this.setName(t)}setScope(t){return this.scope=t,this}getElementType(){return this.elementType}getInputType(){return`${this.scope}Array`}element(t){return new nae(this,t)}generate(t){let i=this.name!==""?this.name:`${this.scope}Array_${this.id}`;return t.getScopedArray(i,this.scope.toLowerCase(),this.bufferType,this.bufferCount)}},IUe=(e,t)=>new sae("Workgroup",e,t),Tc=class extends Sn{static get type(){return"AtomicFunctionNode"}constructor(t,i,n){super("uint"),this.method=t,this.pointerNode=i,this.valueNode=n,this.parents=!0}getInputType(t){return this.pointerNode.getNodeType(t)}generateNodeType(t){return this.getInputType(t)}generate(t){let i=t.getNodeProperties(this),n=i.parents,s=this.method,o=this.getNodeType(t),r=this.getInputType(t),l=this.pointerNode,d=this.valueNode,h=[];h.push(`&${l.build(t,r)}`),d!==null&&h.push(d.build(t,r));let p=`${t.getMethod(s,o)}( ${h.join(", ")} )`;if(n?n.length===1&&n[0].isStackNode===!0:!1)t.addLineFlowCode(p,this);else return i.constNode===void 0&&(i.constNode=P1(p,o).toConst()),i.constNode.build(t)}};Tc.ATOMIC_LOAD="atomicLoad";Tc.ATOMIC_STORE="atomicStore";Tc.ATOMIC_ADD="atomicAdd";Tc.ATOMIC_SUB="atomicSub";Tc.ATOMIC_MAX="atomicMax";Tc.ATOMIC_MIN="atomicMin";Tc.ATOMIC_AND="atomicAnd";Tc.ATOMIC_OR="atomicOr";Tc.ATOMIC_XOR="atomicXor";var mUe=ys(Tc),$2=(e,t,i)=>mUe(e,t,i).toStack(),yUe=e=>$2(Tc.ATOMIC_LOAD,e,null),EUe=(e,t)=>$2(Tc.ATOMIC_STORE,e,t),TUe=(e,t)=>$2(Tc.ATOMIC_ADD,e,t),gUe=(e,t)=>$2(Tc.ATOMIC_SUB,e,t),wUe=(e,t)=>$2(Tc.ATOMIC_MAX,e,t),vUe=(e,t)=>$2(Tc.ATOMIC_MIN,e,t),RUe=(e,t)=>$2(Tc.ATOMIC_AND,e,t),SUe=(e,t)=>$2(Tc.ATOMIC_OR,e,t),AUe=(e,t)=>$2(Tc.ATOMIC_XOR,e,t),mn=class e extends Fl{static get type(){return"SubgroupFunctionNode"}constructor(t,i=null,n=null){super(),this.method=t,this.aNode=i,this.bNode=n}getInputType(t){let i=this.aNode?this.aNode.getNodeType(t):null,n=this.bNode?this.bNode.getNodeType(t):null,s=t.isMatrix(i)?0:t.getTypeLength(i),o=t.isMatrix(n)?0:t.getTypeLength(n);return s>o?i:n}generateNodeType(t){let i=this.method;return i===e.SUBGROUP_ELECT?"bool":i===e.SUBGROUP_BALLOT?"uvec4":this.getInputType(t)}generate(t,i){let n=this.method,s=this.getNodeType(t),o=this.getInputType(t),r=this.aNode,l=this.bNode,d=[];if(n===e.SUBGROUP_BROADCAST||n===e.SUBGROUP_SHUFFLE||n===e.QUAD_BROADCAST){let p=l.getNodeType(t);d.push(r.build(t,s),l.build(t,p==="float"?"int":s))}else n===e.SUBGROUP_SHUFFLE_XOR||n===e.SUBGROUP_SHUFFLE_DOWN||n===e.SUBGROUP_SHUFFLE_UP?d.push(r.build(t,s),l.build(t,"uint")):(r!==null&&d.push(r.build(t,o)),l!==null&&d.push(l.build(t,o)));let h=d.length===0?"()":`( ${d.join(", ")} )`;return t.format(`${t.getMethod(n,s)}${h}`,s,i)}serialize(t){super.serialize(t),t.method=this.method}deserialize(t){super.deserialize(t),this.method=t.method}};mn.SUBGROUP_ELECT="subgroupElect";mn.SUBGROUP_BALLOT="subgroupBallot";mn.SUBGROUP_ADD="subgroupAdd";mn.SUBGROUP_INCLUSIVE_ADD="subgroupInclusiveAdd";mn.SUBGROUP_EXCLUSIVE_AND="subgroupExclusiveAdd";mn.SUBGROUP_MUL="subgroupMul";mn.SUBGROUP_INCLUSIVE_MUL="subgroupInclusiveMul";mn.SUBGROUP_EXCLUSIVE_MUL="subgroupExclusiveMul";mn.SUBGROUP_AND="subgroupAnd";mn.SUBGROUP_OR="subgroupOr";mn.SUBGROUP_XOR="subgroupXor";mn.SUBGROUP_MIN="subgroupMin";mn.SUBGROUP_MAX="subgroupMax";mn.SUBGROUP_ALL="subgroupAll";mn.SUBGROUP_ANY="subgroupAny";mn.SUBGROUP_BROADCAST_FIRST="subgroupBroadcastFirst";mn.QUAD_SWAP_X="quadSwapX";mn.QUAD_SWAP_Y="quadSwapY";mn.QUAD_SWAP_DIAGONAL="quadSwapDiagonal";mn.SUBGROUP_BROADCAST="subgroupBroadcast";mn.SUBGROUP_SHUFFLE="subgroupShuffle";mn.SUBGROUP_SHUFFLE_XOR="subgroupShuffleXor";mn.SUBGROUP_SHUFFLE_UP="subgroupShuffleUp";mn.SUBGROUP_SHUFFLE_DOWN="subgroupShuffleDown";mn.QUAD_BROADCAST="quadBroadcast";var bUe=Mi(mn,mn.SUBGROUP_ELECT).setParameterLength(0),NUe=Mi(mn,mn.SUBGROUP_BALLOT).setParameterLength(1),_Ue=Mi(mn,mn.SUBGROUP_ADD).setParameterLength(1),DUe=Mi(mn,mn.SUBGROUP_INCLUSIVE_ADD).setParameterLength(1),CUe=Mi(mn,mn.SUBGROUP_EXCLUSIVE_AND).setParameterLength(1),xUe=Mi(mn,mn.SUBGROUP_MUL).setParameterLength(1),OUe=Mi(mn,mn.SUBGROUP_INCLUSIVE_MUL).setParameterLength(1),LUe=Mi(mn,mn.SUBGROUP_EXCLUSIVE_MUL).setParameterLength(1),PUe=Mi(mn,mn.SUBGROUP_AND).setParameterLength(1),MUe=Mi(mn,mn.SUBGROUP_OR).setParameterLength(1),BUe=Mi(mn,mn.SUBGROUP_XOR).setParameterLength(1),FUe=Mi(mn,mn.SUBGROUP_MIN).setParameterLength(1),UUe=Mi(mn,mn.SUBGROUP_MAX).setParameterLength(1),HUe=Mi(mn,mn.SUBGROUP_ALL).setParameterLength(0),GUe=Mi(mn,mn.SUBGROUP_ANY).setParameterLength(0),VUe=Mi(mn,mn.SUBGROUP_BROADCAST_FIRST).setParameterLength(2),kUe=Mi(mn,mn.QUAD_SWAP_X).setParameterLength(1),zUe=Mi(mn,mn.QUAD_SWAP_Y).setParameterLength(1),WUe=Mi(mn,mn.QUAD_SWAP_DIAGONAL).setParameterLength(1),YUe=Mi(mn,mn.SUBGROUP_BROADCAST).setParameterLength(2),jUe=Mi(mn,mn.SUBGROUP_SHUFFLE).setParameterLength(2),qUe=Mi(mn,mn.SUBGROUP_SHUFFLE_XOR).setParameterLength(2),$Ue=Mi(mn,mn.SUBGROUP_SHUFFLE_UP).setParameterLength(2),ZUe=Mi(mn,mn.SUBGROUP_SHUFFLE_DOWN).setParameterLength(2),KUe=Mi(mn,mn.QUAD_BROADCAST).setParameterLength(1),W$;function OK(e){W$=W$||new WeakMap;let t=W$.get(e);return t===void 0&&W$.set(e,t={}),t}function LK(e){let t=OK(e);return t.shadowMatrix||(t.shadowMatrix=Nn("mat4").setGroup(Mn).onRenderUpdate(i=>((e.castShadow!==!0||i.renderer.shadowMap.enabled===!1)&&(e.shadow.camera.coordinateSystem!==i.camera.coordinateSystem&&(e.shadow.camera.coordinateSystem=i.camera.coordinateSystem,e.shadow.camera.updateProjectionMatrix()),e.shadow.updateMatrices(e)),e.shadow.matrix)))}function Q3e(e,t=V2){let i=LK(e).mul(t);return i.xyz.div(i.w)}function Bce(e){let t=OK(e);return t.position||(t.position=Nn(new ye).setGroup(Mn).onRenderUpdate((i,n)=>n.value.setFromMatrixPosition(e.matrixWorld)))}function J3e(e){let t=OK(e);return t.targetPosition||(t.targetPosition=Nn(new ye).setGroup(Mn).onRenderUpdate((i,n)=>n.value.setFromMatrixPosition(e.target.matrixWorld)))}function Fce(e){let t=OK(e);return t.viewPosition||(t.viewPosition=Nn(new ye).setGroup(Mn).onRenderUpdate(({camera:i},n)=>{n.value=n.value||new ye,n.value.setFromMatrixPosition(e.matrixWorld),n.value.applyMatrix4(i.matrixWorldInverse)}))}var Uce=e=>vE.transformDirection(Bce(e).sub(J3e(e))),QUe=e=>e.sort((t,i)=>t.id-i.id),JUe=(e,t)=>{for(let i of t)if(i.isAnalyticLightNode&&i.light.id===e)return i;return null},Ooe=new WeakMap,Sk=[],Jk=class extends Sn{static get type(){return"LightsNode"}constructor(){super("vec3"),this.totalDiffuseNode=zS("vec3","totalDiffuse"),this.totalSpecularNode=zS("vec3","totalSpecular"),this.outgoingLightNode=zS("vec3","outgoingLight"),this._lights=[],this._lightNodes=null,this._lightNodesHash=null,this.global=!0}customCacheKey(){let t=this._lights;for(let n=0;n<t.length;n++){let s=t[n];if(Sk.push(s.id),Sk.push(s.castShadow?1:0),s.isSpotLight===!0){let o=s.map!==null?s.map.id:-1,r=s.colorNode?s.colorNode.getCacheKey():-1;Sk.push(o,r)}}let i=sz(Sk);return Sk.length=0,i}getHash(t){if(this._lightNodesHash===null){this._lightNodes===null&&this.setupLightsNode(t);let i=[];for(let n of this._lightNodes)i.push(n.getHash());this._lightNodesHash="lights-"+i.join(",")}return this._lightNodesHash}analyze(t){let i=t.getNodeProperties(this);for(let n of i.nodes)n.build(t);i.outputNode.build(t)}setupLightsNode(t){let i=[],n=this._lightNodes,s=QUe(this._lights),o=t.renderer.library;for(let r of s)if(r.isNode)i.push(gn(r));else{let l=null;if(n!==null&&(l=JUe(r.id,n)),l===null){let d=o.getLightNodeClass(r.constructor);if(d===null){ci(`LightsNode.setupNodeLights: Light node not found for ${r.constructor.name}`);continue}Ooe.has(r)===!1&&Ooe.set(r,new d(r)),l=Ooe.get(r)}i.push(l)}this._lightNodes=i}setupDirectLight(t,i,n){let{lightingModel:s,reflectedLight:o}=t.context;s.direct({...n,lightNode:i,reflectedLight:o},t)}setupDirectRectAreaLight(t,i,n){let{lightingModel:s,reflectedLight:o}=t.context;s.directRectArea({...n,lightNode:i,reflectedLight:o},t)}setupLights(t,i){for(let n of i)n.build(t)}getLightNodes(t){return this._lightNodes===null&&this.setupLightsNode(t),this._lightNodes}setup(t){let i=t.lightsNode;t.lightsNode=this;let n=this.outgoingLightNode,s=t.context,o=s.lightingModel,r=t.getNodeProperties(this);if(o){let{totalDiffuseNode:l,totalSpecularNode:d}=this;s.outgoingLight=n;let h=t.addStack();r.nodes=h.nodes,o.start(t);let{backdrop:p,backdropAlpha:I}=s,{directDiffuse:m,directSpecular:y,indirectDiffuse:T,indirectSpecular:R}=s.reflectedLight,b=m.add(T);p!==null&&(I!==null?b=Gt(I.mix(b,p)):b=Gt(p)),l.assign(b),d.assign(y.add(R)),n.assign(l.add(d)),o.finish(t),n=n.bypass(t.removeStack())}else r.nodes=[];return t.lightsNode=i,n}setLights(t){return this._lights=t,this._lightNodes=null,this._lightNodesHash=null,this}getLights(){return this._lights}get hasLights(){return this._lights.length>0}},XUe=(e=[])=>new Jk().setLights(e),oae=class extends Sn{static get type(){return"ShadowBaseNode"}constructor(t){super(),this.light=t,this.updateBeforeType=Zn.RENDER,this.isShadowBaseNode=!0}setupShadowPosition({context:t,material:i}){Hce.assign(i.receivedShadowPositionNode||t.shadowPositionWorld||V2)}},Hce=zS("vec3","shadowPositionWorld");function eHe(e,t={}){return t.toneMapping=e.toneMapping,t.toneMappingExposure=e.toneMappingExposure,t.outputColorSpace=e.outputColorSpace,t.renderTarget=e.getRenderTarget(),t.activeCubeFace=e.getActiveCubeFace(),t.activeMipmapLevel=e.getActiveMipmapLevel(),t.renderObjectFunction=e.getRenderObjectFunction(),t.pixelRatio=e.getPixelRatio(),t.mrt=e.getMRT(),t.clearColor=e.getClearColor(t.clearColor||new Oi),t.clearAlpha=e.getClearAlpha(),t.autoClear=e.autoClear,t.scissorTest=e.getScissorTest(),t}function tHe(e,t){return t=eHe(e,t),e.setMRT(null),e.setRenderObjectFunction(null),e.setClearColor(0,1),e.autoClear=!0,t}function iHe(e,t){e.toneMapping=t.toneMapping,e.toneMappingExposure=t.toneMappingExposure,e.outputColorSpace=t.outputColorSpace,e.setRenderTarget(t.renderTarget,t.activeCubeFace,t.activeMipmapLevel),e.setRenderObjectFunction(t.renderObjectFunction),e.setPixelRatio(t.pixelRatio),e.setMRT(t.mrt),e.setClearColor(t.clearColor,t.clearAlpha),e.autoClear=t.autoClear,e.setScissorTest(t.scissorTest)}function nHe(e,t={}){return t.background=e.background,t.backgroundNode=e.backgroundNode,t.overrideMaterial=e.overrideMaterial,t}function sHe(e,t){return t=nHe(e,t),e.background=null,e.backgroundNode=null,e.overrideMaterial=null,t}function oHe(e,t){e.background=t.background,e.backgroundNode=t.backgroundNode,e.overrideMaterial=t.overrideMaterial}function rHe(e,t,i){return i=tHe(e,i),i=sHe(t,i),i}function lHe(e,t,i){iHe(e,i),oHe(t,i)}var VZ=new WeakMap,X3e=Wt(({depthTexture:e,shadowCoord:t,depthLayer:i})=>{let n=lo(e,t.xy).setName("t_basic");return e.isArrayTexture&&(n=n.depth(i)),n.compare(t.z)}),ege=Wt(({depthTexture:e,shadowCoord:t,shadow:i,depthLayer:n})=>{let s=(p,I)=>{let m=lo(e,p);return e.isArrayTexture&&(m=m.depth(n)),m.compare(I)},o=Ar("mapSize","vec2",i).setGroup(Mn),r=Ar("radius","float",i).setGroup(Mn),l=Hi(1).div(o),d=r.mul(l.x),h=xce(Ox.xy).mul(6.28318530718);return yc(s(t.xy.add(M3(0,5,h).mul(d)),t.z),s(t.xy.add(M3(1,5,h).mul(d)),t.z),s(t.xy.add(M3(2,5,h).mul(d)),t.z),s(t.xy.add(M3(3,5,h).mul(d)),t.z),s(t.xy.add(M3(4,5,h).mul(d)),t.z)).mul(1/5)}),tge=Wt(({depthTexture:e,shadowCoord:t,shadow:i,depthLayer:n})=>{let s=(I,m)=>{let y=lo(e,I);return e.isArrayTexture&&(y=y.depth(n)),y.compare(m)},o=Ar("mapSize","vec2",i).setGroup(Mn),r=Hi(1).div(o),l=r.x,d=r.y,h=t.xy,p=F3(h.mul(o).add(.5));return h.subAssign(p.mul(r)),yc(s(h,t.z),s(h.add(Hi(l,0)),t.z),s(h.add(Hi(0,d)),t.z),s(h.add(r),t.z),zs(s(h.add(Hi(l.negate(),0)),t.z),s(h.add(Hi(l.mul(2),0)),t.z),p.x),zs(s(h.add(Hi(l.negate(),d)),t.z),s(h.add(Hi(l.mul(2),d)),t.z),p.x),zs(s(h.add(Hi(0,d.negate())),t.z),s(h.add(Hi(0,d.mul(2))),t.z),p.y),zs(s(h.add(Hi(l,d.negate())),t.z),s(h.add(Hi(l,d.mul(2))),t.z),p.y),zs(zs(s(h.add(Hi(l.negate(),d.negate())),t.z),s(h.add(Hi(l.mul(2),d.negate())),t.z),p.x),zs(s(h.add(Hi(l.negate(),d.mul(2))),t.z),s(h.add(Hi(l.mul(2),d.mul(2))),t.z),p.x),p.y)).mul(1/9)}),ige=Wt(({depthTexture:e,shadowCoord:t,depthLayer:i},n)=>{let s=lo(e).sample(t.xy);e.isArrayTexture&&(s=s.depth(i)),s=s.rg;let o=s.x,r=fa(1e-7,s.y.mul(s.y)),l=n.renderer.reversedDepthBuffer?bx(o,t.z):bx(t.z,o),d=Et(1).toVar();return Fn(l.notEqual(1),()=>{let h=t.z.sub(o),p=r.div(r.add(h.mul(h)));p=U3(Ks(p,.3).div(.65)),d.assign(fa(l,p))}),d}),nge=e=>{let t=VZ.get(e);return t===void 0&&(t=new Ul,t.colorNode=On(0,0,0,1),t.isShadowPassMaterial=!0,t.name="ShadowMaterial",t.blending=Na,t.fog=!1,VZ.set(e,t)),t},sge=e=>{let t=VZ.get(e);t!==void 0&&(t.dispose(),VZ.delete(e))},k1e=new W2,x8=[],oge=(e,t,i,n)=>{x8[0]=e,x8[1]=t;let s=k1e.get(x8);return(s===void 0||s.shadowType!==i||s.useVelocity!==n)&&(s=(o,r,l,d,h,p,...I)=>{(o.castShadow===!0||o.receiveShadow&&i===xm)&&(n&&(Tye(o).useVelocity=!0),o.onBeforeShadow(e,o,l,t.camera,d,r.overrideMaterial,p),e.renderObject(o,r,l,d,h,p,...I),o.onAfterShadow(e,o,l,t.camera,d,r.overrideMaterial,p))},s.shadowType=i,s.useVelocity=n,k1e.set(x8,s)),x8[0]=null,x8[1]=null,s},aHe=Wt(({samples:e,radius:t,size:i,shadowPass:n,depthLayer:s})=>{let o=Et(0).toVar("meanVertical"),r=Et(0).toVar("squareMeanVertical"),l=e.lessThanEqual(Et(1)).select(Et(0),Et(2).div(e.sub(1))),d=e.lessThanEqual(Et(1)).select(Et(0),Et(-1));zo({start:Ot(0),end:Ot(e),type:"int",condition:"<"},({i:p})=>{let I=d.add(Et(p).mul(l)),m=n.sample(yc(Ox.xy,Hi(0,I).mul(t)).div(i));n.value.isArrayTexture&&(m=m.depth(s)),m=m.x,o.addAssign(m),r.addAssign(m.mul(m))}),o.divAssign(e),r.divAssign(e);let h=aI(r.sub(o.mul(o)).max(0));return Hi(o,h)}),uHe=Wt(({samples:e,radius:t,size:i,shadowPass:n,depthLayer:s})=>{let o=Et(0).toVar("meanHorizontal"),r=Et(0).toVar("squareMeanHorizontal"),l=e.lessThanEqual(Et(1)).select(Et(0),Et(2).div(e.sub(1))),d=e.lessThanEqual(Et(1)).select(Et(0),Et(-1));zo({start:Ot(0),end:Ot(e),type:"int",condition:"<"},({i:p})=>{let I=d.add(Et(p).mul(l)),m=n.sample(yc(Ox.xy,Hi(I,0).mul(t)).div(i));n.value.isArrayTexture&&(m=m.depth(s)),o.addAssign(m.x),r.addAssign(yc(m.y.mul(m.y),m.x.mul(m.x)))}),o.divAssign(e),r.divAssign(e);let h=aI(r.sub(o.mul(o)).max(0));return Hi(o,h)}),cHe=[X3e,ege,tge,ige],Loe,Y$=new Qk,kZ=class extends oae{static get type(){return"ShadowNode"}constructor(t,i=null){super(t),this.shadow=i||t.shadow,this.shadowMap=null,this.vsmShadowMapVertical=null,this.vsmShadowMapHorizontal=null,this.vsmMaterialVertical=null,this.vsmMaterialHorizontal=null,this._node=null,this._currentShadowType=null,this._cameraFrameId=new WeakMap,this.isShadowNode=!0,this.depthLayer=0}setupShadowFilter(t,{filterFn:i,depthTexture:n,shadowCoord:s,shadow:o,depthLayer:r}){let l=s.x.greaterThanEqual(0).and(s.x.lessThanEqual(1)).and(s.y.greaterThanEqual(0)).and(s.y.lessThanEqual(1)).and(s.z.lessThanEqual(1)),d=i({depthTexture:n,shadowCoord:s,shadow:o,depthLayer:r});return l.select(d,Et(1))}setupShadowCoord(t,i){let{shadow:n}=this,{renderer:s}=t,o=n.biasNode||Ar("bias","float",n).setGroup(Mn),r=i,l;if(n.camera.isOrthographicCamera||s.logarithmicDepthBuffer!==!0)r=r.xyz.div(r.w),l=r.z;else{let d=r.w;r=r.xy.div(d);let h=Ar("near","float",n.camera).setGroup(Mn),p=Ar("far","float",n.camera).setGroup(Mn);l=Sce(d.negate(),h,p)}return r=Gt(r.x,r.y.oneMinus(),s.reversedDepthBuffer?l.sub(o):l.add(o)),r}getShadowFilterFn(t){return cHe[t]}setupRenderTarget(t,i){let n=new Zl(t.mapSize.width,t.mapSize.height);n.name="ShadowDepthTexture",n.compareFunction=i.renderer.reversedDepthBuffer?Ty:jT;let s=i.createRenderTarget(t.mapSize.width,t.mapSize.height);return s.texture.name="ShadowMap",s.texture.type=t.mapType,s.depthTexture=n,{shadowMap:s,depthTexture:n}}setupShadow(t){let{renderer:i,camera:n}=t,{light:s,shadow:o}=this,{depthTexture:r,shadowMap:l}=this.setupRenderTarget(o,t),d=i.shadowMap.type,h=i.hasCompatibility(dw.TEXTURE_COMPARE);if((d===eR||d===eG)&&h?(r.minFilter=Us,r.magFilter=Us):(r.minFilter=Vs,r.magFilter=Vs),o.camera.coordinateSystem=n.coordinateSystem,o.camera.updateProjectionMatrix(),d===xm&&o.isPointLightShadow!==!0){r.compareFunction=null,l.depth>1?(l._vsmShadowMapVertical||(l._vsmShadowMapVertical=t.createRenderTarget(o.mapSize.width,o.mapSize.height,{format:Dc,type:sr,depth:l.depth,depthBuffer:!1}),l._vsmShadowMapVertical.texture.name="VSMVertical"),this.vsmShadowMapVertical=l._vsmShadowMapVertical,l._vsmShadowMapHorizontal||(l._vsmShadowMapHorizontal=t.createRenderTarget(o.mapSize.width,o.mapSize.height,{format:Dc,type:sr,depth:l.depth,depthBuffer:!1}),l._vsmShadowMapHorizontal.texture.name="VSMHorizontal"),this.vsmShadowMapHorizontal=l._vsmShadowMapHorizontal):(this.vsmShadowMapVertical=t.createRenderTarget(o.mapSize.width,o.mapSize.height,{format:Dc,type:sr,depthBuffer:!1}),this.vsmShadowMapHorizontal=t.createRenderTarget(o.mapSize.width,o.mapSize.height,{format:Dc,type:sr,depthBuffer:!1}));let ne=lo(r);r.isArrayTexture&&(ne=ne.depth(this.depthLayer));let K=lo(this.vsmShadowMapVertical.texture);r.isArrayTexture&&(K=K.depth(this.depthLayer));let oe=Ar("blurSamples","float",o).setGroup(Mn),se=Ar("radius","float",o).setGroup(Mn),he=Ar("mapSize","vec2",o).setGroup(Mn),Re=this.vsmMaterialVertical||(this.vsmMaterialVertical=new Ul);Re.fragmentNode=aHe({samples:oe,radius:se,size:he,shadowPass:ne,depthLayer:this.depthLayer}).context(t.getSharedContext()),Re.name="VSMVertical",Re=this.vsmMaterialHorizontal||(this.vsmMaterialHorizontal=new Ul),Re.fragmentNode=uHe({samples:oe,radius:se,size:he,shadowPass:K,depthLayer:this.depthLayer}).context(t.getSharedContext()),Re.name="VSMHorizontal"}let p=Ar("intensity","float",o).setGroup(Mn),I=Ar("normalBias","float",o).setGroup(Mn),m=LK(s),y=m_.mul(I),T;!i.highPrecision||t.material.receivedShadowPositionNode||t.context.shadowPositionWorld?T=m.mul(Hce.add(y)):T=Nn("mat4").onObjectUpdate(({object:K},oe)=>oe.value.multiplyMatrices(m.value,K.matrixWorld)).mul(Ml).add(m.mul(On(y,0)));let R=this.setupShadowCoord(t,T),b=o.filterNode||this.getShadowFilterFn(i.shadowMap.type)||null;if(b===null)throw new Error("THREE.WebGPURenderer: Shadow map type not supported yet.");let A=d===xm&&o.isPointLightShadow!==!0?this.vsmShadowMapHorizontal.texture:r,O=this.setupShadowFilter(t,{filterFn:b,shadowTexture:l.texture,depthTexture:A,shadowCoord:R,shadow:o,depthLayer:this.depthLayer}),P;i.shadowMap.transmitted===!0&&(l.texture.isCubeTexture?P=lI(l.texture,R.xyz):(P=lo(l.texture,R),r.isArrayTexture&&(P=P.depth(this.depthLayer))));let U;P?U=zs(1,O.rgb.mix(P,1),p.mul(P.a)).toVar():U=zs(1,O,p).toVar(),this.shadowMap=l,this.shadow.map=l;let Z=`${this.light.type} Shadow [ ${this.light.name||"ID: "+this.light.id} ]`;return P&&U.toInspector(`${Z} / Color`,()=>this.shadowMap.texture.isCubeTexture?lI(this.shadowMap.texture):lo(this.shadowMap.texture)),U.toInspector(`${Z} / Depth`,()=>this.shadowMap.texture.isCubeTexture?lI(this.shadowMap.texture).r.oneMinus():Oa(this.shadowMap.depthTexture,er().mul(a_(lo(this.shadowMap.depthTexture)))).r.oneMinus())}setup(t){if(t.renderer.shadowMap.enabled!==!1)return Wt(()=>{let i=t.renderer.shadowMap.type;this._currentShadowType!==i&&(this._reset(),this._node=null);let n=this._node;return this.setupShadowPosition(t),n===null&&(this._node=n=this.setupShadow(t),this._currentShadowType=i),t.material.receivedShadowNode&&(n=t.material.receivedShadowNode(n)),n})()}renderShadow(t){let{shadow:i,shadowMap:n,light:s}=this,{renderer:o,scene:r}=t;i.updateMatrices(s),n.setSize(i.mapSize.width,i.mapSize.height,n.depth);let l=r.name;r.name=`Shadow Map [ ${s.name||"ID: "+s.id} ]`,o.render(r,i.camera),r.name=l}updateShadow(t){let{shadowMap:i,light:n,shadow:s}=this,{renderer:o,scene:r,camera:l}=t,d=o.shadowMap.type,h=i.depthTexture.version;this._depthVersionCached=h;let p=s.camera.layers.mask;(s.camera.layers.mask&4294967294)===0&&(s.camera.layers.mask=l.layers.mask);let I=o.getRenderObjectFunction(),m=o.getMRT(),y=m?m.has("velocity"):!1;Loe=rHe(o,r,Loe),r.overrideMaterial=nge(n),o.setRenderObjectFunction(oge(o,s,d,y)),o.setClearColor(0,0),o.setRenderTarget(i),this.renderShadow(t),o.setRenderObjectFunction(I),d===xm&&s.isPointLightShadow!==!0&&this.vsmPass(o),s.camera.layers.mask=p,lHe(o,r,Loe)}vsmPass(t){let{shadow:i}=this,n=this.shadowMap.depth;this.vsmShadowMapVertical.setSize(i.mapSize.width,i.mapSize.height,n),this.vsmShadowMapHorizontal.setSize(i.mapSize.width,i.mapSize.height,n),t.setRenderTarget(this.vsmShadowMapVertical),Y$.material=this.vsmMaterialVertical,Y$.render(t),t.setRenderTarget(this.vsmShadowMapHorizontal),Y$.material=this.vsmMaterialHorizontal,Y$.render(t)}dispose(){this._reset(),super.dispose()}_reset(){this._currentShadowType=null,sge(this.light),this.shadowMap&&(this.shadowMap.dispose(),this.shadowMap=null),this.vsmShadowMapVertical!==null&&(this.vsmShadowMapVertical.dispose(),this.vsmShadowMapVertical=null,this.vsmMaterialVertical.dispose(),this.vsmMaterialVertical=null),this.vsmShadowMapHorizontal!==null&&(this.vsmShadowMapHorizontal.dispose(),this.vsmShadowMapHorizontal=null,this.vsmMaterialHorizontal.dispose(),this.vsmMaterialHorizontal=null)}updateBefore(t){let{shadow:i}=this,n=i.needsUpdate||i.autoUpdate;n&&(this._cameraFrameId[t.camera]===t.frameId&&(n=!1),this._cameraFrameId[t.camera]=t.frameId),n&&(this.updateShadow(t),this.shadowMap.depthTexture.version===this._depthVersionCached&&(i.needsUpdate=!1))}},rge=(e,t)=>new kZ(e,t),dHe=new Oi,z1e=new Ai,Ak=new ye,Poe=new ye,hHe=[new ye(1,0,0),new ye(-1,0,0),new ye(0,-1,0),new ye(0,1,0),new ye(0,0,1),new ye(0,0,-1)],fHe=[new ye(0,-1,0),new ye(0,-1,0),new ye(0,0,-1),new ye(0,0,1),new ye(0,-1,0),new ye(0,-1,0)],pHe=[new ye(1,0,0),new ye(-1,0,0),new ye(0,1,0),new ye(0,-1,0),new ye(0,0,1),new ye(0,0,-1)],IHe=[new ye(0,-1,0),new ye(0,-1,0),new ye(0,0,1),new ye(0,0,-1),new ye(0,-1,0),new ye(0,-1,0)],lge=Wt(({depthTexture:e,bd3D:t,dp:i})=>lI(e,t).compare(i)),age=Wt(({depthTexture:e,bd3D:t,dp:i,shadow:n})=>{let s=Ar("radius","float",n).setGroup(Mn),o=Ar("mapSize","vec2",n).setGroup(Mn),r=s.div(o.x),l=dr(t),d=tm(jS(t,l.x.greaterThan(l.z).select(Gt(0,1,0),Gt(1,0,0)))),h=jS(t,d),p=xce(Ox.xy).mul(6.28318530718),I=M3(0,5,p),m=M3(1,5,p),y=M3(2,5,p),T=M3(3,5,p),R=M3(4,5,p);return lI(e,t.add(d.mul(I.x).add(h.mul(I.y)).mul(r))).compare(i).add(lI(e,t.add(d.mul(m.x).add(h.mul(m.y)).mul(r))).compare(i)).add(lI(e,t.add(d.mul(y.x).add(h.mul(y.y)).mul(r))).compare(i)).add(lI(e,t.add(d.mul(T.x).add(h.mul(T.y)).mul(r))).compare(i)).add(lI(e,t.add(d.mul(R.x).add(h.mul(R.y)).mul(r))).compare(i)).mul(1/5)}),mHe=Wt(({filterFn:e,depthTexture:t,shadowCoord:i,shadow:n},s)=>{let o=i.xyz.toConst(),r=o.abs().toConst(),l=r.x.max(r.y).max(r.z),d=Nn("float").setGroup(Mn).onRenderUpdate(()=>n.camera.near),h=Nn("float").setGroup(Mn).onRenderUpdate(()=>n.camera.far),p=Ar("bias","float",n).setGroup(Mn),I=Et(1).toVar();return Fn(l.sub(h).lessThanEqual(0).and(l.sub(d).greaterThanEqual(0)),()=>{let m;s.renderer.reversedDepthBuffer?(m=d3e(l.negate(),d,h),m.subAssign(p)):(m=vce(l.negate(),d,h),m.addAssign(p));let y=o.normalize();I.assign(e({depthTexture:t,bd3D:y,dp:m,shadow:n}))}),I}),rae=class extends kZ{static get type(){return"PointShadowNode"}constructor(t,i=null){super(t,i)}getShadowFilterFn(t){return t===WY?lge:age}setupShadowCoord(t,i){return i}setupShadowFilter(t,{filterFn:i,depthTexture:n,shadowCoord:s,shadow:o}){return mHe({filterFn:i,depthTexture:n,shadowCoord:s,shadow:o})}setupRenderTarget(t,i){let n=new uC(t.mapSize.width);n.name="PointShadowDepthTexture",n.compareFunction=i.renderer.reversedDepthBuffer?Ty:jT;let s=i.createCubeRenderTarget(t.mapSize.width);return s.texture.name="PointShadowMap",s.depthTexture=n,{shadowMap:s,depthTexture:n}}renderShadow(t){let{shadow:i,shadowMap:n,light:s}=this,{renderer:o,scene:r}=t,l=i.camera,d=i.matrix,h=o.coordinateSystem===mf,p=h?hHe:pHe,I=h?fHe:IHe;n.setSize(i.mapSize.width,i.mapSize.width);let m=o.autoClear,y=o.getClearColor(dHe),T=o.getClearAlpha();o.autoClear=!1,o.setClearColor(i.clearColor,i.clearAlpha);for(let R=0;R<6;R++){o.setRenderTarget(n,R),o.clear();let b=s.distance||l.far;b!==l.far&&(l.far=b,l.updateProjectionMatrix()),Ak.setFromMatrixPosition(s.matrixWorld),l.position.copy(Ak),Poe.copy(l.position),Poe.add(p[R]),l.up.copy(I[R]),l.lookAt(Poe),l.updateMatrixWorld(),d.makeTranslation(-Ak.x,-Ak.y,-Ak.z),z1e.multiplyMatrices(l.projectionMatrix,l.matrixWorldInverse),i._frustum.setFromProjectionMatrix(z1e,l.coordinateSystem,l.reversedDepth);let A=r.name;r.name=`Point Light Shadow [ ${s.name||"ID: "+s.id} ] - Face ${R+1}`,o.render(r,l),r.name=A}o.autoClear=m,o.setClearColor(y,T)}},uge=(e,t)=>new rae(e,t),$S=class extends h_{static get type(){return"AnalyticLightNode"}constructor(t=null){super(),this.light=t,this.color=new Oi,this.colorNode=t&&t.colorNode||Nn(this.color).setGroup(Mn),this.baseColorNode=null,this.shadowNode=null,this.shadowColorNode=null,this.isAnalyticLightNode=!0,this.updateType=Zn.FRAME,t&&t.shadow&&(this._shadowDisposeListener=()=>{this.disposeShadow()},t.addEventListener("dispose",this._shadowDisposeListener))}dispose(){this._shadowDisposeListener&&this.light.removeEventListener("dispose",this._shadowDisposeListener),super.dispose()}disposeShadow(){this.shadowNode!==null&&(this.shadowNode.dispose(),this.shadowNode=null),this.shadowColorNode=null,this.baseColorNode!==null&&(this.colorNode=this.baseColorNode,this.baseColorNode=null)}getHash(){return this.light.uuid}getLightVector(t){return Fce(this.light).sub(t.context.positionView||Tu)}setupDirect(){}setupDirectRectArea(){}setupShadowNode(){return rge(this.light)}setupShadow(t){let{renderer:i}=t;if(i.shadowMap.enabled===!1)return;let n=this.shadowColorNode;if(n===null){let s=this.light.shadow.shadowNode,o;s!==void 0?o=gn(s):o=this.setupShadowNode(),this.shadowNode=o,this.shadowColorNode=n=this.colorNode.mul(o),this.baseColorNode=this.colorNode}t.context.getShadow&&(n=t.context.getShadow(this,t)),this.colorNode=n}setup(t){this.colorNode=this.baseColorNode||this.colorNode,this.light.castShadow?t.object.receiveShadow&&this.setupShadow(t):this.shadowNode!==null&&(this.shadowNode.dispose(),this.shadowNode=null,this.shadowColorNode=null);let i=this.setupDirect(t),n=this.setupDirectRectArea(t);i&&t.lightsNode.setupDirectLight(t,this,i),n&&t.lightsNode.setupDirectRectAreaLight(t,this,n)}update(){let{light:t}=this;this.color.copy(t.color).multiplyScalar(t.intensity)}},Gce=Wt(({lightDistance:e,cutoffDistance:t,decayExponent:i})=>{let n=e.pow(i).max(.01).reciprocal();return t.greaterThan(0).select(n.mul(e.div(t).pow4().oneMinus().clamp().pow2()),n)}),cge=({color:e,lightVector:t,cutoffDistance:i,decayExponent:n})=>{let s=t.normalize(),o=t.length(),r=Gce({lightDistance:o,cutoffDistance:i,decayExponent:n}),l=e.mul(r);return{lightDirection:s,lightColor:l}},lae=class extends $S{static get type(){return"PointLightNode"}constructor(t=null){super(t),this.cutoffDistanceNode=Nn(0).setGroup(Mn),this.decayExponentNode=Nn(2).setGroup(Mn)}update(t){let{light:i}=this;super.update(t),this.cutoffDistanceNode.value=i.distance,this.decayExponentNode.value=i.decay}setupShadowNode(){return uge(this.light)}setupDirect(t){return cge({color:this.colorNode,lightVector:this.getLightVector(t),cutoffDistance:this.cutoffDistanceNode,decayExponent:this.decayExponentNode})}},yHe=Wt(([e=er()])=>{let t=e.mul(2),i=t.x.floor(),n=t.y.floor();return i.add(n).mod(2).sign()}),EHe=Wt(([e=er()],{renderer:t,material:i})=>{let n=Jue(e.mul(2).sub(1)),s;if(i.alphaToCoverage&&t.currentSamples>0){let o=Et(n.fwidth()).toVar();s=H3(o.oneMinus(),o.add(1),n).oneMinus()}else s=jf(n.greaterThan(1),0,1);return s}),Uk=Wt(([e,t,i])=>{let n=Et(i).toVar(),s=Et(t).toVar(),o=M1(e).toVar();return jf(o,s,n)}).setLayout({name:"mx_select",type:"float",inputs:[{name:"b",type:"bool"},{name:"t",type:"float"},{name:"f",type:"float"}]}),zZ=Wt(([e,t])=>{let i=M1(t).toVar(),n=Et(e).toVar();return jf(i,n.negate(),n)}).setLayout({name:"mx_negate_if",type:"float",inputs:[{name:"val",type:"float"},{name:"b",type:"bool"}]}),mc=Wt(([e])=>{let t=Et(e).toVar();return Ot(U2(t))}).setLayout({name:"mx_floor",type:"int",inputs:[{name:"x",type:"float"}]}),Bl=Wt(([e,t])=>{let i=Et(e).toVar();return t.assign(mc(i)),i.sub(Et(t))}),THe=Wt(([e,t,i,n,s,o])=>{let r=Et(o).toVar(),l=Et(s).toVar(),d=Et(n).toVar(),h=Et(i).toVar(),p=Et(t).toVar(),I=Et(e).toVar(),m=Et(Ks(1,l)).toVar();return Ks(1,r).mul(I.mul(m).add(p.mul(l))).add(r.mul(h.mul(m).add(d.mul(l))))}).setLayout({name:"mx_bilerp_0",type:"float",inputs:[{name:"v0",type:"float"},{name:"v1",type:"float"},{name:"v2",type:"float"},{name:"v3",type:"float"},{name:"s",type:"float"},{name:"t",type:"float"}]}),gHe=Wt(([e,t,i,n,s,o])=>{let r=Et(o).toVar(),l=Et(s).toVar(),d=Gt(n).toVar(),h=Gt(i).toVar(),p=Gt(t).toVar(),I=Gt(e).toVar(),m=Et(Ks(1,l)).toVar();return Ks(1,r).mul(I.mul(m).add(p.mul(l))).add(r.mul(h.mul(m).add(d.mul(l))))}).setLayout({name:"mx_bilerp_1",type:"vec3",inputs:[{name:"v0",type:"vec3"},{name:"v1",type:"vec3"},{name:"v2",type:"vec3"},{name:"v3",type:"vec3"},{name:"s",type:"float"},{name:"t",type:"float"}]}),dge=$h([THe,gHe]),wHe=Wt(([e,t,i,n,s,o,r,l,d,h,p])=>{let I=Et(p).toVar(),m=Et(h).toVar(),y=Et(d).toVar(),T=Et(l).toVar(),R=Et(r).toVar(),b=Et(o).toVar(),A=Et(s).toVar(),O=Et(n).toVar(),P=Et(i).toVar(),U=Et(t).toVar(),Z=Et(e).toVar(),ne=Et(Ks(1,y)).toVar(),K=Et(Ks(1,m)).toVar();return Et(Ks(1,I)).toVar().mul(K.mul(Z.mul(ne).add(U.mul(y))).add(m.mul(P.mul(ne).add(O.mul(y))))).add(I.mul(K.mul(A.mul(ne).add(b.mul(y))).add(m.mul(R.mul(ne).add(T.mul(y))))))}).setLayout({name:"mx_trilerp_0",type:"float",inputs:[{name:"v0",type:"float"},{name:"v1",type:"float"},{name:"v2",type:"float"},{name:"v3",type:"float"},{name:"v4",type:"float"},{name:"v5",type:"float"},{name:"v6",type:"float"},{name:"v7",type:"float"},{name:"s",type:"float"},{name:"t",type:"float"},{name:"r",type:"float"}]}),vHe=Wt(([e,t,i,n,s,o,r,l,d,h,p])=>{let I=Et(p).toVar(),m=Et(h).toVar(),y=Et(d).toVar(),T=Gt(l).toVar(),R=Gt(r).toVar(),b=Gt(o).toVar(),A=Gt(s).toVar(),O=Gt(n).toVar(),P=Gt(i).toVar(),U=Gt(t).toVar(),Z=Gt(e).toVar(),ne=Et(Ks(1,y)).toVar(),K=Et(Ks(1,m)).toVar();return Et(Ks(1,I)).toVar().mul(K.mul(Z.mul(ne).add(U.mul(y))).add(m.mul(P.mul(ne).add(O.mul(y))))).add(I.mul(K.mul(A.mul(ne).add(b.mul(y))).add(m.mul(R.mul(ne).add(T.mul(y))))))}).setLayout({name:"mx_trilerp_1",type:"vec3",inputs:[{name:"v0",type:"vec3"},{name:"v1",type:"vec3"},{name:"v2",type:"vec3"},{name:"v3",type:"vec3"},{name:"v4",type:"vec3"},{name:"v5",type:"vec3"},{name:"v6",type:"vec3"},{name:"v7",type:"vec3"},{name:"s",type:"float"},{name:"t",type:"float"},{name:"r",type:"float"}]}),hge=$h([wHe,vHe]),RHe=Wt(([e,t,i])=>{let n=Et(i).toVar(),s=Et(t).toVar(),o=xi(e).toVar(),r=xi(o.bitAnd(xi(7))).toVar(),l=Et(Uk(r.lessThan(xi(4)),s,n)).toVar(),d=Et(os(2,Uk(r.lessThan(xi(4)),n,s))).toVar();return zZ(l,M1(r.bitAnd(xi(1)))).add(zZ(d,M1(r.bitAnd(xi(2)))))}).setLayout({name:"mx_gradient_float_0",type:"float",inputs:[{name:"hash",type:"uint"},{name:"x",type:"float"},{name:"y",type:"float"}]}),SHe=Wt(([e,t,i,n])=>{let s=Et(n).toVar(),o=Et(i).toVar(),r=Et(t).toVar(),l=xi(e).toVar(),d=xi(l.bitAnd(xi(15))).toVar(),h=Et(Uk(d.lessThan(xi(8)),r,o)).toVar(),p=Et(Uk(d.lessThan(xi(4)),o,Uk(d.equal(xi(12)).or(d.equal(xi(14))),r,s))).toVar();return zZ(h,M1(d.bitAnd(xi(1)))).add(zZ(p,M1(d.bitAnd(xi(2)))))}).setLayout({name:"mx_gradient_float_1",type:"float",inputs:[{name:"hash",type:"uint"},{name:"x",type:"float"},{name:"y",type:"float"},{name:"z",type:"float"}]}),K0=$h([RHe,SHe]),AHe=Wt(([e,t,i])=>{let n=Et(i).toVar(),s=Et(t).toVar(),o=xx(e).toVar();return Gt(K0(o.x,s,n),K0(o.y,s,n),K0(o.z,s,n))}).setLayout({name:"mx_gradient_vec3_0",type:"vec3",inputs:[{name:"hash",type:"uvec3"},{name:"x",type:"float"},{name:"y",type:"float"}]}),bHe=Wt(([e,t,i,n])=>{let s=Et(n).toVar(),o=Et(i).toVar(),r=Et(t).toVar(),l=xx(e).toVar();return Gt(K0(l.x,r,o,s),K0(l.y,r,o,s),K0(l.z,r,o,s))}).setLayout({name:"mx_gradient_vec3_1",type:"vec3",inputs:[{name:"hash",type:"uvec3"},{name:"x",type:"float"},{name:"y",type:"float"},{name:"z",type:"float"}]}),IE=$h([AHe,bHe]),NHe=Wt(([e])=>{let t=Et(e).toVar();return os(.6616,t)}).setLayout({name:"mx_gradient_scale2d_0",type:"float",inputs:[{name:"v",type:"float"}]}),_He=Wt(([e])=>{let t=Et(e).toVar();return os(.982,t)}).setLayout({name:"mx_gradient_scale3d_0",type:"float",inputs:[{name:"v",type:"float"}]}),DHe=Wt(([e])=>{let t=Gt(e).toVar();return os(.6616,t)}).setLayout({name:"mx_gradient_scale2d_1",type:"vec3",inputs:[{name:"v",type:"vec3"}]}),fge=$h([NHe,DHe]),CHe=Wt(([e])=>{let t=Gt(e).toVar();return os(.982,t)}).setLayout({name:"mx_gradient_scale3d_1",type:"vec3",inputs:[{name:"v",type:"vec3"}]}),pge=$h([_He,CHe]),L1=Wt(([e,t])=>{let i=Ot(t).toVar(),n=xi(e).toVar();return n.shiftLeft(i).bitOr(n.shiftRight(Ot(32).sub(i)))}).setLayout({name:"mx_rotl32",type:"uint",inputs:[{name:"x",type:"uint"},{name:"k",type:"int"}]}),Ige=Wt(([e,t,i])=>{e.subAssign(i),e.bitXorAssign(L1(i,Ot(4))),i.addAssign(t),t.subAssign(e),t.bitXorAssign(L1(e,Ot(6))),e.addAssign(i),i.subAssign(t),i.bitXorAssign(L1(t,Ot(8))),t.addAssign(e),e.subAssign(i),e.bitXorAssign(L1(i,Ot(16))),i.addAssign(t),t.subAssign(e),t.bitXorAssign(L1(e,Ot(19))),e.addAssign(i),i.subAssign(t),i.bitXorAssign(L1(t,Ot(4))),t.addAssign(e)}),cz=Wt(([e,t,i])=>{let n=xi(i).toVar(),s=xi(t).toVar(),o=xi(e).toVar();return n.bitXorAssign(s),n.subAssign(L1(s,Ot(14))),o.bitXorAssign(n),o.subAssign(L1(n,Ot(11))),s.bitXorAssign(o),s.subAssign(L1(o,Ot(25))),n.bitXorAssign(s),n.subAssign(L1(s,Ot(16))),o.bitXorAssign(n),o.subAssign(L1(n,Ot(4))),s.bitXorAssign(o),s.subAssign(L1(o,Ot(14))),n.bitXorAssign(s),n.subAssign(L1(s,Ot(24))),n}).setLayout({name:"mx_bjfinal",type:"uint",inputs:[{name:"a",type:"uint"},{name:"b",type:"uint"},{name:"c",type:"uint"}]}),qf=Wt(([e])=>{let t=xi(e).toVar();return Et(t).div(Et(xi(Ot(4294967295))))}).setLayout({name:"mx_bits_to_01",type:"float",inputs:[{name:"bits",type:"uint"}]}),k2=Wt(([e])=>{let t=Et(e).toVar();return t.mul(t).mul(t).mul(t.mul(t.mul(6).sub(15)).add(10))}).setLayout({name:"mx_fade",type:"float",inputs:[{name:"t",type:"float"}]}),xHe=Wt(([e])=>{let t=Ot(e).toVar(),i=xi(xi(1)).toVar(),n=xi(xi(Ot(3735928559)).add(i.shiftLeft(xi(2))).add(xi(13))).toVar();return cz(n.add(xi(t)),n,n)}).setLayout({name:"mx_hash_int_0",type:"uint",inputs:[{name:"x",type:"int"}]}),OHe=Wt(([e,t])=>{let i=Ot(t).toVar(),n=Ot(e).toVar(),s=xi(xi(2)).toVar(),o=xi().toVar(),r=xi().toVar(),l=xi().toVar();return o.assign(r.assign(l.assign(xi(Ot(3735928559)).add(s.shiftLeft(xi(2))).add(xi(13))))),o.addAssign(xi(n)),r.addAssign(xi(i)),cz(o,r,l)}).setLayout({name:"mx_hash_int_1",type:"uint",inputs:[{name:"x",type:"int"},{name:"y",type:"int"}]}),LHe=Wt(([e,t,i])=>{let n=Ot(i).toVar(),s=Ot(t).toVar(),o=Ot(e).toVar(),r=xi(xi(3)).toVar(),l=xi().toVar(),d=xi().toVar(),h=xi().toVar();return l.assign(d.assign(h.assign(xi(Ot(3735928559)).add(r.shiftLeft(xi(2))).add(xi(13))))),l.addAssign(xi(o)),d.addAssign(xi(s)),h.addAssign(xi(n)),cz(l,d,h)}).setLayout({name:"mx_hash_int_2",type:"uint",inputs:[{name:"x",type:"int"},{name:"y",type:"int"},{name:"z",type:"int"}]}),PHe=Wt(([e,t,i,n])=>{let s=Ot(n).toVar(),o=Ot(i).toVar(),r=Ot(t).toVar(),l=Ot(e).toVar(),d=xi(xi(4)).toVar(),h=xi().toVar(),p=xi().toVar(),I=xi().toVar();return h.assign(p.assign(I.assign(xi(Ot(3735928559)).add(d.shiftLeft(xi(2))).add(xi(13))))),h.addAssign(xi(l)),p.addAssign(xi(r)),I.addAssign(xi(o)),Ige(h,p,I),h.addAssign(xi(s)),cz(h,p,I)}).setLayout({name:"mx_hash_int_3",type:"uint",inputs:[{name:"x",type:"int"},{name:"y",type:"int"},{name:"z",type:"int"},{name:"xx",type:"int"}]}),MHe=Wt(([e,t,i,n,s])=>{let o=Ot(s).toVar(),r=Ot(n).toVar(),l=Ot(i).toVar(),d=Ot(t).toVar(),h=Ot(e).toVar(),p=xi(xi(5)).toVar(),I=xi().toVar(),m=xi().toVar(),y=xi().toVar();return I.assign(m.assign(y.assign(xi(Ot(3735928559)).add(p.shiftLeft(xi(2))).add(xi(13))))),I.addAssign(xi(h)),m.addAssign(xi(d)),y.addAssign(xi(l)),Ige(I,m,y),I.addAssign(xi(r)),m.addAssign(xi(o)),cz(I,m,y)}).setLayout({name:"mx_hash_int_4",type:"uint",inputs:[{name:"x",type:"int"},{name:"y",type:"int"},{name:"z",type:"int"},{name:"xx",type:"int"},{name:"yy",type:"int"}]}),Xo=$h([xHe,OHe,LHe,PHe,MHe]),BHe=Wt(([e,t])=>{let i=Ot(t).toVar(),n=Ot(e).toVar(),s=xi(Xo(n,i)).toVar(),o=xx().toVar();return o.x.assign(s.bitAnd(Ot(255))),o.y.assign(s.shiftRight(Ot(8)).bitAnd(Ot(255))),o.z.assign(s.shiftRight(Ot(16)).bitAnd(Ot(255))),o}).setLayout({name:"mx_hash_vec3_0",type:"uvec3",inputs:[{name:"x",type:"int"},{name:"y",type:"int"}]}),FHe=Wt(([e,t,i])=>{let n=Ot(i).toVar(),s=Ot(t).toVar(),o=Ot(e).toVar(),r=xi(Xo(o,s,n)).toVar(),l=xx().toVar();return l.x.assign(r.bitAnd(Ot(255))),l.y.assign(r.shiftRight(Ot(8)).bitAnd(Ot(255))),l.z.assign(r.shiftRight(Ot(16)).bitAnd(Ot(255))),l}).setLayout({name:"mx_hash_vec3_1",type:"uvec3",inputs:[{name:"x",type:"int"},{name:"y",type:"int"},{name:"z",type:"int"}]}),mE=$h([BHe,FHe]),UHe=Wt(([e])=>{let t=Hi(e).toVar(),i=Ot().toVar(),n=Ot().toVar(),s=Et(Bl(t.x,i)).toVar(),o=Et(Bl(t.y,n)).toVar(),r=Et(k2(s)).toVar(),l=Et(k2(o)).toVar(),d=Et(dge(K0(Xo(i,n),s,o),K0(Xo(i.add(Ot(1)),n),s.sub(1),o),K0(Xo(i,n.add(Ot(1))),s,o.sub(1)),K0(Xo(i.add(Ot(1)),n.add(Ot(1))),s.sub(1),o.sub(1)),r,l)).toVar();return fge(d)}).setLayout({name:"mx_perlin_noise_float_0",type:"float",inputs:[{name:"p",type:"vec2"}]}),HHe=Wt(([e])=>{let t=Gt(e).toVar(),i=Ot().toVar(),n=Ot().toVar(),s=Ot().toVar(),o=Et(Bl(t.x,i)).toVar(),r=Et(Bl(t.y,n)).toVar(),l=Et(Bl(t.z,s)).toVar(),d=Et(k2(o)).toVar(),h=Et(k2(r)).toVar(),p=Et(k2(l)).toVar(),I=Et(hge(K0(Xo(i,n,s),o,r,l),K0(Xo(i.add(Ot(1)),n,s),o.sub(1),r,l),K0(Xo(i,n.add(Ot(1)),s),o,r.sub(1),l),K0(Xo(i.add(Ot(1)),n.add(Ot(1)),s),o.sub(1),r.sub(1),l),K0(Xo(i,n,s.add(Ot(1))),o,r,l.sub(1)),K0(Xo(i.add(Ot(1)),n,s.add(Ot(1))),o.sub(1),r,l.sub(1)),K0(Xo(i,n.add(Ot(1)),s.add(Ot(1))),o,r.sub(1),l.sub(1)),K0(Xo(i.add(Ot(1)),n.add(Ot(1)),s.add(Ot(1))),o.sub(1),r.sub(1),l.sub(1)),d,h,p)).toVar();return pge(I)}).setLayout({name:"mx_perlin_noise_float_1",type:"float",inputs:[{name:"p",type:"vec3"}]}),Vce=$h([UHe,HHe]),GHe=Wt(([e])=>{let t=Hi(e).toVar(),i=Ot().toVar(),n=Ot().toVar(),s=Et(Bl(t.x,i)).toVar(),o=Et(Bl(t.y,n)).toVar(),r=Et(k2(s)).toVar(),l=Et(k2(o)).toVar(),d=Gt(dge(IE(mE(i,n),s,o),IE(mE(i.add(Ot(1)),n),s.sub(1),o),IE(mE(i,n.add(Ot(1))),s,o.sub(1)),IE(mE(i.add(Ot(1)),n.add(Ot(1))),s.sub(1),o.sub(1)),r,l)).toVar();return fge(d)}).setLayout({name:"mx_perlin_noise_vec3_0",type:"vec3",inputs:[{name:"p",type:"vec2"}]}),VHe=Wt(([e])=>{let t=Gt(e).toVar(),i=Ot().toVar(),n=Ot().toVar(),s=Ot().toVar(),o=Et(Bl(t.x,i)).toVar(),r=Et(Bl(t.y,n)).toVar(),l=Et(Bl(t.z,s)).toVar(),d=Et(k2(o)).toVar(),h=Et(k2(r)).toVar(),p=Et(k2(l)).toVar(),I=Gt(hge(IE(mE(i,n,s),o,r,l),IE(mE(i.add(Ot(1)),n,s),o.sub(1),r,l),IE(mE(i,n.add(Ot(1)),s),o,r.sub(1),l),IE(mE(i.add(Ot(1)),n.add(Ot(1)),s),o.sub(1),r.sub(1),l),IE(mE(i,n,s.add(Ot(1))),o,r,l.sub(1)),IE(mE(i.add(Ot(1)),n,s.add(Ot(1))),o.sub(1),r,l.sub(1)),IE(mE(i,n.add(Ot(1)),s.add(Ot(1))),o,r.sub(1),l.sub(1)),IE(mE(i.add(Ot(1)),n.add(Ot(1)),s.add(Ot(1))),o.sub(1),r.sub(1),l.sub(1)),d,h,p)).toVar();return pge(I)}).setLayout({name:"mx_perlin_noise_vec3_1",type:"vec3",inputs:[{name:"p",type:"vec3"}]}),dz=$h([GHe,VHe]),kHe=Wt(([e])=>{let t=Et(e).toVar(),i=Ot(mc(t)).toVar();return qf(Xo(i))}).setLayout({name:"mx_cell_noise_float_0",type:"float",inputs:[{name:"p",type:"float"}]}),zHe=Wt(([e])=>{let t=Hi(e).toVar(),i=Ot(mc(t.x)).toVar(),n=Ot(mc(t.y)).toVar();return qf(Xo(i,n))}).setLayout({name:"mx_cell_noise_float_1",type:"float",inputs:[{name:"p",type:"vec2"}]}),WHe=Wt(([e])=>{let t=Gt(e).toVar(),i=Ot(mc(t.x)).toVar(),n=Ot(mc(t.y)).toVar(),s=Ot(mc(t.z)).toVar();return qf(Xo(i,n,s))}).setLayout({name:"mx_cell_noise_float_2",type:"float",inputs:[{name:"p",type:"vec3"}]}),YHe=Wt(([e])=>{let t=On(e).toVar(),i=Ot(mc(t.x)).toVar(),n=Ot(mc(t.y)).toVar(),s=Ot(mc(t.z)).toVar(),o=Ot(mc(t.w)).toVar();return qf(Xo(i,n,s,o))}).setLayout({name:"mx_cell_noise_float_3",type:"float",inputs:[{name:"p",type:"vec4"}]}),jHe=$h([kHe,zHe,WHe,YHe]),qHe=Wt(([e])=>{let t=Et(e).toVar(),i=Ot(mc(t)).toVar();return Gt(qf(Xo(i,Ot(0))),qf(Xo(i,Ot(1))),qf(Xo(i,Ot(2))))}).setLayout({name:"mx_cell_noise_vec3_0",type:"vec3",inputs:[{name:"p",type:"float"}]}),$He=Wt(([e])=>{let t=Hi(e).toVar(),i=Ot(mc(t.x)).toVar(),n=Ot(mc(t.y)).toVar();return Gt(qf(Xo(i,n,Ot(0))),qf(Xo(i,n,Ot(1))),qf(Xo(i,n,Ot(2))))}).setLayout({name:"mx_cell_noise_vec3_1",type:"vec3",inputs:[{name:"p",type:"vec2"}]}),ZHe=Wt(([e])=>{let t=Gt(e).toVar(),i=Ot(mc(t.x)).toVar(),n=Ot(mc(t.y)).toVar(),s=Ot(mc(t.z)).toVar();return Gt(qf(Xo(i,n,s,Ot(0))),qf(Xo(i,n,s,Ot(1))),qf(Xo(i,n,s,Ot(2))))}).setLayout({name:"mx_cell_noise_vec3_2",type:"vec3",inputs:[{name:"p",type:"vec3"}]}),KHe=Wt(([e])=>{let t=On(e).toVar(),i=Ot(mc(t.x)).toVar(),n=Ot(mc(t.y)).toVar(),s=Ot(mc(t.z)).toVar(),o=Ot(mc(t.w)).toVar();return Gt(qf(Xo(i,n,s,o,Ot(0))),qf(Xo(i,n,s,o,Ot(1))),qf(Xo(i,n,s,o,Ot(2))))}).setLayout({name:"mx_cell_noise_vec3_3",type:"vec3",inputs:[{name:"p",type:"vec4"}]}),PK=$h([qHe,$He,ZHe,KHe]),WZ=Wt(([e,t,i,n])=>{let s=Et(n).toVar(),o=Et(i).toVar(),r=Ot(t).toVar(),l=Gt(e).toVar(),d=Et(0).toVar(),h=Et(1).toVar();return zo(r,()=>{d.addAssign(h.mul(Vce(l))),h.mulAssign(s),l.mulAssign(o)}),d}).setLayout({name:"mx_fractal_noise_float",type:"float",inputs:[{name:"p",type:"vec3"},{name:"octaves",type:"int"},{name:"lacunarity",type:"float"},{name:"diminish",type:"float"}]}),MK=Wt(([e,t,i,n])=>{let s=Et(n).toVar(),o=Et(i).toVar(),r=Ot(t).toVar(),l=Gt(e).toVar(),d=Gt(0).toVar(),h=Et(1).toVar();return zo(r,()=>{d.addAssign(h.mul(dz(l))),h.mulAssign(s),l.mulAssign(o)}),d}).setLayout({name:"mx_fractal_noise_vec3",type:"vec3",inputs:[{name:"p",type:"vec3"},{name:"octaves",type:"int"},{name:"lacunarity",type:"float"},{name:"diminish",type:"float"}]}),QHe=Wt(([e,t,i,n])=>{let s=Et(n).toVar(),o=Et(i).toVar(),r=Ot(t).toVar(),l=Gt(e).toVar();return Hi(WZ(l,r,o,s),WZ(l.add(Gt(Ot(19),Ot(193),Ot(17))),r,o,s))}).setLayout({name:"mx_fractal_noise_vec2",type:"vec2",inputs:[{name:"p",type:"vec3"},{name:"octaves",type:"int"},{name:"lacunarity",type:"float"},{name:"diminish",type:"float"}]}),JHe=Wt(([e,t,i,n])=>{let s=Et(n).toVar(),o=Et(i).toVar(),r=Ot(t).toVar(),l=Gt(e).toVar(),d=Gt(MK(l,r,o,s)).toVar(),h=Et(WZ(l.add(Gt(Ot(19),Ot(193),Ot(17))),r,o,s)).toVar();return On(d,h)}).setLayout({name:"mx_fractal_noise_vec4",type:"vec4",inputs:[{name:"p",type:"vec3"},{name:"octaves",type:"int"},{name:"lacunarity",type:"float"},{name:"diminish",type:"float"}]}),XHe=Wt(([e,t,i,n,s,o,r])=>{let l=Ot(r).toVar(),d=Et(o).toVar(),h=Ot(s).toVar(),p=Ot(n).toVar(),I=Ot(i).toVar(),m=Ot(t).toVar(),y=Hi(e).toVar(),T=Gt(PK(Hi(m.add(p),I.add(h)))).toVar(),R=Hi(T.x,T.y).toVar();R.subAssign(.5),R.mulAssign(d),R.addAssign(.5);let b=Hi(Hi(Et(m),Et(I)).add(R)).toVar(),A=Hi(b.sub(y)).toVar();return Fn(l.equal(Ot(2)),()=>dr(A.x).add(dr(A.y))),Fn(l.equal(Ot(3)),()=>fa(dr(A.x),dr(A.y))),gE(A,A)}).setLayout({name:"mx_worley_distance_0",type:"float",inputs:[{name:"p",type:"vec2"},{name:"x",type:"int"},{name:"y",type:"int"},{name:"xoff",type:"int"},{name:"yoff",type:"int"},{name:"jitter",type:"float"},{name:"metric",type:"int"}]}),eGe=Wt(([e,t,i,n,s,o,r,l,d])=>{let h=Ot(d).toVar(),p=Et(l).toVar(),I=Ot(r).toVar(),m=Ot(o).toVar(),y=Ot(s).toVar(),T=Ot(n).toVar(),R=Ot(i).toVar(),b=Ot(t).toVar(),A=Gt(e).toVar(),O=Gt(PK(Gt(b.add(y),R.add(m),T.add(I)))).toVar();O.subAssign(.5),O.mulAssign(p),O.addAssign(.5);let P=Gt(Gt(Et(b),Et(R),Et(T)).add(O)).toVar(),U=Gt(P.sub(A)).toVar();return Fn(h.equal(Ot(2)),()=>dr(U.x).add(dr(U.y)).add(dr(U.z))),Fn(h.equal(Ot(3)),()=>fa(dr(U.x),dr(U.y),dr(U.z))),gE(U,U)}).setLayout({name:"mx_worley_distance_1",type:"float",inputs:[{name:"p",type:"vec3"},{name:"x",type:"int"},{name:"y",type:"int"},{name:"z",type:"int"},{name:"xoff",type:"int"},{name:"yoff",type:"int"},{name:"zoff",type:"int"},{name:"jitter",type:"float"},{name:"metric",type:"int"}]}),nM=$h([XHe,eGe]),tGe=Wt(([e,t,i])=>{let n=Ot(i).toVar(),s=Et(t).toVar(),o=Hi(e).toVar(),r=Ot().toVar(),l=Ot().toVar(),d=Hi(Bl(o.x,r),Bl(o.y,l)).toVar(),h=Et(1e6).toVar();return zo({start:-1,end:Ot(1),name:"x",condition:"<="},({x:p})=>{zo({start:-1,end:Ot(1),name:"y",condition:"<="},({y:I})=>{let m=Et(nM(d,p,I,r,l,s,n)).toVar();h.assign(nm(h,m))})}),Fn(n.equal(Ot(0)),()=>{h.assign(aI(h))}),h}).setLayout({name:"mx_worley_noise_float_0",type:"float",inputs:[{name:"p",type:"vec2"},{name:"jitter",type:"float"},{name:"metric",type:"int"}]}),iGe=Wt(([e,t,i])=>{let n=Ot(i).toVar(),s=Et(t).toVar(),o=Hi(e).toVar(),r=Ot().toVar(),l=Ot().toVar(),d=Hi(Bl(o.x,r),Bl(o.y,l)).toVar(),h=Hi(1e6,1e6).toVar();return zo({start:-1,end:Ot(1),name:"x",condition:"<="},({x:p})=>{zo({start:-1,end:Ot(1),name:"y",condition:"<="},({y:I})=>{let m=Et(nM(d,p,I,r,l,s,n)).toVar();Fn(m.lessThan(h.x),()=>{h.y.assign(h.x),h.x.assign(m)}).ElseIf(m.lessThan(h.y),()=>{h.y.assign(m)})})}),Fn(n.equal(Ot(0)),()=>{h.assign(aI(h))}),h}).setLayout({name:"mx_worley_noise_vec2_0",type:"vec2",inputs:[{name:"p",type:"vec2"},{name:"jitter",type:"float"},{name:"metric",type:"int"}]}),nGe=Wt(([e,t,i])=>{let n=Ot(i).toVar(),s=Et(t).toVar(),o=Hi(e).toVar(),r=Ot().toVar(),l=Ot().toVar(),d=Hi(Bl(o.x,r),Bl(o.y,l)).toVar(),h=Gt(1e6,1e6,1e6).toVar();return zo({start:-1,end:Ot(1),name:"x",condition:"<="},({x:p})=>{zo({start:-1,end:Ot(1),name:"y",condition:"<="},({y:I})=>{let m=Et(nM(d,p,I,r,l,s,n)).toVar();Fn(m.lessThan(h.x),()=>{h.z.assign(h.y),h.y.assign(h.x),h.x.assign(m)}).ElseIf(m.lessThan(h.y),()=>{h.z.assign(h.y),h.y.assign(m)}).ElseIf(m.lessThan(h.z),()=>{h.z.assign(m)})})}),Fn(n.equal(Ot(0)),()=>{h.assign(aI(h))}),h}).setLayout({name:"mx_worley_noise_vec3_0",type:"vec3",inputs:[{name:"p",type:"vec2"},{name:"jitter",type:"float"},{name:"metric",type:"int"}]}),sGe=Wt(([e,t,i])=>{let n=Ot(i).toVar(),s=Et(t).toVar(),o=Gt(e).toVar(),r=Ot().toVar(),l=Ot().toVar(),d=Ot().toVar(),h=Gt(Bl(o.x,r),Bl(o.y,l),Bl(o.z,d)).toVar(),p=Et(1e6).toVar();return zo({start:-1,end:Ot(1),name:"x",condition:"<="},({x:I})=>{zo({start:-1,end:Ot(1),name:"y",condition:"<="},({y:m})=>{zo({start:-1,end:Ot(1),name:"z",condition:"<="},({z:y})=>{let T=Et(nM(h,I,m,y,r,l,d,s,n)).toVar();p.assign(nm(p,T))})})}),Fn(n.equal(Ot(0)),()=>{p.assign(aI(p))}),p}).setLayout({name:"mx_worley_noise_float_1",type:"float",inputs:[{name:"p",type:"vec3"},{name:"jitter",type:"float"},{name:"metric",type:"int"}]}),oGe=$h([tGe,sGe]),rGe=Wt(([e,t,i])=>{let n=Ot(i).toVar(),s=Et(t).toVar(),o=Gt(e).toVar(),r=Ot().toVar(),l=Ot().toVar(),d=Ot().toVar(),h=Gt(Bl(o.x,r),Bl(o.y,l),Bl(o.z,d)).toVar(),p=Hi(1e6,1e6).toVar();return zo({start:-1,end:Ot(1),name:"x",condition:"<="},({x:I})=>{zo({start:-1,end:Ot(1),name:"y",condition:"<="},({y:m})=>{zo({start:-1,end:Ot(1),name:"z",condition:"<="},({z:y})=>{let T=Et(nM(h,I,m,y,r,l,d,s,n)).toVar();Fn(T.lessThan(p.x),()=>{p.y.assign(p.x),p.x.assign(T)}).ElseIf(T.lessThan(p.y),()=>{p.y.assign(T)})})})}),Fn(n.equal(Ot(0)),()=>{p.assign(aI(p))}),p}).setLayout({name:"mx_worley_noise_vec2_1",type:"vec2",inputs:[{name:"p",type:"vec3"},{name:"jitter",type:"float"},{name:"metric",type:"int"}]}),lGe=$h([iGe,rGe]),aGe=Wt(([e,t,i])=>{let n=Ot(i).toVar(),s=Et(t).toVar(),o=Gt(e).toVar(),r=Ot().toVar(),l=Ot().toVar(),d=Ot().toVar(),h=Gt(Bl(o.x,r),Bl(o.y,l),Bl(o.z,d)).toVar(),p=Gt(1e6,1e6,1e6).toVar();return zo({start:-1,end:Ot(1),name:"x",condition:"<="},({x:I})=>{zo({start:-1,end:Ot(1),name:"y",condition:"<="},({y:m})=>{zo({start:-1,end:Ot(1),name:"z",condition:"<="},({z:y})=>{let T=Et(nM(h,I,m,y,r,l,d,s,n)).toVar();Fn(T.lessThan(p.x),()=>{p.z.assign(p.y),p.y.assign(p.x),p.x.assign(T)}).ElseIf(T.lessThan(p.y),()=>{p.z.assign(p.y),p.y.assign(T)}).ElseIf(T.lessThan(p.z),()=>{p.z.assign(T)})})})}),Fn(n.equal(Ot(0)),()=>{p.assign(aI(p))}),p}).setLayout({name:"mx_worley_noise_vec3_1",type:"vec3",inputs:[{name:"p",type:"vec3"},{name:"jitter",type:"float"},{name:"metric",type:"int"}]}),kce=$h([nGe,aGe]),uGe=Wt(([e,t,i,n,s,o,r,l,d,h,p])=>{let I=Ot(e).toVar(),m=Hi(t).toVar(),y=Hi(i).toVar(),T=Hi(n).toVar(),R=Et(s).toVar(),b=Et(o).toVar(),A=Et(r).toVar(),O=M1(l).toVar(),P=Ot(d).toVar(),U=Et(h).toVar(),Z=Et(p).toVar(),ne=m.mul(y).add(T),K=Et(0).toVar();return Fn(I.equal(Ot(0)),()=>{K.assign(dz(ne))}),Fn(I.equal(Ot(1)),()=>{K.assign(PK(ne))}),Fn(I.equal(Ot(2)),()=>{K.assign(kce(ne,R,Ot(0)))}),Fn(I.equal(Ot(3)),()=>{K.assign(MK(Gt(ne,0),P,U,Z))}),K.assign(K.mul(A.sub(b)).add(b)),Fn(O,()=>{K.assign(U3(K,b,A))}),K}).setLayout({name:"mx_unifiednoise2d",type:"float",inputs:[{name:"noiseType",type:"int"},{name:"texcoord",type:"vec2"},{name:"freq",type:"vec2"},{name:"offset",type:"vec2"},{name:"jitter",type:"float"},{name:"outmin",type:"float"},{name:"outmax",type:"float"},{name:"clampoutput",type:"bool"},{name:"octaves",type:"int"},{name:"lacunarity",type:"float"},{name:"diminish",type:"float"}]}),cGe=Wt(([e,t,i,n,s,o,r,l,d,h,p])=>{let I=Ot(e).toVar(),m=Gt(t).toVar(),y=Gt(i).toVar(),T=Gt(n).toVar(),R=Et(s).toVar(),b=Et(o).toVar(),A=Et(r).toVar(),O=M1(l).toVar(),P=Ot(d).toVar(),U=Et(h).toVar(),Z=Et(p).toVar(),ne=m.mul(y).add(T),K=Et(0).toVar();return Fn(I.equal(Ot(0)),()=>{K.assign(dz(ne))}),Fn(I.equal(Ot(1)),()=>{K.assign(PK(ne))}),Fn(I.equal(Ot(2)),()=>{K.assign(kce(ne,R,Ot(0)))}),Fn(I.equal(Ot(3)),()=>{K.assign(MK(ne,P,U,Z))}),K.assign(K.mul(A.sub(b)).add(b)),Fn(O,()=>{K.assign(U3(K,b,A))}),K}).setLayout({name:"mx_unifiednoise3d",type:"float",inputs:[{name:"noiseType",type:"int"},{name:"position",type:"vec3"},{name:"freq",type:"vec3"},{name:"offset",type:"vec3"},{name:"jitter",type:"float"},{name:"outmin",type:"float"},{name:"outmax",type:"float"},{name:"clampoutput",type:"bool"},{name:"octaves",type:"int"},{name:"lacunarity",type:"float"},{name:"diminish",type:"float"}]}),dGe=Wt(([e])=>{let t=e.y,i=e.z,n=Gt().toVar();return Fn(t.lessThan(1e-4),()=>{n.assign(Gt(i,i,i))}).Else(()=>{let s=e.x;s=s.sub(U2(s)).mul(6).toVar();let o=Ot($ue(s)),r=s.sub(Et(o)),l=i.mul(t.oneMinus()),d=i.mul(t.mul(r).oneMinus()),h=i.mul(t.mul(r.oneMinus()).oneMinus());Fn(o.equal(Ot(0)),()=>{n.assign(Gt(i,h,l))}).ElseIf(o.equal(Ot(1)),()=>{n.assign(Gt(d,i,l))}).ElseIf(o.equal(Ot(2)),()=>{n.assign(Gt(l,i,h))}).ElseIf(o.equal(Ot(3)),()=>{n.assign(Gt(l,d,i))}).ElseIf(o.equal(Ot(4)),()=>{n.assign(Gt(h,l,i))}).Else(()=>{n.assign(Gt(i,l,d))})}),n}).setLayout({name:"mx_hsvtorgb",type:"vec3",inputs:[{name:"hsv",type:"vec3"}]}),hGe=Wt(([e])=>{let t=Gt(e).toVar(),i=Et(t.x).toVar(),n=Et(t.y).toVar(),s=Et(t.z).toVar(),o=Et(nm(i,nm(n,s))).toVar(),r=Et(fa(i,fa(n,s))).toVar(),l=Et(r.sub(o)).toVar(),d=Et().toVar(),h=Et().toVar(),p=Et().toVar();return p.assign(r),Fn(r.greaterThan(0),()=>{h.assign(l.div(r))}).Else(()=>{h.assign(0)}),Fn(h.lessThanEqual(0),()=>{d.assign(0)}).Else(()=>{Fn(i.greaterThanEqual(r),()=>{d.assign(n.sub(s).div(l))}).ElseIf(n.greaterThanEqual(r),()=>{d.assign(yc(2,s.sub(i).div(l)))}).Else(()=>{d.assign(yc(4,i.sub(n).div(l)))}),d.mulAssign(1/6),Fn(d.lessThan(0),()=>{d.addAssign(1)})}),Gt(d,h,p)}).setLayout({name:"mx_rgbtohsv",type:"vec3",inputs:[{name:"c",type:"vec3"}]}),fGe=Wt(([e])=>{let t=Gt(e).toVar(),i=Oue(Hue(t,Gt(.04045))).toVar(),n=Gt(t.div(12.92)).toVar(),s=Gt(yE(fa(t.add(Gt(.055)),Gt(0)).div(1.055),Gt(2.4))).toVar();return zs(n,s,i)}).setLayout({name:"mx_srgb_texture_to_lin_rec709",type:"vec3",inputs:[{name:"color",type:"vec3"}]}),mge=(e,t)=>{e=Et(e),t=Et(t);let i=Hi(t.dFdx(),t.dFdy()).length().mul(.7071067811865476);return H3(e.sub(i),e.add(i),t)},yge=(e,t,i,n)=>zs(e,t,i[n].clamp()),pGe=(e,t,i=er())=>yge(e,t,i,"x"),IGe=(e,t,i=er())=>yge(e,t,i,"y"),mGe=(e,t,i,n,s=er())=>{let o=s.x.clamp(),r=s.y.clamp(),l=zs(e,t,o),d=zs(i,n,o);return zs(l,d,r)},Ege=(e,t,i,n,s)=>zs(e,t,mge(i,n[s])),yGe=(e,t,i,n=er())=>Ege(e,t,i,n,"x"),EGe=(e,t,i,n=er())=>Ege(e,t,i,n,"y"),TGe=(e=1,t=0,i=er())=>i.mul(e).add(t),gGe=(e,t=1)=>(e=Et(e),e.abs().pow(t).mul(e.sign())),wGe=(e,t=1,i=.5)=>Et(e).sub(i).mul(t).add(i),vGe=(e=er(),t=1,i=0)=>Vce(e.convert("vec2|vec3")).mul(t).add(i),RGe=(e=er(),t=1,i=0)=>dz(e.convert("vec2|vec3")).mul(t).add(i),SGe=(e=er(),t=1,i=0)=>(e=e.convert("vec2|vec3"),On(dz(e),Vce(e.add(Hi(19,73)))).mul(t).add(i)),AGe=(e,t=er(),i=Hi(1,1),n=Hi(0,0),s=1,o=0,r=1,l=!1,d=1,h=2,p=.5)=>uGe(e,t.convert("vec2|vec3"),i,n,s,o,r,l,d,h,p),bGe=(e,t=er(),i=Hi(1,1),n=Hi(0,0),s=1,o=0,r=1,l=!1,d=1,h=2,p=.5)=>cGe(e,t.convert("vec2|vec3"),i,n,s,o,r,l,d,h,p),NGe=(e=er(),t=1)=>oGe(e.convert("vec2|vec3"),t,Ot(1)),_Ge=(e=er(),t=1)=>lGe(e.convert("vec2|vec3"),t,Ot(1)),DGe=(e=er(),t=1)=>kce(e.convert("vec2|vec3"),t,Ot(1)),CGe=(e=er())=>jHe(e.convert("vec2|vec3")),xGe=(e=er(),t=3,i=2,n=.5,s=1)=>WZ(e,Ot(t),i,n).mul(s),OGe=(e=er(),t=3,i=2,n=.5,s=1)=>QHe(e,Ot(t),i,n).mul(s),LGe=(e=er(),t=3,i=2,n=.5,s=1)=>MK(e,Ot(t),i,n).mul(s),PGe=(e=er(),t=3,i=2,n=.5,s=1)=>JHe(e,Ot(t),i,n).mul(s),MGe=(e,t=Et(0))=>yc(e,t),BGe=(e,t=Et(0))=>Ks(e,t),FGe=(e,t=Et(1))=>os(e,t),UGe=(e,t=Et(1))=>B1(e,t),HGe=(e,t=Et(1))=>oz(e,t),GGe=(e,t=Et(1))=>yE(e,t),VGe=(e=Et(0),t=Et(1))=>zue(e,t),kGe=()=>tM,zGe=()=>M3e,WGe=(e,t=Et(1))=>Ks(t,e),YGe=(e,t,i,n)=>e.greaterThan(t).mix(i,n),jGe=(e,t,i,n)=>e.greaterThanEqual(t).mix(i,n),qGe=(e,t,i,n)=>e.equal(t).mix(i,n),$Ge=(e,t=null)=>{if(typeof t=="string"){let i={x:0,r:0,y:1,g:1,z:2,b:2,w:3,a:3},n=t.replace(/^out/,"").toLowerCase();if(i[n]!==void 0)return e.element(i[n])}if(typeof t=="number")return e.element(t);if(typeof t=="string"&&t.length===1){let i={x:0,r:0,y:1,g:1,z:2,b:2,w:3,a:3};if(i[t]!==void 0)return e.element(i[t])}return e},ZGe=(e,t=Hi(.5,.5),i=Hi(1,1),n=Et(0),s=Hi(0,0))=>{let o=e;if(t&&(o=o.sub(t)),i&&(o=o.mul(i)),n){let r=n.mul(Math.PI/180),l=r.cos(),d=r.sin();o=Hi(o.x.mul(l).sub(o.y.mul(d)),o.x.mul(d).add(o.y.mul(l)))}return t&&(o=o.add(t)),s&&(o=o.add(s)),o},KGe=(e,t)=>{e=Hi(e),t=Et(t);let i=t.mul(Math.PI/180);return az(e,i)},QGe=(e,t,i)=>{e=Gt(e),t=Et(t),i=Gt(i);let n=t.mul(Math.PI/180),s=i.normalize(),o=n.cos(),r=n.sin(),l=Et(1).sub(o);return e.mul(o).add(s.cross(e).mul(r)).add(s.mul(s.dot(e)).mul(l))},JGe=(e,t)=>(e=Gt(e),t=Et(t),yce(e,t)),XGe=Wt(([e,t,i])=>{let n=tm(e).toVar(),s=Ks(Et(.5).mul(t.sub(i)),V2).div(n).toVar(),o=Ks(Et(-.5).mul(t.sub(i)),V2).div(n).toVar(),r=Gt().toVar();r.x=n.x.greaterThan(Et(0)).select(s.x,o.x),r.y=n.y.greaterThan(Et(0)).select(s.y,o.y),r.z=n.z.greaterThan(Et(0)).select(s.z,o.z);let l=nm(r.x,r.y,r.z).toVar();return V2.add(n.mul(l)).toVar().sub(i)}),Tge=Wt(([e,t])=>{let i=e.x,n=e.y,s=e.z,o=t.element(0).mul(.886227);return o=o.add(t.element(1).mul(2*.511664).mul(n)),o=o.add(t.element(2).mul(2*.511664).mul(s)),o=o.add(t.element(3).mul(2*.511664).mul(i)),o=o.add(t.element(4).mul(2*.429043).mul(i).mul(n)),o=o.add(t.element(5).mul(2*.429043).mul(n).mul(s)),o=o.add(t.element(6).mul(s.mul(s).mul(.743125).sub(.247708))),o=o.add(t.element(7).mul(2*.429043).mul(i).mul(s)),o=o.add(t.element(8).mul(.429043).mul(os(i,i).sub(os(n,n)))),o}),De=Object.freeze({__proto__:null,BRDF_GGX:_ce,BRDF_Lambert:_x,BasicPointShadowFilter:lge,BasicShadowFilter:X3e,Break:l3e,Const:LEe,Continue:iBe,DFGLUT:jk,D_GGX:T3e,Discard:$Ee,EPSILON:EK,F_Schlick:Q8,Fn:Wt,HALF_PI:iMe,INFINITY:X8e,If:Fn,Loop:zo,NodeAccess:jh,NodeShaderStage:Dk,NodeType:C8e,NodeUpdateType:Zn,OnBeforeFrameUpdate:DFe,OnBeforeMaterialUpdate:_Fe,OnBeforeObjectUpdate:NFe,OnFrameUpdate:bFe,OnMaterialUpdate:AFe,OnObjectUpdate:SFe,PCFShadowFilter:ege,PCFSoftShadowFilter:tge,PI:mZ,PI2:eMe,PointShadowFilter:age,Return:fMe,Schlick_to_F0:ile,ShaderNode:B8,Stack:pK,Switch:Y8e,TBNViewMatrix:gx,TWO_PI:tMe,VSMShadowFilter:ige,V_GGX_SmithCorrelated:E3e,Var:OEe,VarIntent:PEe,abs:dr,acesFilmicToneMapping:Y3e,acos:kue,acosh:cEe,add:yc,addMethodChaining:Ti,addNodeElement:pMe,agxToneMapping:j3e,all:eEe,alphaT:dZ,and:Hye,anisotropy:XN,anisotropyB:Rx,anisotropyT:Lk,any:tEe,append:Z8e,array:xye,arrayBuffer:q8e,asin:aEe,asinh:uEe,assign:Oye,atan:zue,atanh:dEe,atomicAdd:TUe,atomicAnd:RUe,atomicFunc:$2,atomicLoad:yUe,atomicMax:wUe,atomicMin:vUe,atomicOr:SUe,atomicStore:EUe,atomicSub:gUe,atomicXor:AUe,attenuationColor:Fue,attenuationDistance:Bue,attribute:qS,attributeArray:CFe,backgroundBlurriness:U3e,backgroundIntensity:jle,backgroundRotation:H3e,batch:o3e,bentNormalView:STe,billboarding:hFe,bitAnd:zye,bitNot:Wye,bitOr:Yye,bitXor:jye,bitangentGeometry:YMe,bitangentLocal:jMe,bitangentView:vTe,bitangentWorld:qMe,bitcast:L3e,blendBurn:IBe,blendColor:TBe,blendDodge:mBe,blendOverlay:EBe,blendScreen:yBe,blur:A3e,bool:M1,buffer:rz,bufferAttribute:sce,builtin:KS,builtinAOContext:CEe,builtinShadowContext:DEe,bumpMap:yce,bvec2:Aye,bvec3:Oue,bvec4:bye,bypass:jEe,cache:YEe,call:Lye,cameraFar:i_,cameraIndex:p_,cameraNear:t_,cameraNormalMatrix:RMe,cameraPosition:eTe,cameraProjectionMatrix:WS,cameraProjectionMatrixInverse:XEe,cameraViewMatrix:vE,cameraViewport:SMe,cameraWorldMatrix:vMe,cbrt:REe,cdl:zFe,ceil:gK,checker:yHe,cineonToneMapping:W3e,clamp:U3,clearcoat:aZ,clearcoatNormalView:n_,clearcoatRoughness:F8,clipSpace:nTe,code:xK,color:Sye,colorSpaceToWorking:vK,colorToDirection:ZMe,compute:WEe,computeKernel:oce,computeSkinning:tBe,context:ZS,convert:_ye,convertColorSpace:rMe,convertToTexture:gFe,cos:P3,cosh:oEe,countLeadingZeros:z9e,countOneBits:W9e,countTrailingZeros:k9e,cross:jS,cubeTexture:lI,cubeTextureBase:mce,dFdx:jue,dFdy:que,dashSize:tZ,debug:ZEe,decrement:Jye,decrementBefore:Kye,defaultBuildStages:X$,defaultShaderStages:gye,defined:z8,degrees:nEe,deltaTime:sFe,densityFogFactor:K3e,depth:Ace,depthPass:$Fe,determinant:mEe,difference:gEe,diffuseColor:ko,diffuseContribution:mx,directPointLight:cge,directionToColor:ATe,directionToFaceDirection:eM,dispersion:Uue,disposeShadowMaterial:sge,distance:TEe,div:B1,dot:gE,drawIndex:zEe,dynamicBufferAttribute:uMe,element:Nye,emissive:ire,equal:Pye,equirectUV:bce,exp:Gue,exp2:W8,exponentialHeightFogFactor:oUe,expression:P1,faceDirection:fce,faceForward:ece,faceforward:nMe,float:Et,floatBitsToInt:H9e,floatBitsToUint:P3e,floor:U2,fog:Xle,fract:F3,frameGroup:Q8e,frameId:M3e,frontFacing:sTe,fwidth:Zue,gain:j9e,gapSize:nre,getConstNodeType:Rye,getCurrentStack:Due,getDirection:R3e,getDistanceAttenuation:Gce,getGeometryRoughness:y3e,getNormalFromDepth:vFe,getParallaxCorrectNormal:XGe,getRoughness:Nce,getScreenPosition:wFe,getShIrradianceAt:Tge,getShadowMaterial:nge,getShadowRenderObjectFunction:oge,getTextureIndex:x3e,getViewPosition:M8,ggxConvolution:b3e,globalId:uUe,glsl:iUe,glslFn:nUe,grayscale:HFe,greaterThan:Hue,greaterThanEqual:Uye,hash:Y9e,highpModelNormalViewMatrix:Sre,highpModelViewMatrix:Rre,hue:kFe,increment:Qye,incrementBefore:Zye,inspector:KEe,instance:eBe,instanceIndex:B3,instancedArray:xFe,instancedBufferAttribute:TZ,instancedDynamicBufferAttribute:dre,instancedMesh:s3e,int:Ot,intBitsToFloat:G9e,interleavedGradientNoise:xce,inverse:yEe,inverseSqrt:Vue,inversesqrt:sMe,invocationLocalIndex:hMe,invocationSubgroupIndex:dMe,ior:Pk,iridescence:mK,iridescenceIOR:uZ,iridescenceThickness:cZ,isolate:G8,ivec2:Mc,ivec3:xue,ivec4:Lue,js:eUe,label:xEe,length:H2,lengthSq:Jue,lessThan:Bye,lessThanEqual:Fye,lightPosition:Bce,lightProjectionUV:Q3e,lightShadowMatrix:LK,lightTargetDirection:Uce,lightTargetPosition:J3e,lightViewPosition:Fce,lightingContext:u3e,lights:XUe,linearDepth:AZ,linearToneMapping:k3e,localId:cUe,log:TK,log2:F2,logarithmicDepthToViewZ:aBe,luminance:Lce,mat2:IK,mat3:Q0,mat4:l_,matcapUV:N3e,materialAO:i3e,materialAlphaTest:bTe,materialAnisotropy:VTe,materialAnisotropyVector:P8,materialAttenuationColor:ZTe,materialAttenuationDistance:$Te,materialClearcoat:MTe,materialClearcoatNormal:FTe,materialClearcoatRoughness:BTe,materialColor:NTe,materialDispersion:t3e,materialEmissive:DTe,materialEnvIntensity:iZ,materialEnvRotation:Ice,materialIOR:qTe,materialIridescence:kTe,materialIridescenceIOR:zTe,materialIridescenceThickness:WTe,materialLightMap:Tce,materialLineDashOffset:XTe,materialLineDashSize:QTe,materialLineGapSize:JTe,materialLineScale:KTe,materialLineWidth:JMe,materialMetalness:LTe,materialNormal:PTe,materialOpacity:Ece,materialPointSize:e3e,materialReference:VS,materialReflectivity:nZ,materialRefractionRatio:aTe,materialRotation:UTe,materialRoughness:OTe,materialSheen:HTe,materialSheenRoughness:GTe,materialShininess:_Te,materialSpecular:CTe,materialSpecularColor:xTe,materialSpecularIntensity:Bre,materialSpecularStrength:Mk,materialThickness:jTe,materialTransmission:YTe,max:fa,maxMipLevel:ace,mediumpModelViewMatrix:iTe,metalness:kS,min:nm,mix:zs,mixElement:AEe,mod:oz,modInt:Xye,modelDirection:xMe,modelNormalMatrix:tTe,modelPosition:OMe,modelRadius:MMe,modelScale:LMe,modelViewMatrix:I_,modelViewPosition:PMe,modelViewProjection:n3e,modelWorldMatrix:EE,modelWorldMatrixInverse:BMe,morphReference:a3e,mrt:O3e,mul:os,mx_aastep:mge,mx_add:MGe,mx_atan2:VGe,mx_cell_noise_float:CGe,mx_contrast:wGe,mx_divide:UGe,mx_fractal_noise_float:xGe,mx_fractal_noise_vec2:OGe,mx_fractal_noise_vec3:LGe,mx_fractal_noise_vec4:PGe,mx_frame:zGe,mx_heighttonormal:JGe,mx_hsvtorgb:dGe,mx_ifequal:qGe,mx_ifgreater:YGe,mx_ifgreatereq:jGe,mx_invert:WGe,mx_modulo:HGe,mx_multiply:FGe,mx_noise_float:vGe,mx_noise_vec3:RGe,mx_noise_vec4:SGe,mx_place2d:ZGe,mx_power:GGe,mx_ramp4:mGe,mx_ramplr:pGe,mx_ramptb:IGe,mx_rgbtohsv:hGe,mx_rotate2d:KGe,mx_rotate3d:QGe,mx_safepower:gGe,mx_separate:$Ge,mx_splitlr:yGe,mx_splittb:EGe,mx_srgb_texture_to_lin_rec709:fGe,mx_subtract:BGe,mx_timer:kGe,mx_transform_uv:TGe,mx_unifiednoise2d:AGe,mx_unifiednoise3d:bGe,mx_worley_noise_float:NGe,mx_worley_noise_vec2:_Ge,mx_worley_noise_vec3:DGe,negate:Yue,neutralToneMapping:q3e,nodeArray:vx,nodeImmutable:en,nodeObject:gn,nodeObjectIntent:Ck,nodeObjects:fK,nodeProxy:ys,nodeProxyIntent:Mi,normalFlat:oTe,normalGeometry:SK,normalLocal:om,normalMap:Pre,normalView:ro,normalViewGeometry:j8,normalWorld:m_,normalWorldGeometry:rTe,normalize:tm,not:Vye,notEqual:Mye,numWorkgroups:lUe,objectDirection:AMe,objectGroup:Cye,objectPosition:NMe,objectRadius:CMe,objectScale:_Me,objectViewPosition:DMe,objectWorldMatrix:bMe,oneMinus:hEe,or:Gye,orthographicDepthToViewZ:lBe,oscSawtooth:aFe,oscSine:oFe,oscSquare:rFe,oscTriangle:lFe,output:U8,outputStruct:B9e,overloadingFn:$h,packHalf2x16:Q9e,packSnorm2x16:Z9e,packUnorm2x16:K9e,parabola:Ble,parallaxDirection:RTe,parallaxUV:$Me,parameter:L9e,pass:jFe,passTexture:qFe,pcurve:q9e,perspectiveDepthToViewZ:Rce,pmremTexture:Cce,pointShadow:uge,pointUV:OFe,pointWidth:K8e,positionGeometry:lz,positionLocal:Ml,positionPrevious:Y8,positionView:Tu,positionViewDirection:rr,positionWorld:V2,positionWorldDirection:hce,posterize:WFe,pow:yE,pow2:Kue,pow3:wEe,pow4:Que,premultiplyAlpha:p3e,property:zS,quadBroadcast:KUe,quadSwapDiagonal:WUe,quadSwapX:kUe,quadSwapY:zUe,radians:iEe,rand:SEe,range:rUe,rangeFogFactor:Z3e,reciprocal:pEe,reference:Ar,referenceBuffer:_re,reflect:EEe,reflectVector:dTe,reflectView:uTe,reflector:yFe,refract:Xue,refractVector:hTe,refractView:cTe,reinhardToneMapping:z3e,remap:rce,remapClamp:qEe,renderGroup:Mn,renderOutput:lce,rendererReference:HEe,replaceDefaultUV:uFe,rotate:az,rotateUV:cFe,roughness:M2,round:fEe,rtt:F3e,sRGBTransferEOTF:BEe,sRGBTransferOETF:FEe,sample:RFe,sampler:EMe,samplerComparison:TMe,saturate:wK,saturation:GFe,screenCoordinate:Ox,screenDPR:QEe,screenSize:Nx,screenUV:G2,select:jf,setCurrentStack:Vk,setName:tce,shaderStages:eZ,shadow:rge,shadowPositionWorld:Hce,shapeCircle:EHe,sharedUniformGroup:yK,sheen:O1,sheenRoughness:e_,shiftLeft:qye,shiftRight:$ye,shininess:hZ,sign:Wue,sin:rI,sinc:$9e,sinh:sEe,skinning:r3e,smoothstep:H3,smoothstepElement:bEe,specularColor:d_,specularColorBlended:Ex,specularF90:Tx,spherizeUV:dFe,split:$8e,spritesheetUV:pFe,sqrt:aI,stack:sZ,step:bx,stepElement:NEe,storage:u_,storageBarrier:fUe,storageTexture:G3e,string:j8e,struct:M9e,sub:Ks,subBuild:Sx,subgroupAdd:_Ue,subgroupAll:HUe,subgroupAnd:PUe,subgroupAny:GUe,subgroupBallot:NUe,subgroupBroadcast:YUe,subgroupBroadcastFirst:VUe,subgroupElect:bUe,subgroupExclusiveAdd:CUe,subgroupExclusiveMul:LUe,subgroupInclusiveAdd:DUe,subgroupInclusiveMul:OUe,subgroupIndex:cMe,subgroupMax:UUe,subgroupMin:FUe,subgroupMul:xUe,subgroupOr:MUe,subgroupShuffle:jUe,subgroupShuffleDown:ZUe,subgroupShuffleUp:$Ue,subgroupShuffleXor:qUe,subgroupSize:dUe,subgroupXor:BUe,tan:rEe,tangentGeometry:AK,tangentLocal:$8,tangentView:bK,tangentWorld:wTe,tanh:lEe,texture:lo,texture3D:Oce,texture3DLevel:BFe,texture3DLoad:MFe,textureBarrier:pUe,textureBicubic:GBe,textureBicubicLevel:Dce,textureCubeUV:S3e,textureLevel:yMe,textureLoad:Oa,textureSize:a_,textureStore:LFe,thickness:Mue,time:tM,toneMapping:GEe,toneMappingExposure:VEe,toonOutlinePass:ZFe,transformDirection:vEe,transformNormal:lTe,transformNormalToView:pce,transformedClearcoatNormalView:HMe,transformedNormalView:FMe,transformedNormalWorld:UMe,transmission:fZ,transpose:IEe,triNoise3D:iFe,triplanarTexture:IFe,triplanarTextures:B3e,trunc:$ue,uint:xi,uintBitsToFloat:V9e,uniform:Nn,uniformArray:Yf,uniformCubeTexture:GMe,uniformFlow:_Ee,uniformGroup:Dye,uniformTexture:mMe,unpackHalf2x16:eFe,unpackNormal:Ore,unpackSnorm2x16:J9e,unpackUnorm2x16:X9e,unpremultiplyAlpha:gBe,userData:FFe,uv:er,uvec2:Cue,uvec3:xx,uvec4:Pue,varying:f_,varyingProperty:kk,vec2:Hi,vec3:Gt,vec4:On,vectorComponents:Cx,velocity:UFe,vertexColor:f3e,vertexIndex:kEe,vertexStage:MEe,vibrance:VFe,viewZToLogarithmicDepth:Sce,viewZToOrthographicDepth:k8,viewZToPerspectiveDepth:vce,viewZToReversedOrthographicDepth:rBe,viewZToReversedPerspectiveDepth:d3e,viewport:cce,viewportCoordinate:JEe,viewportDepthTexture:wce,viewportLinearDepth:uBe,viewportMipTexture:gce,viewportOpaqueMipTexture:c3e,viewportResolution:wMe,viewportSafeUV:fFe,viewportSharedTexture:YFe,viewportSize:dce,viewportTexture:sBe,viewportUV:gMe,vogelDiskSample:M3,wgsl:tUe,wgslFn:sUe,workgroupArray:IUe,workgroupBarrier:hUe,workgroupId:aUe,workingToColorSpace:UEe,xor:kye}),O3=new $k,aae=class extends Y2{constructor(t,i){super(),this.renderer=t,this.nodes=i}update(t,i,n){let s=this.renderer,o=this.nodes.getBackgroundNode(t)||t.background,r=!1;if(o===null)s._clearColor.getRGB(O3),O3.a=s._clearColor.a;else if(o.isColor===!0)o.getRGB(O3),O3.a=1,r=!0;else if(o.isNode===!0){let d=this.get(t),h=o;O3.copy(s._clearColor);let p=d.backgroundMesh;if(p===void 0){let P=function(){o.removeEventListener("dispose",P),p.material.dispose(),p.geometry.dispose()},m=On(h).mul(jle).context({getUV:()=>H3e.mul(rTe),getTextureLevel:()=>U3e}),y=WS.element(3).element(3).equal(1),T=B1(1,WS.element(1).element(1)).mul(3),R=y.select(Ml.mul(T),Ml),b=I_.mul(On(R,0)),A=WS.mul(On(b.xyz,1));A=A.setZ(A.w);let O=new Ul;O.name="Background.material",O.side=Js,O.depthTest=!1,O.depthWrite=!1,O.allowOverride=!1,O.fog=!1,O.lights=!1,O.vertexNode=A,O.colorNode=m,d.backgroundMeshNode=m,d.backgroundMesh=p=new _i(new yy(1,32,32),O),p.frustumCulled=!1,p.name="Background.mesh",o.addEventListener("dispose",P)}let I=h.getCacheKey();d.backgroundCacheKey!==I&&(d.backgroundMeshNode.node=On(h).mul(jle),d.backgroundMeshNode.needsUpdate=!0,p.material.needsUpdate=!0,d.backgroundCacheKey=I),i.unshift(p,p.geometry,p.material,0,0,null,null)}else yi("Renderer: Unsupported background configuration.",o);let l=s.xr.getEnvironmentBlendMode();if(l==="additive"?O3.set(0,0,0,1):l==="alpha-blend"&&O3.set(0,0,0,0),s.autoClear===!0||r===!0){let d=n.clearColorValue;d.r=O3.r,d.g=O3.g,d.b=O3.b,d.a=O3.a,(s.backend.isWebGLBackend===!0||s.alpha===!0)&&(d.r*=d.a,d.g*=d.a,d.b*=d.a),n.depthClearValue=s.getClearDepth(),n.stencilClearValue=s.getClearStencil(),n.clearColor=s.autoClearColor===!0,n.clearDepth=s.autoClearDepth===!0,n.clearStencil=s.autoClearStencil===!0}else n.clearColor=!1,n.clearDepth=!1,n.clearStencil=!1}},eVe=0,Xk=class{constructor(t="",i=[]){this.name=t,this.bindings=i,this.id=eVe++}},uae=class{constructor(t,i,n,s,o,r,l,d,h,p=[]){this.vertexShader=t,this.fragmentShader=i,this.computeShader=n,this.transforms=p,this.nodeAttributes=s,this.bindings=o,this.updateNodes=r,this.updateBeforeNodes=l,this.updateAfterNodes=d,this.observer=h,this.usedTimes=0}createBindings(){let t=[];for(let i of this.bindings)if(i.bindings[0].groupNode.shared!==!0){let s=new Xk(i.name,[]);t.push(s);for(let o of i.bindings)s.bindings.push(o.clone())}else t.push(i);return t}},YZ=class{constructor(t,i,n=null){this.isNodeAttribute=!0,this.name=t,this.type=i,this.node=n}},cae=class{constructor(t,i,n){this.isNodeUniform=!0,this.name=t,this.type=i,this.node=n}get value(){return this.node.value}set value(t){this.node.value=t}get id(){return this.node.id}get groupNode(){return this.node.groupNode}},jZ=class{constructor(t,i,n=!1,s=null){this.isNodeVar=!0,this.name=t,this.type=i,this.readOnly=n,this.count=s}},dae=class extends jZ{constructor(t,i,n=null,s=null){super(t,i),this.needsInterpolation=!1,this.isNodeVarying=!0,this.interpolationType=n,this.interpolationSampling=s}},hae=class{constructor(t,i,n=""){this.name=t,this.type=i,this.code=n,Object.defineProperty(this,"isNodeCode",{value:!0})}},tVe=0,Hk=class{constructor(t=null){this.id=tVe++,this.nodesData=new WeakMap,this.parent=t}getData(t){let i=this.nodesData.get(t);return i===void 0&&this.parent!==null&&(i=this.parent.getData(t)),i}setData(t,i){this.nodesData.set(t,i)}},fae=class{constructor(t,i){this.name=t,this.members=i,this.output=!1}},q2=class{constructor(t,i){this.name=t,this.value=i,this.boundary=0,this.itemSize=0,this.offset=0,this.index=-1}setValue(t){this.value=t}getValue(){return this.value}},pae=class extends q2{constructor(t,i=0){super(t,i),this.isNumberUniform=!0,this.boundary=4,this.itemSize=1}},Iae=class extends q2{constructor(t,i=new hi){super(t,i),this.isVector2Uniform=!0,this.boundary=8,this.itemSize=2}},mae=class extends q2{constructor(t,i=new ye){super(t,i),this.isVector3Uniform=!0,this.boundary=16,this.itemSize=3}},yae=class extends q2{constructor(t,i=new xn){super(t,i),this.isVector4Uniform=!0,this.boundary=16,this.itemSize=4}},Eae=class extends q2{constructor(t,i=new Oi){super(t,i),this.isColorUniform=!0,this.boundary=16,this.itemSize=3}},Tae=class extends q2{constructor(t,i=new NC){super(t,i),this.isMatrix2Uniform=!0,this.boundary=8,this.itemSize=4}},gae=class extends q2{constructor(t,i=new Qn){super(t,i),this.isMatrix3Uniform=!0,this.boundary=48,this.itemSize=12}},wae=class extends q2{constructor(t,i=new Ai){super(t,i),this.isMatrix4Uniform=!0,this.boundary=64,this.itemSize=16}},vae=class extends pae{constructor(t){super(t.name,t.value),this.nodeUniform=t}getValue(){return this.nodeUniform.value}getType(){return this.nodeUniform.type}},Rae=class extends Iae{constructor(t){super(t.name,t.value),this.nodeUniform=t}getValue(){return this.nodeUniform.value}getType(){return this.nodeUniform.type}},Sae=class extends mae{constructor(t){super(t.name,t.value),this.nodeUniform=t}getValue(){return this.nodeUniform.value}getType(){return this.nodeUniform.type}},Aae=class extends yae{constructor(t){super(t.name,t.value),this.nodeUniform=t}getValue(){return this.nodeUniform.value}getType(){return this.nodeUniform.type}},bae=class extends Eae{constructor(t){super(t.name,t.value),this.nodeUniform=t}getValue(){return this.nodeUniform.value}getType(){return this.nodeUniform.type}},Nae=class extends Tae{constructor(t){super(t.name,t.value),this.nodeUniform=t}getValue(){return this.nodeUniform.value}getType(){return this.nodeUniform.type}},_ae=class extends gae{constructor(t){super(t.name,t.value),this.nodeUniform=t}getValue(){return this.nodeUniform.value}getType(){return this.nodeUniform.type}},Dae=class extends wae{constructor(t){super(t.name,t.value),this.nodeUniform=t}getValue(){return this.nodeUniform.value}getType(){return this.nodeUniform.type}},iVe=0,W1e=new WeakMap,nVe=new WeakMap,sVe=new Map([[Int8Array,"int"],[Int16Array,"int"],[Int32Array,"int"],[Uint8Array,"uint"],[Uint16Array,"uint"],[Uint32Array,"uint"],[Float32Array,"float"]]),j$=e=>/e/g.test(e)?String(e).replace(/\+/g,""):(e=Number(e),e+(e%1?"":".0")),qZ=class{constructor(t,i,n){this.object=t,this.material=t&&t.material||null,this.geometry=t&&t.geometry||null,this.renderer=i,this.parser=n,this.scene=null,this.camera=null,this.nodes=[],this.sequentialNodes=[],this.updateNodes=[],this.updateBeforeNodes=[],this.updateAfterNodes=[],this.hashNodes={},this.observer=null,this.lightsNode=null,this.environmentNode=null,this.fogNode=null,this.clippingContext=null,this.vertexShader=null,this.fragmentShader=null,this.computeShader=null,this.flowNodes={vertex:[],fragment:[],compute:[]},this.flowCode={vertex:"",fragment:"",compute:""},this.uniforms={vertex:[],fragment:[],compute:[],index:0},this.structs={vertex:[],fragment:[],compute:[],index:0},this.types={vertex:[],fragment:[],compute:[],index:0},this.bindings={vertex:{},fragment:{},compute:{}},this.bindingsIndexes={},this.bindGroups=null,this.attributes=[],this.bufferAttributes=[],this.varyings=[],this.codes={},this.vars={},this.declarations={},this.flow={code:""},this.chaining=[],this.stack=sZ(),this.stacks=[],this.tab=" ",this.currentFunctionNode=null,this.context={material:this.material},this.cache=new Hk,this.globalCache=this.cache,this.flowsData=new WeakMap,this.shaderStage=null,this.buildStage=null,this.subBuildLayers=[],this.activeStacks=[],this.subBuildFn=null,this.fnCall=null,Object.defineProperty(this,"id",{value:iVe++})}isFlatShading(){return this.material.flatShading===!0||this.geometry.hasAttribute("normal")===!1}isOpaque(){let t=this.material;return t.transparent===!1&&t.blending===Yc&&t.alphaToCoverage===!1}createRenderTarget(t,i,n){return new yf(t,i,n)}createCubeRenderTarget(t,i){return new bZ(t,i)}includes(t){return this.nodes.includes(t)}getOutputStructName(){}_getBindGroup(t,i){let n=i[0].groupNode,s=n.shared;if(s)for(let r=1;r<i.length;r++)n!==i[r].groupNode&&(s=!1);let o;if(s){let r="";for(let p of i)if(p.isNodeUniformsGroup){p.uniforms.sort((I,m)=>I.nodeUniform.node.id-m.nodeUniform.node.id);for(let I of p.uniforms)r+=I.nodeUniform.node.id}else r+=p.nodeUniform.id;let l=this.renderer._currentRenderContext||this.renderer,d=W1e.get(l);d===void 0&&(d=new Map,W1e.set(l,d));let h=X8(r);o=d.get(h),o===void 0&&(o=new Xk(t,i),d.set(h,o))}else o=new Xk(t,i);return o}getBindGroupArray(t,i){let n=this.bindings[i],s=n[t];return s===void 0&&(this.bindingsIndexes[t]===void 0&&(this.bindingsIndexes[t]={binding:0,group:Object.keys(this.bindingsIndexes).length}),n[t]=s=[]),s}getBindings(){let t=this.bindGroups;if(t===null){let i={},n=this.bindings;for(let s of eZ)for(let o in n[s]){let r=n[s][o],l=i[o]||(i[o]=[]);for(let d of r)l.includes(d)===!1&&l.push(d)}t=[];for(let s in i){let o=i[s],r=this._getBindGroup(s,o);t.push(r)}this.bindGroups=t}return t}sortBindingGroups(){let t=this.getBindings();t.sort((i,n)=>i.bindings[0].groupNode.order-n.bindings[0].groupNode.order);for(let i=0;i<t.length;i++){let n=t[i];this.bindingsIndexes[n.name].group=i}}setHashNode(t,i){this.hashNodes[i]=t}addNode(t){this.nodes.includes(t)===!1&&(this.nodes.push(t),this.setHashNode(t,t.getHash(this)))}addSequentialNode(t){let i=t.getUpdateBeforeType(),n=t.getUpdateAfterType();(i!==Zn.NONE||n!==Zn.NONE)&&this.sequentialNodes.includes(t)===!1&&this.sequentialNodes.push(t)}buildUpdateNodes(){for(let t of this.nodes)t.getUpdateType()!==Zn.NONE&&this.updateNodes.push(t);for(let t of this.sequentialNodes){let i=t.getUpdateBeforeType(),n=t.getUpdateAfterType();i!==Zn.NONE&&this.updateBeforeNodes.push(t),n!==Zn.NONE&&this.updateAfterNodes.push(t)}}get currentNode(){return this.chaining[this.chaining.length-1]}isFilteredTexture(t){return t.magFilter===Us||t.magFilter===aw||t.magFilter===Om||t.magFilter===qc||t.minFilter===Us||t.minFilter===aw||t.minFilter===Om||t.minFilter===qc}getUniformBufferLimit(){return this.renderer.backend.capabilities.getUniformBufferLimit()}addChain(t){this.chaining.push(t)}removeChain(t){if(this.chaining.pop()!==t)throw new Error("NodeBuilder: Invalid node chaining!")}getMethod(t){return t}getTernary(){return null}getNodeFromHash(t){return this.hashNodes[t]}addFlow(t,i){return this.flowNodes[t].push(i),i}setContext(t){this.context=t}getContext(){return this.context}addContext(t){let i=this.getContext();return this.setContext({...this.context,...t}),i}getSharedContext(){let t={...this.context};return delete t.material,delete t.getUV,delete t.getOutput,delete t.getTextureLevel,delete t.getAO,delete t.getShadow,t}setCache(t){this.cache=t}getCache(){return this.cache}getCacheFromNode(t,i=!0){let n=this.getDataFromNode(t);return n.cache===void 0&&(n.cache=new Hk(i?this.getCache():null)),n.cache}isAvailable(){return!1}getVertexIndex(){ci("Abstract function.")}getInstanceIndex(){ci("Abstract function.")}getDrawIndex(){ci("Abstract function.")}getFrontFacing(){ci("Abstract function.")}getFragCoord(){ci("Abstract function.")}isFlipY(){return!1}increaseUsage(t){let i=this.getDataFromNode(t);return i.usageCount=i.usageCount===void 0?1:i.usageCount+1,i.usageCount}generateTexture(){ci("Abstract function.")}generateTextureLod(){ci("Abstract function.")}generateArrayDeclaration(t,i){return this.getType(t)+"[ "+i+" ]"}generateArray(t,i,n=null){let s=this.generateArrayDeclaration(t,i)+"( ";for(let o=0;o<i;o++){let r=n?n[o]:null;r!==null?s+=r.build(this,t):s+=this.generateConst(t),o<i-1&&(s+=", ")}return s+=" )",s}generateStruct(t,i,n=null){let s=[];for(let o of i){let{name:r,type:l}=o;n&&n[r]&&n[r].isNode?s.push(n[r].build(this,l)):s.push(this.generateConst(l))}return t+"( "+s.join(", ")+" )"}generateConst(t,i=null){if(i===null&&(t==="float"||t==="int"||t==="uint"?i=0:t==="bool"?i=!1:t==="color"?i=new Oi:t==="vec2"||t==="uvec2"||t==="ivec2"?i=new hi:t==="vec3"||t==="uvec3"||t==="ivec3"?i=new ye:(t==="vec4"||t==="uvec4"||t==="ivec4")&&(i=new xn)),t==="float")return j$(i);if(t==="int")return`${Math.round(i)}`;if(t==="uint")return i>=0?`${Math.round(i)}u`:"0u";if(t==="bool")return i?"true":"false";if(t==="color")return`${this.getType("vec3")}( ${j$(i.r)}, ${j$(i.g)}, ${j$(i.b)} )`;let n=this.getTypeLength(t),s=this.getComponentType(t),o=r=>this.generateConst(s,r);if(n===2)return`${this.getType(t)}( ${o(i.x)}, ${o(i.y)} )`;if(n===3)return`${this.getType(t)}( ${o(i.x)}, ${o(i.y)}, ${o(i.z)} )`;if(n===4&&t!=="mat2")return`${this.getType(t)}( ${o(i.x)}, ${o(i.y)}, ${o(i.z)}, ${o(i.w)} )`;if(n>=4&&i&&(i.isMatrix2||i.isMatrix3||i.isMatrix4))return`${this.getType(t)}( ${i.elements.map(o).join(", ")} )`;if(n>4)return`${this.getType(t)}()`;throw new Error(`NodeBuilder: Type '${t}' not found in generate constant attempt.`)}getType(t){return t==="color"?"vec3":t}hasGeometryAttribute(t){return this.geometry&&this.geometry.getAttribute(t)!==void 0}getAttribute(t,i){let n=this.attributes;for(let o of n)if(o.name===t)return o;let s=new YZ(t,i);return this.registerDeclaration(s),n.push(s),s}getPropertyName(t){return t.name}isVector(t){return/vec\d/.test(t)}isMatrix(t){return/mat\d/.test(t)}isReference(t){return t==="void"||t==="property"||t==="sampler"||t==="samplerComparison"||t==="texture"||t==="cubeTexture"||t==="storageTexture"||t==="depthTexture"||t==="texture3D"}needsToWorkingColorSpace(){return!1}getComponentTypeFromTexture(t){let i=t.type;if(t.isDataTexture){if(i===Ya)return"int";if(i===co)return"uint"}return"float"}getElementType(t){return t==="mat2"?"vec2":t==="mat3"?"vec3":t==="mat4"?"vec4":this.getComponentType(t)}getComponentType(t){if(t=this.getVectorType(t),t==="float"||t==="bool"||t==="int"||t==="uint")return t;let i=/(b|i|u|)(vec|mat)([2-4])/.exec(t);return i===null?null:i[1]==="b"?"bool":i[1]==="i"?"int":i[1]==="u"?"uint":"float"}getVectorType(t){return t==="color"?"vec3":t==="texture"||t==="cubeTexture"||t==="storageTexture"||t==="texture3D"?"vec4":t}getTypeFromLength(t,i="float"){if(t===1)return i;let n=yye(t),s=i==="float"?"":i[0];return/mat2/.test(i)===!0&&(n=n.replace("vec","mat")),s+n}getTypeFromArray(t){return sVe.get(t.constructor)}isInteger(t){return/int|uint|(i|u)vec/.test(t)}getTypeFromAttribute(t){let i=t;t.isInterleavedBufferAttribute&&(i=t.data);let n=i.array,s=t.itemSize,o=t.normalized,r;return!(t instanceof rC)&&o!==!0&&(r=this.getTypeFromArray(n)),this.getTypeFromLength(s,r)}getTypeLength(t){let i=this.getVectorType(t),n=/vec([2-4])/.exec(i);return n!==null?Number(n[1]):i==="float"||i==="bool"||i==="int"||i==="uint"?1:/mat2/.test(t)===!0?4:/mat3/.test(t)===!0?9:/mat4/.test(t)===!0?16:0}getVectorFromMatrix(t){return t.replace("mat","vec")}changeComponentType(t,i){return this.getTypeFromLength(this.getTypeLength(t),i)}getIntegerType(t){let i=this.getComponentType(t);return i==="int"||i==="uint"?t:this.changeComponentType(t,"int")}setActiveStack(t){this.activeStacks.push(t)}removeActiveStack(t){if(this.activeStacks[this.activeStacks.length-1]===t)this.activeStacks.pop();else throw new Error("NodeBuilder: Invalid active stack removal.")}getActiveStack(){return this.activeStacks[this.activeStacks.length-1]}getBaseStack(){return this.activeStacks[0]}addStack(){this.stack=sZ(this.stack);let t=Due();return this.stacks.push(t),Vk(this.stack),this.stack}removeStack(){let t=this.stack;for(let i of t.nodes){let n=this.getDataFromNode(i);n.stack=t}return this.stack=t.parent,Vk(this.stacks.pop()),t}getDataFromNode(t,i=this.shaderStage,n=null){n=n===null?t.isGlobal(this)?this.globalCache:this.cache:n;let s=n.getData(t);s===void 0&&(s={},n.setData(t,s)),s[i]===void 0&&(s[i]={});let o=s[i],r=s.any?s.any.subBuilds:null,l=this.getClosestSubBuild(r);return l&&(o.subBuildsCache===void 0&&(o.subBuildsCache={}),o=o.subBuildsCache[l]||(o.subBuildsCache[l]={}),o.subBuilds=r),o}getNodeProperties(t,i="any"){let n=this.getDataFromNode(t,i);return n.properties||(n.properties={outputNode:null})}getBufferAttributeFromNode(t,i){let n=this.getDataFromNode(t,"vertex"),s=n.bufferAttribute;if(s===void 0){let o=this.uniforms.index++;s=new YZ("nodeAttribute"+o,i,t),this.bufferAttributes.push(s),n.bufferAttribute=s}return s}getStructTypeNode(t,i=this.shaderStage){return this.types[i][t]||null}getStructTypeFromNode(t,i,n=null,s=this.shaderStage){let o=this.getDataFromNode(t,s,this.globalCache),r=o.structType;if(r===void 0){let l=this.structs.index++;n===null&&(n="StructType"+l),r=new fae(n,i),this.structs[s].push(r),this.types[s][n]=t,o.structType=r}return r}getOutputStructTypeFromNode(t,i){let n=this.getStructTypeFromNode(t,i,"OutputType","fragment");return n.output=!0,n}getUniformFromNode(t,i,n=this.shaderStage,s=null){let o=this.getDataFromNode(t,n,this.globalCache),r=o.uniform;if(r===void 0){let l=this.uniforms.index++;r=new cae(s||"nodeUniform"+l,i,t),this.uniforms[n].push(r),this.registerDeclaration(r),o.uniform=r}return r}getVarFromNode(t,i=null,n=t.getNodeType(this),s=this.shaderStage,o=!1){let r=this.getDataFromNode(t,s),l=this.getSubBuildProperty("variable",r.subBuilds),d=r[l];if(d===void 0){let h=o?"_const":"_var",p=this.vars[s]||(this.vars[s]=[]),I=this.vars[h]||(this.vars[h]=0);i===null&&(i=(o?"nodeConst":"nodeVar")+I,this.vars[h]++),l!=="variable"&&(i=this.getSubBuildProperty(i,r.subBuilds));let m=t.getArrayCount(this);d=new jZ(i,n,o,m),o||p.push(d),this.registerDeclaration(d),r[l]=d}return d}isDeterministic(t){if(t.isMathNode)return this.isDeterministic(t.aNode)&&(t.bNode?this.isDeterministic(t.bNode):!0)&&(t.cNode?this.isDeterministic(t.cNode):!0);if(t.isOperatorNode)return this.isDeterministic(t.aNode)&&(t.bNode?this.isDeterministic(t.bNode):!0);if(t.isArrayNode){if(t.values!==null){for(let i of t.values)if(!this.isDeterministic(i))return!1}return!0}else if(t.isConstNode)return!0;return!1}getVaryingFromNode(t,i=null,n=t.getNodeType(this),s=null,o=null){let r=this.getDataFromNode(t,"any"),l=this.getSubBuildProperty("varying",r.subBuilds),d=r[l];if(d===void 0){let h=this.varyings,p=h.length;i===null&&(i="nodeVarying"+p),l!=="varying"&&(i=this.getSubBuildProperty(i,r.subBuilds)),d=new dae(i,n,s,o),h.push(d),this.registerDeclaration(d),r[l]=d}return d}registerDeclaration(t){let i=this.shaderStage,n=this.declarations[i]||(this.declarations[i]={}),s=this.getPropertyName(t),o=1,r=s;for(;n[r]!==void 0;)r=s+"_"+o++;o>1&&(t.name=r,ci(`TSL: Declaration name '${s}' of '${t.type}' already in use. Renamed to '${r}'.`)),n[r]=t}getCodeFromNode(t,i,n=this.shaderStage){let s=this.getDataFromNode(t),o=s.code;if(o===void 0){let r=this.codes[n]||(this.codes[n]=[]),l=r.length;o=new hae("nodeCode"+l,i),r.push(o),s.code=o}return o}addFlowCodeHierarchy(t,i){let{flowCodes:n,flowCodeBlock:s}=this.getDataFromNode(t),o=!0,r=i;for(;r;){if(s.get(r)===!0){o=!1;break}r=this.getDataFromNode(r).parentNodeBlock}if(o)for(let l of n)this.addLineFlowCode(l)}addLineFlowCodeBlock(t,i,n){let s=this.getDataFromNode(t),o=s.flowCodes||(s.flowCodes=[]),r=s.flowCodeBlock||(s.flowCodeBlock=new WeakMap);o.push(i),r.set(n,!0)}addLineFlowCode(t,i=null){return t===""?this:(i!==null&&this.context.nodeBlock&&this.addLineFlowCodeBlock(i,t,this.context.nodeBlock),t=this.tab+t,/;\s*$/.test(t)||(t=t+`;
|
||
`),this.flow.code+=t,this)}addFlowCode(t){return this.flow.code+=t,this}addFlowTab(){return this.tab+=" ",this}removeFlowTab(){return this.tab=this.tab.slice(0,-1),this}getFlowData(t){return this.flowsData.get(t)}flowNode(t){let i=t.getNodeType(this),n=this.flowChildNode(t,i);return this.flowsData.set(t,n),n}addInclude(t){this.currentFunctionNode!==null&&this.currentFunctionNode.includes.push(t)}buildFunctionNode(t){let i=new GZ,n=this.currentFunctionNode;return this.currentFunctionNode=i,i.code=this.buildFunctionCode(t),this.currentFunctionNode=n,i}flowShaderNode(t){let i=t.layout,n={[Symbol.iterator](){let r=0,l=Object.values(this);return{next:()=>({value:l[r],done:r++>=l.length})}}};for(let r of i.inputs)n[r.name]=new PZ(r.type,r.name);t.layout=null;let s=t.call(n),o=this.flowStagesNode(s,i.type);return t.layout=i,o}flowBuildStage(t,i,n=null){let s=this.getBuildStage();this.setBuildStage(i);let o=t.build(this,n);return this.setBuildStage(s),o}flowStagesNode(t,i=null){let n=this.flow,s=this.vars,o=this.declarations,r=this.cache,l=this.buildStage,d=this.stack,h={code:""};this.flow=h,this.vars={},this.declarations={},this.cache=new Hk,this.stack=sZ();for(let p of X$)this.setBuildStage(p),h.result=t.build(this,i);return h.vars=this.getVars(this.shaderStage),this.flow=n,this.vars=s,this.declarations=o,this.cache=r,this.stack=d,this.setBuildStage(l),h}getFunctionOperator(){return null}buildFunctionCode(){ci("Abstract function.")}flowChildNode(t,i=null){let n=this.flow,s={code:""};return this.flow=s,s.result=t.build(this,i),this.flow=n,s}flowNodeFromShaderStage(t,i,n=null,s=null){let o=this.tab,r=this.cache,l=this.shaderStage,d=this.context;this.setShaderStage(t);let h={...this.context};delete h.nodeBlock,this.cache=this.globalCache,this.tab=" ",this.context=h;let p=null;if(this.buildStage==="generate"){let I=this.flowChildNode(i,n);s!==null&&(I.code+=`${this.tab+s} = ${I.result};
|
||
`),this.flowCode[t]=this.flowCode[t]+I.code,p=I}else p=i.build(this);return this.setShaderStage(l),this.cache=r,this.tab=o,this.context=d,p}getAttributesArray(){return this.attributes.concat(this.bufferAttributes)}getAttributes(){ci("Abstract function.")}getVaryings(){ci("Abstract function.")}getVar(t,i,n=null){return`${n!==null?this.generateArrayDeclaration(t,n):this.getType(t)} ${i}`}getVars(t,i=!1){let n=[],s=this.vars[t];if(s!==void 0)for(let o of s)n.push(`${this.getVar(o.type,o.name,o.count)};`);return n.join(i?`
|
||
`:`
|
||
`)}getUniforms(){ci("Abstract function.")}getCodes(t){let i=this.codes[t],n="";if(i!==void 0)for(let s of i)n+=s.code+`
|
||
`;return n}getHash(){return this.vertexShader+this.fragmentShader+this.computeShader}setShaderStage(t){this.shaderStage=t}getShaderStage(){return this.shaderStage}setBuildStage(t){this.buildStage=t}getBuildStage(){return this.buildStage}buildCode(){ci("Abstract function.")}get subBuild(){return this.subBuildLayers[this.subBuildLayers.length-1]||null}addSubBuild(t){this.subBuildLayers.push(t)}removeSubBuild(){return this.subBuildLayers.pop()}getClosestSubBuild(t){let i;if(t&&t.isNode?t.isShaderCallNodeInternal?i=t.shaderNode.subBuilds:t.isStackNode?i=[t.subBuild]:i=this.getDataFromNode(t,"any").subBuilds:t instanceof Set?i=[...t]:i=t,!i)return null;let n=this.subBuildLayers;for(let s=i.length-1;s>=0;s--){let o=i[s];if(n.includes(o))return o}return null}getSubBuildOutput(t){return this.getSubBuildProperty("outputNode",t)}getSubBuildProperty(t="",i=null){let n;i!==null?n=this.getClosestSubBuild(i):n=this.subBuildFn;let s;return n?s=t?n+"_"+t:n:s=t,s}prebuild(){let{object:t,renderer:i,material:n}=this;if(i.contextNode.isContextNode===!0?this.context={...this.context,...i.contextNode.getFlowContextData()}:yi('NodeBuilder: "renderer.contextNode" must be an instance of `context()`.'),n&&n.contextNode&&(n.contextNode.isContextNode===!0?this.context={...this.context,...n.contextNode.getFlowContextData()}:yi('NodeBuilder: "material.contextNode" must be an instance of `context()`.')),n!==null){let s=i.library.fromMaterial(n);s===null&&(yi(`NodeBuilder: Material "${n.type}" is not compatible.`),s=new Ul),s.build(this)}else this.addFlow("compute",t)}build(){this.prebuild();for(let t of X$){this.setBuildStage(t),this.context.position&&this.context.position.isNode&&this.flowNodeFromShaderStage("vertex",this.context.position);for(let i of eZ){this.setShaderStage(i);let n=this.flowNodes[i];for(let s of n)t==="generate"?this.flowNode(s):s.build(this)}}return this.setBuildStage(null),this.setShaderStage(null),this.buildCode(),this.buildUpdateNodes(),this}async buildAsync(){this.prebuild();for(let t of X$){this.setBuildStage(t),this.context.position&&this.context.position.isNode&&this.flowNodeFromShaderStage("vertex",this.context.position);for(let i of eZ){this.setShaderStage(i);let n=this.flowNodes[i];for(let s of n)t==="generate"?this.flowNode(s):s.build(this);await Nte()}}return this.setBuildStage(null),this.setShaderStage(null),this.buildCode(),this.buildUpdateNodes(),this}getSharedDataFromNode(t){let i=nVe.get(t);return i===void 0&&(i={}),i}getNodeUniform(t,i){let n=this.getSharedDataFromNode(t),s=n.cache;if(s===void 0){if(i==="float"||i==="int"||i==="uint")s=new vae(t);else if(i==="vec2"||i==="ivec2"||i==="uvec2")s=new Rae(t);else if(i==="vec3"||i==="ivec3"||i==="uvec3")s=new Sae(t);else if(i==="vec4"||i==="ivec4"||i==="uvec4")s=new Aae(t);else if(i==="color")s=new bae(t);else if(i==="mat2")s=new Nae(t);else if(i==="mat3")s=new _ae(t);else if(i==="mat4")s=new Dae(t);else throw new Error(`Uniform "${i}" not implemented.`);n.cache=s}return s}format(t,i,n){if(i=this.getVectorType(i),n=this.getVectorType(n),i===n||n===null||this.isReference(n))return t;let s=this.getTypeLength(i),o=this.getTypeLength(n);return s===16&&o===9?`${this.getType(n)}( ${t}[ 0 ].xyz, ${t}[ 1 ].xyz, ${t}[ 2 ].xyz )`:s===9&&o===4?`${this.getType(n)}( ${t}[ 0 ].xy, ${t}[ 1 ].xy )`:s>4||o>4||o===0?t:s===o?`${this.getType(n)}( ${t} )`:s>o?(t=n==="bool"?`all( ${t} )`:`${t}.${"xyz".slice(0,o)}`,this.format(t,this.getTypeFromLength(o,this.getComponentType(i)),n)):o===4&&s>1?`${this.getType(n)}( ${this.format(t,i,"vec3")}, 1.0 )`:s===2?`${this.getType(n)}( ${this.format(t,i,"vec2")}, 0.0 )`:(s===1&&o>1&&i!==this.getComponentType(n)&&(t=`${this.getType(this.getComponentType(n))}( ${t} )`),`${this.getType(n)}( ${t} )`)}getSignature(){return`// Three.js r${"184"} - Node System
|
||
`}needsPreviousData(){let t=this.renderer.getMRT();return t&&t.has("velocity")||Tye(this.object).useVelocity===!0}},$Z=class{constructor(){this.time=0,this.deltaTime=0,this.frameId=0,this.renderId=0,this.updateMap=new WeakMap,this.updateBeforeMap=new WeakMap,this.updateAfterMap=new WeakMap,this.renderer=null,this.material=null,this.camera=null,this.object=null,this.scene=null}_getMaps(t,i){let n=t.get(i);return n===void 0&&(n={renderId:0,frameId:0},t.set(i,n)),n}updateBeforeNode(t){let i=t.getUpdateBeforeType(),n=t.updateReference(this);if(i===Zn.FRAME){let s=this._getMaps(this.updateBeforeMap,n);if(s.frameId!==this.frameId){let o=s.frameId;s.frameId=this.frameId,t.updateBefore(this)===!1&&(s.frameId=o)}}else if(i===Zn.RENDER){let s=this._getMaps(this.updateBeforeMap,n);if(s.renderId!==this.renderId){let o=s.renderId;s.renderId=this.renderId,t.updateBefore(this)===!1&&(s.renderId=o)}}else i===Zn.OBJECT&&t.updateBefore(this)}updateAfterNode(t){let i=t.getUpdateAfterType(),n=t.updateReference(this);if(i===Zn.FRAME){let s=this._getMaps(this.updateAfterMap,n);s.frameId!==this.frameId&&t.updateAfter(this)!==!1&&(s.frameId=this.frameId)}else if(i===Zn.RENDER){let s=this._getMaps(this.updateAfterMap,n);s.renderId!==this.renderId&&t.updateAfter(this)!==!1&&(s.renderId=this.renderId)}else i===Zn.OBJECT&&t.updateAfter(this)}updateNode(t){let i=t.getUpdateType(),n=t.updateReference(this);if(i===Zn.FRAME){let s=this._getMaps(this.updateMap,n);s.frameId!==this.frameId&&t.update(this)!==!1&&(s.frameId=this.frameId)}else if(i===Zn.RENDER){let s=this._getMaps(this.updateMap,n);s.renderId!==this.renderId&&t.update(this)!==!1&&(s.renderId=this.renderId)}else i===Zn.OBJECT&&t.update(this)}update(){this.frameId++,this.lastTime===void 0&&(this.lastTime=performance.now()),this.deltaTime=(performance.now()-this.lastTime)/1e3,this.lastTime=performance.now(),this.time+=this.deltaTime}},ez=class{constructor(t,i,n=null,s="",o=!1){this.type=t,this.name=i,this.count=n,this.qualifier=s,this.isConst=o}};ez.isNodeFunctionInput=!0;var Cae=class extends $S{static get type(){return"AmbientLightNode"}constructor(t=null){super(t)}setup({context:t}){t.irradiance.addAssign(this.colorNode)}},xae=class extends $S{static get type(){return"DirectionalLightNode"}constructor(t=null){super(t)}setupDirect(){let t=this.colorNode;return{lightDirection:Uce(this.light),lightColor:t}}},Oae=class extends $S{static get type(){return"HemisphereLightNode"}constructor(t=null){super(t),this.lightPositionNode=Bce(t),this.lightDirectionNode=this.lightPositionNode.normalize(),this.groundColorNode=Nn(new Oi).setGroup(Mn)}update(t){let{light:i}=this;super.update(t),this.lightPositionNode.object3d=i,this.groundColorNode.value.copy(i.groundColor).multiplyScalar(i.intensity)}setup(t){let{colorNode:i,groundColorNode:n,lightDirectionNode:s}=this,r=m_.dot(s).mul(.5).add(.5),l=zs(n,i,r);t.context.irradiance.addAssign(l)}},tz=class extends $S{static get type(){return"SpotLightNode"}constructor(t=null){super(t),this.coneCosNode=Nn(0).setGroup(Mn),this.penumbraCosNode=Nn(0).setGroup(Mn),this.cutoffDistanceNode=Nn(0).setGroup(Mn),this.decayExponentNode=Nn(0).setGroup(Mn),this.colorNode=Nn(this.color).setGroup(Mn)}update(t){super.update(t);let{light:i}=this;this.coneCosNode.value=Math.cos(i.angle),this.penumbraCosNode.value=Math.cos(i.angle*(1-i.penumbra)),this.cutoffDistanceNode.value=i.distance,this.decayExponentNode.value=i.decay}getSpotAttenuation(t,i){let{coneCosNode:n,penumbraCosNode:s}=this;return H3(n,s,i)}getLightCoord(t){let i=t.getNodeProperties(this),n=i.projectionUV;return n===void 0&&(n=Q3e(this.light,t.context.positionWorld),i.projectionUV=n),n}setupDirect(t){let{colorNode:i,cutoffDistanceNode:n,decayExponentNode:s,light:o}=this,r=this.getLightVector(t),l=r.normalize(),d=l.dot(Uce(o)),h=this.getSpotAttenuation(t,d),p=r.length(),I=Gce({lightDistance:p,cutoffDistance:n,decayExponent:s}),m=i.mul(h).mul(I),y,T;return o.colorNode?(T=this.getLightCoord(t),y=o.colorNode(T)):o.map&&(T=this.getLightCoord(t),y=lo(o.map,T.xy).onRenderUpdate(()=>o.map)),y&&(m=T.mul(2).sub(1).abs().lessThan(1).all().select(m.mul(y),m)),{lightColor:m,lightDirection:l}}},Lae=class extends tz{static get type(){return"IESSpotLightNode"}getSpotAttenuation(t,i){let n=this.light.iesMap,s=null;if(n&&n.isTexture===!0){let o=i.acos().mul(1/Math.PI);s=lo(n,Hi(o,0),0).r}else s=super.getSpotAttenuation(i);return s}},Pae=class extends $S{static get type(){return"LightProbeNode"}constructor(t=null){super(t);let i=[];for(let n=0;n<9;n++)i.push(new ye);this.lightProbe=Yf(i)}update(t){let{light:i}=this;super.update(t);for(let n=0;n<9;n++)this.lightProbe.array[n].copy(i.sh.coefficients[n]).multiplyScalar(i.intensity)}setup(t){let i=Tge(m_,this.lightProbe);t.context.irradiance.addAssign(i)}},oVe=Wt(([e,t])=>{let i=e.abs().sub(t);return H2(fa(i,0)).add(nm(fa(i.x,i.y),0))}),Mae=class extends tz{static get type(){return"ProjectorLightNode"}update(t){super.update(t);let i=this.light;if(this.penumbraCosNode.value=Math.min(Math.cos(i.angle*(1-i.penumbra)),.99999),i.aspect===null){let n=1;i.map!==null&&(n=i.map.width/i.map.height),i.shadow.aspect=n}else i.shadow.aspect=i.aspect}getSpotAttenuation(t){let i=Et(0),n=this.penumbraCosNode,s=LK(this.light).mul(t.context.positionWorld||V2);return Fn(s.w.greaterThan(0),()=>{let o=s.xyz.div(s.w),r=oVe(o.xy.sub(Hi(.5)),Hi(.5)),l=B1(-1,Ks(1,kue(n)).sub(1));i.assign(wK(r.mul(-2).mul(l)))}),i}},Moe=new Ai,q$=new Ai,bk=null,Bae=class extends $S{static get type(){return"RectAreaLightNode"}constructor(t=null){super(t),this.halfHeight=Nn(new ye).setGroup(Mn),this.halfWidth=Nn(new ye).setGroup(Mn),this.updateType=Zn.RENDER}update(t){super.update(t);let{light:i}=this,n=t.camera.matrixWorldInverse;q$.identity(),Moe.copy(i.matrixWorld),Moe.premultiply(n),q$.extractRotation(Moe),this.halfWidth.value.set(i.width*.5,0,0),this.halfHeight.value.set(0,i.height*.5,0),this.halfWidth.value.applyMatrix4(q$),this.halfHeight.value.applyMatrix4(q$)}setupDirectRectArea(t){let i,n;t.isAvailable("float32Filterable")?(i=lo(bk.LTC_FLOAT_1),n=lo(bk.LTC_FLOAT_2)):(i=lo(bk.LTC_HALF_1),n=lo(bk.LTC_HALF_2));let{colorNode:s,light:o}=this,r=Fce(o);return{lightColor:s,lightPosition:r,halfWidth:this.halfWidth,halfHeight:this.halfHeight,ltc_1:i,ltc_2:n}}static setLTC(t){bk=t}},ZZ=class{parseFunction(){ci("Abstract function.")}},iz=class{constructor(t,i,n="",s=""){this.type=t,this.inputs=i,this.name=n,this.precision=s}getCode(){ci("Abstract function.")}};iz.isNodeFunction=!0;var rVe=/^\s*(highp|mediump|lowp)?\s*([a-z_0-9]+)\s*([a-z_0-9]+)?\s*\(([\s\S]*?)\)/i,lVe=/[a-z_0-9]+/ig,Y1e="#pragma main",aVe=e=>{e=e.trim();let t=e.indexOf(Y1e),i=t!==-1?e.slice(t+Y1e.length):e,n=i.match(rVe);if(n!==null&&n.length===5){let s=n[4],o=[],r=null;for(;(r=lVe.exec(s))!==null;)o.push(r);let l=[],d=0;for(;d<o.length;){let T=o[d][0]==="const";T===!0&&d++;let R=o[d][0];R==="in"||R==="out"||R==="inout"?d++:R="";let b=o[d++][0],A=Number.parseInt(o[d][0]);Number.isNaN(A)===!1?d++:A=null;let O=o[d++][0];l.push(new ez(b,O,A,R,T))}let h=i.substring(n[0].length),p=n[3]!==void 0?n[3]:"",I=n[2],m=n[1]!==void 0?n[1]:"",y=t!==-1?e.slice(0,t):"";return{type:I,inputs:l,name:p,precision:m,inputsCode:s,blockCode:h,headerCode:y}}else throw new Error("FunctionNode: Function is not a GLSL code.")},Fae=class extends iz{constructor(t){let{type:i,inputs:n,name:s,precision:o,inputsCode:r,blockCode:l,headerCode:d}=aVe(t);super(i,n,s,o),this.inputsCode=r,this.blockCode=l,this.headerCode=d}getCode(t=this.name){let i,n=this.blockCode;if(n!==""){let{type:s,inputsCode:o,headerCode:r,precision:l}=this,d=`${s} ${t} ( ${o.trim()} )`;l!==""&&(d=`${l} ${d}`),i=r+d+n}else i="";return i}},Uae=class extends ZZ{parseFunction(t){return new Fae(t)}},pE=[],KN=[],Hae=class extends Y2{constructor(t,i){super(),this.renderer=t,this.backend=i,this.nodeFrame=new $Z,this.nodeBuilderCache=new Map,this.callHashCache=new W2,this.groupsData=new W2,this._buildQueue=[],this._buildInProgress=!1,this.cacheLib={}}updateGroup(t){let i=t.groupNode;pE[0]=i,pE[1]=t;let n=this.groupsData.get(pE);return n===void 0&&this.groupsData.set(pE,n={}),pE[0]=null,pE[1]=null,n.version!==i.version?(n.version=i.version,!0):!1}getForRenderCacheKey(t){return t.initialCacheKey}_createNodeBuilder(t,i){let n=this.backend.createNodeBuilder(t.object,this.renderer);return n.scene=t.scene,n.material=i,n.camera=t.camera,n.context.material=i,n.lightsNode=t.lightsNode,n.environmentNode=this.getEnvironmentNode(t.scene),n.fogNode=this.getFogNode(t.scene),n.clippingContext=t.clippingContext,this.renderer.getOutputRenderTarget()&&this.renderer.getOutputRenderTarget().multiview&&n.enableMultiview(),n}getForRender(t,i=!1){let n=this.get(t),s=n.nodeBuilderState;if(s===void 0){let{nodeBuilderCache:o}=this,r=this.getForRenderCacheKey(t);if(s=o.get(r),s===void 0){let l=async()=>{let d=this._createNodeBuilder(t,t.material);try{i?await d.buildAsync():d.build()}catch(h){d=this._createNodeBuilder(t,new Ul),i?await d.buildAsync():d.build(),yi("TSL: "+h)}return d};if(i)return l().then(d=>(s=this._createNodeBuilderState(d),o.set(r,s),s.usedTimes++,n.nodeBuilderState=s,s));{let d=this._createNodeBuilder(t,t.material);try{d.build()}catch(h){d=this._createNodeBuilder(t,new Ul),d.build();let p=h.stackTrace;!p&&h.stack&&(p=new ha(h.stack)),yi("TSL: "+h,p)}s=this._createNodeBuilderState(d),o.set(r,s)}}s.usedTimes++,n.nodeBuilderState=s}return s}getForRenderAsync(t){let i=this.getForRender(t,!0);return i.then?i:Promise.resolve(i)}getForRenderDeferred(t){let i=this.get(t);if(i.nodeBuilderState!==void 0)return i.nodeBuilderState;let n=this.getForRenderCacheKey(t),s=this.nodeBuilderCache.get(n);return s!==void 0?(s.usedTimes++,i.nodeBuilderState=s,s):(i.pendingBuild!==!0&&(i.pendingBuild=!0,this._buildQueue.push(()=>this.getForRenderAsync(t).then(()=>{i.pendingBuild=!1})),this._processBuildQueue()),null)}_processBuildQueue(){if(this._buildInProgress||this._buildQueue.length===0)return;this._buildInProgress=!0,this._buildQueue.shift()().then(()=>{this._buildInProgress=!1,this._processBuildQueue()})}delete(t){if(t.isRenderObject){let i=this.get(t).nodeBuilderState;i!==void 0&&(i.usedTimes--,i.usedTimes===0&&this.nodeBuilderCache.delete(this.getForRenderCacheKey(t)))}return super.delete(t)}getForCompute(t){let i=this.get(t),n=i.nodeBuilderState;if(n===void 0){let s=this.backend.createNodeBuilder(t,this.renderer);s.build(),n=this._createNodeBuilderState(s),i.nodeBuilderState=n}return n}_createNodeBuilderState(t){return new uae(t.vertexShader,t.fragmentShader,t.computeShader,t.getAttributesArray(),t.getBindings(),t.updateNodes,t.updateBeforeNodes,t.updateAfterNodes,t.observer,t.transforms)}getEnvironmentNode(t){this.updateEnvironment(t);let i=null;if(t.environmentNode&&t.environmentNode.isNode)i=t.environmentNode;else{let n=this.get(t);n.environmentNode&&(i=n.environmentNode)}return i}getBackgroundNode(t){this.updateBackground(t);let i=null;if(t.backgroundNode&&t.backgroundNode.isNode)i=t.backgroundNode;else{let n=this.get(t);n.backgroundNode&&(i=n.backgroundNode)}return i}getFogNode(t){return this.updateFog(t),t.fogNode||this.get(t).fogNode||null}getCacheKey(t,i){pE[0]=t,pE[1]=i;let n=this.renderer.info.calls,s=this.callHashCache.get(pE)||{};if(s.callId!==n){let o=this.getEnvironmentNode(t),r=this.getFogNode(t);i&&KN.push(i.getCacheKey(!0)),o&&KN.push(o.getCacheKey()),r&&KN.push(r.getCacheKey()),KN.push(this.renderer.getOutputRenderTarget()&&this.renderer.getOutputRenderTarget().multiview?1:0),KN.push(this.renderer.shadowMap.enabled?1:0),KN.push(this.renderer.shadowMap.type),s.callId=n,s.cacheKey=sz(KN),this.callHashCache.set(pE,s),KN.length=0}return pE[0]=null,pE[1]=null,s.cacheKey}get isToneMappingState(){return!this.renderer.getRenderTarget()}updateBackground(t){let i=this.get(t),n=t.background;if(n){let s=t.backgroundBlurriness===0&&i.backgroundBlurriness>0||t.backgroundBlurriness>0&&i.backgroundBlurriness===0;if(i.background!==n||s){let o=this.getCacheNode("background",n,()=>{if(n.isCubeTexture===!0||n.mapping===rw||n.mapping===lw||n.mapping===BT){if(t.backgroundBlurriness>0||n.mapping===BT)return Cce(n);{let r;return n.isCubeTexture===!0?r=lI(n):r=lo(n),m3e(r)}}else{if(n.isTexture===!0)return lo(n,G2.flipY()).setUpdateMatrix(!0);n.isColor!==!0&&yi("WebGPUNodes: Unsupported background configuration.",n)}},s);i.backgroundNode=o,i.background=n,i.backgroundBlurriness=t.backgroundBlurriness}}else i.backgroundNode&&(delete i.backgroundNode,delete i.background)}getCacheNode(t,i,n,s=!1){let o=this.cacheLib[t]||(this.cacheLib[t]=new WeakMap),r=o.get(i);return(r===void 0||s)&&(r=n(),o.set(i,r)),r}updateFog(t){let i=this.get(t),n=t.fog;if(n){if(i.fog!==n){let s=this.getCacheNode("fog",n,()=>{if(n.isFogExp2){let o=Ar("color","color",n).setGroup(Mn),r=Ar("density","float",n).setGroup(Mn);return Xle(o,K3e(r))}else if(n.isFog){let o=Ar("color","color",n).setGroup(Mn),r=Ar("near","float",n).setGroup(Mn),l=Ar("far","float",n).setGroup(Mn);return Xle(o,Z3e(r,l))}else yi("Renderer: Unsupported fog configuration.",n)});i.fogNode=s,i.fog=n}}else delete i.fogNode,delete i.fog}updateEnvironment(t){let i=this.get(t),n=t.environment;if(n){if(i.environment!==n){let s=this.getCacheNode("environment",n,()=>{if(n.isCubeTexture===!0)return lI(n);if(n.isTexture===!0)return lo(n);yi("Nodes: Unsupported environment configuration.",n)});i.environmentNode=s,i.environment=n}}else i.environmentNode&&(delete i.environmentNode,delete i.environment)}getNodeFrame(t=this.renderer,i=null,n=null,s=null,o=null){let r=this.nodeFrame;return r.renderer=t,r.scene=i,r.object=n,r.camera=s,r.material=o,r}getNodeFrameForRender(t){return this.getNodeFrame(t.renderer,t.scene,t.object,t.camera,t.material)}getOutputCacheKey(){let t=this.renderer;return t.toneMapping+","+t.currentColorSpace+","+t.xr.isPresenting}getOutputNode(t){let i=this.renderer;return t.isArrayTexture?lo(t,G2).depth(KS("gl_ViewID_OVR")).renderOutput(i.toneMapping,i.currentColorSpace):lo(t,G2).renderOutput(i.toneMapping,i.currentColorSpace)}updateBefore(t){let i=t.getNodeBuilderState();for(let n of i.updateBeforeNodes)this.getNodeFrameForRender(t).updateBeforeNode(n)}updateAfter(t){let i=t.getNodeBuilderState();for(let n of i.updateAfterNodes)this.getNodeFrameForRender(t).updateAfterNode(n)}updateForCompute(t){let i=this.getNodeFrame(),n=this.getForCompute(t);for(let s of n.updateNodes)i.updateNode(s)}updateForRender(t){let i=this.getNodeFrameForRender(t),n=t.getNodeBuilderState();for(let s of n.updateNodes)i.updateNode(s)}needsRefresh(t){let i=this.getNodeFrameForRender(t);return t.getMonitor().needsRefresh(t,i)}dispose(){super.dispose(),this.nodeFrame=new $Z,this.nodeBuilderCache=new Map,this.cacheLib={}}},Boe=new es,KZ=class e{constructor(t=null){this.version=0,this.clipIntersection=null,this.cacheKey="",this.shadowPass=!1,this.viewNormalMatrix=new Qn,this.clippingGroupContexts=new WeakMap,this.intersectionPlanes=[],this.unionPlanes=[],this.parentVersion=null,t!==null&&(this.viewNormalMatrix=t.viewNormalMatrix,this.clippingGroupContexts=t.clippingGroupContexts,this.shadowPass=t.shadowPass,this.viewMatrix=t.viewMatrix)}projectPlanes(t,i,n){let s=t.length;for(let o=0;o<s;o++){Boe.copy(t[o]).applyMatrix4(this.viewMatrix,this.viewNormalMatrix);let r=i[n+o],l=Boe.normal;r.x=-l.x,r.y=-l.y,r.z=-l.z,r.w=Boe.constant}}updateGlobal(t,i){this.shadowPass=t.overrideMaterial!==null&&t.overrideMaterial.isShadowPassMaterial,this.viewMatrix=i.matrixWorldInverse,this.viewNormalMatrix.getNormalMatrix(this.viewMatrix)}update(t,i){let n=!1;t.version!==this.parentVersion&&(this.intersectionPlanes=Array.from(t.intersectionPlanes),this.unionPlanes=Array.from(t.unionPlanes),this.parentVersion=t.version),this.clipIntersection!==i.clipIntersection&&(this.clipIntersection=i.clipIntersection,this.clipIntersection?this.unionPlanes.length=t.unionPlanes.length:this.intersectionPlanes.length=t.intersectionPlanes.length);let s=i.clippingPlanes,o=s.length,r,l;if(this.clipIntersection?(r=this.intersectionPlanes,l=t.intersectionPlanes.length):(r=this.unionPlanes,l=t.unionPlanes.length),r.length!==l+o){r.length=l+o;for(let d=0;d<o;d++)r[l+d]=new xn;n=!0}this.projectPlanes(s,r,l),n&&(this.version++,this.cacheKey=`${this.intersectionPlanes.length}:${this.unionPlanes.length}`)}getGroupContext(t){if(this.shadowPass&&!t.clipShadows)return this;let i=this.clippingGroupContexts.get(t);return i===void 0&&(i=new e(this),this.clippingGroupContexts.set(t,i)),i.update(this,t),i}get unionClippingCount(){return this.unionPlanes.length}},Gae=class{constructor(t,i,n){this.bundleGroup=t,this.camera=i,this.renderContext=n}},QN=[],Vae=class{constructor(){this.bundles=new W2}get(t,i,n){let s=this.bundles;QN[0]=t,QN[1]=i,QN[2]=n;let o=s.get(QN);return o===void 0&&(o=new Gae(t,i,n),s.set(QN,o)),QN[0]=null,QN[1]=null,QN[2]=null,o}dispose(){this.bundles=new W2}},QZ=class{constructor(){this.lightNodes=new WeakMap,this.materialNodes=new Map,this.toneMappingNodes=new Map}fromMaterial(t){if(t.isNodeMaterial)return t;let i=null,n=this.getMaterialNodeClass(t.type);if(n!==null){i=new n;for(let s in t)i[s]=t[s]}return i}addToneMapping(t,i){this.addType(t,i,this.toneMappingNodes)}getToneMappingFunction(t){return this.toneMappingNodes.get(t)||null}getMaterialNodeClass(t){return this.materialNodes.get(t)||null}addMaterial(t,i){this.addType(t,i,this.materialNodes)}getLightNodeClass(t){return this.lightNodes.get(t)||null}addLight(t,i){this.addClass(t,i,this.lightNodes)}addType(t,i,n){if(n.has(i)){ci(`Redefinition of node ${i}`);return}if(typeof t!="function")throw new Error(`Node class ${t.name} is not a class.`);if(typeof i=="function"||typeof i=="object")throw new Error(`Base class ${i} is not a class.`);n.set(i,t)}addClass(t,i,n){if(n.has(i)){ci(`Redefinition of node ${i.name}`);return}if(typeof t!="function")throw new Error(`Node class ${t.name} is not a class.`);if(typeof i!="function")throw new Error(`Base class ${i.name} is not a class.`);n.set(i,t)}},uVe=new Jk,j1e=new WeakMap,kae=class{createNode(t=[]){return new Jk().setLights(t)}getNode(t){if(t.isQuadMesh)return uVe;let i=j1e.get(t);return i===void 0&&(i=this.createNode(),j1e.set(t,i)),i}},wx=class extends yf{constructor(t=1,i=1,n={}){super(t,i,n),this.isXRRenderTarget=!0,this._hasExternalTextures=!1,this._autoAllocateDepthBuffer=!0,this._isOpaqueFramebuffer=!1}copy(t){return super.copy(t),this._hasExternalTextures=t._hasExternalTextures,this._autoAllocateDepthBuffer=t._autoAllocateDepthBuffer,this._isOpaqueFramebuffer=t._isOpaqueFramebuffer,this}},q1e=new ye,$1e=new ye,Z1e=new WeakMap,zae=class extends jc{constructor(t,i=!1){super(),this.enabled=!1,this.isPresenting=!1,this.cameraAutoUpdate=!0,this._renderer=t,this._cameraL=new xo,this._cameraL.viewport=new xn,this._cameraR=new xo,this._cameraR.viewport=new xn,this._cameras=[this._cameraL,this._cameraR],this._cameraXR=new bC,this._currentDepthNear=null,this._currentDepthFar=null,this._controllers=[],this._controllerInputSources=[],this._xrRenderTarget=null,this._layers=[],this._sessionUsesLayers=!1,this._supportsGlBinding=typeof XRWebGLBinding<"u",this._createXRLayer=IVe.bind(this),this._gl=null,this._currentAnimationContext=null,this._currentAnimationLoop=null,this._currentPixelRatio=null,this._currentSize=new hi,this._onSessionEvent=hVe.bind(this),this._onSessionEnd=fVe.bind(this),this._onInputSourcesChange=pVe.bind(this),this._onAnimationFrame=mVe.bind(this),this._referenceSpace=null,this._referenceSpaceType="local-floor",this._customReferenceSpace=null,this._framebufferScaleFactor=1,this._foveation=1,this._session=null,this._glBaseLayer=null,this._glBinding=null,this._glProjLayer=null,this._xrFrame=null,this._supportsLayers=this._supportsGlBinding&&"createProjectionLayer"in XRWebGLBinding.prototype,this._useMultiviewIfPossible=i,this._useMultiview=!1}getController(t){return this._getController(t).getTargetRaySpace()}getControllerGrip(t){return this._getController(t).getGripSpace()}getHand(t){return this._getController(t).getHandSpace()}getFoveation(){if(!(this._glProjLayer===null&&this._glBaseLayer===null))return this._foveation}setFoveation(t){this._foveation=t,this._glProjLayer!==null&&(this._glProjLayer.fixedFoveation=t),this._glBaseLayer!==null&&this._glBaseLayer.fixedFoveation!==void 0&&(this._glBaseLayer.fixedFoveation=t)}getFramebufferScaleFactor(){return this._framebufferScaleFactor}setFramebufferScaleFactor(t){this._framebufferScaleFactor=t,this.isPresenting===!0&&ci("XRManager: Cannot change framebuffer scale while presenting.")}getReferenceSpaceType(){return this._referenceSpaceType}setReferenceSpaceType(t){this._referenceSpaceType=t,this.isPresenting===!0&&ci("XRManager: Cannot change reference space type while presenting.")}getReferenceSpace(){return this._customReferenceSpace||this._referenceSpace}setReferenceSpace(t){this._customReferenceSpace=t}getCamera(){return this._cameraXR}getEnvironmentBlendMode(){if(this._session!==null)return this._session.environmentBlendMode}getBinding(){return this._glBinding===null&&this._supportsGlBinding&&(this._glBinding=new XRWebGLBinding(this._session,this._gl)),this._glBinding}getFrame(){return this._xrFrame}useMultiview(){return this._useMultiview}createQuadLayer(t,i,n,s,o,r,l,d={}){let h=new dp(t,i),p=new wx(o,r,{format:Ko,type:Lo,depthTexture:new Zl(o,r,d.stencil?yh:co,void 0,void 0,void 0,void 0,void 0,void 0,d.stencil?$c:Aa),stencilBuffer:d.stencil,resolveDepthBuffer:!1,resolveStencilBuffer:!1});p._autoAllocateDepthBuffer=!0;let I=new Ho({color:16777215,side:$l});I.map=p.texture,I.map.offset.y=1,I.map.repeat.y=-1;let m=new _i(h,I);m.position.copy(n),m.quaternion.copy(s);let y={type:"quad",width:t,height:i,translation:n,quaternion:s,pixelwidth:o,pixelheight:r,plane:m,material:I,rendercall:l,renderTarget:p};if(this._layers.push(y),this._session!==null){y.plane.material=new Ho({color:16777215,side:$l}),y.plane.material.blending=ow,y.plane.material.blendEquation=Nc,y.plane.material.blendSrc=Ey,y.plane.material.blendDst=Ey,y.xrlayer=this._createXRLayer(y);let T=this._session.renderState.layers;T.unshift(y.xrlayer),this._session.updateRenderState({layers:T})}else p.isXRRenderTarget=!1;return m}createCylinderLayer(t,i,n,s,o,r,l,d,h={}){let p=new Lr(t,t,t*i/n,64,64,!0,Math.PI-i/2,i),I=new wx(r,l,{format:Ko,type:Lo,depthTexture:new Zl(r,l,h.stencil?yh:co,void 0,void 0,void 0,void 0,void 0,void 0,h.stencil?$c:Aa),stencilBuffer:h.stencil,resolveDepthBuffer:!1,resolveStencilBuffer:!1});I._autoAllocateDepthBuffer=!0;let m=new Ho({color:16777215,side:Js});m.map=I.texture,m.map.offset.y=1,m.map.repeat.y=-1;let y=new _i(p,m);y.position.copy(s),y.quaternion.copy(o);let T={type:"cylinder",radius:t,centralAngle:i,aspectratio:n,translation:s,quaternion:o,pixelwidth:r,pixelheight:l,plane:y,material:m,rendercall:d,renderTarget:I};if(this._layers.push(T),this._session!==null){T.plane.material=new Ho({color:16777215,side:Js}),T.plane.material.blending=ow,T.plane.material.blendEquation=Nc,T.plane.material.blendSrc=Ey,T.plane.material.blendDst=Ey,T.xrlayer=this._createXRLayer(T);let R=this._session.renderState.layers;R.unshift(T.xrlayer),this._session.updateRenderState({layers:R})}else I.isXRRenderTarget=!1;return y}renderLayers(){let t=new ye,i=new Gs,n=this._renderer,s=this.isPresenting;this.isPresenting=!1;let o=new hi;n.getSize(o);let r=n.getRenderTarget();for(let l of this._layers){l.renderTarget.isXRRenderTarget=this._session!==null,l.renderTarget._hasExternalTextures=l.renderTarget.isXRRenderTarget;let d=n.contextNode,h;if(l.renderTarget.isXRRenderTarget&&this._sessionUsesLayers){l.xrlayer.transform=new XRRigidTransform(l.plane.getWorldPosition(t),l.plane.getWorldQuaternion(i));let p=this._glBinding.getSubImage(l.xrlayer,this._xrFrame);n.backend.setXRRenderTargetTextures(l.renderTarget,p.colorTexture,void 0),n._setXRLayerSize(l.renderTarget.width,l.renderTarget.height),h=Z1e.get(d),h===void 0&&(h=d.context({getOutput:I=>lce(I,n.toneMapping,n.outputColorSpace)}),Z1e.set(d,h))}else h=d;n.contextNode=h,n.setRenderTarget(l.renderTarget),l.rendercall(),n.contextNode=d}n.setRenderTarget(r),n._setXRLayerSize(o.x,o.y),this.isPresenting=s}getSession(){return this._session}async setSession(t){let i=this._renderer,n=i.backend;this._gl=i.getContext();let s=this._gl,o=s.getContextAttributes();if(this._session=t,t!==null){if(n.isWebGPUBackend===!0)throw new Error('THREE.XRManager: XR is currently not supported with a WebGPU backend. Use WebGL by passing "{ forceWebGL: true }" to the constructor of the renderer.');if(t.addEventListener("select",this._onSessionEvent),t.addEventListener("selectstart",this._onSessionEvent),t.addEventListener("selectend",this._onSessionEvent),t.addEventListener("squeeze",this._onSessionEvent),t.addEventListener("squeezestart",this._onSessionEvent),t.addEventListener("squeezeend",this._onSessionEvent),t.addEventListener("end",this._onSessionEnd),t.addEventListener("inputsourceschange",this._onInputSourcesChange),await n.makeXRCompatible(),this._currentPixelRatio=i.getPixelRatio(),i.getSize(this._currentSize),this._currentAnimationContext=i._animation.getContext(),this._currentAnimationLoop=i._animation.getAnimationLoop(),i._animation.stop(),this._supportsLayers===!0){let r=null,l=null,d=null;i.depth&&(d=i.stencil?s.DEPTH24_STENCIL8:s.DEPTH_COMPONENT24,r=i.stencil?$c:Aa,l=i.stencil?yh:co);let h={colorFormat:s.RGBA8,depthFormat:d,scaleFactor:this._framebufferScaleFactor,clearOnAccess:!1};this._useMultiviewIfPossible&&i.hasFeature("OVR_multiview2")&&(h.textureType="texture-array",this._useMultiview=!0),this._glBinding=this.getBinding();let p=this._glBinding.createProjectionLayer(h),I=[p];this._glProjLayer=p,i.setPixelRatio(1),i._setXRLayerSize(p.textureWidth,p.textureHeight);let m=this._useMultiview?2:1,y=new Zl(p.textureWidth,p.textureHeight,l,void 0,void 0,void 0,void 0,void 0,void 0,r,m);if(this._xrRenderTarget=new wx(p.textureWidth,p.textureHeight,{format:Ko,type:Lo,colorSpace:i.outputColorSpace,depthTexture:y,stencilBuffer:i.stencil,samples:o.antialias?4:0,resolveDepthBuffer:p.ignoreDepthValues===!1,resolveStencilBuffer:p.ignoreDepthValues===!1,depth:this._useMultiview?2:1,multiview:this._useMultiview}),this._xrRenderTarget._hasExternalTextures=!0,this._xrRenderTarget.depth=this._useMultiview?2:1,this._sessionUsesLayers=t.enabledFeatures.includes("layers"),this._referenceSpace=await t.requestReferenceSpace(this.getReferenceSpaceType()),this._sessionUsesLayers)for(let T of this._layers)T.plane.material=new Ho({color:16777215,side:T.type==="cylinder"?Js:$l}),T.plane.material.blending=ow,T.plane.material.blendEquation=Nc,T.plane.material.blendSrc=Ey,T.plane.material.blendDst=Ey,T.xrlayer=this._createXRLayer(T),I.unshift(T.xrlayer);t.updateRenderState({layers:I})}else{let r={antialias:i.currentSamples>0,alpha:!0,depth:i.depth,stencil:i.stencil,framebufferScaleFactor:this.getFramebufferScaleFactor()},l=new XRWebGLLayer(t,s,r);this._glBaseLayer=l,t.updateRenderState({baseLayer:l}),i.setPixelRatio(1),i._setXRLayerSize(l.framebufferWidth,l.framebufferHeight),this._xrRenderTarget=new wx(l.framebufferWidth,l.framebufferHeight,{format:Ko,type:Lo,colorSpace:i.outputColorSpace,stencilBuffer:i.stencil,resolveDepthBuffer:l.ignoreDepthValues===!1,resolveStencilBuffer:l.ignoreDepthValues===!1}),this._xrRenderTarget._isOpaqueFramebuffer=!0,this._referenceSpace=await t.requestReferenceSpace(this.getReferenceSpaceType())}this.setFoveation(this.getFoveation()),i._animation.setAnimationLoop(this._onAnimationFrame),i._animation.setContext(t),i._animation.start(),this.isPresenting=!0,this.dispatchEvent({type:"sessionstart"})}}updateCamera(t){let i=this._session;if(i===null)return;let n=t.near,s=t.far,o=this._cameraXR,r=this._cameraL,l=this._cameraR;o.near=l.near=r.near=n,o.far=l.far=r.far=s,o.isMultiViewCamera=this._useMultiview,(this._currentDepthNear!==o.near||this._currentDepthFar!==o.far)&&(i.updateRenderState({depthNear:o.near,depthFar:o.far}),this._currentDepthNear=o.near,this._currentDepthFar=o.far),o.layers.mask=t.layers.mask|6,r.layers.mask=o.layers.mask&-5,l.layers.mask=o.layers.mask&-3;let d=t.parent,h=o.cameras;K1e(o,d);for(let p=0;p<h.length;p++)K1e(h[p],d);h.length===2?cVe(o,r,l):o.projectionMatrix.copy(r.projectionMatrix),dVe(t,o,d)}_getController(t){let i=this._controllers[t];return i===void 0&&(i=new jv,this._controllers[t]=i),i}};function cVe(e,t,i){q1e.setFromMatrixPosition(t.matrixWorld),$1e.setFromMatrixPosition(i.matrixWorld);let n=q1e.distanceTo($1e),s=t.projectionMatrix.elements,o=i.projectionMatrix.elements,r=s[14]/(s[10]-1),l=s[14]/(s[10]+1),d=(s[9]+1)/s[5],h=(s[9]-1)/s[5],p=(s[8]-1)/s[0],I=(o[8]+1)/o[0],m=r*p,y=r*I,T=n/(-p+I),R=T*-p;if(t.matrixWorld.decompose(e.position,e.quaternion,e.scale),e.translateX(R),e.translateZ(T),e.matrixWorld.compose(e.position,e.quaternion,e.scale),e.matrixWorldInverse.copy(e.matrixWorld).invert(),s[10]===-1)e.projectionMatrix.copy(t.projectionMatrix),e.projectionMatrixInverse.copy(t.projectionMatrixInverse);else{let b=r+T,A=l+T,O=m-R,P=y+(n-R),U=d*l/A*b,Z=h*l/A*b;e.projectionMatrix.makePerspective(O,P,U,Z,b,A),e.projectionMatrixInverse.copy(e.projectionMatrix).invert()}}function K1e(e,t){t===null?e.matrixWorld.copy(e.matrix):e.matrixWorld.multiplyMatrices(t.matrixWorld,e.matrix),e.matrixWorldInverse.copy(e.matrixWorld).invert()}function dVe(e,t,i){i===null?e.matrix.copy(t.matrixWorld):(e.matrix.copy(i.matrixWorld),e.matrix.invert(),e.matrix.multiply(t.matrixWorld)),e.matrix.decompose(e.position,e.quaternion,e.scale),e.updateMatrixWorld(!0),e.projectionMatrix.copy(t.projectionMatrix),e.projectionMatrixInverse.copy(t.projectionMatrixInverse),e.isPerspectiveCamera&&(e.fov=Wv*2*Math.atan(1/e.projectionMatrix.elements[5]),e.zoom=1)}function hVe(e){let t=this._controllerInputSources.indexOf(e.inputSource);if(t===-1)return;let i=this._controllers[t];if(i!==void 0){let n=this.getReferenceSpace();i.update(e.inputSource,e.frame,n),i.dispatchEvent({type:e.type,data:e.inputSource})}}function fVe(){let e=this._session,t=this._renderer;e.removeEventListener("select",this._onSessionEvent),e.removeEventListener("selectstart",this._onSessionEvent),e.removeEventListener("selectend",this._onSessionEvent),e.removeEventListener("squeeze",this._onSessionEvent),e.removeEventListener("squeezestart",this._onSessionEvent),e.removeEventListener("squeezeend",this._onSessionEvent),e.removeEventListener("end",this._onSessionEnd),e.removeEventListener("inputsourceschange",this._onInputSourcesChange);for(let i=0;i<this._controllers.length;i++){let n=this._controllerInputSources[i];n!==null&&(this._controllerInputSources[i]=null,this._controllers[i].disconnect(n))}if(this._currentDepthNear=null,this._currentDepthFar=null,t._resetXRState(),this._session=null,this._xrRenderTarget=null,this._glBinding=null,this._glBaseLayer=null,this._glProjLayer=null,this._sessionUsesLayers===!0)for(let i of this._layers)i.renderTarget=new wx(i.pixelwidth,i.pixelheight,{format:Ko,type:Lo,depthTexture:new Zl(i.pixelwidth,i.pixelheight,i.stencilBuffer?yh:co,void 0,void 0,void 0,void 0,void 0,void 0,i.stencilBuffer?$c:Aa),stencilBuffer:i.stencilBuffer,resolveDepthBuffer:!1,resolveStencilBuffer:!1}),i.renderTarget.isXRRenderTarget=!1,i.plane.material=i.material,i.material.map=i.renderTarget.texture,i.material.map.offset.y=1,i.material.map.repeat.y=-1,delete i.xrlayer;this.isPresenting=!1,this._useMultiview=!1,t._animation.stop(),t._animation.setAnimationLoop(this._currentAnimationLoop),t._animation.setContext(this._currentAnimationContext),t._animation.start(),t.setPixelRatio(this._currentPixelRatio),t.setSize(this._currentSize.width,this._currentSize.height,!1),this.dispatchEvent({type:"sessionend"})}function pVe(e){let t=this._controllers,i=this._controllerInputSources;for(let n=0;n<e.removed.length;n++){let s=e.removed[n],o=i.indexOf(s);o>=0&&(i[o]=null,t[o].disconnect(s))}for(let n=0;n<e.added.length;n++){let s=e.added[n],o=i.indexOf(s);if(o===-1){for(let l=0;l<t.length;l++)if(l>=i.length){i.push(s),o=l;break}else if(i[l]===null){i[l]=s,o=l;break}if(o===-1)break}let r=t[o];r&&r.connect(s)}}function IVe(e){return e.type==="quad"?this._glBinding.createQuadLayer({transform:new XRRigidTransform(e.translation,e.quaternion),width:e.width/2,height:e.height/2,space:this._referenceSpace,viewPixelWidth:e.pixelwidth,viewPixelHeight:e.pixelheight,clearOnAccess:!1}):this._glBinding.createCylinderLayer({transform:new XRRigidTransform(e.translation,e.quaternion),radius:e.radius,centralAngle:e.centralAngle,aspectRatio:e.aspectRatio,space:this._referenceSpace,viewPixelWidth:e.pixelwidth,viewPixelHeight:e.pixelheight,clearOnAccess:!1})}function mVe(e,t){if(t===void 0)return;let i=this._cameraXR,n=this._renderer,s=n.backend,o=this._glBaseLayer,r=this.getReferenceSpace(),l=t.getViewerPose(r);if(this._xrFrame=t,l!==null){let d=l.views;this._glBaseLayer!==null&&s.setXRTarget(o.framebuffer);let h=!1;d.length!==i.cameras.length&&(i.cameras.length=0,h=!0);for(let p=0;p<d.length;p++){let I=d[p],m;if(this._supportsLayers===!0){let T=this._glBinding.getViewSubImage(this._glProjLayer,I);m=T.viewport,p===0&&s.setXRRenderTargetTextures(this._xrRenderTarget,T.colorTexture,this._glProjLayer.ignoreDepthValues&&!this._useMultiview?void 0:T.depthStencilTexture)}else m=o.getViewport(I);let y=this._cameras[p];y===void 0&&(y=new xo,y.layers.enable(p),y.viewport=new xn,this._cameras[p]=y),y.matrix.fromArray(I.transform.matrix),y.matrix.decompose(y.position,y.quaternion,y.scale),y.projectionMatrix.fromArray(I.projectionMatrix),y.projectionMatrixInverse.copy(y.projectionMatrix).invert(),y.viewport.set(m.x,m.y,m.width,m.height),p===0&&(i.matrix.copy(y.matrix),i.matrix.decompose(i.position,i.quaternion,i.scale)),h===!0&&i.cameras.push(y)}n.setOutputRenderTarget(this._xrRenderTarget)}for(let d=0;d<this._controllers.length;d++){let h=this._controllerInputSources[d],p=this._controllers[d];h!==null&&p!==void 0&&p.update(h,t,r)}this._currentAnimationLoop&&this._currentAnimationLoop(e,t),t.detectedPlanes&&this.dispatchEvent({type:"planesdetected",data:t}),this._xrFrame=null}var Wae=class extends jc{constructor(t){super(),this.domElement=t,this._pixelRatio=1,this._width=this.domElement.width,this._height=this.domElement.height,this._viewport=new xn(0,0,this._width,this._height),this._scissor=new xn(0,0,this._width,this._height),this._scissorTest=!1,this.colorTexture=new Mb,this.depthTexture=new Zl}getPixelRatio(){return this._pixelRatio}getDrawingBufferSize(t){return t.set(this._width*this._pixelRatio,this._height*this._pixelRatio).floor()}getSize(t){return t.set(this._width,this._height)}setPixelRatio(t=1){this._pixelRatio!==t&&(this._pixelRatio=t,this.setSize(this._width,this._height,!1))}setDrawingBufferSize(t,i,n){this.xr&&this.xr.isPresenting||(this._width=t,this._height=i,this._pixelRatio=n,this.domElement.width=Math.floor(t*n),this.domElement.height=Math.floor(i*n),this.setViewport(0,0,t,i),this._dispatchResize())}setSize(t,i,n=!0){this.xr&&this.xr.isPresenting||(this._width=t,this._height=i,this.domElement.width=Math.floor(t*this._pixelRatio),this.domElement.height=Math.floor(i*this._pixelRatio),n===!0&&(this.domElement.style.width=t+"px",this.domElement.style.height=i+"px"),this.setViewport(0,0,t,i),this._dispatchResize())}getScissor(t){let i=this._scissor;return t.x=i.x,t.y=i.y,t.width=i.width,t.height=i.height,t}setScissor(t,i,n,s){let o=this._scissor;t.isVector4?o.copy(t):o.set(t,i,n,s)}getScissorTest(){return this._scissorTest}setScissorTest(t){this._scissorTest=t}getViewport(t){return t.copy(this._viewport)}setViewport(t,i,n,s,o=0,r=1){let l=this._viewport;t.isVector4?l.copy(t):l.set(t,i,n,s),l.minDepth=o,l.maxDepth=r}_dispatchResize(){this.dispatchEvent({type:"resize"})}dispose(){this.dispatchEvent({type:"dispose"})}},Q1e=new HI,O8=new hi,Foe=new xn,Uoe=new F0,Hoe=new lC,$$=new Ai,US=new xn,yVe={[$l]:Js,[Js]:$l,[so]:so},Yae=class{constructor(t,i={}){this.isRenderer=!0;let{logarithmicDepthBuffer:n=!1,reversedDepthBuffer:s=!1,alpha:o=!0,depth:r=!0,stencil:l=!1,antialias:d=!1,samples:h=0,getFallback:p=null,outputBufferType:I=sr,multiview:m=!1}=i;this.backend=t,this.autoClear=!0,this.autoClearColor=!0,this.autoClearDepth=!0,this.autoClearStencil=!0,this.alpha=o,this.logarithmicDepthBuffer=n,this.reversedDepthBuffer=s,this.outputColorSpace=Va,this.toneMapping=_c,this.toneMappingExposure=1,this.sortObjects=!0,this.depth=r,this.stencil=l,this.info=new vle,this.contextNode=ZS(),this.library=new QZ,this.lighting=new kae,this._samples=h||d===!0?4:0,this._onCanvasTargetResize=this._onCanvasTargetResize.bind(this),this._canvasTarget=new Wae(t.getDomElement()),this._canvasTarget.addEventListener("resize",this._onCanvasTargetResize),this._canvasTarget.isDefaultCanvasTarget=!0,this._inspector=new gZ,this._inspector.setRenderer(this),this._getFallback=p,this._attributes=null,this._geometries=null,this._nodes=null,this._animation=null,this._bindings=null,this._objects=null,this._pipelines=null,this._bundles=null,this._renderLists=null,this._renderContexts=null,this._textures=null,this._background=null,this._quadCache=new Map,this._currentRenderContext=null,this._opaqueSort=null,this._transparentSort=null,this._frameBufferTargets=new Map;let y=this.alpha===!0?0:1;this._clearColor=new $k(0,0,0,y),this._clearDepth=1,this._clearStencil=0,this._renderTarget=null,this._activeCubeFace=0,this._activeMipmapLevel=0,this._outputRenderTarget=null,this._mrt=null,this._renderObjectFunction=null,this._currentRenderObjectFunction=null,this._currentRenderBundle=null,this._handleObjectFunction=this._renderObjectDirect,this._isDeviceLost=!1,this.onDeviceLost=this._onDeviceLost,this._outputBufferType=I,this._cacheShadowNodes=new WeakMap,this._initialized=!1,this._callDepth=-1,this._initPromise=null,this._compilationPromises=null,this.transparent=!0,this.opaque=!0,this.shadowMap={enabled:!1,transmitted:!1,type:eR},this.xr=new zae(this,m),this.debug={checkShaderErrors:!0,onShaderError:null,getShaderAsync:async(T,R,b)=>{await this.compileAsync(T,R);let A=this._renderLists.get(T,R),O=this._renderContexts.get(this._renderTarget,this._mrt),P=T.overrideMaterial||b.material,U=this._objects.get(b,P,T,R,A.lightsNode,O,O.clippingContext),{fragmentShader:Z,vertexShader:ne}=U.getNodeBuilderState();return{fragmentShader:Z,vertexShader:ne}}}}async init(){return this._initPromise!==null?this._initPromise:(this._initPromise=new Promise(async(t,i)=>{let n=this.backend;try{await n.init(this)}catch(s){if(this._getFallback!==null)try{this.backend=n=this._getFallback(s),await n.init(this)}catch(o){i(o);return}else{i(s);return}}this._nodes=new Hae(this,n),this._animation=new yle(this,this._nodes,this.info),this._attributes=new gle(n,this.info),this._background=new aae(this,this._nodes),this._geometries=new wle(this._attributes,this.info),this._textures=new xle(this,n,this.info),this._pipelines=new Ale(n,this._nodes,this.info),this._bindings=new ble(n,this._nodes,this._textures,this._attributes,this._pipelines,this.info),this._objects=new Tle(this,this._nodes,this._geometries,this._pipelines,this._bindings,this.info),this._renderLists=new _le(this.lighting),this._bundles=new Vae,this._renderContexts=new Cle(this),this._animation.start(),this._initialized=!0,this._inspector.init(),t(this)}),this._initPromise)}get domElement(){return this._canvasTarget.domElement}get coordinateSystem(){return this.backend.coordinateSystem}async compileAsync(t,i,n=null){if(this._isDeviceLost===!0)return;this._initialized===!1&&await this.init();let s=this._nodes.nodeFrame,o=s.renderId,r=this._currentRenderContext,l=this._currentRenderObjectFunction,d=this._handleObjectFunction,h=this._compilationPromises;n===null&&(n=t);let p=t.isScene===!0?t:n.isScene===!0?n:Q1e,m=this.needsFrameBufferTarget&&this._renderTarget===null?this._getFrameBufferTarget():this._renderTarget||this._outputRenderTarget,y=this._renderContexts.get(m,this._mrt),T=this._activeMipmapLevel,R=[];this._currentRenderContext=y,this._currentRenderObjectFunction=this.renderObject,this._handleObjectFunction=this._createObjectPipeline,this._compilationPromises=R,s.renderId++,s.update(),y.depth=this.depth,y.stencil=this.stencil,y.clippingContext||(y.clippingContext=new KZ),y.clippingContext.updateGlobal(p,i),p.onBeforeRender(this,t,i,m);let b=this._renderLists.get(p,i);if(b.begin(),this._projectObject(t,i,0,b,y.clippingContext),n!==t&&n.traverseVisible(function(Z){Z.isLight&&Z.layers.test(i.layers)&&b.pushLight(Z)}),b.finish(),m!==null){this._textures.updateRenderTarget(m,T);let Z=this._textures.get(m);y.textures=Z.textures,y.depthTexture=Z.depthTexture}else y.textures=null,y.depthTexture=null;n!==t?this._background.update(n,b,y):this._background.update(p,b,y);let A=b.opaque,O=b.transparent,P=b.transparentDoublePass,U=b.lightsNode;this.opaque===!0&&A.length>0&&this._renderObjects(A,i,p,U),this.transparent===!0&&O.length>0&&this._renderTransparents(O,P,i,p,U),s.renderId=o,this._currentRenderContext=r,this._currentRenderObjectFunction=l,this._handleObjectFunction=d,this._compilationPromises=h;for(let Z of R){let ne=this._objects.get(Z.object,Z.material,Z.scene,Z.camera,Z.lightsNode,Z.renderContext,Z.clippingContext,Z.passId);ne.drawRange=Z.object.geometry.drawRange,ne.group=Z.group,this._geometries.updateForRender(ne),await this._nodes.getForRenderAsync(ne),this._nodes.updateBefore(ne),this._nodes.updateForRender(ne),this._bindings.updateForRender(ne);let K=[];this._pipelines.getForRender(ne,K),K.length>0&&await Promise.all(K),this._nodes.updateAfter(ne),await Nte()}}async renderAsync(t,i){Oo('Renderer: "renderAsync()" has been deprecated. Use "render()" and "await renderer.init();" when creating the renderer.'),await this.init(),this.render(t,i)}async waitForGPU(){yi("Renderer: waitForGPU() has been removed. Read https://github.com/mrdoob/three.js/issues/32012 for more information.")}set inspector(t){this._inspector!==null&&this._inspector.setRenderer(null),this._inspector=t,this._inspector.setRenderer(this)}get inspector(){return this._inspector}set highPrecision(t){let i=this.contextNode.value;t===!0?(i.modelViewMatrix=Rre,i.modelNormalViewMatrix=Sre):this.highPrecision&&(delete i.modelViewMatrix,delete i.modelNormalViewMatrix)}get highPrecision(){let t=this.contextNode.value;return t.modelViewMatrix===Rre&&t.modelNormalViewMatrix===Sre}setMRT(t){return this._mrt=t,this}getMRT(){return this._mrt}getOutputBufferType(){return this._outputBufferType}getColorBufferType(){return Oo('Renderer: ".getColorBufferType()" has been renamed to ".getOutputBufferType()".'),this.getOutputBufferType()}_onDeviceLost(t){let i=`THREE.WebGPURenderer: ${t.api} Device Lost:
|
||
|
||
Message: ${t.message}`;t.reason&&(i+=`
|
||
Reason: ${t.reason}`),yi(i),this._isDeviceLost=!0}_renderBundle(t,i,n){let{bundleGroup:s,camera:o,renderList:r}=t,l=this._currentRenderContext,d=this._bundles.get(s,o,l),h=this.backend.get(d),p=s.version!==h.version;if(p||h.bundleGPU===void 0){this.backend.beginBundle(l),(h.renderObjects===void 0||p)&&(h.renderObjects=[]),this._currentRenderBundle=d;let{transparentDoublePass:m,transparent:y,opaque:T}=r;this.opaque===!0&&T.length>0&&this._renderObjects(T,o,i,n),this.transparent===!0&&y.length>0&&this._renderTransparents(y,m,o,i,n),this._currentRenderBundle=null,this.backend.finishBundle(l,d),h.version=s.version}else{let{renderObjects:m}=h;for(let y=0,T=m.length;y<T;y++){let R=m[y];this._nodes.needsRefresh(R)&&(this._nodes.updateBefore(R),this._nodes.updateForRender(R),this._bindings.updateForRender(R),this._nodes.updateAfter(R))}}this.backend.addBundle(l,d)}render(t,i){if(this._initialized===!1)throw new Error('Renderer: .render() called before the backend is initialized. Use "await renderer.init();" before rendering.');this._renderScene(t,i)}get initialized(){return this._initialized}_getFrameBufferTarget(){let{currentToneMapping:t,currentColorSpace:i}=this,n=t!==_c,s=i!==Hn.workingColorSpace;if(n===!1&&s===!1)return null;let{width:o,height:r}=this.getDrawingBufferSize(O8),{depth:l,stencil:d}=this,h=this._outputRenderTarget||this._canvasTarget,p=this._frameBufferTargets.get(h);if(p===void 0){p=new yf(o,r,{depthBuffer:l,stencilBuffer:d,type:this._outputBufferType,format:Ko,colorSpace:Hn.workingColorSpace,generateMipmaps:!1,minFilter:Us,magFilter:Us,samples:this.samples}),p.isPostProcessingRenderTarget=!0;let b=()=>{h.removeEventListener("dispose",b),p.dispose(),this._frameBufferTargets.delete(h)};h.addEventListener("dispose",b),this._frameBufferTargets.set(h,p)}let I=this.getOutputRenderTarget();p.depthBuffer=l,p.stencilBuffer=d,I!==null?p.setSize(I.width,I.height,I.depth):p.setSize(o,r,1);let m=this._outputRenderTarget?this._outputRenderTarget.viewport:h._viewport,y=this._outputRenderTarget?this._outputRenderTarget.scissor:h._scissor,T=this._outputRenderTarget?1:h._pixelRatio,R=this._outputRenderTarget?this._outputRenderTarget.scissorTest:h._scissorTest;return p.viewport.copy(m),p.scissor.copy(y),p.viewport.multiplyScalar(T),p.scissor.multiplyScalar(T),p.scissorTest=R,p.multiview=I!==null?I.multiview:!1,p.resolveDepthBuffer=I!==null?I.resolveDepthBuffer:!0,p._autoAllocateDepthBuffer=I!==null?I._autoAllocateDepthBuffer:!1,p}_renderScene(t,i,n=!0){if(this._isDeviceLost===!0)return;let s=n?this._getFrameBufferTarget():null,o=this._nodes.nodeFrame,r=o.renderId,l=this._currentRenderContext,d=this._currentRenderObjectFunction,h=this._handleObjectFunction;this._callDepth++;let p=t.isScene===!0?t:Q1e,I=this._renderTarget||this._outputRenderTarget,m=this._activeCubeFace,y=this._activeMipmapLevel,T;if(s!==null?(T=s,this.setRenderTarget(T)):T=I,T!==null&&T.depthBuffer===!0){let Ee=this._textures.get(T);Ee.depthInitialized!==!0&&((this.autoClear===!1||this.autoClear===!0&&this.autoClearDepth===!1)&&this.clearDepth(),Ee.depthInitialized=!0)}let R=this._renderContexts.get(T,this._mrt,this._callDepth);this._currentRenderContext=R,this._currentRenderObjectFunction=this._renderObjectFunction||this.renderObject,this._handleObjectFunction=this._renderObjectDirect,this.info.calls++,this.info.render.calls++,this.info.render.frameCalls++,o.renderId=this.info.calls,this.backend.updateTimeStampUID(R),this.inspector.beginRender(this.backend.getTimestampUID(R),t,i,T);let b=this.xr;if(b.isPresenting===!1){let Ee=!1;if(this.reversedDepthBuffer===!0&&i.reversedDepth!==!0){if(i._reversedDepth=!0,i.isArrayCamera)for(let Qe of i.cameras)Qe._reversedDepth=!0;Ee=!0}let Ce=this.coordinateSystem;if(i.coordinateSystem!==Ce){if(i.coordinateSystem=Ce,i.isArrayCamera)for(let Qe of i.cameras)Qe.coordinateSystem=Ce;Ee=!0}if(Ee===!0&&(i.updateProjectionMatrix(),i.isArrayCamera))for(let Qe of i.cameras)Qe.updateProjectionMatrix()}t.matrixWorldAutoUpdate===!0&&t.updateMatrixWorld(),i.parent===null&&i.matrixWorldAutoUpdate===!0&&i.updateMatrixWorld(),b.enabled===!0&&b.isPresenting===!0&&(b.cameraAutoUpdate===!0&&b.updateCamera(i),i=b.getCamera());let A=this._canvasTarget,O=A._viewport,P=A._scissor,U=A._pixelRatio;T!==null&&(O=T.viewport,P=T.scissor,U=1),this.getDrawingBufferSize(O8),Foe.set(0,0,O8.width,O8.height);let Z=O.minDepth===void 0?0:O.minDepth,ne=O.maxDepth===void 0?1:O.maxDepth;R.viewportValue.copy(O).multiplyScalar(U).floor(),R.viewportValue.width>>=y,R.viewportValue.height>>=y,R.viewportValue.minDepth=Z,R.viewportValue.maxDepth=ne,R.viewport=R.viewportValue.equals(Foe)===!1,R.scissorValue.copy(P).multiplyScalar(U).floor(),R.scissor=A._scissorTest&&R.scissorValue.equals(Foe)===!1,R.scissorValue.width>>=y,R.scissorValue.height>>=y,R.clippingContext||(R.clippingContext=new KZ),R.clippingContext.updateGlobal(p,i),p.onBeforeRender(this,t,i,T);let K=i.isArrayCamera?Hoe:Uoe;i.isArrayCamera||($$.multiplyMatrices(i.projectionMatrix,i.matrixWorldInverse),K.setFromProjectionMatrix($$,i.coordinateSystem,i.reversedDepth));let oe=this._renderLists.get(t,i);if(oe.begin(),this._projectObject(t,i,0,oe,R.clippingContext),oe.finish(),this.sortObjects===!0&&oe.sort(this._opaqueSort,this._transparentSort),T!==null){this._textures.updateRenderTarget(T,y);let Ee=this._textures.get(T);R.textures=Ee.textures,R.depthTexture=Ee.depthTexture,R.width=Ee.width,R.height=Ee.height,R.renderTarget=T,R.depth=T.depthBuffer,R.stencil=T.stencilBuffer}else R.textures=null,R.depthTexture=null,R.width=O8.width,R.height=O8.height,R.depth=this.depth,R.stencil=this.stencil;R.width>>=y,R.height>>=y,R.activeCubeFace=m,R.activeMipmapLevel=y,R.occlusionQueryCount=oe.occlusionQueryCount,R.scissorValue.max(US.set(0,0,0,0)),R.scissorValue.x+R.scissorValue.width>R.width&&(R.scissorValue.width=Math.max(R.width-R.scissorValue.x,0)),R.scissorValue.y+R.scissorValue.height>R.height&&(R.scissorValue.height=Math.max(R.height-R.scissorValue.y,0)),this._background.update(p,oe,R),R.camera=i,this.backend.beginRender(R);let{bundles:se,lightsNode:he,transparentDoublePass:Re,transparent:ee,opaque:Ae}=oe;return se.length>0&&this._renderBundles(se,p,he),this.opaque===!0&&Ae.length>0&&this._renderObjects(Ae,i,p,he),this.transparent===!0&&ee.length>0&&this._renderTransparents(ee,Re,i,p,he),this.backend.finishRender(R),o.renderId=r,this._currentRenderContext=l,this._currentRenderObjectFunction=d,this._handleObjectFunction=h,this._callDepth--,s!==null&&(this.setRenderTarget(I,m,y),this._renderOutput(T)),p.onAfterRender(this,t,i,T),this.inspector.finishRender(this.backend.getTimestampUID(R)),R}_setXRLayerSize(t,i){this._canvasTarget._width=t,this._canvasTarget._height=i,this.setViewport(0,0,t,i)}_renderOutput(t){let i=this._nodes.getOutputCacheKey(),n=this._quadCache.get(t.texture),s;if(n===void 0){s=new Qk(new Ul),s.name="Output Color Transform",s.material.name="outputColorTransform",s.material.fragmentNode=this._nodes.getOutputNode(t.texture),n={quad:s,cacheKey:i},this._quadCache.set(t.texture,n);let l=()=>{s.material.dispose(),this._quadCache.delete(t.texture),t.texture.removeEventListener("dispose",l)};t.texture.addEventListener("dispose",l)}else s=n.quad,n.cacheKey!==i&&(s.material.fragmentNode=this._nodes.getOutputNode(t.texture),s.material.needsUpdate=!0,n.cacheKey=i);let o=this.autoClear,r=this.xr.enabled;this.autoClear=!1,this.xr.enabled=!1,this._renderScene(s,s.camera,!1),this.autoClear=o,this.xr.enabled=r}getMaxAnisotropy(){return this.backend.capabilities.getMaxAnisotropy()}getActiveCubeFace(){return this._activeCubeFace}getActiveMipmapLevel(){return this._activeMipmapLevel}async setAnimationLoop(t){this._initialized===!1&&await this.init(),this._animation.setAnimationLoop(t)}getAnimationLoop(){return this._animation.getAnimationLoop()}async getArrayBufferAsync(t,i=null,n=0,s=-1){if(i!==null&&i.isReadbackBuffer&&this.info.memoryMap.has(i)===!1){this.info.createReadbackBuffer(i);let o=()=>{i.removeEventListener("dispose",o),this.info.destroyReadbackBuffer(i)};i.addEventListener("dispose",o)}if(n%4!==0||s>0&&s%4!==0)throw new Error('THREE.Renderer: "getArrayBufferAsync()" offset and count must be a multiple of 4.');return await this.backend.getArrayBufferAsync(t,i,n,s)}getContext(){return this.backend.getContext()}getPixelRatio(){return this._canvasTarget.getPixelRatio()}getDrawingBufferSize(t){return this._canvasTarget.getDrawingBufferSize(t)}getSize(t){return this._canvasTarget.getSize(t)}setPixelRatio(t=1){this._canvasTarget.setPixelRatio(t)}setDrawingBufferSize(t,i,n){this.xr&&this.xr.isPresenting||this._canvasTarget.setDrawingBufferSize(t,i,n)}setSize(t,i,n=!0){this.xr&&this.xr.isPresenting||this._canvasTarget.setSize(t,i,n)}setOpaqueSort(t){this._opaqueSort=t}setTransparentSort(t){this._transparentSort=t}getScissor(t){return this._canvasTarget.getScissor(t)}setScissor(t,i,n,s){this._canvasTarget.setScissor(t,i,n,s)}getScissorTest(){return this._canvasTarget.getScissorTest()}setScissorTest(t){this._canvasTarget.setScissorTest(t),this.backend.setScissorTest(t)}getViewport(t){return this._canvasTarget.getViewport(t)}setViewport(t,i,n,s,o=0,r=1){this._canvasTarget.setViewport(t,i,n,s,o,r)}getClearColor(t){return t.copy(this._clearColor)}setClearColor(t,i=1){this._clearColor.set(t),this._clearColor.a=i}getClearAlpha(){return this._clearColor.a}setClearAlpha(t){this._clearColor.a=t}getClearDepth(){return this.reversedDepthBuffer===!0?1-this._clearDepth:this._clearDepth}setClearDepth(t){this._clearDepth=t}getClearStencil(){return this._clearStencil}setClearStencil(t){this._clearStencil=t}isOccluded(t){let i=this._currentRenderContext;return i&&this.backend.isOccluded(i,t)}clear(t=!0,i=!0,n=!0){if(this._initialized===!1)throw new Error('Renderer: .clear() called before the backend is initialized. Use "await renderer.init();" before before using this method.');let s=this._renderTarget||this._getFrameBufferTarget(),o=null;if(s!==null){this._textures.updateRenderTarget(s);let r=this._textures.get(s);o=this._renderContexts.get(s,null,-1),o.textures=r.textures,o.depthTexture=r.depthTexture,o.width=r.width,o.height=r.height,o.renderTarget=s,o.depth=s.depthBuffer,o.stencil=s.stencilBuffer;let l=this.backend.getClearColor();o.clearColorValue.r=l.r,o.clearColorValue.g=l.g,o.clearColorValue.b=l.b,o.clearColorValue.a=l.a,o.clearDepthValue=this.getClearDepth(),o.clearStencilValue=this.getClearStencil(),o.activeCubeFace=this.getActiveCubeFace(),o.activeMipmapLevel=this.getActiveMipmapLevel(),s.depthBuffer===!0&&(r.depthInitialized=!0)}this.backend.clear(t,i,n,o),s!==null&&this._renderTarget===null&&this._renderOutput(s)}clearColor(){this.clear(!0,!1,!1)}clearDepth(){this.clear(!1,!0,!1)}clearStencil(){this.clear(!1,!1,!0)}async clearAsync(t=!0,i=!0,n=!0){Oo('Renderer: "clearAsync()" has been deprecated. Use "clear()" and "await renderer.init();" when creating the renderer.'),await this.init(),this.clear(t,i,n)}async clearColorAsync(){Oo('Renderer: "clearColorAsync()" has been deprecated. Use "clearColor()" and "await renderer.init();" when creating the renderer.'),this.clear(!0,!1,!1)}async clearDepthAsync(){Oo('Renderer: "clearDepthAsync()" has been deprecated. Use "clearDepth()" and "await renderer.init();" when creating the renderer.'),this.clear(!1,!0,!1)}async clearStencilAsync(){Oo('Renderer: "clearStencilAsync()" has been deprecated. Use "clearStencil()" and "await renderer.init();" when creating the renderer.'),this.clear(!1,!1,!0)}get needsFrameBufferTarget(){let t=this.currentToneMapping!==_c,i=this.currentColorSpace!==Hn.workingColorSpace;return t||i}get samples(){return this._samples}get currentSamples(){let t=this._samples;return this._renderTarget!==null?t=this._renderTarget.samples:this.needsFrameBufferTarget&&(t=0),t}get currentToneMapping(){return this.isOutputTarget?this.toneMapping:_c}get currentColorSpace(){return this.isOutputTarget?this.outputColorSpace:Hn.workingColorSpace}get isOutputTarget(){return this._renderTarget===this._outputRenderTarget||this._renderTarget===null}dispose(){if(this._initialized===!0){this.info.dispose(),this.backend.dispose(),this._animation.dispose(),this._objects.dispose(),this._geometries.dispose(),this._pipelines.dispose(),this._nodes.dispose(),this._bindings.dispose(),this._renderLists.dispose(),this._renderContexts.dispose(),this._textures.dispose();for(let t of this._frameBufferTargets.keys())t.dispose();Object.values(this.backend.timestampQueryPool).forEach(t=>{t!==null&&t.dispose()})}this.setRenderTarget(null),this.setAnimationLoop(null)}setRenderTarget(t,i=0,n=0){this._renderTarget=t,this._activeCubeFace=i,this._activeMipmapLevel=n}getRenderTarget(){return this._renderTarget}setOutputRenderTarget(t){this._outputRenderTarget=t}getOutputRenderTarget(){return this._outputRenderTarget}setCanvasTarget(t){this._canvasTarget.removeEventListener("resize",this._onCanvasTargetResize),this._canvasTarget=t,this._canvasTarget.addEventListener("resize",this._onCanvasTargetResize)}getCanvasTarget(){return this._canvasTarget}_resetXRState(){this.backend.setXRTarget(null),this.setOutputRenderTarget(null),this.setRenderTarget(null);for(let t of this._frameBufferTargets.keys())t.dispose()}setRenderObjectFunction(t){this._renderObjectFunction=t}getRenderObjectFunction(){return this._renderObjectFunction}compute(t,i=null){if(this._isDeviceLost===!0)return;if(this._initialized===!1)return ci("Renderer: .compute() called before the backend is initialized. Try using .computeAsync() instead."),this.computeAsync(t,i);let n=this._nodes.nodeFrame,s=n.renderId;this.info.calls++,this.info.compute.calls++,this.info.compute.frameCalls++,n.renderId=this.info.calls,this.backend.updateTimeStampUID(t),this.inspector.beginCompute(this.backend.getTimestampUID(t),t);let o=this.backend,r=this._pipelines,l=this._bindings,d=this._nodes,h=Array.isArray(t)?t:[t];if(h[0]===void 0||h[0].isComputeNode!==!0)throw new Error("THREE.Renderer: .compute() expects a ComputeNode.");o.beginCompute(t);for(let p of h){if(r.has(p)===!1){let y=()=>{p.removeEventListener("dispose",y),r.delete(p),l.deleteForCompute(p),d.delete(p)};p.addEventListener("dispose",y);let T=p.onInitFunction;T!==null&&T.call(p,{renderer:this})}d.updateForCompute(p),l.updateForCompute(p);let I=l.getForCompute(p),m=r.getForCompute(p,I);o.compute(t,p,I,m,i)}o.finishCompute(t),n.renderId=s,this.inspector.finishCompute(this.backend.getTimestampUID(t))}async computeAsync(t,i=null){this._initialized===!1&&await this.init(),this.compute(t,i)}async hasFeatureAsync(t){return Oo('Renderer: "hasFeatureAsync()" has been deprecated. Use "hasFeature()" and "await renderer.init();" when creating the renderer.'),await this.init(),this.hasFeature(t)}async resolveTimestampsAsync(t="render"){return this._initialized===!1&&await this.init(),this.backend.resolveTimestampsAsync(t)}hasFeature(t){if(this._initialized===!1)throw new Error('Renderer: .hasFeature() called before the backend is initialized. Use "await renderer.init();" before before using this method.');return this.backend.hasFeature(t)}hasInitialized(){return this._initialized}async initTextureAsync(t){Oo('Renderer: "initTextureAsync()" has been deprecated. Use "initTexture()" and "await renderer.init();" when creating the renderer.'),await this.init(),this.initTexture(t)}initTexture(t){if(this._initialized===!1)throw new Error('Renderer: .initTexture() called before the backend is initialized. Use "await renderer.init();" before before using this method.');this._textures.updateTexture(t)}initRenderTarget(t){if(this._initialized===!1)throw new Error('Renderer: .initRenderTarget() called before the backend is initialized. Use "await renderer.init();" before before using this method.');this._textures.updateRenderTarget(t);let i=this._textures.get(t),n=this._renderContexts.get(t);n.textures=i.textures,n.depthTexture=i.depthTexture,n.width=i.width,n.height=i.height,n.renderTarget=t,n.depth=t.depthBuffer,n.stencil=t.stencilBuffer,this.backend.initRenderTarget(n)}copyFramebufferToTexture(t,i=null){if(i!==null)if(i.isVector2)i=US.set(i.x,i.y,t.image.width,t.image.height).floor();else if(i.isVector4)i=US.copy(i).floor();else{yi("Renderer.copyFramebufferToTexture: Invalid rectangle.");return}else i=US.set(0,0,t.image.width,t.image.height);let n=this._currentRenderContext,s;n!==null?s=n.renderTarget:(s=this._renderTarget||this._getFrameBufferTarget(),s!==null&&(this._textures.updateRenderTarget(s),n=this._textures.get(s))),this._textures.updateTexture(t,{renderTarget:s}),this.backend.copyFramebufferToTexture(t,n,i),this._inspector.copyFramebufferToTexture(t)}copyTextureToTexture(t,i,n=null,s=null,o=0,r=0){this._textures.updateTexture(t),this._textures.updateTexture(i),this.backend.copyTextureToTexture(t,i,n,s,o,r),this._inspector.copyTextureToTexture(t,i)}async readRenderTargetPixelsAsync(t,i,n,s,o,r=0,l=0){return this.backend.copyTextureToBuffer(t.textures[r],i,n,s,o,l)}_projectObject(t,i,n,s,o){if(t.visible===!1)return;if(t.layers.test(i.layers)){if(t.isGroup)n=t.renderOrder,t.isClippingGroup&&t.enabled&&(o=o.getGroupContext(t));else if(t.isLOD)t.autoUpdate===!0&&t.update(i);else if(t.isLight)s.pushLight(t);else if(t.isSprite){let d=i.isArrayCamera?Hoe:Uoe;if(!t.frustumCulled||d.intersectsSprite(t,i)){this.sortObjects===!0&&US.setFromMatrixPosition(t.matrixWorld).applyMatrix4($$);let{geometry:h,material:p}=t;p.visible&&s.push(t,h,p,n,US.z,null,o)}}else if(t.isLineLoop)yi("Renderer: Objects of type THREE.LineLoop are not supported. Please use THREE.Line or THREE.LineSegments.");else if(t.isMesh||t.isLine||t.isPoints){let d=i.isArrayCamera?Hoe:Uoe;if(!t.frustumCulled||d.intersectsObject(t,i)){let{geometry:h,material:p}=t;if(this.sortObjects===!0&&(h.boundingSphere===null&&h.computeBoundingSphere(),US.copy(h.boundingSphere.center).applyMatrix4(t.matrixWorld).applyMatrix4($$)),Array.isArray(p)){let I=h.groups;for(let m=0,y=I.length;m<y;m++){let T=I[m],R=p[T.materialIndex];R&&R.visible&&s.push(t,h,R,n,US.z,T,o)}}else p.visible&&s.push(t,h,p,n,US.z,null,o)}}}if(t.isBundleGroup===!0&&this.backend.beginBundle!==void 0){let d=s;s=this._renderLists.get(t,i),s.begin(),d.pushBundle({bundleGroup:t,camera:i,renderList:s}),s.finish()}let l=t.children;for(let d=0,h=l.length;d<h;d++)this._projectObject(l[d],i,n,s,o)}_renderBundles(t,i,n){for(let s of t)this._renderBundle(s,i,n)}_renderTransparents(t,i,n,s,o){if(i.length>0){for(let{material:r}of i)r.side=Js;this._renderObjects(i,n,s,o,"backSide");for(let{material:r}of i)r.side=$l;this._renderObjects(t,n,s,o);for(let{material:r}of i)r.side=so}else this._renderObjects(t,n,s,o)}_renderObjects(t,i,n,s,o=null){for(let r=0,l=t.length;r<l;r++){let{object:d,geometry:h,material:p,group:I,clippingContext:m}=t[r];this._currentRenderObjectFunction(d,n,i,h,p,I,s,m,o)}}_getShadowNodes(t){let i=t.version,n=this._cacheShadowNodes.get(t);if(n===void 0||n.version!==i){let s=t.map!==null,o=t.colorNode&&t.colorNode.isNode,r=t.castShadowNode&&t.castShadowNode.isNode,l=t.maskShadowNode&&t.maskShadowNode.isNode||t.maskNode&&t.maskNode.isNode,d=null,h=null,p=null;if(s||o||r||l){let I,m;if(r?(I=t.castShadowNode.rgb,m=t.castShadowNode.a,this.shadowMap.transmitted!==!0&&Oo("Renderer: `shadowMap.transmitted` needs to be set to `true` when using `material.castShadowNode`.")):(I=Gt(0),m=Et(1)),s&&(m=m.mul(Ar("map","texture",t).a)),o&&(m=m.mul(t.colorNode.a)),h=On(I,m),l){let y=t.maskShadowNode||t.maskNode;h=Wt(([T])=>(y.not().discard(),T))(h)}}t.depthNode&&t.depthNode.isNode&&(p=t.depthNode),t.castShadowPositionNode&&t.castShadowPositionNode.isNode?d=t.castShadowPositionNode:t.positionNode&&t.positionNode.isNode&&(d=t.positionNode),n={version:i,colorNode:h,depthNode:p,positionNode:d},this._cacheShadowNodes.set(t,n)}return n}renderObject(t,i,n,s,o,r,l,d=null,h=null){let p=!1,I,m,y,T;if(t.onBeforeRender(this,i,n,s,o,r),o.allowOverride===!0&&i.overrideMaterial!==null){let R=i.overrideMaterial;if(p=!0,I=R.isNodeMaterial?R.colorNode:null,m=R.isNodeMaterial?R.depthNode:null,y=R.isNodeMaterial?R.positionNode:null,T=i.overrideMaterial.side,o.positionNode&&o.positionNode.isNode&&(R.positionNode=o.positionNode),R.alphaTest=o.alphaTest,R.alphaMap=o.alphaMap,R.transparent=o.transparent||o.transmission>0||o.transmissionNode&&o.transmissionNode.isNode||o.backdropNode&&o.backdropNode.isNode,R.isShadowPassMaterial){let{colorNode:b,depthNode:A,positionNode:O}=this._getShadowNodes(o);this.shadowMap.type===xm?R.side=o.shadowSide!==null?o.shadowSide:o.side:R.side=o.shadowSide!==null?o.shadowSide:yVe[o.side],b!==null&&(R.colorNode=b),A!==null&&(R.depthNode=A),O!==null&&(R.positionNode=O)}o=R}o.transparent===!0&&o.side===so&&o.forceSinglePass===!1?(o.side=Js,this._handleObjectFunction(t,o,i,n,l,r,d,"backSide"),o.side=$l,this._handleObjectFunction(t,o,i,n,l,r,d,h),o.side=so):this._handleObjectFunction(t,o,i,n,l,r,d,h),p&&(i.overrideMaterial.colorNode=I,i.overrideMaterial.depthNode=m,i.overrideMaterial.positionNode=y,i.overrideMaterial.side=T),t.onAfterRender(this,i,n,s,o,r)}hasCompatibility(t){if(this._initialized===!1)throw new Error('Renderer: .hasCompatibility() called before the backend is initialized. Use "await renderer.init();" before using this method.');return this.backend.hasCompatibility(t)}_renderObjectDirect(t,i,n,s,o,r,l,d){let h=this._objects.get(t,i,n,s,o,this._currentRenderContext,l,d);h.drawRange=t.geometry.drawRange,h.group=r,this._currentRenderBundle!==null&&(this.backend.get(this._currentRenderBundle).renderObjects.push(h),h.bundle=this._currentRenderBundle.bundleGroup);let p=this._nodes.needsRefresh(h);p&&(this._nodes.updateBefore(h),this._geometries.updateForRender(h),this._nodes.updateForRender(h),this._bindings.updateForRender(h)),this._pipelines.updateForRender(h),this._pipelines.isReady(h)&&(this.backend.draw(h,this.info),p&&this._nodes.updateAfter(h))}_createObjectPipeline(t,i,n,s,o,r,l,d){if(this._compilationPromises!==null){this._compilationPromises.push({object:t,material:i,scene:n,camera:s,lightsNode:o,group:r,clippingContext:l,passId:d,renderContext:this._currentRenderContext});return}let h=this._objects.get(t,i,n,s,o,this._currentRenderContext,l,d);h.drawRange=t.geometry.drawRange,h.group=r,this._nodes.updateBefore(h),this._geometries.updateForRender(h),this._nodes.updateForRender(h),this._bindings.updateForRender(h),this._pipelines.getForRender(h,this._compilationPromises),this._nodes.updateAfter(h)}_onCanvasTargetResize(){this._initialized&&this.backend.updateSize()}get compile(){return this.compileAsync}},JZ=class{constructor(t=""){this.name=t,this.visibility=0}setVisibility(t){this.visibility|=t}getVisibility(){return this.visibility}clone(){return Object.assign(new this.constructor,this)}};function EVe(e){return e+(s_-e%s_)%s_}var XZ=class extends JZ{constructor(t,i=null){super(t),this.isBuffer=!0,this.bytesPerElement=Float32Array.BYTES_PER_ELEMENT,this._buffer=i,this._updateRanges=[]}get updateRanges(){return this._updateRanges}addUpdateRange(t,i){this.updateRanges.push({start:t,count:i})}clearUpdateRanges(){this.updateRanges.length=0}get byteLength(){return EVe(this._buffer.byteLength)}get buffer(){return this._buffer}update(){return!0}},eK=class extends XZ{constructor(t,i=null){super(t,i),this.isUniformBuffer=!0}},TVe=0,tK=class extends eK{constructor(t,i){super("UniformBuffer_"+TVe++,t?t.value:null),this.nodeUniform=t,this.groupNode=i,this.isNodeUniformBuffer=!0}set updateRanges(t){this.nodeUniform.updateRanges=t}get updateRanges(){return this.nodeUniform.updateRanges}addUpdateRange(t,i){this.nodeUniform.addUpdateRange(t,i)}clearUpdateRanges(){this.nodeUniform.clearUpdateRanges()}get buffer(){return this.nodeUniform.value}},jae=class extends eK{constructor(t){super(t),this.isUniformsGroup=!0,this._values=null,this.uniforms=[],this._updateRangeCache=new Map}addUniformUpdateRange(t){let i=t.index;if(this._updateRangeCache.has(i)!==!0){let n=this.updateRanges,s=t.offset,o=t.itemSize,r={start:s,count:o};n.push(r),this._updateRangeCache.set(i,r)}}clearUpdateRanges(){this._updateRangeCache.clear(),super.clearUpdateRanges()}addUniform(t){return this.uniforms.push(t),this}removeUniform(t){let i=this.uniforms.indexOf(t);return i!==-1&&this.uniforms.splice(i,1),this}get values(){return this._values===null&&(this._values=Array.from(this.buffer)),this._values}get buffer(){let t=this._buffer;if(t===null){let i=this.byteLength;t=new Float32Array(new ArrayBuffer(i)),this._buffer=t}return t}get byteLength(){let t=this.bytesPerElement,i=0;for(let n=0,s=this.uniforms.length;n<s;n++){let o=this.uniforms[n],r=o.boundary,l=o.itemSize*t,d=i%s_,h=d%r,p=d+h;i+=h,p!==0&&s_-p<l&&(i+=s_-p),o.offset=i/t,o.index=n,i+=l}return Math.ceil(i/s_)*s_}update(){let t=!1;for(let i of this.uniforms)this.updateByType(i)===!0&&(t=!0);return t}updateByType(t){if(t.isNumberUniform)return this.updateNumber(t);if(t.isVector2Uniform)return this.updateVector2(t);if(t.isVector3Uniform)return this.updateVector3(t);if(t.isVector4Uniform)return this.updateVector4(t);if(t.isColorUniform)return this.updateColor(t);if(t.isMatrix3Uniform)return this.updateMatrix3(t);if(t.isMatrix4Uniform)return this.updateMatrix4(t);yi("WebGPUUniformsGroup: Unsupported uniform type.",t)}updateNumber(t){let i=!1,n=this.values,s=t.getValue(),o=t.offset,r=t.getType();if(n[o]!==s){let l=this._getBufferForType(r);l[o]=n[o]=s,i=!0,this.addUniformUpdateRange(t)}return i}updateVector2(t){let i=!1,n=this.values,s=t.getValue(),o=t.offset,r=t.getType();if(n[o+0]!==s.x||n[o+1]!==s.y){let l=this._getBufferForType(r);l[o+0]=n[o+0]=s.x,l[o+1]=n[o+1]=s.y,i=!0,this.addUniformUpdateRange(t)}return i}updateVector3(t){let i=!1,n=this.values,s=t.getValue(),o=t.offset,r=t.getType();if(n[o+0]!==s.x||n[o+1]!==s.y||n[o+2]!==s.z){let l=this._getBufferForType(r);l[o+0]=n[o+0]=s.x,l[o+1]=n[o+1]=s.y,l[o+2]=n[o+2]=s.z,i=!0,this.addUniformUpdateRange(t)}return i}updateVector4(t){let i=!1,n=this.values,s=t.getValue(),o=t.offset,r=t.getType();if(n[o+0]!==s.x||n[o+1]!==s.y||n[o+2]!==s.z||n[o+3]!==s.w){let l=this._getBufferForType(r);l[o+0]=n[o+0]=s.x,l[o+1]=n[o+1]=s.y,l[o+2]=n[o+2]=s.z,l[o+3]=n[o+3]=s.w,i=!0,this.addUniformUpdateRange(t)}return i}updateColor(t){let i=!1,n=this.values,s=t.getValue(),o=t.offset;if(n[o+0]!==s.r||n[o+1]!==s.g||n[o+2]!==s.b){let r=this.buffer;r[o+0]=n[o+0]=s.r,r[o+1]=n[o+1]=s.g,r[o+2]=n[o+2]=s.b,i=!0,this.addUniformUpdateRange(t)}return i}updateMatrix3(t){let i=!1,n=this.values,s=t.getValue().elements,o=t.offset;if(n[o+0]!==s[0]||n[o+1]!==s[1]||n[o+2]!==s[2]||n[o+4]!==s[3]||n[o+5]!==s[4]||n[o+6]!==s[5]||n[o+8]!==s[6]||n[o+9]!==s[7]||n[o+10]!==s[8]){let r=this.buffer;r[o+0]=n[o+0]=s[0],r[o+1]=n[o+1]=s[1],r[o+2]=n[o+2]=s[2],r[o+4]=n[o+4]=s[3],r[o+5]=n[o+5]=s[4],r[o+6]=n[o+6]=s[5],r[o+8]=n[o+8]=s[6],r[o+9]=n[o+9]=s[7],r[o+10]=n[o+10]=s[8],i=!0,this.addUniformUpdateRange(t)}return i}updateMatrix4(t){let i=!1,n=this.values,s=t.getValue().elements,o=t.offset;return wVe(n,s,o)===!1&&(this.buffer.set(s,o),gVe(n,s,o),i=!0,this.addUniformUpdateRange(t)),i}_getBufferForType(t){return t==="int"||t==="ivec2"||t==="ivec3"||t==="ivec4"?new Int32Array(this.buffer.buffer):t==="uint"||t==="uvec2"||t==="uvec3"||t==="uvec4"?new Uint32Array(this.buffer.buffer):this.buffer}};function gVe(e,t,i){for(let n=0,s=t.length;n<s;n++)e[i+n]=t[n]}function wVe(e,t,i){for(let n=0,s=t.length;n<s;n++)if(e[i+n]!==t[n])return!1;return!0}var vVe=0,iK=class extends jae{constructor(t,i){super(t),this.id=vVe++,this.groupNode=i,this.isNodeUniformsGroup=!0}},nK=class extends JZ{constructor(t,i){super(t),this._texture=null,this._onTextureDispose=()=>{this.generation=null,this.version=-1},this.texture=i,this.version=i?i.version:-1,this.generation=null,this.samplerKey="",this.isSampler=!0}set texture(t){this._texture!==t&&(this._texture&&this._texture.removeEventListener("dispose",this._onTextureDispose),this._texture=t,this.generation=null,this.version=-1,this._texture&&this._texture.addEventListener("dispose",this._onTextureDispose))}get texture(){return this._texture}update(){let{texture:t,version:i}=this;return i!==t.version?(this.version=t.version,!0):!1}clone(){let t=super.clone();return t._texture=null,t._onTextureDispose=()=>{t.generation=null,t.version=-1},t.texture=this.texture,t}},RVe=0,qae=class extends nK{constructor(t,i){super(t,i),this.id=RVe++,this.store=!1,this.mipLevel=0,this.isSampledTexture=!0}},J8=class extends qae{constructor(t,i,n,s=null){super(t,i?i.value:null),this.textureNode=i,this.groupNode=n,this.access=s}update(){let{textureNode:t}=this;return this.texture!==t.value?(this.texture=t.value,!0):super.update()}},sK=class extends J8{constructor(t,i,n,s=null){super(t,i,n,s),this.isSampledCubeTexture=!0}},nz=class extends J8{constructor(t,i,n,s=null){super(t,i,n,s),this.isSampledTexture3D=!0}},J1e={bitcast_int_uint:new Ic("uint tsl_bitcast_int_to_uint ( int x ) { return floatBitsToUint( intBitsToFloat ( x ) ); }"),bitcast_uint_int:new Ic("uint tsl_bitcast_uint_to_int ( uint x ) { return floatBitsToInt( uintBitsToFloat ( x ) ); }")},SVe={textureDimensions:"textureSize",equals:"equal",bitcast_float_int:"floatBitsToInt",bitcast_int_float:"intBitsToFloat",bitcast_uint_float:"uintBitsToFloat",bitcast_float_uint:"floatBitsToUint",bitcast_uint_int:"tsl_bitcast_uint_to_int",bitcast_int_uint:"tsl_bitcast_int_to_uint",floatpack_snorm_2x16:"packSnorm2x16",floatpack_unorm_2x16:"packUnorm2x16",floatpack_float16_2x16:"packHalf2x16",floatunpack_snorm_2x16:"unpackSnorm2x16",floatunpack_unorm_2x16:"unpackUnorm2x16",floatunpack_float16_2x16:"unpackHalf2x16"},X1e={low:"lowp",medium:"mediump",high:"highp"},eye={swizzleAssign:!0,storageBuffer:!1},tye={perspective:"smooth",linear:"noperspective"},iye={centroid:"centroid"},nye=`
|
||
precision highp float;
|
||
precision highp int;
|
||
precision highp sampler2D;
|
||
precision highp sampler3D;
|
||
precision highp samplerCube;
|
||
precision highp sampler2DArray;
|
||
|
||
precision highp usampler2D;
|
||
precision highp usampler3D;
|
||
precision highp usamplerCube;
|
||
precision highp usampler2DArray;
|
||
|
||
precision highp isampler2D;
|
||
precision highp isampler3D;
|
||
precision highp isamplerCube;
|
||
precision highp isampler2DArray;
|
||
|
||
precision highp sampler2DShadow;
|
||
precision highp sampler2DArrayShadow;
|
||
precision highp samplerCubeShadow;
|
||
`,$ae=class extends qZ{constructor(t,i){super(t,i,new Uae),this.uniformGroups={},this.transforms=[],this.extensions={},this.builtins={vertex:[],fragment:[],compute:[]}}needsToWorkingColorSpace(t){return t.isVideoTexture===!0&&t.colorSpace!==Eh}_include(t){let i=J1e[t];return i.build(this),this.addInclude(i),i}getMethod(t){return J1e[t]!==void 0&&this._include(t),SVe[t]||t}getBitcastMethod(t,i){return this.getMethod(`bitcast_${i}_${t}`)}getFloatPackingMethod(t){return this.getMethod(`floatpack_${t}_2x16`)}getFloatUnpackingMethod(t){return this.getMethod(`floatunpack_${t}_2x16`)}getTernary(t,i,n){return`${t} ? ${i} : ${n}`}getOutputStructName(){return""}buildFunctionCode(t){let i=t.layout,n=this.flowShaderNode(t),s=[];for(let r of i.inputs)s.push(this.getType(r.type)+" "+r.name);return`${this.getType(i.type)} ${i.name}( ${s.join(", ")} ) {
|
||
|
||
${n.vars}
|
||
|
||
${n.code}
|
||
return ${n.result};
|
||
|
||
}`}setupPBO(t){let i=t.value;if(i.pbo===void 0){let n=i.array,s=i.count*i.itemSize,{itemSize:o}=i,r=i.array.constructor.name.toLowerCase().includes("int"),l=r?HT:uw;o===2?l=r?cw:Dc:o===3?l=r?oG:tR:o===4&&(l=r?iR:Ko);let d={Float32Array:Ro,Uint8Array:Lo,Uint16Array:mh,Uint32Array:co,Int8Array:FT,Int16Array:UT,Int32Array:Ya,Uint8ClampedArray:Lo},h=Math.pow(2,Math.ceil(Math.log2(Math.sqrt(s/o)))),p=Math.ceil(s/o/h);h*p*o<s&&p++;let I=h*p*o,m=new n.constructor(I);m.set(n,0),i.array=m;let y=new Ih(i.array,h,p,l,d[i.array.constructor.name]||Ro);y.needsUpdate=!0,y.isPBOTexture=!0;let T=new wE(y,null,null);T.setPrecision("high"),i.pboNode=T,i.pbo=T.value,this.getUniformFromNode(i.pboNode,"texture",this.shaderStage,this.context.nodeName)}}getPropertyName(t,i=this.shaderStage){return t.isNodeUniform&&t.node.isTextureNode!==!0&&t.node.isBufferNode!==!0?t.name:super.getPropertyName(t,i)}generatePBO(t){let{node:i,indexNode:n}=t,s=i.value;if(this.renderer.backend.has(s)){let p=this.renderer.backend.get(s);p.pbo=s.pbo}let o=this.getUniformFromNode(s.pboNode,"texture",this.shaderStage,this.context.nodeName),r=this.getPropertyName(o);this.increaseUsage(n);let l=n.build(this,"uint"),d=this.getDataFromNode(t),h=d.propertyName;if(h===void 0){let p=this.getVarFromNode(t);h=this.getPropertyName(p);let I=this.getDataFromNode(i),m=I.propertySizeName;m===void 0&&(m=h+"Size",this.getVarFromNode(i,m,"uint"),this.addLineFlowCode(`${m} = uint( textureSize( ${r}, 0 ).x )`,t),I.propertySizeName=m);let{itemSize:y}=s,T="."+Cx.join("").slice(0,y),R=`ivec2(${l} % ${m}, ${l} / ${m})`,b=this.generateTextureLoad(null,r,R,"0",null,null),A="vec4";s.pbo.type===co?A="uvec4":s.pbo.type===Ya&&(A="ivec4"),this.addLineFlowCode(`${h} = ${A}(${b})${T}`,t),d.propertyName=h}return h}generateTextureLoad(t,i,n,s,o,r){s===null&&(s="0");let l;return o?r?l=`texelFetchOffset( ${i}, ivec3( ${n}, ${o} ), int( ${s} ), ${r} )`:l=`texelFetch( ${i}, ivec3( ${n}, ${o} ), int( ${s} ) )`:r?l=`texelFetchOffset( ${i}, ${n}, int( ${s} ), ${r} )`:l=`texelFetch( ${i}, ${n}, int( ${s} ) )`,t!==null&&t.isDepthTexture&&(l+=".x"),l}generateTexture(t,i,n,s,o){return s&&(n=`vec3( ${n}, ${s} )`),t.isDepthTexture?o?`textureOffset( ${i}, ${n}, ${o} ).x`:`texture( ${i}, ${n} ).x`:o?`textureOffset( ${i}, ${n}, ${o} )`:`texture( ${i}, ${n} )`}generateTextureLevel(t,i,n,s,o,r){return o&&(n=`vec3( ${n}, ${o} )`),r?`textureLodOffset( ${i}, ${n}, ${s}, ${r} )`:`textureLod( ${i}, ${n}, ${s} )`}generateTextureBias(t,i,n,s,o,r){return o&&(n=`vec3( ${n}, ${o} )`),r?`textureOffset( ${i}, ${n}, ${r}, ${s} )`:`texture( ${i}, ${n}, ${s} )`}generateTextureGrad(t,i,n,s,o,r){return o&&(n=`vec3( ${n}, ${o} )`),r?`textureGradOffset( ${i}, ${n}, ${s[0]}, ${s[1]}, ${r} )`:`textureGrad( ${i}, ${n}, ${s[0]}, ${s[1]} )`}generateTextureCompare(t,i,n,s,o,r,l=this.shaderStage){if(l==="fragment")return t.isCubeTexture?`texture( ${i}, vec4( ${n}, ${s} ) )`:o?r?`textureOffset( ${i}, vec4( ${n}, ${o}, ${s} ), ${r} )`:`texture( ${i}, vec4( ${n}, ${o}, ${s} ) )`:r?`textureOffset( ${i}, vec3( ${n}, ${s} ), ${r} )`:`texture( ${i}, vec3( ${n}, ${s} ) )`;yi(`WebGPURenderer: THREE.DepthTexture.compareFunction() does not support ${l} shader.`)}getUniforms(t){let i=this.uniforms[t],n=[],s={};for(let r of i){let l=null,d=!1;if(r.type==="texture"||r.type==="texture3D"){let h=r.node.value,p="";(h.isDataTexture===!0||h.isData3DTexture===!0)&&(h.type===co?p="u":h.type===Ya&&(p="i")),r.type==="texture3D"&&h.isArrayTexture===!1?l=`${p}sampler3D ${r.name};`:h.compareFunction?h.isArrayTexture===!0?l=`sampler2DArrayShadow ${r.name};`:l=`sampler2DShadow ${r.name};`:h.isArrayTexture===!0||h.isDataArrayTexture===!0||h.isCompressedArrayTexture===!0?l=`${p}sampler2DArray ${r.name};`:l=`${p}sampler2D ${r.name};`}else if(r.type==="cubeTexture")l=`samplerCube ${r.name};`;else if(r.type==="cubeDepthTexture")r.node.value.compareFunction?l=`samplerCubeShadow ${r.name};`:l=`samplerCube ${r.name};`;else if(r.type==="buffer"){let h=r.node,p=this.getType(h.bufferType),I=h.bufferCount,m=I>0?I:"";l=`${h.name} {
|
||
${p} ${r.name}[${m}];
|
||
};
|
||
`}else{let h=r.groupNode.name;if(s[h]===void 0){let p=this.uniformGroups[h];if(p!==void 0){let I=[];for(let m of p.uniforms){let y=m.getType(),T=this.getVectorType(y),R=m.nodeUniform.node.precision,b=`${T} ${m.name};`;R!==null&&(b=X1e[R]+" "+b),I.push(" "+b)}s[h]=I}}d=!0}if(!d){let h=r.node.precision;h!==null&&(l=X1e[h]+" "+l),l="uniform "+l,n.push(l)}}let o="";for(let r in s){let l=s[r];o+=this._getGLSLUniformStruct(r,l.join(`
|
||
`))+`
|
||
`}return o+=n.join(`
|
||
`),o}getTypeFromAttribute(t){let i=super.getTypeFromAttribute(t);if(/^[iu]/.test(i)&&t.gpuType!==Ya){let n=t;t.isInterleavedBufferAttribute&&(n=t.data);let s=n.array;s instanceof Uint32Array||s instanceof Int32Array||(i=i.slice(1))}return i}getAttributes(t){let i="";if(t==="vertex"||t==="compute"){let n=this.getAttributesArray(),s=0;for(let o of n)i+=`layout( location = ${s++} ) in ${o.type} ${o.name};
|
||
`}return i}getStructMembers(t){let i=[];for(let n of t.members)i.push(` ${n.type} ${n.name};`);return i.join(`
|
||
`)}getStructs(t){let i=[],n=this.structs[t],s=[];for(let o of n)if(o.output)for(let r of o.members)s.push(`layout( location = ${r.index} ) out ${r.type} ${r.name};`);else{let r="struct "+o.name+` {
|
||
`;r+=this.getStructMembers(o),r+=`
|
||
};
|
||
`,i.push(r)}return s.length===0&&s.push("layout( location = 0 ) out vec4 fragColor;"),`
|
||
`+s.join(`
|
||
`)+`
|
||
|
||
`+i.join(`
|
||
`)}getVaryings(t){let i="",n=this.varyings;if(t==="vertex"||t==="compute")for(let s of n){t==="compute"&&(s.needsInterpolation=!0);let o=this.getType(s.type);if(s.needsInterpolation)if(s.interpolationType){let r=tye[s.interpolationType]||s.interpolationType,l=iye[s.interpolationSampling]||"";i+=`${r} ${l} out ${o} ${s.name};
|
||
`}else{let r=o.includes("int")||o.includes("uv")||o.includes("iv")?"flat ":"";i+=`${r}out ${o} ${s.name};
|
||
`}else i+=`${o} ${s.name};
|
||
`}else if(t==="fragment"){for(let s of n)if(s.needsInterpolation){let o=this.getType(s.type);if(s.interpolationType){let r=tye[s.interpolationType]||s.interpolationType,l=iye[s.interpolationSampling]||"";i+=`${r} ${l} in ${o} ${s.name};
|
||
`}else{let r=o.includes("int")||o.includes("uv")||o.includes("iv")?"flat ":"";i+=`${r}in ${o} ${s.name};
|
||
`}}}for(let s of this.builtins[t])i+=`${s};
|
||
`;return i}getVertexIndex(){return"uint( gl_VertexID )"}getInstanceIndex(){return"uint( gl_InstanceID )"}getInvocationLocalIndex(){return`uint( gl_InstanceID ) % ${this.object.workgroupSize.reduce((n,s)=>n*s,1)}u`}getSubgroupSize(){yi("GLSLNodeBuilder: WebGLBackend does not support the subgroupSize node")}getInvocationSubgroupIndex(){yi("GLSLNodeBuilder: WebGLBackend does not support the invocationSubgroupIndex node")}getSubgroupIndex(){yi("GLSLNodeBuilder: WebGLBackend does not support the subgroupIndex node")}getDrawIndex(){return this.renderer.backend.extensions.has("WEBGL_multi_draw")?"uint( gl_DrawID )":"nodeUniformDrawId"}getFrontFacing(){return"gl_FrontFacing"}getFragCoord(){return"gl_FragCoord.xy"}getFragDepth(){return"gl_FragDepth"}enableExtension(t,i,n=this.shaderStage){let s=this.extensions[n]||(this.extensions[n]=new Map);s.has(t)===!1&&s.set(t,{name:t,behavior:i})}getExtensions(t){let i=[];if(t==="vertex"){let s=this.renderer.backend.extensions;this.object.isBatchedMesh&&s.has("WEBGL_multi_draw")&&this.enableExtension("GL_ANGLE_multi_draw","require",t)}let n=this.extensions[t];if(n!==void 0)for(let{name:s,behavior:o}of n.values())i.push(`#extension ${s} : ${o}`);return i.join(`
|
||
`)}getClipDistance(){return"gl_ClipDistance"}isAvailable(t){let i=eye[t];if(i===void 0){let n;switch(i=!1,t){case"float32Filterable":n="OES_texture_float_linear";break;case"clipDistance":n="WEBGL_clip_cull_distance";break}if(n!==void 0){let s=this.renderer.backend.extensions;s.has(n)&&(s.get(n),i=!0)}eye[t]=i}return i}isFlipY(){return!0}enableHardwareClipping(t){this.enableExtension("GL_ANGLE_clip_cull_distance","require"),this.builtins.vertex.push(`out float gl_ClipDistance[ ${t} ]`)}enableMultiview(){this.enableExtension("GL_OVR_multiview2","require","fragment"),this.enableExtension("GL_OVR_multiview2","require","vertex"),this.builtins.vertex.push("layout(num_views = 2) in")}registerTransform(t,i){this.transforms.push({varyingName:t,attributeNode:i})}getTransforms(){let t=this.transforms,i="";for(let n=0;n<t.length;n++){let s=t[n],o=this.getPropertyName(s.attributeNode);o&&(i+=`${s.varyingName} = ${o};
|
||
`)}return i}_getGLSLUniformStruct(t,i){return`
|
||
layout( std140 ) uniform ${t} {
|
||
${i}
|
||
};`}_getGLSLVertexCode(t){return`#version 300 es
|
||
|
||
${this.getSignature()}
|
||
|
||
// extensions
|
||
${t.extensions}
|
||
|
||
// precision
|
||
${nye}
|
||
|
||
// uniforms
|
||
${t.uniforms}
|
||
|
||
// varyings
|
||
${t.varyings}
|
||
|
||
// attributes
|
||
${t.attributes}
|
||
|
||
// vars
|
||
${t.vars}
|
||
|
||
// codes
|
||
${t.codes}
|
||
|
||
void main() {
|
||
|
||
// transforms
|
||
${t.transforms}
|
||
|
||
// flow
|
||
${t.flow}
|
||
|
||
gl_PointSize = 1.0;
|
||
|
||
}
|
||
`}_getGLSLFragmentCode(t){return`#version 300 es
|
||
|
||
${this.getSignature()}
|
||
|
||
// extensions
|
||
${t.extensions}
|
||
|
||
// precision
|
||
${nye}
|
||
|
||
// structs
|
||
${t.structs}
|
||
|
||
// uniforms
|
||
${t.uniforms}
|
||
|
||
// varyings
|
||
${t.varyings}
|
||
|
||
// vars
|
||
${t.vars}
|
||
|
||
// codes
|
||
${t.codes}
|
||
|
||
void main() {
|
||
|
||
// flow
|
||
${t.flow}
|
||
|
||
}
|
||
`}buildCode(){let t=this.material!==null?{fragment:{},vertex:{}}:{compute:{}};this.sortBindingGroups();for(let i in t){let n=`// code
|
||
|
||
`;n+=this.flowCode[i];let s=this.flowNodes[i],o=s[s.length-1];for(let l of s){let d=this.getFlowData(l),h=l.name;h&&(n.length>0&&(n+=`
|
||
`),n+=` // flow -> ${h}
|
||
`),n+=`${d.code}
|
||
`,l===o&&i!=="compute"&&(n+=`// result
|
||
`,i==="vertex"?(n+="gl_Position = ",n+=`${d.result};`):i==="fragment"&&(l.outputNode.isOutputStructNode||(n+="fragColor = ",n+=`${d.result};`)))}let r=t[i];if(r.extensions=this.getExtensions(i),r.uniforms=this.getUniforms(i),r.attributes=this.getAttributes(i),r.varyings=this.getVaryings(i),r.vars=this.getVars(i,!0),r.structs=this.getStructs(i),r.codes=this.getCodes(i),r.transforms=this.getTransforms(i),r.flow=n,i==="vertex"){let l=this.renderer.backend.extensions;this.object.isBatchedMesh&&l.has("WEBGL_multi_draw")===!1&&(r.uniforms+=`
|
||
uniform uint nodeUniformDrawId;
|
||
`)}}this.material!==null?(this.vertexShader=this._getGLSLVertexCode(t.vertex),this.fragmentShader=this._getGLSLFragmentCode(t.fragment)):this.computeShader=this._getGLSLVertexCode(t.compute)}getUniformFromNode(t,i,n,s=null){let o=super.getUniformFromNode(t,i,n,s),r=this.getDataFromNode(t,n,this.globalCache),l=r.uniformGPU;if(l===void 0){let d=t.groupNode,h=d.name,p=this.getBindGroupArray(h,n);if(i==="texture")l=new J8(o.name,o.node,d),p.push(l);else if(i==="cubeTexture"||i==="cubeDepthTexture")l=new sK(o.name,o.node,d),p.push(l);else if(i==="texture3D")l=new nz(o.name,o.node,d),p.push(l);else if(i==="buffer"){o.name=`buffer${t.id}`;let I=this.getSharedDataFromNode(t),m=I.buffer;m===void 0&&(t.name=`NodeBuffer_${t.id}`,m=new tK(t,d),m.name=t.name,I.buffer=m),p.push(m),l=m}else{let I=this.uniformGroups[h];I===void 0?(I=new iK(h,d),this.uniformGroups[h]=I,p.push(I)):p.indexOf(I)===-1&&p.push(I),l=this.getNodeUniform(o,i);let m=l.name;I.uniforms.some(T=>T.name===m)||I.addUniform(l)}r.uniformGPU=l}return o}},Goe=null,L8=null,oK=class{constructor(t={}){this.parameters=Object.assign({},t),this.data=new WeakMap,this.renderer=null,this.domElement=null,this.timestampQueryPool={[Lm.RENDER]:null,[Lm.COMPUTE]:null},this.trackTimestamp=t.trackTimestamp===!0}async init(t){this.renderer=t}get coordinateSystem(){}beginRender(){}finishRender(){}beginCompute(){}finishCompute(){}draw(){}compute(){}createProgram(){}destroyProgram(){}createBindings(){}updateBindings(){}updateBinding(){}createRenderPipeline(){}createComputePipeline(){}needsRenderUpdate(){}getRenderCacheKey(){}createNodeBuilder(){}updateSampler(){}createDefaultTexture(){}createTexture(){}updateTexture(){}generateMipmaps(){}destroyTexture(){}async copyTextureToBuffer(){}copyTextureToTexture(){}copyFramebufferToTexture(){}createAttribute(){}createIndexAttribute(){}createStorageAttribute(){}updateAttribute(){}destroyAttribute(){}getContext(){}updateSize(){}updateViewport(){}updateTimeStampUID(t){let i=this.get(t),n=this.renderer.info.frame,s;t.isComputeNode===!0?s="c:"+this.renderer.info.compute.frameCalls:s="r:"+this.renderer.info.render.frameCalls,i.timestampUID=s+":"+t.id+":f"+n}getTimestampUID(t){return this.get(t).timestampUID}getTimestampFrames(t){let i=this.timestampQueryPool[t];return i?i.getTimestampFrames():[]}_getQueryPool(t){let i=t.startsWith("c:")?Lm.COMPUTE:Lm.RENDER;return this.timestampQueryPool[i]}getTimestamp(t){return this._getQueryPool(t).getTimestamp(t)}hasTimestamp(t){return this._getQueryPool(t).hasTimestamp(t)}isOccluded(){}async resolveTimestampsAsync(t="render"){if(!this.trackTimestamp){Oo("WebGPURenderer: Timestamp tracking is disabled.");return}let i=this.timestampQueryPool[t];if(!i)return;let n=await i.resolveQueriesAsync();return this.renderer.info[t].timestamp=n,n}async getArrayBufferAsync(){}async hasFeatureAsync(){}hasFeature(){}getDrawingBufferSize(){return Goe=Goe||new hi,this.renderer.getDrawingBufferSize(Goe)}setScissorTest(){}getClearColor(){let t=this.renderer;return L8=L8||new $k,t.getClearColor(L8),L8.getRGB(L8),L8}getDomElement(){let t=this.domElement;return t===null&&(t=this.parameters.canvas!==void 0?this.parameters.canvas:dG(),"setAttribute"in t&&t.setAttribute("data-engine",`three.js r${"184"} webgpu`),this.domElement=t),t}hasCompatibility(){return!1}initRenderTarget(){}set(t,i){this.data.set(t,i)}get(t){let i=this.data.get(t);return i===void 0&&(i={},this.data.set(t,i)),i}has(t){return this.data.has(t)}delete(t){this.data.delete(t)}deleteBindGroupData(){}dispose(){}},AVe=0,Zae=class{constructor(t,i){this.buffers=[t.bufferGPU,i],this.type=t.type,this.bufferType=t.bufferType,this.pbo=t.pbo,this.byteLength=t.byteLength,this.bytesPerElement=t.BYTES_PER_ELEMENT,this.version=t.version,this.isInteger=t.isInteger,this.activeBufferIndex=0,this.baseId=t.id}get id(){return`${this.baseId}|${this.activeBufferIndex}`}get bufferGPU(){return this.buffers[this.activeBufferIndex]}get transformBuffer(){return this.buffers[this.activeBufferIndex^1]}switchBuffers(){this.activeBufferIndex^=1}},Kae=class{constructor(t){this.backend=t}createAttribute(t,i){let n=this.backend,{gl:s}=n,o=t.array,r=t.usage||s.STATIC_DRAW,l=t.isInterleavedBufferAttribute?t.data:t,d=n.get(l),h=d.bufferGPU;h===void 0&&(h=this._createBuffer(s,i,o,r),d.bufferGPU=h,d.bufferType=i,d.version=l.version);let p;if(o instanceof Float32Array)p=s.FLOAT;else if(typeof Float16Array<"u"&&o instanceof Float16Array)p=s.HALF_FLOAT;else if(o instanceof Uint16Array)t.isFloat16BufferAttribute?p=s.HALF_FLOAT:p=s.UNSIGNED_SHORT;else if(o instanceof Int16Array)p=s.SHORT;else if(o instanceof Uint32Array)p=s.UNSIGNED_INT;else if(o instanceof Int32Array)p=s.INT;else if(o instanceof Int8Array)p=s.BYTE;else if(o instanceof Uint8Array)p=s.UNSIGNED_BYTE;else if(o instanceof Uint8ClampedArray)p=s.UNSIGNED_BYTE;else throw new Error("THREE.WebGLBackend: Unsupported buffer data format: "+o);let I={bufferGPU:h,bufferType:i,type:p,byteLength:o.byteLength,bytesPerElement:o.BYTES_PER_ELEMENT,version:t.version,pbo:t.pbo,isInteger:p===s.INT||p===s.UNSIGNED_INT||t.gpuType===Ya,id:AVe++};if(t.isStorageBufferAttribute||t.isStorageInstancedBufferAttribute){let m=this._createBuffer(s,i,o,r);I=new Zae(I,m)}n.set(t,I)}updateAttribute(t){let i=this.backend,{gl:n}=i,s=t.array,o=t.isInterleavedBufferAttribute?t.data:t,r=i.get(o),l=r.bufferType,d=t.isInterleavedBufferAttribute?t.data.updateRanges:t.updateRanges;if(n.bindBuffer(l,r.bufferGPU),d.length===0)n.bufferSubData(l,0,s);else{for(let h=0,p=d.length;h<p;h++){let I=d[h];n.bufferSubData(l,I.start*s.BYTES_PER_ELEMENT,s,I.start,I.count)}o.clearUpdateRanges()}n.bindBuffer(l,null),r.version=o.version}destroyAttribute(t){let i=this.backend,{gl:n}=i;t.isInterleavedBufferAttribute&&i.delete(t.data);let s=i.get(t);n.deleteBuffer(s.bufferGPU),i.delete(t)}async getArrayBufferAsync(t,i=null,n=0,s=-1){let o=this.backend,{gl:r}=o,l=t.isInterleavedBufferAttribute?t.data:t,d=o.get(l),{bufferGPU:h}=d,p=s===-1?d.byteLength-n:s,I;if(i===null)I=new Uint8Array(new ArrayBuffer(p));else if(i.isReadbackBuffer){if(i._mapped===!0)throw new Error("WebGPURenderer: ReadbackBuffer must be released before being used again.");let m=()=>{i.buffer=null,i._mapped=!1,i.removeEventListener("release",m),i.removeEventListener("dispose",m)};i.addEventListener("release",m),i.addEventListener("dispose",m),I=new Uint8Array(new ArrayBuffer(p)),i.buffer=I.buffer}else I=new Uint8Array(i);return r.bindBuffer(r.COPY_READ_BUFFER,h),r.getBufferSubData(r.COPY_READ_BUFFER,n,I),r.bindBuffer(r.COPY_READ_BUFFER,null),r.bindBuffer(r.COPY_WRITE_BUFFER,null),i&&i.isReadbackBuffer?i:I.buffer}_createBuffer(t,i,n,s){let o=t.createBuffer();return t.bindBuffer(i,o),t.bufferData(i,n,s),t.bindBuffer(i,null),o}},Nk,HS,Qae=class{constructor(t){this.backend=t,this.gl=this.backend.gl,this.enabled={},this.parameters={},this.currentFlipSided=null,this.currentCullFace=null,this.currentProgram=null,this.currentBlendingEnabled=!1,this.currentBlending=null,this.currentBlendSrc=null,this.currentBlendDst=null,this.currentBlendSrcAlpha=null,this.currentBlendDstAlpha=null,this.currentPremultipledAlpha=null,this.currentPolygonOffsetFactor=null,this.currentPolygonOffsetUnits=null,this.currentColorMask=null,this.currentDepthReversed=!1,this.currentDepthFunc=null,this.currentDepthMask=null,this.currentStencilFunc=null,this.currentStencilRef=null,this.currentStencilFuncMask=null,this.currentStencilFail=null,this.currentStencilZFail=null,this.currentStencilZPass=null,this.currentStencilMask=null,this.currentLineWidth=null,this.currentClippingPlanes=0,this.currentVAO=null,this.currentIndex=null,this.currentBoundFramebuffers={},this.currentDrawbuffers=new WeakMap,this.maxTextures=this.gl.getParameter(this.gl.MAX_TEXTURE_IMAGE_UNITS),this.currentTextureSlot=null,this.currentBoundTextures={},this.currentBoundBufferBases={},this._init()}_init(){let t=this.gl;Nk={[Nc]:t.FUNC_ADD,[LP]:t.FUNC_SUBTRACT,[PP]:t.FUNC_REVERSE_SUBTRACT},HS={[Ey]:t.ZERO,[MP]:t.ONE,[BP]:t.SRC_COLOR,[Gv]:t.SRC_ALPHA,[kP]:t.SRC_ALPHA_SATURATE,[GP]:t.DST_COLOR,[UP]:t.DST_ALPHA,[FP]:t.ONE_MINUS_SRC_COLOR,[Vv]:t.ONE_MINUS_SRC_ALPHA,[VP]:t.ONE_MINUS_DST_COLOR,[HP]:t.ONE_MINUS_DST_ALPHA};let i=t.getParameter(t.SCISSOR_BOX),n=t.getParameter(t.VIEWPORT);this.currentScissor=new xn().fromArray(i),this.currentViewport=new xn().fromArray(n),this._tempVec4=new xn}enable(t){let{enabled:i}=this;i[t]!==!0&&(this.gl.enable(t),i[t]=!0)}disable(t){let{enabled:i}=this;i[t]!==!1&&(this.gl.disable(t),i[t]=!1)}setFlipSided(t){if(this.currentFlipSided!==t){let{gl:i}=this;t?i.frontFace(i.CW):i.frontFace(i.CCW),this.currentFlipSided=t}}setCullFace(t){let{gl:i}=this;t!==JH?(this.enable(i.CULL_FACE),t!==this.currentCullFace&&(t===xP?i.cullFace(i.BACK):t===XH?i.cullFace(i.FRONT):i.cullFace(i.FRONT_AND_BACK))):this.disable(i.CULL_FACE),this.currentCullFace=t}setLineWidth(t){let{currentLineWidth:i,gl:n}=this;t!==i&&(n.lineWidth(t),this.currentLineWidth=t)}setMRTBlending(t,i,n){let s=this.gl,o=this.backend.drawBuffersIndexedExt;if(!o){Oo("WebGPURenderer: Multiple Render Targets (MRT) blending configuration is not fully supported in compatibility mode. The material blending will be used for all render targets.");return}for(let r=0;r<t.length;r++){let l=t[r],d=null;if(i!==null){let h=i.getBlendMode(l.name);h.blending===OP?d=n:h.blending!==Na&&(d=h)}else d=n;d!==null?this._setMRTBlendingIndex(r,d):o.blendFuncSeparateiOES(r,s.ONE,s.ZERO,s.ONE,s.ZERO)}}_setMRTBlendingIndex(t,i){let{gl:n}=this,s=this.backend.drawBuffersIndexedExt,o=i.blending,r=i.blendSrc,l=i.blendDst,d=i.blendEquation,h=i.premultipliedAlpha;if(o===ow){let p=i.blendSrcAlpha!==null?i.blendSrcAlpha:r,I=i.blendDstAlpha!==null?i.blendDstAlpha:l,m=i.blendEquationAlpha!==null?i.blendEquationAlpha:d;s.blendEquationSeparateiOES(t,Nk[d],Nk[m]),s.blendFuncSeparateiOES(t,HS[r],HS[l],HS[p],HS[I])}else if(s.blendEquationSeparateiOES(t,n.FUNC_ADD,n.FUNC_ADD),h)switch(o){case Yc:s.blendFuncSeparateiOES(t,n.ONE,n.ONE_MINUS_SRC_ALPHA,n.ONE,n.ONE_MINUS_SRC_ALPHA);break;case LT:s.blendFuncSeparateiOES(t,n.ONE,n.ONE,n.ONE,n.ONE);break;case PT:s.blendFuncSeparateiOES(t,n.ZERO,n.ONE_MINUS_SRC_COLOR,n.ZERO,n.ONE);break;case MT:s.blendFuncSeparateiOES(t,n.DST_COLOR,n.ONE_MINUS_SRC_ALPHA,n.ZERO,n.ONE);break;default:s.blendFuncSeparateiOES(t,n.ONE,n.ONE_MINUS_SRC_ALPHA,n.ONE,n.ONE_MINUS_SRC_ALPHA);break}else switch(o){case Yc:s.blendFuncSeparateiOES(t,n.SRC_ALPHA,n.ONE_MINUS_SRC_ALPHA,n.ONE,n.ONE_MINUS_SRC_ALPHA);break;case LT:s.blendFuncSeparateiOES(t,n.SRC_ALPHA,n.ONE,n.ONE,n.ONE);break;case PT:s.blendFuncSeparateiOES(t,n.ZERO,n.ONE_MINUS_SRC_COLOR,n.ZERO,n.ONE);break;case MT:s.blendFuncSeparateiOES(t,n.DST_COLOR,n.ONE_MINUS_SRC_ALPHA,n.ZERO,n.ONE);break;default:s.blendFuncSeparateiOES(t,n.SRC_ALPHA,n.ONE_MINUS_SRC_ALPHA,n.ONE,n.ONE_MINUS_SRC_ALPHA);break}}setBlending(t,i,n,s,o,r,l,d){let{gl:h}=this;if(t===Na){this.currentBlendingEnabled===!0&&(this.disable(h.BLEND),this.currentBlendingEnabled=!1);return}if(this.currentBlendingEnabled===!1&&(this.enable(h.BLEND),this.currentBlendingEnabled=!0),t!==ow){if(t!==this.currentBlending||d!==this.currentPremultipledAlpha){if((this.currentBlendEquation!==Nc||this.currentBlendEquationAlpha!==Nc)&&(h.blendEquation(h.FUNC_ADD),this.currentBlendEquation=Nc,this.currentBlendEquationAlpha=Nc),d)switch(t){case Yc:h.blendFuncSeparate(h.ONE,h.ONE_MINUS_SRC_ALPHA,h.ONE,h.ONE_MINUS_SRC_ALPHA);break;case LT:h.blendFunc(h.ONE,h.ONE);break;case PT:h.blendFuncSeparate(h.ZERO,h.ONE_MINUS_SRC_COLOR,h.ZERO,h.ONE);break;case MT:h.blendFuncSeparate(h.DST_COLOR,h.ONE_MINUS_SRC_ALPHA,h.ZERO,h.ONE);break;default:yi("WebGLState: Invalid blending: ",t);break}else switch(t){case Yc:h.blendFuncSeparate(h.SRC_ALPHA,h.ONE_MINUS_SRC_ALPHA,h.ONE,h.ONE_MINUS_SRC_ALPHA);break;case LT:h.blendFuncSeparate(h.SRC_ALPHA,h.ONE,h.ONE,h.ONE);break;case PT:yi("WebGLState: SubtractiveBlending requires material.premultipliedAlpha = true");break;case MT:yi("WebGLState: MultiplyBlending requires material.premultipliedAlpha = true");break;default:yi("WebGLState: Invalid blending: ",t);break}this.currentBlendSrc=null,this.currentBlendDst=null,this.currentBlendSrcAlpha=null,this.currentBlendDstAlpha=null,this.currentBlending=t,this.currentPremultipledAlpha=d}return}o=o||i,r=r||n,l=l||s,(i!==this.currentBlendEquation||o!==this.currentBlendEquationAlpha)&&(h.blendEquationSeparate(Nk[i],Nk[o]),this.currentBlendEquation=i,this.currentBlendEquationAlpha=o),(n!==this.currentBlendSrc||s!==this.currentBlendDst||r!==this.currentBlendSrcAlpha||l!==this.currentBlendDstAlpha)&&(h.blendFuncSeparate(HS[n],HS[s],HS[r],HS[l]),this.currentBlendSrc=n,this.currentBlendDst=s,this.currentBlendSrcAlpha=r,this.currentBlendDstAlpha=l),this.currentBlending=t,this.currentPremultipledAlpha=!1}setColorMask(t){this.currentColorMask!==t&&(this.gl.colorMask(t,t,t,t),this.currentColorMask=t)}setDepthTest(t){let{gl:i}=this;t?this.enable(i.DEPTH_TEST):this.disable(i.DEPTH_TEST)}setReversedDepth(t){if(this.currentDepthReversed!==t){let i=this.backend.extensions.get("EXT_clip_control");t?i.clipControlEXT(i.LOWER_LEFT_EXT,i.ZERO_TO_ONE_EXT):i.clipControlEXT(i.LOWER_LEFT_EXT,i.NEGATIVE_ONE_TO_ONE_EXT),this.currentDepthReversed=t}}setDepthMask(t){this.currentDepthMask!==t&&(this.gl.depthMask(t),this.currentDepthMask=t)}setDepthFunc(t){if(this.currentDepthReversed&&(t=hG[t]),this.currentDepthFunc!==t){let{gl:i}=this;switch(t){case vb:i.depthFunc(i.NEVER);break;case Rb:i.depthFunc(i.ALWAYS);break;case Sb:i.depthFunc(i.LESS);break;case AT:i.depthFunc(i.LEQUAL);break;case Ab:i.depthFunc(i.EQUAL);break;case bb:i.depthFunc(i.GEQUAL);break;case Nb:i.depthFunc(i.GREATER);break;case _b:i.depthFunc(i.NOTEQUAL);break;default:i.depthFunc(i.LEQUAL)}this.currentDepthFunc=t}}scissor(t,i,n,s){let o=this._tempVec4.set(t,i,n,s);if(this.currentScissor.equals(o)===!1){let{gl:r}=this;r.scissor(o.x,o.y,o.z,o.w),this.currentScissor.copy(o)}}viewport(t,i,n,s){let o=this._tempVec4.set(t,i,n,s);if(this.currentViewport.equals(o)===!1){let{gl:r}=this;r.viewport(o.x,o.y,o.z,o.w),this.currentViewport.copy(o)}}setScissorTest(t){let i=this.gl;t?this.enable(i.SCISSOR_TEST):this.disable(i.SCISSOR_TEST)}setStencilTest(t){let{gl:i}=this;t?this.enable(i.STENCIL_TEST):this.disable(i.STENCIL_TEST)}setStencilMask(t){this.currentStencilMask!==t&&(this.gl.stencilMask(t),this.currentStencilMask=t)}setStencilFunc(t,i,n){(this.currentStencilFunc!==t||this.currentStencilRef!==i||this.currentStencilFuncMask!==n)&&(this.gl.stencilFunc(t,i,n),this.currentStencilFunc=t,this.currentStencilRef=i,this.currentStencilFuncMask=n)}setStencilOp(t,i,n){(this.currentStencilFail!==t||this.currentStencilZFail!==i||this.currentStencilZPass!==n)&&(this.gl.stencilOp(t,i,n),this.currentStencilFail=t,this.currentStencilZFail=i,this.currentStencilZPass=n)}setMaterial(t,i,n){let{gl:s}=this;t.side===so?this.disable(s.CULL_FACE):this.enable(s.CULL_FACE);let o=t.side===Js;i&&(o=!o),this.setFlipSided(o),t.blending===Yc&&t.transparent===!1?this.setBlending(Na):this.setBlending(t.blending,t.blendEquation,t.blendSrc,t.blendDst,t.blendEquationAlpha,t.blendSrcAlpha,t.blendDstAlpha,t.premultipliedAlpha),this.setDepthFunc(t.depthFunc),this.setDepthTest(t.depthTest),this.setDepthMask(t.depthWrite),this.setColorMask(t.colorWrite);let r=t.stencilWrite;if(this.setStencilTest(r),r&&(this.setStencilMask(t.stencilWriteMask),this.setStencilFunc(t.stencilFunc,t.stencilRef,t.stencilFuncMask),this.setStencilOp(t.stencilFail,t.stencilZFail,t.stencilZPass)),this.setPolygonOffset(t.polygonOffset,t.polygonOffsetFactor,t.polygonOffsetUnits),t.alphaToCoverage===!0&&this.backend.renderer.currentSamples>0?this.enable(s.SAMPLE_ALPHA_TO_COVERAGE):this.disable(s.SAMPLE_ALPHA_TO_COVERAGE),n>0&&this.currentClippingPlanes!==n)for(let d=0;d<8;d++)d<n?this.enable(12288+d):this.disable(12288+d)}setPolygonOffset(t,i,n){let{gl:s}=this;t?(this.enable(s.POLYGON_OFFSET_FILL),(this.currentPolygonOffsetFactor!==i||this.currentPolygonOffsetUnits!==n)&&(s.polygonOffset(i,n),this.currentPolygonOffsetFactor=i,this.currentPolygonOffsetUnits=n)):this.disable(s.POLYGON_OFFSET_FILL)}useProgram(t){return this.currentProgram!==t?(this.gl.useProgram(t),this.currentProgram=t,!0):!1}setVertexState(t,i=null){let n=this.gl;return this.currentVAO!==t||this.currentIndex!==i?(n.bindVertexArray(t),i!==null&&n.bindBuffer(n.ELEMENT_ARRAY_BUFFER,i),this.currentVAO=t,this.currentIndex=i,!0):!1}resetVertexState(){let t=this.gl;t.bindVertexArray(null),t.bindBuffer(t.ELEMENT_ARRAY_BUFFER,null),this.currentVAO=null,this.currentIndex=null}bindFramebuffer(t,i){let{gl:n,currentBoundFramebuffers:s}=this;return s[t]!==i?(n.bindFramebuffer(t,i),s[t]=i,t===n.DRAW_FRAMEBUFFER&&(s[n.FRAMEBUFFER]=i),t===n.FRAMEBUFFER&&(s[n.DRAW_FRAMEBUFFER]=i),!0):!1}drawBuffers(t,i){let{gl:n}=this,s=[],o=!1;if(t.textures!==null){s=this.currentDrawbuffers.get(i),s===void 0&&(s=[],this.currentDrawbuffers.set(i,s));let r=t.textures;if(s.length!==r.length||s[0]!==n.COLOR_ATTACHMENT0){for(let l=0,d=r.length;l<d;l++)s[l]=n.COLOR_ATTACHMENT0+l;s.length=r.length,o=!0}}else s[0]!==n.BACK&&(s[0]=n.BACK,o=!0);o&&n.drawBuffers(s)}activeTexture(t){let{gl:i,currentTextureSlot:n,maxTextures:s}=this;t===void 0&&(t=i.TEXTURE0+s-1),n!==t&&(i.activeTexture(t),this.currentTextureSlot=t)}bindTexture(t,i,n){let{gl:s,currentTextureSlot:o,currentBoundTextures:r,maxTextures:l}=this;n===void 0&&(o===null?n=s.TEXTURE0+l-1:n=o);let d=r[n];d===void 0&&(d={type:void 0,texture:void 0},r[n]=d),(d.type!==t||d.texture!==i)&&(o!==n&&(s.activeTexture(n),this.currentTextureSlot=n),s.bindTexture(t,i),d.type=t,d.texture=i)}bindBufferBase(t,i,n){let{gl:s}=this,o=`${t}-${i}`;return this.currentBoundBufferBases[o]!==n?(s.bindBufferBase(t,i,n),this.currentBoundBufferBases[o]=n,!0):!1}unbindTexture(){let{gl:t,currentTextureSlot:i,currentBoundTextures:n}=this,s=n[i];s!==void 0&&s.type!==void 0&&(t.bindTexture(s.type,null),s.type=void 0,s.texture=void 0)}getParameter(t){let{gl:i,parameters:n}=this;return n[t]!==void 0?n[t]:i.getParameter(t)}pixelStorei(t,i){let{gl:n,parameters:s}=this;s[t]!==i&&(n.pixelStorei(t,i),s[t]=i)}},Jae=class{constructor(t){this.backend=t,this.gl=this.backend.gl,this.extensions=t.extensions}convert(t,i=Eh){let{gl:n,extensions:s}=this,o,r=Hn.getTransfer(i);if(t===Lo)return n.UNSIGNED_BYTE;if(t===Wb)return n.UNSIGNED_SHORT_4_4_4_4;if(t===Yb)return n.UNSIGNED_SHORT_5_5_5_1;if(t===jb)return n.UNSIGNED_INT_5_9_9_9_REV;if(t===qb)return n.UNSIGNED_INT_10F_11F_11F_REV;if(t===FT)return n.BYTE;if(t===UT)return n.SHORT;if(t===mh)return n.UNSIGNED_SHORT;if(t===Ya)return n.INT;if(t===co)return n.UNSIGNED_INT;if(t===Ro)return n.FLOAT;if(t===sr)return n.HALF_FLOAT;if(t===xC)return n.ALPHA;if(t===tR)return n.RGB;if(t===Ko)return n.RGBA;if(t===Aa)return n.DEPTH_COMPONENT;if(t===$c)return n.DEPTH_STENCIL;if(t===uw)return n.RED;if(t===HT)return n.RED_INTEGER;if(t===Dc)return n.RG;if(t===cw)return n.RG_INTEGER;if(t===iR)return n.RGBA_INTEGER;if(t===GT||t===VT||t===kT||t===zT)if(r===pn)if(o=s.get("WEBGL_compressed_texture_s3tc_srgb"),o!==null){if(t===GT)return o.COMPRESSED_SRGB_S3TC_DXT1_EXT;if(t===VT)return o.COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT;if(t===kT)return o.COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT;if(t===zT)return o.COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT}else return null;else if(o=s.get("WEBGL_compressed_texture_s3tc"),o!==null){if(t===GT)return o.COMPRESSED_RGB_S3TC_DXT1_EXT;if(t===VT)return o.COMPRESSED_RGBA_S3TC_DXT1_EXT;if(t===kT)return o.COMPRESSED_RGBA_S3TC_DXT3_EXT;if(t===zT)return o.COMPRESSED_RGBA_S3TC_DXT5_EXT}else return null;if(t===$b||t===Zb||t===Kb||t===Qb)if(o=s.get("WEBGL_compressed_texture_pvrtc"),o!==null){if(t===$b)return o.COMPRESSED_RGB_PVRTC_4BPPV1_IMG;if(t===Zb)return o.COMPRESSED_RGB_PVRTC_2BPPV1_IMG;if(t===Kb)return o.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG;if(t===Qb)return o.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG}else return null;if(t===nR||t===sR||t===oR||t===rR||t===lR||t===WT||t===aR)if(o=s.get("WEBGL_compressed_texture_etc"),o!==null){if(t===nR||t===sR)return r===pn?o.COMPRESSED_SRGB8_ETC2:o.COMPRESSED_RGB8_ETC2;if(t===oR)return r===pn?o.COMPRESSED_SRGB8_ALPHA8_ETC2_EAC:o.COMPRESSED_RGBA8_ETC2_EAC;if(t===rR)return o.COMPRESSED_R11_EAC;if(t===lR)return o.COMPRESSED_SIGNED_R11_EAC;if(t===WT)return o.COMPRESSED_RG11_EAC;if(t===aR)return o.COMPRESSED_SIGNED_RG11_EAC}else return null;if(t===uR||t===cR||t===dR||t===hR||t===fR||t===pR||t===IR||t===mR||t===yR||t===ER||t===TR||t===gR||t===wR||t===vR)if(o=s.get("WEBGL_compressed_texture_astc"),o!==null){if(t===uR)return r===pn?o.COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR:o.COMPRESSED_RGBA_ASTC_4x4_KHR;if(t===cR)return r===pn?o.COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR:o.COMPRESSED_RGBA_ASTC_5x4_KHR;if(t===dR)return r===pn?o.COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR:o.COMPRESSED_RGBA_ASTC_5x5_KHR;if(t===hR)return r===pn?o.COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR:o.COMPRESSED_RGBA_ASTC_6x5_KHR;if(t===fR)return r===pn?o.COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR:o.COMPRESSED_RGBA_ASTC_6x6_KHR;if(t===pR)return r===pn?o.COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR:o.COMPRESSED_RGBA_ASTC_8x5_KHR;if(t===IR)return r===pn?o.COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR:o.COMPRESSED_RGBA_ASTC_8x6_KHR;if(t===mR)return r===pn?o.COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR:o.COMPRESSED_RGBA_ASTC_8x8_KHR;if(t===yR)return r===pn?o.COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR:o.COMPRESSED_RGBA_ASTC_10x5_KHR;if(t===ER)return r===pn?o.COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR:o.COMPRESSED_RGBA_ASTC_10x6_KHR;if(t===TR)return r===pn?o.COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR:o.COMPRESSED_RGBA_ASTC_10x8_KHR;if(t===gR)return r===pn?o.COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR:o.COMPRESSED_RGBA_ASTC_10x10_KHR;if(t===wR)return r===pn?o.COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR:o.COMPRESSED_RGBA_ASTC_12x10_KHR;if(t===vR)return r===pn?o.COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR:o.COMPRESSED_RGBA_ASTC_12x12_KHR}else return null;if(t===RR)if(o=s.get("EXT_texture_compression_bptc"),o!==null){if(t===RR)return r===pn?o.COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT:o.COMPRESSED_RGBA_BPTC_UNORM_EXT}else return null;if(t===SR||t===AR||t===YT||t===bR)if(o=s.get("EXT_texture_compression_rgtc"),o!==null){if(t===SR)return o.COMPRESSED_RED_RGTC1_EXT;if(t===AR)return o.COMPRESSED_SIGNED_RED_RGTC1_EXT;if(t===YT)return o.COMPRESSED_RED_GREEN_RGTC2_EXT;if(t===bR)return o.COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT}else return null;return t===yh?n.UNSIGNED_INT_24_8:n[t]!==void 0?n[t]:null}_clientWaitAsync(){let{gl:t}=this,i=t.fenceSync(t.SYNC_GPU_COMMANDS_COMPLETE,0);return t.flush(),new Promise((n,s)=>{function o(){let r=t.clientWaitSync(i,t.SYNC_FLUSH_COMMANDS_BIT,0);if(r===t.WAIT_FAILED){t.deleteSync(i),s();return}if(r===t.TIMEOUT_EXPIRED){requestAnimationFrame(o);return}t.deleteSync(i),n()}o()})}},sye=!1,Z$,Voe,oye,Xae=class{constructor(t){this.backend=t,this.gl=t.gl,this.extensions=t.extensions,this.defaultTextures={},this._srcFramebuffer=null,this._dstFramebuffer=null,sye===!1&&(this._init(),sye=!0)}_init(){let t=this.gl;Z$={[bT]:t.REPEAT,[_u]:t.CLAMP_TO_EDGE,[NT]:t.MIRRORED_REPEAT},Voe={[Vs]:t.NEAREST,[CC]:t.NEAREST_MIPMAP_NEAREST,[Om]:t.NEAREST_MIPMAP_LINEAR,[Us]:t.LINEAR,[aw]:t.LINEAR_MIPMAP_NEAREST,[qc]:t.LINEAR_MIPMAP_LINEAR},oye={[KP]:t.NEVER,[XP]:t.ALWAYS,[OC]:t.LESS,[jT]:t.LEQUAL,[QP]:t.EQUAL,[Ty]:t.GEQUAL,[Jb]:t.GREATER,[JP]:t.NOTEQUAL}}getGLTextureType(t){let{gl:i}=this,n;return t.isCubeTexture===!0?n=i.TEXTURE_CUBE_MAP:t.isArrayTexture===!0||t.isDataArrayTexture===!0||t.isCompressedArrayTexture===!0?n=i.TEXTURE_2D_ARRAY:t.isData3DTexture===!0?n=i.TEXTURE_3D:n=i.TEXTURE_2D,n}getInternalFormat(t,i,n,s,o,r=!1){let{gl:l,extensions:d}=this;if(t!==null){if(l[t]!==void 0)return l[t];ci("WebGLBackend: Attempt to use non-existing WebGL internal format '"+t+"'")}let h=null;s&&(h=d.get("EXT_texture_norm16"),h||ci("WebGLRenderer: Unable to use normalized textures without EXT_texture_norm16 extension"));let p=i;if(i===l.RED&&(n===l.FLOAT&&(p=l.R32F),n===l.HALF_FLOAT&&(p=l.R16F),n===l.UNSIGNED_BYTE&&(p=l.R8),n===l.BYTE&&(p=l.R8_SNORM),n===l.UNSIGNED_SHORT&&h&&(p=h.R16_EXT),n===l.SHORT&&h&&(p=h.R16_SNORM_EXT)),i===l.RED_INTEGER&&(n===l.UNSIGNED_BYTE&&(p=l.R8UI),n===l.UNSIGNED_SHORT&&(p=l.R16UI),n===l.UNSIGNED_INT&&(p=l.R32UI),n===l.BYTE&&(p=l.R8I),n===l.SHORT&&(p=l.R16I),n===l.INT&&(p=l.R32I)),i===l.RG&&(n===l.FLOAT&&(p=l.RG32F),n===l.HALF_FLOAT&&(p=l.RG16F),n===l.UNSIGNED_BYTE&&(p=l.RG8),n===l.BYTE&&(p=l.RG8_SNORM),n===l.UNSIGNED_SHORT&&h&&(p=h.RG16_EXT),n===l.SHORT&&h&&(p=h.RG16_SNORM_EXT)),i===l.RG_INTEGER&&(n===l.UNSIGNED_BYTE&&(p=l.RG8UI),n===l.UNSIGNED_SHORT&&(p=l.RG16UI),n===l.UNSIGNED_INT&&(p=l.RG32UI),n===l.BYTE&&(p=l.RG8I),n===l.SHORT&&(p=l.RG16I),n===l.INT&&(p=l.RG32I)),i===l.RGB){let I=r?zv:Hn.getTransfer(o);n===l.FLOAT&&(p=l.RGB32F),n===l.HALF_FLOAT&&(p=l.RGB16F),n===l.UNSIGNED_BYTE&&(p=I===pn?l.SRGB8:l.RGB8),n===l.BYTE&&(p=l.RGB8_SNORM),n===l.UNSIGNED_SHORT&&h&&(p=h.RGB16_EXT),n===l.SHORT&&h&&(p=h.RGB16_SNORM_EXT),n===l.UNSIGNED_SHORT_5_6_5&&(p=l.RGB565),n===l.UNSIGNED_SHORT_5_5_5_1&&(p=l.RGB5_A1),n===l.UNSIGNED_SHORT_4_4_4_4&&(p=l.RGB4),n===l.UNSIGNED_INT_5_9_9_9_REV&&(p=l.RGB9_E5),n===l.UNSIGNED_INT_10F_11F_11F_REV&&(p=l.R11F_G11F_B10F)}if(i===l.RGB_INTEGER&&(n===l.UNSIGNED_BYTE&&(p=l.RGB8UI),n===l.UNSIGNED_SHORT&&(p=l.RGB16UI),n===l.UNSIGNED_INT&&(p=l.RGB32UI),n===l.BYTE&&(p=l.RGB8I),n===l.SHORT&&(p=l.RGB16I),n===l.INT&&(p=l.RGB32I)),i===l.RGBA){let I=r?zv:Hn.getTransfer(o);n===l.FLOAT&&(p=l.RGBA32F),n===l.HALF_FLOAT&&(p=l.RGBA16F),n===l.UNSIGNED_BYTE&&(p=I===pn?l.SRGB8_ALPHA8:l.RGBA8),n===l.BYTE&&(p=l.RGBA8_SNORM),n===l.UNSIGNED_SHORT&&h&&(p=h.RGBA16_EXT),n===l.SHORT&&h&&(p=h.RGBA16_SNORM_EXT),n===l.UNSIGNED_SHORT_4_4_4_4&&(p=l.RGBA4),n===l.UNSIGNED_SHORT_5_5_5_1&&(p=l.RGB5_A1)}return i===l.RGBA_INTEGER&&(n===l.UNSIGNED_BYTE&&(p=l.RGBA8UI),n===l.UNSIGNED_SHORT&&(p=l.RGBA16UI),n===l.UNSIGNED_INT&&(p=l.RGBA32UI),n===l.BYTE&&(p=l.RGBA8I),n===l.SHORT&&(p=l.RGBA16I),n===l.INT&&(p=l.RGBA32I)),i===l.DEPTH_COMPONENT&&(n===l.UNSIGNED_SHORT&&(p=l.DEPTH_COMPONENT16),n===l.UNSIGNED_INT&&(p=l.DEPTH_COMPONENT24),n===l.FLOAT&&(p=l.DEPTH_COMPONENT32F)),i===l.DEPTH_STENCIL&&n===l.UNSIGNED_INT_24_8&&(p=l.DEPTH24_STENCIL8),(p===l.R16F||p===l.R32F||p===l.RG16F||p===l.RG32F||p===l.RGBA16F||p===l.RGBA32F)&&d.get("EXT_color_buffer_float"),p}setTextureParameters(t,i){let{gl:n,extensions:s,backend:o}=this,{state:r}=this.backend,l=Hn.getPrimaries(Hn.workingColorSpace),d=i.colorSpace===Eh?null:Hn.getPrimaries(i.colorSpace),h=i.colorSpace===Eh||l===d?n.NONE:n.BROWSER_DEFAULT_WEBGL;r.pixelStorei(n.UNPACK_FLIP_Y_WEBGL,i.flipY),r.pixelStorei(n.UNPACK_PREMULTIPLY_ALPHA_WEBGL,i.premultiplyAlpha),r.pixelStorei(n.UNPACK_ALIGNMENT,i.unpackAlignment),r.pixelStorei(n.UNPACK_COLORSPACE_CONVERSION_WEBGL,h),n.texParameteri(t,n.TEXTURE_WRAP_S,Z$[i.wrapS]),n.texParameteri(t,n.TEXTURE_WRAP_T,Z$[i.wrapT]),(t===n.TEXTURE_3D||t===n.TEXTURE_2D_ARRAY)&&(i.isArrayTexture||n.texParameteri(t,n.TEXTURE_WRAP_R,Z$[i.wrapR])),n.texParameteri(t,n.TEXTURE_MAG_FILTER,Voe[i.magFilter]);let p=i.mipmaps!==void 0&&i.mipmaps.length>0,I=i.minFilter===Us&&p?qc:i.minFilter;if(n.texParameteri(t,n.TEXTURE_MIN_FILTER,Voe[I]),i.compareFunction&&(n.texParameteri(t,n.TEXTURE_COMPARE_MODE,n.COMPARE_REF_TO_TEXTURE),n.texParameteri(t,n.TEXTURE_COMPARE_FUNC,oye[i.compareFunction])),s.has("EXT_texture_filter_anisotropic")===!0){if(i.magFilter===Vs||i.minFilter!==Om&&i.minFilter!==qc||i.type===Ro&&s.has("OES_texture_float_linear")===!1)return;if(i.anisotropy>1){let m=s.get("EXT_texture_filter_anisotropic");n.texParameterf(t,m.TEXTURE_MAX_ANISOTROPY_EXT,Math.min(i.anisotropy,o.capabilities.getMaxAnisotropy()))}}}createDefaultTexture(t){let{gl:i,backend:n,defaultTextures:s}=this,o=this.getGLTextureType(t),r=s[o];r===void 0&&(r=i.createTexture(),n.state.bindTexture(o,r),i.texParameteri(o,i.TEXTURE_MIN_FILTER,i.NEAREST),i.texParameteri(o,i.TEXTURE_MAG_FILTER,i.NEAREST),s[o]=r),n.set(t,{textureGPU:r,glTextureType:o})}createTexture(t,i){let{gl:n,backend:s}=this,{levels:o,width:r,height:l,depth:d}=i,h=s.utils.convert(t.format,t.colorSpace),p=s.utils.convert(t.type),I=this.getInternalFormat(t.internalFormat,h,p,t.normalized,t.colorSpace,t.isVideoTexture),m=n.createTexture(),y=this.getGLTextureType(t);s.state.bindTexture(y,m),this.setTextureParameters(y,t),t.isArrayTexture||t.isDataArrayTexture||t.isCompressedArrayTexture?n.texStorage3D(n.TEXTURE_2D_ARRAY,o,I,r,l,d):t.isData3DTexture?n.texStorage3D(n.TEXTURE_3D,o,I,r,l,d):t.isVideoTexture||n.texStorage2D(y,o,I,r,l),s.set(t,{textureGPU:m,glTextureType:y,glFormat:h,glType:p,glInternalFormat:I})}copyBufferToTexture(t,i){let{gl:n,backend:s}=this,{state:o}=s,{textureGPU:r,glTextureType:l,glFormat:d,glType:h}=s.get(i),{width:p,height:I}=i.source.data;n.bindBuffer(n.PIXEL_UNPACK_BUFFER,t),s.state.bindTexture(l,r),o.pixelStorei(n.UNPACK_FLIP_Y_WEBGL,!1),o.pixelStorei(n.UNPACK_PREMULTIPLY_ALPHA_WEBGL,!1),n.texSubImage2D(l,0,0,0,p,I,d,h,0),n.bindBuffer(n.PIXEL_UNPACK_BUFFER,null),s.state.unbindTexture()}updateTexture(t,i){let{gl:n}=this,{width:s,height:o}=i,{textureGPU:r,glTextureType:l,glFormat:d,glType:h,glInternalFormat:p}=this.backend.get(t);if(!(t.isRenderTargetTexture||r===void 0))if(this.backend.state.bindTexture(l,r),this.setTextureParameters(l,t),t.isCompressedTexture){let I=t.mipmaps,m=i.image;for(let y=0;y<I.length;y++){let T=I[y];t.isCompressedArrayTexture?t.format!==n.RGBA?d!==null?n.compressedTexSubImage3D(n.TEXTURE_2D_ARRAY,y,0,0,0,T.width,T.height,m.depth,d,T.data):ci("WebGLBackend: Attempt to load unsupported compressed texture format in .uploadTexture()"):n.texSubImage3D(n.TEXTURE_2D_ARRAY,y,0,0,0,T.width,T.height,m.depth,d,h,T.data):d!==null?n.compressedTexSubImage2D(n.TEXTURE_2D,y,0,0,T.width,T.height,d,T.data):ci("WebGLBackend: Unsupported compressed texture format")}}else if(t.isCubeTexture){let I=i.images,m=t.mipmaps;for(let y=0;y<6;y++){let T=K$(I[y]);n.texSubImage2D(n.TEXTURE_CUBE_MAP_POSITIVE_X+y,0,0,0,s,o,d,h,T);for(let R=0;R<m.length;R++){let b=m[R],A=K$(b.images[y]);n.texSubImage2D(n.TEXTURE_CUBE_MAP_POSITIVE_X+y,R+1,0,0,A.width,A.height,d,h,A)}}}else if(t.isDataArrayTexture||t.isArrayTexture){let I=i.image;if(t.layerUpdates.size>0){let m=t7(I.width,I.height,t.format,t.type);for(let y of t.layerUpdates){let T=I.data.subarray(y*m/I.data.BYTES_PER_ELEMENT,(y+1)*m/I.data.BYTES_PER_ELEMENT);n.texSubImage3D(n.TEXTURE_2D_ARRAY,0,0,0,y,I.width,I.height,1,d,h,T)}t.clearLayerUpdates()}else n.texSubImage3D(n.TEXTURE_2D_ARRAY,0,0,0,0,I.width,I.height,I.depth,d,h,I.data)}else if(t.isData3DTexture){let I=i.image;n.texSubImage3D(n.TEXTURE_3D,0,0,0,0,I.width,I.height,I.depth,d,h,I.data)}else if(t.isVideoTexture)t.update(),n.texImage2D(l,0,p,d,h,i.image);else if(t.isHTMLTexture)typeof n.texElementImage2D=="function"&&n.texElementImage2D(n.TEXTURE_2D,0,n.RGBA,n.RGBA,n.UNSIGNED_BYTE,i.image);else{let I=t.mipmaps;if(I.length>0)for(let m=0,y=I.length;m<y;m++){let T=I[m],R=K$(T);n.texSubImage2D(l,m,0,0,T.width,T.height,d,h,R)}else{let m=K$(i.image);n.texSubImage2D(l,0,0,0,s,o,d,h,m)}}}generateMipmaps(t){let{gl:i,backend:n}=this,{textureGPU:s,glTextureType:o}=n.get(t);n.state.bindTexture(o,s),i.generateMipmap(o)}deallocateRenderBuffers(t){let{gl:i,backend:n}=this;if(t){let s=n.get(t);if(s.renderBufferStorageSetup=void 0,s.framebuffers){for(let o in s.framebuffers)i.deleteFramebuffer(s.framebuffers[o]);delete s.framebuffers}if(s.depthRenderbuffer&&(i.deleteRenderbuffer(s.depthRenderbuffer),delete s.depthRenderbuffer),s.stencilRenderbuffer&&(i.deleteRenderbuffer(s.stencilRenderbuffer),delete s.stencilRenderbuffer),s.msaaFrameBuffer&&(i.deleteFramebuffer(s.msaaFrameBuffer),delete s.msaaFrameBuffer),s.msaaRenderbuffers){for(let o=0;o<s.msaaRenderbuffers.length;o++)i.deleteRenderbuffer(s.msaaRenderbuffers[o]);delete s.msaaRenderbuffers}}}destroyTexture(t,i=!1){let{gl:n,backend:s}=this,{textureGPU:o,renderTarget:r}=s.get(t);this.deallocateRenderBuffers(r),i===!1&&n.deleteTexture(o),s.delete(t)}copyTextureToTexture(t,i,n=null,s=null,o=0,r=0){let{gl:l,backend:d}=this,{state:h}=this.backend,{textureGPU:p,glTextureType:I,glType:m,glFormat:y}=d.get(i);h.bindTexture(I,p);let T,R,b,A,O,P,U,Z,ne,K=t.isCompressedTexture?t.mipmaps[r]:t.image;if(n!==null)T=n.max.x-n.min.x,R=n.max.y-n.min.y,b=n.isBox3?n.max.z-n.min.z:1,A=n.min.x,O=n.min.y,P=n.isBox3?n.min.z:0;else{let Ce=Math.pow(2,-o);T=Math.floor(K.width*Ce),R=Math.floor(K.height*Ce),t.isDataArrayTexture||t.isArrayTexture?b=K.depth:t.isData3DTexture?b=Math.floor(K.depth*Ce):b=1,A=0,O=0,P=0}s!==null?(U=s.x,Z=s.y,ne=s.z):(U=0,Z=0,ne=0),h.pixelStorei(l.UNPACK_FLIP_Y_WEBGL,i.flipY),h.pixelStorei(l.UNPACK_PREMULTIPLY_ALPHA_WEBGL,i.premultiplyAlpha),h.pixelStorei(l.UNPACK_ALIGNMENT,i.unpackAlignment);let oe=h.getParameter(l.UNPACK_ROW_LENGTH),se=h.getParameter(l.UNPACK_IMAGE_HEIGHT),he=h.getParameter(l.UNPACK_SKIP_PIXELS),Re=h.getParameter(l.UNPACK_SKIP_ROWS),ee=h.getParameter(l.UNPACK_SKIP_IMAGES);h.pixelStorei(l.UNPACK_ROW_LENGTH,K.width),h.pixelStorei(l.UNPACK_IMAGE_HEIGHT,K.height),h.pixelStorei(l.UNPACK_SKIP_PIXELS,A),h.pixelStorei(l.UNPACK_SKIP_ROWS,O),h.pixelStorei(l.UNPACK_SKIP_IMAGES,P);let Ae=t.isDataArrayTexture||t.isData3DTexture||i.isArrayTexture,Ee=i.isDataArrayTexture||i.isData3DTexture||i.isArrayTexture;if(t.isDepthTexture){let Ce=d.get(t),Qe=d.get(i),qe=d.get(Ce.renderTarget),St=d.get(Qe.renderTarget),$e=qe.framebuffers[Ce.cacheKey],ke=St.framebuffers[Qe.cacheKey];h.bindFramebuffer(l.READ_FRAMEBUFFER,$e),h.bindFramebuffer(l.DRAW_FRAMEBUFFER,ke);for(let It=0;It<b;It++)Ae&&(l.framebufferTextureLayer(l.READ_FRAMEBUFFER,l.COLOR_ATTACHMENT0,Ce.textureGPU,o,P+It),l.framebufferTextureLayer(l.DRAW_FRAMEBUFFER,l.COLOR_ATTACHMENT0,p,r,ne+It)),l.blitFramebuffer(A,O,T,R,U,Z,T,R,l.DEPTH_BUFFER_BIT,l.NEAREST);h.bindFramebuffer(l.READ_FRAMEBUFFER,null),h.bindFramebuffer(l.DRAW_FRAMEBUFFER,null)}else if(o!==0||t.isRenderTargetTexture||d.has(t)){let Ce=d.get(t);this._srcFramebuffer===null&&(this._srcFramebuffer=l.createFramebuffer()),this._dstFramebuffer===null&&(this._dstFramebuffer=l.createFramebuffer()),h.bindFramebuffer(l.READ_FRAMEBUFFER,this._srcFramebuffer),h.bindFramebuffer(l.DRAW_FRAMEBUFFER,this._dstFramebuffer);for(let Qe=0;Qe<b;Qe++)Ae?l.framebufferTextureLayer(l.READ_FRAMEBUFFER,l.COLOR_ATTACHMENT0,Ce.textureGPU,o,P+Qe):l.framebufferTexture2D(l.READ_FRAMEBUFFER,l.COLOR_ATTACHMENT0,l.TEXTURE_2D,Ce.textureGPU,o),Ee?l.framebufferTextureLayer(l.DRAW_FRAMEBUFFER,l.COLOR_ATTACHMENT0,p,r,ne+Qe):l.framebufferTexture2D(l.DRAW_FRAMEBUFFER,l.COLOR_ATTACHMENT0,l.TEXTURE_2D,p,r),o!==0?l.blitFramebuffer(A,O,T,R,U,Z,T,R,l.COLOR_BUFFER_BIT,l.NEAREST):Ee?l.copyTexSubImage3D(I,r,U,Z,ne+Qe,A,O,T,R):l.copyTexSubImage2D(I,r,U,Z,A,O,T,R);h.bindFramebuffer(l.READ_FRAMEBUFFER,null),h.bindFramebuffer(l.DRAW_FRAMEBUFFER,null)}else Ee?t.isDataTexture||t.isData3DTexture?l.texSubImage3D(I,r,U,Z,ne,T,R,b,y,m,K.data):i.isCompressedArrayTexture?l.compressedTexSubImage3D(I,r,U,Z,ne,T,R,b,y,K.data):l.texSubImage3D(I,r,U,Z,ne,T,R,b,y,m,K):t.isDataTexture?l.texSubImage2D(l.TEXTURE_2D,r,U,Z,T,R,y,m,K.data):t.isCompressedTexture?l.compressedTexSubImage2D(l.TEXTURE_2D,r,U,Z,K.width,K.height,y,K.data):l.texSubImage2D(l.TEXTURE_2D,r,U,Z,T,R,y,m,K);h.pixelStorei(l.UNPACK_ROW_LENGTH,oe),h.pixelStorei(l.UNPACK_IMAGE_HEIGHT,se),h.pixelStorei(l.UNPACK_SKIP_PIXELS,he),h.pixelStorei(l.UNPACK_SKIP_ROWS,Re),h.pixelStorei(l.UNPACK_SKIP_IMAGES,ee),r===0&&i.generateMipmaps&&l.generateMipmap(I),h.unbindTexture()}copyFramebufferToTexture(t,i,n){let{gl:s}=this,{state:o}=this.backend,{textureGPU:r}=this.backend.get(t),{x:l,y:d,z:h,w:p}=n,I=t.isDepthTexture===!0||i.renderTarget&&i.renderTarget.samples>0,m=i.renderTarget?i.renderTarget.height:this.backend.getDrawingBufferSize().y;if(I){let y=l!==0||d!==0,T,R;if(t.isDepthTexture===!0?(T=s.DEPTH_BUFFER_BIT,R=s.DEPTH_ATTACHMENT,i.stencil&&(T|=s.STENCIL_BUFFER_BIT)):(T=s.COLOR_BUFFER_BIT,R=s.COLOR_ATTACHMENT0),y){let b=this.backend.get(i.renderTarget),A=b.framebuffers[i.getCacheKey()],O=b.msaaFrameBuffer;o.bindFramebuffer(s.DRAW_FRAMEBUFFER,A),o.bindFramebuffer(s.READ_FRAMEBUFFER,O);let P=m-d-p;s.blitFramebuffer(l,P,l+h,P+p,l,P,l+h,P+p,T,s.NEAREST),o.bindFramebuffer(s.READ_FRAMEBUFFER,A),o.bindTexture(s.TEXTURE_2D,r),s.copyTexSubImage2D(s.TEXTURE_2D,0,0,0,l,P,h,p),o.unbindTexture()}else{let b=s.createFramebuffer();o.bindFramebuffer(s.DRAW_FRAMEBUFFER,b),s.framebufferTexture2D(s.DRAW_FRAMEBUFFER,R,s.TEXTURE_2D,r,0),s.blitFramebuffer(0,0,h,p,0,0,h,p,T,s.NEAREST),s.deleteFramebuffer(b)}}else o.bindTexture(s.TEXTURE_2D,r),s.copyTexSubImage2D(s.TEXTURE_2D,0,0,0,l,m-p-d,h,p),o.unbindTexture();t.generateMipmaps&&this.generateMipmaps(t),this.backend._setFramebuffer(i)}setupRenderBufferStorage(t,i,n,s=!1){let{gl:o}=this,r=i.renderTarget,{depthTexture:l,depthBuffer:d,stencilBuffer:h,width:p,height:I}=r;if(o.bindRenderbuffer(o.RENDERBUFFER,t),d&&!h){let m=o.DEPTH_COMPONENT24;s===!0?this.extensions.get("WEBGL_multisampled_render_to_texture").renderbufferStorageMultisampleEXT(o.RENDERBUFFER,r.samples,m,p,I):n>0?(l&&l.isDepthTexture&&l.type===o.FLOAT&&(m=o.DEPTH_COMPONENT32F),o.renderbufferStorageMultisample(o.RENDERBUFFER,n,m,p,I)):o.renderbufferStorage(o.RENDERBUFFER,m,p,I),o.framebufferRenderbuffer(o.FRAMEBUFFER,o.DEPTH_ATTACHMENT,o.RENDERBUFFER,t)}else d&&h&&(n>0?o.renderbufferStorageMultisample(o.RENDERBUFFER,n,o.DEPTH24_STENCIL8,p,I):o.renderbufferStorage(o.RENDERBUFFER,o.DEPTH_STENCIL,p,I),o.framebufferRenderbuffer(o.FRAMEBUFFER,o.DEPTH_STENCIL_ATTACHMENT,o.RENDERBUFFER,t));o.bindRenderbuffer(o.RENDERBUFFER,null)}async copyTextureToBuffer(t,i,n,s,o,r){let{backend:l,gl:d}=this,{textureGPU:h,glFormat:p,glType:I}=this.backend.get(t),m=d.createFramebuffer();l.state.bindFramebuffer(d.READ_FRAMEBUFFER,m);let y=t.isCubeTexture?d.TEXTURE_CUBE_MAP_POSITIVE_X+r:d.TEXTURE_2D;d.framebufferTexture2D(d.READ_FRAMEBUFFER,d.COLOR_ATTACHMENT0,y,h,0);let T=this._getTypedArrayType(I),R=this._getBytesPerTexel(I,p),A=s*o*R,O=d.createBuffer();d.bindBuffer(d.PIXEL_PACK_BUFFER,O),d.bufferData(d.PIXEL_PACK_BUFFER,A,d.STREAM_READ),d.readPixels(i,n,s,o,p,I,0),d.bindBuffer(d.PIXEL_PACK_BUFFER,null),await l.utils._clientWaitAsync();let P=new T(A/T.BYTES_PER_ELEMENT);return d.bindBuffer(d.PIXEL_PACK_BUFFER,O),d.getBufferSubData(d.PIXEL_PACK_BUFFER,0,P),d.bindBuffer(d.PIXEL_PACK_BUFFER,null),l.state.bindFramebuffer(d.READ_FRAMEBUFFER,null),d.deleteFramebuffer(m),P}_getTypedArrayType(t){let{gl:i}=this;if(t===i.UNSIGNED_BYTE)return Uint8Array;if(t===i.UNSIGNED_SHORT_4_4_4_4||t===i.UNSIGNED_SHORT_5_5_5_1||t===i.UNSIGNED_SHORT_5_6_5||t===i.UNSIGNED_SHORT)return Uint16Array;if(t===i.UNSIGNED_INT)return Uint32Array;if(t===i.HALF_FLOAT)return Uint16Array;if(t===i.FLOAT)return Float32Array;throw new Error(`Unsupported WebGL type: ${t}`)}_getBytesPerTexel(t,i){let{gl:n}=this,s=0;if(t===n.UNSIGNED_BYTE&&(s=1),(t===n.UNSIGNED_SHORT_4_4_4_4||t===n.UNSIGNED_SHORT_5_5_5_1||t===n.UNSIGNED_SHORT_5_6_5||t===n.UNSIGNED_SHORT||t===n.HALF_FLOAT)&&(s=2),(t===n.UNSIGNED_INT||t===n.FLOAT)&&(s=4),i===n.RGBA)return s*4;if(i===n.RGB)return s*3;if(i===n.ALPHA)return s}dispose(){let{gl:t}=this;this._srcFramebuffer!==null&&t.deleteFramebuffer(this._srcFramebuffer),this._dstFramebuffer!==null&&t.deleteFramebuffer(this._dstFramebuffer)}};function K$(e){return e.isDataTexture?e.image.data:typeof HTMLImageElement<"u"&&e instanceof HTMLImageElement||typeof HTMLCanvasElement<"u"&&e instanceof HTMLCanvasElement||typeof ImageBitmap<"u"&&e instanceof ImageBitmap||typeof OffscreenCanvas<"u"&&e instanceof OffscreenCanvas?e:e.data}var eue=class{constructor(t){this.backend=t,this.gl=this.backend.gl,this.availableExtensions=this.gl.getSupportedExtensions(),this.extensions={}}get(t){let i=this.extensions[t];return i===void 0&&(i=this.gl.getExtension(t),this.extensions[t]=i),i}has(t){return this.availableExtensions.includes(t)}},tue=class{constructor(t){this.backend=t,this.maxAnisotropy=null,this.maxUniformBlockSize=null}getMaxAnisotropy(){if(this.maxAnisotropy!==null)return this.maxAnisotropy;let t=this.backend.gl,i=this.backend.extensions;if(i.has("EXT_texture_filter_anisotropic")===!0){let n=i.get("EXT_texture_filter_anisotropic");this.maxAnisotropy=t.getParameter(n.MAX_TEXTURE_MAX_ANISOTROPY_EXT)}else this.maxAnisotropy=0;return this.maxAnisotropy}getUniformBufferLimit(){if(this.maxUniformBlockSize!==null)return this.maxUniformBlockSize;let t=this.backend.gl;return this.maxUniformBlockSize=t.getParameter(t.MAX_UNIFORM_BLOCK_SIZE),this.maxUniformBlockSize}},rye={WEBGL_multi_draw:"WEBGL_multi_draw",WEBGL_compressed_texture_astc:"texture-compression-astc",WEBGL_compressed_texture_etc:"texture-compression-etc2",WEBGL_compressed_texture_etc1:"texture-compression-etc1",WEBGL_compressed_texture_pvrtc:"texture-compression-pvrtc",WEBGL_compressed_texture_s3tc:"texture-compression-s3tc",EXT_texture_compression_bptc:"texture-compression-bc",EXT_disjoint_timer_query_webgl2:"timestamp-query",OVR_multiview2:"OVR_multiview2"},iue=class{constructor(t){this.gl=t.gl,this.extensions=t.extensions,this.info=t.renderer.info,this.mode=null,this.index=0,this.type=null,this.object=null}render(t,i){let{gl:n,mode:s,object:o,type:r,info:l,index:d}=this;d!==0?n.drawElements(s,i,r,t):n.drawArrays(s,t,i),l.update(o,i,1)}renderInstances(t,i,n){let{gl:s,mode:o,type:r,index:l,object:d,info:h}=this;n!==0&&(l!==0?s.drawElementsInstanced(o,i,r,t,n):s.drawArraysInstanced(o,t,i,n),h.update(d,i,n))}renderMultiDraw(t,i,n){let{extensions:s,mode:o,object:r,info:l}=this;if(n===0)return;let d=s.get("WEBGL_multi_draw");if(d===null)for(let h=0;h<n;h++)this.render(t[h],i[h]);else{this.index!==0?d.multiDrawElementsWEBGL(o,i,0,this.type,t,0,n):d.multiDrawArraysWEBGL(o,t,0,i,0,n);let h=0;for(let p=0;p<n;p++)h+=i[p];l.update(r,h,1)}}},rK=class{constructor(t=256){this.trackTimestamp=!0,this.maxQueries=t,this.currentQueryIndex=0,this.queryOffsets=new Map,this.isDisposed=!1,this.lastValue=0,this.frames=[],this.pendingResolve=!1,this.timestamps=new Map}getTimestampFrames(){return this.frames}getTimestamp(t){let i=this.timestamps.get(t);return i===void 0&&(ci(`TimestampQueryPool: No timestamp available for uid ${t}.`),i=0),i}hasTimestamp(t){return this.timestamps.has(t)}allocateQueriesForContext(){}async resolveQueriesAsync(){}dispose(){}},nue=class extends rK{constructor(t,i,n=2048){if(super(n),this.gl=t,this.type=i,this.ext=t.getExtension("EXT_disjoint_timer_query_webgl2")||t.getExtension("EXT_disjoint_timer_query"),!this.ext){ci("EXT_disjoint_timer_query not supported; timestamps will be disabled."),this.trackTimestamp=!1;return}this.queries=[];for(let s=0;s<this.maxQueries;s++)this.queries.push(t.createQuery());this.activeQuery=null,this.queryStates=new Map}allocateQueriesForContext(t){if(!this.trackTimestamp)return null;if(this.currentQueryIndex+2>this.maxQueries)return Oo(`WebGLTimestampQueryPool [${this.type}]: Maximum number of queries exceeded, when using trackTimestamp it is necessary to resolves the queries via renderer.resolveTimestampsAsync( THREE.TimestampQuery.${this.type.toUpperCase()} ).`),null;let i=this.currentQueryIndex;return this.currentQueryIndex+=2,this.queryStates.set(i,"inactive"),this.queryOffsets.set(t,i),i}beginQuery(t){if(!this.trackTimestamp||this.isDisposed)return;let i=this.queryOffsets.get(t);if(i==null||this.activeQuery!==null)return;let n=this.queries[i];if(n)try{this.queryStates.get(i)==="inactive"&&(this.gl.beginQuery(this.ext.TIME_ELAPSED_EXT,n),this.activeQuery=i,this.queryStates.set(i,"started"))}catch(s){yi("Error in beginQuery:",s),this.activeQuery=null,this.queryStates.set(i,"inactive")}}endQuery(t){if(!this.trackTimestamp||this.isDisposed)return;let i=this.queryOffsets.get(t);if(i!=null&&this.activeQuery===i)try{this.gl.endQuery(this.ext.TIME_ELAPSED_EXT),this.queryStates.set(i,"ended"),this.activeQuery=null}catch(n){yi("Error in endQuery:",n),this.queryStates.set(i,"inactive"),this.activeQuery=null}}async resolveQueriesAsync(){if(!this.trackTimestamp||this.pendingResolve)return this.lastValue;this.pendingResolve=!0;try{let t=new Map;for(let[o,r]of this.queryOffsets)if(this.queryStates.get(r)==="ended"){let d=this.queries[r];t.set(o,this.resolveQuery(d))}if(t.size===0)return this.lastValue;let i={},n=[];for(let[o,r]of t){let l=o.match(/^(.*):f(\d+)$/),d=parseInt(l[2]);n.includes(d)===!1&&n.push(d),i[d]===void 0&&(i[d]=0);let h=await r;this.timestamps.set(o,h),i[d]+=h}let s=i[n[n.length-1]];return this.lastValue=s,this.frames=n,this.currentQueryIndex=0,this.queryOffsets.clear(),this.queryStates.clear(),this.activeQuery=null,s}catch(t){return yi("Error resolving queries:",t),this.lastValue}finally{this.pendingResolve=!1}}async resolveQuery(t){return new Promise(i=>{if(this.isDisposed){i(this.lastValue);return}let n,s=!1,o=()=>{n&&(clearTimeout(n),n=null)},r=d=>{s||(s=!0,o(),i(d))},l=()=>{if(this.isDisposed){r(this.lastValue);return}try{if(this.gl.getParameter(this.ext.GPU_DISJOINT_EXT)){r(this.lastValue);return}if(!this.gl.getQueryParameter(t,this.gl.QUERY_RESULT_AVAILABLE)){n=setTimeout(l,1);return}let p=this.gl.getQueryParameter(t,this.gl.QUERY_RESULT);i(Number(p)/1e6)}catch(d){yi("Error checking query:",d),i(this.lastValue)}};l()})}dispose(){if(!this.isDisposed&&(this.isDisposed=!0,!!this.trackTimestamp)){for(let t of this.queries)this.gl.deleteQuery(t);this.queries=[],this.queryStates.clear(),this.queryOffsets.clear(),this.lastValue=0,this.activeQuery=null}}},lK=class extends oK{constructor(t={}){super(t),this.isWebGLBackend=!0,this.attributeUtils=null,this.extensions=null,this.capabilities=null,this.textureUtils=null,this.bufferRenderer=null,this.gl=null,this.state=null,this.utils=null,this.vaoCache={},this.transformFeedbackCache={},this.discard=!1,this.disjoint=null,this.parallel=null,this._currentContext=null,this._knownBindings=new WeakSet,this._supportsInvalidateFramebuffer=typeof navigator>"u"?!1:/OculusBrowser/g.test(navigator.userAgent),this._xrFramebuffer=null}init(t){super.init(t);let i=this.parameters,n={antialias:t.currentSamples>0,alpha:!0,depth:t.depth,stencil:t.stencil},s=i.context!==void 0?i.context:t.domElement.getContext("webgl2",n);function o(r){r.preventDefault();let l={api:"WebGL",message:r.statusMessage||"Unknown reason",reason:null,originalEvent:r};t.onDeviceLost(l)}this._onContextLost=o,t.domElement.addEventListener("webglcontextlost",o,!1),this.gl=s,this.extensions=new eue(this),this.capabilities=new tue(this),this.attributeUtils=new Kae(this),this.textureUtils=new Xae(this),this.bufferRenderer=new iue(this),this.state=new Qae(this),this.utils=new Jae(this),this.extensions.get("EXT_color_buffer_float"),this.extensions.get("WEBGL_clip_cull_distance"),this.extensions.get("OES_texture_float_linear"),this.extensions.get("EXT_color_buffer_half_float"),this.extensions.get("WEBGL_multisampled_render_to_texture"),this.extensions.get("WEBGL_render_shared_exponent"),this.extensions.get("WEBGL_multi_draw"),this.extensions.get("OVR_multiview2"),this.extensions.get("EXT_clip_control"),this.disjoint=this.extensions.get("EXT_disjoint_timer_query_webgl2"),this.parallel=this.extensions.get("KHR_parallel_shader_compile"),this.drawBuffersIndexedExt=this.extensions.get("OES_draw_buffers_indexed"),i.reversedDepthBuffer&&(this.extensions.has("EXT_clip_control")?t.reversedDepthBuffer=!0:(ci("WebGPURenderer: Unable to use reversed depth buffer due to missing EXT_clip_control extension. Fallback to default depth buffer."),t.reversedDepthBuffer=!1)),t.reversedDepthBuffer&&this.state.setReversedDepth(!0)}get coordinateSystem(){return Wc}async getArrayBufferAsync(t,i=null,n=0,s=-1){return await this.attributeUtils.getArrayBufferAsync(t,i,n,s)}async makeXRCompatible(){this.gl.getContextAttributes().xrCompatible!==!0&&await this.gl.makeXRCompatible()}setXRTarget(t){this._xrFramebuffer=t}setXRRenderTargetTextures(t,i,n=null){let s=this.gl;if(this.set(t.texture,{textureGPU:i,glInternalFormat:s.RGBA8}),n!==null){let o=t.stencilBuffer?s.DEPTH24_STENCIL8:s.DEPTH_COMPONENT24;this.set(t.depthTexture,{textureGPU:n,glInternalFormat:o}),this.extensions.has("WEBGL_multisampled_render_to_texture")===!0&&t._autoAllocateDepthBuffer===!0&&t.multiview===!1&&ci("WebGLBackend: Render-to-texture extension was disabled because an external texture was provided"),t._autoAllocateDepthBuffer=!1}}initTimestampQuery(t,i){if(!this.disjoint||!this.trackTimestamp)return;this.timestampQueryPool[t]||(this.timestampQueryPool[t]=new nue(this.gl,t,2048));let n=this.timestampQueryPool[t];n.allocateQueriesForContext(i)!==null&&n.beginQuery(i)}prepareTimestampBuffer(t,i){if(!this.disjoint||!this.trackTimestamp)return;this.timestampQueryPool[t].endQuery(i)}getContext(){return this.gl}beginRender(t){let{state:i}=this,n=this.get(t);if(t.viewport)this.updateViewport(t);else{let{width:o,height:r}=this.getDrawingBufferSize();i.viewport(0,0,o,r)}if(t.scissor)this.updateScissor(t);else{let{width:o,height:r}=this.getDrawingBufferSize();i.scissor(0,0,o,r)}this.initTimestampQuery(Lm.RENDER,this.getTimestampUID(t)),n.previousContext=this._currentContext,this._currentContext=t,this._setFramebuffer(t),this.clear(t.clearColor,t.clearDepth,t.clearStencil,t,!1);let s=t.occlusionQueryCount;s>0&&(n.currentOcclusionQueries=n.occlusionQueries,n.currentOcclusionQueryObjects=n.occlusionQueryObjects,n.lastOcclusionObject=null,n.occlusionQueries=new Array(s),n.occlusionQueryObjects=new Array(s),n.occlusionQueryIndex=0)}finishRender(t){let{gl:i,state:n}=this,s=this.get(t),o=s.previousContext;n.resetVertexState();let r=t.occlusionQueryCount;r>0&&(r>s.occlusionQueryIndex&&i.endQuery(i.ANY_SAMPLES_PASSED),this.resolveOccludedAsync(t));let l=t.textures;if(l!==null)for(let d=0;d<l.length;d++){let h=l[d];h.generateMipmaps&&this.generateMipmaps(h)}if(this._currentContext=o,this._resolveRenderTarget(t),o!==null){if(this._setFramebuffer(o),o.viewport)this.updateViewport(o);else{let{width:d,height:h}=this.getDrawingBufferSize();n.viewport(0,0,d,h)}if(o.scissor)this.updateScissor(o);else{let{width:d,height:h}=this.getDrawingBufferSize();n.scissor(0,0,d,h)}}this.prepareTimestampBuffer(Lm.RENDER,this.getTimestampUID(t))}resolveOccludedAsync(t){let i=this.get(t),{currentOcclusionQueries:n,currentOcclusionQueryObjects:s}=i;if(n&&s){let o=new WeakSet,{gl:r}=this;i.currentOcclusionQueryObjects=null,i.currentOcclusionQueries=null;let l=()=>{let d=0;for(let h=0;h<n.length;h++){let p=n[h];p!==null&&r.getQueryParameter(p,r.QUERY_RESULT_AVAILABLE)&&(r.getQueryParameter(p,r.QUERY_RESULT)===0&&o.add(s[h]),n[h]=null,r.deleteQuery(p),d++)}d<n.length?requestAnimationFrame(l):i.occluded=o};l()}}isOccluded(t,i){let n=this.get(t);return n.occluded&&n.occluded.has(i)}updateViewport(t){let{state:i}=this,{x:n,y:s,width:o,height:r}=t.viewportValue;i.viewport(n,t.height-r-s,o,r)}updateScissor(t){let{state:i}=this,{x:n,y:s,width:o,height:r}=t.scissorValue;i.scissor(n,t.height-r-s,o,r)}setScissorTest(t){this.state.setScissorTest(t)}getClearColor(){let t=super.getClearColor();return t.r*=t.a,t.g*=t.a,t.b*=t.a,t}clear(t,i,n,s=null,o=!0,r=!0){let{gl:l,renderer:d}=this;s===null&&(s={textures:null,clearColorValue:this.getClearColor()});let h=0;if(t&&(h|=l.COLOR_BUFFER_BIT),i&&(h|=l.DEPTH_BUFFER_BIT),n&&(h|=l.STENCIL_BUFFER_BIT),h!==0){let p;s.clearColorValue?p=s.clearColorValue:p=this.getClearColor();let I=d.getClearDepth(),m=d.getClearStencil();if(i&&this.state.setDepthMask(!0),s.textures===null)l.clearColor(p.r,p.g,p.b,p.a),l.clear(h);else{if(o&&this._setFramebuffer(s),t)for(let y=0;y<s.textures.length;y++)y===0?l.clearBufferfv(l.COLOR,y,[p.r,p.g,p.b,p.a]):l.clearBufferfv(l.COLOR,y,[0,0,0,1]);i&&n?l.clearBufferfi(l.DEPTH_STENCIL,0,I,m):i?l.clearBufferfv(l.DEPTH,0,[I]):n&&l.clearBufferiv(l.STENCIL,0,[m]),o&&r&&this._resolveRenderTarget(s)}}}beginCompute(t){let{state:i,gl:n}=this;i.bindFramebuffer(n.FRAMEBUFFER,null),this.initTimestampQuery(Lm.COMPUTE,this.getTimestampUID(t))}compute(t,i,n,s,o=null){let{state:r,gl:l}=this;this.discard===!1&&(r.enable(l.RASTERIZER_DISCARD),this.discard=!0);let{programGPU:d,transformBuffers:h,attributes:p}=this.get(s),I=this._getVaoKey(p),m=this.vaoCache[I];m===void 0?this.vaoCache[I]=this._createVao(p):r.setVertexState(m),r.useProgram(d),this._bindUniforms(n);let y=this._getTransformFeedback(h);l.bindTransformFeedback(l.TRANSFORM_FEEDBACK,y),l.beginTransformFeedback(l.POINTS),o=o!==null?o:i.count,Array.isArray(o)?(Oo("WebGLBackend.compute(): The count parameter must be a single number, not an array."),o=o[0]):o&&typeof o=="object"&&o.isIndirectStorageBufferAttribute&&(Oo("WebGLBackend.compute(): The count parameter must be a single number, not IndirectStorageBufferAttribute"),o=i.count),p[0].isStorageInstancedBufferAttribute?l.drawArraysInstanced(l.POINTS,0,1,o):l.drawArrays(l.POINTS,0,o),l.endTransformFeedback(),l.bindTransformFeedback(l.TRANSFORM_FEEDBACK,null);for(let T=0;T<h.length;T++){let R=h[T];R.pbo&&this.has(R.pbo)&&this.textureUtils.copyBufferToTexture(R.transformBuffer,R.pbo),R.switchBuffers()}}finishCompute(t){let{state:i,gl:n}=this;this.discard=!1,i.disable(n.RASTERIZER_DISCARD),this.prepareTimestampBuffer(Lm.COMPUTE,this.getTimestampUID(t)),this._currentContext&&this._setFramebuffer(this._currentContext)}_isRenderCameraDepthArray(t){return t.depthTexture&&t.depthTexture.isArrayTexture&&t.camera.isArrayCamera}_draw(t,i,n,s,o,r){if(t.isBatchedMesh)if(this.hasFeature("WEBGL_multi_draw")===!1){let{gl:l}=this,d=l.getUniformLocation(r,"nodeUniformDrawId"),h=t._multiDrawStarts,p=t._multiDrawCounts,I=t._multiDrawCount;for(let m=0;m<I;m++)l.uniform1ui(d,m),i.render(h[m],p[m])}else i.renderMultiDraw(t._multiDrawStarts,t._multiDrawCounts,t._multiDrawCount);else o>1?i.renderInstances(n,s,o):i.render(n,s)}draw(t){let{object:i,pipeline:n,material:s,context:o,hardwareClippingPlanes:r}=t,{programGPU:l}=this.get(n),{gl:d,state:h}=this,p=this.get(o),I=t.getDrawParameters();if(I===null)return;this._bindUniforms(t.getBindings());let m=i.isMesh&&i.matrixWorld.determinant()<0;h.setMaterial(s,m,r),o.mrt!==null&&o.textures!==null&&h.setMRTBlending(o.textures,o.mrt,s),h.useProgram(l);let y=t.getAttributes(),T=this.get(y),R=T.vaoGPU;if(R===void 0){let K=this._getVaoKey(y);R=this.vaoCache[K],R===void 0&&(R=this._createVao(y),this.vaoCache[K]=R,T.vaoGPU=R)}let b=t.getIndex(),A=b!==null?this.get(b).bufferGPU:null;h.setVertexState(R,A);let O=p.lastOcclusionObject;if(O!==i&&O!==void 0){if(O!==null&&O.occlusionTest===!0&&(d.endQuery(d.ANY_SAMPLES_PASSED),p.occlusionQueryIndex++),i.occlusionTest===!0){let K=d.createQuery();d.beginQuery(d.ANY_SAMPLES_PASSED,K),p.occlusionQueries[p.occlusionQueryIndex]=K,p.occlusionQueryObjects[p.occlusionQueryIndex]=i}p.lastOcclusionObject=i}let P=this.bufferRenderer;i.isPoints?P.mode=d.POINTS:i.isLineSegments?P.mode=d.LINES:i.isLine?P.mode=d.LINE_STRIP:i.isLineLoop?P.mode=d.LINE_LOOP:s.wireframe===!0?(h.setLineWidth(s.wireframeLinewidth*this.renderer.getPixelRatio()),P.mode=d.LINES):P.mode=d.TRIANGLES;let{vertexCount:U,instanceCount:Z}=I,{firstVertex:ne}=I;if(P.object=i,b!==null){ne*=b.array.BYTES_PER_ELEMENT;let K=this.get(b);P.index=b.count,P.type=K.type}else P.index=0;if(t.camera.isArrayCamera===!0&&t.camera.cameras.length>0&&t.camera.isMultiViewCamera===!1){let K=this.get(t.camera),oe=t.camera.cameras,se=t.getBindingGroup("cameraIndex").bindings[0];if(K.indexesGPU===void 0||K.indexesGPU.length!==oe.length){let Ce=new Uint32Array([0,0,0,0]),Qe=[];for(let qe=0,St=oe.length;qe<St;qe++){let $e=d.createBuffer();Ce[0]=qe,d.bindBuffer(d.UNIFORM_BUFFER,$e),d.bufferData(d.UNIFORM_BUFFER,Ce,d.STATIC_DRAW),Qe.push($e)}K.indexesGPU=Qe}let he=0;e:for(let Ce of t.getBindings())for(let Qe of Ce.bindings){if(Qe===se)break e;(Qe.isUniformsGroup||Qe.isUniformBuffer)&&he++}let Re=this.renderer.getPixelRatio(),ee=this._currentContext.renderTarget,Ae=this._isRenderCameraDepthArray(this._currentContext),Ee=this._currentContext.activeCubeFace;if(Ae){let Ce=this.get(ee.depthTexture);if(Ce.clearedRenderId!==this.renderer._nodes.nodeFrame.renderId){Ce.clearedRenderId=this.renderer._nodes.nodeFrame.renderId;let{stencilBuffer:Qe}=ee;for(let qe=0,St=oe.length;qe<St;qe++)this.renderer._activeCubeFace=qe,this._currentContext.activeCubeFace=qe,this._setFramebuffer(this._currentContext),this.clear(!1,!0,Qe,this._currentContext,!1,!1);this.renderer._activeCubeFace=Ee,this._currentContext.activeCubeFace=Ee}}for(let Ce=0,Qe=oe.length;Ce<Qe;Ce++){let qe=oe[Ce];if(i.layers.test(qe.layers)){Ae&&(this.renderer._activeCubeFace=Ce,this._currentContext.activeCubeFace=Ce,this._setFramebuffer(this._currentContext));let St=qe.viewport;if(St!==void 0){let $e=St.x*Re,ke=St.y*Re,It=St.width*Re,ft=St.height*Re;h.viewport(Math.floor($e),Math.floor(t.context.height-ft-ke),Math.floor(It),Math.floor(ft))}h.bindBufferBase(d.UNIFORM_BUFFER,he,K.indexesGPU[Ce]),this._draw(i,P,ne,U,Z,l)}this._currentContext.activeCubeFace=Ee,this.renderer._activeCubeFace=Ee}}else this._draw(i,P,ne,U,Z,l)}needsRenderUpdate(){return!1}getRenderCacheKey(){return""}createDefaultTexture(t){this.textureUtils.createDefaultTexture(t)}createTexture(t,i){this.textureUtils.createTexture(t,i)}updateTexture(t,i){this.textureUtils.updateTexture(t,i)}generateMipmaps(t){this.textureUtils.generateMipmaps(t)}destroyTexture(t,i=!1){this.textureUtils.destroyTexture(t,i)}async copyTextureToBuffer(t,i,n,s,o,r){return this.textureUtils.copyTextureToBuffer(t,i,n,s,o,r)}updateSampler(){return""}createNodeBuilder(t,i){return new $ae(t,i)}createProgram(t){let i=this.gl,{stage:n,code:s}=t,o=n==="fragment"?i.createShader(i.FRAGMENT_SHADER):i.createShader(i.VERTEX_SHADER);i.shaderSource(o,s),i.compileShader(o),this.set(t,{shaderGPU:o})}destroyProgram(t){this.delete(t)}createRenderPipeline(t,i){let n=this.gl,s=t.pipeline,{fragmentProgram:o,vertexProgram:r}=s,l=n.createProgram(),d=this.get(o).shaderGPU,h=this.get(r).shaderGPU;if(n.attachShader(l,d),n.attachShader(l,h),n.linkProgram(l),this.set(s,{programGPU:l,fragmentShader:d,vertexShader:h}),i!==null&&this.parallel){let p=new Promise(I=>{let m=this.parallel,y=()=>{n.getProgramParameter(l,m.COMPLETION_STATUS_KHR)?(this._completeCompile(t,s),I()):requestAnimationFrame(y)};y()});i.push(p);return}this._completeCompile(t,s)}_handleSource(t,i){let n=t.split(`
|
||
`),s=[],o=Math.max(i-6,0),r=Math.min(i+6,n.length);for(let l=o;l<r;l++){let d=l+1;s.push(`${d===i?">":" "} ${d}: ${n[l]}`)}return s.join(`
|
||
`)}_getShaderErrors(t,i,n){let s=t.getShaderParameter(i,t.COMPILE_STATUS),r=(t.getShaderInfoLog(i)||"").trim();if(s&&r==="")return"";let l=/ERROR: 0:(\d+)/.exec(r);if(l){let d=parseInt(l[1]);return n.toUpperCase()+`
|
||
|
||
`+r+`
|
||
|
||
`+this._handleSource(t.getShaderSource(i),d)}else return r}_logProgramError(t,i,n){if(this.renderer.debug.checkShaderErrors){let s=this.gl,r=(s.getProgramInfoLog(t)||"").trim();if(s.getProgramParameter(t,s.LINK_STATUS)===!1)if(typeof this.renderer.debug.onShaderError=="function")this.renderer.debug.onShaderError(s,t,n,i);else{let l=this._getShaderErrors(s,n,"vertex"),d=this._getShaderErrors(s,i,"fragment");yi("THREE.WebGLProgram: Shader Error "+s.getError()+" - VALIDATE_STATUS "+s.getProgramParameter(t,s.VALIDATE_STATUS)+`
|
||
|
||
Program Info Log: `+r+`
|
||
`+l+`
|
||
`+d)}else r!==""&&ci("WebGLProgram: Program Info Log:",r)}}_completeCompile(t,i){let{state:n,gl:s}=this,o=this.get(i),{programGPU:r,fragmentShader:l,vertexShader:d}=o;s.getProgramParameter(r,s.LINK_STATUS)===!1&&this._logProgramError(r,l,d),n.useProgram(r);let h=t.getBindings();this._setupBindings(h,r),this.set(i,{programGPU:r,pipeline:r})}createComputePipeline(t,i){let{state:n,gl:s}=this,o={stage:"fragment",code:`#version 300 es
|
||
precision highp float;
|
||
void main() {}`};this.createProgram(o);let{computeProgram:r}=t,l=s.createProgram(),d=this.get(o).shaderGPU,h=this.get(r).shaderGPU,p=r.transforms,I=[],m=[];for(let b=0;b<p.length;b++){let A=p[b];I.push(A.varyingName),m.push(A.attributeNode)}s.attachShader(l,d),s.attachShader(l,h),s.transformFeedbackVaryings(l,I,s.SEPARATE_ATTRIBS),s.linkProgram(l),s.getProgramParameter(l,s.LINK_STATUS)===!1&&this._logProgramError(l,d,h),n.useProgram(l),this._setupBindings(i,l);let y=r.attributes,T=[],R=[];for(let b=0;b<y.length;b++){let A=y[b].node.attribute;T.push(A),this.has(A)||this.attributeUtils.createAttribute(A,s.ARRAY_BUFFER)}for(let b=0;b<m.length;b++){let A=m[b].attribute;this.has(A)||this.attributeUtils.createAttribute(A,s.ARRAY_BUFFER);let O=this.get(A);R.push(O)}this.set(t,{programGPU:l,transformBuffers:R,attributes:T})}createBindings(t,i){if(this._knownBindings.has(i)===!1){this._knownBindings.add(i);let n=0,s=0;for(let o of i){this.set(o,{textures:s,uniformBuffers:n});for(let r of o.bindings)r.isUniformBuffer&&n++,r.isSampledTexture&&s++}}this.updateBindings(t,i)}updateBindings(t){let{gl:i}=this;for(let n of t.bindings){let s=this.get(n);if(n.isUniformsGroup||n.isUniformBuffer){let o=n.buffer,{bufferGPU:r}=this.get(o);r===void 0?(r=i.createBuffer(),i.bindBuffer(i.UNIFORM_BUFFER,r),i.bufferData(i.UNIFORM_BUFFER,o.byteLength,i.DYNAMIC_DRAW),this.set(o,{bufferGPU:r})):i.bindBuffer(i.UNIFORM_BUFFER,r);let l=n.updateRanges;if(i.bindBuffer(i.UNIFORM_BUFFER,r),l.length===0)i.bufferData(i.UNIFORM_BUFFER,o,i.DYNAMIC_DRAW);else{let d=LC(o),h=d?1:o.BYTES_PER_ELEMENT;for(let p=0,I=l.length;p<I;p++){let m=l[p],y=m.start*h,T=m.count*h,R=y*(d?o.BYTES_PER_ELEMENT:1);i.bufferSubData(i.UNIFORM_BUFFER,R,o,y,T)}}s.bufferGPU=r,this.set(n,s)}else if(n.isSampledTexture){let{textureGPU:o,glTextureType:r}=this.get(n.texture);s.textureGPU=o,s.glTextureType=r,this.set(n,s)}}}updateBinding(t){let i=this.gl;if(t.isUniformsGroup||t.isUniformBuffer){let s=this.get(t).bufferGPU,o=t.buffer,r=t.updateRanges;if(i.bindBuffer(i.UNIFORM_BUFFER,s),r.length===0)i.bufferData(i.UNIFORM_BUFFER,o,i.DYNAMIC_DRAW);else{let l=LC(o),d=l?1:o.BYTES_PER_ELEMENT;for(let h=0,p=r.length;h<p;h++){let I=r[h],m=I.start*d,y=I.count*d,T=m*(l?o.BYTES_PER_ELEMENT:1);i.bufferSubData(i.UNIFORM_BUFFER,T,o,m,y)}}}}createIndexAttribute(t){let i=this.gl;this.attributeUtils.createAttribute(t,i.ELEMENT_ARRAY_BUFFER)}createAttribute(t){if(this.has(t))return;let i=this.gl;this.attributeUtils.createAttribute(t,i.ARRAY_BUFFER)}createStorageAttribute(t){if(this.has(t))return;let i=this.gl;this.attributeUtils.createAttribute(t,i.ARRAY_BUFFER)}updateAttribute(t){this.attributeUtils.updateAttribute(t)}destroyAttribute(t){this.attributeUtils.destroyAttribute(t)}hasFeature(t){let i=Object.keys(rye).filter(s=>rye[s]===t),n=this.extensions;for(let s=0;s<i.length;s++)if(n.has(i[s]))return!0;return!1}copyTextureToTexture(t,i,n=null,s=null,o=0,r=0){this.textureUtils.copyTextureToTexture(t,i,n,s,o,r)}copyFramebufferToTexture(t,i,n){this.textureUtils.copyFramebufferToTexture(t,i,n)}hasCompatibility(t){return t===dw.TEXTURE_COMPARE?!0:super.hasCompatibility(t)}initRenderTarget(t){let{gl:i,state:n}=this;this._setFramebuffer(t),n.bindFramebuffer(i.FRAMEBUFFER,null)}_setFramebuffer(t){let{gl:i,state:n}=this,s=null;if(t.textures!==null){let o=t.renderTarget,r=this.get(o),{samples:l,depthBuffer:d,stencilBuffer:h}=o,p=o.isCubeRenderTarget===!0,I=o.isRenderTarget3D===!0,m=o.depth>1,y=o.isXRRenderTarget===!0,T=y===!0&&o._hasExternalTextures===!0,R=r.msaaFrameBuffer,b=r.depthRenderbuffer,A=this.extensions.get("WEBGL_multisampled_render_to_texture"),O=this.extensions.get("OVR_multiview2"),P=this._useMultisampledExtension(o),U=C3e(t),Z;if(p?(r.cubeFramebuffers||(r.cubeFramebuffers={}),Z=r.cubeFramebuffers[U]):y&&T===!1?Z=this._xrFramebuffer:(r.framebuffers||(r.framebuffers={}),Z=r.framebuffers[U]),Z===void 0){Z=i.createFramebuffer(),n.bindFramebuffer(i.FRAMEBUFFER,Z);let ne=t.textures,K=[];if(p){r.cubeFramebuffers[U]=Z;let{textureGPU:se}=this.get(ne[0]),he=this.renderer._activeCubeFace,Re=this.renderer._activeMipmapLevel;i.framebufferTexture2D(i.FRAMEBUFFER,i.COLOR_ATTACHMENT0,i.TEXTURE_CUBE_MAP_POSITIVE_X+he,se,Re)}else{r.framebuffers[U]=Z;for(let se=0;se<ne.length;se++){let he=ne[se],Re=this.get(he);Re.renderTarget=t.renderTarget,Re.cacheKey=U;let ee=i.COLOR_ATTACHMENT0+se;if(o.multiview)O.framebufferTextureMultisampleMultiviewOVR(i.FRAMEBUFFER,ee,Re.textureGPU,0,l,0,2);else if(I||m){let Ae=this.renderer._activeCubeFace,Ee=this.renderer._activeMipmapLevel;i.framebufferTextureLayer(i.FRAMEBUFFER,ee,Re.textureGPU,Ee,Ae)}else if(P)A.framebufferTexture2DMultisampleEXT(i.FRAMEBUFFER,ee,i.TEXTURE_2D,Re.textureGPU,0,l);else{let Ae=this.renderer._activeMipmapLevel;i.framebufferTexture2D(i.FRAMEBUFFER,ee,i.TEXTURE_2D,Re.textureGPU,Ae)}}}let oe=h?i.DEPTH_STENCIL_ATTACHMENT:i.DEPTH_ATTACHMENT;if(o._autoAllocateDepthBuffer===!0){let se=i.createRenderbuffer();this.textureUtils.setupRenderBufferStorage(se,t,0,P),r.xrDepthRenderbuffer=se,K.push(h?i.DEPTH_STENCIL_ATTACHMENT:i.DEPTH_ATTACHMENT),i.bindRenderbuffer(i.RENDERBUFFER,se),i.framebufferRenderbuffer(i.FRAMEBUFFER,oe,i.RENDERBUFFER,se)}else if(t.depthTexture!==null){K.push(h?i.DEPTH_STENCIL_ATTACHMENT:i.DEPTH_ATTACHMENT);let se=this.get(t.depthTexture);if(se.renderTarget=t.renderTarget,se.cacheKey=U,o.multiview)O.framebufferTextureMultisampleMultiviewOVR(i.FRAMEBUFFER,oe,se.textureGPU,0,l,0,2);else if(T&&P)A.framebufferTexture2DMultisampleEXT(i.FRAMEBUFFER,oe,i.TEXTURE_2D,se.textureGPU,0,l);else if(t.depthTexture.isArrayTexture){let he=this.renderer._activeCubeFace;i.framebufferTextureLayer(i.FRAMEBUFFER,oe,se.textureGPU,0,he)}else if(t.depthTexture.isCubeTexture){let he=this.renderer._activeCubeFace;i.framebufferTexture2D(i.FRAMEBUFFER,oe,i.TEXTURE_CUBE_MAP_POSITIVE_X+he,se.textureGPU,0)}else i.framebufferTexture2D(i.FRAMEBUFFER,oe,i.TEXTURE_2D,se.textureGPU,0)}r.depthInvalidationArray=K}else{if(this._isRenderCameraDepthArray(t)){n.bindFramebuffer(i.FRAMEBUFFER,Z);let K=this.renderer._activeCubeFace,oe=this.get(t.depthTexture),se=h?i.DEPTH_STENCIL_ATTACHMENT:i.DEPTH_ATTACHMENT;i.framebufferTextureLayer(i.FRAMEBUFFER,se,oe.textureGPU,0,K)}if((y||P||o.multiview)&&o._isOpaqueFramebuffer!==!0){n.bindFramebuffer(i.FRAMEBUFFER,Z);let K=this.get(t.textures[0]);o.multiview?O.framebufferTextureMultisampleMultiviewOVR(i.FRAMEBUFFER,i.COLOR_ATTACHMENT0,K.textureGPU,0,l,0,2):P?A.framebufferTexture2DMultisampleEXT(i.FRAMEBUFFER,i.COLOR_ATTACHMENT0,i.TEXTURE_2D,K.textureGPU,0,l):i.framebufferTexture2D(i.FRAMEBUFFER,i.COLOR_ATTACHMENT0,i.TEXTURE_2D,K.textureGPU,0);let oe=h?i.DEPTH_STENCIL_ATTACHMENT:i.DEPTH_ATTACHMENT;if(o._autoAllocateDepthBuffer===!0){let se=r.xrDepthRenderbuffer;i.bindRenderbuffer(i.RENDERBUFFER,se),i.framebufferRenderbuffer(i.FRAMEBUFFER,oe,i.RENDERBUFFER,se)}else{let se=this.get(t.depthTexture);o.multiview?O.framebufferTextureMultisampleMultiviewOVR(i.FRAMEBUFFER,oe,se.textureGPU,0,l,0,2):P?A.framebufferTexture2DMultisampleEXT(i.FRAMEBUFFER,oe,i.TEXTURE_2D,se.textureGPU,0,l):i.framebufferTexture2D(i.FRAMEBUFFER,oe,i.TEXTURE_2D,se.textureGPU,0)}}}if(l>0&&P===!1&&!o.multiview){if(R===void 0){let ne=[];R=i.createFramebuffer(),n.bindFramebuffer(i.FRAMEBUFFER,R);let K=[],oe=t.textures;for(let se=0;se<oe.length;se++){K[se]=i.createRenderbuffer(),i.bindRenderbuffer(i.RENDERBUFFER,K[se]),ne.push(i.COLOR_ATTACHMENT0+se);let he=t.textures[se],Re=this.get(he);i.renderbufferStorageMultisample(i.RENDERBUFFER,l,Re.glInternalFormat,t.width,t.height),i.framebufferRenderbuffer(i.FRAMEBUFFER,i.COLOR_ATTACHMENT0+se,i.RENDERBUFFER,K[se])}if(i.bindRenderbuffer(i.RENDERBUFFER,null),r.msaaFrameBuffer=R,r.msaaRenderbuffers=K,d&&b===void 0){b=i.createRenderbuffer(),this.textureUtils.setupRenderBufferStorage(b,t,l),r.depthRenderbuffer=b;let se=h?i.DEPTH_STENCIL_ATTACHMENT:i.DEPTH_ATTACHMENT;ne.push(se)}r.invalidationArray=ne}s=r.msaaFrameBuffer}else s=Z;n.drawBuffers(t,Z)}n.bindFramebuffer(i.FRAMEBUFFER,s)}_getVaoKey(t){let i="";for(let n=0;n<t.length;n++){let s=this.get(t[n]);i+=":"+s.id}return i}_createVao(t){let{gl:i}=this,n=i.createVertexArray();i.bindVertexArray(n);for(let s=0;s<t.length;s++){let o=t[s],r=this.get(o);i.bindBuffer(i.ARRAY_BUFFER,r.bufferGPU),i.enableVertexAttribArray(s);let l,d;o.isInterleavedBufferAttribute===!0?(l=o.data.stride*r.bytesPerElement,d=o.offset*r.bytesPerElement):(l=0,d=0),r.isInteger?i.vertexAttribIPointer(s,o.itemSize,r.type,l,d):i.vertexAttribPointer(s,o.itemSize,r.type,o.normalized,l,d),o.isInstancedBufferAttribute&&!o.isInterleavedBufferAttribute?i.vertexAttribDivisor(s,o.meshPerAttribute):o.isInterleavedBufferAttribute&&o.data.isInstancedInterleavedBuffer&&i.vertexAttribDivisor(s,o.data.meshPerAttribute)}return i.bindBuffer(i.ARRAY_BUFFER,null),n}_getTransformFeedback(t){let i="";for(let o=0;o<t.length;o++)i+=":"+t[o].id;let n=this.transformFeedbackCache[i];if(n!==void 0)return n;let{gl:s}=this;n=s.createTransformFeedback(),s.bindTransformFeedback(s.TRANSFORM_FEEDBACK,n);for(let o=0;o<t.length;o++){let r=t[o];s.bindBufferBase(s.TRANSFORM_FEEDBACK_BUFFER,o,r.transformBuffer)}return s.bindTransformFeedback(s.TRANSFORM_FEEDBACK,null),this.transformFeedbackCache[i]=n,n}_setupBindings(t,i){let n=this.gl,s=0,o=0;for(let r of t)for(let l of r.bindings)if(l.isUniformsGroup||l.isUniformBuffer){let d=s++,h=n.getUniformBlockIndex(i,l.name);n.uniformBlockBinding(i,h,d)}else if(l.isSampledTexture){let d=o++,h=n.getUniformLocation(i,l.name);n.uniform1i(h,d)}}_bindUniforms(t){let{gl:i,state:n}=this,s=0,o=0;for(let r of t)for(let l of r.bindings){let d=this.get(l);if(l.isUniformsGroup||l.isUniformBuffer){let h=s++;n.bindBufferBase(i.UNIFORM_BUFFER,h,d.bufferGPU)}else if(l.isSampledTexture){let h=o++;n.bindTexture(d.glTextureType,d.textureGPU,i.TEXTURE0+h)}}}_resolveRenderTarget(t){let{gl:i,state:n}=this,s=t.renderTarget;if(t.textures!==null&&s){let o=this.get(s);if(s.samples>0&&this._useMultisampledExtension(s)===!1){let r=o.framebuffers[t.getCacheKey()],l=i.COLOR_BUFFER_BIT;s.resolveDepthBuffer&&(s.depthBuffer&&(l|=i.DEPTH_BUFFER_BIT),s.stencilBuffer&&s.resolveStencilBuffer&&(l|=i.STENCIL_BUFFER_BIT));let d=o.msaaFrameBuffer,h=o.msaaRenderbuffers,p=t.textures,I=p.length>1;if(n.bindFramebuffer(i.READ_FRAMEBUFFER,d),n.bindFramebuffer(i.DRAW_FRAMEBUFFER,r),I)for(let m=0;m<p.length;m++)i.framebufferRenderbuffer(i.READ_FRAMEBUFFER,i.COLOR_ATTACHMENT0+m,i.RENDERBUFFER,null),i.framebufferTexture2D(i.DRAW_FRAMEBUFFER,i.COLOR_ATTACHMENT0+m,i.TEXTURE_2D,null,0);for(let m=0;m<p.length;m++){if(I){let{textureGPU:y}=this.get(p[m]);i.framebufferRenderbuffer(i.READ_FRAMEBUFFER,i.COLOR_ATTACHMENT0,i.RENDERBUFFER,h[m]),i.framebufferTexture2D(i.DRAW_FRAMEBUFFER,i.COLOR_ATTACHMENT0,i.TEXTURE_2D,y,0)}if(t.scissor){let{x:y,y:T,width:R,height:b}=t.scissorValue,A=t.height-b-T;i.blitFramebuffer(y,A,y+R,A+b,y,A,y+R,A+b,l,i.NEAREST)}else i.blitFramebuffer(0,0,t.width,t.height,0,0,t.width,t.height,l,i.NEAREST)}if(I)for(let m=0;m<p.length;m++){let{textureGPU:y}=this.get(p[m]);i.framebufferRenderbuffer(i.READ_FRAMEBUFFER,i.COLOR_ATTACHMENT0+m,i.RENDERBUFFER,h[m]),i.framebufferTexture2D(i.DRAW_FRAMEBUFFER,i.COLOR_ATTACHMENT0+m,i.TEXTURE_2D,y,0)}this._supportsInvalidateFramebuffer===!0&&i.invalidateFramebuffer(i.READ_FRAMEBUFFER,o.invalidationArray)}else if(s.resolveDepthBuffer===!1&&o.framebuffers){let r=o.framebuffers[t.getCacheKey()];n.bindFramebuffer(i.DRAW_FRAMEBUFFER,r),i.invalidateFramebuffer(i.DRAW_FRAMEBUFFER,o.depthInvalidationArray)}}}_useMultisampledExtension(t){return t.multiview===!0?!0:t.samples>0&&this.extensions.has("WEBGL_multisampled_render_to_texture")===!0&&t._autoAllocateDepthBuffer!==!1}dispose(){this.textureUtils!==null&&this.textureUtils.dispose();let t=this.extensions.get("WEBGL_lose_context");t&&t.loseContext(),this.renderer.domElement.removeEventListener("webglcontextlost",this._onContextLost)}},Q$={PointList:"point-list",LineList:"line-list",LineStrip:"line-strip",TriangleList:"triangle-list"},B2=typeof self<"u"&&self.GPUShaderStage?self.GPUShaderStage:{VERTEX:1,FRAGMENT:2,COMPUTE:4},Yh={Never:"never",Less:"less",Equal:"equal",LessEqual:"less-equal",Greater:"greater",NotEqual:"not-equal",GreaterEqual:"greater-equal",Always:"always"},oI={Store:"store"},Vo={Load:"load",Clear:"clear"},lye={CCW:"ccw",CW:"cw"},aye={None:"none",Back:"back"},aK={Uint16:"uint16",Uint32:"uint32"},Pt={R8Unorm:"r8unorm",R8Snorm:"r8snorm",R8Uint:"r8uint",R8Sint:"r8sint",R16Uint:"r16uint",R16Sint:"r16sint",R16Float:"r16float",RG8Unorm:"rg8unorm",RG8Snorm:"rg8snorm",RG8Uint:"rg8uint",RG8Sint:"rg8sint",R16Unorm:"r16unorm",R16Snorm:"r16snorm",R32Uint:"r32uint",R32Sint:"r32sint",R32Float:"r32float",RG16Uint:"rg16uint",RG16Sint:"rg16sint",RG16Float:"rg16float",RGBA8Unorm:"rgba8unorm",RGBA8UnormSRGB:"rgba8unorm-srgb",RGBA8Snorm:"rgba8snorm",RGBA8Uint:"rgba8uint",RGBA8Sint:"rgba8sint",BGRA8Unorm:"bgra8unorm",BGRA8UnormSRGB:"bgra8unorm-srgb",RG16Unorm:"rg16unorm",RG16Snorm:"rg16snorm",RGB9E5UFloat:"rgb9e5ufloat",RGB10A2Unorm:"rgb10a2unorm",RG11B10UFloat:"rg11b10ufloat",RG32Uint:"rg32uint",RG32Sint:"rg32sint",RG32Float:"rg32float",RGBA16Uint:"rgba16uint",RGBA16Sint:"rgba16sint",RGBA16Float:"rgba16float",RGBA16Unorm:"rgba16unorm",RGBA16Snorm:"rgba16snorm",RGBA32Uint:"rgba32uint",RGBA32Sint:"rgba32sint",RGBA32Float:"rgba32float",Depth16Unorm:"depth16unorm",Depth24Plus:"depth24plus",Depth24PlusStencil8:"depth24plus-stencil8",Depth32Float:"depth32float",Depth32FloatStencil8:"depth32float-stencil8",BC1RGBAUnorm:"bc1-rgba-unorm",BC1RGBAUnormSRGB:"bc1-rgba-unorm-srgb",BC2RGBAUnorm:"bc2-rgba-unorm",BC2RGBAUnormSRGB:"bc2-rgba-unorm-srgb",BC3RGBAUnorm:"bc3-rgba-unorm",BC3RGBAUnormSRGB:"bc3-rgba-unorm-srgb",BC4RUnorm:"bc4-r-unorm",BC4RSnorm:"bc4-r-snorm",BC5RGUnorm:"bc5-rg-unorm",BC5RGSnorm:"bc5-rg-snorm",BC6HRGBUFloat:"bc6h-rgb-ufloat",BC6HRGBFloat:"bc6h-rgb-float",BC7RGBAUnorm:"bc7-rgba-unorm",BC7RGBAUnormSRGB:"bc7-rgba-unorm-srgb",ETC2RGB8Unorm:"etc2-rgb8unorm",ETC2RGB8UnormSRGB:"etc2-rgb8unorm-srgb",ETC2RGB8A1Unorm:"etc2-rgb8a1unorm",ETC2RGB8A1UnormSRGB:"etc2-rgb8a1unorm-srgb",ETC2RGBA8Unorm:"etc2-rgba8unorm",ETC2RGBA8UnormSRGB:"etc2-rgba8unorm-srgb",EACR11Unorm:"eac-r11unorm",EACR11Snorm:"eac-r11snorm",EACRG11Unorm:"eac-rg11unorm",EACRG11Snorm:"eac-rg11snorm",ASTC4x4Unorm:"astc-4x4-unorm",ASTC4x4UnormSRGB:"astc-4x4-unorm-srgb",ASTC5x4Unorm:"astc-5x4-unorm",ASTC5x4UnormSRGB:"astc-5x4-unorm-srgb",ASTC5x5Unorm:"astc-5x5-unorm",ASTC5x5UnormSRGB:"astc-5x5-unorm-srgb",ASTC6x5Unorm:"astc-6x5-unorm",ASTC6x5UnormSRGB:"astc-6x5-unorm-srgb",ASTC6x6Unorm:"astc-6x6-unorm",ASTC6x6UnormSRGB:"astc-6x6-unorm-srgb",ASTC8x5Unorm:"astc-8x5-unorm",ASTC8x5UnormSRGB:"astc-8x5-unorm-srgb",ASTC8x6Unorm:"astc-8x6-unorm",ASTC8x6UnormSRGB:"astc-8x6-unorm-srgb",ASTC8x8Unorm:"astc-8x8-unorm",ASTC8x8UnormSRGB:"astc-8x8-unorm-srgb",ASTC10x5Unorm:"astc-10x5-unorm",ASTC10x5UnormSRGB:"astc-10x5-unorm-srgb",ASTC10x6Unorm:"astc-10x6-unorm",ASTC10x6UnormSRGB:"astc-10x6-unorm-srgb",ASTC10x8Unorm:"astc-10x8-unorm",ASTC10x8UnormSRGB:"astc-10x8-unorm-srgb",ASTC10x10Unorm:"astc-10x10-unorm",ASTC10x10UnormSRGB:"astc-10x10-unorm-srgb",ASTC12x10Unorm:"astc-12x10-unorm",ASTC12x10UnormSRGB:"astc-12x10-unorm-srgb",ASTC12x12Unorm:"astc-12x12-unorm",ASTC12x12UnormSRGB:"astc-12x12-unorm-srgb"},koe={ClampToEdge:"clamp-to-edge",Repeat:"repeat",MirrorRepeat:"mirror-repeat"},P2={Linear:"linear",Nearest:"nearest"},Xs={Zero:"zero",One:"one",Src:"src",OneMinusSrc:"one-minus-src",SrcAlpha:"src-alpha",OneMinusSrcAlpha:"one-minus-src-alpha",Dst:"dst",OneMinusDst:"one-minus-dst",DstAlpha:"dst-alpha",OneMinusDstAlpha:"one-minus-dst-alpha",SrcAlphaSaturated:"src-alpha-saturated",Constant:"constant",OneMinusConstant:"one-minus-constant"},px={Add:"add",Subtract:"subtract",ReverseSubtract:"reverse-subtract",Min:"min",Max:"max"},uye={None:0,All:15},JN={Keep:"keep",Zero:"zero",Replace:"replace",Invert:"invert",IncrementClamp:"increment-clamp",DecrementClamp:"decrement-clamp",IncrementWrap:"increment-wrap",DecrementWrap:"decrement-wrap"},zoe={Storage:"storage",ReadOnlyStorage:"read-only-storage"},Woe={WriteOnly:"write-only",ReadOnly:"read-only",ReadWrite:"read-write"},cye={NonFiltering:"non-filtering",Comparison:"comparison"},Ix={Float:"float",UnfilterableFloat:"unfilterable-float",Depth:"depth",SInt:"sint",UInt:"uint"},dye={TwoD:"2d",ThreeD:"3d"},Wf={TwoD:"2d",TwoDArray:"2d-array",Cube:"cube",ThreeD:"3d"},bVe={All:"all"},J$={Vertex:"vertex",Instance:"instance"},uK={CoreFeaturesAndLimits:"core-features-and-limits",DepthClipControl:"depth-clip-control",Depth32FloatStencil8:"depth32float-stencil8",TextureCompressionBC:"texture-compression-bc",TextureCompressionBCSliced3D:"texture-compression-bc-sliced-3d",TextureCompressionETC2:"texture-compression-etc2",TextureCompressionASTC:"texture-compression-astc",TextureCompressionASTCSliced3D:"texture-compression-astc-sliced-3d",TimestampQuery:"timestamp-query",IndirectFirstInstance:"indirect-first-instance",ShaderF16:"shader-f16",RG11B10UFloat:"rg11b10ufloat-renderable",BGRA8UNormStorage:"bgra8unorm-storage",Float32Filterable:"float32-filterable",Float32Blendable:"float32-blendable",ClipDistances:"clip-distances",DualSourceBlending:"dual-source-blending",Subgroups:"subgroups",TextureFormatsTier1:"texture-formats-tier1",TextureFormatsTier2:"texture-formats-tier2"},hye={"texture-compression-s3tc":"texture-compression-bc","texture-compression-etc1":"texture-compression-etc2"},sue=class extends nK{constructor(t,i,n){super(t,i?i.value:null),this.textureNode=i,this.groupNode=n}update(){let{textureNode:t}=this;return this.texture!==t.value?(this.texture=t.value,!0):super.update()}},oue=class extends XZ{constructor(t,i){super(t,i?i.array:null),this._attribute=i,this.isStorageBuffer=!0}get attribute(){return this._attribute}},NVe=0,rue=class extends oue{constructor(t,i){super("StorageBuffer_"+NVe++,t?t.value:null),this.nodeUniform=t,this.access=t?t.access:jh.READ_WRITE,this.groupNode=i}get attribute(){return this.nodeUniform.value}get buffer(){return this.nodeUniform.value.array}},lue=class extends Y2{constructor(t){super(),this.device=t;let i=`
|
||
struct VarysStruct {
|
||
@builtin( position ) Position: vec4f,
|
||
@location( 0 ) vTex : vec2f,
|
||
@location( 1 ) @interpolate(flat, either) vBaseArrayLayer: u32,
|
||
};
|
||
|
||
@group( 0 ) @binding ( 2 )
|
||
var<uniform> flipY: u32;
|
||
|
||
@vertex
|
||
fn mainVS(
|
||
@builtin( vertex_index ) vertexIndex : u32,
|
||
@builtin( instance_index ) instanceIndex : u32 ) -> VarysStruct {
|
||
|
||
var Varys : VarysStruct;
|
||
|
||
var pos = array(
|
||
vec2f( -1, -1 ),
|
||
vec2f( -1, 3 ),
|
||
vec2f( 3, -1 ),
|
||
);
|
||
|
||
let p = pos[ vertexIndex ];
|
||
let mult = select( vec2f( 0.5, -0.5 ), vec2f( 0.5, 0.5 ), flipY != 0 );
|
||
Varys.vTex = p * mult + vec2f( 0.5 );
|
||
Varys.Position = vec4f( p, 0, 1 );
|
||
Varys.vBaseArrayLayer = instanceIndex;
|
||
|
||
return Varys;
|
||
|
||
}
|
||
|
||
@group( 0 ) @binding( 0 )
|
||
var imgSampler : sampler;
|
||
|
||
@group( 0 ) @binding( 1 )
|
||
var img2d : texture_2d<f32>;
|
||
|
||
@fragment
|
||
fn main_2d( Varys: VarysStruct ) -> @location( 0 ) vec4<f32> {
|
||
|
||
return textureSample( img2d, imgSampler, Varys.vTex );
|
||
|
||
}
|
||
|
||
@group( 0 ) @binding( 1 )
|
||
var img2dArray : texture_2d_array<f32>;
|
||
|
||
@fragment
|
||
fn main_2d_array( Varys: VarysStruct ) -> @location( 0 ) vec4<f32> {
|
||
|
||
return textureSample( img2dArray, imgSampler, Varys.vTex, Varys.vBaseArrayLayer );
|
||
|
||
}
|
||
|
||
const faceMat = array(
|
||
mat3x3f( 0, 0, -2, 0, -2, 0, 1, 1, 1 ), // pos-x
|
||
mat3x3f( 0, 0, 2, 0, -2, 0, -1, 1, -1 ), // neg-x
|
||
mat3x3f( 2, 0, 0, 0, 0, 2, -1, 1, -1 ), // pos-y
|
||
mat3x3f( 2, 0, 0, 0, 0, -2, -1, -1, 1 ), // neg-y
|
||
mat3x3f( 2, 0, 0, 0, -2, 0, -1, 1, 1 ), // pos-z
|
||
mat3x3f( -2, 0, 0, 0, -2, 0, 1, 1, -1 ), // neg-z
|
||
);
|
||
|
||
@group( 0 ) @binding( 1 )
|
||
var imgCube : texture_cube<f32>;
|
||
|
||
@fragment
|
||
fn main_cube( Varys: VarysStruct ) -> @location( 0 ) vec4<f32> {
|
||
|
||
return textureSample( imgCube, imgSampler, faceMat[ Varys.vBaseArrayLayer ] * vec3f( fract( Varys.vTex ), 1 ) );
|
||
|
||
}
|
||
`;this.mipmapSampler=t.createSampler({minFilter:P2.Linear}),this.flipYSampler=t.createSampler({minFilter:P2.Nearest}),this.flipUniformBuffer=t.createBuffer({size:4,usage:GPUBufferUsage.UNIFORM|GPUBufferUsage.COPY_DST}),t.queue.writeBuffer(this.flipUniformBuffer,0,new Uint32Array([1])),this.noFlipUniformBuffer=t.createBuffer({size:4,usage:GPUBufferUsage.UNIFORM}),this.transferPipelines={},this.mipmapShaderModule=t.createShaderModule({label:"mipmap",code:i})}getTransferPipeline(t,i){i=i||"2d-array";let n=`${t}-${i}`,s=this.transferPipelines[n];return s===void 0&&(s=this.device.createRenderPipeline({label:`mipmap-${t}-${i}`,vertex:{module:this.mipmapShaderModule},fragment:{module:this.mipmapShaderModule,entryPoint:`main_${i.replace("-","_")}`,targets:[{format:t}]},layout:"auto"}),this.transferPipelines[n]=s),s}flipY(t,i,n=0){let s=i.format,{width:o,height:r}=i.size,l=this.device.createTexture({size:{width:o,height:r},format:s,usage:GPUTextureUsage.RENDER_ATTACHMENT|GPUTextureUsage.TEXTURE_BINDING}),d=this.getTransferPipeline(s,t.textureBindingViewDimension),h=this.getTransferPipeline(s,l.textureBindingViewDimension),p=this.device.createCommandEncoder({}),I=(m,y,T,R,b,A)=>{let O=m.getBindGroupLayout(0),P=this.device.createBindGroup({layout:O,entries:[{binding:0,resource:this.flipYSampler},{binding:1,resource:y.createView({dimension:y.textureBindingViewDimension||"2d-array",baseMipLevel:0,mipLevelCount:1})},{binding:2,resource:{buffer:A?this.flipUniformBuffer:this.noFlipUniformBuffer}}]}),U=p.beginRenderPass({colorAttachments:[{view:R.createView({dimension:"2d",baseMipLevel:0,mipLevelCount:1,baseArrayLayer:b,arrayLayerCount:1}),loadOp:Vo.Clear,storeOp:oI.Store}]});U.setPipeline(m),U.setBindGroup(0,P),U.draw(3,1,0,T),U.end()};I(d,t,n,l,0,!1),I(h,l,0,t,n,!0),this.device.queue.submit([p.finish()]),l.destroy()}generateMipmaps(t,i=null){let n=this.get(t),s=n.layers||this._mipmapCreateBundles(t),o=i||this.device.createCommandEncoder({label:"mipmapEncoder"});this._mipmapRunBundles(o,s),i===null&&this.device.queue.submit([o.finish()]),n.layers=s}_mipmapCreateBundles(t){let i=t.textureBindingViewDimension||"2d-array",n=this.getTransferPipeline(t.format,i),s=n.getBindGroupLayout(0),o=[];for(let r=1;r<t.mipLevelCount;r++)for(let l=0;l<t.depthOrArrayLayers;l++){let d=this.device.createBindGroup({layout:s,entries:[{binding:0,resource:this.mipmapSampler},{binding:1,resource:t.createView({dimension:i,baseMipLevel:r-1,mipLevelCount:1})},{binding:2,resource:{buffer:this.noFlipUniformBuffer}}]}),h={colorAttachments:[{view:t.createView({dimension:"2d",baseMipLevel:r,mipLevelCount:1,baseArrayLayer:l,arrayLayerCount:1}),loadOp:Vo.Clear,storeOp:oI.Store}]},p=this.device.createRenderBundleEncoder({colorFormats:[t.format]});p.setPipeline(n),p.setBindGroup(0,d),p.draw(3,1,0,l),o.push({renderBundles:[p.finish()],passDescriptor:h})}return o}_mipmapRunBundles(t,i){let n=i.length;for(let s=0;s<n;s++){let o=i[s],r=t.beginRenderPass(o.passDescriptor);r.executeBundles(o.renderBundles),r.end()}}},_Ve={[KP]:"never",[OC]:"less",[QP]:"equal",[jT]:"less-equal",[Jb]:"greater",[Ty]:"greater-equal",[XP]:"always",[JP]:"not-equal"},DVe=[0,1,3,2,4,5],aue=class{constructor(t){this.backend=t,this._passUtils=null,this.defaultTexture={},this.defaultCubeTexture={},this.defaultVideoFrame=null,this._samplerCache=new Map}updateSampler(t){let i=this.backend,n=t.minFilter+"-"+t.magFilter+"-"+t.wrapS+"-"+t.wrapT+"-"+(t.wrapR||"0")+"-"+t.anisotropy+"-"+(t.compareFunction||0),s=this._samplerCache.get(n);if(s===void 0){let r={addressModeU:this._convertAddressMode(t.wrapS),addressModeV:this._convertAddressMode(t.wrapT),addressModeW:this._convertAddressMode(t.wrapR),magFilter:this._convertFilterMode(t.magFilter),minFilter:this._convertFilterMode(t.minFilter),mipmapFilter:this._convertFilterMode(t.minFilter),maxAnisotropy:1};t.isDepthTexture&&t.compareFunction===null&&(r.magFilter=P2.Nearest,r.minFilter=P2.Nearest,r.mipmapFilter=P2.Nearest),r.magFilter===P2.Linear&&r.minFilter===P2.Linear&&r.mipmapFilter===P2.Linear&&(r.maxAnisotropy=t.anisotropy),t.isDepthTexture&&t.compareFunction!==null&&i.hasCompatibility(dw.TEXTURE_COMPARE)&&(r.compare=_Ve[t.compareFunction]),s={sampler:i.device.createSampler(r),usedTimes:0},this._samplerCache.set(n,s)}let o=i.get(t);if(o.sampler!==s.sampler){if(o.sampler!==void 0){let r=this._samplerCache.get(o.samplerKey);r.usedTimes--,r.usedTimes===0&&this._samplerCache.delete(o.samplerKey)}o.samplerKey=n,o.sampler=s.sampler,s.usedTimes++}return n}createDefaultTexture(t){let i,n=uue(t,this.backend.device);t.isCubeTexture?i=this._getDefaultCubeTextureGPU(n):i=this._getDefaultTextureGPU(n),this.backend.get(t).texture=i}createTexture(t,i={}){let n=this.backend,s=n.get(t);if(s.initialized)throw new Error("WebGPUTextureUtils: Texture already initialized.");if(t.isExternalTexture){s.texture=t.sourceTexture,s.initialized=!0;return}i.needsMipmaps===void 0&&(i.needsMipmaps=!1),i.levels===void 0&&(i.levels=1),i.depth===void 0&&(i.depth=1);let{width:o,height:r,depth:l,levels:d}=i;t.isFramebufferTexture&&(i.renderTarget?i.format=this.backend.utils.getCurrentColorFormat(i.renderTarget):i.format=this.backend.utils.getPreferredCanvasFormat());let h=this._getDimension(t),p=t.internalFormat||i.format||uue(t,n.device);s.format=p;let{samples:I,primarySamples:m,isMSAA:y}=n.utils.getTextureSampleData(t),T=GPUTextureUsage.TEXTURE_BINDING|GPUTextureUsage.COPY_DST|GPUTextureUsage.COPY_SRC;t.isStorageTexture===!0&&(T|=GPUTextureUsage.STORAGE_BINDING),t.isCompressedTexture!==!0&&t.isCompressedArrayTexture!==!0&&p!==Pt.RGB9E5UFloat&&(T|=GPUTextureUsage.RENDER_ATTACHMENT);let R={label:t.name,size:{width:o,height:r,depthOrArrayLayers:l},mipLevelCount:d,sampleCount:m,dimension:h,format:p,usage:T};if(p===void 0){ci("WebGPURenderer: Texture format not supported."),this.createDefaultTexture(t);return}t.isCubeTexture&&(R.textureBindingViewDimension=Wf.Cube);try{s.texture=n.device.createTexture(R)}catch{ci("WebGPURenderer: Failed to create texture with descriptor:",R),this.createDefaultTexture(t);return}if(y){let b=Object.assign({},R);b.label=b.label+"-msaa",b.sampleCount=I,b.mipLevelCount=1,s.msaaTexture=n.device.createTexture(b)}s.initialized=!0,s.textureDescriptorGPU=R}destroyTexture(t,i=!1){let n=this.backend,s=n.get(t);s.texture!==void 0&&i===!1&&s.texture.destroy(),s.msaaTexture!==void 0&&s.msaaTexture.destroy(),n.delete(t)}generateMipmaps(t,i=null){let n=this.backend.get(t);this._generateMipmaps(n.texture,i)}getColorBuffer(){let t=this.backend,i=t.renderer.getCanvasTarget(),{width:n,height:s}=t.getDrawingBufferSize(),o=t.renderer.currentSamples,r=i.colorTexture,l=t.get(r);if(r.width===n&&r.height===s&&r.samples===o)return l.texture;let d=l.texture;return d&&d.destroy(),d=t.device.createTexture({label:"colorBuffer",size:{width:n,height:s,depthOrArrayLayers:1},sampleCount:t.utils.getSampleCount(t.renderer.currentSamples),format:t.utils.getPreferredCanvasFormat(),usage:GPUTextureUsage.RENDER_ATTACHMENT|GPUTextureUsage.COPY_SRC}),r.source.width=n,r.source.height=s,r.samples=o,l.texture=d,d}getDepthBuffer(t=!0,i=!1){let n=this.backend,s=n.renderer.getCanvasTarget(),{width:o,height:r}=n.getDrawingBufferSize(),l=n.renderer.currentSamples,d=s.depthTexture;if(d.width===o&&d.height===r&&d.samples===l&&d.depth===t&&d.stencil===i)return n.get(d).texture;let h=n.get(d).texture,p,I;if(i?(p=$c,I=n.renderer.reversedDepthBuffer===!0?Ro:yh):t&&(p=Aa,I=n.renderer.reversedDepthBuffer===!0?Ro:co),h!==void 0){if(d.image.width===o&&d.image.height===r&&d.format===p&&d.type===I&&d.samples===l)return h;this.destroyTexture(d)}return d.name="depthBuffer",d.format=p,d.type=I,d.image.width=o,d.image.height=r,d.samples=l,this.createTexture(d,{width:o,height:r}),n.get(d).texture}updateTexture(t,i){let n=this.backend.get(t),s=t.mipmaps,{textureDescriptorGPU:o}=n;if(!(t.isRenderTargetTexture||o===void 0)){if(t.isDataTexture)if(s.length>0)for(let r=0,l=s.length;r<l;r++){let d=s[r];this._copyBufferToTexture(d,n.texture,o,0,t.flipY,0,r)}else this._copyBufferToTexture(i.image,n.texture,o,0,t.flipY);else if(t.isArrayTexture||t.isDataArrayTexture||t.isData3DTexture)if(t.layerUpdates&&t.layerUpdates.size>0){for(let r of t.layerUpdates)this._copyBufferToTexture(i.image,n.texture,o,r,t.flipY,r);t.clearLayerUpdates()}else for(let r=0;r<i.image.depth;r++)this._copyBufferToTexture(i.image,n.texture,o,r,t.flipY,r);else if(t.isCompressedTexture||t.isCompressedArrayTexture)this._copyCompressedBufferToTexture(t.mipmaps,n.texture,o);else if(t.isCubeTexture)this._copyCubeMapToTexture(t,n.texture,o);else if(t.isHTMLTexture){let r=this.backend.device,l=this.backend.renderer.domElement,d=t.image;if(typeof r.queue.copyElementImageToTexture!="function")return;if(!n.hasPaintCallback){n.hasPaintCallback=!0,l.requestPaint();return}let h=o.size.width,p=o.size.height;r.queue.copyElementImageToTexture(d,h,p,{texture:n.texture}),t.flipY&&this._flipY(n.texture,o)}else if(s.length>0)for(let r=0,l=s.length;r<l;r++){let d=s[r];this._copyImageToTexture(d,n.texture,o,0,t.flipY,t.premultiplyAlpha,r)}else this._copyImageToTexture(i.image,n.texture,o,0,t.flipY,t.premultiplyAlpha);n.version=t.version}}async copyTextureToBuffer(t,i,n,s,o,r){let l=this.backend.device,d=this.backend.get(t),h=d.texture,p=d.textureDescriptorGPU.format,I=this._getBytesPerTexel(p),m=s*I;m=Math.ceil(m/256)*256;let y=l.createBuffer({size:(o-1)*m+s*I,usage:GPUBufferUsage.COPY_DST|GPUBufferUsage.MAP_READ}),T=l.createCommandEncoder();T.copyTextureToBuffer({texture:h,origin:{x:i,y:n,z:r}},{buffer:y,bytesPerRow:m},{width:s,height:o});let R=this._getTypedArrayType(p);l.queue.submit([T.finish()]),await y.mapAsync(GPUMapMode.READ);let b=y.getMappedRange().slice();return y.destroy(),new R(b)}dispose(){this._samplerCache.clear()}_getDefaultTextureGPU(t){let i=this.defaultTexture[t];if(i===void 0){let n=new wr;n.minFilter=Vs,n.magFilter=Vs,this.createTexture(n,{width:1,height:1,format:t}),this.defaultTexture[t]=i=n}return this.backend.get(i).texture}_getDefaultCubeTextureGPU(t){let i=this.defaultCubeTexture[t];if(i===void 0){let n=new Nm;n.minFilter=Vs,n.magFilter=Vs,this.createTexture(n,{width:1,height:1,depth:6}),this.defaultCubeTexture[t]=i=n}return this.backend.get(i).texture}_copyCubeMapToTexture(t,i,n){let s=t.images,o=t.mipmaps;for(let r=0;r<6;r++){let l=s[r],d=t.flipY===!0?DVe[r]:r;l.isDataTexture?this._copyBufferToTexture(l.image,i,n,d,t.flipY):this._copyImageToTexture(l,i,n,d,t.flipY,t.premultiplyAlpha);for(let h=0;h<o.length;h++){let I=o[h].images[r];I.isDataTexture?this._copyBufferToTexture(I.image,i,n,d,t.flipY,0,h+1):this._copyImageToTexture(I,i,n,d,t.flipY,t.premultiplyAlpha,h+1)}}}_copyImageToTexture(t,i,n,s,o,r,l=0){let d=this.backend.device,h=l>0?t.width:n.size.width,p=l>0?t.height:n.size.height;try{d.queue.copyExternalImageToTexture({source:t,flipY:o},{texture:i,mipLevel:l,origin:{x:0,y:0,z:s},premultipliedAlpha:r},{width:h,height:p,depthOrArrayLayers:1})}catch{}}_getPassUtils(){let t=this._passUtils;return t===null&&(this._passUtils=t=new lue(this.backend.device)),t}_generateMipmaps(t,i=null){this._getPassUtils().generateMipmaps(t,i)}_flipY(t,i,n=0){this._getPassUtils().flipY(t,i,n)}_copyBufferToTexture(t,i,n,s,o,r=0,l=0){let d=this.backend.device,h=t.data,p=this._getBytesPerTexel(n.format),I=t.width*p;d.queue.writeTexture({texture:i,mipLevel:l,origin:{x:0,y:0,z:s}},h,{offset:t.width*t.height*p*r,bytesPerRow:I},{width:t.width,height:t.height,depthOrArrayLayers:1}),o===!0&&this._flipY(i,n,s)}_copyCompressedBufferToTexture(t,i,n){let s=this.backend.device,o=this._getBlockData(n.format),r=n.size.depthOrArrayLayers>1;for(let l=0;l<t.length;l++){let d=t[l],h=d.width,p=d.height,I=r?n.size.depthOrArrayLayers:1,m=Math.ceil(h/o.width)*o.byteLength,y=m*Math.ceil(p/o.height);for(let T=0;T<I;T++)s.queue.writeTexture({texture:i,mipLevel:l,origin:{x:0,y:0,z:T}},d.data,{offset:T*y,bytesPerRow:m,rowsPerImage:Math.ceil(p/o.height)},{width:Math.ceil(h/o.width)*o.width,height:Math.ceil(p/o.height)*o.height,depthOrArrayLayers:1})}}_getBlockData(t){if(t===Pt.BC1RGBAUnorm||t===Pt.BC1RGBAUnormSRGB)return{byteLength:8,width:4,height:4};if(t===Pt.BC2RGBAUnorm||t===Pt.BC2RGBAUnormSRGB)return{byteLength:16,width:4,height:4};if(t===Pt.BC3RGBAUnorm||t===Pt.BC3RGBAUnormSRGB)return{byteLength:16,width:4,height:4};if(t===Pt.BC4RUnorm||t===Pt.BC4RSnorm)return{byteLength:8,width:4,height:4};if(t===Pt.BC5RGUnorm||t===Pt.BC5RGSnorm)return{byteLength:16,width:4,height:4};if(t===Pt.BC6HRGBUFloat||t===Pt.BC6HRGBFloat)return{byteLength:16,width:4,height:4};if(t===Pt.BC7RGBAUnorm||t===Pt.BC7RGBAUnormSRGB)return{byteLength:16,width:4,height:4};if(t===Pt.ETC2RGB8Unorm||t===Pt.ETC2RGB8UnormSRGB)return{byteLength:8,width:4,height:4};if(t===Pt.ETC2RGB8A1Unorm||t===Pt.ETC2RGB8A1UnormSRGB)return{byteLength:8,width:4,height:4};if(t===Pt.ETC2RGBA8Unorm||t===Pt.ETC2RGBA8UnormSRGB)return{byteLength:16,width:4,height:4};if(t===Pt.EACR11Unorm)return{byteLength:8,width:4,height:4};if(t===Pt.EACR11Snorm)return{byteLength:8,width:4,height:4};if(t===Pt.EACRG11Unorm)return{byteLength:16,width:4,height:4};if(t===Pt.EACRG11Snorm)return{byteLength:16,width:4,height:4};if(t===Pt.ASTC4x4Unorm||t===Pt.ASTC4x4UnormSRGB)return{byteLength:16,width:4,height:4};if(t===Pt.ASTC5x4Unorm||t===Pt.ASTC5x4UnormSRGB)return{byteLength:16,width:5,height:4};if(t===Pt.ASTC5x5Unorm||t===Pt.ASTC5x5UnormSRGB)return{byteLength:16,width:5,height:5};if(t===Pt.ASTC6x5Unorm||t===Pt.ASTC6x5UnormSRGB)return{byteLength:16,width:6,height:5};if(t===Pt.ASTC6x6Unorm||t===Pt.ASTC6x6UnormSRGB)return{byteLength:16,width:6,height:6};if(t===Pt.ASTC8x5Unorm||t===Pt.ASTC8x5UnormSRGB)return{byteLength:16,width:8,height:5};if(t===Pt.ASTC8x6Unorm||t===Pt.ASTC8x6UnormSRGB)return{byteLength:16,width:8,height:6};if(t===Pt.ASTC8x8Unorm||t===Pt.ASTC8x8UnormSRGB)return{byteLength:16,width:8,height:8};if(t===Pt.ASTC10x5Unorm||t===Pt.ASTC10x5UnormSRGB)return{byteLength:16,width:10,height:5};if(t===Pt.ASTC10x6Unorm||t===Pt.ASTC10x6UnormSRGB)return{byteLength:16,width:10,height:6};if(t===Pt.ASTC10x8Unorm||t===Pt.ASTC10x8UnormSRGB)return{byteLength:16,width:10,height:8};if(t===Pt.ASTC10x10Unorm||t===Pt.ASTC10x10UnormSRGB)return{byteLength:16,width:10,height:10};if(t===Pt.ASTC12x10Unorm||t===Pt.ASTC12x10UnormSRGB)return{byteLength:16,width:12,height:10};if(t===Pt.ASTC12x12Unorm||t===Pt.ASTC12x12UnormSRGB)return{byteLength:16,width:12,height:12}}_convertAddressMode(t){let i=koe.ClampToEdge;return t===bT?i=koe.Repeat:t===NT&&(i=koe.MirrorRepeat),i}_convertFilterMode(t){let i=P2.Linear;return(t===Vs||t===CC||t===Om)&&(i=P2.Nearest),i}_getBytesPerTexel(t){if(t===Pt.R8Unorm||t===Pt.R8Snorm||t===Pt.R8Uint||t===Pt.R8Sint)return 1;if(t===Pt.R16Uint||t===Pt.R16Sint||t===Pt.R16Float||t===Pt.RG8Unorm||t===Pt.RG8Snorm||t===Pt.RG8Uint||t===Pt.RG8Sint||t===Pt.R16Unorm||t===Pt.R16Snorm)return 2;if(t===Pt.R32Uint||t===Pt.R32Sint||t===Pt.R32Float||t===Pt.RG16Uint||t===Pt.RG16Sint||t===Pt.RG16Float||t===Pt.RGBA8Unorm||t===Pt.RGBA8UnormSRGB||t===Pt.RGBA8Snorm||t===Pt.RGBA8Uint||t===Pt.RGBA8Sint||t===Pt.BGRA8Unorm||t===Pt.BGRA8UnormSRGB||t===Pt.RG16Unorm||t===Pt.RG16Snorm||t===Pt.RGB9E5UFloat||t===Pt.RGB10A2Unorm||t===Pt.RG11B10UFloat||t===Pt.Depth32Float||t===Pt.Depth24Plus||t===Pt.Depth24PlusStencil8||t===Pt.Depth32FloatStencil8)return 4;if(t===Pt.RG32Uint||t===Pt.RG32Sint||t===Pt.RG32Float||t===Pt.RGBA16Uint||t===Pt.RGBA16Sint||t===Pt.RGBA16Float||t===Pt.RGBA16Unorm||t===Pt.RGBA16Snorm)return 8;if(t===Pt.RGBA32Uint||t===Pt.RGBA32Sint||t===Pt.RGBA32Float)return 16}_getTypedArrayType(t){if(t===Pt.R8Uint)return Uint8Array;if(t===Pt.R8Sint)return Int8Array;if(t===Pt.R8Unorm)return Uint8Array;if(t===Pt.R8Snorm)return Int8Array;if(t===Pt.RG8Uint)return Uint8Array;if(t===Pt.RG8Sint)return Int8Array;if(t===Pt.RG8Unorm)return Uint8Array;if(t===Pt.RG8Snorm)return Int8Array;if(t===Pt.RGBA8Uint)return Uint8Array;if(t===Pt.RGBA8Sint)return Int8Array;if(t===Pt.RGBA8Unorm||t===Pt.RGBA8UnormSRGB)return Uint8Array;if(t===Pt.RGBA8Snorm)return Int8Array;if(t===Pt.R16Uint)return Uint16Array;if(t===Pt.R16Sint)return Int16Array;if(t===Pt.RG16Uint)return Uint16Array;if(t===Pt.RG16Sint)return Int16Array;if(t===Pt.RGBA16Uint)return Uint16Array;if(t===Pt.RGBA16Sint)return Int16Array;if(t===Pt.R16Float||t===Pt.RG16Float||t===Pt.RGBA16Float||t===Pt.R16Unorm)return Uint16Array;if(t===Pt.R16Snorm)return Int16Array;if(t===Pt.RG16Unorm)return Uint16Array;if(t===Pt.RG16Snorm)return Int16Array;if(t===Pt.RGBA16Unorm)return Uint16Array;if(t===Pt.RGBA16Snorm)return Int16Array;if(t===Pt.R32Uint)return Uint32Array;if(t===Pt.R32Sint)return Int32Array;if(t===Pt.R32Float)return Float32Array;if(t===Pt.RG32Uint)return Uint32Array;if(t===Pt.RG32Sint)return Int32Array;if(t===Pt.RG32Float)return Float32Array;if(t===Pt.RGBA32Uint)return Uint32Array;if(t===Pt.RGBA32Sint)return Int32Array;if(t===Pt.RGBA32Float)return Float32Array;if(t===Pt.BGRA8Unorm||t===Pt.BGRA8UnormSRGB)return Uint8Array;if(t===Pt.RGB10A2Unorm||t===Pt.RGB9E5UFloat||t===Pt.RG11B10UFloat)return Uint32Array;if(t===Pt.Depth32Float)return Float32Array;if(t===Pt.Depth24Plus||t===Pt.Depth24PlusStencil8)return Uint32Array;if(t===Pt.Depth32FloatStencil8)return Float32Array}_getDimension(t){let i;return t.is3DTexture||t.isData3DTexture?i=dye.ThreeD:i=dye.TwoD,i}};function uue(e,t){let i=e.format,n=e.type,s=e.normalized,o=e.colorSpace,r=Hn.getTransfer(o),l,d=!1;if(s&&(d=t.features.has(uK.TextureFormatsTier1),d===!1&&ci("WebGPURenderer: Unable to use normalized textures without texture-formats-tier1 feature.")),e.isCompressedTexture===!0||e.isCompressedArrayTexture===!0)switch(i){case GT:case VT:l=r===pn?Pt.BC1RGBAUnormSRGB:Pt.BC1RGBAUnorm;break;case kT:l=r===pn?Pt.BC2RGBAUnormSRGB:Pt.BC2RGBAUnorm;break;case zT:l=r===pn?Pt.BC3RGBAUnormSRGB:Pt.BC3RGBAUnorm;break;case SR:l=Pt.BC4RUnorm;break;case AR:l=Pt.BC4RSnorm;break;case YT:l=Pt.BC5RGUnorm;break;case bR:l=Pt.BC5RGSnorm;break;case RR:l=r===pn?Pt.BC7RGBAUnormSRGB:Pt.BC7RGBAUnorm;break;case sR:case nR:l=r===pn?Pt.ETC2RGB8UnormSRGB:Pt.ETC2RGB8Unorm;break;case oR:l=r===pn?Pt.ETC2RGBA8UnormSRGB:Pt.ETC2RGBA8Unorm;break;case rR:l=Pt.EACR11Unorm;break;case lR:l=Pt.EACR11Snorm;break;case WT:l=Pt.EACRG11Unorm;break;case aR:l=Pt.EACRG11Snorm;break;case uR:l=r===pn?Pt.ASTC4x4UnormSRGB:Pt.ASTC4x4Unorm;break;case cR:l=r===pn?Pt.ASTC5x4UnormSRGB:Pt.ASTC5x4Unorm;break;case dR:l=r===pn?Pt.ASTC5x5UnormSRGB:Pt.ASTC5x5Unorm;break;case hR:l=r===pn?Pt.ASTC6x5UnormSRGB:Pt.ASTC6x5Unorm;break;case fR:l=r===pn?Pt.ASTC6x6UnormSRGB:Pt.ASTC6x6Unorm;break;case pR:l=r===pn?Pt.ASTC8x5UnormSRGB:Pt.ASTC8x5Unorm;break;case IR:l=r===pn?Pt.ASTC8x6UnormSRGB:Pt.ASTC8x6Unorm;break;case mR:l=r===pn?Pt.ASTC8x8UnormSRGB:Pt.ASTC8x8Unorm;break;case yR:l=r===pn?Pt.ASTC10x5UnormSRGB:Pt.ASTC10x5Unorm;break;case ER:l=r===pn?Pt.ASTC10x6UnormSRGB:Pt.ASTC10x6Unorm;break;case TR:l=r===pn?Pt.ASTC10x8UnormSRGB:Pt.ASTC10x8Unorm;break;case gR:l=r===pn?Pt.ASTC10x10UnormSRGB:Pt.ASTC10x10Unorm;break;case wR:l=r===pn?Pt.ASTC12x10UnormSRGB:Pt.ASTC12x10Unorm;break;case vR:l=r===pn?Pt.ASTC12x12UnormSRGB:Pt.ASTC12x12Unorm;break;case Ko:l=r===pn?Pt.RGBA8UnormSRGB:Pt.RGBA8Unorm;break;default:yi("WebGPURenderer: Unsupported texture format.",i)}else switch(i){case Ko:switch(n){case FT:l=Pt.RGBA8Snorm;break;case UT:l=d?Pt.RGBA16Snorm:Pt.RGBA16Sint;break;case mh:l=d?Pt.RGBA16Unorm:Pt.RGBA16Uint;break;case co:l=Pt.RGBA32Uint;break;case Ya:l=Pt.RGBA32Sint;break;case Lo:l=r===pn?Pt.RGBA8UnormSRGB:Pt.RGBA8Unorm;break;case sr:l=Pt.RGBA16Float;break;case Ro:l=Pt.RGBA32Float;break;default:yi("WebGPURenderer: Unsupported texture type with RGBAFormat.",n)}break;case tR:switch(n){case jb:l=Pt.RGB9E5UFloat;break;case qb:l=Pt.RG11B10UFloat;break;default:yi("WebGPURenderer: Unsupported texture type with RGBFormat.",n)}break;case uw:switch(n){case FT:l=Pt.R8Snorm;break;case UT:l=d?Pt.R16Snorm:Pt.R16Sint;break;case mh:l=d?Pt.R16Unorm:Pt.R16Uint;break;case co:l=Pt.R32Uint;break;case Ya:l=Pt.R32Sint;break;case Lo:l=Pt.R8Unorm;break;case sr:l=Pt.R16Float;break;case Ro:l=Pt.R32Float;break;default:yi("WebGPURenderer: Unsupported texture type with RedFormat.",n)}break;case Dc:switch(n){case FT:l=Pt.RG8Snorm;break;case UT:l=d?Pt.RG16Snorm:Pt.RG16Sint;break;case mh:l=d?Pt.RG16Unorm:Pt.RG16Uint;break;case co:l=Pt.RG32Uint;break;case Ya:l=Pt.RG32Sint;break;case Lo:l=Pt.RG8Unorm;break;case sr:l=Pt.RG16Float;break;case Ro:l=Pt.RG32Float;break;default:yi("WebGPURenderer: Unsupported texture type with RGFormat.",n)}break;case Aa:switch(n){case mh:l=Pt.Depth16Unorm;break;case co:l=Pt.Depth24Plus;break;case Ro:l=Pt.Depth32Float;break;default:yi("WebGPURenderer: Unsupported texture type with DepthFormat.",n)}break;case $c:switch(n){case yh:l=Pt.Depth24PlusStencil8;break;case Ro:t&&t.features.has(uK.Depth32FloatStencil8)===!1&&yi('WebGPURenderer: Depth textures with DepthStencilFormat + FloatType can only be used with the "depth32float-stencil8" GPU feature.'),l=Pt.Depth32FloatStencil8;break;default:yi("WebGPURenderer: Unsupported texture type with DepthStencilFormat.",n)}break;case HT:switch(n){case Ya:l=Pt.R32Sint;break;case co:l=Pt.R32Uint;break;default:yi("WebGPURenderer: Unsupported texture type with RedIntegerFormat.",n)}break;case cw:switch(n){case Ya:l=Pt.RG32Sint;break;case co:l=Pt.RG32Uint;break;default:yi("WebGPURenderer: Unsupported texture type with RGIntegerFormat.",n)}break;case iR:switch(n){case Ya:l=Pt.RGBA32Sint;break;case co:l=Pt.RGBA32Uint;break;default:yi("WebGPURenderer: Unsupported texture type with RGBAIntegerFormat.",n)}break;default:yi("WebGPURenderer: Unsupported texture format.",i)}return l}var CVe=/^[fn]*\s*([a-z_0-9]+)?\s*\(([\s\S]*?)\)\s*[\-\>]*\s*([a-z_0-9]+(?:<[\s\S]+?>)?)/i,xVe=/([a-z_0-9]+)\s*:\s*([a-z_0-9]+(?:<[\s\S]+?>)?)/ig,fye={f32:"float",i32:"int",u32:"uint",bool:"bool","vec2<f32>":"vec2","vec2<i32>":"ivec2","vec2<u32>":"uvec2","vec2<bool>":"bvec2",vec2f:"vec2",vec2i:"ivec2",vec2u:"uvec2",vec2b:"bvec2","vec3<f32>":"vec3","vec3<i32>":"ivec3","vec3<u32>":"uvec3","vec3<bool>":"bvec3",vec3f:"vec3",vec3i:"ivec3",vec3u:"uvec3",vec3b:"bvec3","vec4<f32>":"vec4","vec4<i32>":"ivec4","vec4<u32>":"uvec4","vec4<bool>":"bvec4",vec4f:"vec4",vec4i:"ivec4",vec4u:"uvec4",vec4b:"bvec4","mat2x2<f32>":"mat2",mat2x2f:"mat2","mat3x3<f32>":"mat3",mat3x3f:"mat3","mat4x4<f32>":"mat4",mat4x4f:"mat4",sampler:"sampler",texture_1d:"texture",texture_2d:"texture",texture_2d_array:"texture",texture_multisampled_2d:"cubeTexture",texture_depth_2d:"depthTexture",texture_depth_2d_array:"depthTexture",texture_depth_multisampled_2d:"depthTexture",texture_depth_cube:"depthTexture",texture_depth_cube_array:"depthTexture",texture_3d:"texture3D",texture_cube:"cubeTexture",texture_cube_array:"cubeTexture",texture_storage_1d:"storageTexture",texture_storage_2d:"storageTexture",texture_storage_2d_array:"storageTexture",texture_storage_3d:"storageTexture"},OVe=e=>{e=e.trim();let t=e.match(CVe);if(t!==null&&t.length===4){let i=t[2],n=[],s=null;for(;(s=xVe.exec(i))!==null;)n.push({name:s[1],type:s[2]});let o=[];for(let p=0;p<n.length;p++){let{name:I,type:m}=n[p],y=m;y.startsWith("ptr")?y="pointer":(y.startsWith("texture")&&(y=m.split("<")[0]),y=fye[y]),o.push(new ez(y,I))}let r=e.substring(t[0].length),l=t[3]||"void",d=t[1]!==void 0?t[1]:"";return{type:fye[l]||l,inputs:o,name:d,inputsCode:i,blockCode:r,outputType:l}}else throw new Error("FunctionNode: Function is not a WGSL code.")},cue=class extends iz{constructor(t){let{type:i,inputs:n,name:s,inputsCode:o,blockCode:r,outputType:l}=OVe(t);super(i,n,s),this.inputsCode=o,this.blockCode=r,this.outputType=l}getCode(t=this.name){let i=this.outputType!=="void"?"-> "+this.outputType:"";return`fn ${t} ( ${this.inputsCode.trim()} ) ${i}`+this.blockCode}},due=class extends ZZ{parseFunction(t){return new cue(t)}},LVe={[jh.READ_ONLY]:"read",[jh.WRITE_ONLY]:"write",[jh.READ_WRITE]:"read_write"},pye={[bT]:"repeat",[_u]:"clamp",[NT]:"mirror"},Yoe={vertex:B2.VERTEX,fragment:B2.FRAGMENT,compute:B2.COMPUTE},Iye={instance:!0,swizzleAssign:!1,storageBuffer:!0},PVe={"^^":"tsl_xor"},MVe={float:"f32",int:"i32",uint:"u32",bool:"bool",color:"vec3<f32>",vec2:"vec2<f32>",ivec2:"vec2<i32>",uvec2:"vec2<u32>",bvec2:"vec2<bool>",vec3:"vec3<f32>",ivec3:"vec3<i32>",uvec3:"vec3<u32>",bvec3:"vec3<bool>",vec4:"vec4<f32>",ivec4:"vec4<i32>",uvec4:"vec4<u32>",bvec4:"vec4<bool>",mat2:"mat2x2<f32>",mat3:"mat3x3<f32>",mat4:"mat4x4<f32>"},mye={},_k={tsl_xor:new Ic("fn tsl_xor( a : bool, b : bool ) -> bool { return ( a || b ) && !( a && b ); }"),mod_float:new Ic("fn tsl_mod_float( x : f32, y : f32 ) -> f32 { return x - y * floor( x / y ); }"),mod_vec2:new Ic("fn tsl_mod_vec2( x : vec2f, y : vec2f ) -> vec2f { return x - y * floor( x / y ); }"),mod_vec3:new Ic("fn tsl_mod_vec3( x : vec3f, y : vec3f ) -> vec3f { return x - y * floor( x / y ); }"),mod_vec4:new Ic("fn tsl_mod_vec4( x : vec4f, y : vec4f ) -> vec4f { return x - y * floor( x / y ); }"),equals_bool:new Ic("fn tsl_equals_bool( a : bool, b : bool ) -> bool { return a == b; }"),equals_bvec2:new Ic("fn tsl_equals_bvec2( a : vec2f, b : vec2f ) -> vec2<bool> { return vec2<bool>( a.x == b.x, a.y == b.y ); }"),equals_bvec3:new Ic("fn tsl_equals_bvec3( a : vec3f, b : vec3f ) -> vec3<bool> { return vec3<bool>( a.x == b.x, a.y == b.y, a.z == b.z ); }"),equals_bvec4:new Ic("fn tsl_equals_bvec4( a : vec4f, b : vec4f ) -> vec4<bool> { return vec4<bool>( a.x == b.x, a.y == b.y, a.z == b.z, a.w == b.w ); }"),repeatWrapping_float:new Ic("fn tsl_repeatWrapping_float( coord: f32 ) -> f32 { return fract( coord ); }"),mirrorWrapping_float:new Ic("fn tsl_mirrorWrapping_float( coord: f32 ) -> f32 { let mirrored = fract( coord * 0.5 ) * 2.0; return 1.0 - abs( 1.0 - mirrored ); }"),clampWrapping_float:new Ic("fn tsl_clampWrapping_float( coord: f32 ) -> f32 { return clamp( coord, 0.0, 1.0 ); }"),biquadraticTexture:new Ic(`
|
||
fn tsl_biquadraticTexture( map : texture_2d<f32>, coord : vec2f, iRes : vec2u, level : u32 ) -> vec4f {
|
||
|
||
let res = vec2f( iRes );
|
||
|
||
let uvScaled = coord * res;
|
||
let uvWrapping = ( ( uvScaled % res ) + res ) % res;
|
||
|
||
// https://www.shadertoy.com/view/WtyXRy
|
||
|
||
let uv = uvWrapping - 0.5;
|
||
let iuv = floor( uv );
|
||
let f = fract( uv );
|
||
|
||
let rg1 = textureLoad( map, vec2u( iuv + vec2( 0.5, 0.5 ) ) % iRes, level );
|
||
let rg2 = textureLoad( map, vec2u( iuv + vec2( 1.5, 0.5 ) ) % iRes, level );
|
||
let rg3 = textureLoad( map, vec2u( iuv + vec2( 0.5, 1.5 ) ) % iRes, level );
|
||
let rg4 = textureLoad( map, vec2u( iuv + vec2( 1.5, 1.5 ) ) % iRes, level );
|
||
|
||
return mix( mix( rg1, rg2, f.x ), mix( rg3, rg4, f.x ), f.y );
|
||
|
||
}
|
||
`),biquadraticTextureArray:new Ic(`
|
||
fn tsl_biquadraticTexture_array( map : texture_2d_array<f32>, coord : vec2f, iRes : vec2u, layer : u32, level : u32 ) -> vec4f {
|
||
|
||
let res = vec2f( iRes );
|
||
|
||
let uvScaled = coord * res;
|
||
let uvWrapping = ( ( uvScaled % res ) + res ) % res;
|
||
|
||
// https://www.shadertoy.com/view/WtyXRy
|
||
|
||
let uv = uvWrapping - 0.5;
|
||
let iuv = floor( uv );
|
||
let f = fract( uv );
|
||
|
||
let rg1 = textureLoad( map, vec2u( iuv + vec2( 0.5, 0.5 ) ) % iRes, layer, level );
|
||
let rg2 = textureLoad( map, vec2u( iuv + vec2( 1.5, 0.5 ) ) % iRes, layer, level );
|
||
let rg3 = textureLoad( map, vec2u( iuv + vec2( 0.5, 1.5 ) ) % iRes, layer, level );
|
||
let rg4 = textureLoad( map, vec2u( iuv + vec2( 1.5, 1.5 ) ) % iRes, layer, level );
|
||
|
||
return mix( mix( rg1, rg2, f.x ), mix( rg3, rg4, f.x ), f.y );
|
||
|
||
}
|
||
`)},BVe={dFdx:"dpdx",dFdy:"- dpdy",mod_float:"tsl_mod_float",mod_vec2:"tsl_mod_vec2",mod_vec3:"tsl_mod_vec3",mod_vec4:"tsl_mod_vec4",equals_bool:"tsl_equals_bool",equals_bvec2:"tsl_equals_bvec2",equals_bvec3:"tsl_equals_bvec3",equals_bvec4:"tsl_equals_bvec4",inversesqrt:"inverseSqrt",bitcast:"bitcast<f32>",floatpack_snorm_2x16:"pack2x16snorm",floatpack_unorm_2x16:"pack2x16unorm",floatpack_float16_2x16:"pack2x16float",floatunpack_snorm_2x16:"unpack2x16snorm",floatunpack_unorm_2x16:"unpack2x16unorm",floatunpack_float16_2x16:"unpack2x16float"},gge="";(typeof navigator<"u"&&/Firefox|Deno/g.test(navigator.userAgent))!==!0&&(gge+=`diagnostic( off, derivative_uniformity );
|
||
`);var hue=class extends qZ{constructor(t,i){super(t,i,new due),this.uniformGroups={},this.uniformGroupsBindings={},this.builtins={},this.directives={},this.scopedArrays=new Map,this.allowEarlyReturns=!0,this.allowGlobalVariables=!0}_generateTextureSample(t,i,n,s,o,r=this.shaderStage){return r==="fragment"?s?o?`textureSample( ${i}, ${i}_sampler, ${n}, ${s}, ${o} )`:`textureSample( ${i}, ${i}_sampler, ${n}, ${s} )`:o?`textureSample( ${i}, ${i}_sampler, ${n}, ${o} )`:`textureSample( ${i}, ${i}_sampler, ${n} )`:this.generateTextureSampleLevel(t,i,n,"0",s)}generateTextureSampleLevel(t,i,n,s,o,r){return this.isUnfilterable(t)===!1?o?r?`textureSampleLevel( ${i}, ${i}_sampler, ${n}, ${o}, ${s}, ${r} )`:`textureSampleLevel( ${i}, ${i}_sampler, ${n}, ${o}, ${s} )`:r?`textureSampleLevel( ${i}, ${i}_sampler, ${n}, ${s}, ${r} )`:`textureSampleLevel( ${i}, ${i}_sampler, ${n}, ${s} )`:this.isFilteredTexture(t)?this.generateFilteredTexture(t,i,n,r,s,o):this.generateTextureLod(t,i,n,o,r,s)}generateWrapFunction(t){let i=`tsl_coord_${pye[t.wrapS]}S_${pye[t.wrapT]}_${t.is3DTexture||t.isData3DTexture?"3d":"2d"}T`,n=mye[i];if(n===void 0){let s=[],o=t.is3DTexture||t.isData3DTexture?"vec3f":"vec2f",r=`fn ${i}( coord : ${o} ) -> ${o} {
|
||
|
||
return ${o}(
|
||
`,l=(d,h)=>{d===bT?(s.push(_k.repeatWrapping_float),r+=` tsl_repeatWrapping_float( coord.${h} )`):d===_u?(s.push(_k.clampWrapping_float),r+=` tsl_clampWrapping_float( coord.${h} )`):d===NT?(s.push(_k.mirrorWrapping_float),r+=` tsl_mirrorWrapping_float( coord.${h} )`):(r+=` coord.${h}`,ci(`WebGPURenderer: Unsupported texture wrap type "${d}" for vertex shader.`))};l(t.wrapS,"x"),r+=`,
|
||
`,l(t.wrapT,"y"),(t.is3DTexture||t.isData3DTexture)&&(r+=`,
|
||
`,l(t.wrapR,"z")),r+=`
|
||
);
|
||
|
||
}
|
||
`,mye[i]=n=new Ic(r,s)}return n.build(this),i}generateArrayDeclaration(t,i){return`array< ${this.getType(t)}, ${i} >`}generateTextureDimension(t,i,n){let s=this.getDataFromNode(t,this.shaderStage,this.cache);s.dimensionsSnippet===void 0&&(s.dimensionsSnippet={});let o=s.dimensionsSnippet[n];if(s.dimensionsSnippet[n]===void 0){let r,l,{primarySamples:d}=this.renderer.backend.utils.getTextureSampleData(t),h=d>1;t.is3DTexture||t.isData3DTexture?l="vec3<u32>":l="vec2<u32>",h||t.isStorageTexture?r=i:r=`${i}${n?`, u32( ${n} )`:""}`,o=new H8(new V8(`textureDimensions( ${r} )`,l)),s.dimensionsSnippet[n]=o,(t.isArrayTexture||t.isDataArrayTexture||t.is3DTexture||t.isData3DTexture)&&(s.arrayLayerCount=new H8(new V8(`textureNumLayers(${i})`,"u32"))),t.isTextureCube&&(s.cubeFaceCount=new H8(new V8("6u","u32")))}return o.build(this)}generateFilteredTexture(t,i,n,s,o="0u",r){let l=this.generateWrapFunction(t),d=this.generateTextureDimension(t,i,o);return s&&(n=`${n} + vec2<f32>(${s}) / ${d}`),r?(this._include("biquadraticTextureArray"),`tsl_biquadraticTexture_array( ${i}, ${l}( ${n} ), ${d}, u32( ${r} ), u32( ${o} ) )`):(this._include("biquadraticTexture"),`tsl_biquadraticTexture( ${i}, ${l}( ${n} ), ${d}, u32( ${o} ) )`)}generateTextureLod(t,i,n,s,o,r="0u"){if(t.isCubeTexture===!0){o&&(n=`${n} + vec3<f32>(${o})`);let y=t.isDepthTexture?"u32":"f32";return`textureSampleLevel( ${i}, ${i}_sampler, ${n}, ${y}( ${r} ) )`}let l=this.generateWrapFunction(t),d=this.generateTextureDimension(t,i,r),h=t.is3DTexture||t.isData3DTexture?"vec3":"vec2",p=h==="vec3"?"vec3<u32>( 1, 1, 1 )":"vec2<u32>( 1, 1 )";o&&(n=`${n} + ${h}<f32>(${o}) / ${h}<f32>( ${d} )`);let I=`${h}<f32>( 0 )`,m=`${h}<f32>( ${d} - ${p} )`;return n=`${h}<u32>( clamp( floor( ${l}( ${n} ) * ${h}<f32>( ${d} ) ), ${I}, ${m} ) )`,this.generateTextureLoad(t,i,n,r,s,null)}generateStorageTextureLoad(t,i,n,s,o,r){r&&(n=`${n} + ${r}`);let l;return o?l=`textureLoad( ${i}, ${n}, ${o} )`:l=`textureLoad( ${i}, ${n} )`,l}generateTextureLoad(t,i,n,s,o,r){s===null&&(s="0u"),r&&(n=`${n} + ${r}`);let l;return o?l=`textureLoad( ${i}, ${n}, ${o}, u32( ${s} ) )`:(l=`textureLoad( ${i}, ${n}, u32( ${s} ) )`,this.renderer.backend.compatibilityMode&&t.isDepthTexture&&(l+=".x")),l}generateTextureStore(t,i,n,s,o){let r;return s?r=`textureStore( ${i}, ${n}, ${s}, ${o} )`:r=`textureStore( ${i}, ${n}, ${o} )`,r}isSampleCompare(t){return t.isDepthTexture===!0&&t.compareFunction!==null&&this.renderer.hasCompatibility(dw.TEXTURE_COMPARE)}isUnfilterable(t){return this.getComponentTypeFromTexture(t)!=="float"||!this.isAvailable("float32Filterable")&&t.type===Ro||this.isSampleCompare(t)===!1&&t.minFilter===Vs&&t.magFilter===Vs||this.renderer.backend.utils.getTextureSampleData(t).primarySamples>1}generateTexture(t,i,n,s,o,r=this.shaderStage){let l=null;return this.isUnfilterable(t)?l=this.generateTextureLod(t,i,n,s,o,"0",r):l=this._generateTextureSample(t,i,n,s,o,r),l}generateTextureGrad(t,i,n,s,o,r,l=this.shaderStage){if(l==="fragment")return o?r?`textureSampleGrad( ${i}, ${i}_sampler, ${n}, ${o}, ${s[0]}, ${s[1]}, ${r} )`:`textureSampleGrad( ${i}, ${i}_sampler, ${n}, ${o}, ${s[0]}, ${s[1]} )`:r?`textureSampleGrad( ${i}, ${i}_sampler, ${n}, ${s[0]}, ${s[1]}, ${r} )`:`textureSampleGrad( ${i}, ${i}_sampler, ${n}, ${s[0]}, ${s[1]} )`;yi(`WebGPURenderer: THREE.TextureNode.gradient() does not support ${l} shader.`)}generateTextureCompare(t,i,n,s,o,r,l=this.shaderStage){if(l==="fragment")return t.isDepthTexture===!0&&t.isArrayTexture===!0?r?`textureSampleCompare( ${i}, ${i}_sampler, ${n}, ${o}, ${s}, ${r} )`:`textureSampleCompare( ${i}, ${i}_sampler, ${n}, ${o}, ${s} )`:r?`textureSampleCompare( ${i}, ${i}_sampler, ${n}, ${s}, ${r} )`:`textureSampleCompare( ${i}, ${i}_sampler, ${n}, ${s} )`;yi(`WebGPURenderer: THREE.DepthTexture.compareFunction() does not support ${l} shader.`)}generateTextureLevel(t,i,n,s,o,r){return this.isUnfilterable(t)===!1?o?r?`textureSampleLevel( ${i}, ${i}_sampler, ${n}, ${o}, ${s}, ${r} )`:`textureSampleLevel( ${i}, ${i}_sampler, ${n}, ${o}, ${s} )`:r?`textureSampleLevel( ${i}, ${i}_sampler, ${n}, ${s}, ${r} )`:`textureSampleLevel( ${i}, ${i}_sampler, ${n}, ${s} )`:this.isFilteredTexture(t)?this.generateFilteredTexture(t,i,n,r,s,o):this.generateTextureLod(t,i,n,o,r,s)}generateTextureBias(t,i,n,s,o,r,l=this.shaderStage){if(l==="fragment")return o?r?`textureSampleBias( ${i}, ${i}_sampler, ${n}, ${o}, ${s}, ${r} )`:`textureSampleBias( ${i}, ${i}_sampler, ${n}, ${o}, ${s} )`:r?`textureSampleBias( ${i}, ${i}_sampler, ${n}, ${s}, ${r} )`:`textureSampleBias( ${i}, ${i}_sampler, ${n}, ${s} )`;yi(`WebGPURenderer: THREE.TextureNode.biasNode does not support ${l} shader.`)}getPropertyName(t,i=this.shaderStage){if(t.isNodeVarying===!0&&t.needsInterpolation===!0){if(i==="vertex")return`varyings.${t.name}`}else if(t.isNodeUniform===!0){let n=t.name,s=t.type;return s==="texture"||s==="cubeTexture"||s==="cubeDepthTexture"||s==="storageTexture"||s==="texture3D"?n:s==="buffer"||s==="storageBuffer"||s==="indirectStorageBuffer"?this.isCustomStruct(t)?n:n+".value":t.groupNode.name+"."+n}return super.getPropertyName(t)}getOutputStructName(){return"output"}getFunctionOperator(t){let i=PVe[t];return i!==void 0?(this._include(i),i):null}getNodeAccess(t,i){return i!=="compute"?t.isAtomic===!0?(ci("WebGPURenderer: Atomic operations are only supported in compute shaders."),jh.READ_WRITE):jh.READ_ONLY:t.access}getStorageAccess(t,i){return LVe[this.getNodeAccess(t,i)]}getUniformFromNode(t,i,n,s=null){let o=super.getUniformFromNode(t,i,n,s),r=this.getDataFromNode(t,n,this.globalCache);if(r.uniformGPU===void 0){let l,d=t.groupNode,h=d.name,p=this.getBindGroupArray(h,n);if(i==="texture"||i==="cubeTexture"||i==="cubeDepthTexture"||i==="storageTexture"||i==="texture3D"){let I=null,m=this.getNodeAccess(t,n);if(i==="texture"||i==="storageTexture"?t.value.is3DTexture===!0?I=new nz(o.name,o.node,d,m):I=new J8(o.name,o.node,d,m):i==="cubeTexture"||i==="cubeDepthTexture"?I=new sK(o.name,o.node,d,m):i==="texture3D"&&(I=new nz(o.name,o.node,d,m)),I.store=t.isStorageTextureNode===!0,I.mipLevel=I.store?t.mipLevel:0,I.setVisibility(Yoe[n]),t.value.isCubeTexture===!0||this.isUnfilterable(t.value)===!1&&I.store===!1){let T=new sue(`${o.name}_sampler`,o.node,d);T.setVisibility(Yoe[n]),p.push(T,I),l=[T,I]}else p.push(I),l=[I]}else if(i==="buffer"||i==="storageBuffer"||i==="indirectStorageBuffer"){let I=this.getSharedDataFromNode(t),m=I.buffer;if(m===void 0){let y=i==="buffer"?tK:rue;m=new y(t,d),I.buffer=m}m.setVisibility(m.getVisibility()|Yoe[n]),p.push(m),l=m,o.name=s||"NodeBuffer_"+o.id}else{let I=this.uniformGroups[h];I===void 0&&(I=new iK(h,d),I.setVisibility(B2.VERTEX|B2.FRAGMENT|B2.COMPUTE),this.uniformGroups[h]=I),p.indexOf(I)===-1&&p.push(I),l=this.getNodeUniform(o,i);let m=l.name;I.uniforms.some(T=>T.name===m)||I.addUniform(l)}r.uniformGPU=l}return o}getBuiltin(t,i,n,s=this.shaderStage){let o=this.builtins[s]||(this.builtins[s]=new Map);return o.has(t)===!1&&o.set(t,{name:t,property:i,type:n}),i}hasBuiltin(t,i=this.shaderStage){return this.builtins[i]!==void 0&&this.builtins[i].has(t)}getVertexIndex(){return this.shaderStage==="vertex"?this.getBuiltin("vertex_index","vertexIndex","u32","attribute"):"vertexIndex"}buildFunctionCode(t){let i=t.layout,n=this.flowShaderNode(t),s=[];for(let r of i.inputs)s.push(r.name+" : "+this.getType(r.type));let o=`fn ${i.name}( ${s.join(", ")} ) -> ${this.getType(i.type)} {
|
||
${n.vars}
|
||
${n.code}
|
||
`;return n.result&&(o+=` return ${n.result};
|
||
`),o+=`
|
||
}
|
||
`,o}getInstanceIndex(){return this.shaderStage==="vertex"?this.getBuiltin("instance_index","instanceIndex","u32","attribute"):"instanceIndex"}getInvocationLocalIndex(){return this.getBuiltin("local_invocation_index","invocationLocalIndex","u32","attribute")}getSubgroupSize(){return this.enableSubGroups(),this.getBuiltin("subgroup_size","subgroupSize","u32","attribute")}getInvocationSubgroupIndex(){return this.enableSubGroups(),this.getBuiltin("subgroup_invocation_id","invocationSubgroupIndex","u32","attribute")}getSubgroupIndex(){return this.enableSubGroups(),this.getBuiltin("subgroup_id","subgroupIndex","u32","attribute")}getDrawIndex(){return null}getFrontFacing(){return this.getBuiltin("front_facing","isFront","bool")}getFragCoord(){return this.getBuiltin("position","fragCoord","vec4<f32>")+".xy"}getFragDepth(){return"output."+this.getBuiltin("frag_depth","depth","f32","output")}getClipDistance(){return"varyings.hw_clip_distances"}isFlipY(){return!1}enableDirective(t,i=this.shaderStage){(this.directives[i]||(this.directives[i]=new Set)).add(t)}getDirectives(t){let i=[],n=this.directives[t];if(n!==void 0)for(let s of n)i.push(`enable ${s};`);return i.join(`
|
||
`)}enableSubGroups(){this.enableDirective("subgroups")}enableSubgroupsF16(){this.enableDirective("subgroups-f16")}enableClipDistances(){this.enableDirective("clip_distances")}enableShaderF16(){this.enableDirective("f16")}enableDualSourceBlending(){this.enableDirective("dual_source_blending")}enableHardwareClipping(t){this.enableClipDistances(),this.getBuiltin("clip_distances","hw_clip_distances",`array<f32, ${t} >`,"vertex")}getBuiltins(t){let i=[],n=this.builtins[t];if(n!==void 0)for(let{name:s,property:o,type:r}of n.values())i.push(`@builtin( ${s} ) ${o} : ${r}`);return i.join(`,
|
||
`)}getScopedArray(t,i,n,s){return this.scopedArrays.has(t)===!1&&this.scopedArrays.set(t,{name:t,scope:i,bufferType:n,bufferCount:s}),t}getScopedArrays(t){if(t!=="compute")return;let i=[];for(let{name:n,scope:s,bufferType:o,bufferCount:r}of this.scopedArrays.values()){let l=this.getType(o);i.push(`var<${s}> ${n}: array< ${l}, ${r} >;`)}return i.join(`
|
||
`)}getAttributes(t){let i=[];if(t==="compute"&&(this.getBuiltin("global_invocation_id","globalId","vec3<u32>","attribute"),this.getBuiltin("workgroup_id","workgroupId","vec3<u32>","attribute"),this.getBuiltin("local_invocation_id","localId","vec3<u32>","attribute"),this.getBuiltin("num_workgroups","numWorkgroups","vec3<u32>","attribute"),this.renderer.hasFeature("subgroups")&&(this.enableDirective("subgroups",t),this.getBuiltin("subgroup_size","subgroupSize","u32","attribute"))),t==="vertex"||t==="compute"){let n=this.getBuiltins("attribute");n&&i.push(n);let s=this.getAttributesArray();for(let o=0,r=s.length;o<r;o++){let l=s[o],d=l.name,h=this.getType(l.type);i.push(`@location( ${o} ) ${d} : ${h}`)}}return i.join(`,
|
||
`)}getStructMembers(t){let i=[];for(let n of t.members){let s=t.output?"@location( "+n.index+" ) ":"",o=this.getType(n.type);n.atomic&&(o="atomic< "+o+" >"),i.push(` ${s+n.name} : ${o}`)}return t.output&&i.push(` ${this.getBuiltins("output")}`),i.join(`,
|
||
`)}getStructs(t){let i="",n=this.structs[t];if(n.length>0){let s=[];for(let o of n){let r=`struct ${o.name} {
|
||
`;r+=this.getStructMembers(o),r+=`
|
||
};`,s.push(r)}i=`
|
||
`+s.join(`
|
||
|
||
`)+`
|
||
`}return i}getVar(t,i,n=null,s=""){let o=`var${s} ${i} : `;return n!==null?o+=this.generateArrayDeclaration(t,n):o+=this.getType(t),o}getVars(t,i=!1){let n="";i&&(n="<private>");let s=[],o=this.vars[t];if(o!==void 0)for(let r of o)s.push(`${this.getVar(r.type,r.name,r.count,n)};`);return i?s.join(`
|
||
`):`
|
||
${s.join(`
|
||
`)}
|
||
`}getVaryings(t){let i=[];if(t==="vertex"&&this.getBuiltin("position","builtinClipSpace","vec4<f32>","vertex"),t==="vertex"||t==="fragment"){let o=this.varyings,r=this.vars[t],l=0;for(let d=0;d<o.length;d++){let h=o[d];if(h.needsInterpolation){let p=`@location( ${l++} )`;if(h.interpolationType){let I=h.interpolationSampling!==null?`, ${h.interpolationSampling} )`:" )";p+=` @interpolate( ${h.interpolationType}${I}`}else/^(int|uint|ivec|uvec)/.test(h.type)&&(p+=" @interpolate(flat, either)");i.push(`${p} ${h.name} : ${this.getType(h.type)}`)}else t==="vertex"&&r.includes(h)===!1&&r.push(h)}}let n=this.getBuiltins(t);n&&i.push(n);let s=i.join(`,
|
||
`);return t==="vertex"?this._getWGSLStruct("VaryingsStruct"," "+s):s}isCustomStruct(t){let i=t.value,n=t.node,s=(i.isBufferAttribute||i.isInstancedBufferAttribute)&&n.structTypeNode!==null,o=n.value&&n.value.array&&typeof n.value.itemSize=="number"&&n.value.array.length>n.value.itemSize;return s&&!o}getUniforms(t){let i=this.renderer.backend,n=this.uniforms[t],s=[],o=[],r=[],l={};for(let h of n){let p=h.groupNode.name,I=this.bindingsIndexes[p];if(h.type==="texture"||h.type==="cubeTexture"||h.type==="cubeDepthTexture"||h.type==="storageTexture"||h.type==="texture3D"){let m=h.node.value;(m.isCubeTexture===!0||this.isUnfilterable(m)===!1&&h.node.isStorageTextureNode!==!0)&&(this.isSampleCompare(m)?s.push(`@binding( ${I.binding++} ) @group( ${I.group} ) var ${h.name}_sampler : sampler_comparison;`):s.push(`@binding( ${I.binding++} ) @group( ${I.group} ) var ${h.name}_sampler : sampler;`));let T,R="",{primarySamples:b}=i.utils.getTextureSampleData(m);if(b>1&&(R="_multisampled"),m.isCubeTexture===!0&&m.isDepthTexture===!0)T="texture_depth_cube";else if(m.isCubeTexture===!0)T="texture_cube<f32>";else if(m.isDepthTexture===!0)i.compatibilityMode&&m.compareFunction===null?T=`texture${R}_2d<f32>`:T=`texture_depth${R}_2d${m.isArrayTexture===!0?"_array":""}`;else if(h.node.isStorageTextureNode===!0){let A=uue(m,i.device),O=this.getStorageAccess(h.node,t),P=h.node.value.is3DTexture,U=h.node.value.isArrayTexture;T=`texture_storage_${P?"3d":`2d${U?"_array":""}`}<${A}, ${O}>`}else if(m.isArrayTexture===!0||m.isDataArrayTexture===!0||m.isCompressedArrayTexture===!0)T="texture_2d_array<f32>";else if(m.is3DTexture===!0||m.isData3DTexture===!0)T="texture_3d<f32>";else{let A=this.getComponentTypeFromTexture(m).charAt(0);T=`texture${R}_2d<${A}32>`}s.push(`@binding( ${I.binding++} ) @group( ${I.group} ) var ${h.name} : ${T};`)}else if(h.type==="buffer"||h.type==="storageBuffer"||h.type==="indirectStorageBuffer"){let m=h.node,y=this.getType(m.getNodeType(this)),T=m.bufferCount,R=T>0&&h.type==="buffer"?", "+T:"",b=m.isStorageBufferNode?`storage, ${this.getStorageAccess(m,t)}`:"uniform";if(this.isCustomStruct(h))o.push(`@binding( ${I.binding++} ) @group( ${I.group} ) var<${b}> ${h.name} : ${y};`);else{let O=` value : array< ${m.isAtomic?`atomic<${y}>`:`${y}`}${R} >`;o.push(this._getWGSLStructBinding(h.name,O,b,I.binding++,I.group))}}else{let m=h.groupNode.name;if(l[m]===void 0){let y=this.uniformGroups[m];if(y!==void 0){let T=[];for(let b of y.uniforms){let A=b.getType(),O=this.getType(this.getVectorType(A));T.push(` ${b.name} : ${O}`)}let R=this.uniformGroupsBindings[m];R===void 0&&(R={index:I.binding++,id:I.group},this.uniformGroupsBindings[m]=R),l[m]={index:R.index,id:R.id,snippets:T}}}}}for(let h in l){let p=l[h];r.push(this._getWGSLStructBinding(h,p.snippets.join(`,
|
||
`),"uniform",p.index,p.id))}return[...s,...o,...r].join(`
|
||
`)}buildCode(){let t=this.material!==null?{fragment:{},vertex:{}}:{compute:{}};this.sortBindingGroups();for(let i in t){this.shaderStage=i;let n=this.allowGlobalVariables,s=t[i];s.uniforms=this.getUniforms(i),s.attributes=this.getAttributes(i),s.varyings=this.getVaryings(i),s.structs=this.getStructs(i),s.vars=this.getVars(i,n),s.codes=this.getCodes(i),s.directives=this.getDirectives(i),s.scopedArrays=this.getScopedArrays(i);let o=`// code
|
||
|
||
`;o+=this.flowCode[i];let r=this.flowNodes[i],l=r[r.length-1],d=l.outputNode,h=d!==void 0&&d.isOutputStructNode===!0;for(let p of r){let I=this.getFlowData(p),m=p.name;if(m&&(o.length>0&&(o+=`
|
||
`),o+=` // flow -> ${m}
|
||
`),o+=`${I.code}
|
||
`,p===l&&i!=="compute"){if(o+=`// result
|
||
|
||
`,i==="vertex")o+=`varyings.builtinClipSpace = ${I.result};`;else if(i==="fragment")if(h)s.returnType=d.getNodeType(this),s.structs+="var<private> output : "+s.returnType+";",o+=`return ${I.result};`;else{let y=" @location( 0 ) color: vec4<f32>",T=this.getBuiltins("output");T&&(y+=`,
|
||
`+T),s.returnType="OutputStruct",s.structs+=this._getWGSLStruct("OutputStruct",y),s.structs+=`
|
||
var<private> output : OutputStruct;`,o+=`output.color = ${I.result};
|
||
|
||
return output;`}}}s.flow=o}if(this.shaderStage=null,this.material!==null)this.vertexShader=this._getWGSLVertexCode(t.vertex),this.fragmentShader=this._getWGSLFragmentCode(t.fragment);else{let i=this.object.workgroupSize;this.computeShader=this._getWGSLComputeCode(t.compute,i)}}getMethod(t,i=null){let n;return i!==null&&(n=this._getWGSLMethod(t+"_"+i)),n===void 0&&(n=this._getWGSLMethod(t)),n||t}getBitcastMethod(t){return`bitcast<${this.getType(t)}>`}getFloatPackingMethod(t){return this.getMethod(`floatpack_${t}_2x16`)}getFloatUnpackingMethod(t){return this.getMethod(`floatunpack_${t}_2x16`)}getTernary(t,i,n){return`select( ${n}, ${i}, ${t} )`}getType(t){return MVe[t]||t}isAvailable(t){let i=Iye[t];return i===void 0&&(t==="float32Filterable"?i=this.renderer.hasFeature("float32-filterable"):t==="clipDistance"&&(i=this.renderer.hasFeature("clip-distances")),Iye[t]=i),i}_getWGSLMethod(t){return _k[t]!==void 0&&this._include(t),BVe[t]}_include(t){let i=_k[t];return i.build(this),this.addInclude(i),i}_getWGSLVertexCode(t){return`${this.getSignature()}
|
||
// directives
|
||
${t.directives}
|
||
|
||
// structs
|
||
${t.structs}
|
||
|
||
// uniforms
|
||
${t.uniforms}
|
||
|
||
// varyings
|
||
${t.varyings}
|
||
var<private> varyings : VaryingsStruct;
|
||
|
||
// vars
|
||
${t.vars}
|
||
|
||
// codes
|
||
${t.codes}
|
||
|
||
@vertex
|
||
fn main( ${t.attributes} ) -> VaryingsStruct {
|
||
|
||
// flow
|
||
${t.flow}
|
||
|
||
return varyings;
|
||
|
||
}
|
||
`}_getWGSLFragmentCode(t){return`${this.getSignature()}
|
||
// global
|
||
${gge}
|
||
|
||
// structs
|
||
${t.structs}
|
||
|
||
// uniforms
|
||
${t.uniforms}
|
||
|
||
// vars
|
||
${t.vars}
|
||
|
||
// codes
|
||
${t.codes}
|
||
|
||
@fragment
|
||
fn main( ${t.varyings} ) -> ${t.returnType} {
|
||
|
||
// flow
|
||
${t.flow}
|
||
|
||
}
|
||
`}_getWGSLComputeCode(t,i){let[n,s,o]=i;return`${this.getSignature()}
|
||
// directives
|
||
${t.directives}
|
||
|
||
// system
|
||
var<private> instanceIndex : u32;
|
||
|
||
// locals
|
||
${t.scopedArrays}
|
||
|
||
// structs
|
||
${t.structs}
|
||
|
||
// uniforms
|
||
${t.uniforms}
|
||
|
||
// vars
|
||
${this.allowGlobalVariables?t.vars:""}
|
||
|
||
// codes
|
||
${t.codes}
|
||
|
||
@compute @workgroup_size( ${n}, ${s}, ${o} )
|
||
fn main( ${t.attributes} ) {
|
||
|
||
// local vars
|
||
${this.allowGlobalVariables?"":t.vars}
|
||
|
||
// system
|
||
instanceIndex = globalId.x
|
||
+ globalId.y * ( ${n} * numWorkgroups.x )
|
||
+ globalId.z * ( ${n} * numWorkgroups.x ) * ( ${s} * numWorkgroups.y );
|
||
|
||
// flow
|
||
${t.flow}
|
||
|
||
}
|
||
`}_getWGSLStruct(t,i){return`
|
||
struct ${t} {
|
||
${i}
|
||
};`}_getWGSLStructBinding(t,i,n,s=0,o=0){let r=t+"Struct";return`${this._getWGSLStruct(r,i)}
|
||
@binding( ${s} ) @group( ${o} )
|
||
var<${n}> ${t} : ${r};`}},fue=class{constructor(t){this.backend=t}getCurrentDepthStencilFormat(t){let i;return t.depth&&(t.depthTexture!==null?i=this.getTextureFormatGPU(t.depthTexture):t.stencil?this.backend.renderer.reversedDepthBuffer===!0?i=Pt.Depth32FloatStencil8:i=Pt.Depth24PlusStencil8:this.backend.renderer.reversedDepthBuffer===!0?i=Pt.Depth32Float:i=Pt.Depth24Plus),i}getTextureFormatGPU(t){return this.backend.get(t).format}getTextureSampleData(t){let i;if(t.isFramebufferTexture)i=1;else if(t.isDepthTexture&&!t.renderTarget){let o=this.backend.renderer,r=o.getRenderTarget();i=r?r.samples:o.currentSamples}else t.renderTarget&&(i=t.renderTarget.samples);i=i||1;let n=i>1&&t.renderTarget!==null&&t.isDepthTexture!==!0&&t.isFramebufferTexture!==!0;return{samples:i,primarySamples:n?1:i,isMSAA:n}}getCurrentColorFormat(t){let i;return t.textures!==null?i=this.getTextureFormatGPU(t.textures[0]):i=this.getPreferredCanvasFormat(),i}getCurrentColorFormats(t){return t.textures!==null?t.textures.map(i=>this.getTextureFormatGPU(i)):[this.getPreferredCanvasFormat()]}getCurrentColorSpace(t){return t.textures!==null?t.textures[0].colorSpace:this.backend.renderer.outputColorSpace}getPrimitiveTopology(t,i){if(t.isPoints)return Q$.PointList;if(t.isLineSegments||t.isMesh&&i.wireframe===!0)return Q$.LineList;if(t.isLine)return Q$.LineStrip;if(t.isMesh)return Q$.TriangleList}getSampleCount(t){return t>=4?4:1}getSampleCountRenderContext(t){return t.textures!==null?this.getSampleCount(t.sampleCount):this.getSampleCount(this.backend.renderer.currentSamples)}getPreferredCanvasFormat(){let i=this.backend.parameters.outputType;if(i===void 0)return navigator.gpu.getPreferredCanvasFormat();if(i===Lo)return Pt.BGRA8Unorm;if(i===sr)return Pt.RGBA16Float;throw new Error("Unsupported output buffer type.")}},wge=new Map([[Int8Array,["sint8","snorm8"]],[Uint8Array,["uint8","unorm8"]],[Int16Array,["sint16","snorm16"]],[Uint16Array,["uint16","unorm16"]],[Int32Array,["sint32","snorm32"]],[Uint32Array,["uint32","unorm32"]],[Float32Array,["float32"]]]);typeof Float16Array<"u"&&wge.set(Float16Array,["float16"]);var FVe=new Map([[rC,["float16"]]]),UVe=new Map([[Int32Array,"sint32"],[Int16Array,"sint32"],[Uint32Array,"uint32"],[Uint16Array,"uint32"],[Float32Array,"float32"]]),pue=class{constructor(t){this.backend=t}createAttribute(t,i){let n=this._getBufferAttribute(t),s=this.backend,o=s.get(n),r=o.buffer;if(r===void 0){let l=s.device,d=n.array;if(t.normalized===!1){if(d.constructor===Int16Array||d.constructor===Int8Array)d=new Int32Array(d);else if((d.constructor===Uint16Array||d.constructor===Uint8Array)&&(d=new Uint32Array(d),i&GPUBufferUsage.INDEX))for(let I=0;I<d.length;I++)d[I]===65535&&(d[I]=4294967295)}if(n.array=d,(n.isStorageBufferAttribute||n.isStorageInstancedBufferAttribute)&&n.itemSize===3){d=new d.constructor(n.count*4);for(let I=0;I<n.count;I++)d.set(n.array.subarray(I*3,I*3+3),I*4);n.itemSize=4,n.array=d,o._force3to4BytesAlignment=!0}let h=d.byteLength,p=h+(4-h%4)%4;r=l.createBuffer({label:n.name,size:p,usage:i,mappedAtCreation:!0}),new d.constructor(r.getMappedRange()).set(d),r.unmap(),o.buffer=r}}updateAttribute(t){let i=this._getBufferAttribute(t),n=this.backend,s=n.device,o=n.get(i),r=n.get(i).buffer,l=i.array;if(o._force3to4BytesAlignment===!0){l=new l.constructor(i.count*4);for(let h=0;h<i.count;h++)l.set(i.array.subarray(h*3,h*3+3),h*4);i.array=l}let d=i.updateRanges;if(d.length===0)s.queue.writeBuffer(r,0,l,0);else{let h=LC(l),p=h?1:l.BYTES_PER_ELEMENT;for(let I=0,m=d.length;I<m;I++){let y=d[I],T,R;if(o._force3to4BytesAlignment===!0){let A=Math.floor(y.start/3),O=Math.ceil(y.count/3);T=A*4*p,R=O*4*p}else T=y.start*p,R=y.count*p;let b=T*(h?l.BYTES_PER_ELEMENT:1);s.queue.writeBuffer(r,b,l,T,R)}i.clearUpdateRanges()}}createShaderVertexBuffers(t){let i=t.getAttributes(),n=new Map;for(let s=0;s<i.length;s++){let o=i[s],r=o.array.BYTES_PER_ELEMENT,l=this._getBufferAttribute(o),d=n.get(l);if(d===void 0){let I,m;o.isInterleavedBufferAttribute===!0?(I=o.data.stride*r,m=o.data.isInstancedInterleavedBuffer?J$.Instance:J$.Vertex):(I=o.itemSize*r,m=o.isInstancedBufferAttribute?J$.Instance:J$.Vertex),o.normalized===!1&&(o.array.constructor===Int16Array||o.array.constructor===Uint16Array)&&(I=4),d={arrayStride:I,attributes:[],stepMode:m},n.set(l,d)}let h=this._getVertexFormat(o),p=o.isInterleavedBufferAttribute===!0?o.offset*r:0;d.attributes.push({shaderLocation:s,offset:p,format:h})}return Array.from(n.values())}destroyAttribute(t){let i=this.backend;i.get(this._getBufferAttribute(t)).buffer.destroy(),i.delete(t)}async getArrayBufferAsync(t,i=null,n=0,s=-1){let o=this.backend,r=o.device,d=o.get(this._getBufferAttribute(t)).buffer,h=s===-1?d.size-n:s,p;if(i!==null&&i.isReadbackBuffer){let y=o.get(i);if(i._mapped===!0)throw new Error("WebGPURenderer: ReadbackBuffer must be released before being used again.");if(i._mapped=!0,y.readBufferGPU===void 0){p=r.createBuffer({label:`${i.name}_readback`,size:i.maxByteLength,usage:GPUBufferUsage.COPY_DST|GPUBufferUsage.MAP_READ});let T=()=>{i.buffer=null,i._mapped=!1,p.unmap()},R=()=>{i.buffer=null,i._mapped=!1,p.destroy(),o.delete(i),i.removeEventListener("release",T),i.removeEventListener("dispose",R)};i.addEventListener("release",T),i.addEventListener("dispose",R),y.readBufferGPU=p}else p=y.readBufferGPU}else p=r.createBuffer({label:`${t.name}_readback`,size:h,usage:GPUBufferUsage.COPY_DST|GPUBufferUsage.MAP_READ});let I=r.createCommandEncoder({label:`readback_encoder_${t.name}`});I.copyBufferToBuffer(d,n,p,0,h);let m=I.finish();if(r.queue.submit([m]),await p.mapAsync(GPUMapMode.READ,0,h),i===null){let T=p.getMappedRange(0,h).slice();return p.destroy(),T}else{if(i.isReadbackBuffer)return i.buffer=p.getMappedRange(0,h),i;{let y=p.getMappedRange(0,h);return new Uint8Array(i).set(new Uint8Array(y)),p.destroy(),i}}}_getVertexFormat(t){let{itemSize:i,normalized:n}=t,s=t.array.constructor,o=t.constructor,r;if(i===1)r=UVe.get(s);else{let d=(FVe.get(o)||wge.get(s))[n?1:0];if(d){let h=s.BYTES_PER_ELEMENT*i,I=Math.floor((h+3)/4)*4/s.BYTES_PER_ELEMENT;if(I%1)throw new Error("THREE.WebGPUAttributeUtils: Bad vertex format item size.");r=`${d}x${I}`}}return r||yi("WebGPUAttributeUtils: Vertex format not supported yet."),r}_getBufferAttribute(t){return t.isInterleavedBufferAttribute&&(t=t.data),t}},Iue=class{constructor(t){this.layoutGPU=t,this.usedTimes=0}},mue=class{constructor(t){this.backend=t,this._bindGroupLayoutCache=new Map}createBindingsLayout(t){let i=this.backend,n=i.device,s=i.get(t);if(s.layout)return s.layout.layoutGPU;let o=this._createLayoutEntries(t),r=X8(JSON.stringify(o)),l=this._bindGroupLayoutCache.get(r);return l===void 0&&(l=new Iue(n.createBindGroupLayout({entries:o})),this._bindGroupLayoutCache.set(r,l)),l.usedTimes++,s.layout=l,s.layoutKey=r,l.layoutGPU}createBindings(t,i,n,s=0){let{backend:o}=this,r=o.get(t),l=this.createBindingsLayout(t),d;n>0&&(r.groups===void 0&&(r.groups=[],r.versions=[]),r.versions[n]===s&&(d=r.groups[n])),d===void 0&&(d=this.createBindGroup(t,l),n>0&&(r.groups[n]=d,r.versions[n]=s)),r.group=d}updateBinding(t){let i=this.backend,n=i.device,s=t.buffer,o=i.get(t).buffer,r=t.updateRanges;if(r.length===0)n.queue.writeBuffer(o,0,s,0);else{let l=LC(s),d=l?1:s.BYTES_PER_ELEMENT;for(let h=0,p=r.length;h<p;h++){let I=r[h],m=I.start*d,y=I.count*d,T=m*(l?s.BYTES_PER_ELEMENT:1);n.queue.writeBuffer(o,T,s,m,y)}}}createBindGroupIndex(t,i){let s=this.backend.device,o=GPUBufferUsage.UNIFORM|GPUBufferUsage.COPY_DST,r=t[0],l=s.createBuffer({label:"bindingCameraIndex_"+r,size:16,usage:o});s.queue.writeBuffer(l,0,t,0);let d=[{binding:0,resource:{buffer:l}}];return s.createBindGroup({label:"bindGroupCameraIndex_"+r,layout:i,entries:d})}createBindGroup(t,i){let n=this.backend,s=n.device,o=0,r=[];for(let l of t.bindings){if(l.isUniformBuffer){let d=n.get(l);if(d.buffer===void 0){let h=l.byteLength,p=GPUBufferUsage.UNIFORM|GPUBufferUsage.COPY_DST,I=[];l.visibility&B2.VERTEX&&I.push("vertex"),l.visibility&B2.FRAGMENT&&I.push("fragment"),l.visibility&B2.COMPUTE&&I.push("compute");let m=`(${I.join(",")})`,y=s.createBuffer({label:`bindingBuffer${l.id}_${l.name}_${m}`,size:h,usage:p});d.buffer=y}r.push({binding:o,resource:{buffer:d.buffer}})}else if(l.isStorageBuffer){let d=n.get(l.attribute).buffer;r.push({binding:o,resource:{buffer:d}})}else if(l.isSampledTexture){let d=n.get(l.texture),h;if(d.externalTexture!==void 0)h=s.importExternalTexture({source:d.externalTexture});else{let p=l.store?1:d.texture.mipLevelCount,I=l.store?l.mipLevel:0,m=`view-${d.texture.width}-${d.texture.height}`;if(d.texture.depthOrArrayLayers>1&&(m+=`-${d.texture.depthOrArrayLayers}`),m+=`-${p}-${I}`,h=d[m],h===void 0){let y=bVe.All,T;l.isSampledCubeTexture?T=Wf.Cube:l.isSampledTexture3D?T=Wf.ThreeD:l.texture.isArrayTexture||l.texture.isDataArrayTexture||l.texture.isCompressedArrayTexture?T=Wf.TwoDArray:T=Wf.TwoD,h=d[m]=d.texture.createView({aspect:y,dimension:T,mipLevelCount:p,baseMipLevel:I})}}r.push({binding:o,resource:h})}else if(l.isSampler){let d=n.get(l.texture);r.push({binding:o,resource:d.sampler})}o++}return s.createBindGroup({label:"bindGroup_"+t.name,layout:i,entries:r})}_createLayoutEntries(t){let i=[],n=0;for(let s of t.bindings){let o=this.backend,r={binding:n,visibility:s.visibility};if(s.isUniformBuffer||s.isStorageBuffer){let l={};s.isStorageBuffer&&(s.visibility&B2.COMPUTE&&(s.access===jh.READ_WRITE||s.access===jh.WRITE_ONLY)?l.type=zoe.Storage:l.type=zoe.ReadOnlyStorage),r.buffer=l}else if(s.isSampledTexture&&s.store){let l={};l.format=this.backend.get(s.texture).texture.format;let d=s.access;d===jh.READ_WRITE?l.access=Woe.ReadWrite:d===jh.WRITE_ONLY?l.access=Woe.WriteOnly:l.access=Woe.ReadOnly,s.texture.isArrayTexture?l.viewDimension=Wf.TwoDArray:s.texture.is3DTexture&&(l.viewDimension=Wf.ThreeD),r.storageTexture=l}else if(s.isSampledTexture){let l={},{primarySamples:d}=o.utils.getTextureSampleData(s.texture);if(d>1&&(l.multisampled=!0,s.texture.isDepthTexture||(l.sampleType=Ix.UnfilterableFloat)),s.texture.isDepthTexture)o.compatibilityMode&&s.texture.compareFunction===null?l.sampleType=Ix.UnfilterableFloat:l.sampleType=Ix.Depth;else if(s.texture.isDataTexture||s.texture.isDataArrayTexture||s.texture.isData3DTexture||s.texture.isStorageTexture){let h=s.texture.type;h===Ya?l.sampleType=Ix.SInt:h===co?l.sampleType=Ix.UInt:h===Ro&&(this.backend.hasFeature("float32-filterable")?l.sampleType=Ix.Float:l.sampleType=Ix.UnfilterableFloat)}s.isSampledCubeTexture?l.viewDimension=Wf.Cube:s.texture.isArrayTexture||s.texture.isDataArrayTexture||s.texture.isCompressedArrayTexture?l.viewDimension=Wf.TwoDArray:s.isSampledTexture3D&&(l.viewDimension=Wf.ThreeD),r.texture=l}else if(s.isSampler){let l={};s.texture.isDepthTexture&&(s.texture.compareFunction!==null&&o.hasCompatibility(dw.TEXTURE_COMPARE)?l.type=cye.Comparison:l.type=cye.NonFiltering),r.sampler=l}else yi(`WebGPUBindingUtils: Unsupported binding "${s}".`);i.push(r),n++}return i}deleteBindGroupData(t){let{backend:i}=this,n=i.get(t);n.layout&&(n.layout.usedTimes--,n.layout.usedTimes===0&&this._bindGroupLayoutCache.delete(n.layoutKey),n.layout=void 0,n.layoutKey=void 0)}dispose(){this._bindGroupLayoutCache.clear()}},yue=class{constructor(t){this.backend=t}getMaxAnisotropy(){return 16}getUniformBufferLimit(){return this.backend.device.limits.maxUniformBufferBindingSize}},Eue=class{constructor(t){this.backend=t,this._activePipelines=new WeakMap}setPipeline(t,i){this._activePipelines.get(t)!==i&&(t.setPipeline(i),this._activePipelines.set(t,i))}_getSampleCount(t){return this.backend.utils.getSampleCountRenderContext(t)}createRenderPipeline(t,i){let{object:n,material:s,geometry:o,pipeline:r}=t,{vertexProgram:l,fragmentProgram:d}=r,h=this.backend,p=h.device,I=h.utils,m=h.get(r),y=[];for(let Ae of t.getBindings()){let Ee=h.get(Ae),{layoutGPU:Ce}=Ee.layout;y.push(Ce)}let T=h.attributeUtils.createShaderVertexBuffers(t),R;s.blending!==Na&&(s.blending!==Yc||s.transparent!==!1)&&(R=this._getBlending(s));let b={};s.stencilWrite===!0&&(b={compare:this._getStencilCompare(s),failOp:this._getStencilOperation(s.stencilFail),depthFailOp:this._getStencilOperation(s.stencilZFail),passOp:this._getStencilOperation(s.stencilZPass)});let A=this._getColorWriteMask(s),O=[];if(t.context.textures!==null){let Ae=t.context.textures,Ee=t.context.mrt;for(let Ce=0;Ce<Ae.length;Ce++){let Qe=Ae[Ce],qe=I.getTextureFormatGPU(Qe),St;if(Ee!==null)if(this.backend.compatibilityMode!==!0){let $e=Ee.getBlendMode(Qe.name);$e.blending===OP?St=R:$e.blending!==Na&&(St=this._getBlending($e))}else Oo("WebGPURenderer: Multiple Render Targets (MRT) blending configuration is not fully supported in compatibility mode. The material blending will be used for all render targets."),St=R;else St=R;O.push({format:qe,blend:St,writeMask:A})}}else{let Ae=I.getCurrentColorFormat(t.context);O.push({format:Ae,blend:R,writeMask:A})}let P=h.get(l).module,U=h.get(d).module,Z=this._getPrimitiveState(n,o,s),ne=this._getDepthCompare(s),K=I.getCurrentDepthStencilFormat(t.context),oe=this._getSampleCount(t.context),se={label:`renderPipeline_${s.name||s.type}_${s.id}`,vertex:Object.assign({},P,{buffers:T}),fragment:Object.assign({},U,{targets:O}),primitive:Z,multisample:{count:oe,alphaToCoverageEnabled:s.alphaToCoverage&&oe>1},layout:p.createPipelineLayout({bindGroupLayouts:y})},he={},Re=t.context.depth,ee=t.context.stencil;if((Re===!0||ee===!0)&&(Re===!0&&(he.format=K,he.depthWriteEnabled=s.depthWrite,he.depthCompare=ne),ee===!0&&(he.stencilFront=b,he.stencilBack=b,he.stencilReadMask=s.stencilFuncMask,he.stencilWriteMask=s.stencilWriteMask),s.polygonOffset===!0&&(he.depthBias=s.polygonOffsetUnits,he.depthBiasSlopeScale=s.polygonOffsetFactor,he.depthBiasClamp=0),se.depthStencil=he),p.pushErrorScope("validation"),i===null)m.pipeline=p.createRenderPipeline(se),p.popErrorScope().then(Ae=>{Ae!==null&&(m.error=!0,yi(Ae.message))});else{let Ae=new Promise(async Ee=>{try{m.pipeline=await p.createRenderPipelineAsync(se)}catch{}let Ce=await p.popErrorScope();Ce!==null&&(m.error=!0,yi(Ce.message)),Ee()});i.push(Ae)}}createBundleEncoder(t,i="renderBundleEncoder"){let n=this.backend,{utils:s,device:o}=n,r=s.getCurrentDepthStencilFormat(t),l=s.getCurrentColorFormats(t),d=this._getSampleCount(t),h={label:i,colorFormats:l,depthStencilFormat:r,sampleCount:d};return o.createRenderBundleEncoder(h)}createComputePipeline(t,i){let n=this.backend,s=n.device,o=n.get(t.computeProgram).module,r=n.get(t),l=[];for(let d of i){let h=n.get(d),{layoutGPU:p}=h.layout;l.push(p)}r.pipeline=s.createComputePipeline({compute:o,layout:s.createPipelineLayout({bindGroupLayouts:l})})}_getBlending(t){let i,n,s=t.blending,o=t.blendSrc,r=t.blendDst,l=t.blendEquation;if(s===ow){let d=t.blendSrcAlpha!==null?t.blendSrcAlpha:o,h=t.blendDstAlpha!==null?t.blendDstAlpha:r,p=t.blendEquationAlpha!==null?t.blendEquationAlpha:l;i={srcFactor:this._getBlendFactor(o),dstFactor:this._getBlendFactor(r),operation:this._getBlendOperation(l)},n={srcFactor:this._getBlendFactor(d),dstFactor:this._getBlendFactor(h),operation:this._getBlendOperation(p)}}else{let d=t.premultipliedAlpha,h=(p,I,m,y)=>{i={srcFactor:p,dstFactor:I,operation:px.Add},n={srcFactor:m,dstFactor:y,operation:px.Add}};if(d)switch(s){case Yc:h(Xs.One,Xs.OneMinusSrcAlpha,Xs.One,Xs.OneMinusSrcAlpha);break;case LT:h(Xs.One,Xs.One,Xs.One,Xs.One);break;case PT:h(Xs.Zero,Xs.OneMinusSrc,Xs.Zero,Xs.One);break;case MT:h(Xs.Dst,Xs.OneMinusSrcAlpha,Xs.Zero,Xs.One);break}else switch(s){case Yc:h(Xs.SrcAlpha,Xs.OneMinusSrcAlpha,Xs.One,Xs.OneMinusSrcAlpha);break;case LT:h(Xs.SrcAlpha,Xs.One,Xs.One,Xs.One);break;case PT:yi(`WebGPURenderer: "SubtractiveBlending" requires "${t.isMaterial?"material":"blendMode"}.premultipliedAlpha = true".`);break;case MT:yi(`WebGPURenderer: "MultiplyBlending" requires "${t.isMaterial?"material":"blendMode"}.premultipliedAlpha = true".`);break}}if(i!==void 0&&n!==void 0)return{color:i,alpha:n};yi("WebGPURenderer: Invalid blending: ",s)}_getBlendFactor(t){let i;switch(t){case Ey:i=Xs.Zero;break;case MP:i=Xs.One;break;case BP:i=Xs.Src;break;case FP:i=Xs.OneMinusSrc;break;case Gv:i=Xs.SrcAlpha;break;case Vv:i=Xs.OneMinusSrcAlpha;break;case GP:i=Xs.Dst;break;case VP:i=Xs.OneMinusDst;break;case UP:i=Xs.DstAlpha;break;case HP:i=Xs.OneMinusDstAlpha;break;case kP:i=Xs.SrcAlphaSaturated;break;case N9e:i=Xs.Constant;break;case _9e:i=Xs.OneMinusConstant;break;default:yi("WebGPURenderer: Blend factor not supported.",t)}return i}_getStencilCompare(t){let i,n=t.stencilFunc;switch(n){case ij:i=Yh.Never;break;case rP:i=Yh.Always;break;case nj:i=Yh.Less;break;case oj:i=Yh.LessEqual;break;case sj:i=Yh.Equal;break;case aj:i=Yh.GreaterEqual;break;case rj:i=Yh.Greater;break;case lj:i=Yh.NotEqual;break;default:yi("WebGPURenderer: Invalid stencil function.",n)}return i}_getStencilOperation(t){let i;switch(t){case Qg:i=JN.Keep;break;case ZY:i=JN.Zero;break;case KY:i=JN.Replace;break;case tj:i=JN.Invert;break;case QY:i=JN.IncrementClamp;break;case JY:i=JN.DecrementClamp;break;case XY:i=JN.IncrementWrap;break;case ej:i=JN.DecrementWrap;break;default:yi("WebGPURenderer: Invalid stencil operation.",i)}return i}_getBlendOperation(t){let i;switch(t){case Nc:i=px.Add;break;case LP:i=px.Subtract;break;case PP:i=px.ReverseSubtract;break;case tG:i=px.Min;break;case iG:i=px.Max;break;default:yi("WebGPUPipelineUtils: Blend equation not supported.",t)}return i}_getPrimitiveState(t,i,n){let s={},o=this.backend.utils;s.topology=o.getPrimitiveTopology(t,n),i.index!==null&&t.isLine===!0&&t.isLineSegments!==!0&&(s.stripIndexFormat=i.index.array instanceof Uint16Array?aK.Uint16:aK.Uint32);let r=n.side===Js;return t.isMesh&&t.matrixWorld.determinant()<0&&(r=!r),s.frontFace=r===!0?lye.CW:lye.CCW,s.cullMode=n.side===so?aye.None:aye.Back,s}_getColorWriteMask(t){return t.colorWrite===!0?uye.All:uye.None}_getDepthCompare(t){let i;if(t.depthTest===!1)i=Yh.Always;else{let n=this.backend.parameters.reversedDepthBuffer?hG[t.depthFunc]:t.depthFunc;switch(n){case vb:i=Yh.Never;break;case Rb:i=Yh.Always;break;case Sb:i=Yh.Less;break;case AT:i=Yh.LessEqual;break;case Ab:i=Yh.Equal;break;case bb:i=Yh.GreaterEqual;break;case Nb:i=Yh.Greater;break;case _b:i=Yh.NotEqual;break;default:yi("WebGPUPipelineUtils: Invalid depth function.",n)}}return i}},Tue=class extends rK{constructor(t,i,n=2048){super(n),this.device=t,this.type=i,this.querySet=this.device.createQuerySet({type:"timestamp",count:this.maxQueries,label:`queryset_global_timestamp_${i}`});let s=this.maxQueries*8;this.resolveBuffer=this.device.createBuffer({label:`buffer_timestamp_resolve_${i}`,size:s,usage:GPUBufferUsage.QUERY_RESOLVE|GPUBufferUsage.COPY_SRC}),this.resultBuffer=this.device.createBuffer({label:`buffer_timestamp_result_${i}`,size:s,usage:GPUBufferUsage.COPY_DST|GPUBufferUsage.MAP_READ})}allocateQueriesForContext(t){if(!this.trackTimestamp||this.isDisposed)return null;if(this.currentQueryIndex+2>this.maxQueries)return Oo(`WebGPUTimestampQueryPool [${this.type}]: Maximum number of queries exceeded, when using trackTimestamp it is necessary to resolves the queries via renderer.resolveTimestampsAsync( THREE.TimestampQuery.${this.type.toUpperCase()} ).`),null;let i=this.currentQueryIndex;return this.currentQueryIndex+=2,this.queryOffsets.set(t,i),i}async resolveQueriesAsync(){if(!this.trackTimestamp||this.currentQueryIndex===0||this.isDisposed)return this.lastValue;if(this.pendingResolve)return this.pendingResolve;this.pendingResolve=this._resolveQueries();try{return await this.pendingResolve}finally{this.pendingResolve=null}}async _resolveQueries(){if(this.isDisposed)return this.lastValue;try{if(this.resultBuffer.mapState!=="unmapped")return this.lastValue;let t=new Map(this.queryOffsets),i=this.currentQueryIndex,n=i*8;this.currentQueryIndex=0,this.queryOffsets.clear();let s=this.device.createCommandEncoder();s.resolveQuerySet(this.querySet,0,i,this.resolveBuffer,0),s.copyBufferToBuffer(this.resolveBuffer,0,this.resultBuffer,0,n);let o=s.finish();if(this.device.queue.submit([o]),this.resultBuffer.mapState!=="unmapped")return this.lastValue;if(await this.resultBuffer.mapAsync(GPUMapMode.READ,0,n),this.isDisposed)return this.resultBuffer.mapState==="mapped"&&this.resultBuffer.unmap(),this.lastValue;let r=new BigUint64Array(this.resultBuffer.getMappedRange(0,n)),l={},d=[];for(let[p,I]of t){let m=p.match(/^(.*):f(\d+)$/),y=parseInt(m[2]);d.includes(y)===!1&&d.push(y),l[y]===void 0&&(l[y]=0);let T=r[I],R=r[I+1],b=Number(R-T)/1e6;this.timestamps.set(p,b),l[y]+=b}let h=l[d[d.length-1]];return this.resultBuffer.unmap(),this.lastValue=h,this.frames=d,h}catch(t){return yi("Error resolving queries:",t),this.resultBuffer.mapState==="mapped"&&this.resultBuffer.unmap(),this.lastValue}}async dispose(){if(!this.isDisposed){if(this.isDisposed=!0,this.pendingResolve)try{await this.pendingResolve}catch(t){yi("Error waiting for pending resolve:",t)}if(this.resultBuffer&&this.resultBuffer.mapState==="mapped")try{this.resultBuffer.unmap()}catch(t){yi("Error unmapping buffer:",t)}this.querySet&&(this.querySet.destroy(),this.querySet=null),this.resolveBuffer&&(this.resolveBuffer.destroy(),this.resolveBuffer=null),this.resultBuffer&&(this.resultBuffer.destroy(),this.resultBuffer=null),this.queryOffsets.clear(),this.pendingResolve=null}}},L3={r:0,g:0,b:0,a:1},gue=class extends oK{constructor(t={}){super(t),this.isWebGPUBackend=!0,this.parameters.alpha=t.alpha===void 0?!0:t.alpha,this.parameters.requiredLimits=t.requiredLimits===void 0?{}:t.requiredLimits,this.compatibilityMode=null,this.device=null,this.defaultRenderPassdescriptor=null,this.utils=new fue(this),this.attributeUtils=new pue(this),this.bindingUtils=new mue(this),this.capabilities=new yue(this),this.pipelineUtils=new Eue(this),this.textureUtils=new aue(this),this.occludedResolveCache=new Map;let i=typeof navigator>"u"?!0:/Android/.test(navigator.userAgent)===!1;this._compatibility={[dw.TEXTURE_COMPARE]:i}}async init(t){await super.init(t);let i=this.parameters,n;if(i.device===void 0){let s={powerPreference:i.powerPreference,featureLevel:"compatibility"},o=typeof navigator<"u"?await navigator.gpu.requestAdapter(s):null;if(o===null)throw new Error("WebGPUBackend: Unable to create WebGPU adapter.");let r=Object.values(uK),l=[];for(let h of r)o.features.has(h)&&l.push(h);let d={requiredFeatures:l,requiredLimits:i.requiredLimits};n=await o.requestDevice(d)}else n=i.device;this.compatibilityMode=!n.features.has("core-features-and-limits"),this.compatibilityMode&&(t._samples=0),n.lost.then(s=>{if(s.reason==="destroyed")return;let o={api:"WebGPU",message:s.message||"Unknown reason",reason:s.reason||null,originalEvent:s};t.onDeviceLost(o)}),this.device=n,this.trackTimestamp=this.trackTimestamp&&this.hasFeature(uK.TimestampQuery),this.updateSize()}get context(){let t=this.renderer.getCanvasTarget(),i=this.get(t),n=i.context;if(n===void 0){let s=this.parameters;t.isDefaultCanvasTarget===!0&&s.context!==void 0?n=s.context:n=t.domElement.getContext("webgpu"),"setAttribute"in t.domElement&&t.domElement.setAttribute("data-engine",`three.js r${"184"} webgpu`);let o=s.alpha?"premultiplied":"opaque",r=s.outputType===sr?"extended":"standard";n.configure({device:this.device,format:this.utils.getPreferredCanvasFormat(),usage:GPUTextureUsage.RENDER_ATTACHMENT|GPUTextureUsage.COPY_SRC,alphaMode:o,toneMapping:{mode:r}}),i.context=n}return n}get coordinateSystem(){return mf}async getArrayBufferAsync(t,i=null,n=0,s=-1){return await this.attributeUtils.getArrayBufferAsync(t,i,n,s)}getContext(){return this.context}_getDefaultRenderPassDescriptor(){let t=this.renderer,i=t.getCanvasTarget(),n=this.get(i),s=t.currentSamples,o=n.descriptor;if(o===void 0||n.samples!==s){o={colorAttachments:[{view:null}]},(t.depth===!0||t.stencil===!0)&&(o.depthStencilAttachment={view:this.textureUtils.getDepthBuffer(t.depth,t.stencil).createView()});let l=o.colorAttachments[0];s>0?l.view=this.textureUtils.getColorBuffer().createView():l.resolveTarget=void 0,n.descriptor=o,n.samples=s}let r=o.colorAttachments[0];return s>0?r.resolveTarget=this.context.getCurrentTexture().createView():r.view=this.context.getCurrentTexture().createView(),o}_isRenderCameraDepthArray(t){return t.depthTexture&&t.depthTexture.image.depth>1&&t.camera.isArrayCamera}_getRenderPassDescriptor(t,i={}){let n=t.renderTarget,s=this.get(n),o=s.descriptors;(o===void 0||s.width!==n.width||s.height!==n.height||s.samples!==n.samples)&&(o={},s.descriptors=o);let r=t.getCacheKey(),l=o[r];if(l===void 0){let h=t.textures,p=[],I,m=this._isRenderCameraDepthArray(t);for(let y=0;y<h.length;y++){let T=this.get(h[y]),R={label:`colorAttachment_${y}`,baseMipLevel:t.activeMipmapLevel,mipLevelCount:1,baseArrayLayer:t.activeCubeFace,arrayLayerCount:1,dimension:Wf.TwoD};if(n.isRenderTarget3D)I=t.activeCubeFace,R.baseArrayLayer=0,R.dimension=Wf.ThreeD,R.depthOrArrayLayers=h[y].image.depth;else if(n.isRenderTarget&&h[y].image.depth>1)if(m===!0){let b=t.camera.cameras;for(let A=0;A<b.length;A++){let O={...R,baseArrayLayer:A,arrayLayerCount:1,dimension:Wf.TwoD},P=T.texture.createView(O);p.push({view:P,resolveTarget:void 0,depthSlice:void 0})}}else R.dimension=Wf.TwoDArray,R.depthOrArrayLayers=h[y].image.depth;if(m!==!0){let b=T.texture.createView(R),A,O;T.msaaTexture!==void 0?(A=T.msaaTexture.createView(),O=b):(A=b,O=void 0),p.push({view:A,resolveTarget:O,depthSlice:I})}}if(l={textureViews:p},t.depth){let y=this.get(t.depthTexture),T={};(t.depthTexture.isArrayTexture||t.depthTexture.isCubeTexture)&&(T.dimension=Wf.TwoD,T.arrayLayerCount=1,T.baseArrayLayer=t.activeCubeFace),l.depthStencilView=y.texture.createView(T)}o[r]=l,s.width=n.width,s.height=n.height,s.samples=n.samples,s.activeMipmapLevel=t.activeMipmapLevel,s.activeCubeFace=t.activeCubeFace}let d={colorAttachments:[]};for(let h=0;h<l.textureViews.length;h++){let p=l.textureViews[h],I={r:0,g:0,b:0,a:1};h===0&&i.clearValue&&(I=i.clearValue),d.colorAttachments.push({view:p.view,depthSlice:p.depthSlice,resolveTarget:p.resolveTarget,loadOp:i.loadOp||Vo.Load,storeOp:i.storeOp||oI.Store,clearValue:I})}return l.depthStencilView&&(d.depthStencilAttachment={view:l.depthStencilView}),d}beginRender(t){let i=this.get(t),n=this.device,s=t.occlusionQueryCount,o;s>0&&(i.currentOcclusionQuerySet&&i.currentOcclusionQuerySet.destroy(),i.currentOcclusionQueryBuffer&&i.currentOcclusionQueryBuffer.destroy(),i.currentOcclusionQuerySet=i.occlusionQuerySet,i.currentOcclusionQueryBuffer=i.occlusionQueryBuffer,i.currentOcclusionQueryObjects=i.occlusionQueryObjects,o=n.createQuerySet({type:"occlusion",count:s,label:`occlusionQuerySet_${t.id}`}),i.occlusionQuerySet=o,i.occlusionQueryIndex=0,i.occlusionQueryObjects=new Array(s),i.lastOcclusionObject=null);let r;t.textures===null?r=this._getDefaultRenderPassDescriptor():r=this._getRenderPassDescriptor(t,{loadOp:Vo.Load}),this.initTimestampQuery(Lm.RENDER,this.getTimestampUID(t),r),r.occlusionQuerySet=o;let l=r.depthStencilAttachment;if(t.textures!==null){let h=r.colorAttachments;for(let p=0;p<h.length;p++){let I=h[p];t.clearColor?(p===0?I.clearValue=t.clearColorValue:(L3.r=0,L3.g=0,L3.b=0,L3.a=1,I.clearValue=L3),I.loadOp=Vo.Clear):I.loadOp=Vo.Load,I.storeOp=oI.Store}}else{let h=r.colorAttachments[0];t.clearColor?(h.clearValue=t.clearColorValue,h.loadOp=Vo.Clear):h.loadOp=Vo.Load,h.storeOp=oI.Store}t.depth&&(t.clearDepth?(l.depthClearValue=t.clearDepthValue,l.depthLoadOp=Vo.Clear):l.depthLoadOp=Vo.Load,l.depthStoreOp=oI.Store),t.stencil&&(t.clearStencil?(l.stencilClearValue=t.clearStencilValue,l.stencilLoadOp=Vo.Clear):l.stencilLoadOp=Vo.Load,l.stencilStoreOp=oI.Store);let d=n.createCommandEncoder({label:"renderContext_"+t.id});if(this._isRenderCameraDepthArray(t)===!0){let h=t.camera.cameras;!i.layerDescriptors||i.layerDescriptors.length!==h.length?this._createDepthLayerDescriptors(t,i,r,h):this._updateDepthLayerDescriptors(t,i,h),i.bundleEncoders=[],i.bundleSets=[];for(let p=0;p<h.length;p++){let I=this.pipelineUtils.createBundleEncoder(t,"renderBundleArrayCamera_"+p),m={attributes:{},bindingGroups:[],pipeline:null,index:null};i.bundleEncoders.push(I),i.bundleSets.push(m)}i.currentPass=null}else{let h=d.beginRenderPass(r);i.currentPass=h,t.viewport&&this.updateViewport(t),t.scissor&&this.updateScissor(t)}i.descriptor=r,i.encoder=d,i.currentSets={attributes:{},bindingGroups:[],pipeline:null,index:null},i.renderBundles=[]}_createDepthLayerDescriptors(t,i,n,s){let o=n.depthStencilAttachment;i.layerDescriptors=[];let r=this.get(t.depthTexture);r.viewCache||(r.viewCache=[]);for(let l=0;l<s.length;l++){let d={...n,colorAttachments:[{...n.colorAttachments[0],view:n.colorAttachments[l].view}]};if(n.depthStencilAttachment){let h=l;r.viewCache[h]||(r.viewCache[h]=r.texture.createView({dimension:Wf.TwoD,baseArrayLayer:l,arrayLayerCount:1})),d.depthStencilAttachment={view:r.viewCache[h],depthLoadOp:o.depthLoadOp||Vo.Clear,depthStoreOp:o.depthStoreOp||oI.Store,depthClearValue:o.depthClearValue||1},t.stencil&&(d.depthStencilAttachment.stencilLoadOp=o.stencilLoadOp,d.depthStencilAttachment.stencilStoreOp=o.stencilStoreOp,d.depthStencilAttachment.stencilClearValue=o.stencilClearValue)}else d.depthStencilAttachment={...o};i.layerDescriptors.push(d)}}_updateDepthLayerDescriptors(t,i,n){for(let s=0;s<n.length;s++){let o=i.layerDescriptors[s];if(o.depthStencilAttachment){let r=o.depthStencilAttachment;t.depth&&(t.clearDepth?(r.depthClearValue=t.clearDepthValue,r.depthLoadOp=Vo.Clear):r.depthLoadOp=Vo.Load),t.stencil&&(t.clearStencil?(r.stencilClearValue=t.clearStencilValue,r.stencilLoadOp=Vo.Clear):r.stencilLoadOp=Vo.Load)}}}finishRender(t){let i=this.get(t),n=t.occlusionQueryCount;i.renderBundles.length>0&&i.currentPass.executeBundles(i.renderBundles),n>i.occlusionQueryIndex&&i.currentPass.endOcclusionQuery();let s=i.encoder;if(this._isRenderCameraDepthArray(t)===!0){let o=[];for(let r=0;r<i.bundleEncoders.length;r++){let l=i.bundleEncoders[r];o.push(l.finish())}for(let r=0;r<i.layerDescriptors.length;r++)if(r<o.length){let l=i.layerDescriptors[r],d=s.beginRenderPass(l);if(t.viewport){let{x:h,y:p,width:I,height:m,minDepth:y,maxDepth:T}=t.viewportValue;d.setViewport(h,p,I,m,y,T)}if(t.scissor){let{x:h,y:p,width:I,height:m}=t.scissorValue;d.setScissorRect(h,p,I,m)}d.executeBundles([o[r]]),d.end()}}else i.currentPass&&i.currentPass.end();if(n>0){let o=n*8,r=this.occludedResolveCache.get(o);r===void 0&&(r=this.device.createBuffer({size:o,usage:GPUBufferUsage.QUERY_RESOLVE|GPUBufferUsage.COPY_SRC}),this.occludedResolveCache.set(o,r));let l=this.device.createBuffer({size:o,usage:GPUBufferUsage.COPY_DST|GPUBufferUsage.MAP_READ});i.encoder.resolveQuerySet(i.occlusionQuerySet,0,n,r,0),i.encoder.copyBufferToBuffer(r,0,l,0,o),i.occlusionQueryBuffer=l,this.resolveOccludedAsync(t)}if(this.device.queue.submit([i.encoder.finish()]),t.textures!==null){let o=t.textures;for(let r=0;r<o.length;r++){let l=o[r];l.generateMipmaps===!0&&this.textureUtils.generateMipmaps(l)}}}isOccluded(t,i){let n=this.get(t);return n.occluded&&n.occluded.has(i)}async resolveOccludedAsync(t){let i=this.get(t),{currentOcclusionQueryBuffer:n,currentOcclusionQueryObjects:s}=i;if(n&&s){let o=new WeakSet;i.currentOcclusionQueryObjects=null,i.currentOcclusionQueryBuffer=null,await n.mapAsync(GPUMapMode.READ);let r=n.getMappedRange(),l=new BigUint64Array(r);for(let d=0;d<s.length;d++)l[d]===BigInt(0)&&o.add(s[d]);n.destroy(),i.occluded=o}}updateViewport(t){let{currentPass:i}=this.get(t),{x:n,y:s,width:o,height:r,minDepth:l,maxDepth:d}=t.viewportValue;i.setViewport(n,s,o,r,l,d)}updateScissor(t){let{currentPass:i}=this.get(t),{x:n,y:s,width:o,height:r}=t.scissorValue;i.setScissorRect(n,s,o,r)}getClearColor(){let t=super.getClearColor();return this.renderer.alpha===!0&&(t.r*=t.a,t.g*=t.a,t.b*=t.a),t}clear(t,i,n,s=null){let o=this.device,r=this.renderer,l=[],d,h,p;if(t){let y=this.getClearColor();L3.r=y.r,L3.g=y.g,L3.b=y.b,L3.a=y.a}if(s===null){h=r.depth,p=r.stencil;let y=this._getDefaultRenderPassDescriptor();if(t){l=y.colorAttachments;let T=l[0];T.clearValue=L3,T.loadOp=Vo.Clear,T.storeOp=oI.Store}(h||p)&&(d=y.depthStencilAttachment)}else{h=s.depth,p=s.stencil;let y={loadOp:t?Vo.Clear:Vo.Load,clearValue:t?L3:void 0};h&&(y.depthLoadOp=i?Vo.Clear:Vo.Load,y.depthClearValue=i?r.getClearDepth():void 0,y.depthStoreOp=oI.Store),p&&(y.stencilLoadOp=n?Vo.Clear:Vo.Load,y.stencilClearValue=n?r.getClearStencil():void 0,y.stencilStoreOp=oI.Store);let T=this._getRenderPassDescriptor(s,y);l=T.colorAttachments,d=T.depthStencilAttachment}h&&d&&(i?(d.depthLoadOp=Vo.Clear,d.depthClearValue=r.getClearDepth(),d.depthStoreOp=oI.Store):(d.depthLoadOp=Vo.Load,d.depthStoreOp=oI.Store)),p&&d&&(n?(d.stencilLoadOp=Vo.Clear,d.stencilClearValue=r.getClearStencil(),d.stencilStoreOp=oI.Store):(d.stencilLoadOp=Vo.Load,d.stencilStoreOp=oI.Store));let I=o.createCommandEncoder({label:"clear"});I.beginRenderPass({colorAttachments:l,depthStencilAttachment:d}).end(),o.queue.submit([I.finish()])}beginCompute(t){let i=this.get(t),n={label:"computeGroup_"+t.id};this.initTimestampQuery(Lm.COMPUTE,this.getTimestampUID(t),n),i.cmdEncoderGPU=this.device.createCommandEncoder({label:"computeGroup_"+t.id}),i.passEncoderGPU=i.cmdEncoderGPU.beginComputePass(n)}compute(t,i,n,s,o=null){let r=this.get(i),{passEncoderGPU:l}=this.get(t),d=this.get(s).pipeline;this.pipelineUtils.setPipeline(l,d);for(let h=0,p=n.length;h<p;h++){let I=n[h],m=this.get(I);l.setBindGroup(h,m.group)}if(o===null&&(o=i.dispatchSize||i.count),o&&o.isIndirectStorageBufferAttribute){let h=this.get(o).buffer;l.dispatchWorkgroupsIndirect(h,0);return}if(typeof o=="number"){let h=o;if(r.dispatchSize===void 0||r.count!==h){r.dispatchSize=[0,1,1],r.count=h;let p=i.workgroupSize,I=p[0];for(let T=1;T<p.length;T++)I*=p[T];let m=Math.ceil(h/I),y=this.device.limits.maxComputeWorkgroupsPerDimension;o=[m,1,1],m>y&&(o[0]=Math.min(m,y),o[1]=Math.ceil(m/y)),r.dispatchSize=o}o=r.dispatchSize}l.dispatchWorkgroups(o[0],o[1]||1,o[2]||1)}finishCompute(t){let i=this.get(t);i.passEncoderGPU.end(),this.device.queue.submit([i.cmdEncoderGPU.finish()])}_draw(t,i,n,s,o,r,l,d,h){let{object:p,material:I,context:m}=t,y=t.getIndex(),T=y!==null;this.pipelineUtils.setPipeline(d,s),h.pipeline=s;let R=h.bindingGroups;for(let b=0,A=o.length;b<A;b++){let O=o[b],P=this.get(O);R[b]!==O.id&&(d.setBindGroup(b,P.group),R[b]=O.id)}if(T===!0&&h.index!==y){let b=this.get(y).buffer,A=y.array instanceof Uint16Array?aK.Uint16:aK.Uint32;d.setIndexBuffer(b,A),h.index=y}for(let b=0,A=r.length;b<A;b++){let O=r[b];if(h.attributes[b]!==O){let P=this.get(O).buffer;d.setVertexBuffer(b,P),h.attributes[b]=O}}if(m.stencil===!0&&I.stencilWrite===!0&&n.currentStencilRef!==I.stencilRef&&(d.setStencilReference(I.stencilRef),n.currentStencilRef=I.stencilRef),p.isBatchedMesh===!0){let b=p._multiDrawStarts,A=p._multiDrawCounts,O=p._multiDrawCount,P=T===!0?y.array.BYTES_PER_ELEMENT:1;I.wireframe&&(P=p.geometry.attributes.position.count>65535?4:2);for(let U=0;U<O;U++)T===!0?d.drawIndexed(A[U],1,b[U]/P,0,U):d.draw(A[U],1,b[U],U),i.update(p,A[U],1)}else if(T===!0){let{vertexCount:b,instanceCount:A,firstVertex:O}=l,P=t.getIndirect();if(P!==null){let U=this.get(P).buffer,Z=t.getIndirectOffset(),ne=Array.isArray(Z)?Z:[Z];for(let K=0;K<ne.length;K++)d.drawIndexedIndirect(U,ne[K])}else d.drawIndexed(b,A,O,0,0);i.update(p,b,A)}else{let{vertexCount:b,instanceCount:A,firstVertex:O}=l,P=t.getIndirect();if(P!==null){let U=this.get(P).buffer,Z=t.getIndirectOffset(),ne=Array.isArray(Z)?Z:[Z];for(let K=0;K<ne.length;K++)d.drawIndirect(U,ne[K])}else d.draw(b,A,O,0);i.update(p,b,A)}}draw(t,i){let{object:n,context:s,pipeline:o}=t,r=this.get(s),l=this.get(o),d=l.pipeline;if(l.error===!0)return;let h=t.getDrawParameters();if(h===null)return;let p=t.getBindings(),I=t.getVertexBuffers();if(t.camera.isArrayCamera&&t.camera.cameras.length>0){let m=this.get(t.camera),y=t.camera.cameras,T=t.getBindingGroup("cameraIndex");if(m.indexesGPU===void 0||m.indexesGPU.length!==y.length){let b=this.get(T),A=[],O=new Uint32Array([0,0,0,0]);for(let P=0,U=y.length;P<U;P++){O[0]=P;let{layoutGPU:Z}=b.layout,ne=this.bindingUtils.createBindGroupIndex(O,Z);A.push(ne)}m.indexesGPU=A}let R=this.renderer.getPixelRatio();for(let b=0,A=y.length;b<A;b++){let O=y[b];if(n.layers.test(O.layers)){let P=O.viewport,U=r.currentPass,Z=r.currentSets;if(r.bundleEncoders){let ne=r.bundleEncoders[b],K=r.bundleSets[b];U=ne,Z=K}if(P&&U.setViewport(Math.floor(P.x*R),Math.floor(P.y*R),Math.floor(P.width*R),Math.floor(P.height*R),s.viewportValue.minDepth,s.viewportValue.maxDepth),T&&m.indexesGPU){let ne=p.indexOf(T);U.setBindGroup(ne,m.indexesGPU[b]),Z.bindingGroups[ne]=T.id}this._draw(t,i,r,d,p,I,h,U,Z)}}}else if(r.currentPass){if(r.occlusionQuerySet!==void 0){let m=r.lastOcclusionObject;m!==n&&(m!==null&&m.occlusionTest===!0&&(r.currentPass.endOcclusionQuery(),r.occlusionQueryIndex++),n.occlusionTest===!0&&(r.currentPass.beginOcclusionQuery(r.occlusionQueryIndex),r.occlusionQueryObjects[r.occlusionQueryIndex]=n),r.lastOcclusionObject=n)}this._draw(t,i,r,d,p,I,h,r.currentPass,r.currentSets)}}needsRenderUpdate(t){let i=this.get(t),{object:n,material:s}=t,o=this.utils,r=o.getSampleCountRenderContext(t.context),l=o.getCurrentColorSpace(t.context),d=o.getCurrentColorFormat(t.context),h=o.getCurrentDepthStencilFormat(t.context),p=o.getPrimitiveTopology(n,s),I=!1;return(i.material!==s||i.materialVersion!==s.version||i.transparent!==s.transparent||i.blending!==s.blending||i.premultipliedAlpha!==s.premultipliedAlpha||i.blendSrc!==s.blendSrc||i.blendDst!==s.blendDst||i.blendEquation!==s.blendEquation||i.blendSrcAlpha!==s.blendSrcAlpha||i.blendDstAlpha!==s.blendDstAlpha||i.blendEquationAlpha!==s.blendEquationAlpha||i.colorWrite!==s.colorWrite||i.depthWrite!==s.depthWrite||i.depthTest!==s.depthTest||i.depthFunc!==s.depthFunc||i.stencilWrite!==s.stencilWrite||i.stencilFunc!==s.stencilFunc||i.stencilFail!==s.stencilFail||i.stencilZFail!==s.stencilZFail||i.stencilZPass!==s.stencilZPass||i.stencilFuncMask!==s.stencilFuncMask||i.stencilWriteMask!==s.stencilWriteMask||i.side!==s.side||i.alphaToCoverage!==s.alphaToCoverage||i.sampleCount!==r||i.colorSpace!==l||i.colorFormat!==d||i.depthStencilFormat!==h||i.primitiveTopology!==p||i.clippingContextCacheKey!==t.clippingContextCacheKey)&&(i.material=s,i.materialVersion=s.version,i.transparent=s.transparent,i.blending=s.blending,i.premultipliedAlpha=s.premultipliedAlpha,i.blendSrc=s.blendSrc,i.blendDst=s.blendDst,i.blendEquation=s.blendEquation,i.blendSrcAlpha=s.blendSrcAlpha,i.blendDstAlpha=s.blendDstAlpha,i.blendEquationAlpha=s.blendEquationAlpha,i.colorWrite=s.colorWrite,i.depthWrite=s.depthWrite,i.depthTest=s.depthTest,i.depthFunc=s.depthFunc,i.stencilWrite=s.stencilWrite,i.stencilFunc=s.stencilFunc,i.stencilFail=s.stencilFail,i.stencilZFail=s.stencilZFail,i.stencilZPass=s.stencilZPass,i.stencilFuncMask=s.stencilFuncMask,i.stencilWriteMask=s.stencilWriteMask,i.side=s.side,i.alphaToCoverage=s.alphaToCoverage,i.sampleCount=r,i.colorSpace=l,i.colorFormat=d,i.depthStencilFormat=h,i.primitiveTopology=p,i.clippingContextCacheKey=t.clippingContextCacheKey,I=!0),I}getRenderCacheKey(t){let{object:i,material:n}=t,s=this.utils,o=t.context,r=i.isMesh&&i.matrixWorld.determinant()<0;return[n.transparent,n.blending,n.premultipliedAlpha,n.blendSrc,n.blendDst,n.blendEquation,n.blendSrcAlpha,n.blendDstAlpha,n.blendEquationAlpha,n.colorWrite,n.depthWrite,n.depthTest,n.depthFunc,n.stencilWrite,n.stencilFunc,n.stencilFail,n.stencilZFail,n.stencilZPass,n.stencilFuncMask,n.stencilWriteMask,n.side,r,s.getSampleCountRenderContext(o),s.getCurrentColorSpace(o),s.getCurrentColorFormat(o),s.getCurrentDepthStencilFormat(o),s.getPrimitiveTopology(i,n),t.getGeometryCacheKey(),t.clippingContextCacheKey].join()}updateSampler(t){return this.textureUtils.updateSampler(t)}createDefaultTexture(t){return this.textureUtils.createDefaultTexture(t)}createTexture(t,i){this.textureUtils.createTexture(t,i)}updateTexture(t,i){this.textureUtils.updateTexture(t,i)}generateMipmaps(t){this.textureUtils.generateMipmaps(t)}destroyTexture(t,i=!1){this.textureUtils.destroyTexture(t,i)}async copyTextureToBuffer(t,i,n,s,o,r){return this.textureUtils.copyTextureToBuffer(t,i,n,s,o,r)}initTimestampQuery(t,i,n){if(!this.trackTimestamp)return;this.timestampQueryPool[t]||(this.timestampQueryPool[t]=new Tue(this.device,t,2048));let s=this.timestampQueryPool[t],o=s.allocateQueriesForContext(i);n.timestampWrites={querySet:s.querySet,beginningOfPassWriteIndex:o,endOfPassWriteIndex:o+1}}createNodeBuilder(t,i){return new hue(t,i)}createProgram(t){let i=this.get(t);i.module={module:this.device.createShaderModule({code:t.code,label:t.stage+(t.name!==""?`_${t.name}`:"")}),entryPoint:"main"}}destroyProgram(t){this.delete(t)}createRenderPipeline(t,i){this.pipelineUtils.createRenderPipeline(t,i)}createComputePipeline(t,i){this.pipelineUtils.createComputePipeline(t,i)}beginBundle(t){let i=this.get(t);i._currentPass=i.currentPass,i._currentSets=i.currentSets,i.currentSets={attributes:{},bindingGroups:[],pipeline:null,index:null},i.currentPass=this.pipelineUtils.createBundleEncoder(t)}finishBundle(t,i){let n=this.get(t),o=n.currentPass.finish();this.get(i).bundleGPU=o,n.currentSets=n._currentSets,n.currentPass=n._currentPass}addBundle(t,i){this.get(t).renderBundles.push(this.get(i).bundleGPU)}createBindings(t,i,n,s){this.bindingUtils.createBindings(t,i,n,s)}updateBindings(t,i,n,s){this.bindingUtils.createBindings(t,i,n,s)}updateBinding(t){this.bindingUtils.updateBinding(t)}deleteBindGroupData(t){this.bindingUtils.deleteBindGroupData(t)}createIndexAttribute(t){let i=GPUBufferUsage.INDEX|GPUBufferUsage.COPY_SRC|GPUBufferUsage.COPY_DST;(t.isStorageBufferAttribute||t.isStorageInstancedBufferAttribute)&&(i|=GPUBufferUsage.STORAGE),this.attributeUtils.createAttribute(t,i)}createAttribute(t){this.attributeUtils.createAttribute(t,GPUBufferUsage.VERTEX|GPUBufferUsage.COPY_SRC|GPUBufferUsage.COPY_DST)}createStorageAttribute(t){this.attributeUtils.createAttribute(t,GPUBufferUsage.STORAGE|GPUBufferUsage.VERTEX|GPUBufferUsage.COPY_SRC|GPUBufferUsage.COPY_DST)}createIndirectStorageAttribute(t){this.attributeUtils.createAttribute(t,GPUBufferUsage.STORAGE|GPUBufferUsage.INDIRECT|GPUBufferUsage.COPY_SRC|GPUBufferUsage.COPY_DST)}updateAttribute(t){this.attributeUtils.updateAttribute(t)}destroyAttribute(t){this.attributeUtils.destroyAttribute(t)}updateSize(){this.delete(this.renderer.getCanvasTarget())}hasFeature(t){return hye[t]!==void 0&&(t=hye[t]),this.device.features.has(t)}copyTextureToTexture(t,i,n=null,s=null,o=0,r=0){let l=0,d=0,h=0,p=0,I=0,m=0,y=t.image.width,T=t.image.height,R=1;n!==null&&(n.isBox3===!0?(p=n.min.x,I=n.min.y,m=n.min.z,y=n.max.x-n.min.x,T=n.max.y-n.min.y,R=n.max.z-n.min.z):(p=n.min.x,I=n.min.y,y=n.max.x-n.min.x,T=n.max.y-n.min.y,R=1)),s!==null&&(l=s.x,d=s.y,h=s.z||0);let b=this.device.createCommandEncoder({label:"copyTextureToTexture_"+t.id+"_"+i.id}),A=this.get(t).texture,O=this.get(i).texture;b.copyTextureToTexture({texture:A,mipLevel:o,origin:{x:p,y:I,z:m}},{texture:O,mipLevel:r,origin:{x:l,y:d,z:h}},[y,T,R]),this.device.queue.submit([b.finish()]),r===0&&i.generateMipmaps&&this.textureUtils.generateMipmaps(i)}copyFramebufferToTexture(t,i,n){let s=this.get(i),o=null;i.renderTarget?t.isDepthTexture?o=this.get(i.depthTexture).texture:o=this.get(i.textures[0]).texture:t.isDepthTexture?o=this.textureUtils.getDepthBuffer(i.depth,i.stencil):o=this.context.getCurrentTexture();let r=this.get(t).texture;if(o.format!==r.format){yi("WebGPUBackend: copyFramebufferToTexture: Source and destination formats do not match.",o.format,r.format);return}let l;if(s.currentPass?(s.currentPass.end(),l=s.encoder):l=this.device.createCommandEncoder({label:"copyFramebufferToTexture_"+t.id}),l.copyTextureToTexture({texture:o,origin:[n.x,n.y,0]},{texture:r},[n.z,n.w]),t.generateMipmaps&&this.textureUtils.generateMipmaps(t,l),s.currentPass){let{descriptor:d}=s;for(let h=0;h<d.colorAttachments.length;h++)d.colorAttachments[h].loadOp=Vo.Load;i.depth&&(d.depthStencilAttachment.depthLoadOp=Vo.Load),i.stencil&&(d.depthStencilAttachment.stencilLoadOp=Vo.Load),s.currentPass=l.beginRenderPass(d),s.currentSets={attributes:{},bindingGroups:[],pipeline:null,index:null},i.viewport&&this.updateViewport(i),i.scissor&&this.updateScissor(i)}else this.device.queue.submit([l.finish()])}hasCompatibility(t){return this._compatibility[t]!==void 0?this._compatibility[t]:super.hasCompatibility(t)}dispose(){if(this.bindingUtils.dispose(),this.textureUtils.dispose(),this.occludedResolveCache){for(let t of this.occludedResolveCache.values())t.destroy();this.occludedResolveCache.clear()}if(this.timestampQueryPool)for(let t of Object.values(this.timestampQueryPool))t!==null&&t.dispose();this.parameters.device===void 0&&this.device!==null&&this.device.destroy()}},wue=class extends Qv{constructor(t,i,n,s,o,r){super(t,i,n,s,o,r),this.iesMap=null}copy(t,i){return super.copy(t,i),this.iesMap=t.iesMap,this}},vue=class extends Qv{constructor(t,i,n,s,o,r){super(t,i,n,s,o,r),this.aspect=null}copy(t,i){return super.copy(t,i),this.aspect=t.aspect,this}},Rue=class extends QZ{constructor(){super(),this.addMaterial(tle,"MeshPhongMaterial"),this.addMaterial(xZ,"MeshStandardMaterial"),this.addMaterial(ule,"MeshPhysicalMaterial"),this.addMaterial(dle,"MeshToonMaterial"),this.addMaterial(Xre,"MeshBasicMaterial"),this.addMaterial(ele,"MeshLambertMaterial"),this.addMaterial(Kre,"MeshNormalMaterial"),this.addMaterial(hle,"MeshMatcapMaterial"),this.addMaterial($re,"LineBasicMaterial"),this.addMaterial(Zre,"LineDashedMaterial"),this.addMaterial(ple,"PointsMaterial"),this.addMaterial(OZ,"SpriteMaterial"),this.addMaterial(mle,"ShadowMaterial"),this.addLight(lae,vC),this.addLight(xae,sw),this.addLight(Bae,RC),this.addLight(tz,Qv),this.addLight(Cae,Jv),this.addLight(Oae,gC),this.addLight(Pae,SC),this.addLight(Lae,wue),this.addLight(Mae,vue),this.addToneMapping(k3e,zP),this.addToneMapping(z3e,WP),this.addToneMapping(W3e,YP),this.addToneMapping(Y3e,jP),this.addToneMapping(j3e,qP),this.addToneMapping(q3e,$P)}},cK=class extends Yae{constructor(t={}){let i;t.forceWebGL?i=lK:(i=gue,t.getFallback=()=>(ci("WebGPURenderer: WebGPU is not available, running under WebGL2 backend."),new lK(t)));let n=new i(t);super(n,t),this.library=new Rue,this.isWebGPURenderer=!0,typeof __THREE_DEVTOOLS__<"u"&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("observe",{detail:this}))}};var qYe=De.BRDF_GGX,$Ye=De.BRDF_Lambert,ZYe=De.BasicPointShadowFilter,KYe=De.BasicShadowFilter,QYe=De.Break,JYe=De.Const,rm=De.Continue,XYe=De.DFGLUT,eje=De.D_GGX,tje=De.Discard,ije=De.EPSILON,nje=De.F_Schlick,vge=De.Fn,sje=De.INFINITY,mr=De.If,zce=De.Loop,oje=De.NodeAccess,rje=De.NodeShaderStage,lje=De.NodeType,aje=De.NodeUpdateType,uje=De.PCFShadowFilter,cje=De.PCFSoftShadowFilter,dje=De.PI,hje=De.PI2,fje=De.TWO_PI,pje=De.HALF_PI,Ije=De.PointShadowFilter,mje=De.Return,yje=De.Schlick_to_F0,Eje=De.ShaderNode,Tje=De.Stack,gje=De.Switch,wje=De.TBNViewMatrix,vje=De.VSMShadowFilter,Rje=De.V_GGX_SmithCorrelated,Sje=De.Var,Aje=De.VarIntent,Lx=De.abs,bje=De.acesFilmicToneMapping,Nje=De.acos,_je=De.acosh,Dje=De.add,Cje=De.addMethodChaining,xje=De.addNodeElement,Oje=De.agxToneMapping,Lje=De.all,Pje=De.alphaT,Mje=De.and,Bje=De.anisotropy,Fje=De.anisotropyB,Uje=De.anisotropyT,Hje=De.any,Gje=De.append,Vje=De.array,kje=De.arrayBuffer,zje=De.asin,Wje=De.asinh,Yje=De.assign,jje=De.atan,qje=De.atanh,Rge=De.atomicAdd,$je=De.atomicAnd,Zje=De.atomicFunc,Kje=De.atomicLoad,Qje=De.atomicMax,Jje=De.atomicMin,Xje=De.atomicOr,eqe=De.atomicStore,tqe=De.atomicSub,iqe=De.atomicXor,nqe=De.attenuationColor,sqe=De.attenuationDistance,oqe=De.attribute,rqe=De.attributeArray,lqe=De.backgroundBlurriness,aqe=De.backgroundIntensity,uqe=De.backgroundRotation,cqe=De.batch,dqe=De.bentNormalView,hqe=De.billboarding,fqe=De.bitAnd,pqe=De.bitNot,Iqe=De.bitOr,mqe=De.bitXor,yqe=De.bitangentGeometry,Eqe=De.bitangentLocal,Tqe=De.bitangentView,gqe=De.bitangentWorld,wqe=De.bitcast,vqe=De.blendBurn,Rqe=De.blendColor,Sqe=De.blendDodge,Aqe=De.blendOverlay,bqe=De.blendScreen,Nqe=De.blur,_qe=De.bool,Dqe=De.buffer,Cqe=De.bufferAttribute,xqe=De.bumpMap,Oqe=De.builtin,Lqe=De.builtinAOContext,Pqe=De.builtinShadowContext,Mqe=De.bvec2,Bqe=De.bvec3,Fqe=De.bvec4,Uqe=De.bypass,Hqe=De.cache,Gqe=De.call,Vqe=De.cameraFar,kqe=De.cameraIndex,zqe=De.cameraNear,Wqe=De.cameraNormalMatrix,Yqe=De.cameraPosition,jqe=De.cameraProjectionMatrix,qqe=De.cameraProjectionMatrixInverse,$qe=De.cameraViewMatrix,Zqe=De.cameraViewport,Kqe=De.cameraWorldMatrix,Qqe=De.cbrt,Jqe=De.cdl,Xqe=De.ceil,e$e=De.checker,t$e=De.cineonToneMapping,i$e=De.clamp,n$e=De.clearcoat,s$e=De.clearcoatNormalView,o$e=De.clearcoatRoughness,r$e=De.clipSpace,l$e=De.code,a$e=De.color,u$e=De.colorSpaceToWorking,c$e=De.colorToDirection,d$e=De.compute,h$e=De.computeKernel,f$e=De.computeSkinning,p$e=De.context,I$e=De.convert,m$e=De.convertColorSpace,y$e=De.convertToTexture,E$e=De.countLeadingZeros,T$e=De.countOneBits,g$e=De.countTrailingZeros,w$e=De.cos,v$e=De.cosh,BK=De.cross,R$e=De.cubeTexture,S$e=De.cubeTextureBase,A$e=De.dFdx,b$e=De.dFdy,N$e=De.dashSize,_$e=De.debug,D$e=De.decrement,C$e=De.decrementBefore,x$e=De.defaultBuildStages,O$e=De.defaultShaderStages,L$e=De.defined,P$e=De.degrees,M$e=De.deltaTime,B$e=De.densityFog,F$e=De.densityFogFactor,U$e=De.depth,H$e=De.depthPass,G$e=De.determinant,V$e=De.difference,k$e=De.diffuseColor,z$e=De.directPointLight,W$e=De.directionToColor,Y$e=De.directionToFaceDirection,j$e=De.dispersion,q$e=De.distance,$$e=De.div,Z$e=De.dot,K$e=De.drawIndex,Q$e=De.dynamicBufferAttribute,J$e=De.element,X$e=De.emissive,eZe=De.equal,tZe=De.equirectUV,iZe=De.exp,nZe=De.exp2,sZe=De.exponentialHeightFogFactor,oZe=De.expression,rZe=De.faceDirection,lZe=De.faceForward,aZe=De.faceforward,Ms=De.float,uZe=De.floatBitsToInt,cZe=De.floatBitsToUint,dZe=De.floor,hZe=De.fog,fZe=De.fract,pZe=De.frameGroup,IZe=De.frameId,mZe=De.frontFacing,yZe=De.fwidth,EZe=De.gain,TZe=De.gapSize,gZe=De.getConstNodeType,wZe=De.getCurrentStack,vZe=De.getDirection,RZe=De.getDistanceAttenuation,SZe=De.getGeometryRoughness,AZe=De.getNormalFromDepth,bZe=De.interleavedGradientNoise,NZe=De.vogelDiskSample,_Ze=De.getParallaxCorrectNormal,DZe=De.getRoughness,CZe=De.getScreenPosition,xZe=De.getShIrradianceAt,OZe=De.getShadowMaterial,LZe=De.getShadowRenderObjectFunction,PZe=De.getTextureIndex,MZe=De.getViewPosition,BZe=De.globalId,FZe=De.glsl,UZe=De.glslFn,HZe=De.grayscale,GZe=De.greaterThan,VZe=De.greaterThanEqual,kZe=De.hash,zZe=De.highpModelNormalViewMatrix,WZe=De.highpModelViewMatrix,YZe=De.hue,jZe=De.increment,qZe=De.incrementBefore,$Ze=De.instance,Sge=De.instanceIndex,y_=De.instancedArray,ZZe=De.instancedBufferAttribute,KZe=De.instancedDynamicBufferAttribute,QZe=De.instancedMesh,Wce=De.int,JZe=De.intBitsToFloat,XZe=De.inverse,eKe=De.inverseSqrt,tKe=De.inversesqrt,iKe=De.invocationLocalIndex,nKe=De.invocationSubgroupIndex,sKe=De.ior,oKe=De.iridescence,rKe=De.iridescenceIOR,lKe=De.iridescenceThickness,aKe=De.ivec2,uKe=De.ivec3,cKe=De.ivec4,dKe=De.js,hKe=De.label,fKe=De.length,pKe=De.lengthSq,IKe=De.lessThan,mKe=De.lessThanEqual,yKe=De.lightPosition,EKe=De.lightProjectionUV,TKe=De.lightShadowMatrix,gKe=De.lightTargetDirection,wKe=De.lightTargetPosition,vKe=De.lightViewPosition,RKe=De.lightingContext,SKe=De.lights,AKe=De.linearDepth,bKe=De.linearToneMapping,NKe=De.localId,_Ke=De.log,DKe=De.log2,CKe=De.logarithmicDepthToViewZ,xKe=De.luminance,OKe=De.mat2,LKe=De.mat3,Age=De.mat4,PKe=De.matcapUV,MKe=De.materialAO,BKe=De.materialAlphaTest,FKe=De.materialAnisotropy,UKe=De.materialAnisotropyVector,HKe=De.materialAttenuationColor,GKe=De.materialAttenuationDistance,VKe=De.materialClearcoat,kKe=De.materialClearcoatNormal,zKe=De.materialClearcoatRoughness,WKe=De.materialColor,YKe=De.materialDispersion,jKe=De.materialEmissive,qKe=De.materialEnvIntensity,$Ke=De.materialEnvRotation,ZKe=De.materialIOR,KKe=De.materialIridescence,QKe=De.materialIridescenceIOR,JKe=De.materialIridescenceThickness,XKe=De.materialLightMap,eQe=De.materialLineDashOffset,tQe=De.materialLineDashSize,iQe=De.materialLineGapSize,nQe=De.materialLineScale,sQe=De.materialLineWidth,oQe=De.materialMetalness,rQe=De.materialNormal,lQe=De.materialOpacity,aQe=De.materialPointSize,uQe=De.materialReference,cQe=De.materialReflectivity,dQe=De.materialRefractionRatio,hQe=De.materialRotation,fQe=De.materialRoughness,pQe=De.materialSheen,IQe=De.materialSheenRoughness,mQe=De.materialShininess,yQe=De.materialSpecular,EQe=De.materialSpecularColor,TQe=De.materialSpecularIntensity,gQe=De.materialSpecularStrength,wQe=De.materialThickness,vQe=De.materialTransmission,sM=De.max,RQe=De.maxMipLevel,SQe=De.mediumpModelViewMatrix,AQe=De.metalness,hz=De.min,E_=De.mix,bQe=De.mixElement,NQe=De.mod,_Qe=De.modInt,DQe=De.modelDirection,CQe=De.modelNormalMatrix,xQe=De.modelPosition,OQe=De.modelRadius,LQe=De.modelScale,PQe=De.modelViewMatrix,MQe=De.modelViewPosition,BQe=De.modelViewProjection,FQe=De.modelWorldMatrix,UQe=De.modelWorldMatrixInverse,HQe=De.morphReference,GQe=De.mrt,VQe=De.mul,kQe=De.mx_aastep,zQe=De.mx_add,WQe=De.mx_atan2,YQe=De.mx_cell_noise_float,jQe=De.mx_contrast,qQe=De.mx_divide,$Qe=De.mx_fractal_noise_float,ZQe=De.mx_fractal_noise_vec2,KQe=De.mx_fractal_noise_vec3,QQe=De.mx_fractal_noise_vec4,JQe=De.mx_frame,XQe=De.mx_heighttonormal,eJe=De.mx_hsvtorgb,tJe=De.mx_ifequal,iJe=De.mx_ifgreater,nJe=De.mx_ifgreatereq,sJe=De.mx_invert,oJe=De.mx_modulo,rJe=De.mx_multiply,lJe=De.mx_noise_float,aJe=De.mx_noise_vec3,uJe=De.mx_noise_vec4,cJe=De.mx_place2d,dJe=De.mx_power,hJe=De.mx_ramp4,fJe=De.mx_ramplr,pJe=De.mx_ramptb,IJe=De.mx_rgbtohsv,mJe=De.mx_rotate2d,yJe=De.mx_rotate3d,EJe=De.mx_safepower,TJe=De.mx_separate,gJe=De.mx_splitlr,wJe=De.mx_splittb,vJe=De.mx_srgb_texture_to_lin_rec709,RJe=De.mx_subtract,SJe=De.mx_timer,AJe=De.mx_transform_uv,bJe=De.mx_unifiednoise2d,NJe=De.mx_unifiednoise3d,_Je=De.mx_worley_noise_float,DJe=De.mx_worley_noise_vec2,CJe=De.mx_worley_noise_vec3,xJe=De.negate,OJe=De.neutralToneMapping,LJe=De.nodeArray,PJe=De.nodeImmutable,MJe=De.nodeObject,BJe=De.nodeObjectIntent,FJe=De.nodeObjects,UJe=De.nodeProxy,HJe=De.nodeProxyIntent,GJe=De.normalFlat,VJe=De.normalGeometry,kJe=De.normalLocal,zJe=De.normalMap,WJe=De.normalView,YJe=De.normalViewGeometry,jJe=De.normalWorld,qJe=De.normalWorldGeometry,Yce=De.normalize,$Je=De.not,ZJe=De.notEqual,KJe=De.numWorkgroups,QJe=De.objectDirection,JJe=De.objectGroup,XJe=De.objectPosition,eXe=De.objectRadius,tXe=De.objectScale,iXe=De.objectViewPosition,nXe=De.objectWorldMatrix,sXe=De.OnBeforeObjectUpdate,oXe=De.OnBeforeMaterialUpdate,rXe=De.OnObjectUpdate,lXe=De.OnMaterialUpdate,aXe=De.oneMinus,uXe=De.or,cXe=De.orthographicDepthToViewZ,dXe=De.oscSawtooth,hXe=De.oscSine,fXe=De.oscSquare,pXe=De.oscTriangle,IXe=De.output,mXe=De.outputStruct,yXe=De.overloadingFn,EXe=De.packHalf2x16,TXe=De.packSnorm2x16,gXe=De.packUnorm2x16,wXe=De.parabola,vXe=De.parallaxDirection,RXe=De.parallaxUV,SXe=De.parameter,AXe=De.pass,bXe=De.passTexture,NXe=De.pcurve,_Xe=De.perspectiveDepthToViewZ,DXe=De.pmremTexture,CXe=De.pointShadow,xXe=De.pointUV,OXe=De.pointWidth,LXe=De.positionGeometry,PXe=De.positionLocal,MXe=De.positionPrevious,BXe=De.positionView,FXe=De.positionViewDirection,UXe=De.positionWorld,HXe=De.positionWorldDirection,GXe=De.posterize,VXe=De.pow,kXe=De.pow2,zXe=De.pow3,WXe=De.pow4,YXe=De.premultiplyAlpha,jXe=De.property,qXe=De.radians,$Xe=De.rand,ZXe=De.range,KXe=De.rangeFog,QXe=De.rangeFogFactor,JXe=De.reciprocal,XXe=De.reference,eet=De.referenceBuffer,tet=De.reflect,iet=De.reflectVector,net=De.reflectView,set=De.reflector,oet=De.refract,ret=De.refractVector,aet=De.refractView,uet=De.reinhardToneMapping,cet=De.remap,det=De.remapClamp,het=De.renderGroup,fet=De.renderOutput,pet=De.rendererReference,Iet=De.replaceDefaultUV,met=De.rotate,yet=De.rotateUV,Eet=De.roughness,Tet=De.round,get=De.rtt,wet=De.sRGBTransferEOTF,vet=De.sRGBTransferOETF,Ret=De.sample,Aet=De.sampler,bet=De.samplerComparison,Net=De.saturate,_et=De.saturation,Det=De.screen,Cet=De.screenCoordinate,xet=De.screenDPR,Oet=De.screenSize,Let=De.screenUV,QS=De.select,Pet=De.setCurrentStack,Met=De.setName,Bet=De.shaderStages,Fet=De.shadow,Uet=De.shadowPositionWorld,Het=De.shapeCircle,Get=De.sharedUniformGroup,Vet=De.sheen,ket=De.sheenRoughness,zet=De.shiftLeft,Wet=De.shiftRight,Yet=De.shininess,jet=De.sign,qet=De.sin,$et=De.sinh,Zet=De.sinc,Ket=De.skinning,Qet=De.smoothstep,Jet=De.smoothstepElement,Xet=De.specularColor,ett=De.specularF90,ttt=De.spherizeUV,itt=De.split,ntt=De.spritesheetUV,stt=De.sqrt,ott=De.stack,rtt=De.step,ltt=De.stepElement,att=De.storage,utt=De.storageBarrier,ctt=De.storageTexture,dtt=De.string,htt=De.struct,ftt=De.sub,ptt=De.subgroupAdd,Itt=De.subgroupAll,mtt=De.subgroupAnd,ytt=De.subgroupAny,Ett=De.subgroupBallot,Ttt=De.subgroupBroadcast,gtt=De.subgroupBroadcastFirst,wtt=De.subBuild,vtt=De.subgroupElect,Rtt=De.subgroupExclusiveAdd,Stt=De.subgroupExclusiveMul,Att=De.subgroupInclusiveAdd,btt=De.subgroupInclusiveMul,Ntt=De.subgroupIndex,_tt=De.subgroupMax,Dtt=De.subgroupMin,Ctt=De.subgroupMul,xtt=De.subgroupOr,Ott=De.subgroupShuffle,Ltt=De.subgroupShuffleDown,Ptt=De.subgroupShuffleUp,Mtt=De.subgroupShuffleXor,Btt=De.subgroupSize,Ftt=De.subgroupXor,Utt=De.tan,Htt=De.tanh,Gtt=De.tangentGeometry,Vtt=De.tangentLocal,ktt=De.tangentView,ztt=De.tangentWorld,Wtt=De.texture,Ytt=De.texture3D,jtt=De.textureBarrier,qtt=De.textureBicubic,$tt=De.textureBicubicLevel,Ztt=De.textureCubeUV,Ktt=De.textureLoad,Qtt=De.textureSize,Jtt=De.textureLevel,Xtt=De.textureStore,eit=De.thickness,tit=De.time,iit=De.toneMapping,nit=De.toneMappingExposure,sit=De.toonOutlinePass,oit=De.transformDirection,rit=De.transformNormal,lit=De.transformNormalToView,ait=De.transformedClearcoatNormalView,uit=De.transformedNormalView,cit=De.transformedNormalWorld,dit=De.transmission,hit=De.transpose,fit=De.triNoise3D,pit=De.triplanarTexture,Iit=De.triplanarTextures,mit=De.trunc,jce=De.uint,yit=De.uintBitsToFloat,Eit=De.uniform,Tit=De.uniformArray,git=De.uniformCubeTexture,wit=De.uniformGroup,vit=De.uniformFlow,Rit=De.uniformTexture,Sit=De.unpackHalf2x16,Ait=De.unpackSnorm2x16,bit=De.unpackUnorm2x16,Nit=De.unpremultiplyAlpha,_it=De.userData,Dit=De.uv,Cit=De.uvec2,xit=De.uvec3,Oit=De.uvec4,Lit=De.varying,Pit=De.varyingProperty,Mit=De.vec2,w0=De.vec3,FK=De.vec4,Bit=De.vectorComponents,Fit=De.velocity,Uit=De.vertexColor,Hit=De.vertexIndex,Git=De.vertexStage,Vit=De.vibrance,kit=De.viewZToLogarithmicDepth,zit=De.viewZToOrthographicDepth,Wit=De.viewZToPerspectiveDepth,Yit=De.viewZToReversedOrthographicDepth,jit=De.viewZToReversedPerspectiveDepth,qit=De.viewport,$it=De.viewportCoordinate,Zit=De.viewportDepthTexture,Kit=De.viewportLinearDepth,Qit=De.viewportMipTexture,Jit=De.viewportOpaqueMipTexture,Xit=De.viewportResolution,ent=De.viewportSafeUV,tnt=De.viewportSharedTexture,int=De.viewportSize,nnt=De.viewportTexture,snt=De.viewportUV,ont=De.wgsl,rnt=De.wgslFn,lnt=De.workgroupArray,ant=De.workgroupBarrier,unt=De.workgroupId,cnt=De.workingToColorSpace,dnt=De.xor;var Pa={LEFT:1,RIGHT:2,MIDDLE:4},fi=Object.freeze({NONE:0,ROTATE:1,TRUCK:2,SCREEN_PAN:4,OFFSET:8,DOLLY:16,ZOOM:32,TOUCH_ROTATE:64,TOUCH_TRUCK:128,TOUCH_SCREEN_PAN:256,TOUCH_OFFSET:512,TOUCH_DOLLY:1024,TOUCH_ZOOM:2048,TOUCH_DOLLY_TRUCK:4096,TOUCH_DOLLY_SCREEN_PAN:8192,TOUCH_DOLLY_OFFSET:16384,TOUCH_DOLLY_ROTATE:32768,TOUCH_ZOOM_TRUCK:65536,TOUCH_ZOOM_OFFSET:131072,TOUCH_ZOOM_SCREEN_PAN:262144,TOUCH_ZOOM_ROTATE:524288}),oM={NONE:0,IN:1,OUT:-1};function Px(e){return e.isPerspectiveCamera}function g_(e){return e.isOrthographicCamera}var T_=Math.PI*2,bge=Math.PI/2,Pge=1e-5,fz=Math.PI/180;function k3(e,t,i){return Math.max(t,Math.min(i,e))}function br(e,t=Pge){return Math.abs(e)<t}function tr(e,t,i=Pge){return br(e-t,i)}function Nge(e,t){return Math.round(e/t)*t}function pz(e){return isFinite(e)?e:e<0?-Number.MAX_VALUE:Number.MAX_VALUE}function Iz(e){return Math.abs(e)<Number.MAX_VALUE?e:e*(1/0)}function UK(e,t,i,n,s=1/0,o){n=Math.max(1e-4,n);let r=2/n,l=r*o,d=1/(1+l+.48*l*l+.235*l*l*l),h=e-t,p=t,I=s*n;h=k3(h,-I,I),t=e-h;let m=(i.value+r*h)*o;i.value=(i.value-r*m)*d;let y=t+(h+m)*d;return p-e>0==y>p&&(y=p,i.value=(y-p)/o),y}function _ge(e,t,i,n,s=1/0,o,r){n=Math.max(1e-4,n);let l=2/n,d=l*o,h=1/(1+d+.48*d*d+.235*d*d*d),p=t.x,I=t.y,m=t.z,y=e.x-p,T=e.y-I,R=e.z-m,b=p,A=I,O=m,P=s*n,U=P*P,Z=y*y+T*T+R*R;if(Z>U){let Ce=Math.sqrt(Z);y=y/Ce*P,T=T/Ce*P,R=R/Ce*P}p=e.x-y,I=e.y-T,m=e.z-R;let ne=(i.x+l*y)*o,K=(i.y+l*T)*o,oe=(i.z+l*R)*o;i.x=(i.x-l*ne)*h,i.y=(i.y-l*K)*h,i.z=(i.z-l*oe)*h,r.x=p+(y+ne)*h,r.y=I+(T+K)*h,r.z=m+(R+oe)*h;let se=b-e.x,he=A-e.y,Re=O-e.z,ee=r.x-b,Ae=r.y-A,Ee=r.z-O;return se*ee+he*Ae+Re*Ee>0&&(r.x=b,r.y=A,r.z=O,i.x=(r.x-b)/o,i.y=(r.y-A)/o,i.z=(r.z-O)/o),r}function qce(e,t){t.set(0,0),e.forEach(i=>{t.x+=i.clientX,t.y+=i.clientY}),t.x/=e.length,t.y/=e.length}function $ce(e,t){return g_(e)?(console.warn(`${t} is not supported in OrthographicCamera`),!0):!1}var Xce=class{_listeners={};addEventListener(t,i){let n=this._listeners;n[t]===void 0&&(n[t]=[]),n[t].indexOf(i)===-1&&n[t].push(i)}hasEventListener(t,i){let n=this._listeners;return n[t]!==void 0&&n[t].indexOf(i)!==-1}removeEventListener(t,i){let s=this._listeners[t];if(s!==void 0){let o=s.indexOf(i);o!==-1&&s.splice(o,1)}}removeAllEventListeners(t){if(!t){this._listeners={};return}Array.isArray(this._listeners[t])&&(this._listeners[t].length=0)}dispatchEvent(t){let n=this._listeners[t.type];if(n!==void 0){t.target=this;let s=n.slice(0);for(let o=0,r=s.length;o<r;o++)s[o].call(this,t)}}},GVe="3.1.2",HK=1/8,VVe=/Mac/.test(globalThis?.navigator?.platform),ms,Dge,GK,Zce,lm,Bs,Mo,rM,mz,Z2,K2,Mx,Cge,xge,F1,lM,aM,Oge,Kce,Lge,Qce,Jce,VK,$f=class e extends Xce{static install(t){ms=t.THREE,Dge=Object.freeze(new ms.Vector3(0,0,0)),GK=Object.freeze(new ms.Vector3(0,1,0)),Zce=Object.freeze(new ms.Vector3(0,0,1)),lm=new ms.Vector2,Bs=new ms.Vector3,Mo=new ms.Vector3,rM=new ms.Vector3,mz=new ms.Vector3,Z2=new ms.Vector3,K2=new ms.Vector3,Mx=new ms.Vector3,Cge=new ms.Vector3,xge=new ms.Vector3,F1=new ms.Spherical,lM=new ms.Spherical,aM=new ms.Box3,Oge=new ms.Box3,Kce=new ms.Sphere,Lge=new ms.Quaternion,Qce=new ms.Quaternion,Jce=new ms.Matrix4,VK=new ms.Raycaster}static get ACTION(){return fi}minPolarAngle=0;maxPolarAngle=Math.PI;minAzimuthAngle=-1/0;maxAzimuthAngle=1/0;minDistance=Number.EPSILON;maxDistance=1/0;infinityDolly=!1;minZoom=.01;maxZoom=1/0;smoothTime=.25;draggingSmoothTime=.125;maxSpeed=1/0;azimuthRotateSpeed=1;polarRotateSpeed=1;dollySpeed=1;dollyDragInverted=!1;truckSpeed=2;dollyToCursor=!1;dragToOffset=!1;boundaryFriction=0;restThreshold=.01;colliderMeshes=[];mouseButtons;touches;cancel=()=>{};lockPointer;unlockPointer;_enabled=!0;_camera;_yAxisUpSpace;_yAxisUpSpaceInverse;_state=fi.NONE;_domElement;_viewport=null;_target;_targetEnd;_focalOffset;_focalOffsetEnd;_spherical;_sphericalEnd;_lastDistance;_zoom;_zoomEnd;_lastZoom;_cameraUp0;_target0;_position0;_zoom0;_focalOffset0;_dollyControlCoord;_changedDolly=0;_changedZoom=0;_nearPlaneCorners;_hasRested=!0;_boundary;_boundaryEnclosesCamera=!1;_needsUpdate=!0;_updatedLastTime=!1;_elementRect=new DOMRect;_isDragging=!1;_dragNeedsUpdate=!0;_activePointers=[];_lockedPointer=null;_interactiveArea=new DOMRect(0,0,1,1);_isUserControllingRotate=!1;_isUserControllingDolly=!1;_isUserControllingTruck=!1;_isUserControllingOffset=!1;_isUserControllingZoom=!1;_lastDollyDirection=oM.NONE;_thetaVelocity={value:0};_phiVelocity={value:0};_radiusVelocity={value:0};_targetVelocity=new ms.Vector3;_focalOffsetVelocity=new ms.Vector3;_zoomVelocity={value:0};set verticalDragToForward(t){console.warn("camera-controls: `verticalDragToForward` was removed. Use `mouseButtons.left = CameraControls.ACTION.SCREEN_PAN` instead.")}constructor(t,i){super(),typeof ms>"u"&&console.error("camera-controls: `THREE` is undefined. You must first run `CameraControls.install( { THREE: THREE } )`. Check the docs for further information."),this._camera=t,this._yAxisUpSpace=new ms.Quaternion().setFromUnitVectors(this._camera.up,GK),this._yAxisUpSpaceInverse=this._yAxisUpSpace.clone().invert(),this._state=fi.NONE,this._target=new ms.Vector3,this._targetEnd=this._target.clone(),this._focalOffset=new ms.Vector3,this._focalOffsetEnd=this._focalOffset.clone(),this._spherical=new ms.Spherical().setFromVector3(Bs.copy(this._camera.position).applyQuaternion(this._yAxisUpSpace)),this._sphericalEnd=this._spherical.clone(),this._lastDistance=this._spherical.radius,this._zoom=this._camera.zoom,this._zoomEnd=this._zoom,this._lastZoom=this._zoom,this._nearPlaneCorners=[new ms.Vector3,new ms.Vector3,new ms.Vector3,new ms.Vector3],this._updateNearPlaneCorners(),this._boundary=new ms.Box3(new ms.Vector3(-1/0,-1/0,-1/0),new ms.Vector3(1/0,1/0,1/0)),this._cameraUp0=this._camera.up.clone(),this._target0=this._target.clone(),this._position0=this._camera.position.clone(),this._zoom0=this._zoom,this._focalOffset0=this._focalOffset.clone(),this._dollyControlCoord=new ms.Vector2,this.mouseButtons={left:fi.ROTATE,middle:fi.DOLLY,right:fi.TRUCK,wheel:Px(this._camera)?fi.DOLLY:g_(this._camera)?fi.ZOOM:fi.NONE},this.touches={one:fi.TOUCH_ROTATE,two:Px(this._camera)?fi.TOUCH_DOLLY_TRUCK:g_(this._camera)?fi.TOUCH_ZOOM_TRUCK:fi.NONE,three:fi.TOUCH_TRUCK};let n=new ms.Vector2,s=new ms.Vector2,o=new ms.Vector2,r=A=>{if(!this._enabled||!this._domElement)return;if(this._interactiveArea.left!==0||this._interactiveArea.top!==0||this._interactiveArea.width!==1||this._interactiveArea.height!==1){let U=this._domElement.getBoundingClientRect(),Z=A.clientX/U.width,ne=A.clientY/U.height;if(Z<this._interactiveArea.left||Z>this._interactiveArea.right||ne<this._interactiveArea.top||ne>this._interactiveArea.bottom)return}let O=A.pointerType!=="mouse"?null:(A.buttons&Pa.LEFT)===Pa.LEFT?Pa.LEFT:(A.buttons&Pa.MIDDLE)===Pa.MIDDLE?Pa.MIDDLE:(A.buttons&Pa.RIGHT)===Pa.RIGHT?Pa.RIGHT:null;if(O!==null){let U=this._findPointerByMouseButton(O);U&&this._disposePointer(U)}if((A.buttons&Pa.LEFT)===Pa.LEFT&&this._lockedPointer)return;let P={pointerId:A.pointerId,clientX:A.clientX,clientY:A.clientY,deltaX:0,deltaY:0,mouseButton:O};this._activePointers.push(P),this._domElement.ownerDocument.removeEventListener("pointermove",l,{passive:!1}),this._domElement.ownerDocument.removeEventListener("pointerup",d),this._domElement.ownerDocument.addEventListener("pointermove",l,{passive:!1}),this._domElement.ownerDocument.addEventListener("pointerup",d),this._isDragging=!0,m(A)},l=A=>{A.cancelable&&A.preventDefault();let O=A.pointerId,P=this._lockedPointer||this._findPointerById(O);if(P){if(P.clientX=A.clientX,P.clientY=A.clientY,P.deltaX=A.movementX,P.deltaY=A.movementY,this._state=0,A.pointerType==="touch")switch(this._activePointers.length){case 1:this._state=this.touches.one;break;case 2:this._state=this.touches.two;break;case 3:this._state=this.touches.three;break}else(!this._isDragging&&this._lockedPointer||this._isDragging&&(A.buttons&Pa.LEFT)===Pa.LEFT)&&(this._state=this._state|this.mouseButtons.left),this._isDragging&&(A.buttons&Pa.MIDDLE)===Pa.MIDDLE&&(this._state=this._state|this.mouseButtons.middle),this._isDragging&&(A.buttons&Pa.RIGHT)===Pa.RIGHT&&(this._state=this._state|this.mouseButtons.right);y()}},d=A=>{let O=this._findPointerById(A.pointerId);if(!(O&&O===this._lockedPointer)){if(O&&this._disposePointer(O),A.pointerType==="touch")switch(this._activePointers.length){case 0:this._state=fi.NONE;break;case 1:this._state=this.touches.one;break;case 2:this._state=this.touches.two;break;case 3:this._state=this.touches.three;break}else this._state=fi.NONE;T()}},h=-1,p=A=>{if(!this._domElement||!this._enabled||this.mouseButtons.wheel===fi.NONE)return;if(this._interactiveArea.left!==0||this._interactiveArea.top!==0||this._interactiveArea.width!==1||this._interactiveArea.height!==1){let K=this._domElement.getBoundingClientRect(),oe=A.clientX/K.width,se=A.clientY/K.height;if(oe<this._interactiveArea.left||oe>this._interactiveArea.right||se<this._interactiveArea.top||se>this._interactiveArea.bottom)return}if(A.preventDefault(),this.dollyToCursor||this.mouseButtons.wheel===fi.ROTATE||this.mouseButtons.wheel===fi.TRUCK){let K=performance.now();h-K<1e3&&this._getClientRect(this._elementRect),h=K}let O=VVe?-1:-3,P=A.deltaMode===1&&!A.ctrlKey?A.deltaY/O:A.deltaY/(O*10),U=this.dollyToCursor?(A.clientX-this._elementRect.x)/this._elementRect.width*2-1:0,Z=this.dollyToCursor?(A.clientY-this._elementRect.y)/this._elementRect.height*-2+1:0;switch(A.ctrlKey?fi.ZOOM:this.mouseButtons.wheel){case fi.ROTATE:{this._rotateInternal(A.deltaX,A.deltaY),this._isUserControllingRotate=!0;break}case fi.TRUCK:{this._truckInternal(A.deltaX,A.deltaY,!1,!1),this._isUserControllingTruck=!0;break}case fi.SCREEN_PAN:{this._truckInternal(A.deltaX,A.deltaY,!1,!0),this._isUserControllingTruck=!0;break}case fi.OFFSET:{this._truckInternal(A.deltaX,A.deltaY,!0,!1),this._isUserControllingOffset=!0;break}case fi.DOLLY:{this._dollyInternal(-P,U,Z),this._isUserControllingDolly=!0;break}case fi.ZOOM:{this._zoomInternal(-P,U,Z),this._isUserControllingZoom=!0;break}}this.dispatchEvent({type:"control"})},I=A=>{if(!(!this._domElement||!this._enabled)){if(this.mouseButtons.right===e.ACTION.NONE){let O=A instanceof PointerEvent?A.pointerId:0,P=this._findPointerById(O);P&&this._disposePointer(P),this._domElement.ownerDocument.removeEventListener("pointermove",l,{passive:!1}),this._domElement.ownerDocument.removeEventListener("pointerup",d);return}A.preventDefault()}},m=A=>{if(!this._enabled)return;if(qce(this._activePointers,lm),this._getClientRect(this._elementRect),n.copy(lm),s.copy(lm),this._activePointers.length>=2){let P=lm.x-this._activePointers[1].clientX,U=lm.y-this._activePointers[1].clientY,Z=Math.sqrt(P*P+U*U);o.set(0,Z);let ne=(this._activePointers[0].clientX+this._activePointers[1].clientX)*.5,K=(this._activePointers[0].clientY+this._activePointers[1].clientY)*.5;s.set(ne,K)}if(this._state=0,!A)this._lockedPointer&&(this._state=this._state|this.mouseButtons.left);else if("pointerType"in A&&A.pointerType==="touch")switch(this._activePointers.length){case 1:this._state=this.touches.one;break;case 2:this._state=this.touches.two;break;case 3:this._state=this.touches.three;break}else!this._lockedPointer&&(A.buttons&Pa.LEFT)===Pa.LEFT&&(this._state=this._state|this.mouseButtons.left),(A.buttons&Pa.MIDDLE)===Pa.MIDDLE&&(this._state=this._state|this.mouseButtons.middle),(A.buttons&Pa.RIGHT)===Pa.RIGHT&&(this._state=this._state|this.mouseButtons.right);((this._state&fi.ROTATE)===fi.ROTATE||(this._state&fi.TOUCH_ROTATE)===fi.TOUCH_ROTATE||(this._state&fi.TOUCH_DOLLY_ROTATE)===fi.TOUCH_DOLLY_ROTATE||(this._state&fi.TOUCH_ZOOM_ROTATE)===fi.TOUCH_ZOOM_ROTATE)&&(this._sphericalEnd.theta=this._spherical.theta,this._sphericalEnd.phi=this._spherical.phi,this._thetaVelocity.value=0,this._phiVelocity.value=0),((this._state&fi.TRUCK)===fi.TRUCK||(this._state&fi.SCREEN_PAN)===fi.SCREEN_PAN||(this._state&fi.TOUCH_TRUCK)===fi.TOUCH_TRUCK||(this._state&fi.TOUCH_SCREEN_PAN)===fi.TOUCH_SCREEN_PAN||(this._state&fi.TOUCH_DOLLY_TRUCK)===fi.TOUCH_DOLLY_TRUCK||(this._state&fi.TOUCH_DOLLY_SCREEN_PAN)===fi.TOUCH_DOLLY_SCREEN_PAN||(this._state&fi.TOUCH_ZOOM_TRUCK)===fi.TOUCH_ZOOM_TRUCK||(this._state&fi.TOUCH_ZOOM_SCREEN_PAN)===fi.TOUCH_DOLLY_SCREEN_PAN)&&(this._targetEnd.copy(this._target),this._targetVelocity.set(0,0,0)),((this._state&fi.DOLLY)===fi.DOLLY||(this._state&fi.TOUCH_DOLLY)===fi.TOUCH_DOLLY||(this._state&fi.TOUCH_DOLLY_TRUCK)===fi.TOUCH_DOLLY_TRUCK||(this._state&fi.TOUCH_DOLLY_SCREEN_PAN)===fi.TOUCH_DOLLY_SCREEN_PAN||(this._state&fi.TOUCH_DOLLY_OFFSET)===fi.TOUCH_DOLLY_OFFSET||(this._state&fi.TOUCH_DOLLY_ROTATE)===fi.TOUCH_DOLLY_ROTATE)&&(this._sphericalEnd.radius=this._spherical.radius,this._radiusVelocity.value=0),((this._state&fi.ZOOM)===fi.ZOOM||(this._state&fi.TOUCH_ZOOM)===fi.TOUCH_ZOOM||(this._state&fi.TOUCH_ZOOM_TRUCK)===fi.TOUCH_ZOOM_TRUCK||(this._state&fi.TOUCH_ZOOM_SCREEN_PAN)===fi.TOUCH_ZOOM_SCREEN_PAN||(this._state&fi.TOUCH_ZOOM_OFFSET)===fi.TOUCH_ZOOM_OFFSET||(this._state&fi.TOUCH_ZOOM_ROTATE)===fi.TOUCH_ZOOM_ROTATE)&&(this._zoomEnd=this._zoom,this._zoomVelocity.value=0),((this._state&fi.OFFSET)===fi.OFFSET||(this._state&fi.TOUCH_OFFSET)===fi.TOUCH_OFFSET||(this._state&fi.TOUCH_DOLLY_OFFSET)===fi.TOUCH_DOLLY_OFFSET||(this._state&fi.TOUCH_ZOOM_OFFSET)===fi.TOUCH_ZOOM_OFFSET)&&(this._focalOffsetEnd.copy(this._focalOffset),this._focalOffsetVelocity.set(0,0,0)),this.dispatchEvent({type:"controlstart"})},y=()=>{if(!this._enabled||!this._dragNeedsUpdate)return;this._dragNeedsUpdate=!1,qce(this._activePointers,lm);let O=this._domElement&&this._domElement.ownerDocument.pointerLockElement===this._domElement?this._lockedPointer||this._activePointers[0]:null,P=O?-O.deltaX:s.x-lm.x,U=O?-O.deltaY:s.y-lm.y;if(s.copy(lm),((this._state&fi.ROTATE)===fi.ROTATE||(this._state&fi.TOUCH_ROTATE)===fi.TOUCH_ROTATE||(this._state&fi.TOUCH_DOLLY_ROTATE)===fi.TOUCH_DOLLY_ROTATE||(this._state&fi.TOUCH_ZOOM_ROTATE)===fi.TOUCH_ZOOM_ROTATE)&&(this._rotateInternal(P,U),this._isUserControllingRotate=!0),(this._state&fi.DOLLY)===fi.DOLLY||(this._state&fi.ZOOM)===fi.ZOOM){let Z=this.dollyToCursor?(n.x-this._elementRect.x)/this._elementRect.width*2-1:0,ne=this.dollyToCursor?(n.y-this._elementRect.y)/this._elementRect.height*-2+1:0,K=this.dollyDragInverted?-1:1;(this._state&fi.DOLLY)===fi.DOLLY?(this._dollyInternal(K*U*HK,Z,ne),this._isUserControllingDolly=!0):(this._zoomInternal(K*U*HK,Z,ne),this._isUserControllingZoom=!0)}if((this._state&fi.TOUCH_DOLLY)===fi.TOUCH_DOLLY||(this._state&fi.TOUCH_ZOOM)===fi.TOUCH_ZOOM||(this._state&fi.TOUCH_DOLLY_TRUCK)===fi.TOUCH_DOLLY_TRUCK||(this._state&fi.TOUCH_ZOOM_TRUCK)===fi.TOUCH_ZOOM_TRUCK||(this._state&fi.TOUCH_DOLLY_SCREEN_PAN)===fi.TOUCH_DOLLY_SCREEN_PAN||(this._state&fi.TOUCH_ZOOM_SCREEN_PAN)===fi.TOUCH_ZOOM_SCREEN_PAN||(this._state&fi.TOUCH_DOLLY_OFFSET)===fi.TOUCH_DOLLY_OFFSET||(this._state&fi.TOUCH_ZOOM_OFFSET)===fi.TOUCH_ZOOM_OFFSET||(this._state&fi.TOUCH_DOLLY_ROTATE)===fi.TOUCH_DOLLY_ROTATE||(this._state&fi.TOUCH_ZOOM_ROTATE)===fi.TOUCH_ZOOM_ROTATE){let Z=lm.x-this._activePointers[1].clientX,ne=lm.y-this._activePointers[1].clientY,K=Math.sqrt(Z*Z+ne*ne),oe=o.y-K;o.set(0,K);let se=this.dollyToCursor?(s.x-this._elementRect.x)/this._elementRect.width*2-1:0,he=this.dollyToCursor?(s.y-this._elementRect.y)/this._elementRect.height*-2+1:0;(this._state&fi.TOUCH_DOLLY)===fi.TOUCH_DOLLY||(this._state&fi.TOUCH_DOLLY_ROTATE)===fi.TOUCH_DOLLY_ROTATE||(this._state&fi.TOUCH_DOLLY_TRUCK)===fi.TOUCH_DOLLY_TRUCK||(this._state&fi.TOUCH_DOLLY_SCREEN_PAN)===fi.TOUCH_DOLLY_SCREEN_PAN||(this._state&fi.TOUCH_DOLLY_OFFSET)===fi.TOUCH_DOLLY_OFFSET?(this._dollyInternal(oe*HK,se,he),this._isUserControllingDolly=!0):(this._zoomInternal(oe*HK,se,he),this._isUserControllingZoom=!0)}((this._state&fi.TRUCK)===fi.TRUCK||(this._state&fi.TOUCH_TRUCK)===fi.TOUCH_TRUCK||(this._state&fi.TOUCH_DOLLY_TRUCK)===fi.TOUCH_DOLLY_TRUCK||(this._state&fi.TOUCH_ZOOM_TRUCK)===fi.TOUCH_ZOOM_TRUCK)&&(this._truckInternal(P,U,!1,!1),this._isUserControllingTruck=!0),((this._state&fi.SCREEN_PAN)===fi.SCREEN_PAN||(this._state&fi.TOUCH_SCREEN_PAN)===fi.TOUCH_SCREEN_PAN||(this._state&fi.TOUCH_DOLLY_SCREEN_PAN)===fi.TOUCH_DOLLY_SCREEN_PAN||(this._state&fi.TOUCH_ZOOM_SCREEN_PAN)===fi.TOUCH_ZOOM_SCREEN_PAN)&&(this._truckInternal(P,U,!1,!0),this._isUserControllingTruck=!0),((this._state&fi.OFFSET)===fi.OFFSET||(this._state&fi.TOUCH_OFFSET)===fi.TOUCH_OFFSET||(this._state&fi.TOUCH_DOLLY_OFFSET)===fi.TOUCH_DOLLY_OFFSET||(this._state&fi.TOUCH_ZOOM_OFFSET)===fi.TOUCH_ZOOM_OFFSET)&&(this._truckInternal(P,U,!0,!1),this._isUserControllingOffset=!0),this.dispatchEvent({type:"control"})},T=()=>{qce(this._activePointers,lm),s.copy(lm),this._dragNeedsUpdate=!1,(this._activePointers.length===0||this._activePointers.length===1&&this._activePointers[0]===this._lockedPointer)&&(this._isDragging=!1),this._activePointers.length===0&&this._domElement&&(this._domElement.ownerDocument.removeEventListener("pointermove",l,{passive:!1}),this._domElement.ownerDocument.removeEventListener("pointerup",d),this.dispatchEvent({type:"controlend"}))};this.lockPointer=()=>{!this._enabled||!this._domElement||(this.cancel(),this._lockedPointer={pointerId:-1,clientX:0,clientY:0,deltaX:0,deltaY:0,mouseButton:null},this._activePointers.push(this._lockedPointer),this._domElement.ownerDocument.removeEventListener("pointermove",l,{passive:!1}),this._domElement.ownerDocument.removeEventListener("pointerup",d),this._domElement.requestPointerLock(),this._domElement.ownerDocument.addEventListener("pointerlockchange",R),this._domElement.ownerDocument.addEventListener("pointerlockerror",b),this._domElement.ownerDocument.addEventListener("pointermove",l,{passive:!1}),this._domElement.ownerDocument.addEventListener("pointerup",d),m())},this.unlockPointer=()=>{this._lockedPointer!==null&&(this._disposePointer(this._lockedPointer),this._lockedPointer=null),this._domElement?.ownerDocument.exitPointerLock(),this._domElement?.ownerDocument.removeEventListener("pointerlockchange",R),this._domElement?.ownerDocument.removeEventListener("pointerlockerror",b),this.cancel()};let R=()=>{this._domElement&&this._domElement.ownerDocument.pointerLockElement===this._domElement||this.unlockPointer()},b=()=>{this.unlockPointer()};this._addAllEventListeners=A=>{this._domElement=A,this._domElement.style.touchAction="none",this._domElement.style.userSelect="none",this._domElement.style.webkitUserSelect="none",this._domElement.addEventListener("pointerdown",r),this._domElement.addEventListener("pointercancel",d),this._domElement.addEventListener("wheel",p,{passive:!1}),this._domElement.addEventListener("contextmenu",I)},this._removeAllEventListeners=()=>{this._domElement&&(this._domElement.style.touchAction="",this._domElement.style.userSelect="",this._domElement.style.webkitUserSelect="",this._domElement.removeEventListener("pointerdown",r),this._domElement.removeEventListener("pointercancel",d),this._domElement.removeEventListener("wheel",p,{passive:!1}),this._domElement.removeEventListener("contextmenu",I),this._domElement.ownerDocument.removeEventListener("pointermove",l,{passive:!1}),this._domElement.ownerDocument.removeEventListener("pointerup",d),this._domElement.ownerDocument.removeEventListener("pointerlockchange",R),this._domElement.ownerDocument.removeEventListener("pointerlockerror",b))},this.cancel=()=>{this._state!==fi.NONE&&(this._state=fi.NONE,this._activePointers.length=0,T())},i&&this.connect(i),this.update(0)}get camera(){return this._camera}set camera(t){this._camera=t,this.updateCameraUp(),this._camera.updateProjectionMatrix(),this._updateNearPlaneCorners(),this._needsUpdate=!0}get enabled(){return this._enabled}set enabled(t){this._enabled=t,this._domElement&&(t?(this._domElement.style.touchAction="none",this._domElement.style.userSelect="none",this._domElement.style.webkitUserSelect="none"):(this.cancel(),this._domElement.style.touchAction="",this._domElement.style.userSelect="",this._domElement.style.webkitUserSelect=""))}get active(){return!this._hasRested}get currentAction(){return this._state}get distance(){return this._spherical.radius}set distance(t){this._spherical.radius===t&&this._sphericalEnd.radius===t||(this._spherical.radius=t,this._sphericalEnd.radius=t,this._needsUpdate=!0)}get azimuthAngle(){return this._spherical.theta}set azimuthAngle(t){this._spherical.theta===t&&this._sphericalEnd.theta===t||(this._spherical.theta=t,this._sphericalEnd.theta=t,this._needsUpdate=!0)}get polarAngle(){return this._spherical.phi}set polarAngle(t){this._spherical.phi===t&&this._sphericalEnd.phi===t||(this._spherical.phi=t,this._sphericalEnd.phi=t,this._needsUpdate=!0)}get boundaryEnclosesCamera(){return this._boundaryEnclosesCamera}set boundaryEnclosesCamera(t){this._boundaryEnclosesCamera=t,this._needsUpdate=!0}set interactiveArea(t){this._interactiveArea.width=k3(t.width,0,1),this._interactiveArea.height=k3(t.height,0,1),this._interactiveArea.x=k3(t.x,0,1-this._interactiveArea.width),this._interactiveArea.y=k3(t.y,0,1-this._interactiveArea.height)}addEventListener(t,i){super.addEventListener(t,i)}removeEventListener(t,i){super.removeEventListener(t,i)}rotate(t,i,n=!1){return this.rotateTo(this._sphericalEnd.theta+t,this._sphericalEnd.phi+i,n)}rotateAzimuthTo(t,i=!1){return this.rotateTo(t,this._sphericalEnd.phi,i)}rotatePolarTo(t,i=!1){return this.rotateTo(this._sphericalEnd.theta,t,i)}rotateTo(t,i,n=!1){this._isUserControllingRotate=!1;let s=k3(t,this.minAzimuthAngle,this.maxAzimuthAngle),o=k3(i,this.minPolarAngle,this.maxPolarAngle);this._sphericalEnd.theta=s,this._sphericalEnd.phi=o,this._sphericalEnd.makeSafe(),this._needsUpdate=!0,n||(this._spherical.theta=this._sphericalEnd.theta,this._spherical.phi=this._sphericalEnd.phi);let r=!n||tr(this._spherical.theta,this._sphericalEnd.theta,this.restThreshold)&&tr(this._spherical.phi,this._sphericalEnd.phi,this.restThreshold);return this._createOnRestPromise(r)}dolly(t,i=!1){return this.dollyTo(this._sphericalEnd.radius-t,i)}dollyTo(t,i=!1){return this._isUserControllingDolly=!1,this._lastDollyDirection=oM.NONE,this._changedDolly=0,this._dollyToNoClamp(k3(t,this.minDistance,this.maxDistance),i)}_dollyToNoClamp(t,i=!1){let n=this._sphericalEnd.radius;if(this.colliderMeshes.length>=1){let r=this._collisionTest(),l=tr(r,this._spherical.radius);if(!(n>t)&&l)return Promise.resolve();this._sphericalEnd.radius=Math.min(t,r)}else this._sphericalEnd.radius=t;this._needsUpdate=!0,i||(this._spherical.radius=this._sphericalEnd.radius);let o=!i||tr(this._spherical.radius,this._sphericalEnd.radius,this.restThreshold);return this._createOnRestPromise(o)}dollyInFixed(t,i=!1){this._targetEnd.add(this._getCameraDirection(mz).multiplyScalar(t)),i||this._target.copy(this._targetEnd);let n=!i||tr(this._target.x,this._targetEnd.x,this.restThreshold)&&tr(this._target.y,this._targetEnd.y,this.restThreshold)&&tr(this._target.z,this._targetEnd.z,this.restThreshold);return this._createOnRestPromise(n)}zoom(t,i=!1){return this.zoomTo(this._zoomEnd+t,i)}zoomTo(t,i=!1){this._isUserControllingZoom=!1,this._zoomEnd=k3(t,this.minZoom,this.maxZoom),this._needsUpdate=!0,i||(this._zoom=this._zoomEnd);let n=!i||tr(this._zoom,this._zoomEnd,this.restThreshold);return this._changedZoom=0,this._createOnRestPromise(n)}pan(t,i,n=!1){return console.warn("`pan` has been renamed to `truck`"),this.truck(t,i,n)}truck(t,i,n=!1){this._camera.updateMatrix(),Z2.setFromMatrixColumn(this._camera.matrix,0),K2.setFromMatrixColumn(this._camera.matrix,1),Z2.multiplyScalar(t),K2.multiplyScalar(-i);let s=Bs.copy(Z2).add(K2),o=Mo.copy(this._targetEnd).add(s);return this.moveTo(o.x,o.y,o.z,n)}forward(t,i=!1){Bs.setFromMatrixColumn(this._camera.matrix,0),Bs.crossVectors(this._camera.up,Bs),Bs.multiplyScalar(t);let n=Mo.copy(this._targetEnd).add(Bs);return this.moveTo(n.x,n.y,n.z,i)}elevate(t,i=!1){return Bs.copy(this._camera.up).multiplyScalar(t),this.moveTo(this._targetEnd.x+Bs.x,this._targetEnd.y+Bs.y,this._targetEnd.z+Bs.z,i)}moveTo(t,i,n,s=!1){this._isUserControllingTruck=!1;let o=Bs.set(t,i,n).sub(this._targetEnd);this._encloseToBoundary(this._targetEnd,o,this.boundaryFriction),this._needsUpdate=!0,s||this._target.copy(this._targetEnd);let r=!s||tr(this._target.x,this._targetEnd.x,this.restThreshold)&&tr(this._target.y,this._targetEnd.y,this.restThreshold)&&tr(this._target.z,this._targetEnd.z,this.restThreshold);return this._createOnRestPromise(r)}lookInDirectionOf(t,i,n,s=!1){let l=Bs.set(t,i,n).sub(this._targetEnd).normalize().multiplyScalar(-this._sphericalEnd.radius).add(this._targetEnd);return this.setPosition(l.x,l.y,l.z,s)}fitToBox(t,i,{cover:n=!1,paddingLeft:s=0,paddingRight:o=0,paddingBottom:r=0,paddingTop:l=0}={}){let d=[],h=t.isBox3?aM.copy(t):aM.setFromObject(t);h.isEmpty()&&(console.warn("camera-controls: fitTo() cannot be used with an empty box. Aborting"),Promise.resolve());let p=Nge(this._sphericalEnd.theta,bge),I=Nge(this._sphericalEnd.phi,bge);d.push(this.rotateTo(p,I,i));let m=Bs.setFromSpherical(this._sphericalEnd).normalize(),y=Lge.setFromUnitVectors(m,Zce),T=tr(Math.abs(m.y),1);T&&y.multiply(Qce.setFromAxisAngle(GK,p)),y.multiply(this._yAxisUpSpaceInverse);let R=Oge.makeEmpty();Mo.copy(h.min).applyQuaternion(y),R.expandByPoint(Mo),Mo.copy(h.min).setX(h.max.x).applyQuaternion(y),R.expandByPoint(Mo),Mo.copy(h.min).setY(h.max.y).applyQuaternion(y),R.expandByPoint(Mo),Mo.copy(h.max).setZ(h.min.z).applyQuaternion(y),R.expandByPoint(Mo),Mo.copy(h.min).setZ(h.max.z).applyQuaternion(y),R.expandByPoint(Mo),Mo.copy(h.max).setY(h.min.y).applyQuaternion(y),R.expandByPoint(Mo),Mo.copy(h.max).setX(h.min.x).applyQuaternion(y),R.expandByPoint(Mo),Mo.copy(h.max).applyQuaternion(y),R.expandByPoint(Mo),R.min.x-=s,R.min.y-=r,R.max.x+=o,R.max.y+=l,y.setFromUnitVectors(Zce,m),T&&y.premultiply(Qce.invert()),y.premultiply(this._yAxisUpSpace);let b=R.getSize(Bs),A=R.getCenter(Mo).applyQuaternion(y);if(Px(this._camera)){let O=this.getDistanceToFitBox(b.x,b.y,b.z,n);d.push(this.moveTo(A.x,A.y,A.z,i)),d.push(this.dollyTo(O,i)),d.push(this.setFocalOffset(0,0,0,i))}else if(g_(this._camera)){let O=this._camera,P=O.right-O.left,U=O.top-O.bottom,Z=n?Math.max(P/b.x,U/b.y):Math.min(P/b.x,U/b.y);d.push(this.moveTo(A.x,A.y,A.z,i)),d.push(this.zoomTo(Z,i)),d.push(this.setFocalOffset(0,0,0,i))}return Promise.all(d)}fitToSphere(t,i){let n=[],o="isObject3D"in t?e.createBoundingSphere(t,Kce):Kce.copy(t);if(n.push(this.moveTo(o.center.x,o.center.y,o.center.z,i)),Px(this._camera)){let r=this.getDistanceToFitSphere(o.radius);n.push(this.dollyTo(r,i))}else if(g_(this._camera)){let r=this._camera.right-this._camera.left,l=this._camera.top-this._camera.bottom,d=2*o.radius,h=Math.min(r/d,l/d);n.push(this.zoomTo(h,i))}return n.push(this.setFocalOffset(0,0,0,i)),Promise.all(n)}setLookAt(t,i,n,s,o,r,l=!1){this._isUserControllingRotate=!1,this._isUserControllingDolly=!1,this._isUserControllingTruck=!1,this._lastDollyDirection=oM.NONE,this._changedDolly=0;let d=Mo.set(s,o,r),h=Bs.set(t,i,n);this._targetEnd.copy(d),this._sphericalEnd.setFromVector3(h.sub(d).applyQuaternion(this._yAxisUpSpace)),this._needsUpdate=!0,l||(this._target.copy(this._targetEnd),this._spherical.copy(this._sphericalEnd));let p=!l||tr(this._target.x,this._targetEnd.x,this.restThreshold)&&tr(this._target.y,this._targetEnd.y,this.restThreshold)&&tr(this._target.z,this._targetEnd.z,this.restThreshold)&&tr(this._spherical.theta,this._sphericalEnd.theta,this.restThreshold)&&tr(this._spherical.phi,this._sphericalEnd.phi,this.restThreshold)&&tr(this._spherical.radius,this._sphericalEnd.radius,this.restThreshold);return this._createOnRestPromise(p)}lerp(t,i,n,s=!1){this._isUserControllingRotate=!1,this._isUserControllingDolly=!1,this._isUserControllingTruck=!1,this._lastDollyDirection=oM.NONE,this._changedDolly=0;let o=Bs.set(...t.target);if("spherical"in t)F1.set(...t.spherical);else{let I=Mo.set(...t.position);F1.setFromVector3(I.sub(o).applyQuaternion(this._yAxisUpSpace))}let r=rM.set(...i.target);if("spherical"in i)lM.set(...i.spherical);else{let I=Mo.set(...i.position);lM.setFromVector3(I.sub(r).applyQuaternion(this._yAxisUpSpace))}this._targetEnd.copy(o.lerp(r,n));let l=lM.theta-F1.theta,d=lM.phi-F1.phi,h=lM.radius-F1.radius;this._sphericalEnd.set(F1.radius+h*n,F1.phi+d*n,F1.theta+l*n),this._needsUpdate=!0,s||(this._target.copy(this._targetEnd),this._spherical.copy(this._sphericalEnd));let p=!s||tr(this._target.x,this._targetEnd.x,this.restThreshold)&&tr(this._target.y,this._targetEnd.y,this.restThreshold)&&tr(this._target.z,this._targetEnd.z,this.restThreshold)&&tr(this._spherical.theta,this._sphericalEnd.theta,this.restThreshold)&&tr(this._spherical.phi,this._sphericalEnd.phi,this.restThreshold)&&tr(this._spherical.radius,this._sphericalEnd.radius,this.restThreshold);return this._createOnRestPromise(p)}lerpLookAt(t,i,n,s,o,r,l,d,h,p,I,m,y,T=!1){return this.lerp({position:[t,i,n],target:[s,o,r]},{position:[l,d,h],target:[p,I,m]},y,T)}setPosition(t,i,n,s=!1){return this.setLookAt(t,i,n,this._targetEnd.x,this._targetEnd.y,this._targetEnd.z,s)}setTarget(t,i,n,s=!1){let o=this.getPosition(Bs),r=this.setLookAt(o.x,o.y,o.z,t,i,n,s);return this._sphericalEnd.phi=k3(this._sphericalEnd.phi,this.minPolarAngle,this.maxPolarAngle),r}setFocalOffset(t,i,n,s=!1){this._isUserControllingOffset=!1,this._focalOffsetEnd.set(t,i,n),this._needsUpdate=!0,s||this._focalOffset.copy(this._focalOffsetEnd);let o=!s||tr(this._focalOffset.x,this._focalOffsetEnd.x,this.restThreshold)&&tr(this._focalOffset.y,this._focalOffsetEnd.y,this.restThreshold)&&tr(this._focalOffset.z,this._focalOffsetEnd.z,this.restThreshold);return this._createOnRestPromise(o)}setOrbitPoint(t,i,n){this._camera.updateMatrixWorld(),Z2.setFromMatrixColumn(this._camera.matrixWorldInverse,0),K2.setFromMatrixColumn(this._camera.matrixWorldInverse,1),Mx.setFromMatrixColumn(this._camera.matrixWorldInverse,2);let s=Bs.set(t,i,n),o=s.distanceTo(this._camera.position),r=s.sub(this._camera.position);Z2.multiplyScalar(r.x),K2.multiplyScalar(r.y),Mx.multiplyScalar(r.z),Bs.copy(Z2).add(K2).add(Mx),Bs.z=Bs.z+o,this.dollyTo(o,!1),this.setFocalOffset(-Bs.x,Bs.y,-Bs.z,!1),this.moveTo(t,i,n,!1)}setBoundary(t){if(!t){this._boundary.min.set(-1/0,-1/0,-1/0),this._boundary.max.set(1/0,1/0,1/0),this._needsUpdate=!0;return}this._boundary.copy(t),this._boundary.clampPoint(this._targetEnd,this._targetEnd),this._needsUpdate=!0}setViewport(t,i,n,s){if(t===null){this._viewport=null;return}this._viewport=this._viewport||new ms.Vector4,typeof t=="number"?this._viewport.set(t,i,n,s):this._viewport.copy(t)}getDistanceToFitBox(t,i,n,s=!1){if($ce(this._camera,"getDistanceToFitBox"))return this._spherical.radius;let o=t/i,r=this._camera.getEffectiveFOV()*fz,l=this._camera.aspect;return((s?o>l:o<l)?i:t/l)*.5/Math.tan(r*.5)+n*.5}getDistanceToFitSphere(t){if($ce(this._camera,"getDistanceToFitSphere"))return this._spherical.radius;let i=this._camera.getEffectiveFOV()*fz,n=Math.atan(Math.tan(i*.5)*this._camera.aspect)*2,s=1<this._camera.aspect?i:n;return t/Math.sin(s*.5)}getTarget(t,i=!0){return(t&&t.isVector3?t:new ms.Vector3).copy(i?this._targetEnd:this._target)}getPosition(t,i=!0){return(t&&t.isVector3?t:new ms.Vector3).setFromSpherical(i?this._sphericalEnd:this._spherical).applyQuaternion(this._yAxisUpSpaceInverse).add(i?this._targetEnd:this._target)}getSpherical(t,i=!0){return(t||new ms.Spherical).copy(i?this._sphericalEnd:this._spherical)}getFocalOffset(t,i=!0){return(t&&t.isVector3?t:new ms.Vector3).copy(i?this._focalOffsetEnd:this._focalOffset)}normalizeRotations(){return this._sphericalEnd.theta=(this._sphericalEnd.theta%T_+T_)%T_,this._sphericalEnd.theta>Math.PI&&(this._sphericalEnd.theta-=T_),this._spherical.theta+=T_*Math.round((this._sphericalEnd.theta-this._spherical.theta)/T_),this}stop(){this._focalOffset.copy(this._focalOffsetEnd),this._target.copy(this._targetEnd),this._spherical.copy(this._sphericalEnd),this._zoom=this._zoomEnd}reset(t=!1){if(!tr(this._camera.up.x,this._cameraUp0.x)||!tr(this._camera.up.y,this._cameraUp0.y)||!tr(this._camera.up.z,this._cameraUp0.z)){this._camera.up.copy(this._cameraUp0);let n=this.getPosition(Bs);this.updateCameraUp(),this.setPosition(n.x,n.y,n.z)}let i=[this.setLookAt(this._position0.x,this._position0.y,this._position0.z,this._target0.x,this._target0.y,this._target0.z,t),this.setFocalOffset(this._focalOffset0.x,this._focalOffset0.y,this._focalOffset0.z,t),this.zoomTo(this._zoom0,t)];return Promise.all(i)}saveState(){this._cameraUp0.copy(this._camera.up),this.getTarget(this._target0),this.getPosition(this._position0),this._zoom0=this._zoom,this._focalOffset0.copy(this._focalOffset)}updateCameraUp(){this._yAxisUpSpace.setFromUnitVectors(this._camera.up,GK),this._yAxisUpSpaceInverse.copy(this._yAxisUpSpace).invert()}applyCameraUp(){let t=Bs.subVectors(this._target,this._camera.position).normalize(),i=Mo.crossVectors(t,this._camera.up);this._camera.up.crossVectors(i,t).normalize(),this._camera.updateMatrixWorld();let n=this.getPosition(Bs);this.updateCameraUp(),this.setPosition(n.x,n.y,n.z)}update(t){let i=this._sphericalEnd.theta-this._spherical.theta,n=this._sphericalEnd.phi-this._spherical.phi,s=this._sphericalEnd.radius-this._spherical.radius,o=Cge.subVectors(this._targetEnd,this._target),r=xge.subVectors(this._focalOffsetEnd,this._focalOffset),l=this._zoomEnd-this._zoom;if(br(i))this._thetaVelocity.value=0,this._spherical.theta=this._sphericalEnd.theta;else{let I=this._isUserControllingRotate?this.draggingSmoothTime:this.smoothTime;this._spherical.theta=UK(this._spherical.theta,this._sphericalEnd.theta,this._thetaVelocity,I,1/0,t),this._needsUpdate=!0}if(br(n))this._phiVelocity.value=0,this._spherical.phi=this._sphericalEnd.phi;else{let I=this._isUserControllingRotate?this.draggingSmoothTime:this.smoothTime;this._spherical.phi=UK(this._spherical.phi,this._sphericalEnd.phi,this._phiVelocity,I,1/0,t),this._needsUpdate=!0}if(br(s))this._radiusVelocity.value=0,this._spherical.radius=this._sphericalEnd.radius;else{let I=this._isUserControllingDolly?this.draggingSmoothTime:this.smoothTime;this._spherical.radius=UK(this._spherical.radius,this._sphericalEnd.radius,this._radiusVelocity,I,this.maxSpeed,t),this._needsUpdate=!0}if(br(o.x)&&br(o.y)&&br(o.z))this._targetVelocity.set(0,0,0),this._target.copy(this._targetEnd);else{let I=this._isUserControllingTruck?this.draggingSmoothTime:this.smoothTime;_ge(this._target,this._targetEnd,this._targetVelocity,I,this.maxSpeed,t,this._target),this._needsUpdate=!0}if(br(r.x)&&br(r.y)&&br(r.z))this._focalOffsetVelocity.set(0,0,0),this._focalOffset.copy(this._focalOffsetEnd);else{let I=this._isUserControllingOffset?this.draggingSmoothTime:this.smoothTime;_ge(this._focalOffset,this._focalOffsetEnd,this._focalOffsetVelocity,I,this.maxSpeed,t,this._focalOffset),this._needsUpdate=!0}if(br(l))this._zoomVelocity.value=0,this._zoom=this._zoomEnd;else{let I=this._isUserControllingZoom?this.draggingSmoothTime:this.smoothTime;this._zoom=UK(this._zoom,this._zoomEnd,this._zoomVelocity,I,1/0,t)}if(this.dollyToCursor){if(Px(this._camera)&&this._changedDolly!==0){let I=this._spherical.radius-this._lastDistance,m=this._camera,y=this._getCameraDirection(mz),T=Bs.copy(y).cross(m.up).normalize();T.lengthSq()===0&&(T.x=1);let R=Mo.crossVectors(T,y),b=this._sphericalEnd.radius*Math.tan(m.getEffectiveFOV()*fz*.5),O=(this._sphericalEnd.radius-I-this._sphericalEnd.radius)/this._sphericalEnd.radius,P=rM.copy(this._targetEnd).add(T.multiplyScalar(this._dollyControlCoord.x*b*m.aspect)).add(R.multiplyScalar(this._dollyControlCoord.y*b)),U=Bs.copy(this._targetEnd).lerp(P,O),Z=this._lastDollyDirection===oM.IN&&this._spherical.radius<=this.minDistance,ne=this._lastDollyDirection===oM.OUT&&this.maxDistance<=this._spherical.radius;if(this.infinityDolly&&(Z||ne)){this._sphericalEnd.radius-=I,this._spherical.radius-=I;let oe=Mo.copy(y).multiplyScalar(-I);U.add(oe)}this._boundary.clampPoint(U,U);let K=Mo.subVectors(U,this._targetEnd);this._targetEnd.copy(U),this._target.add(K),this._changedDolly-=I,br(this._changedDolly)&&(this._changedDolly=0)}else if(g_(this._camera)&&this._changedZoom!==0){let I=this._zoom-this._lastZoom,m=this._camera,y=Bs.set(this._dollyControlCoord.x,this._dollyControlCoord.y,(m.near+m.far)/(m.near-m.far)).unproject(m),T=Mo.set(0,0,-1).applyQuaternion(m.quaternion),R=rM.copy(y).add(T.multiplyScalar(-y.dot(m.up))),A=-(this._zoom-I-this._zoom)/this._zoom,O=this._getCameraDirection(mz),P=this._targetEnd.dot(O),U=Bs.copy(this._targetEnd).lerp(R,A),Z=U.dot(O),ne=O.multiplyScalar(Z-P);U.sub(ne),this._boundary.clampPoint(U,U);let K=Mo.subVectors(U,this._targetEnd);this._targetEnd.copy(U),this._target.add(K),this._changedZoom-=I,br(this._changedZoom)&&(this._changedZoom=0)}}this._camera.zoom!==this._zoom&&(this._camera.zoom=this._zoom,this._camera.updateProjectionMatrix(),this._updateNearPlaneCorners(),this._needsUpdate=!0),this._dragNeedsUpdate=!0;let d=this._collisionTest();this._spherical.radius=Math.min(this._spherical.radius,d),this._spherical.makeSafe(),this._camera.position.setFromSpherical(this._spherical).applyQuaternion(this._yAxisUpSpaceInverse).add(this._target),this._camera.lookAt(this._target),(!br(this._focalOffset.x)||!br(this._focalOffset.y)||!br(this._focalOffset.z))&&(this._camera.matrix.compose(this._camera.position,this._camera.quaternion,this._camera.scale),Z2.setFromMatrixColumn(this._camera.matrix,0),K2.setFromMatrixColumn(this._camera.matrix,1),Mx.setFromMatrixColumn(this._camera.matrix,2),Z2.multiplyScalar(this._focalOffset.x),K2.multiplyScalar(-this._focalOffset.y),Mx.multiplyScalar(this._focalOffset.z),Bs.copy(Z2).add(K2).add(Mx),this._camera.position.add(Bs),this._camera.updateMatrixWorld()),this._boundaryEnclosesCamera&&this._encloseToBoundary(this._camera.position.copy(this._target),Bs.setFromSpherical(this._spherical).applyQuaternion(this._yAxisUpSpaceInverse),1);let p=this._needsUpdate;return p&&!this._updatedLastTime?(this._hasRested=!1,this.dispatchEvent({type:"wake"}),this.dispatchEvent({type:"update"})):p?(this.dispatchEvent({type:"update"}),br(i,this.restThreshold)&&br(n,this.restThreshold)&&br(s,this.restThreshold)&&br(o.x,this.restThreshold)&&br(o.y,this.restThreshold)&&br(o.z,this.restThreshold)&&br(r.x,this.restThreshold)&&br(r.y,this.restThreshold)&&br(r.z,this.restThreshold)&&br(l,this.restThreshold)&&!this._hasRested&&(this._hasRested=!0,this.dispatchEvent({type:"rest"}))):!p&&this._updatedLastTime&&this.dispatchEvent({type:"sleep"}),this._lastDistance=this._spherical.radius,this._lastZoom=this._zoom,this._updatedLastTime=p,this._needsUpdate=!1,p}toJSON(){return JSON.stringify({enabled:this._enabled,minDistance:this.minDistance,maxDistance:pz(this.maxDistance),minZoom:this.minZoom,maxZoom:pz(this.maxZoom),minPolarAngle:this.minPolarAngle,maxPolarAngle:pz(this.maxPolarAngle),minAzimuthAngle:pz(this.minAzimuthAngle),maxAzimuthAngle:pz(this.maxAzimuthAngle),smoothTime:this.smoothTime,draggingSmoothTime:this.draggingSmoothTime,dollySpeed:this.dollySpeed,truckSpeed:this.truckSpeed,dollyToCursor:this.dollyToCursor,target:this._targetEnd.toArray(),position:Bs.setFromSpherical(this._sphericalEnd).add(this._targetEnd).toArray(),zoom:this._zoomEnd,focalOffset:this._focalOffsetEnd.toArray(),target0:this._target0.toArray(),position0:this._position0.toArray(),zoom0:this._zoom0,focalOffset0:this._focalOffset0.toArray()})}fromJSON(t,i=!1){let n=JSON.parse(t);this.enabled=n.enabled,this.minDistance=n.minDistance,this.maxDistance=Iz(n.maxDistance),this.minZoom=n.minZoom,this.maxZoom=Iz(n.maxZoom),this.minPolarAngle=n.minPolarAngle,this.maxPolarAngle=Iz(n.maxPolarAngle),this.minAzimuthAngle=Iz(n.minAzimuthAngle),this.maxAzimuthAngle=Iz(n.maxAzimuthAngle),this.smoothTime=n.smoothTime,this.draggingSmoothTime=n.draggingSmoothTime,this.dollySpeed=n.dollySpeed,this.truckSpeed=n.truckSpeed,this.dollyToCursor=n.dollyToCursor,this._target0.fromArray(n.target0),this._position0.fromArray(n.position0),this._zoom0=n.zoom0,this._focalOffset0.fromArray(n.focalOffset0),this.moveTo(n.target[0],n.target[1],n.target[2],i),F1.setFromVector3(Bs.fromArray(n.position).sub(this._targetEnd).applyQuaternion(this._yAxisUpSpace)),this.rotateTo(F1.theta,F1.phi,i),this.dollyTo(F1.radius,i),this.zoomTo(n.zoom,i),this.setFocalOffset(n.focalOffset[0],n.focalOffset[1],n.focalOffset[2],i),this._needsUpdate=!0}connect(t){if(this._domElement){console.warn("camera-controls is already connected.");return}t.setAttribute("data-camera-controls-version",GVe),this._addAllEventListeners(t),this._getClientRect(this._elementRect)}disconnect(){this.cancel(),this._removeAllEventListeners(),this._domElement&&(this._domElement.removeAttribute("data-camera-controls-version"),this._domElement=void 0)}dispose(){this.removeAllEventListeners(),this.disconnect()}_getTargetDirection(t){return t.setFromSpherical(this._spherical).divideScalar(this._spherical.radius).applyQuaternion(this._yAxisUpSpaceInverse)}_getCameraDirection(t){return this._getTargetDirection(t).negate()}_findPointerById(t){return this._activePointers.find(i=>i.pointerId===t)}_findPointerByMouseButton(t){return this._activePointers.find(i=>i.mouseButton===t)}_disposePointer(t){this._activePointers.splice(this._activePointers.indexOf(t),1)}_encloseToBoundary(t,i,n){let s=i.lengthSq();if(s===0)return t;let o=Mo.copy(i).add(t),l=this._boundary.clampPoint(o,rM).sub(o),d=l.lengthSq();if(d===0)return t.add(i);if(d===s)return t;if(n===0)return t.add(i).add(l);{let h=1+n*d/i.dot(l);return t.add(Mo.copy(i).multiplyScalar(h)).add(l.multiplyScalar(1-n))}}_updateNearPlaneCorners(){if(Px(this._camera)){let t=this._camera,i=t.near,n=t.getEffectiveFOV()*fz,s=Math.tan(n*.5)*i,o=s*t.aspect;this._nearPlaneCorners[0].set(-o,-s,0),this._nearPlaneCorners[1].set(o,-s,0),this._nearPlaneCorners[2].set(o,s,0),this._nearPlaneCorners[3].set(-o,s,0)}else if(g_(this._camera)){let t=this._camera,i=1/t.zoom,n=t.left*i,s=t.right*i,o=t.top*i,r=t.bottom*i;this._nearPlaneCorners[0].set(n,o,0),this._nearPlaneCorners[1].set(s,o,0),this._nearPlaneCorners[2].set(s,r,0),this._nearPlaneCorners[3].set(n,r,0)}}_truckInternal=(t,i,n,s)=>{let o,r;if(Px(this._camera)){let l=Bs.copy(this._camera.position).sub(this._target),d=this._camera.getEffectiveFOV()*fz,h=l.length()*Math.tan(d*.5);o=this.truckSpeed*t*h/this._elementRect.height,r=this.truckSpeed*i*h/this._elementRect.height}else if(g_(this._camera)){let l=this._camera;o=this.truckSpeed*t*(l.right-l.left)/l.zoom/this._elementRect.width,r=this.truckSpeed*i*(l.top-l.bottom)/l.zoom/this._elementRect.height}else return;s?(n?this.setFocalOffset(this._focalOffsetEnd.x+o,this._focalOffsetEnd.y,this._focalOffsetEnd.z,!0):this.truck(o,0,!0),this.forward(-r,!0)):n?this.setFocalOffset(this._focalOffsetEnd.x+o,this._focalOffsetEnd.y+r,this._focalOffsetEnd.z,!0):this.truck(o,r,!0)};_rotateInternal=(t,i)=>{let n=T_*this.azimuthRotateSpeed*t/this._elementRect.height,s=T_*this.polarRotateSpeed*i/this._elementRect.height;this.rotate(n,s,!0)};_dollyInternal=(t,i,n)=>{let s=Math.pow(.95,-t*this.dollySpeed),o=this._sphericalEnd.radius,r=this._sphericalEnd.radius*s,l=k3(r,this.minDistance,this.maxDistance),d=l-r;this.infinityDolly&&this.dollyToCursor?this._dollyToNoClamp(r,!0):this.infinityDolly&&!this.dollyToCursor?(this.dollyInFixed(d,!0),this._dollyToNoClamp(l,!0)):this._dollyToNoClamp(l,!0),this.dollyToCursor&&(this._changedDolly+=(this.infinityDolly?r:l)-o,this._dollyControlCoord.set(i,n)),this._lastDollyDirection=Math.sign(-t)};_zoomInternal=(t,i,n)=>{let s=Math.pow(.95,t*this.dollySpeed),o=this._zoom,r=this._zoom*s;this.zoomTo(r,!0),this.dollyToCursor&&(this._changedZoom+=r-o,this._dollyControlCoord.set(i,n))};_collisionTest(){let t=1/0;if(!(this.colliderMeshes.length>=1)||$ce(this._camera,"_collisionTest"))return t;let n=this._getTargetDirection(mz);Jce.lookAt(Dge,n,this._camera.up);for(let s=0;s<4;s++){let o=Mo.copy(this._nearPlaneCorners[s]);o.applyMatrix4(Jce);let r=rM.addVectors(this._target,o);VK.set(r,n),VK.far=this._spherical.radius+1;let l=VK.intersectObjects(this.colliderMeshes);l.length!==0&&l[0].distance<t&&(t=l[0].distance)}return t}_getClientRect(t){if(!this._domElement)return;let i=this._domElement.getBoundingClientRect();return t.x=i.left,t.y=i.top,this._viewport?(t.x+=this._viewport.x,t.y+=i.height-this._viewport.w-this._viewport.y,t.width=this._viewport.z,t.height=this._viewport.w):(t.width=i.width,t.height=i.height),t}_createOnRestPromise(t){return t?Promise.resolve():(this._hasRested=!1,this.dispatchEvent({type:"transitionstart"}),new Promise(i=>{let n=()=>{this.removeEventListener("rest",n),i()};this.addEventListener("rest",n)}))}_addAllEventListeners(t){}_removeAllEventListeners(){}get dampingFactor(){return console.warn(".dampingFactor has been deprecated. use smoothTime (in seconds) instead."),0}set dampingFactor(t){console.warn(".dampingFactor has been deprecated. use smoothTime (in seconds) instead.")}get draggingDampingFactor(){return console.warn(".draggingDampingFactor has been deprecated. use draggingSmoothTime (in seconds) instead."),0}set draggingDampingFactor(t){console.warn(".draggingDampingFactor has been deprecated. use draggingSmoothTime (in seconds) instead.")}static createBoundingSphere(t,i=new ms.Sphere){let n=i,s=n.center;aM.makeEmpty(),t.traverseVisible(r=>{r.isMesh&&aM.expandByObject(r)}),aM.getCenter(s);let o=0;return t.traverseVisible(r=>{if(!r.isMesh)return;let l=r;if(!l.geometry)return;let d=l.geometry.clone();d.applyMatrix4(l.matrixWorld);let p=d.attributes.position;for(let I=0,m=p.count;I<m;I++)Bs.fromBufferAttribute(p,I),o=Math.max(o,s.distanceToSquared(Bs))}),n.radius=Math.sqrt(o),n}};var Bx=new fp,Zf=new ye,w_=new ye,pa=new Gs,Mge={X:new ye(1,0,0),Y:new ye(0,1,0),Z:new ye(0,0,1)},ede={type:"change"},Bge={type:"mouseDown",mode:null},Fge={type:"mouseUp",mode:null},Uge={type:"objectChange"},jK=class extends CP{constructor(t,i=null){super(void 0,i);let n=new ide(this);this._root=n;let s=new nde;this._gizmo=s,n.add(s);let o=new sde;this._plane=o,n.add(o);let r=this;function l(P,U){let Z=U;Object.defineProperty(r,P,{get:function(){return Z!==void 0?Z:U},set:function(ne){Z!==ne&&(Z=ne,o[P]=ne,s[P]=ne,r.dispatchEvent({type:P+"-changed",value:ne}),r.dispatchEvent(ede))}}),r[P]=U,o[P]=U,s[P]=U}l("camera",t),l("object",void 0),l("enabled",!0),l("axis",null),l("mode","translate"),l("translationSnap",null),l("rotationSnap",null),l("scaleSnap",null),l("space","world"),l("size",1),l("dragging",!1),l("showX",!0),l("showY",!0),l("showZ",!0),l("showXY",!0),l("showYZ",!0),l("showXZ",!0),l("minX",-1/0),l("maxX",1/0),l("minY",-1/0),l("maxY",1/0),l("minZ",-1/0),l("maxZ",1/0);let d=new ye,h=new ye,p=new Gs,I=new Gs,m=new ye,y=new Gs,T=new ye,R=new ye,b=new ye,A=0,O=new ye;l("worldPosition",d),l("worldPositionStart",h),l("worldQuaternion",p),l("worldQuaternionStart",I),l("cameraPosition",m),l("cameraQuaternion",y),l("pointStart",T),l("pointEnd",R),l("rotationAxis",b),l("rotationAngle",A),l("eye",O),this._offset=new ye,this._startNorm=new ye,this._endNorm=new ye,this._cameraScale=new ye,this._parentPosition=new ye,this._parentQuaternion=new Gs,this._parentQuaternionInv=new Gs,this._parentScale=new ye,this._worldScaleStart=new ye,this._worldQuaternionInv=new Gs,this._worldScale=new ye,this._positionStart=new ye,this._quaternionStart=new Gs,this._scaleStart=new ye,this._getPointer=kVe.bind(this),this._onPointerDown=WVe.bind(this),this._onPointerHover=zVe.bind(this),this._onPointerMove=YVe.bind(this),this._onPointerUp=jVe.bind(this),i!==null&&this.connect(i)}connect(t){super.connect(t),this.domElement.addEventListener("pointerdown",this._onPointerDown),this.domElement.addEventListener("pointermove",this._onPointerHover),this.domElement.addEventListener("pointerup",this._onPointerUp),this.domElement.style.touchAction="none"}disconnect(){this.domElement.removeEventListener("pointerdown",this._onPointerDown),this.domElement.removeEventListener("pointermove",this._onPointerHover),this.domElement.removeEventListener("pointermove",this._onPointerMove),this.domElement.removeEventListener("pointerup",this._onPointerUp),this.domElement.style.touchAction=""}getHelper(){return this._root}pointerHover(t){if(this.object===void 0||this.dragging===!0)return;t!==null&&Bx.setFromCamera(t,this.camera);let i=tde(this._gizmo.picker[this.mode],Bx);i?this.axis=i.object.name:this.axis=null}pointerDown(t){if(!(this.object===void 0||this.dragging===!0||t!=null&&t.button!==0)&&this.axis!==null){t!==null&&Bx.setFromCamera(t,this.camera);let i=tde(this._plane,Bx,!0);i&&(this.object.updateMatrixWorld(),this.object.parent.updateMatrixWorld(),this._positionStart.copy(this.object.position),this._quaternionStart.copy(this.object.quaternion),this._scaleStart.copy(this.object.scale),this.object.matrixWorld.decompose(this.worldPositionStart,this.worldQuaternionStart,this._worldScaleStart),this.pointStart.copy(i.point).sub(this.worldPositionStart)),this.dragging=!0,Bge.mode=this.mode,this.dispatchEvent(Bge)}}pointerMove(t){let i=this.axis,n=this.mode,s=this.object,o=this.space;if(n==="scale"?o="local":(i==="E"||i==="XYZE"||i==="XYZ")&&(o="world"),s===void 0||i===null||this.dragging===!1||t!==null&&t.button!==-1)return;t!==null&&Bx.setFromCamera(t,this.camera);let r=tde(this._plane,Bx,!0);if(r){if(this.pointEnd.copy(r.point).sub(this.worldPositionStart),n==="translate")this._offset.copy(this.pointEnd).sub(this.pointStart),o==="local"&&i!=="XYZ"&&this._offset.applyQuaternion(this._worldQuaternionInv),i.indexOf("X")===-1&&(this._offset.x=0),i.indexOf("Y")===-1&&(this._offset.y=0),i.indexOf("Z")===-1&&(this._offset.z=0),o==="local"&&i!=="XYZ"?this._offset.applyQuaternion(this._quaternionStart).divide(this._parentScale):this._offset.applyQuaternion(this._parentQuaternionInv).divide(this._parentScale),s.position.copy(this._offset).add(this._positionStart),this.translationSnap&&(o==="local"&&(s.position.applyQuaternion(pa.copy(this._quaternionStart).invert()),i.search("X")!==-1&&(s.position.x=Math.round(s.position.x/this.translationSnap)*this.translationSnap),i.search("Y")!==-1&&(s.position.y=Math.round(s.position.y/this.translationSnap)*this.translationSnap),i.search("Z")!==-1&&(s.position.z=Math.round(s.position.z/this.translationSnap)*this.translationSnap),s.position.applyQuaternion(this._quaternionStart)),o==="world"&&(s.parent&&s.position.add(Zf.setFromMatrixPosition(s.parent.matrixWorld)),i.search("X")!==-1&&(s.position.x=Math.round(s.position.x/this.translationSnap)*this.translationSnap),i.search("Y")!==-1&&(s.position.y=Math.round(s.position.y/this.translationSnap)*this.translationSnap),i.search("Z")!==-1&&(s.position.z=Math.round(s.position.z/this.translationSnap)*this.translationSnap),s.parent&&s.position.sub(Zf.setFromMatrixPosition(s.parent.matrixWorld)))),s.position.x=Math.max(this.minX,Math.min(this.maxX,s.position.x)),s.position.y=Math.max(this.minY,Math.min(this.maxY,s.position.y)),s.position.z=Math.max(this.minZ,Math.min(this.maxZ,s.position.z));else if(n==="scale"){if(i.search("XYZ")!==-1){let l=this.pointEnd.length()/this.pointStart.length();this.pointEnd.dot(this.pointStart)<0&&(l*=-1),w_.set(l,l,l)}else Zf.copy(this.pointStart),w_.copy(this.pointEnd),Zf.applyQuaternion(this._worldQuaternionInv),w_.applyQuaternion(this._worldQuaternionInv),w_.divide(Zf),i.search("X")===-1&&(w_.x=1),i.search("Y")===-1&&(w_.y=1),i.search("Z")===-1&&(w_.z=1);s.scale.copy(this._scaleStart).multiply(w_),this.scaleSnap&&(i.search("X")!==-1&&(s.scale.x=Math.round(s.scale.x/this.scaleSnap)*this.scaleSnap||this.scaleSnap),i.search("Y")!==-1&&(s.scale.y=Math.round(s.scale.y/this.scaleSnap)*this.scaleSnap||this.scaleSnap),i.search("Z")!==-1&&(s.scale.z=Math.round(s.scale.z/this.scaleSnap)*this.scaleSnap||this.scaleSnap))}else if(n==="rotate"){this._offset.copy(this.pointEnd).sub(this.pointStart);let l=20/this.worldPosition.distanceTo(Zf.setFromMatrixPosition(this.camera.matrixWorld)),d=!1;i==="XYZE"?(this.rotationAxis.copy(this._offset).cross(this.eye).normalize(),this.rotationAngle=this._offset.dot(Zf.copy(this.rotationAxis).cross(this.eye))*l):(i==="X"||i==="Y"||i==="Z")&&(this.rotationAxis.copy(Mge[i]),Zf.copy(Mge[i]),o==="local"&&Zf.applyQuaternion(this.worldQuaternion),Zf.cross(this.eye),Zf.length()===0?d=!0:this.rotationAngle=this._offset.dot(Zf.normalize())*l),(i==="E"||d)&&(this.rotationAxis.copy(this.eye),this.rotationAngle=this.pointEnd.angleTo(this.pointStart),this._startNorm.copy(this.pointStart).normalize(),this._endNorm.copy(this.pointEnd).normalize(),this.rotationAngle*=this._endNorm.cross(this._startNorm).dot(this.eye)<0?1:-1),this.rotationSnap&&(this.rotationAngle=Math.round(this.rotationAngle/this.rotationSnap)*this.rotationSnap),o==="local"&&i!=="E"&&i!=="XYZE"?(s.quaternion.copy(this._quaternionStart),s.quaternion.multiply(pa.setFromAxisAngle(this.rotationAxis,this.rotationAngle)).normalize()):(this.rotationAxis.applyQuaternion(this._parentQuaternionInv),s.quaternion.copy(pa.setFromAxisAngle(this.rotationAxis,this.rotationAngle)),s.quaternion.multiply(this._quaternionStart).normalize())}this.dispatchEvent(ede),this.dispatchEvent(Uge)}}pointerUp(t){t!==null&&t.button!==0||(this.dragging&&this.axis!==null&&(Fge.mode=this.mode,this.dispatchEvent(Fge)),this.dragging=!1,this.axis=null)}dispose(){this.disconnect(),this._root.dispose()}attach(t){return this.object=t,this._root.visible=!0,this}detach(){return this.object=void 0,this.axis=null,this._root.visible=!1,this}reset(){this.enabled&&this.dragging&&(this.object.position.copy(this._positionStart),this.object.quaternion.copy(this._quaternionStart),this.object.scale.copy(this._scaleStart),this.dispatchEvent(ede),this.dispatchEvent(Uge),this.pointStart.copy(this.pointEnd))}getRaycaster(){return Bx}getMode(){return this.mode}setMode(t){this.mode=t}setTranslationSnap(t){this.translationSnap=t}setRotationSnap(t){this.rotationSnap=t}setScaleSnap(t){this.scaleSnap=t}setSize(t){this.size=t}setSpace(t){this.space=t}setColors(t,i,n,s){let o=this._gizmo.materialLib;o.xAxis.color.set(t),o.yAxis.color.set(i),o.zAxis.color.set(n),o.active.color.set(s),o.xAxisTransparent.color.set(t),o.yAxisTransparent.color.set(i),o.zAxisTransparent.color.set(n),o.activeTransparent.color.set(s),o.xAxis._color&&o.xAxis._color.set(t),o.yAxis._color&&o.yAxis._color.set(i),o.zAxis._color&&o.zAxis._color.set(n),o.active._color&&o.active._color.set(s),o.xAxisTransparent._color&&o.xAxisTransparent._color.set(t),o.yAxisTransparent._color&&o.yAxisTransparent._color.set(i),o.zAxisTransparent._color&&o.zAxisTransparent._color.set(n),o.activeTransparent._color&&o.activeTransparent._color.set(s)}};function kVe(e){if(this.domElement.ownerDocument.pointerLockElement)return{x:0,y:0,button:e.button};{let t=this.domElement.getBoundingClientRect();return{x:(e.clientX-t.left)/t.width*2-1,y:-(e.clientY-t.top)/t.height*2+1,button:e.button}}}function zVe(e){if(this.enabled)switch(e.pointerType){case"mouse":case"pen":this.pointerHover(this._getPointer(e));break}}function WVe(e){this.enabled&&(document.pointerLockElement||this.domElement.setPointerCapture(e.pointerId),this.domElement.addEventListener("pointermove",this._onPointerMove),this.pointerHover(this._getPointer(e)),this.pointerDown(this._getPointer(e)))}function YVe(e){this.enabled&&this.pointerMove(this._getPointer(e))}function jVe(e){this.enabled&&(this.domElement.releasePointerCapture(e.pointerId),this.domElement.removeEventListener("pointermove",this._onPointerMove),this.pointerUp(this._getPointer(e)))}function tde(e,t,i){let n=t.intersectObject(e,!0);for(let s=0;s<n.length;s++)if(n[s].object.visible||i)return n[s];return!1}var kK=new UI,yr=new ye(0,1,0),Hge=new ye(0,0,0),Gge=new Ai,zK=new Gs,YK=new Gs,Q2=new ye,Vge=new Ai,Tz=new ye(1,0,0),Fx=new ye(0,1,0),gz=new ye(0,0,1),WK=new ye,yz=new ye,Ez=new ye,ide=class extends ps{constructor(t){super(),this.isTransformControlsRoot=!0,this.controls=t,this.visible=!1}updateMatrixWorld(t){let i=this.controls;i.object!==void 0&&(i.object.updateMatrixWorld(),i.object.parent===null?console.error("TransformControls: The attached 3D object must be a part of the scene graph."):i.object.parent.matrixWorld.decompose(i._parentPosition,i._parentQuaternion,i._parentScale),i.object.matrixWorld.decompose(i.worldPosition,i.worldQuaternion,i._worldScale),i._parentQuaternionInv.copy(i._parentQuaternion).invert(),i._worldQuaternionInv.copy(i.worldQuaternion).invert()),i.camera.updateMatrixWorld(),i.camera.matrixWorld.decompose(i.cameraPosition,i.cameraQuaternion,i._cameraScale),i.camera.isOrthographicCamera?i.camera.getWorldDirection(i.eye).negate():i.eye.copy(i.cameraPosition).sub(i.worldPosition).normalize(),super.updateMatrixWorld(t)}dispose(){this.traverse(function(t){t.geometry&&t.geometry.dispose(),t.material&&t.material.dispose()})}},nde=class extends ps{constructor(){super(),this.isTransformControlsGizmo=!0,this.type="TransformControlsGizmo";let t=new Ho({depthTest:!1,depthWrite:!1,fog:!1,toneMapped:!1,transparent:!0}),i=new Qo({depthTest:!1,depthWrite:!1,fog:!1,toneMapped:!1,transparent:!0}),n=t.clone();n.opacity=.15;let s=i.clone();s.opacity=.5;let o=t.clone();o.color.setHex(16711680);let r=t.clone();r.color.setHex(65280);let l=t.clone();l.color.setHex(255);let d=t.clone();d.color.setHex(16711680),d.opacity=.5;let h=t.clone();h.color.setHex(65280),h.opacity=.5;let p=t.clone();p.color.setHex(255),p.opacity=.5;let I=t.clone();I.opacity=.25;let m=t.clone();m.color.setHex(16776960),m.opacity=.25;let y=t.clone();y.color.setHex(16776960);let T=t.clone();T.color.setHex(7895160),this.materialLib={xAxis:o,yAxis:r,zAxis:l,active:y,xAxisTransparent:d,yAxisTransparent:h,zAxisTransparent:p,activeTransparent:m};let R=new Lr(0,.04,.1,12);R.translate(0,.05,0);let b=new pr(.08,.08,.08);b.translate(0,.04,0);let A=new nn;A.setAttribute("position",new ln([0,0,0,1,0,0],3));let O=new Lr(.0075,.0075,.5,3);O.translate(0,.25,0);function P(Ce,Qe){let qe=new CT(Ce,.0075,3,64,Qe*Math.PI*2);return qe.rotateY(Math.PI/2),qe.rotateX(Math.PI/2),qe}function U(){let Ce=new nn;return Ce.setAttribute("position",new ln([0,0,0,1,1,1],3)),Ce}let Z={X:[[new _i(R,o),[.5,0,0],[0,0,-Math.PI/2]],[new _i(R,o),[-.5,0,0],[0,0,Math.PI/2]],[new _i(O,o),[0,0,0],[0,0,-Math.PI/2]]],Y:[[new _i(R,r),[0,.5,0]],[new _i(R,r),[0,-.5,0],[Math.PI,0,0]],[new _i(O,r)]],Z:[[new _i(R,l),[0,0,.5],[Math.PI/2,0,0]],[new _i(R,l),[0,0,-.5],[-Math.PI/2,0,0]],[new _i(O,l),null,[Math.PI/2,0,0]]],XYZ:[[new _i(new DT(.1,0),I),[0,0,0]]],XY:[[new _i(new pr(.15,.15,.01),p),[.15,.15,0]]],YZ:[[new _i(new pr(.15,.15,.01),d),[0,.15,.15],[0,Math.PI/2,0]]],XZ:[[new _i(new pr(.15,.15,.01),h),[.15,0,.15],[-Math.PI/2,0,0]]]},ne={X:[[new _i(new Lr(.2,0,.6,4),n),[.3,0,0],[0,0,-Math.PI/2]],[new _i(new Lr(.2,0,.6,4),n),[-.3,0,0],[0,0,Math.PI/2]]],Y:[[new _i(new Lr(.2,0,.6,4),n),[0,.3,0]],[new _i(new Lr(.2,0,.6,4),n),[0,-.3,0],[0,0,Math.PI]]],Z:[[new _i(new Lr(.2,0,.6,4),n),[0,0,.3],[Math.PI/2,0,0]],[new _i(new Lr(.2,0,.6,4),n),[0,0,-.3],[-Math.PI/2,0,0]]],XYZ:[[new _i(new DT(.2,0),n)]],XY:[[new _i(new pr(.2,.2,.01),n),[.15,.15,0]]],YZ:[[new _i(new pr(.2,.2,.01),n),[0,.15,.15],[0,Math.PI/2,0]]],XZ:[[new _i(new pr(.2,.2,.01),n),[.15,0,.15],[-Math.PI/2,0,0]]]},K={START:[[new _i(new DT(.01,2),s),null,null,null,"helper"]],END:[[new _i(new DT(.01,2),s),null,null,null,"helper"]],DELTA:[[new nr(U(),s),null,null,null,"helper"]],X:[[new nr(A,s),[-1e3,0,0],null,[1e6,1,1],"helper"]],Y:[[new nr(A,s),[0,-1e3,0],[0,0,Math.PI/2],[1e6,1,1],"helper"]],Z:[[new nr(A,s),[0,0,-1e3],[0,-Math.PI/2,0],[1e6,1,1],"helper"]]},oe={XYZE:[[new _i(P(.5,1),T),null,[0,Math.PI/2,0]]],X:[[new _i(P(.5,.5),o)]],Y:[[new _i(P(.5,.5),r),null,[0,0,-Math.PI/2]]],Z:[[new _i(P(.5,.5),l),null,[0,Math.PI/2,0]]],E:[[new _i(P(.75,1),m),null,[0,Math.PI/2,0]]]},se={AXIS:[[new nr(A,s),[-1e3,0,0],null,[1e6,1,1],"helper"]]},he={XYZE:[[new _i(new yy(.25,10,8),n)]],X:[[new _i(new CT(.5,.1,4,24),n),[0,0,0],[0,-Math.PI/2,-Math.PI/2]]],Y:[[new _i(new CT(.5,.1,4,24),n),[0,0,0],[Math.PI/2,0,0]]],Z:[[new _i(new CT(.5,.1,4,24),n),[0,0,0],[0,0,-Math.PI/2]]],E:[[new _i(new CT(.75,.1,2,24),n)]]},Re={X:[[new _i(b,o),[.5,0,0],[0,0,-Math.PI/2]],[new _i(O,o),[0,0,0],[0,0,-Math.PI/2]],[new _i(b,o),[-.5,0,0],[0,0,Math.PI/2]]],Y:[[new _i(b,r),[0,.5,0]],[new _i(O,r)],[new _i(b,r),[0,-.5,0],[0,0,Math.PI]]],Z:[[new _i(b,l),[0,0,.5],[Math.PI/2,0,0]],[new _i(O,l),[0,0,0],[Math.PI/2,0,0]],[new _i(b,l),[0,0,-.5],[-Math.PI/2,0,0]]],XY:[[new _i(new pr(.15,.15,.01),p),[.15,.15,0]]],YZ:[[new _i(new pr(.15,.15,.01),d),[0,.15,.15],[0,Math.PI/2,0]]],XZ:[[new _i(new pr(.15,.15,.01),h),[.15,0,.15],[-Math.PI/2,0,0]]],XYZ:[[new _i(new pr(.1,.1,.1),I)]]},ee={X:[[new _i(new Lr(.2,0,.6,4),n),[.3,0,0],[0,0,-Math.PI/2]],[new _i(new Lr(.2,0,.6,4),n),[-.3,0,0],[0,0,Math.PI/2]]],Y:[[new _i(new Lr(.2,0,.6,4),n),[0,.3,0]],[new _i(new Lr(.2,0,.6,4),n),[0,-.3,0],[0,0,Math.PI]]],Z:[[new _i(new Lr(.2,0,.6,4),n),[0,0,.3],[Math.PI/2,0,0]],[new _i(new Lr(.2,0,.6,4),n),[0,0,-.3],[-Math.PI/2,0,0]]],XY:[[new _i(new pr(.2,.2,.01),n),[.15,.15,0]]],YZ:[[new _i(new pr(.2,.2,.01),n),[0,.15,.15],[0,Math.PI/2,0]]],XZ:[[new _i(new pr(.2,.2,.01),n),[.15,0,.15],[-Math.PI/2,0,0]]],XYZ:[[new _i(new pr(.2,.2,.2),n),[0,0,0]]]},Ae={X:[[new nr(A,s),[-1e3,0,0],null,[1e6,1,1],"helper"]],Y:[[new nr(A,s),[0,-1e3,0],[0,0,Math.PI/2],[1e6,1,1],"helper"]],Z:[[new nr(A,s),[0,0,-1e3],[0,-Math.PI/2,0],[1e6,1,1],"helper"]]};function Ee(Ce){let Qe=new ps;for(let qe in Ce)for(let St=Ce[qe].length;St--;){let $e=Ce[qe][St][0].clone(),ke=Ce[qe][St][1],It=Ce[qe][St][2],ft=Ce[qe][St][3],Dt=Ce[qe][St][4];$e.name=qe,$e.tag=Dt,ke&&$e.position.set(ke[0],ke[1],ke[2]),It&&$e.rotation.set(It[0],It[1],It[2]),ft&&$e.scale.set(ft[0],ft[1],ft[2]),$e.updateMatrix();let Zt=$e.geometry.clone();Zt.applyMatrix4($e.matrix),$e.geometry=Zt,$e.renderOrder=1/0,$e.position.set(0,0,0),$e.rotation.set(0,0,0),$e.scale.set(1,1,1),Qe.add($e)}return Qe}this.gizmo={},this.picker={},this.helper={},this.add(this.gizmo.translate=Ee(Z)),this.add(this.gizmo.rotate=Ee(oe)),this.add(this.gizmo.scale=Ee(Re)),this.add(this.picker.translate=Ee(ne)),this.add(this.picker.rotate=Ee(he)),this.add(this.picker.scale=Ee(ee)),this.add(this.helper.translate=Ee(K)),this.add(this.helper.rotate=Ee(se)),this.add(this.helper.scale=Ee(Ae)),this.picker.translate.visible=!1,this.picker.rotate.visible=!1,this.picker.scale.visible=!1}updateMatrixWorld(t){let n=(this.mode==="scale"?"local":this.space)==="local"?this.worldQuaternion:YK;this.gizmo.translate.visible=this.mode==="translate",this.gizmo.rotate.visible=this.mode==="rotate",this.gizmo.scale.visible=this.mode==="scale",this.helper.translate.visible=this.mode==="translate",this.helper.rotate.visible=this.mode==="rotate",this.helper.scale.visible=this.mode==="scale";let s=[];s=s.concat(this.picker[this.mode].children),s=s.concat(this.gizmo[this.mode].children),s=s.concat(this.helper[this.mode].children);for(let o=0;o<s.length;o++){let r=s[o];r.visible=!0,r.rotation.set(0,0,0),r.position.copy(this.worldPosition);let l;if(this.camera.isOrthographicCamera?l=(this.camera.top-this.camera.bottom)/this.camera.zoom:l=this.worldPosition.distanceTo(this.cameraPosition)*Math.min(1.9*Math.tan(Math.PI*this.camera.fov/360)/this.camera.zoom,7),r.scale.set(1,1,1).multiplyScalar(l*this.size/4),r.tag==="helper"){r.visible=!1,r.name==="AXIS"?(r.visible=!!this.axis,this.axis==="X"&&(pa.setFromEuler(kK.set(0,0,0)),r.quaternion.copy(n).multiply(pa),Math.abs(yr.copy(Tz).applyQuaternion(n).dot(this.eye))>.9&&(r.visible=!1)),this.axis==="Y"&&(pa.setFromEuler(kK.set(0,0,Math.PI/2)),r.quaternion.copy(n).multiply(pa),Math.abs(yr.copy(Fx).applyQuaternion(n).dot(this.eye))>.9&&(r.visible=!1)),this.axis==="Z"&&(pa.setFromEuler(kK.set(0,Math.PI/2,0)),r.quaternion.copy(n).multiply(pa),Math.abs(yr.copy(gz).applyQuaternion(n).dot(this.eye))>.9&&(r.visible=!1)),this.axis==="XYZE"&&(pa.setFromEuler(kK.set(0,Math.PI/2,0)),yr.copy(this.rotationAxis),r.quaternion.setFromRotationMatrix(Gge.lookAt(Hge,yr,Fx)),r.quaternion.multiply(pa),r.visible=this.dragging),this.axis==="E"&&(r.visible=!1)):r.name==="START"?(r.position.copy(this.worldPositionStart),r.visible=this.dragging):r.name==="END"?(r.position.copy(this.worldPosition),r.visible=this.dragging):r.name==="DELTA"?(r.position.copy(this.worldPositionStart),r.quaternion.copy(this.worldQuaternionStart),Zf.set(1e-10,1e-10,1e-10).add(this.worldPositionStart).sub(this.worldPosition).multiplyScalar(-1),Zf.applyQuaternion(this.worldQuaternionStart.clone().invert()),r.scale.copy(Zf),r.visible=this.dragging):(r.quaternion.copy(n),this.dragging?r.position.copy(this.worldPositionStart):r.position.copy(this.worldPosition),this.axis&&(r.visible=this.axis.search(r.name)!==-1));continue}r.quaternion.copy(n),this.mode==="translate"||this.mode==="scale"?(r.name==="X"&&Math.abs(yr.copy(Tz).applyQuaternion(n).dot(this.eye))>.99&&(r.scale.set(1e-10,1e-10,1e-10),r.visible=!1),r.name==="Y"&&Math.abs(yr.copy(Fx).applyQuaternion(n).dot(this.eye))>.99&&(r.scale.set(1e-10,1e-10,1e-10),r.visible=!1),r.name==="Z"&&Math.abs(yr.copy(gz).applyQuaternion(n).dot(this.eye))>.99&&(r.scale.set(1e-10,1e-10,1e-10),r.visible=!1),r.name==="XY"&&Math.abs(yr.copy(gz).applyQuaternion(n).dot(this.eye))<.2&&(r.scale.set(1e-10,1e-10,1e-10),r.visible=!1),r.name==="YZ"&&Math.abs(yr.copy(Tz).applyQuaternion(n).dot(this.eye))<.2&&(r.scale.set(1e-10,1e-10,1e-10),r.visible=!1),r.name==="XZ"&&Math.abs(yr.copy(Fx).applyQuaternion(n).dot(this.eye))<.2&&(r.scale.set(1e-10,1e-10,1e-10),r.visible=!1)):this.mode==="rotate"&&(zK.copy(n),yr.copy(this.eye).applyQuaternion(pa.copy(n).invert()),r.name.search("E")!==-1&&r.quaternion.setFromRotationMatrix(Gge.lookAt(this.eye,Hge,Fx)),r.name==="X"&&(pa.setFromAxisAngle(Tz,Math.atan2(-yr.y,yr.z)),pa.multiplyQuaternions(zK,pa),r.quaternion.copy(pa)),r.name==="Y"&&(pa.setFromAxisAngle(Fx,Math.atan2(yr.x,yr.z)),pa.multiplyQuaternions(zK,pa),r.quaternion.copy(pa)),r.name==="Z"&&(pa.setFromAxisAngle(gz,Math.atan2(yr.y,yr.x)),pa.multiplyQuaternions(zK,pa),r.quaternion.copy(pa))),r.visible=r.visible&&(r.name.indexOf("X")===-1||this.showX),r.visible=r.visible&&(r.name.indexOf("Y")===-1||this.showY),r.visible=r.visible&&(r.name.indexOf("Z")===-1||this.showZ),r.visible=r.visible&&(r.name.indexOf("E")===-1||this.showX&&this.showY&&this.showZ),r.visible=r.visible&&(r.name.indexOf("XY")===-1||this.showXY),r.visible=r.visible&&(r.name.indexOf("YZ")===-1||this.showYZ),r.visible=r.visible&&(r.name.indexOf("XZ")===-1||this.showXZ),r.material._color=r.material._color||r.material.color.clone(),r.material._opacity=r.material._opacity||r.material.opacity,r.material.color.copy(r.material._color),r.material.opacity=r.material._opacity,this.enabled&&this.axis&&(r.name===this.axis?(r.material.color.copy(this.materialLib.active.color),r.material.opacity=1):this.axis.split("").some(function(d){return r.name===d})&&(r.material.color.copy(this.materialLib.active.color),r.material.opacity=1))}super.updateMatrixWorld(t)}},sde=class extends _i{constructor(){super(new dp(1e5,1e5,2,2),new Ho({visible:!1,wireframe:!0,side:so,transparent:!0,opacity:.1,toneMapped:!1})),this.isTransformControlsPlane=!0,this.type="TransformControlsPlane"}updateMatrixWorld(t){let i=this.space;switch(this.position.copy(this.worldPosition),this.mode==="scale"&&(i="local"),WK.copy(Tz).applyQuaternion(i==="local"?this.worldQuaternion:YK),yz.copy(Fx).applyQuaternion(i==="local"?this.worldQuaternion:YK),Ez.copy(gz).applyQuaternion(i==="local"?this.worldQuaternion:YK),yr.copy(yz),this.mode){case"translate":case"scale":switch(this.axis){case"X":yr.copy(this.eye).cross(WK),Q2.copy(WK).cross(yr);break;case"Y":yr.copy(this.eye).cross(yz),Q2.copy(yz).cross(yr);break;case"Z":yr.copy(this.eye).cross(Ez),Q2.copy(Ez).cross(yr);break;case"XY":Q2.copy(Ez);break;case"YZ":Q2.copy(WK);break;case"XZ":yr.copy(Ez),Q2.copy(yz);break;case"XYZ":case"E":Q2.set(0,0,0);break}break;case"rotate":default:Q2.set(0,0,0)}Q2.length()===0?this.quaternion.copy(this.cameraQuaternion):(Vge.lookAt(Zf.set(0,0,0),Q2,yr),this.quaternion.setFromRotationMatrix(Vge)),super.updateMatrixWorld(t)}};var qVe=Object.defineProperty,$Ve=(e,t,i)=>t in e?qVe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,Le=(e,t,i)=>($Ve(e,typeof t!="symbol"?t+"":t,i),i),$i=class{constructor(){Le(this,"enabled",!0),Le(this,"trigger",t=>{if(!this.enabled)return;let i=this.handlers.slice(0);for(let n of i)n(t)}),Le(this,"handlers",[])}add(t){this.handlers.push(t)}remove(t){this.handlers=this.handlers.filter(i=>i!==t)}reset(){this.handlers.length=0}},Rde=class{constructor(){Le(this,"enabled",!0),Le(this,"trigger",async t=>{if(!this.enabled)return;let i=this.handlers.slice(0);for(let n of i)await n(t)}),Le(this,"handlers",[])}add(t){this.handlers.push(t)}remove(t){this.handlers=this.handlers.filter(i=>i!==t)}reset(){this.handlers.length=0}},RM=class{constructor(t){Le(this,"isDisposeable",()=>"dispose"in this&&"onDisposed"in this),Le(this,"isResizeable",()=>"resize"in this&&"getSize"in this),Le(this,"isUpdateable",()=>"onAfterUpdate"in this&&"onBeforeUpdate"in this&&"update"in this),Le(this,"isHideable",()=>"visible"in this),Le(this,"isConfigurable",()=>"setup"in this&&"config"in this&&"onSetup"in this),Le(this,"isSerializable",()=>"import"in this&&"export"in this),this.components=t}},Gl=class extends RM{},SM=class extends RM{constructor(t){super(t),Le(this,"worlds",new fo),Le(this,"onWorldChanged",new $i),Le(this,"_currentWorld",null),this.onWorldChanged.add(({world:i,action:n})=>{n==="removed"&&this.worlds.delete(i.uuid)})}set currentWorld(t){this._currentWorld=t}get currentWorld(){return this._currentWorld}},bQ=class extends SM{constructor(){super(...arguments),Le(this,"hasCameraControls",()=>"controls"in this)}},NQ=class extends SM{constructor(){super(...arguments),Le(this,"onAfterUpdate",new $i),Le(this,"onBeforeUpdate",new $i),Le(this,"onDisposed",new $i),Le(this,"onResize",new $i),Le(this,"onClippingPlanesUpdated",new $i),Le(this,"clippingPlanes",[])}updateClippingPlanes(){this.onClippingPlanesUpdated.trigger()}setPlane(t,i,n){i.isLocal=n;let s=this.clippingPlanes.indexOf(i);t&&s===-1?this.clippingPlanes.push(i):!t&&s>-1&&this.clippingPlanes.splice(s,1),this.three.clippingPlanes=this.clippingPlanes.filter(o=>!o.isLocal)}},Kwe=class Sde extends Gl{constructor(t){super(t),Le(this,"_disposedComponents",new Set),Le(this,"enabled",!0),t.add(Sde.uuid,this)}get(){return this._disposedComponents}destroy(t,i=!0,n=!0){t.removeFromParent();let s=t;s.dispose&&s.dispose(),this.disposeGeometryAndMaterials(t,i),n&&s.children&&s.children.length&&this.disposeChildren(s),t.children.length=0}disposeGeometry(t){t.boundsTree&&t.disposeBoundsTree&&t.disposeBoundsTree(),t.dispose()}disposeGeometryAndMaterials(t,i){let n=t;n.geometry&&this.disposeGeometry(n.geometry),i&&n.material&&Sde.disposeMaterial(n),n.material=[],n.geometry=null}disposeChildren(t){for(let i of t.children)this.destroy(i)}static disposeMaterial(t){if(t.material)if(Array.isArray(t.material))for(let i of t.material)i.dispose();else t.material.dispose()}};Le(Kwe,"uuid","76e9cd8e-ad8f-4753-9ef6-cbc60f7247fe");var CM=Kwe,_Q=class extends SM{constructor(t){super(t),Le(this,"onDisposed",new $i),Le(this,"directionalLights",new Map),Le(this,"ambientLights",new Map)}dispose(){let t=this.components.get(CM);for(let i of this.three.children){let n=i;n.geometry&&t.destroy(n)}this.deleteAllLights(),this.three.children=[],this.onDisposed.trigger(),this.onDisposed.reset()}deleteAllLights(){for(let[,t]of this.directionalLights)t.removeFromParent(),t.target.removeFromParent(),t.dispose();this.directionalLights.clear();for(let[,t]of this.ambientLights)t.removeFromParent(),t.dispose();this.ambientLights.clear()}},Ade=class extends Set{constructor(t){super(t),Le(this,"onItemAdded",new $i),Le(this,"onItemDeleted",new $i),Le(this,"onCleared",new $i),Le(this,"guard",()=>!0)}clear(){super.clear(),this.onCleared.trigger()}add(...t){for(let i of t)this.has(i)||!this.guard(i)||(super.add(i),this.onItemAdded||(this.onItemAdded=new $i),this.onItemAdded.trigger(i));return this}delete(t){let i=super.delete(t);return i&&this.onItemDeleted.trigger(),i}dispose(){this.clear(),this.onItemAdded.reset(),this.onItemDeleted.reset(),this.onCleared.reset()}},E0e=class J0{static create(){let t=Math.random()*4294967295|0,i=Math.random()*4294967295|0,n=Math.random()*4294967295|0,s=Math.random()*4294967295|0;return`${J0._lut[t&255]+J0._lut[t>>8&255]+J0._lut[t>>16&255]+J0._lut[t>>24&255]}-${J0._lut[i&255]}${J0._lut[i>>8&255]}-${J0._lut[i>>16&15|64]}${J0._lut[i>>24&255]}-${J0._lut[n&63|128]}${J0._lut[n>>8&255]}-${J0._lut[n>>16&255]}${J0._lut[n>>24&255]}${J0._lut[s&255]}${J0._lut[s>>8&255]}${J0._lut[s>>16&255]}${J0._lut[s>>24&255]}`.toLowerCase()}static validate(t){if(!J0._pattern.test(t))throw new Error(`${t} is not a valid UUID v4.
|
||
|
||
- If you're the tool creator, you can take one from https://www.uuidgenerator.net/.
|
||
|
||
- If you're using a platform tool, verify the uuid isn't misspelled or contact the tool creator.`)}};Le(E0e,"_pattern",/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$/);Le(E0e,"_lut",["00","01","02","03","04","05","06","07","08","09","0a","0b","0c","0d","0e","0f","10","11","12","13","14","15","16","17","18","19","1a","1b","1c","1d","1e","1f","20","21","22","23","24","25","26","27","28","29","2a","2b","2c","2d","2e","2f","30","31","32","33","34","35","36","37","38","39","3a","3b","3c","3d","3e","3f","40","41","42","43","44","45","46","47","48","49","4a","4b","4c","4d","4e","4f","50","51","52","53","54","55","56","57","58","59","5a","5b","5c","5d","5e","5f","60","61","62","63","64","65","66","67","68","69","6a","6b","6c","6d","6e","6f","70","71","72","73","74","75","76","77","78","79","7a","7b","7c","7d","7e","7f","80","81","82","83","84","85","86","87","88","89","8a","8b","8c","8d","8e","8f","90","91","92","93","94","95","96","97","98","99","9a","9b","9c","9d","9e","9f","a0","a1","a2","a3","a4","a5","a6","a7","a8","a9","aa","ab","ac","ad","ae","af","b0","b1","b2","b3","b4","b5","b6","b7","b8","b9","ba","bb","bc","bd","be","bf","c0","c1","c2","c3","c4","c5","c6","c7","c8","c9","ca","cb","cc","cd","ce","cf","d0","d1","d2","d3","d4","d5","d6","d7","d8","d9","da","db","dc","dd","de","df","e0","e1","e2","e3","e4","e5","e6","e7","e8","e9","ea","eb","ec","ed","ee","ef","f0","f1","f2","f3","f4","f5","f6","f7","f8","f9","fa","fb","fc","fd","fe","ff"]);var dI=E0e,Qwe=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",ZVe=Qwe+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040",KVe="["+Qwe+"]["+ZVe+"]*",QVe=new RegExp("^"+KVe+"$");function Jwe(e,t){let i=[],n=t.exec(e);for(;n;){let s=[];s.startIndex=t.lastIndex-n[0].length;let o=n.length;for(let r=0;r<o;r++)s.push(n[r]);i.push(s),n=t.exec(e)}return i}var dJ=function(e){let t=QVe.exec(e);return!(t===null||typeof t>"u")};function JVe(e){return typeof e<"u"}var XVe={allowBooleanAttributes:!1,unpairedTags:[]};function eke(e,t){t=Object.assign({},XVe,t);let i=[],n=!1,s=!1;e[0]==="\uFEFF"&&(e=e.substr(1));for(let o=0;o<e.length;o++)if(e[o]==="<"&&e[o+1]==="?"){if(o+=2,o=zge(e,o),o.err)return o}else if(e[o]==="<"){let r=o;if(o++,e[o]==="!"){o=Wge(e,o);continue}else{let l=!1;e[o]==="/"&&(l=!0,o++);let d="";for(;o<e.length&&e[o]!==">"&&e[o]!==" "&&e[o]!==" "&&e[o]!==`
|
||
`&&e[o]!=="\r";o++)d+=e[o];if(d=d.trim(),d[d.length-1]==="/"&&(d=d.substring(0,d.length-1),o--),!ake(d)){let I;return d.trim().length===0?I="Invalid space after '<'.":I="Tag '"+d+"' is an invalid name.",gc("InvalidTag",I,cI(e,o))}let h=nke(e,o);if(h===!1)return gc("InvalidAttr","Attributes for '"+d+"' have open quote.",cI(e,o));let p=h.value;if(o=h.index,p[p.length-1]==="/"){let I=o-p.length;p=p.substring(0,p.length-1);let m=Yge(p,t);if(m===!0)n=!0;else return gc(m.err.code,m.err.msg,cI(e,I+m.err.line))}else if(l)if(h.tagClosed){if(p.trim().length>0)return gc("InvalidTag","Closing tag '"+d+"' can't have attributes or invalid starting.",cI(e,r));if(i.length===0)return gc("InvalidTag","Closing tag '"+d+"' has not been opened.",cI(e,r));{let I=i.pop();if(d!==I.tagName){let m=cI(e,I.tagStartPos);return gc("InvalidTag","Expected closing tag '"+I.tagName+"' (opened in line "+m.line+", col "+m.col+") instead of closing tag '"+d+"'.",cI(e,r))}i.length==0&&(s=!0)}}else return gc("InvalidTag","Closing tag '"+d+"' doesn't have proper closing.",cI(e,o));else{let I=Yge(p,t);if(I!==!0)return gc(I.err.code,I.err.msg,cI(e,o-p.length+I.err.line));if(s===!0)return gc("InvalidXml","Multiple possible root nodes found.",cI(e,o));t.unpairedTags.indexOf(d)!==-1||i.push({tagName:d,tagStartPos:r}),n=!0}for(o++;o<e.length;o++)if(e[o]==="<")if(e[o+1]==="!"){o++,o=Wge(e,o);continue}else if(e[o+1]==="?"){if(o=zge(e,++o),o.err)return o}else break;else if(e[o]==="&"){let I=rke(e,o);if(I==-1)return gc("InvalidChar","char '&' is not expected.",cI(e,o));o=I}else if(s===!0&&!kge(e[o]))return gc("InvalidXml","Extra text at the end",cI(e,o));e[o]==="<"&&o--}}else{if(kge(e[o]))continue;return gc("InvalidChar","char '"+e[o]+"' is not expected.",cI(e,o))}if(n){if(i.length==1)return gc("InvalidTag","Unclosed tag '"+i[0].tagName+"'.",cI(e,i[0].tagStartPos));if(i.length>0)return gc("InvalidXml","Invalid '"+JSON.stringify(i.map(o=>o.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1})}else return gc("InvalidXml","Start tag expected.",1);return!0}function kge(e){return e===" "||e===" "||e===`
|
||
`||e==="\r"}function zge(e,t){let i=t;for(;t<e.length;t++)if(e[t]=="?"||e[t]==" "){let n=e.substr(i,t-i);if(t>5&&n==="xml")return gc("InvalidXml","XML declaration allowed only at the start of the document.",cI(e,t));if(e[t]=="?"&&e[t+1]==">"){t++;break}else continue}return t}function Wge(e,t){if(e.length>t+5&&e[t+1]==="-"&&e[t+2]==="-"){for(t+=3;t<e.length;t++)if(e[t]==="-"&&e[t+1]==="-"&&e[t+2]===">"){t+=2;break}}else if(e.length>t+8&&e[t+1]==="D"&&e[t+2]==="O"&&e[t+3]==="C"&&e[t+4]==="T"&&e[t+5]==="Y"&&e[t+6]==="P"&&e[t+7]==="E"){let i=1;for(t+=8;t<e.length;t++)if(e[t]==="<")i++;else if(e[t]===">"&&(i--,i===0))break}else if(e.length>t+9&&e[t+1]==="["&&e[t+2]==="C"&&e[t+3]==="D"&&e[t+4]==="A"&&e[t+5]==="T"&&e[t+6]==="A"&&e[t+7]==="["){for(t+=8;t<e.length;t++)if(e[t]==="]"&&e[t+1]==="]"&&e[t+2]===">"){t+=2;break}}return t}var tke='"',ike="'";function nke(e,t){let i="",n="",s=!1;for(;t<e.length;t++){if(e[t]===tke||e[t]===ike)n===""?n=e[t]:n!==e[t]||(n="");else if(e[t]===">"&&n===""){s=!0;break}i+=e[t]}return n!==""?!1:{value:i,index:t,tagClosed:s}}var ske=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function Yge(e,t){let i=Jwe(e,ske),n={};for(let s=0;s<i.length;s++){if(i[s][1].length===0)return gc("InvalidAttr","Attribute '"+i[s][2]+"' has no space in starting.",wz(i[s]));if(i[s][3]!==void 0&&i[s][4]===void 0)return gc("InvalidAttr","Attribute '"+i[s][2]+"' is without value.",wz(i[s]));if(i[s][3]===void 0&&!t.allowBooleanAttributes)return gc("InvalidAttr","boolean attribute '"+i[s][2]+"' is not allowed.",wz(i[s]));let o=i[s][2];if(!lke(o))return gc("InvalidAttr","Attribute '"+o+"' is an invalid name.",wz(i[s]));if(!n.hasOwnProperty(o))n[o]=1;else return gc("InvalidAttr","Attribute '"+o+"' is repeated.",wz(i[s]))}return!0}function oke(e,t){let i=/\d/;for(e[t]==="x"&&(t++,i=/[\da-fA-F]/);t<e.length;t++){if(e[t]===";")return t;if(!e[t].match(i))break}return-1}function rke(e,t){if(t++,e[t]===";")return-1;if(e[t]==="#")return t++,oke(e,t);let i=0;for(;t<e.length;t++,i++)if(!(e[t].match(/\w/)&&i<20)){if(e[t]===";")break;return-1}return t}function gc(e,t,i){return{err:{code:e,msg:t,line:i.line||i,col:i.col}}}function lke(e){return dJ(e)}function ake(e){return dJ(e)}function cI(e,t){let i=e.substring(0,t).split(/\r?\n/);return{line:i.length,col:i[i.length-1].length+1}}function wz(e){return e.startIndex+e[1].length}var uke={preserveOrder:!1,attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,removeNSPrefix:!1,allowBooleanAttributes:!1,parseTagValue:!0,parseAttributeValue:!1,trimValues:!0,cdataPropName:!1,numberParseOptions:{hex:!0,leadingZeros:!0,eNotation:!0},tagValueProcessor:function(e,t){return t},attributeValueProcessor:function(e,t){return t},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(e,t,i){return e},captureMetaData:!1};function Xwe(e){return typeof e=="boolean"?{enabled:e,maxEntitySize:1e4,maxExpansionDepth:10,maxTotalExpansions:1e3,maxExpandedLength:1e5,allowedTags:null,tagFilter:null}:typeof e=="object"&&e!==null?{enabled:e.enabled!==!1,maxEntitySize:e.maxEntitySize??1e4,maxExpansionDepth:e.maxExpansionDepth??10,maxTotalExpansions:e.maxTotalExpansions??1e3,maxExpandedLength:e.maxExpandedLength??1e5,allowedTags:e.allowedTags??null,tagFilter:e.tagFilter??null}:Xwe(!0)}var cke=function(e){let t=Object.assign({},uke,e);return t.processEntities=Xwe(t.processEntities),t},DQ;typeof Symbol!="function"?DQ="@@xmlMetadata":DQ=Symbol("XML Node Metadata");var nA=class{constructor(t){this.tagname=t,this.child=[],this[":@"]={}}add(t,i){t==="__proto__"&&(t="#__proto__"),this.child.push({[t]:i})}addChild(t,i){t.tagname==="__proto__"&&(t.tagname="#__proto__"),t[":@"]&&Object.keys(t[":@"]).length>0?this.child.push({[t.tagname]:t.child,":@":t[":@"]}):this.child.push({[t.tagname]:t.child}),i!==void 0&&(this.child[this.child.length-1][DQ]={startIndex:i})}static getMetaDataSymbol(){return DQ}},bde=class{constructor(t){this.suppressValidationErr=!t,this.options=t}readDocType(t,i){let n={};if(t[i+3]==="O"&&t[i+4]==="C"&&t[i+5]==="T"&&t[i+6]==="Y"&&t[i+7]==="P"&&t[i+8]==="E"){i=i+9;let s=1,o=!1,r=!1,l="";for(;i<t.length;i++)if(t[i]==="<"&&!r){if(o&&Ux(t,"!ENTITY",i)){i+=7;let d,h;if([d,h,i]=this.readEntityExp(t,i+1,this.suppressValidationErr),h.indexOf("&")===-1){let p=d.replace(/[.\-+*:]/g,"\\.");n[d]={regx:RegExp(`&${p};`,"g"),val:h}}}else if(o&&Ux(t,"!ELEMENT",i)){i+=8;let{index:d}=this.readElementExp(t,i+1);i=d}else if(o&&Ux(t,"!ATTLIST",i))i+=8;else if(o&&Ux(t,"!NOTATION",i)){i+=9;let{index:d}=this.readNotationExp(t,i+1,this.suppressValidationErr);i=d}else if(Ux(t,"!--",i))r=!0;else throw new Error("Invalid DOCTYPE");s++,l=""}else if(t[i]===">"){if(r?t[i-1]==="-"&&t[i-2]==="-"&&(r=!1,s--):s--,s===0)break}else t[i]==="["?o=!0:l+=t[i];if(s!==0)throw new Error("Unclosed DOCTYPE")}else throw new Error("Invalid Tag instead of DOCTYPE");return{entities:n,i}}readEntityExp(t,i){i=am(t,i);let n="";for(;i<t.length&&!/\s/.test(t[i])&&t[i]!=='"'&&t[i]!=="'";)n+=t[i],i++;if(vz(n),i=am(t,i),!this.suppressValidationErr){if(t.substring(i,i+6).toUpperCase()==="SYSTEM")throw new Error("External entities are not supported");if(t[i]==="%")throw new Error("Parameter entities are not supported")}let s="";if([i,s]=this.readIdentifierVal(t,i,"entity"),this.options.enabled!==!1&&this.options.maxEntitySize&&s.length>this.options.maxEntitySize)throw new Error(`Entity "${n}" size (${s.length}) exceeds maximum allowed size (${this.options.maxEntitySize})`);return i--,[n,s,i]}readNotationExp(t,i){i=am(t,i);let n="";for(;i<t.length&&!/\s/.test(t[i]);)n+=t[i],i++;!this.suppressValidationErr&&vz(n),i=am(t,i);let s=t.substring(i,i+6).toUpperCase();if(!this.suppressValidationErr&&s!=="SYSTEM"&&s!=="PUBLIC")throw new Error(`Expected SYSTEM or PUBLIC, found "${s}"`);i+=s.length,i=am(t,i);let o=null,r=null;if(s==="PUBLIC")[i,o]=this.readIdentifierVal(t,i,"publicIdentifier"),i=am(t,i),(t[i]==='"'||t[i]==="'")&&([i,r]=this.readIdentifierVal(t,i,"systemIdentifier"));else if(s==="SYSTEM"&&([i,r]=this.readIdentifierVal(t,i,"systemIdentifier"),!this.suppressValidationErr&&!r))throw new Error("Missing mandatory system identifier for SYSTEM notation");return{notationName:n,publicIdentifier:o,systemIdentifier:r,index:--i}}readIdentifierVal(t,i,n){let s="",o=t[i];if(o!=='"'&&o!=="'")throw new Error(`Expected quoted string, found "${o}"`);for(i++;i<t.length&&t[i]!==o;)s+=t[i],i++;if(t[i]!==o)throw new Error(`Unterminated ${n} value`);return i++,[i,s]}readElementExp(t,i){i=am(t,i);let n="";for(;i<t.length&&!/\s/.test(t[i]);)n+=t[i],i++;if(!this.suppressValidationErr&&!dJ(n))throw new Error(`Invalid element name: "${n}"`);i=am(t,i);let s="";if(t[i]==="E"&&Ux(t,"MPTY",i))i+=4;else if(t[i]==="A"&&Ux(t,"NY",i))i+=2;else if(t[i]==="("){for(i++;i<t.length&&t[i]!==")";)s+=t[i],i++;if(t[i]!==")")throw new Error("Unterminated content model")}else if(!this.suppressValidationErr)throw new Error(`Invalid Element Expression, found "${t[i]}"`);return{elementName:n,contentModel:s.trim(),index:i}}readAttlistExp(t,i){i=am(t,i);let n="";for(;i<t.length&&!/\s/.test(t[i]);)n+=t[i],i++;vz(n),i=am(t,i);let s="";for(;i<t.length&&!/\s/.test(t[i]);)s+=t[i],i++;if(!vz(s))throw new Error(`Invalid attribute name: "${s}"`);i=am(t,i);let o="";if(t.substring(i,i+8).toUpperCase()==="NOTATION"){if(o="NOTATION",i+=8,i=am(t,i),t[i]!=="(")throw new Error(`Expected '(', found "${t[i]}"`);i++;let l=[];for(;i<t.length&&t[i]!==")";){let d="";for(;i<t.length&&t[i]!=="|"&&t[i]!==")";)d+=t[i],i++;if(d=d.trim(),!vz(d))throw new Error(`Invalid notation name: "${d}"`);l.push(d),t[i]==="|"&&(i++,i=am(t,i))}if(t[i]!==")")throw new Error("Unterminated list of notations");i++,o+=" ("+l.join("|")+")"}else{for(;i<t.length&&!/\s/.test(t[i]);)o+=t[i],i++;let l=["CDATA","ID","IDREF","IDREFS","ENTITY","ENTITIES","NMTOKEN","NMTOKENS"];if(!this.suppressValidationErr&&!l.includes(o.toUpperCase()))throw new Error(`Invalid attribute type: "${o}"`)}i=am(t,i);let r="";return t.substring(i,i+8).toUpperCase()==="#REQUIRED"?(r="#REQUIRED",i+=8):t.substring(i,i+7).toUpperCase()==="#IMPLIED"?(r="#IMPLIED",i+=7):[i,r]=this.readIdentifierVal(t,i,"ATTLIST"),{elementName:n,attributeName:s,attributeType:o,defaultValue:r,index:i}}},am=(e,t)=>{for(;t<e.length&&/\s/.test(e[t]);)t++;return t};function Ux(e,t,i){for(let n=0;n<t.length;n++)if(t[n]!==e[i+n+1])return!1;return!0}function vz(e){if(dJ(e))return e;throw new Error(`Invalid entity name ${e}`)}var dke=/^[-+]?0x[a-fA-F0-9]+$/,hke=/^([\-\+])?(0*)([0-9]*(\.[0-9]*)?)$/,fke={hex:!0,leadingZeros:!0,decimalPoint:".",eNotation:!0};function pke(e,t={}){if(t=Object.assign({},fke,t),!e||typeof e!="string")return e;let i=e.trim();if(t.skipLike!==void 0&&t.skipLike.test(i))return e;if(e==="0")return 0;if(t.hex&&dke.test(i))return Eke(i,16);if(i.includes("e")||i.includes("E"))return mke(e,i,t);{let n=hke.exec(i);if(n){let s=n[1]||"",o=n[2],r=yke(n[3]),l=s?e[o.length+1]===".":e[o.length]===".";if(!t.leadingZeros&&(o.length>1||o.length===1&&!l))return e;{let d=Number(i),h=String(d);if(d===0)return d;if(h.search(/[eE]/)!==-1)return t.eNotation?d:e;if(i.indexOf(".")!==-1)return h==="0"||h===r||h===`${s}${r}`?d:e;let p=o?r:i;return o?p===h||s+p===h?d:e:p===h||p===s+h?d:e}}else return e}}var Ike=/^([-+])?(0*)(\d*(\.\d*)?[eE][-\+]?\d+)$/;function mke(e,t,i){if(!i.eNotation)return e;let n=t.match(Ike);if(n){let s=n[1]||"",o=n[3].indexOf("e")===-1?"E":"e",r=n[2],l=s?e[r.length+1]===o:e[r.length]===o;return r.length>1&&l?e:r.length===1&&(n[3].startsWith(`.${o}`)||n[3][0]===o)?Number(t):i.leadingZeros&&!l?(t=(n[1]||"")+n[3],Number(t)):e}else return e}function yke(e){return e&&e.indexOf(".")!==-1&&(e=e.replace(/0+$/,""),e==="."?e="0":e[0]==="."?e="0"+e:e[e.length-1]==="."&&(e=e.substring(0,e.length-1))),e}function Eke(e,t){if(parseInt)return parseInt(e,t);if(Number.parseInt)return Number.parseInt(e,t);if(window&&window.parseInt)return window.parseInt(e,t);throw new Error("parseInt, Number.parseInt, window.parseInt are not supported")}function e2e(e){return typeof e=="function"?e:Array.isArray(e)?t=>{for(let i of e)if(typeof i=="string"&&t===i||i instanceof RegExp&&i.test(t))return!0}:()=>!1}var Nde=class{constructor(t){if(this.options=t,this.currentNode=null,this.tagsNodeStack=[],this.docTypeEntities={},this.lastEntities={apos:{regex:/&(apos|#39|#x27);/g,val:"'"},gt:{regex:/&(gt|#62|#x3E);/g,val:">"},lt:{regex:/&(lt|#60|#x3C);/g,val:"<"},quot:{regex:/&(quot|#34|#x22);/g,val:'"'}},this.ampEntity={regex:/&(amp|#38|#x26);/g,val:"&"},this.htmlEntities={space:{regex:/&(nbsp|#160);/g,val:" "},cent:{regex:/&(cent|#162);/g,val:"\xA2"},pound:{regex:/&(pound|#163);/g,val:"\xA3"},yen:{regex:/&(yen|#165);/g,val:"\xA5"},euro:{regex:/&(euro|#8364);/g,val:"\u20AC"},copyright:{regex:/&(copy|#169);/g,val:"\xA9"},reg:{regex:/&(reg|#174);/g,val:"\xAE"},inr:{regex:/&(inr|#8377);/g,val:"\u20B9"},num_dec:{regex:/&#([0-9]{1,7});/g,val:(i,n)=>jge(n,10,"&#")},num_hex:{regex:/&#x([0-9a-fA-F]{1,6});/g,val:(i,n)=>jge(n,16,"&#x")}},this.addExternalEntities=Tke,this.parseXml=Ske,this.parseTextData=gke,this.resolveNameSpace=wke,this.buildAttributesMap=Rke,this.isItStopNode=_ke,this.replaceEntitiesValue=bke,this.readStopNodeData=Cke,this.saveTextToParentTag=Nke,this.addChild=Ake,this.ignoreAttributesFn=e2e(this.options.ignoreAttributes),this.entityExpansionCount=0,this.currentExpandedLength=0,this.options.stopNodes&&this.options.stopNodes.length>0){this.stopNodesExact=new Set,this.stopNodesWildcard=new Set;for(let i=0;i<this.options.stopNodes.length;i++){let n=this.options.stopNodes[i];typeof n=="string"&&(n.startsWith("*.")?this.stopNodesWildcard.add(n.substring(2)):this.stopNodesExact.add(n))}}}};function Tke(e){let t=Object.keys(e);for(let i=0;i<t.length;i++){let n=t[i],s=n.replace(/[.\-+*:]/g,"\\.");this.lastEntities[n]={regex:new RegExp("&"+s+";","g"),val:e[n]}}}function gke(e,t,i,n,s,o,r){if(e!==void 0&&(this.options.trimValues&&!n&&(e=e.trim()),e.length>0)){r||(e=this.replaceEntitiesValue(e,t,i));let l=this.options.tagValueProcessor(t,e,i,s,o);return l==null?e:typeof l!=typeof e||l!==e?l:this.options.trimValues?Dde(e,this.options.parseTagValue,this.options.numberParseOptions):e.trim()===e?Dde(e,this.options.parseTagValue,this.options.numberParseOptions):e}}function wke(e){if(this.options.removeNSPrefix){let t=e.split(":"),i=e.charAt(0)==="/"?"/":"";if(t[0]==="xmlns")return"";t.length===2&&(e=i+t[1])}return e}var vke=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`,"gm");function Rke(e,t,i){if(this.options.ignoreAttributes!==!0&&typeof e=="string"){let n=Jwe(e,vke),s=n.length,o={};for(let r=0;r<s;r++){let l=this.resolveNameSpace(n[r][1]);if(this.ignoreAttributesFn(l,t))continue;let d=n[r][4],h=this.options.attributeNamePrefix+l;if(l.length)if(this.options.transformAttributeName&&(h=this.options.transformAttributeName(h)),h==="__proto__"&&(h="#__proto__"),d!==void 0){this.options.trimValues&&(d=d.trim()),d=this.replaceEntitiesValue(d,i,t);let p=this.options.attributeValueProcessor(l,d,t);p==null?o[h]=d:typeof p!=typeof d||p!==d?o[h]=p:o[h]=Dde(d,this.options.parseAttributeValue,this.options.numberParseOptions)}else this.options.allowBooleanAttributes&&(o[h]=!0)}if(!Object.keys(o).length)return;if(this.options.attributesGroupName){let r={};return r[this.options.attributesGroupName]=o,r}return o}}var Ske=function(e){e=e.replace(/\r\n?/g,`
|
||
`);let t=new nA("!xml"),i=t,n="",s="";this.entityExpansionCount=0,this.currentExpandedLength=0;let o=new bde(this.options.processEntities);for(let r=0;r<e.length;r++)if(e[r]==="<")if(e[r+1]==="/"){let d=Yx(e,">",r,"Closing Tag is not closed."),h=e.substring(r+2,d).trim();if(this.options.removeNSPrefix){let m=h.indexOf(":");m!==-1&&(h=h.substr(m+1))}this.options.transformTagName&&(h=this.options.transformTagName(h)),i&&(n=this.saveTextToParentTag(n,i,s));let p=s.substring(s.lastIndexOf(".")+1);if(h&&this.options.unpairedTags.indexOf(h)!==-1)throw new Error(`Unpaired tag can not be used as closing tag: </${h}>`);let I=0;p&&this.options.unpairedTags.indexOf(p)!==-1?(I=s.lastIndexOf(".",s.lastIndexOf(".")-1),this.tagsNodeStack.pop()):I=s.lastIndexOf("."),s=s.substring(0,I),i=this.tagsNodeStack.pop(),n="",r=d}else if(e[r+1]==="?"){let d=_de(e,r,!1,"?>");if(!d)throw new Error("Pi Tag is not closed.");if(n=this.saveTextToParentTag(n,i,s),!(this.options.ignoreDeclaration&&d.tagName==="?xml"||this.options.ignorePiTags)){let h=new nA(d.tagName);h.add(this.options.textNodeName,""),d.tagName!==d.tagExp&&d.attrExpPresent&&(h[":@"]=this.buildAttributesMap(d.tagExp,s,d.tagName)),this.addChild(i,h,s,r)}r=d.closeIndex+1}else if(e.substr(r+1,3)==="!--"){let d=Yx(e,"-->",r+4,"Comment is not closed.");if(this.options.commentPropName){let h=e.substring(r+4,d-2);n=this.saveTextToParentTag(n,i,s),i.add(this.options.commentPropName,[{[this.options.textNodeName]:h}])}r=d}else if(e.substr(r+1,2)==="!D"){let d=o.readDocType(e,r);this.docTypeEntities=d.entities,r=d.i}else if(e.substr(r+1,2)==="!["){let d=Yx(e,"]]>",r,"CDATA is not closed.")-2,h=e.substring(r+9,d);n=this.saveTextToParentTag(n,i,s);let p=this.parseTextData(h,i.tagname,s,!0,!1,!0,!0);p==null&&(p=""),this.options.cdataPropName?i.add(this.options.cdataPropName,[{[this.options.textNodeName]:h}]):i.add(this.options.textNodeName,p),r=d+2}else{let d=_de(e,r,this.options.removeNSPrefix),h=d.tagName,p=d.rawTagName,I=d.tagExp,m=d.attrExpPresent,y=d.closeIndex;if(this.options.transformTagName){let b=this.options.transformTagName(h);I===h&&(I=b),h=b}i&&n&&i.tagname!=="!xml"&&(n=this.saveTextToParentTag(n,i,s,!1));let T=i;T&&this.options.unpairedTags.indexOf(T.tagname)!==-1&&(i=this.tagsNodeStack.pop(),s=s.substring(0,s.lastIndexOf("."))),h!==t.tagname&&(s+=s?"."+h:h);let R=r;if(this.isItStopNode(this.stopNodesExact,this.stopNodesWildcard,s,h)){let b="";if(I.length>0&&I.lastIndexOf("/")===I.length-1)h[h.length-1]==="/"?(h=h.substr(0,h.length-1),s=s.substr(0,s.length-1),I=h):I=I.substr(0,I.length-1),r=d.closeIndex;else if(this.options.unpairedTags.indexOf(h)!==-1)r=d.closeIndex;else{let O=this.readStopNodeData(e,p,y+1);if(!O)throw new Error(`Unexpected end of ${p}`);r=O.i,b=O.tagContent}let A=new nA(h);h!==I&&m&&(A[":@"]=this.buildAttributesMap(I,s,h)),b&&(b=this.parseTextData(b,h,s,!0,m,!0,!0)),s=s.substr(0,s.lastIndexOf(".")),A.add(this.options.textNodeName,b),this.addChild(i,A,s,R)}else{if(I.length>0&&I.lastIndexOf("/")===I.length-1){if(h[h.length-1]==="/"?(h=h.substr(0,h.length-1),s=s.substr(0,s.length-1),I=h):I=I.substr(0,I.length-1),this.options.transformTagName){let A=this.options.transformTagName(h);I===h&&(I=A),h=A}let b=new nA(h);h!==I&&m&&(b[":@"]=this.buildAttributesMap(I,s,h)),this.addChild(i,b,s,R),s=s.substr(0,s.lastIndexOf("."))}else{let b=new nA(h);this.tagsNodeStack.push(i),h!==I&&m&&(b[":@"]=this.buildAttributesMap(I,s,h)),this.addChild(i,b,s,R),i=b}n="",r=y}}else n+=e[r];return t.child};function Ake(e,t,i,n){this.options.captureMetaData||(n=void 0);let s=this.options.updateTag(t.tagname,i,t[":@"]);s===!1||(typeof s=="string"&&(t.tagname=s),e.addChild(t,n))}var bke=function(e,t,i){if(e.indexOf("&")===-1)return e;let n=this.options.processEntities;if(!n.enabled||n.allowedTags&&!n.allowedTags.includes(t)||n.tagFilter&&!n.tagFilter(t,i))return e;for(let s in this.docTypeEntities){let o=this.docTypeEntities[s],r=e.match(o.regx);if(r){if(this.entityExpansionCount+=r.length,n.maxTotalExpansions&&this.entityExpansionCount>n.maxTotalExpansions)throw new Error(`Entity expansion limit exceeded: ${this.entityExpansionCount} > ${n.maxTotalExpansions}`);let l=e.length;if(e=e.replace(o.regx,o.val),n.maxExpandedLength&&(this.currentExpandedLength+=e.length-l,this.currentExpandedLength>n.maxExpandedLength))throw new Error(`Total expanded content size exceeded: ${this.currentExpandedLength} > ${n.maxExpandedLength}`)}}if(e.indexOf("&")===-1)return e;for(let s in this.lastEntities){let o=this.lastEntities[s];e=e.replace(o.regex,o.val)}if(e.indexOf("&")===-1)return e;if(this.options.htmlEntities)for(let s in this.htmlEntities){let o=this.htmlEntities[s];e=e.replace(o.regex,o.val)}return e=e.replace(this.ampEntity.regex,this.ampEntity.val),e};function Nke(e,t,i,n){return e&&(n===void 0&&(n=t.child.length===0),e=this.parseTextData(e,t.tagname,i,!1,t[":@"]?Object.keys(t[":@"]).length!==0:!1,n),e!==void 0&&e!==""&&t.add(this.options.textNodeName,e),e=""),e}function _ke(e,t,i,n){return!!(t&&t.has(n)||e&&e.has(i))}function Dke(e,t,i=">"){let n,s="";for(let o=t;o<e.length;o++){let r=e[o];if(n)r===n&&(n="");else if(r==='"'||r==="'")n=r;else if(r===i[0])if(i[1]){if(e[o+1]===i[1])return{data:s,index:o}}else return{data:s,index:o};else r===" "&&(r=" ");s+=r}}function Yx(e,t,i,n){let s=e.indexOf(t,i);if(s===-1)throw new Error(n);return s+t.length-1}function _de(e,t,i,n=">"){let s=Dke(e,t+1,n);if(!s)return;let o=s.data,r=s.index,l=o.search(/\s/),d=o,h=!0;l!==-1&&(d=o.substring(0,l),o=o.substring(l+1).trimStart());let p=d;if(i){let I=d.indexOf(":");I!==-1&&(d=d.substr(I+1),h=d!==s.data.substr(I+1))}return{tagName:d,tagExp:o,closeIndex:r,attrExpPresent:h,rawTagName:p}}function Cke(e,t,i){let n=i,s=1;for(;i<e.length;i++)if(e[i]==="<")if(e[i+1]==="/"){let o=Yx(e,">",i,`${t} is not closed`);if(e.substring(i+2,o).trim()===t&&(s--,s===0))return{tagContent:e.substring(n,i),i:o};i=o}else if(e[i+1]==="?")i=Yx(e,"?>",i+1,"StopNode is not closed.");else if(e.substr(i+1,3)==="!--")i=Yx(e,"-->",i+3,"StopNode is not closed.");else if(e.substr(i+1,2)==="![")i=Yx(e,"]]>",i,"StopNode is not closed.")-2;else{let o=_de(e,i,">");o&&((o&&o.tagName)===t&&o.tagExp[o.tagExp.length-1]!=="/"&&s++,i=o.closeIndex)}}function Dde(e,t,i){if(t&&typeof e=="string"){let n=e.trim();return n==="true"?!0:n==="false"?!1:pke(e,i)}else return JVe(e)?e:""}function jge(e,t,i){let n=Number.parseInt(e,t);return n>=0&&n<=1114111?String.fromCodePoint(n):i+e+";"}var ode=nA.getMetaDataSymbol();function xke(e,t){return t2e(e,t)}function t2e(e,t,i){let n,s={};for(let o=0;o<e.length;o++){let r=e[o],l=Oke(r),d="";if(i===void 0?d=l:d=i+"."+l,l===t.textNodeName)n===void 0?n=r[l]:n+=""+r[l];else{if(l===void 0)continue;if(r[l]){let h=t2e(r[l],t,d),p=Pke(h,t);r[ode]!==void 0&&(h[ode]=r[ode]),r[":@"]?Lke(h,r[":@"],d,t):Object.keys(h).length===1&&h[t.textNodeName]!==void 0&&!t.alwaysCreateTextNode?h=h[t.textNodeName]:Object.keys(h).length===0&&(t.alwaysCreateTextNode?h[t.textNodeName]="":h=""),s[l]!==void 0&&s.hasOwnProperty(l)?(Array.isArray(s[l])||(s[l]=[s[l]]),s[l].push(h)):t.isArray(l,d,p)?s[l]=[h]:s[l]=h}}}return typeof n=="string"?n.length>0&&(s[t.textNodeName]=n):n!==void 0&&(s[t.textNodeName]=n),s}function Oke(e){let t=Object.keys(e);for(let i=0;i<t.length;i++){let n=t[i];if(n!==":@")return n}}function Lke(e,t,i,n){if(t){let s=Object.keys(t),o=s.length;for(let r=0;r<o;r++){let l=s[r];n.isArray(l,i+"."+l,!0,!0)?e[l]=[t[l]]:e[l]=t[l]}}}function Pke(e,t){let{textNodeName:i}=t,n=Object.keys(e).length;return!!(n===0||n===1&&(e[i]||typeof e[i]=="boolean"||e[i]===0))}var Mz=class{constructor(t){this.externalEntities={},this.options=cke(t)}parse(t,i){if(typeof t!="string"&&t.toString)t=t.toString();else if(typeof t!="string")throw new Error("XML data is accepted in String or Bytes[] form.");if(i){i===!0&&(i={});let o=eke(t,i);if(o!==!0)throw Error(`${o.err.msg}:${o.err.line}:${o.err.col}`)}let n=new Nde(this.options);n.addExternalEntities(this.externalEntities);let s=n.parseXml(t);return this.options.preserveOrder||s===void 0?s:xke(s,this.options)}addEntity(t,i){if(i.indexOf("&")!==-1)throw new Error("Entity value can't have '&'");if(t.indexOf("&")!==-1||t.indexOf(";")!==-1)throw new Error("An entity must be set without '&' and ';'. Eg. use '#xD' for '
'");if(i==="&")throw new Error("An entity with value '&' is not permitted");this.externalEntities[t]=i}static getMetaDataSymbol(){return nA.getMetaDataSymbol()}},Mke=`
|
||
`;function Bke(e,t){let i="";return t.format&&t.indentBy.length>0&&(i=Mke),i2e(e,t,"",i)}function i2e(e,t,i,n){let s="",o=!1;for(let r=0;r<e.length;r++){let l=e[r],d=Fke(l);if(d===void 0)continue;let h="";if(i.length===0?h=d:h=`${i}.${d}`,d===t.textNodeName){let T=l[d];Uke(h,t)||(T=t.tagValueProcessor(d,T),T=n2e(T,t)),o&&(s+=n),s+=T,o=!1;continue}else if(d===t.cdataPropName){o&&(s+=n),s+=`<![CDATA[${l[d][0][t.textNodeName]}]]>`,o=!1;continue}else if(d===t.commentPropName){s+=n+`<!--${l[d][0][t.textNodeName]}-->`,o=!0;continue}else if(d[0]==="?"){let T=qge(l[":@"],t),R=d==="?xml"?"":n,b=l[d][0][t.textNodeName];b=b.length!==0?" "+b:"",s+=R+`<${d}${b}${T}?>`,o=!0;continue}let p=n;p!==""&&(p+=t.indentBy);let I=qge(l[":@"],t),m=n+`<${d}${I}`,y=i2e(l[d],t,h,p);t.unpairedTags.indexOf(d)!==-1?t.suppressUnpairedNode?s+=m+">":s+=m+"/>":(!y||y.length===0)&&t.suppressEmptyNode?s+=m+"/>":y&&y.endsWith(">")?s+=m+`>${y}${n}</${d}>`:(s+=m+">",y&&n!==""&&(y.includes("/>")||y.includes("</"))?s+=n+t.indentBy+y+n:s+=y,s+=`</${d}>`),o=!0}return s}function Fke(e){let t=Object.keys(e);for(let i=0;i<t.length;i++){let n=t[i];if(e.hasOwnProperty(n)&&n!==":@")return n}}function qge(e,t){let i="";if(e&&!t.ignoreAttributes)for(let n in e){if(!e.hasOwnProperty(n))continue;let s=t.attributeValueProcessor(n,e[n]);s=n2e(s,t),s===!0&&t.suppressBooleanAttributes?i+=` ${n.substr(t.attributeNamePrefix.length)}`:i+=` ${n.substr(t.attributeNamePrefix.length)}="${s}"`}return i}function Uke(e,t){e=e.substr(0,e.length-t.textNodeName.length-1);let i=e.substr(e.lastIndexOf(".")+1);for(let n in t.stopNodes)if(t.stopNodes[n]===e||t.stopNodes[n]==="*."+i)return!0;return!1}function n2e(e,t){if(e&&e.length>0&&t.processEntities)for(let i=0;i<t.entities.length;i++){let n=t.entities[i];e=e.replace(n.regex,n.val)}return e}var Hke={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(e,t){return t},attributeValueProcessor:function(e,t){return t},preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:new RegExp("&","g"),val:"&"},{regex:new RegExp(">","g"),val:">"},{regex:new RegExp("<","g"),val:"<"},{regex:new RegExp("'","g"),val:"'"},{regex:new RegExp('"',"g"),val:"""}],processEntities:!0,stopNodes:[],oneListGroup:!1};function C_(e){this.options=Object.assign({},Hke,e),this.options.ignoreAttributes===!0||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.ignoreAttributesFn=e2e(this.options.ignoreAttributes),this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=kke),this.processTextOrObjNode=Gke,this.options.format?(this.indentate=Vke,this.tagEndChar=`>
|
||
`,this.newLine=`
|
||
`):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}C_.prototype.build=function(e){return this.options.preserveOrder?Bke(e,this.options):(Array.isArray(e)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(e={[this.options.arrayNodeName]:e}),this.j2x(e,0,[]).val)};C_.prototype.j2x=function(e,t,i){let n="",s="",o=i.join(".");for(let r in e)if(Object.prototype.hasOwnProperty.call(e,r))if(typeof e[r]>"u")this.isAttribute(r)&&(s+="");else if(e[r]===null)this.isAttribute(r)||r===this.options.cdataPropName?s+="":r[0]==="?"?s+=this.indentate(t)+"<"+r+"?"+this.tagEndChar:s+=this.indentate(t)+"<"+r+"/"+this.tagEndChar;else if(e[r]instanceof Date)s+=this.buildTextValNode(e[r],r,"",t);else if(typeof e[r]!="object"){let l=this.isAttribute(r);if(l&&!this.ignoreAttributesFn(l,o))n+=this.buildAttrPairStr(l,""+e[r]);else if(!l)if(r===this.options.textNodeName){let d=this.options.tagValueProcessor(r,""+e[r]);s+=this.replaceEntitiesValue(d)}else s+=this.buildTextValNode(e[r],r,"",t)}else if(Array.isArray(e[r])){let l=e[r].length,d="",h="";for(let p=0;p<l;p++){let I=e[r][p];if(!(typeof I>"u"))if(I===null)r[0]==="?"?s+=this.indentate(t)+"<"+r+"?"+this.tagEndChar:s+=this.indentate(t)+"<"+r+"/"+this.tagEndChar;else if(typeof I=="object")if(this.options.oneListGroup){let m=this.j2x(I,t+1,i.concat(r));d+=m.val,this.options.attributesGroupName&&I.hasOwnProperty(this.options.attributesGroupName)&&(h+=m.attrStr)}else d+=this.processTextOrObjNode(I,r,t,i);else if(this.options.oneListGroup){let m=this.options.tagValueProcessor(r,I);m=this.replaceEntitiesValue(m),d+=m}else d+=this.buildTextValNode(I,r,"",t)}this.options.oneListGroup&&(d=this.buildObjectNode(d,r,h,t)),s+=d}else if(this.options.attributesGroupName&&r===this.options.attributesGroupName){let l=Object.keys(e[r]),d=l.length;for(let h=0;h<d;h++)n+=this.buildAttrPairStr(l[h],""+e[r][l[h]])}else s+=this.processTextOrObjNode(e[r],r,t,i);return{attrStr:n,val:s}};C_.prototype.buildAttrPairStr=function(e,t){return t=this.options.attributeValueProcessor(e,""+t),t=this.replaceEntitiesValue(t),this.options.suppressBooleanAttributes&&t==="true"?" "+e:" "+e+'="'+t+'"'};function Gke(e,t,i,n){let s=this.j2x(e,i+1,n.concat(t));return e[this.options.textNodeName]!==void 0&&Object.keys(e).length===1?this.buildTextValNode(e[this.options.textNodeName],t,s.attrStr,i):this.buildObjectNode(s.val,t,s.attrStr,i)}C_.prototype.buildObjectNode=function(e,t,i,n){if(e==="")return t[0]==="?"?this.indentate(n)+"<"+t+i+"?"+this.tagEndChar:this.indentate(n)+"<"+t+i+this.closeTag(t)+this.tagEndChar;{let s="</"+t+this.tagEndChar,o="";return t[0]==="?"&&(o="?",s=""),(i||i==="")&&e.indexOf("<")===-1?this.indentate(n)+"<"+t+i+o+">"+e+s:this.options.commentPropName!==!1&&t===this.options.commentPropName&&o.length===0?this.indentate(n)+`<!--${e}-->`+this.newLine:this.indentate(n)+"<"+t+i+o+this.tagEndChar+e+this.indentate(n)+s}};C_.prototype.closeTag=function(e){let t="";return this.options.unpairedTags.indexOf(e)!==-1?this.options.suppressUnpairedNode||(t="/"):this.options.suppressEmptyNode?t="/":t=`></${e}`,t};C_.prototype.buildTextValNode=function(e,t,i,n){if(this.options.cdataPropName!==!1&&t===this.options.cdataPropName)return this.indentate(n)+`<![CDATA[${e}]]>`+this.newLine;if(this.options.commentPropName!==!1&&t===this.options.commentPropName)return this.indentate(n)+`<!--${e}-->`+this.newLine;if(t[0]==="?")return this.indentate(n)+"<"+t+i+"?"+this.tagEndChar;{let s=this.options.tagValueProcessor(t,e);return s=this.replaceEntitiesValue(s),s===""?this.indentate(n)+"<"+t+i+this.closeTag(t)+this.tagEndChar:this.indentate(n)+"<"+t+i+">"+s+"</"+t+this.tagEndChar}};C_.prototype.replaceEntitiesValue=function(e){if(e&&e.length>0&&this.options.processEntities)for(let t=0;t<this.options.entities.length;t++){let i=this.options.entities[t];e=e.replace(i.regex,i.val)}return e};function Vke(e){return this.options.indentBy.repeat(e)}function kke(e){return e.startsWith(this.options.attributeNamePrefix)&&e!==this.options.textNodeName?e.substr(this.attrPrefixLen):!1}var jx=class{};Le(jx,"parser",new Mz({allowBooleanAttributes:!0,attributeNamePrefix:"",ignoreAttributes:!1,ignoreDeclaration:!0,ignorePiTags:!0,numberParseOptions:{leadingZeros:!0,hex:!0},parseAttributeValue:!0,preserveOrder:!1,processEntities:!1,removeNSPrefix:!0,trimValues:!0}));Le(jx,"builder",new C_({attributeNamePrefix:"$",ignoreAttributes:!1,suppressBooleanAttributes:!1}));var Cde=class extends Gl{constructor(t,i){super(t),Le(this,"onDisposed",new $i),Le(this,"onVertexFound",new $i),Le(this,"onVertexLost",new $i),Le(this,"onEnabled",new $i),Le(this,"components"),Le(this,"workingPlane",null),Le(this,"_pickedPoint",null),Le(this,"_config"),Le(this,"_enabled",!1),this.components=t,this.config={snapDistance:.25,showOnlyVertex:!1,...i},this.enabled=!1}set enabled(t){this._enabled=t,t||(this._pickedPoint=null),this.onEnabled.trigger(t)}get enabled(){return this._enabled}set config(t){this._config={...this._config,...t}}get config(){return this._config}dispose(){this.onVertexFound.reset(),this.onVertexLost.reset(),this.components=null,this.onDisposed.trigger(),this.onDisposed.reset()}async get(t){if(!this.enabled)return this._pickedPoint;let s=await this.components.get(Fz).get(t).castRay();if(!s)return this._pickedPoint!==null&&(this.onVertexLost.trigger(),this._pickedPoint=null),this._pickedPoint;let o=s.point;return(this._pickedPoint===null||!this._pickedPoint.equals(o))&&(this._pickedPoint=o.clone(),this.onVertexFound.trigger(this._pickedPoint)),this._pickedPoint}},Kh=class e{static join(t){let i={};for(let n of t)for(let s in n)if(!i[s])i[s]=new Set(n[s]);else for(let o of n[s])i[s].add(o);return i}static intersect(t){if(t.length===0)return{};let i=e.clone(t[0]);for(let n=1;n<t.length;n++){let s=t[n],o={};for(let r in i)if(s[r]){let l=new Set;for(let d of i[r])s[r].has(d)&&l.add(d);l.size>0&&(o[r]=l)}i=o}return i}static clone(t){let i={};for(let n in t)i[n]=new Set(t[n]);return i}static remove(t,i,n=!1){n&&(t=e.clone(t));for(let s in i)if(t[s]){for(let o of i[s])t[s].delete(o);t[s].size===0&&delete t[s]}}static add(t,i,n=!1){n&&(t=e.clone(t));for(let s in i)if(!t[s])t[s]=new Set(i[s]);else for(let o of i[s])t[s].add(o)}static append(t,i,...n){let s=t[i];s||(s=new Set,t[i]=s);for(let o of n)s.add(o)}static isEqual(t,i){let n=Object.keys(t),s=Object.keys(i);if(n.length!==s.length)return!1;for(let o of n){if(!i[o]||t[o].size!==i[o].size)return!1;for(let r of t[o])if(!i[o].has(r))return!1}return!0}static isEmpty(t){return Object.values(t).reduce((n,s)=>n+s.size,0)===0}static toRaw(t){let i={};for(let n in t)i[n]=Array.from(t[n]);return i}static fromRaw(t){let i={};for(let n in t)i[n]=new Set(t[n]);return i}},xde=class extends Map{constructor(t){super(t),Le(this,"onItemSet",new $i),Le(this,"onItemUpdated",new $i),Le(this,"onItemDeleted",new $i),Le(this,"onCleared",new $i),Le(this,"guard",()=>!0)}clear(){super.clear(),this.onCleared.trigger()}set(t,i){let n=this.has(t);if(!(this.guard??(()=>!0))(t,i))return this;let r=super.set(t,i);return n?(this.onItemUpdated||(this.onItemUpdated=new $i),this.onItemUpdated.trigger({key:t,value:i})):(this.onItemSet||(this.onItemSet=new $i),this.onItemSet.trigger({key:t,value:i})),r}add(t){let i=dI.create();return this.set(i,t),i}delete(t){let i=super.delete(t);return i&&this.onItemDeleted.trigger(t),i}dispose(){this.clear(),this.onItemSet.reset(),this.onItemDeleted.reset(),this.onCleared.reset()}},wM=class{static isEntry(t){return new Set(["Boolean","Color","Text","Number","Select","Vector3","TextSet","None"]).has(t.type)}static copySchema(t,i={}){for(let n in t){let s=t[n];this.isEntry(s)?i[n]=this.copyEntry(s):(i[n]={},this.copySchema(s,i[n]))}return i}static copyEntry(t){if(t.type==="Boolean"){let i=t;return{type:i.type,value:i.value}}if(t.type==="Color"){let i=t;return{type:i.type,value:i.value.clone()}}if(t.type==="Text"){let i=t;return{type:i.type,value:i.value}}if(t.type==="Number"){let i=t;return{type:i.type,value:i.value,min:i.min,max:i.max,interpolable:i.interpolable}}if(t.type==="Select"){let i=t;return{type:i.type,value:i.value,multiple:i.multiple,options:new Set(i.options)}}if(t.type==="Vector3"){let i=t;return{type:i.type,value:i.value.clone()}}if(t.type==="TextSet"){let i=t;return{type:i.type,value:new Set(i.value)}}if(t.type==="None"){let i=t;return{type:i.type,value:i.value}}throw new Error("Invalid entry!")}},Ode=class{constructor(){Le(this,"list",new Set)}add(t){for(let i of t)this.list.add(i)}remove(t){for(let i of t)this.list.delete(i)}set(t){for(let i of this.list)i.enabled=t}reset(){for(let t of this.list)t.reset()}},__=class{constructor(t,i,n,s){Le(this,"_component"),Le(this,"name"),Le(this,"uuid"),this._component=t,this.name=n,this.uuid=s??dI.create(),i.get(Vz).list.set(this.uuid,this)}get controls(){return wM.copySchema(this._config)}set(t){for(let i in t)if(i in this){let n=i;this[n]=t[i].value}}export(t=this._config,i={}){for(let n in t){let s=t[n];if(wM.isEntry(s))if(s.type==="Color"){let{r,g:l,b:d}=s.value;i[n]={...s,value:{r,g:l,b:d}}}else if(s.type==="Vector3"){let{x:r,y:l,z:d}=s.value;i[n]={...s,value:{x:r,y:l,z:d}}}else if(s.type==="TextSet"){let r=Array.from(s.value);i[n]={...s,value:r}}else if(s.type==="Select"){let r=Array.from(s.options);i[n]={...s,options:r}}else i[n]={...s};else i[n]={},this.export(s,i[n])}return i}import(t,i={},n=!0){for(let s in t){let o=t[s];if(wM.isEntry(o))if(o.type==="Color"){let{r:l,g:d,b:h}=o.value;i[s]={...o,value:new Oi(l,d,h)}}else if(o.type==="Vector3"){let{x:l,y:d,z:h}=o.value;i[s]={...o,value:new ye(l,d,h)}}else o.type==="TextSet"?i[s]={...o,value:new Set(o.value)}:o.type==="Select"?i[s]={...o,options:new Set(o.options)}:i[s]={...o};else i[s]={},this.import(o,i[s],!1)}n&&this.set(i)}},s2e=class o2e extends Gl{constructor(t){super(t),Le(this,"list",new fo),Le(this,"enabled",!0),t.add(o2e.uuid,this)}};Le(s2e,"uuid","b8c764e0-6b24-4e77-9a32-35fa728ee5b4");var Vz=s2e,Bz=class{constructor(t){Le(this,"_event"),Le(this,"_position",new hi),Le(this,"onDisposed",new $i),Le(this,"updateMouseInfo",i=>{this._event=i}),this.dom=t,this.setupEvents(!0)}get position(){return this.updatePosition(!1),this._position.clone()}get rawPosition(){return this.updatePosition(!0),this._position.clone()}dispose(){this.setupEvents(!1),this.onDisposed.trigger(),this.onDisposed.reset()}updatePosition(t){if(this._event){let i=this.dom.getBoundingClientRect();this._position.x=this.getPositionX(i,this._event,t),this._position.y=this.getPositionY(i,this._event,t)}}getPositionY(t,i,n){let s=this.getDataObject(i);return n?s.clientY:-((s.clientY-t.top)/(t.bottom-t.top))*2+1}getPositionX(t,i,n){let s=this.getDataObject(i);return n?s.clientX:(s.clientX-t.left)/(t.right-t.left)*2-1}getDataObject(t){return t instanceof MouseEvent?t:t.touches[0]}setupEvents(t){t?(this.dom.addEventListener("pointermove",this.updateMouseInfo),this.dom.addEventListener("touchstart",this.updateMouseInfo)):(this.dom.removeEventListener("pointermove",this.updateMouseInfo),this.dom.removeEventListener("touchstart",this.updateMouseInfo))}},r2e=0,zke=1,T0e=2,Wke=0,Yke=1,$ge=2,rde=1.25,Zge=1,Kf=32,R0=Kf/4,l2e=65535,wQ=Math.pow(2,-24),g0e=Symbol("SKIP_GENERATION"),a2e={strategy:r2e,maxDepth:40,maxLeafSize:10,useSharedArrayBuffer:!1,setBoundingBox:!0,onProgress:null,indirect:!1,verbose:!0,range:null,[g0e]:!1};function gu(e,t,i){return i.min.x=t[e],i.min.y=t[e+1],i.min.z=t[e+2],i.max.x=t[e+3],i.max.y=t[e+4],i.max.z=t[e+5],i}function Kge(e){let t=-1,i=-1/0;for(let n=0;n<3;n++){let s=e[n+3]-e[n];s>i&&(i=s,t=n)}return t}function Qge(e,t){t.set(e)}function Jge(e,t,i){let n,s;for(let o=0;o<3;o++){let r=o+3;n=e[o],s=t[o],i[o]=n<s?n:s,n=e[r],s=t[r],i[r]=n>s?n:s}}function qK(e,t,i){for(let n=0;n<3;n++){let s=t[e+2*n],o=t[e+2*n+1],r=s-o,l=s+o;r<i[n]&&(i[n]=r),l>i[n+3]&&(i[n+3]=l)}}function Rz(e){let t=e[3]-e[0],i=e[4]-e[1],n=e[5]-e[2];return 2*(t*i+i*n+n*t)}function S0(e,t){return t[e+15]===l2e}function Qf(e,t){return t[e+6]}function hI(e,t){return t[e+14]}function X0(e){return e+R0}function eh(e,t){let i=t[e+6];return e+i*R0}function w0e(e,t){return t[e+7]}function lde(e,t,i,n,s){let o=1/0,r=1/0,l=1/0,d=-1/0,h=-1/0,p=-1/0,I=1/0,m=1/0,y=1/0,T=-1/0,R=-1/0,b=-1/0,A=e.offset||0;for(let O=(t-A)*6,P=(t+i-A)*6;O<P;O+=6){let U=e[O+0],Z=e[O+1],ne=U-Z,K=U+Z;ne<o&&(o=ne),K>d&&(d=K),U<I&&(I=U),U>T&&(T=U);let oe=e[O+2],se=e[O+3],he=oe-se,Re=oe+se;he<r&&(r=he),Re>h&&(h=Re),oe<m&&(m=oe),oe>R&&(R=oe);let ee=e[O+4],Ae=e[O+5],Ee=ee-Ae,Ce=ee+Ae;Ee<l&&(l=Ee),Ce>p&&(p=Ce),ee<y&&(y=ee),ee>b&&(b=ee)}n[0]=o,n[1]=r,n[2]=l,n[3]=d,n[4]=h,n[5]=p,s[0]=I,s[1]=m,s[2]=y,s[3]=T,s[4]=R,s[5]=b}var eA=32,jke=(e,t)=>e.candidate-t.candidate,v_=new Array(eA).fill().map(()=>({count:0,bounds:new Float32Array(6),rightCacheBounds:new Float32Array(6),leftCacheBounds:new Float32Array(6),candidate:0})),$K=new Float32Array(6);function qke(e,t,i,n,s,o){let r=-1,l=0;if(o===r2e)r=Kge(t),r!==-1&&(l=(t[r]+t[r+3])/2);else if(o===zke)r=Kge(e),r!==-1&&(l=$ke(i,n,s,r));else if(o===T0e){let d=Rz(e),h=rde*s,p=i.offset||0,I=(n-p)*6,m=(n+s-p)*6;for(let y=0;y<3;y++){let T=t[y],A=(t[y+3]-T)/eA;if(s<eA/4){let O=[...v_];O.length=s;let P=0;for(let Z=I;Z<m;Z+=6,P++){let ne=O[P];ne.candidate=i[Z+2*y],ne.count=0;let{bounds:K,leftCacheBounds:oe,rightCacheBounds:se}=ne;for(let he=0;he<3;he++)se[he]=1/0,se[he+3]=-1/0,oe[he]=1/0,oe[he+3]=-1/0,K[he]=1/0,K[he+3]=-1/0;qK(Z,i,K)}O.sort(jke);let U=s;for(let Z=0;Z<U;Z++){let ne=O[Z];for(;Z+1<U&&O[Z+1].candidate===ne.candidate;)O.splice(Z+1,1),U--}for(let Z=I;Z<m;Z+=6){let ne=i[Z+2*y];for(let K=0;K<U;K++){let oe=O[K];ne>=oe.candidate?qK(Z,i,oe.rightCacheBounds):(qK(Z,i,oe.leftCacheBounds),oe.count++)}}for(let Z=0;Z<U;Z++){let ne=O[Z],K=ne.count,oe=s-ne.count,se=ne.leftCacheBounds,he=ne.rightCacheBounds,Re=0;K!==0&&(Re=Rz(se)/d);let ee=0;oe!==0&&(ee=Rz(he)/d);let Ae=Zge+rde*(Re*K+ee*oe);Ae<h&&(r=y,h=Ae,l=ne.candidate)}}else{for(let U=0;U<eA;U++){let Z=v_[U];Z.count=0,Z.candidate=T+A+U*A;let ne=Z.bounds;for(let K=0;K<3;K++)ne[K]=1/0,ne[K+3]=-1/0}for(let U=I;U<m;U+=6){let K=~~((i[U+2*y]-T)/A);K>=eA&&(K=eA-1);let oe=v_[K];oe.count++,qK(U,i,oe.bounds)}let O=v_[eA-1];Qge(O.bounds,O.rightCacheBounds);for(let U=eA-2;U>=0;U--){let Z=v_[U],ne=v_[U+1];Jge(Z.bounds,ne.rightCacheBounds,Z.rightCacheBounds)}let P=0;for(let U=0;U<eA-1;U++){let Z=v_[U],ne=Z.count,K=Z.bounds,se=v_[U+1].rightCacheBounds;ne!==0&&(P===0?Qge(K,$K):Jge(K,$K,$K)),P+=ne;let he=0,Re=0;P!==0&&(he=Rz($K)/d);let ee=s-P;ee!==0&&(Re=Rz(se)/d);let Ae=Zge+rde*(he*P+Re*ee);Ae<h&&(r=y,h=Ae,l=Z.candidate)}}}}else console.warn(`BVH: Invalid build strategy value ${o} used.`);return{axis:r,pos:l}}function $ke(e,t,i,n){let s=0,o=e.offset;for(let r=t,l=t+i;r<l;r++)s+=e[(r-o)*6+n*2];return s/i}var Lz=class{constructor(){this.boundingData=new Float32Array(6)}};function Zke(e,t,i,n,s,o){let r=n,l=n+s-1,d=o.pos,h=o.axis*2,p=i.offset||0;for(;;){for(;r<=l&&i[(r-p)*6+h]<d;)r++;for(;r<=l&&i[(l-p)*6+h]>=d;)l--;if(r<l){for(let I=0;I<t;I++){let m=e[r*t+I];e[r*t+I]=e[l*t+I],e[l*t+I]=m}for(let I=0;I<6;I++){let m=r-p,y=l-p,T=i[m*6+I];i[m*6+I]=i[y*6+I],i[y*6+I]=T}r++,l--}else return r}}var u2e,vQ,Lde,c2e,Kke=Math.pow(2,32);function Pde(e){return"count"in e?1:1+Pde(e.left)+Pde(e.right)}function Qke(e,t,i){return u2e=new Float32Array(i),vQ=new Uint32Array(i),Lde=new Uint16Array(i),c2e=new Uint8Array(i),Mde(e,t)}function Mde(e,t){let i=e/4,n=e/2,s="count"in t,o=t.boundingData;for(let r=0;r<6;r++)u2e[i+r]=o[r];if(s)return t.buffer?(c2e.set(new Uint8Array(t.buffer),e),e+t.buffer.byteLength):(vQ[i+6]=t.offset,Lde[n+14]=t.count,Lde[n+15]=l2e,e+Kf);{let{left:r,right:l,splitAxis:d}=t,h=e+Kf,p=Mde(h,r),I=e/Kf,y=p/Kf-I;if(y>Kke)throw new Error("MeshBVH: Cannot store relative child node offset greater than 32 bits.");return vQ[i+6]=y,vQ[i+7]=d,Mde(p,l)}}function Jke(e,t,i,n,s,o){let{maxDepth:r,verbose:l,maxLeafSize:d,strategy:h,onProgress:p}=s,I=e.primitiveBuffer,m=e.primitiveBufferStride,y=new Float32Array(6),T=!1,R=new Lz;return lde(t,i,n,R.boundingData,y),A(R,i,n,y),R;function b(O){p&&p((O-o.offset)/o.count)}function A(O,P,U,Z=null,ne=0){if(!T&&ne>=r&&(T=!0,l&&console.warn(`BVH: Max depth of ${r} reached when generating BVH. Consider increasing maxDepth.`)),U<=d||ne>=r)return b(P+U),O.offset=P,O.count=U,O;let K=qke(O.boundingData,Z,t,P,U,h);if(K.axis===-1)return b(P+U),O.offset=P,O.count=U,O;let oe=Zke(I,m,t,P,U,K);if(oe===P||oe===P+U)b(P+U),O.offset=P,O.count=U;else{O.splitAxis=K.axis;let se=new Lz,he=P,Re=oe-P;O.left=se,lde(t,he,Re,se.boundingData,y),A(se,he,Re,y,ne+1);let ee=new Lz,Ae=oe,Ee=U-Re;O.right=ee,lde(t,Ae,Ee,ee.boundingData,y),A(ee,Ae,Ee,y,ne+1)}return O}}function Xke(e,t){let i=t.useSharedArrayBuffer?SharedArrayBuffer:ArrayBuffer,n=e.getRootRanges(t.range),s=n[0],o=n[n.length-1],r={offset:s.offset,count:o.offset+o.count-s.offset},l=new Float32Array(6*r.count);l.offset=r.offset,e.computePrimitiveBounds(r.offset,r.count,l),e._roots=n.map(d=>{let h=Jke(e,l,d.offset,d.count,t,r),p=Pde(h),I=new i(Kf*p);return Qke(0,h,I),I})}var AM=class{constructor(t){this._getNewPrimitive=t,this._primitives=[]}getPrimitive(){let t=this._primitives;return t.length===0?this._getNewPrimitive():t.pop()}releasePrimitive(t){this._primitives.push(t)}},Bde=class{constructor(){this.float32Array=null,this.uint16Array=null,this.uint32Array=null;let t=[],i=null;this.setBuffer=n=>{i&&t.push(i),i=n,this.float32Array=new Float32Array(n),this.uint16Array=new Uint16Array(n),this.uint32Array=new Uint32Array(n)},this.clearBuffer=()=>{i=null,this.float32Array=null,this.uint16Array=null,this.uint32Array=null,t.length!==0&&this.setBuffer(t.pop())}}},Hl=new Bde,N_,gM,uM=[],ZK=new AM(()=>new kn);function eze(e,t,i,n,s,o){N_=ZK.getPrimitive(),gM=ZK.getPrimitive(),uM.push(N_,gM),Hl.setBuffer(e._roots[t]);let r=Fde(0,e.geometry,i,n,s,o);Hl.clearBuffer(),ZK.releasePrimitive(N_),ZK.releasePrimitive(gM),uM.pop(),uM.pop();let l=uM.length;return l>0&&(gM=uM[l-1],N_=uM[l-2]),r}function Fde(e,t,i,n,s=null,o=0,r=0){let{float32Array:l,uint16Array:d,uint32Array:h}=Hl,p=e*2;if(S0(p,d)){let m=Qf(e,h),y=hI(p,d);return gu(e,l,N_),n(m,y,!1,r,o+e/R0,N_)}else{let m=function(ee){let{uint16Array:Ae,uint32Array:Ee}=Hl,Ce=ee*2;for(;!S0(Ce,Ae);)ee=X0(ee),Ce=ee*2;return Qf(ee,Ee)},y=function(ee){let{uint16Array:Ae,uint32Array:Ee}=Hl,Ce=ee*2;for(;!S0(Ce,Ae);)ee=eh(ee,Ee),Ce=ee*2;return Qf(ee,Ee)+hI(Ce,Ae)},T=X0(e),R=eh(e,h),b=T,A=R,O,P,U,Z;if(s&&(U=N_,Z=gM,gu(b,l,U),gu(A,l,Z),O=s(U),P=s(Z),P<O)){b=R,A=T;let ee=O;O=P,P=ee,U=Z}U||(U=N_,gu(b,l,U));let ne=S0(b*2,d),K=i(U,ne,O,r+1,o+b/R0),oe;if(K===$ge){let ee=m(b),Ee=y(b)-ee;oe=n(ee,Ee,!0,r+1,o+b/R0,U)}else oe=K&&Fde(b,t,i,n,s,o,r+1);if(oe)return!0;Z=gM,gu(A,l,Z);let se=S0(A*2,d),he=i(Z,se,P,r+1,o+A/R0),Re;if(he===$ge){let ee=m(A),Ee=y(A)-ee;Re=n(ee,Ee,!0,r+1,o+A/R0,Z)}else Re=he&&Fde(A,t,i,n,s,o,r+1);return!!Re}}var Pz=new Hl.constructor,CQ=new Hl.constructor,b_=new AM(()=>new kn),cM=new kn,dM=new kn,ade=new kn,ude=new kn,cde=!1;function tze(e,t,i,n){if(cde)throw new Error("MeshBVH: Recursive calls to bvhcast not supported.");cde=!0;let s=e._roots,o=t._roots,r,l=0,d=0,h=new Ai().copy(i).invert();for(let p=0,I=s.length;p<I;p++){Pz.setBuffer(s[p]),d=0;let m=b_.getPrimitive();gu(0,Pz.float32Array,m),m.applyMatrix4(h);for(let y=0,T=o.length;y<T&&(CQ.setBuffer(o[y]),r=W3(0,0,i,h,n,l,d,0,0,m),CQ.clearBuffer(),d+=o[y].byteLength/Kf,!r);y++);if(b_.releasePrimitive(m),Pz.clearBuffer(),l+=s[p].byteLength/Kf,r)break}return cde=!1,r}function W3(e,t,i,n,s,o=0,r=0,l=0,d=0,h=null,p=!1){let I,m;p?(I=CQ,m=Pz):(I=Pz,m=CQ);let y=I.float32Array,T=I.uint32Array,R=I.uint16Array,b=m.float32Array,A=m.uint32Array,O=m.uint16Array,P=e*2,U=t*2,Z=S0(P,R),ne=S0(U,O),K=!1;if(ne&&Z)p?K=s(Qf(t,A),hI(t*2,O),Qf(e,T),hI(e*2,R),d,r+t/R0,l,o+e/R0):K=s(Qf(e,T),hI(e*2,R),Qf(t,A),hI(t*2,O),l,o+e/R0,d,r+t/R0);else if(ne){let oe=b_.getPrimitive();gu(t,b,oe),oe.applyMatrix4(i);let se=X0(e),he=eh(e,T);gu(se,y,cM),gu(he,y,dM);let Re=oe.intersectsBox(cM),ee=oe.intersectsBox(dM);K=Re&&W3(t,se,n,i,s,r,o,d,l+1,oe,!p)||ee&&W3(t,he,n,i,s,r,o,d,l+1,oe,!p),b_.releasePrimitive(oe)}else{let oe=X0(t),se=eh(t,A);gu(oe,b,ade),gu(se,b,ude);let he=h.intersectsBox(ade),Re=h.intersectsBox(ude);if(he&&Re)K=W3(e,oe,i,n,s,o,r,l,d+1,h,p)||W3(e,se,i,n,s,o,r,l,d+1,h,p);else if(he)if(Z)K=W3(e,oe,i,n,s,o,r,l,d+1,h,p);else{let ee=b_.getPrimitive();ee.copy(ade).applyMatrix4(i);let Ae=X0(e),Ee=eh(e,T);gu(Ae,y,cM),gu(Ee,y,dM);let Ce=ee.intersectsBox(cM),Qe=ee.intersectsBox(dM);K=Ce&&W3(oe,Ae,n,i,s,r,o,d,l+1,ee,!p)||Qe&&W3(oe,Ee,n,i,s,r,o,d,l+1,ee,!p),b_.releasePrimitive(ee)}else if(Re)if(Z)K=W3(e,se,i,n,s,o,r,l,d+1,h,p);else{let ee=b_.getPrimitive();ee.copy(ude).applyMatrix4(i);let Ae=X0(e),Ee=eh(e,T);gu(Ae,y,cM),gu(Ee,y,dM);let Ce=ee.intersectsBox(cM),Qe=ee.intersectsBox(dM);K=Ce&&W3(se,Ae,n,i,s,r,o,d,l+1,ee,!p)||Qe&&W3(se,Ee,n,i,s,r,o,d,l+1,ee,!p),b_.releasePrimitive(ee)}}return K}var Xge=new kn,hM=new Float32Array(6),xQ=class{constructor(){this._roots=null,this.primitiveBuffer=null,this.primitiveBufferStride=null}init(t){t={...a2e,...t},Xke(this,t)}getRootRanges(){throw new Error("BVH: getRootRanges() not implemented")}writePrimitiveBounds(){throw new Error("BVH: writePrimitiveBounds() not implemented")}writePrimitiveRangeBounds(t,i,n,s){let o=1/0,r=1/0,l=1/0,d=-1/0,h=-1/0,p=-1/0;for(let I=t,m=t+i;I<m;I++){this.writePrimitiveBounds(I,hM,0);let[y,T,R,b,A,O]=hM;y<o&&(o=y),b>d&&(d=b),T<r&&(r=T),A>h&&(h=A),R<l&&(l=R),O>p&&(p=O)}return n[s+0]=o,n[s+1]=r,n[s+2]=l,n[s+3]=d,n[s+4]=h,n[s+5]=p,n}computePrimitiveBounds(t,i,n){let s=n.offset||0;for(let o=t,r=t+i;o<r;o++){this.writePrimitiveBounds(o,hM,0);let[l,d,h,p,I,m]=hM,y=(l+p)/2,T=(d+I)/2,R=(h+m)/2,b=(p-l)/2,A=(I-d)/2,O=(m-h)/2,P=(o-s)*6;n[P+0]=y,n[P+1]=b+(Math.abs(y)+b)*wQ,n[P+2]=T,n[P+3]=A+(Math.abs(T)+A)*wQ,n[P+4]=R,n[P+5]=O+(Math.abs(R)+O)*wQ}return n}shiftPrimitiveOffsets(t){let i=this._indirectBuffer;if(i)for(let n=0,s=i.length;n<s;n++)i[n]+=t;else{let n=this._roots;for(let s=0;s<n.length;s++){let o=n[s],r=new Uint32Array(o),l=new Uint16Array(o),d=o.byteLength/Kf;for(let h=0;h<d;h++){let p=R0*h,I=2*p;S0(I,l)&&(r[p+6]+=t)}}}}traverse(t,i=0){let n=this._roots[i],s=new Uint32Array(n),o=new Uint16Array(n);r(0);function r(l,d=0){let h=l*2,p=S0(h,o);if(p){let I=s[l+6],m=o[h+14];t(d,p,new Float32Array(n,l*4,6),I,m)}else{let I=X0(l),m=eh(l,s),y=w0e(l,s);t(d,p,new Float32Array(n,l*4,6),y)||(r(I,d+1),r(m,d+1))}}}refit(){let t=this._roots;for(let i=0,n=t.length;i<n;i++){let s=t[i],o=new Uint32Array(s),r=new Uint16Array(s),l=new Float32Array(s),d=s.byteLength/Kf;for(let h=d-1;h>=0;h--){let p=h*R0,I=p*2;if(S0(I,r)){let y=Qf(p,o),T=hI(I,r);this.writePrimitiveRangeBounds(y,T,hM,0),l.set(hM,p)}else{let y=X0(p),T=eh(p,o);for(let R=0;R<3;R++){let b=l[y+R],A=l[y+R+3],O=l[T+R],P=l[T+R+3];l[p+R]=b<O?b:O,l[p+R+3]=A>P?A:P}}}}}getBoundingBox(t){return t.makeEmpty(),this._roots.forEach(n=>{gu(0,new Float32Array(n),Xge),t.union(Xge)}),t}shapecast(t){let{boundsTraverseOrder:i,intersectsBounds:n,intersectsRange:s,intersectsPrimitive:o,scratchPrimitive:r,iterate:l}=t;if(s&&o){let I=s;s=(m,y,T,R,b)=>I(m,y,T,R,b)?!0:l(m,y,this,o,T,R,r)}else s||(o?s=(I,m,y,T)=>l(I,m,this,o,y,T,r):s=(I,m,y)=>y);let d=!1,h=0,p=this._roots;for(let I=0,m=p.length;I<m;I++){let y=p[I];if(d=eze(this,I,n,s,i,h),d)break;h+=y.byteLength/Kf}return d}bvhcast(t,i,n){let{intersectsRanges:s}=n;return tze(this,t,i,s)}};function ize(){return typeof SharedArrayBuffer<"u"}function v0e(e){return e.index?e.index.count:e.attributes.position.count}function hJ(e){return v0e(e)/3}function nze(e,t=ArrayBuffer){return e>65535?new Uint32Array(new t(4*e)):new Uint16Array(new t(2*e))}function sze(e,t){if(!e.index){let i=e.attributes.position.count,n=t.useSharedArrayBuffer?SharedArrayBuffer:ArrayBuffer,s=nze(i,n);e.setIndex(new Tn(s,1));for(let o=0;o<i;o++)s[o]=o}}function oze(e,t,i){let n=v0e(e)/i,s=t||e.drawRange,o=s.start/i,r=(s.start+s.count)/i,l=Math.max(0,o),d=Math.min(n,r)-l;return{offset:Math.floor(l),count:Math.floor(d)}}function rze(e,t){return e.groups.map(i=>({offset:i.start/t,count:i.count/t}))}function ewe(e,t,i){let n=oze(e,t,i),s=rze(e,i);if(!s.length)return[n];let o=[],r=n.offset,l=n.offset+n.count,d=v0e(e)/i,h=[];for(let m of s){let{offset:y,count:T}=m,R=y,b=isFinite(T)?T:d-y,A=y+b;R<l&&A>r&&(h.push({pos:Math.max(r,R),isStart:!0}),h.push({pos:Math.min(l,A),isStart:!1}))}h.sort((m,y)=>m.pos!==y.pos?m.pos-y.pos:m.type==="end"?-1:1);let p=0,I=null;for(let m of h){let y=m.pos;p!==0&&y!==I&&o.push({offset:I,count:y-I}),p+=m.isStart?1:-1,I=y}return o}function lze(e,t){let i=e[e.length-1],n=i.offset+i.count>2**16,s=e.reduce((h,p)=>h+p.count,0),o=n?4:2,r=t?new SharedArrayBuffer(s*o):new ArrayBuffer(s*o),l=n?new Uint32Array(r):new Uint16Array(r),d=0;for(let h=0;h<e.length;h++){let{offset:p,count:I}=e[h];for(let m=0;m<I;m++)l[d+m]=p+m;d+=I}return l}var OQ=class extends xQ{get indirect(){return!!this._indirectBuffer}get primitiveStride(){return null}get primitiveBufferStride(){return this.indirect?1:this.primitiveStride}set primitiveBufferStride(t){}get primitiveBuffer(){return this.indirect?this._indirectBuffer:this.geometry.index.array}set primitiveBuffer(t){}constructor(t,i={}){if(t.isBufferGeometry){if(t.index&&t.index.isInterleavedBufferAttribute)throw new Error("BVH: InterleavedBufferAttribute is not supported for the index attribute.")}else throw new Error("BVH: Only BufferGeometries are supported.");if(i.useSharedArrayBuffer&&!ize())throw new Error("BVH: SharedArrayBuffer is not available.");super(),this.geometry=t,this.resolvePrimitiveIndex=i.indirect?n=>this._indirectBuffer[n]:n=>n,this.primitiveBuffer=null,this.primitiveBufferStride=null,this._indirectBuffer=null,i={...a2e,...i},i[g0e]||this.init(i)}init(t){let{geometry:i,primitiveStride:n}=this;if(t.indirect){let s=ewe(i,t.range,n),o=lze(s,t.useSharedArrayBuffer);this._indirectBuffer=o}else sze(i,t);super.init(t),!i.boundingBox&&t.setBoundingBox&&(i.boundingBox=this.getBoundingBox(new kn))}getRootRanges(t){return this.indirect?[{offset:0,count:this._indirectBuffer.length}]:ewe(this.geometry,t,this.primitiveStride)}raycastObject3D(){throw new Error("BVH: raycastObject3D() not implemented")}},Y3=class{constructor(){this.min=1/0,this.max=-1/0}setFromPointsField(t,i){let n=1/0,s=-1/0;for(let o=0,r=t.length;o<r;o++){let d=t[o][i];n=d<n?d:n,s=d>s?d:s}this.min=n,this.max=s}setFromPoints(t,i){let n=1/0,s=-1/0;for(let o=0,r=i.length;o<r;o++){let l=i[o],d=t.dot(l);n=d<n?d:n,s=d>s?d:s}this.min=n,this.max=s}isSeparated(t){return this.min>t.max||t.min>this.max}};Y3.prototype.setFromBox=(function(){let e=new ye;return function(i,n){let s=n.min,o=n.max,r=1/0,l=-1/0;for(let d=0;d<=1;d++)for(let h=0;h<=1;h++)for(let p=0;p<=1;p++){e.x=s.x*d+o.x*(1-d),e.y=s.y*h+o.y*(1-h),e.z=s.z*p+o.z*(1-p);let I=i.dot(e);r=Math.min(I,r),l=Math.max(I,l)}this.min=r,this.max=l}})();var aze=(function(){let e=new ye,t=new ye,i=new ye;return function(s,o,r){let l=s.start,d=e,h=o.start,p=t;i.subVectors(l,h),e.subVectors(s.end,s.start),t.subVectors(o.end,o.start);let I=i.dot(p),m=p.dot(d),y=p.dot(p),T=i.dot(d),b=d.dot(d)*y-m*m,A,O;b!==0?A=(I*m-T*y)/b:A=0,O=(I+A*m)/y,r.x=A,r.y=O}})(),R0e=(function(){let e=new hi,t=new ye,i=new ye;return function(s,o,r,l){aze(s,o,e);let d=e.x,h=e.y;if(d>=0&&d<=1&&h>=0&&h<=1){s.at(d,r),o.at(h,l);return}else if(d>=0&&d<=1){h<0?o.at(0,l):o.at(1,l),s.closestPointToPoint(l,!0,r);return}else if(h>=0&&h<=1){d<0?s.at(0,r):s.at(1,r),o.closestPointToPoint(r,!0,l);return}else{let p;d<0?p=s.start:p=s.end;let I;h<0?I=o.start:I=o.end;let m=t,y=i;if(s.closestPointToPoint(I,!0,t),o.closestPointToPoint(p,!0,i),m.distanceToSquared(I)<=y.distanceToSquared(p)){r.copy(m),l.copy(I);return}else{r.copy(p),l.copy(y);return}}}})(),uze=(function(){let e=new ye,t=new ye,i=new es,n=new ds;return function(o,r){let{radius:l,center:d}=o,{a:h,b:p,c:I}=r;if(n.start=h,n.end=p,n.closestPointToPoint(d,!0,e).distanceTo(d)<=l||(n.start=h,n.end=I,n.closestPointToPoint(d,!0,e).distanceTo(d)<=l)||(n.start=p,n.end=I,n.closestPointToPoint(d,!0,e).distanceTo(d)<=l))return!0;let R=r.getPlane(i);if(Math.abs(R.distanceToPoint(d))<=l){let A=R.projectPoint(d,t);if(r.containsPoint(A))return!0}return!1}})(),cze=["x","y","z"],iA=1e-15,twe=iA*iA;function RE(e){return Math.abs(e)<iA}var fI=class extends fr{constructor(...t){super(...t),this.isExtendedTriangle=!0,this.satAxes=new Array(4).fill().map(()=>new ye),this.satBounds=new Array(4).fill().map(()=>new Y3),this.points=[this.a,this.b,this.c],this.plane=new es,this.isDegenerateIntoSegment=!1,this.isDegenerateIntoPoint=!1,this.degenerateSegment=new ds,this.needsUpdate=!0}intersectsSphere(t){return uze(t,this)}update(){let t=this.a,i=this.b,n=this.c,s=this.points,o=this.satAxes,r=this.satBounds,l=o[0],d=r[0];this.getNormal(l),d.setFromPoints(l,s);let h=o[1],p=r[1];h.subVectors(t,i),p.setFromPoints(h,s);let I=o[2],m=r[2];I.subVectors(i,n),m.setFromPoints(I,s);let y=o[3],T=r[3];y.subVectors(n,t),T.setFromPoints(y,s);let R=h.length(),b=I.length(),A=y.length();this.isDegenerateIntoPoint=!1,this.isDegenerateIntoSegment=!1,R<iA?b<iA||A<iA?this.isDegenerateIntoPoint=!0:(this.isDegenerateIntoSegment=!0,this.degenerateSegment.start.copy(t),this.degenerateSegment.end.copy(n)):b<iA?A<iA?this.isDegenerateIntoPoint=!0:(this.isDegenerateIntoSegment=!0,this.degenerateSegment.start.copy(i),this.degenerateSegment.end.copy(t)):A<iA&&(this.isDegenerateIntoSegment=!0,this.degenerateSegment.start.copy(n),this.degenerateSegment.end.copy(i)),this.plane.setFromNormalAndCoplanarPoint(l,t),this.needsUpdate=!1}};fI.prototype.closestPointToSegment=(function(){let e=new ye,t=new ye,i=new ds;return function(s,o=null,r=null){let{start:l,end:d}=s,h=this.points,p,I=1/0;for(let m=0;m<3;m++){let y=(m+1)%3;i.start.copy(h[m]),i.end.copy(h[y]),R0e(i,s,e,t),p=e.distanceToSquared(t),p<I&&(I=p,o&&o.copy(e),r&&r.copy(t))}return this.closestPointToPoint(l,e),p=l.distanceToSquared(e),p<I&&(I=p,o&&o.copy(e),r&&r.copy(l)),this.closestPointToPoint(d,e),p=d.distanceToSquared(e),p<I&&(I=p,o&&o.copy(e),r&&r.copy(d)),Math.sqrt(I)}})();fI.prototype.intersectsTriangle=(function(){let e=new fI,t=new Y3,i=new Y3,n=new ye,s=new ye,o=new ye,r=new ye,l=new ds,d=new ds,h=new ye,p=new hi,I=new hi;function m(P,U,Z,ne){let K=n;!P.isDegenerateIntoPoint&&!P.isDegenerateIntoSegment?K.copy(P.plane.normal):K.copy(U.plane.normal);let oe=P.satBounds,se=P.satAxes;for(let ee=1;ee<4;ee++){let Ae=oe[ee],Ee=se[ee];if(t.setFromPoints(Ee,U.points),Ae.isSeparated(t)||(r.copy(K).cross(Ee),t.setFromPoints(r,P.points),i.setFromPoints(r,U.points),t.isSeparated(i)))return!1}let he=U.satBounds,Re=U.satAxes;for(let ee=1;ee<4;ee++){let Ae=he[ee],Ee=Re[ee];if(t.setFromPoints(Ee,P.points),Ae.isSeparated(t)||(r.crossVectors(K,Ee),t.setFromPoints(r,P.points),i.setFromPoints(r,U.points),t.isSeparated(i)))return!1}return Z&&(ne||console.warn("ExtendedTriangle.intersectsTriangle: Triangles are coplanar which does not support an output edge. Setting edge to 0, 0, 0."),Z.start.set(0,0,0),Z.end.set(0,0,0)),!0}function y(P,U,Z,ne,K,oe,se,he,Re,ee,Ae){let Ee=se/(se-he);ee.x=ne+(K-ne)*Ee,Ae.start.subVectors(U,P).multiplyScalar(Ee).add(P),Ee=se/(se-Re),ee.y=ne+(oe-ne)*Ee,Ae.end.subVectors(Z,P).multiplyScalar(Ee).add(P)}function T(P,U,Z,ne,K,oe,se,he,Re,ee,Ae){if(K>0)y(P.c,P.a,P.b,ne,U,Z,Re,se,he,ee,Ae);else if(oe>0)y(P.b,P.a,P.c,Z,U,ne,he,se,Re,ee,Ae);else if(he*Re>0||se!=0)y(P.a,P.b,P.c,U,Z,ne,se,he,Re,ee,Ae);else if(he!=0)y(P.b,P.a,P.c,Z,U,ne,he,se,Re,ee,Ae);else if(Re!=0)y(P.c,P.a,P.b,ne,U,Z,Re,se,he,ee,Ae);else return!0;return!1}function R(P,U,Z,ne){let K=U.degenerateSegment,oe=P.plane.distanceToPoint(K.start),se=P.plane.distanceToPoint(K.end);return RE(oe)?RE(se)?m(P,U,Z,ne):(Z&&(Z.start.copy(K.start),Z.end.copy(K.start)),P.containsPoint(K.start)):RE(se)?(Z&&(Z.start.copy(K.end),Z.end.copy(K.end)),P.containsPoint(K.end)):P.plane.intersectLine(K,n)!=null?(Z&&(Z.start.copy(n),Z.end.copy(n)),P.containsPoint(n)):!1}function b(P,U,Z){let ne=U.a;return RE(P.plane.distanceToPoint(ne))&&P.containsPoint(ne)?(Z&&(Z.start.copy(ne),Z.end.copy(ne)),!0):!1}function A(P,U,Z){let ne=P.degenerateSegment,K=U.a;return ne.closestPointToPoint(K,!0,n),K.distanceToSquared(n)<twe?(Z&&(Z.start.copy(K),Z.end.copy(K)),!0):!1}function O(P,U,Z,ne){if(P.isDegenerateIntoSegment)if(U.isDegenerateIntoSegment){let K=P.degenerateSegment,oe=U.degenerateSegment,se=s,he=o;K.delta(se),oe.delta(he);let Re=n.subVectors(oe.start,K.start),ee=se.x*he.y-se.y*he.x;if(RE(ee))return!1;let Ae=(Re.x*he.y-Re.y*he.x)/ee,Ee=-(se.x*Re.y-se.y*Re.x)/ee;if(Ae<0||Ae>1||Ee<0||Ee>1)return!1;let Ce=K.start.z+se.z*Ae,Qe=oe.start.z+he.z*Ee;return RE(Ce-Qe)?(Z&&(Z.start.copy(K.start).addScaledVector(se,Ae),Z.end.copy(K.start).addScaledVector(se,Ae)),!0):!1}else return U.isDegenerateIntoPoint?A(P,U,Z):R(U,P,Z,ne);else{if(P.isDegenerateIntoPoint)return U.isDegenerateIntoPoint?U.a.distanceToSquared(P.a)<twe?(Z&&(Z.start.copy(P.a),Z.end.copy(P.a)),!0):!1:U.isDegenerateIntoSegment?A(U,P,Z):b(U,P,Z);if(U.isDegenerateIntoPoint)return b(P,U,Z);if(U.isDegenerateIntoSegment)return R(P,U,Z,ne)}}return function(U,Z=null,ne=!1){this.needsUpdate&&this.update(),U.isExtendedTriangle?U.needsUpdate&&U.update():(e.copy(U),e.update(),U=e);let K=O(this,U,Z,ne);if(K!==void 0)return K;let oe=this.plane,se=U.plane,he=se.distanceToPoint(this.a),Re=se.distanceToPoint(this.b),ee=se.distanceToPoint(this.c);RE(he)&&(he=0),RE(Re)&&(Re=0),RE(ee)&&(ee=0);let Ae=he*Re,Ee=he*ee;if(Ae>0&&Ee>0)return!1;let Ce=oe.distanceToPoint(U.a),Qe=oe.distanceToPoint(U.b),qe=oe.distanceToPoint(U.c);RE(Ce)&&(Ce=0),RE(Qe)&&(Qe=0),RE(qe)&&(qe=0);let St=Ce*Qe,$e=Ce*qe;if(St>0&&$e>0)return!1;s.copy(oe.normal),o.copy(se.normal);let ke=s.cross(o),It=0,ft=Math.abs(ke.x),Dt=Math.abs(ke.y);Dt>ft&&(ft=Dt,It=1),Math.abs(ke.z)>ft&&(It=2);let Ct=cze[It],Ut=this.a[Ct],ii=this.b[Ct],Vt=this.c[Ct],Kt=U.a[Ct],ui=U.b[Ct],jt=U.c[Ct];if(T(this,Ut,ii,Vt,Ae,Ee,he,Re,ee,p,l))return m(this,U,Z,ne);if(T(U,Kt,ui,jt,St,$e,Ce,Qe,qe,I,d))return m(this,U,Z,ne);if(p.y<p.x){let Oe=p.y;p.y=p.x,p.x=Oe,h.copy(l.start),l.start.copy(l.end),l.end.copy(h)}if(I.y<I.x){let Oe=I.y;I.y=I.x,I.x=Oe,h.copy(d.start),d.start.copy(d.end),d.end.copy(h)}return p.y<I.x||I.y<p.x?!1:(Z&&(I.x>p.x?Z.start.copy(d.start):Z.start.copy(l.start),I.y<p.y?Z.end.copy(d.end):Z.end.copy(l.end)),!0)}})();fI.prototype.distanceToPoint=(function(){let e=new ye;return function(i){return this.closestPointToPoint(i,e),i.distanceTo(e)}})();fI.prototype.distanceToTriangle=(function(){let e=new ye,t=new ye,i=["a","b","c"],n=new ds,s=new ds;return function(r,l=null,d=null){let h=l||d?n:null;if(this.intersectsTriangle(r,h))return(l||d)&&(l&&h.getCenter(l),d&&h.getCenter(d)),0;let p=1/0;for(let I=0;I<3;I++){let m,y=i[I],T=r[y];this.closestPointToPoint(T,e),m=T.distanceToSquared(e),m<p&&(p=m,l&&l.copy(e),d&&d.copy(T));let R=this[y];r.closestPointToPoint(R,e),m=R.distanceToSquared(e),m<p&&(p=m,l&&l.copy(R),d&&d.copy(e))}for(let I=0;I<3;I++){let m=i[I],y=i[(I+1)%3];n.set(this[m],this[y]);for(let T=0;T<3;T++){let R=i[T],b=i[(T+1)%3];s.set(r[R],r[b]),R0e(n,s,e,t);let A=e.distanceToSquared(t);A<p&&(p=A,l&&l.copy(e),d&&d.copy(t))}}return Math.sqrt(p)}})();var Qh=class{constructor(t,i,n){this.isOrientedBox=!0,this.min=new ye,this.max=new ye,this.matrix=new Ai,this.invMatrix=new Ai,this.points=new Array(8).fill().map(()=>new ye),this.satAxes=new Array(3).fill().map(()=>new ye),this.satBounds=new Array(3).fill().map(()=>new Y3),this.alignedSatBounds=new Array(3).fill().map(()=>new Y3),this.needsUpdate=!1,t&&this.min.copy(t),i&&this.max.copy(i),n&&this.matrix.copy(n)}set(t,i,n){this.min.copy(t),this.max.copy(i),this.matrix.copy(n),this.needsUpdate=!0}copy(t){this.min.copy(t.min),this.max.copy(t.max),this.matrix.copy(t.matrix),this.needsUpdate=!0}};Qh.prototype.update=(function(){return function(){let t=this.matrix,i=this.min,n=this.max,s=this.points;for(let h=0;h<=1;h++)for(let p=0;p<=1;p++)for(let I=0;I<=1;I++){let m=1*h|2*p|4*I,y=s[m];y.x=h?n.x:i.x,y.y=p?n.y:i.y,y.z=I?n.z:i.z,y.applyMatrix4(t)}let o=this.satBounds,r=this.satAxes,l=s[0];for(let h=0;h<3;h++){let p=r[h],I=o[h],m=1<<h,y=s[m];p.subVectors(l,y),I.setFromPoints(p,s)}let d=this.alignedSatBounds;d[0].setFromPointsField(s,"x"),d[1].setFromPointsField(s,"y"),d[2].setFromPointsField(s,"z"),this.invMatrix.copy(this.matrix).invert(),this.needsUpdate=!1}})();Qh.prototype.intersectsBox=(function(){let e=new Y3;return function(i){this.needsUpdate&&this.update();let n=i.min,s=i.max,o=this.satBounds,r=this.satAxes,l=this.alignedSatBounds;if(e.min=n.x,e.max=s.x,l[0].isSeparated(e)||(e.min=n.y,e.max=s.y,l[1].isSeparated(e))||(e.min=n.z,e.max=s.z,l[2].isSeparated(e)))return!1;for(let d=0;d<3;d++){let h=r[d],p=o[d];if(e.setFromBox(h,i),p.isSeparated(e))return!1}return!0}})();Qh.prototype.intersectsTriangle=(function(){let e=new fI,t=new Array(3),i=new Y3,n=new Y3,s=new ye;return function(r){this.needsUpdate&&this.update(),r.isExtendedTriangle?r.needsUpdate&&r.update():(e.copy(r),e.update(),r=e);let l=this.satBounds,d=this.satAxes;t[0]=r.a,t[1]=r.b,t[2]=r.c;for(let m=0;m<3;m++){let y=l[m],T=d[m];if(i.setFromPoints(T,t),y.isSeparated(i))return!1}let h=r.satBounds,p=r.satAxes,I=this.points;for(let m=0;m<3;m++){let y=h[m],T=p[m];if(i.setFromPoints(T,I),y.isSeparated(i))return!1}for(let m=0;m<3;m++){let y=d[m];for(let T=0;T<4;T++){let R=p[T];if(s.crossVectors(y,R),i.setFromPoints(s,t),n.setFromPoints(s,I),i.isSeparated(n))return!1}}return!0}})();Qh.prototype.closestPointToPoint=(function(){return function(t,i){return this.needsUpdate&&this.update(),i.copy(t).applyMatrix4(this.invMatrix).clamp(this.min,this.max).applyMatrix4(this.matrix),i}})();Qh.prototype.distanceToPoint=(function(){let e=new ye;return function(i){return this.closestPointToPoint(i,e),i.distanceTo(e)}})();Qh.prototype.distanceToBox=(function(){let e=["x","y","z"],t=new Array(12).fill().map(()=>new ds),i=new Array(12).fill().map(()=>new ds),n=new ye,s=new ye;return function(r,l=0,d=null,h=null){if(this.needsUpdate&&this.update(),this.intersectsBox(r))return(d||h)&&(r.getCenter(s),this.closestPointToPoint(s,n),r.closestPointToPoint(n,s),d&&d.copy(n),h&&h.copy(s)),0;let p=l*l,I=r.min,m=r.max,y=this.points,T=1/0;for(let b=0;b<8;b++){let A=y[b];s.copy(A).clamp(I,m);let O=A.distanceToSquared(s);if(O<T&&(T=O,d&&d.copy(A),h&&h.copy(s),O<p))return Math.sqrt(O)}let R=0;for(let b=0;b<3;b++)for(let A=0;A<=1;A++)for(let O=0;O<=1;O++){let P=(b+1)%3,U=(b+2)%3,Z=A<<P|O<<U,ne=1<<b|A<<P|O<<U,K=y[Z],oe=y[ne];t[R].set(K,oe);let he=e[b],Re=e[P],ee=e[U],Ae=i[R],Ee=Ae.start,Ce=Ae.end;Ee[he]=I[he],Ee[Re]=A?I[Re]:m[Re],Ee[ee]=O?I[ee]:m[Re],Ce[he]=m[he],Ce[Re]=A?I[Re]:m[Re],Ce[ee]=O?I[ee]:m[Re],R++}for(let b=0;b<=1;b++)for(let A=0;A<=1;A++)for(let O=0;O<=1;O++){s.x=b?m.x:I.x,s.y=A?m.y:I.y,s.z=O?m.z:I.z,this.closestPointToPoint(s,n);let P=s.distanceToSquared(n);if(P<T&&(T=P,d&&d.copy(n),h&&h.copy(s),P<p))return Math.sqrt(P)}for(let b=0;b<12;b++){let A=t[b];for(let O=0;O<12;O++){let P=i[O];R0e(A,P,n,s);let U=n.distanceToSquared(s);if(U<T&&(T=U,d&&d.copy(n),h&&h.copy(s),U<p))return Math.sqrt(U)}}return Math.sqrt(T)}})();var Ude=class extends AM{constructor(){super(()=>new fI)}},AE=new Ude,Sz=new ye,dde=new ye;function dze(e,t,i={},n=0,s=1/0){let o=n*n,r=s*s,l=1/0,d=null;if(e.shapecast({boundsTraverseOrder:p=>(Sz.copy(t).clamp(p.min,p.max),Sz.distanceToSquared(t)),intersectsBounds:(p,I,m)=>m<l&&m<r,intersectsTriangle:(p,I)=>{p.closestPointToPoint(t,Sz);let m=t.distanceToSquared(Sz);return m<l&&(dde.copy(Sz),l=m,d=I),m<o}}),l===1/0)return null;let h=Math.sqrt(l);return i.point?i.point.copy(dde):i.point=dde.clone(),i.distance=h,i.faceIndex=d,i}var KK=parseInt("184")>=169,hze=parseInt("184")<=161,Hx=new ye,Gx=new ye,Vx=new ye,QK=new hi,JK=new hi,XK=new hi,iwe=new ye,nwe=new ye,swe=new ye,Az=new ye;function fze(e,t,i,n,s,o,r,l){let d;if(o===Js?d=e.intersectTriangle(n,i,t,!0,s):d=e.intersectTriangle(t,i,n,o!==so,s),d===null)return null;let h=e.origin.distanceTo(s);return h<r||h>l?null:{distance:h,point:s.clone()}}function owe(e,t,i,n,s,o,r,l,d,h,p){Hx.fromBufferAttribute(t,o),Gx.fromBufferAttribute(t,r),Vx.fromBufferAttribute(t,l);let I=fze(e,Hx,Gx,Vx,Az,d,h,p);if(I){if(n){QK.fromBufferAttribute(n,o),JK.fromBufferAttribute(n,r),XK.fromBufferAttribute(n,l),I.uv=new hi;let y=fr.getInterpolation(Az,Hx,Gx,Vx,QK,JK,XK,I.uv);KK||(I.uv=y)}if(s){QK.fromBufferAttribute(s,o),JK.fromBufferAttribute(s,r),XK.fromBufferAttribute(s,l),I.uv1=new hi;let y=fr.getInterpolation(Az,Hx,Gx,Vx,QK,JK,XK,I.uv1);KK||(I.uv1=y),hze&&(I.uv2=I.uv1)}if(i){iwe.fromBufferAttribute(i,o),nwe.fromBufferAttribute(i,r),swe.fromBufferAttribute(i,l),I.normal=new ye;let y=fr.getInterpolation(Az,Hx,Gx,Vx,iwe,nwe,swe,I.normal);I.normal.dot(e.direction)>0&&I.normal.multiplyScalar(-1),KK||(I.normal=y)}let m={a:o,b:r,c:l,normal:new ye,materialIndex:0};if(fr.getNormal(Hx,Gx,Vx,m.normal),I.face=m,I.faceIndex=o,KK){let y=new ye;fr.getBarycoord(Az,Hx,Gx,Vx,y),I.barycoord=y}}return I}function rwe(e){return e&&e.isMaterial?e.side:e}function fJ(e,t,i,n,s,o,r){let l=n*3,d=l+0,h=l+1,p=l+2,{index:I,groups:m}=e;e.index&&(d=I.getX(d),h=I.getX(h),p=I.getX(p));let{position:y,normal:T,uv:R,uv1:b}=e.attributes;if(Array.isArray(t)){let A=n*3;for(let O=0,P=m.length;O<P;O++){let{start:U,count:Z,materialIndex:ne}=m[O];if(A>=U&&A<U+Z){let K=rwe(t[ne]),oe=owe(i,y,T,R,b,d,h,p,K,o,r);if(oe)if(oe.faceIndex=n,oe.face.materialIndex=ne,s)s.push(oe);else return oe}}}else{let A=rwe(t),O=owe(i,y,T,R,b,d,h,p,A,o,r);if(O)if(O.faceIndex=n,O.face.materialIndex=0,s)s.push(O);else return O}return null}function Uc(e,t,i,n){let s=e.a,o=e.b,r=e.c,l=t,d=t+1,h=t+2;i&&(l=i.getX(l),d=i.getX(d),h=i.getX(h)),s.x=n.getX(l),s.y=n.getY(l),s.z=n.getZ(l),o.x=n.getX(d),o.y=n.getY(d),o.z=n.getZ(d),r.x=n.getX(h),r.y=n.getY(h),r.z=n.getZ(h)}function pze(e,t,i,n,s,o,r,l){let{geometry:d,_indirectBuffer:h}=e;for(let p=n,I=n+s;p<I;p++)fJ(d,t,i,p,o,r,l)}function Ize(e,t,i,n,s,o,r){let{geometry:l,_indirectBuffer:d}=e,h=1/0,p=null;for(let I=n,m=n+s;I<m;I++){let y;y=fJ(l,t,i,I,null,o,r),y&&y.distance<h&&(p=y,h=y.distance)}return p}function mze(e,t,i,n,s,o,r){let{geometry:l}=i,{index:d}=l,h=l.attributes.position;for(let p=e,I=t+e;p<I;p++){let m;if(m=p,Uc(r,m*3,d,h),r.needsUpdate=!0,n(r,m,s,o))return!0}return!1}function yze(e,t=null){t&&Array.isArray(t)&&(t=new Set(t));let i=e.geometry,n=i.index?i.index.array:null,s=i.attributes.position,o,r,l,d,h=0,p=e._roots;for(let m=0,y=p.length;m<y;m++)o=p[m],r=new Uint32Array(o),l=new Uint16Array(o),d=new Float32Array(o),I(0,h),h+=o.byteLength;function I(m,y,T=!1){let R=m*2;if(S0(R,l)){let b=Qf(m,r),A=hI(R,l),O=1/0,P=1/0,U=1/0,Z=-1/0,ne=-1/0,K=-1/0;for(let oe=3*b,se=3*(b+A);oe<se;oe++){let he=n[oe],Re=s.getX(he),ee=s.getY(he),Ae=s.getZ(he);Re<O&&(O=Re),Re>Z&&(Z=Re),ee<P&&(P=ee),ee>ne&&(ne=ee),Ae<U&&(U=Ae),Ae>K&&(K=Ae)}return d[m+0]!==O||d[m+1]!==P||d[m+2]!==U||d[m+3]!==Z||d[m+4]!==ne||d[m+5]!==K?(d[m+0]=O,d[m+1]=P,d[m+2]=U,d[m+3]=Z,d[m+4]=ne,d[m+5]=K,!0):!1}else{let b=X0(m),A=eh(m,r),O=T,P=!1,U=!1;if(t){if(!O){let he=b/R0+y/Kf,Re=A/R0+y/Kf;P=t.has(he),U=t.has(Re),O=!P&&!U}}else P=!0,U=!0;let Z=O||P,ne=O||U,K=!1;Z&&(K=I(b,y,O));let oe=!1;ne&&(oe=I(A,y,O));let se=K||oe;if(se)for(let he=0;he<3;he++){let Re=b+he,ee=A+he,Ae=d[Re],Ee=d[Re+3],Ce=d[ee],Qe=d[ee+3];d[m+he]=Ae<Ce?Ae:Ce,d[m+he+3]=Ee>Qe?Ee:Qe}return se}}}function D_(e,t,i,n,s){let o,r,l,d,h,p,I=1/i.direction.x,m=1/i.direction.y,y=1/i.direction.z,T=i.origin.x,R=i.origin.y,b=i.origin.z,A=t[e],O=t[e+3],P=t[e+1],U=t[e+3+1],Z=t[e+2],ne=t[e+3+2];return I>=0?(o=(A-T)*I,r=(O-T)*I):(o=(O-T)*I,r=(A-T)*I),m>=0?(l=(P-R)*m,d=(U-R)*m):(l=(U-R)*m,d=(P-R)*m),o>d||l>r||((l>o||isNaN(o))&&(o=l),(d<r||isNaN(r))&&(r=d),y>=0?(h=(Z-b)*y,p=(ne-b)*y):(h=(ne-b)*y,p=(Z-b)*y),o>p||h>r)?!1:((h>o||o!==o)&&(o=h),(p<r||r!==r)&&(r=p),o<=s&&r>=n)}function Eze(e,t,i,n,s,o,r,l){let{geometry:d,_indirectBuffer:h}=e;for(let p=n,I=n+s;p<I;p++){let m=h?h[p]:p;fJ(d,t,i,m,o,r,l)}}function Tze(e,t,i,n,s,o,r){let{geometry:l,_indirectBuffer:d}=e,h=1/0,p=null;for(let I=n,m=n+s;I<m;I++){let y;y=fJ(l,t,i,d?d[I]:I,null,o,r),y&&y.distance<h&&(p=y,h=y.distance)}return p}function gze(e,t,i,n,s,o,r){let{geometry:l}=i,{index:d}=l,h=l.attributes.position;for(let p=e,I=t+e;p<I;p++){let m;if(m=i.resolveTriangleIndex(p),Uc(r,m*3,d,h),r.needsUpdate=!0,n(r,m,s,o))return!0}return!1}function wze(e,t,i,n,s,o,r){Hl.setBuffer(e._roots[t]),Hde(0,e,i,n,s,o,r),Hl.clearBuffer()}function Hde(e,t,i,n,s,o,r){let{float32Array:l,uint16Array:d,uint32Array:h}=Hl,p=e*2;if(S0(p,d)){let m=Qf(e,h),y=hI(p,d);pze(t,i,n,m,y,s,o,r)}else{let m=X0(e);D_(m,l,n,o,r)&&Hde(m,t,i,n,s,o,r);let y=eh(e,h);D_(y,l,n,o,r)&&Hde(y,t,i,n,s,o,r)}}var vze=["x","y","z"];function Rze(e,t,i,n,s,o){Hl.setBuffer(e._roots[t]);let r=Gde(0,e,i,n,s,o);return Hl.clearBuffer(),r}function Gde(e,t,i,n,s,o){let{float32Array:r,uint16Array:l,uint32Array:d}=Hl,h=e*2;if(S0(h,l)){let I=Qf(e,d),m=hI(h,l);return Ize(t,i,n,I,m,s,o)}else{let I=w0e(e,d),m=vze[I],T=n.direction[m]>=0,R,b;T?(R=X0(e),b=eh(e,d)):(R=eh(e,d),b=X0(e));let O=D_(R,r,n,s,o)?Gde(R,t,i,n,s,o):null;if(O){let Z=O.point[m];if(T?Z<=r[b+I]:Z>=r[b+I+3])return O}let U=D_(b,r,n,s,o)?Gde(b,t,i,n,s,o):null;return O&&U?O.distance<=U.distance?O:U:O||U||null}}var eQ=new kn,fM=new fI,pM=new fI,bz=new Ai,lwe=new Qh,tQ=new Qh;function Sze(e,t,i,n){Hl.setBuffer(e._roots[t]);let s=Vde(0,e,i,n);return Hl.clearBuffer(),s}function Vde(e,t,i,n,s=null){let{float32Array:o,uint16Array:r,uint32Array:l}=Hl,d=e*2;if(s===null&&(i.boundingBox||i.computeBoundingBox(),lwe.set(i.boundingBox.min,i.boundingBox.max,n),s=lwe),S0(d,r)){let p=t.geometry,I=p.index,m=p.attributes.position,y=i.index,T=i.attributes.position,R=Qf(e,l),b=hI(d,r);if(bz.copy(n).invert(),i.boundsTree)return gu(e,o,tQ),tQ.matrix.copy(bz),tQ.needsUpdate=!0,i.boundsTree.shapecast({intersectsBounds:O=>tQ.intersectsBox(O),intersectsTriangle:O=>{O.a.applyMatrix4(n),O.b.applyMatrix4(n),O.c.applyMatrix4(n),O.needsUpdate=!0;for(let P=R*3,U=(b+R)*3;P<U;P+=3)if(Uc(pM,P,I,m),pM.needsUpdate=!0,O.intersectsTriangle(pM))return!0;return!1}});{let A=hJ(i);for(let O=R*3,P=(b+R)*3;O<P;O+=3){Uc(fM,O,I,m),fM.a.applyMatrix4(bz),fM.b.applyMatrix4(bz),fM.c.applyMatrix4(bz),fM.needsUpdate=!0;for(let U=0,Z=A*3;U<Z;U+=3)if(Uc(pM,U,y,T),pM.needsUpdate=!0,fM.intersectsTriangle(pM))return!0}}}else{let p=X0(e),I=eh(e,l);return gu(p,o,eQ),!!(s.intersectsBox(eQ)&&Vde(p,t,i,n,s)||(gu(I,o,eQ),s.intersectsBox(eQ)&&Vde(I,t,i,n,s)))}}var iQ=new Ai,hde=new Qh,Nz=new Qh,Aze=new ye,bze=new ye,Nze=new ye,_ze=new ye;function Dze(e,t,i,n={},s={},o=0,r=1/0){t.boundingBox||t.computeBoundingBox(),hde.set(t.boundingBox.min,t.boundingBox.max,i),hde.needsUpdate=!0;let l=e.geometry,d=l.attributes.position,h=l.index,p=t.attributes.position,I=t.index,m=AE.getPrimitive(),y=AE.getPrimitive(),T=Aze,R=bze,b=null,A=null;s&&(b=Nze,A=_ze);let O=1/0,P=null,U=null;return iQ.copy(i).invert(),Nz.matrix.copy(iQ),e.shapecast({boundsTraverseOrder:Z=>hde.distanceToBox(Z),intersectsBounds:(Z,ne,K)=>K<O&&K<r?(ne&&(Nz.min.copy(Z.min),Nz.max.copy(Z.max),Nz.needsUpdate=!0),!0):!1,intersectsRange:(Z,ne)=>{if(t.boundsTree)return t.boundsTree.shapecast({boundsTraverseOrder:oe=>Nz.distanceToBox(oe),intersectsBounds:(oe,se,he)=>he<O&&he<r,intersectsRange:(oe,se)=>{for(let he=oe,Re=oe+se;he<Re;he++){Uc(y,3*he,I,p),y.a.applyMatrix4(i),y.b.applyMatrix4(i),y.c.applyMatrix4(i),y.needsUpdate=!0;for(let ee=Z,Ae=Z+ne;ee<Ae;ee++){Uc(m,3*ee,h,d),m.needsUpdate=!0;let Ee=m.distanceToTriangle(y,T,b);if(Ee<O&&(R.copy(T),A&&A.copy(b),O=Ee,P=ee,U=he),Ee<o)return!0}}}});{let K=hJ(t);for(let oe=0,se=K;oe<se;oe++){Uc(y,3*oe,I,p),y.a.applyMatrix4(i),y.b.applyMatrix4(i),y.c.applyMatrix4(i),y.needsUpdate=!0;for(let he=Z,Re=Z+ne;he<Re;he++){Uc(m,3*he,h,d),m.needsUpdate=!0;let ee=m.distanceToTriangle(y,T,b);if(ee<O&&(R.copy(T),A&&A.copy(b),O=ee,P=he,U=oe),ee<o)return!0}}}}}),AE.releasePrimitive(m),AE.releasePrimitive(y),O===1/0?null:(n.point?n.point.copy(R):n.point=R.clone(),n.distance=O,n.faceIndex=P,s&&(s.point?s.point.copy(A):s.point=A.clone(),s.point.applyMatrix4(iQ),R.applyMatrix4(iQ),s.distance=R.sub(s.point).length(),s.faceIndex=U),n)}function Cze(e,t=null){t&&Array.isArray(t)&&(t=new Set(t));let i=e.geometry,n=i.index?i.index.array:null,s=i.attributes.position,o,r,l,d,h=0,p=e._roots;for(let m=0,y=p.length;m<y;m++)o=p[m],r=new Uint32Array(o),l=new Uint16Array(o),d=new Float32Array(o),I(0,h),h+=o.byteLength;function I(m,y,T=!1){let R=m*2;if(S0(R,l)){let b=Qf(m,r),A=hI(R,l),O=1/0,P=1/0,U=1/0,Z=-1/0,ne=-1/0,K=-1/0;for(let oe=b,se=b+A;oe<se;oe++){let he=3*e.resolveTriangleIndex(oe);for(let Re=0;Re<3;Re++){let ee=he+Re;ee=n?n[ee]:ee;let Ae=s.getX(ee),Ee=s.getY(ee),Ce=s.getZ(ee);Ae<O&&(O=Ae),Ae>Z&&(Z=Ae),Ee<P&&(P=Ee),Ee>ne&&(ne=Ee),Ce<U&&(U=Ce),Ce>K&&(K=Ce)}}return d[m+0]!==O||d[m+1]!==P||d[m+2]!==U||d[m+3]!==Z||d[m+4]!==ne||d[m+5]!==K?(d[m+0]=O,d[m+1]=P,d[m+2]=U,d[m+3]=Z,d[m+4]=ne,d[m+5]=K,!0):!1}else{let b=X0(m),A=eh(m,r),O=T,P=!1,U=!1;if(t){if(!O){let he=b/R0+y/Kf,Re=A/R0+y/Kf;P=t.has(he),U=t.has(Re),O=!P&&!U}}else P=!0,U=!0;let Z=O||P,ne=O||U,K=!1;Z&&(K=I(b,y,O));let oe=!1;ne&&(oe=I(A,y,O));let se=K||oe;if(se)for(let he=0;he<3;he++){let Re=b+he,ee=A+he,Ae=d[Re],Ee=d[Re+3],Ce=d[ee],Qe=d[ee+3];d[m+he]=Ae<Ce?Ae:Ce,d[m+he+3]=Ee>Qe?Ee:Qe}return se}}}function xze(e,t,i,n,s,o,r){Hl.setBuffer(e._roots[t]),kde(0,e,i,n,s,o,r),Hl.clearBuffer()}function kde(e,t,i,n,s,o,r){let{float32Array:l,uint16Array:d,uint32Array:h}=Hl,p=e*2;if(S0(p,d)){let m=Qf(e,h),y=hI(p,d);Eze(t,i,n,m,y,s,o,r)}else{let m=X0(e);D_(m,l,n,o,r)&&kde(m,t,i,n,s,o,r);let y=eh(e,h);D_(y,l,n,o,r)&&kde(y,t,i,n,s,o,r)}}var Oze=["x","y","z"];function Lze(e,t,i,n,s,o){Hl.setBuffer(e._roots[t]);let r=zde(0,e,i,n,s,o);return Hl.clearBuffer(),r}function zde(e,t,i,n,s,o){let{float32Array:r,uint16Array:l,uint32Array:d}=Hl,h=e*2;if(S0(h,l)){let I=Qf(e,d),m=hI(h,l);return Tze(t,i,n,I,m,s,o)}else{let I=w0e(e,d),m=Oze[I],T=n.direction[m]>=0,R,b;T?(R=X0(e),b=eh(e,d)):(R=eh(e,d),b=X0(e));let O=D_(R,r,n,s,o)?zde(R,t,i,n,s,o):null;if(O){let Z=O.point[m];if(T?Z<=r[b+I]:Z>=r[b+I+3])return O}let U=D_(b,r,n,s,o)?zde(b,t,i,n,s,o):null;return O&&U?O.distance<=U.distance?O:U:O||U||null}}var nQ=new kn,IM=new fI,mM=new fI,_z=new Ai,awe=new Qh,sQ=new Qh;function Pze(e,t,i,n){Hl.setBuffer(e._roots[t]);let s=Wde(0,e,i,n);return Hl.clearBuffer(),s}function Wde(e,t,i,n,s=null){let{float32Array:o,uint16Array:r,uint32Array:l}=Hl,d=e*2;if(s===null&&(i.boundingBox||i.computeBoundingBox(),awe.set(i.boundingBox.min,i.boundingBox.max,n),s=awe),S0(d,r)){let p=t.geometry,I=p.index,m=p.attributes.position,y=i.index,T=i.attributes.position,R=Qf(e,l),b=hI(d,r);if(_z.copy(n).invert(),i.boundsTree)return gu(e,o,sQ),sQ.matrix.copy(_z),sQ.needsUpdate=!0,i.boundsTree.shapecast({intersectsBounds:O=>sQ.intersectsBox(O),intersectsTriangle:O=>{O.a.applyMatrix4(n),O.b.applyMatrix4(n),O.c.applyMatrix4(n),O.needsUpdate=!0;for(let P=R,U=b+R;P<U;P++)if(Uc(mM,3*t.resolveTriangleIndex(P),I,m),mM.needsUpdate=!0,O.intersectsTriangle(mM))return!0;return!1}});{let A=hJ(i);for(let O=R,P=b+R;O<P;O++){let U=t.resolveTriangleIndex(O);Uc(IM,3*U,I,m),IM.a.applyMatrix4(_z),IM.b.applyMatrix4(_z),IM.c.applyMatrix4(_z),IM.needsUpdate=!0;for(let Z=0,ne=A*3;Z<ne;Z+=3)if(Uc(mM,Z,y,T),mM.needsUpdate=!0,IM.intersectsTriangle(mM))return!0}}}else{let p=X0(e),I=eh(e,l);return gu(p,o,nQ),!!(s.intersectsBox(nQ)&&Wde(p,t,i,n,s)||(gu(I,o,nQ),s.intersectsBox(nQ)&&Wde(I,t,i,n,s)))}}var oQ=new Ai,fde=new Qh,Dz=new Qh,Mze=new ye,Bze=new ye,Fze=new ye,Uze=new ye;function Hze(e,t,i,n={},s={},o=0,r=1/0){t.boundingBox||t.computeBoundingBox(),fde.set(t.boundingBox.min,t.boundingBox.max,i),fde.needsUpdate=!0;let l=e.geometry,d=l.attributes.position,h=l.index,p=t.attributes.position,I=t.index,m=AE.getPrimitive(),y=AE.getPrimitive(),T=Mze,R=Bze,b=null,A=null;s&&(b=Fze,A=Uze);let O=1/0,P=null,U=null;return oQ.copy(i).invert(),Dz.matrix.copy(oQ),e.shapecast({boundsTraverseOrder:Z=>fde.distanceToBox(Z),intersectsBounds:(Z,ne,K)=>K<O&&K<r?(ne&&(Dz.min.copy(Z.min),Dz.max.copy(Z.max),Dz.needsUpdate=!0),!0):!1,intersectsRange:(Z,ne)=>{if(t.boundsTree){let K=t.boundsTree;return K.shapecast({boundsTraverseOrder:oe=>Dz.distanceToBox(oe),intersectsBounds:(oe,se,he)=>he<O&&he<r,intersectsRange:(oe,se)=>{for(let he=oe,Re=oe+se;he<Re;he++){let ee=K.resolveTriangleIndex(he);Uc(y,3*ee,I,p),y.a.applyMatrix4(i),y.b.applyMatrix4(i),y.c.applyMatrix4(i),y.needsUpdate=!0;for(let Ae=Z,Ee=Z+ne;Ae<Ee;Ae++){let Ce=e.resolveTriangleIndex(Ae);Uc(m,3*Ce,h,d),m.needsUpdate=!0;let Qe=m.distanceToTriangle(y,T,b);if(Qe<O&&(R.copy(T),A&&A.copy(b),O=Qe,P=Ae,U=he),Qe<o)return!0}}}})}else{let K=hJ(t);for(let oe=0,se=K;oe<se;oe++){Uc(y,3*oe,I,p),y.a.applyMatrix4(i),y.b.applyMatrix4(i),y.c.applyMatrix4(i),y.needsUpdate=!0;for(let he=Z,Re=Z+ne;he<Re;he++){let ee=e.resolveTriangleIndex(he);Uc(m,3*ee,h,d),m.needsUpdate=!0;let Ae=m.distanceToTriangle(y,T,b);if(Ae<O&&(R.copy(T),A&&A.copy(b),O=Ae,P=he,U=oe),Ae<o)return!0}}}}}),AE.releasePrimitive(m),AE.releasePrimitive(y),O===1/0?null:(n.point?n.point.copy(R):n.point=R.clone(),n.distance=O,n.faceIndex=P,s&&(s.point?s.point.copy(A):s.point=A.clone(),s.point.applyMatrix4(oQ),R.applyMatrix4(oQ),s.distance=R.sub(s.point).length(),s.faceIndex=U),n)}function uwe(e,t,i){return e===null?null:(e.point.applyMatrix4(t.matrixWorld),e.distance=e.point.distanceTo(i.ray.origin),e.object=t,e)}var rQ=new Qh,lQ=new Wa,cwe=new ye,dwe=new Ai,hwe=new ye,pde=["getX","getY","getZ"],qx=class e extends OQ{static serialize(t,i={}){i={cloneBuffers:!0,...i};let n=t.geometry,s=t._roots,o=t._indirectBuffer,r=n.getIndex(),l={version:1,roots:null,index:null,indirectBuffer:null};return i.cloneBuffers?(l.roots=s.map(d=>d.slice()),l.index=r?r.array.slice():null,l.indirectBuffer=o?o.slice():null):(l.roots=s,l.index=r?r.array:null,l.indirectBuffer=o),l}static deserialize(t,i,n={}){n={setIndex:!0,indirect:!!t.indirectBuffer,...n};let{index:s,roots:o,indirectBuffer:r}=t;t.version||(console.warn("MeshBVH.deserialize: Serialization format has been changed and will be fixed up. It is recommended to regenerate any stored serialized data."),d(o));let l=new e(i,{...n,[g0e]:!0});if(l._roots=o,l._indirectBuffer=r||null,n.setIndex){let h=i.getIndex();if(h===null){let p=new Tn(t.index,1,!1);i.setIndex(p)}else h.array!==s&&(h.array.set(s),h.needsUpdate=!0)}return l;function d(h){for(let p=0;p<h.length;p++){let I=h[p],m=new Uint32Array(I),y=new Uint16Array(I);for(let T=0,R=I.byteLength/Kf;T<R;T++){let b=R0*T,A=2*b;S0(A,y)||(m[b+6]=m[b+6]/R0-T)}}}}get primitiveStride(){return 3}get resolveTriangleIndex(){return this.resolvePrimitiveIndex}constructor(t,i={}){i.maxLeafTris&&(console.warn('MeshBVH: "maxLeafTris" option has been deprecated. Use maxLeafSize, instead.'),i={...i,maxLeafSize:i.maxLeafTris}),super(t,i)}shiftTriangleOffsets(t){return super.shiftPrimitiveOffsets(t)}writePrimitiveBounds(t,i,n){let s=this.geometry,o=this._indirectBuffer,r=s.attributes.position,l=s.index?s.index.array:null,h=(o?o[t]:t)*3,p=h+0,I=h+1,m=h+2;l&&(p=l[p],I=l[I],m=l[m]);for(let y=0;y<3;y++){let T=r[pde[y]](p),R=r[pde[y]](I),b=r[pde[y]](m),A=T;R<A&&(A=R),b<A&&(A=b);let O=T;R>O&&(O=R),b>O&&(O=b),i[n+y]=A,i[n+y+3]=O}return i}computePrimitiveBounds(t,i,n){let s=this.geometry,o=this._indirectBuffer,r=s.attributes.position,l=s.index?s.index.array:null,d=r.normalized;if(t<0||i+t-n.offset>n.length/6)throw new Error("MeshBVH: compute triangle bounds range is invalid.");let h=r.array,p=r.offset||0,I=3;r.isInterleavedBufferAttribute&&(I=r.data.stride);let m=["getX","getY","getZ"],y=n.offset;for(let T=t,R=t+i;T<R;T++){let A=(o?o[T]:T)*3,O=(T-y)*6,P=A+0,U=A+1,Z=A+2;l&&(P=l[P],U=l[U],Z=l[Z]),d||(P=P*I+p,U=U*I+p,Z=Z*I+p);for(let ne=0;ne<3;ne++){let K,oe,se;d?(K=r[m[ne]](P),oe=r[m[ne]](U),se=r[m[ne]](Z)):(K=h[P+ne],oe=h[U+ne],se=h[Z+ne]);let he=K;oe<he&&(he=oe),se<he&&(he=se);let Re=K;oe>Re&&(Re=oe),se>Re&&(Re=se);let ee=(Re-he)/2,Ae=ne*2;n[O+Ae+0]=he+ee,n[O+Ae+1]=ee+(Math.abs(he)+ee)*wQ}}return n}raycastObject3D(t,i,n=[]){let{material:s}=t;if(s===void 0)return;dwe.copy(t.matrixWorld).invert(),lQ.copy(i.ray).applyMatrix4(dwe),hwe.setFromMatrixScale(t.matrixWorld),cwe.copy(lQ.direction).multiply(hwe);let o=cwe.length(),r=i.near/o,l=i.far/o;if(i.firstHitOnly===!0){let d=this.raycastFirst(lQ,s,r,l);d=uwe(d,t,i),d&&n.push(d)}else{let d=this.raycast(lQ,s,r,l);for(let h=0,p=d.length;h<p;h++){let I=uwe(d[h],t,i);I&&n.push(I)}}return n}refit(t=null){return(this.indirect?Cze:yze)(this,t)}raycast(t,i=$l,n=0,s=1/0){let o=this._roots,r=[],l=this.indirect?xze:wze;for(let d=0,h=o.length;d<h;d++)l(this,d,i,t,r,n,s);return r}raycastFirst(t,i=$l,n=0,s=1/0){let o=this._roots,r=null,l=this.indirect?Lze:Rze;for(let d=0,h=o.length;d<h;d++){let p=l(this,d,i,t,n,s);p!=null&&(r==null||p.distance<r.distance)&&(r=p)}return r}intersectsGeometry(t,i){let n=!1,s=this._roots,o=this.indirect?Pze:Sze;for(let r=0,l=s.length;r<l&&(n=o(this,r,t,i),!n);r++);return n}shapecast(t){let i=AE.getPrimitive(),n=super.shapecast({...t,intersectsPrimitive:t.intersectsTriangle,scratchPrimitive:i,iterate:this.indirect?gze:mze});return AE.releasePrimitive(i),n}bvhcast(t,i,n){let{intersectsRanges:s,intersectsTriangles:o}=n,r=AE.getPrimitive(),l=this.geometry.index,d=this.geometry.attributes.position,h=this.indirect?T=>{let R=this.resolveTriangleIndex(T);Uc(r,R*3,l,d)}:T=>{Uc(r,T*3,l,d)},p=AE.getPrimitive(),I=t.geometry.index,m=t.geometry.attributes.position,y=t.indirect?T=>{let R=t.resolveTriangleIndex(T);Uc(p,R*3,I,m)}:T=>{Uc(p,T*3,I,m)};if(o){if(!(t instanceof e))throw new Error('MeshBVH: "intersectsTriangles" callback can only be used with another MeshBVH.');let T=(R,b,A,O,P,U,Z,ne)=>{for(let K=A,oe=A+O;K<oe;K++){y(K),p.a.applyMatrix4(i),p.b.applyMatrix4(i),p.c.applyMatrix4(i),p.needsUpdate=!0;for(let se=R,he=R+b;se<he;se++)if(h(se),r.needsUpdate=!0,o(r,p,se,K,P,U,Z,ne))return!0}return!1};if(s){let R=s;s=function(b,A,O,P,U,Z,ne,K){return R(b,A,O,P,U,Z,ne,K)?!0:T(b,A,O,P,U,Z,ne,K)}}else s=T}return super.bvhcast(t,i,{intersectsRanges:s})}intersectsBox(t,i){return rQ.set(t.min,t.max,i),rQ.needsUpdate=!0,this.shapecast({intersectsBounds:n=>rQ.intersectsBox(n),intersectsTriangle:n=>rQ.intersectsTriangle(n)})}intersectsSphere(t){return this.shapecast({intersectsBounds:i=>t.intersectsBox(i),intersectsTriangle:i=>i.intersectsSphere(t)})}closestPointToGeometry(t,i,n={},s={},o=0,r=1/0){return(this.indirect?Hze:Dze)(this,t,i,n,s,o,r)}closestPointToPoint(t,i={},n=0,s=1/0){return dze(this,t,i,n,s)}},fwe=new Ai,aQ=new Wa,pwe=new AM(()=>new ds),Ide=new ye,Iwe=new ye,mwe=new kn,ywe=["getX","getY","getZ"],Yde=class extends OQ{get primitiveStride(){return 2}writePrimitiveBounds(t,i,n){let s=this._indirectBuffer,{geometry:o,primitiveStride:r}=this,l=o.attributes.position,d=o.index,h=d?d.count:l.count,I=(s?s[t]:t)*r,m=(I+1)%h;d&&(I=d.getX(I),m=d.getX(m));for(let y=0;y<3;y++){let T=l[ywe[y]](I),R=l[ywe[y]](m),b=T<R?T:R,A=T>R?T:R;i[n+y]=b,i[n+y+3]=A}return i}shapecast(t){let i=pwe.getPrimitive(),n=super.shapecast({...t,intersectsPrimitive:t.intersectsLine,scratchPrimitive:i,iterate:Gze});return pwe.releasePrimitive(i),n}raycastObject3D(t,i,n=[]){let{matrixWorld:s}=t,{firstHitOnly:o}=i;fwe.copy(s).invert(),aQ.copy(i.ray).applyMatrix4(fwe);let l=i.params.Line.threshold/((t.scale.x+t.scale.y+t.scale.z)/3),d=l*l,h=null,p=1/0;return this.shapecast({boundsTraverseOrder:I=>I.distanceToPoint(aQ.origin),intersectsBounds:I=>(mwe.copy(I).expandByScalar(Math.abs(l)),aQ.intersectsBox(mwe)?Yke:Wke),intersectsLine:(I,m)=>{if(aQ.distanceSqToSegment(I.start,I.end,Ide,Iwe)>d)return;Ide.applyMatrix4(t.matrixWorld);let T=i.ray.origin.distanceTo(Ide);T<i.near||T>i.far||o&&T>=p||(p=T,m=this.resolvePrimitiveIndex(m),h={distance:T,point:Iwe.clone().applyMatrix4(s),index:m*this.primitiveStride,face:null,faceIndex:null,barycoord:null,object:t},o||n.push(h))}}),o&&h&&n.push(h),n}};function Gze(e,t,i,n,s,o,r){let{geometry:l,primitiveStride:d}=i,{index:h}=l,p=l.attributes.position,I=h?h.count:p.count;for(let m=e,y=t+e;m<y;m++){let R=i.resolvePrimitiveIndex(m)*d,b=(R+1)%I;if(h&&(R=h.getX(R),b=h.getX(b)),r.start.fromBufferAttribute(p,R),r.end.fromBufferAttribute(p,b),n(r,m,s,o))return!0}return!1}var TM={Mesh:_i.prototype.raycast,Line:nr.prototype.raycast,LineSegments:xs.prototype.raycast,LineLoop:ew.prototype.raycast,Points:my.prototype.raycast,BatchedMesh:$v.prototype.raycast},Zh=new _i,uQ=[];function Ewe(e,t){if(this.isBatchedMesh)Vze.call(this,e,t);else{let{geometry:i}=this;if(i.boundsTree)i.boundsTree.raycastObject3D(this,e,t);else{let n;if(this instanceof _i)n=TM.Mesh;else if(this instanceof xs)n=TM.LineSegments;else if(this instanceof ew)n=TM.LineLoop;else if(this instanceof nr)n=TM.Line;else if(this instanceof my)n=TM.Points;else throw new Error("BVH: Fallback raycast function not found.");n.call(this,e,t)}}}function Vze(e,t){if(this.boundsTrees){let i=this.boundsTrees,n=this._drawInfo||this._instanceInfo,s=this._drawRanges||this._geometryInfo,o=this.matrixWorld;Zh.material=this.material,Zh.geometry=this.geometry;let r=Zh.geometry.boundsTree,l=Zh.geometry.drawRange;Zh.geometry.boundingSphere===null&&(Zh.geometry.boundingSphere=new no);for(let d=0,h=n.length;d<h;d++){if(!this.getVisibleAt(d))continue;let p=n[d].geometryIndex;if(Zh.geometry.boundsTree=i[p],this.getMatrixAt(d,Zh.matrixWorld).premultiply(o),!Zh.geometry.boundsTree){this.getBoundingBoxAt(p,Zh.geometry.boundingBox),this.getBoundingSphereAt(p,Zh.geometry.boundingSphere);let I=s[p];Zh.geometry.setDrawRange(I.start,I.count)}Zh.raycast(e,uQ);for(let I=0,m=uQ.length;I<m;I++){let y=uQ[I];y.object=this,y.batchId=d,t.push(y)}uQ.length=0}Zh.geometry.boundsTree=r,Zh.geometry.drawRange=l,Zh.material=null,Zh.geometry=null}else TM.BatchedMesh.call(this,e,t)}function kze(e={}){let{type:t=qx}=e;return this.boundsTree=new t(this,e),this.boundsTree}function zze(){this.boundsTree=null}var d2e=class h2e extends Gl{constructor(t){super(t),Le(this,"onDisposed",new $i),Le(this,"onBeforeDispose",new $i),Le(this,"onFragmentsLoaded",new $i),Le(this,"baseCoordinationModel",""),Le(this,"baseCoordinationMatrix",new Ai),Le(this,"enabled",!0),Le(this,"_core"),this.components.add(h2e.uuid,this)}static getWorker(){return aoe.getWorker()}get initialized(){return!!this._core}get list(){return this.core.models.list}get core(){if(!this._core)throw new Error("FragmentsManager not initialized. Call init() first.");return this._core}get _hasCoordinationModel(){return this.baseCoordinationModel!==""}dispose(){this.onBeforeDispose.trigger(),this._core&&(this.core.dispose(),this._core=void 0),this.baseCoordinationModel="",this.onFragmentsLoaded.reset(),this.onDisposed.trigger(),this.onDisposed.reset()}init(t,i){this._core=new aoe(t,i),this.core.onModelLoaded.add(async()=>{if(this._hasCoordinationModel)return;let n=[...this.list.values()][0];n&&(this.baseCoordinationModel=n.modelId,this.baseCoordinationMatrix=await n.getCoordinationMatrix())}),this.list.onItemDeleted.add(()=>{this.list.size>0||(this.baseCoordinationModel="",this.baseCoordinationMatrix=new Ai)})}async raycast(t){let i=[];for(let o of this.core.models.list.values())if(t.snappingClasses&&t.snappingClasses.length>0){let r=await o.raycastWithSnapping(t);if(r&&r.length>0)i.push(r[0]);else{let l=await o.raycast(t);l&&i.push(l)}}else{let r=await o.raycast(t);r&&i.push(r)}if(await Promise.all(i),i.length===0)return;let n=i[0],s=n.distance;for(let o=1;o<i.length;o++)i[o].distance<s&&(s=i[o].distance,n=i[o]);return n}async getPositions(t){let i=[],n=async(o,r)=>{let l=await o.getPositions(r);for(let d of l)i.push(d)},s=[];for(let o in t){let r=this.core.models.list.get(o);r&&s.push(n(r,Array.from(t[o])))}return await Promise.all(s),i}async getBBoxes(t){let i=[],n=async(o,r)=>{let l=await o.getBoxes(r);if(l)for(let d of l)i.push(d)},s=[];for(let o in t){let r=this.core.models.list.get(o);r&&s.push(n(r,Array.from(t[o])))}return await Promise.all(s),i}async highlight(t,i){await this.forEachModel(i,"highlight",t)}async getData(t,i){let n={};for(let[s,o]of Object.entries(t)){let r=this.list.get(s);if(!r)continue;if(o.size===0){n[s]=[];continue}let l=await r.getItemsData([...o],i);n[s]=l}return n}async resetHighlight(t){await this.forEachModel(t,"resetHighlight")}async forEachModel(t,i,...n){let s={};if(t)for(let r in t){let l=t[r];s[r]=Array.from(l)}else for(let r of this.core.models.list.keys())s[r]=void 0;let o=[];for(let r in s){let l=this.core.models.list.get(r);if(l){let d=s[r],h=l[i](d,...n);o.push(h)}}await Promise.all(o)}async guidsToModelIdMap(t){let i={};for(let[n,s]of this.list){let o=(await s.getLocalIdsByGuids([...t])).filter(r=>r!==null);i[n]=new Set(o)}return i}async modelIdMapToGuids(t){let i=[];for(let[n,s]of Object.entries(t)){let o=this.list.get(n);if(!o)continue;let r=(await o.getGuidsByLocalIds([...s])).filter(l=>l!==null);i.push(...r)}return i}applyBaseCoordinateSystem(t,i){let n=new Ai;return i&&n.copy(i.clone()).invert(),n.multiply(this.baseCoordinationMatrix),t.applyMatrix4(n),n}};Le(d2e,"uuid","fef46874-46a3-461b-8c44-2922ab77c806");var _s=d2e;function Wze(e,t){t.x=(e&255)/255,t.y=(e>>8&255)/255,t.z=(e>>16&255)/255,t.w=1}function Yze(e,t){return e[t]|e[t+1]<<8|e[t+2]<<16}function jze(e){let t=new Set;return e.traverse(i=>{i.isMesh&&t.add(i)}),Array.from(t)}var jde=class{constructor(t,i={}){let{pixelsPerMeter:n=.1}=i;this.pixelsPerMeter=n,this.renderer=t}async cull(t){t=jze(t);let{renderer:i,pixelsPerMeter:n}=this,s=new ye,o=new ba,r=new kn,l=new ka(1,1);r.makeEmpty(),t.forEach(se=>{r.expandByObject(se)}),r.getSize(s);let d=Math.min(i.capabilities.maxTextureSize,2**13),h=Math.ceil(s.x/n),p=Math.ceil(s.z/n),I=Math.ceil(h/d),m=Math.ceil(p/d);l.setSize(Math.ceil(h/I),Math.ceil(p/m)),o.rotation.x=-Math.PI/2,o.far=r.max.y-r.min.y+o.near,o.position.y=r.max.y+o.near;let y=new HI,T=new Map,R=new Map,b=[];for(let se=0;se<t.length;se++){let he=t[se];T.set(he,he.material),R.set(he,he.parent);let Re=new qde;Re.objectId=se,b.push(Re),he.material=Re,y.add(he)}let A=i.getClearColor(new Oi),O=i.getClearAlpha(),P=i.getRenderTarget(),U=i.autoClear;i.autoClear=!0,i.setClearColor(0,0),i.setRenderTarget(l);let Z=new Uint8Array(l.width*l.height*4),ne=new Set,K=s.x/I,oe=s.z/m;for(let se=0;se<I;se++)for(let he=0;he<m;he++){let Re=r.min.x+K*se,ee=Re+K,Ae=r.min.z+oe*he,Ee=Ae+oe,Ce=(Re+ee)/2,Qe=(Ae+Ee)/2;o.position.set(Ce,r.max.y,Qe);let qe=K/2,St=oe/2;o.left=-qe,o.right=qe,o.top=St,o.bottom=-St,o.updateProjectionMatrix(),i.render(y,o);let $e=await i.readRenderTargetPixelsAsync(l,0,0,l.width,l.height,Z);for(let ke=0,It=$e.length;ke<It;ke+=4){if($e[ke+3]===0)continue;let ft=Yze($e,ke);ne.add(t[ft])}}for(let se of t){se.material=T.get(se);let he=R.get(se);he?he.add(se):y.remove(se)}i.setClearColor(A,O),i.setRenderTarget(P),i.autoClear=U;for(let se of b)se.dispose();return l.dispose(),Array.from(ne)}},qde=class extends Kl{get objectId(){return this._objectId}set objectId(t){this._objectId=t,Wze(t,this.uniforms.objectId.value)}constructor(t){super({glslVersion:e7,blending:Na,uniforms:{objectId:{value:new xn}},vertexShader:`
|
||
void main() {
|
||
|
||
gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );
|
||
|
||
}
|
||
`,fragmentShader:`
|
||
layout(location = 0) out vec4 out_id;
|
||
uniform vec4 objectId;
|
||
|
||
void main() {
|
||
|
||
out_id = objectId;
|
||
|
||
}
|
||
`}),this._objectId=0,this.setValues(t)}},$de=1e-16,qze=new ye(0,1,0),Twe=new ye;function gwe(e){return e.delta(Twe).normalize(),Math.abs(Twe.dot(qze))>=1-$de}function Zde(e,t){let{start:i,end:n}=t,s=e.points,o=!1,r=!1;for(let l=0;l<3;l++){let d=s[l];if(!o&&i.distanceToSquared(d)<=$de&&(o=!0),!r&&n.distanceToSquared(d)<=$de&&(r=!0),o&&r)return!0}return o&&r}var R_=new ds;function wwe(e,t,i=!1,n=[]){let s=[[0,1]];for(let o=0,r=t.length;o<r;o++){let l=s[o],d=t[o];l[1]=d[0],s.push([d[1],1])}i&&([t,s]=[s,t]);for(let o=0,r=s.length;o<r;o++){let{start:l,end:d}=e;R_.start.lerpVectors(l,d,s[o][0]),R_.end.lerpVectors(l,d,s[o][1]),n.push(new Float32Array([R_.start.x,R_.start.y,R_.start.z,R_.end.x,R_.end.y,R_.end.z]))}return n}var vwe=1e-10,$ze=new ye(0,1,0),Rwe=new ye,Swe=new ye,cQ=new ye,dQ=new fr;function*Awe(e,t=[],i={}){let{projectionDirection:n=$ze,thresholdAngle:s=1,iterationTime:o=30}=i,l=Math.pow(10,4),d=Math.cos(cr.DEG2RAD*s),h=e.getIndex(),p=e.getAttribute("position"),I=h?h.count:p.count,m=[0,0,0],y=["a","b","c"],T=new Array(3),R={},b=performance.now();for(let A=0;A<I;A+=3){performance.now()-b>o&&(yield,b=performance.now()),h?(m[0]=h.getX(A),m[1]=h.getX(A+1),m[2]=h.getX(A+2)):(m[0]=A,m[1]=A+1,m[2]=A+2);let{a:O,b:P,c:U}=dQ;if(O.fromBufferAttribute(p,m[0]),P.fromBufferAttribute(p,m[1]),U.fromBufferAttribute(p,m[2]),dQ.getNormal(cQ),T[0]=`${Math.round(O.x*l)},${Math.round(O.y*l)},${Math.round(O.z*l)}`,T[1]=`${Math.round(P.x*l)},${Math.round(P.y*l)},${Math.round(P.z*l)}`,T[2]=`${Math.round(U.x*l)},${Math.round(U.y*l)},${Math.round(U.z*l)}`,!(T[0]===T[1]||T[1]===T[2]||T[2]===T[0]))for(let Z=0;Z<3;Z++){let ne=(Z+1)%3,K=T[Z],oe=T[ne],se=dQ[y[Z]],he=dQ[y[ne]],Re=`${K}_${oe}`,ee=`${oe}_${K}`;if(ee in R&&R[ee]){let Ae=R[ee].normal,Ee=cQ.dot(Ae)<=d,Ce=!1;if(n!==null){let Qe=n.dot(cQ);Qe=Math.abs(Qe)<vwe?0:Qe;let qe=n.dot(Ae);qe=Math.abs(qe)<vwe?0:qe,Ce=Math.sign(Qe)!==Math.sign(qe)}if(Ee||Ce){let Qe=new ds;Qe.start.copy(se),Qe.end.copy(he),t.push(Qe)}R[ee]=null}else Re in R||(R[Re]={index0:m[Z],index1:m[ne],normal:cQ.clone()})}}for(let A in R)if(R[A]){let{index0:O,index1:P}=R[A];Rwe.fromBufferAttribute(p,O),Swe.fromBufferAttribute(p,P);let U=new ds;U.start.copy(Rwe),U.end.copy(Swe),t.push(U)}return t}var hQ=new ds;function bwe(e,t,i,n=[]){return e.bvhcast(t,i,{intersectsTriangles:(s,o)=>{if(Kze(s,o)||(s.needsUpdate&&s.update(),o.needsUpdate&&o.update(),Math.abs(s.plane.normal.dot(o.plane.normal))>1-1e-6))return!1;s.intersectsTriangle(o,hQ,!0)&&!Zde(s,hQ)&&!Zde(o,hQ)&&n.push(hQ.clone())}}),n}function Zze(e,t){return e.distanceTo(t)<1e-10}function Kze(e,t){let i=["a","b","c"],n=0;for(let s=0;s<3;s++)for(let o=0;o<3;o++){let r=e[i[s]],l=t[i[o]];Zze(r,l)&&n++}return n>=2}function Kde(e){f2e(e);let t=[];return e.traverse(i=>{i.geometry&&i.visible&&t.push(i)}),t}var f2e=e=>{if(e===void 0)return;let t=[...e.children];for(let i of t)i===void 0?e.children.splice(e.children.indexOf(i),1):f2e(i)},fQ=new Ai,Nwe=new Ai,Qde=class{constructor(){this.projectionDirection=new ye(0,1,0),this.thresholdAngle=50,this.iterationTime=30}getEdges(...t){let i=this.iterationTime;this.iterationTime=1/0;let n=this.getEdgesGenerator(...t).next().value;return this.iterationTime=i,n}*getEdgesGenerator(t,i=[],n=null){let{projectionDirection:s,thresholdAngle:o,iterationTime:r}=this;if(t.isObject3D){let l=Kde(t),d=null;s&&(d=new ye);let h=performance.now();for(let p=0;p<l.length;p++){h-performance.now()>r&&(yield);let I=l[p];d&&(Nwe.copy(I.matrixWorld).invert(),d.copy(s).transformDirection(Nwe).normalize());let m=yield*Awe(I.geometry,[],{projectionDirection:d,thresholdAngle:o,iterationTime:r});_we(m,I.matrixWorld);for(let y=0;y<m.length;y++)i.push(m[y]);if(n!==null)for(let y=0;y<m.length;y++)n.push(I)}return i}else return yield*Awe(t,i,{projectionDirection:s,thresholdAngle:o,iterationTime:r})}getIntersectionEdges(...t){let i=this.iterationTime;this.iterationTime=1/0;let n=this.getIntersectionEdgesGenerator(...t).next().value;return this.iterationTime=i,n}*getIntersectionEdgesGenerator(t,i=[],n=null){let{iterationTime:s}=this;if(t.isObject3D){let o=Kde(t),r=new Map,l=performance.now();for(let d=0;d<o.length;d++){performance.now()-l>s&&(yield,l=performance.now());let p=o[d].geometry;if(!r.has(p)){let I=p.boundsTree||new qx(p,{maxLeafSize:1});r.set(p,I)}}l=performance.now();for(let d=0;d<o.length;d++)for(let h=d;h<o.length;h++){performance.now()-l>s&&(yield,l=performance.now());let p=o[d],I=o[h],m=r.get(p.geometry),y=r.get(I.geometry);fQ.copy(p.matrixWorld).invert().multiply(I.matrixWorld);let T=bwe(m,y,fQ,[]);_we(T,p.matrixWorld);for(let R=0;R<T.length;R++)i.push(T[R]);if(n!==null)for(let R=0;R<T.length;R++)n.push(p)}return i}else{let o;return t.isBufferGeometry?o=t.boundsTree||new qx(t,{maxLeafSize:1}):(o=t,t=o.geometry),fQ.identity(),bwe(o,o,fQ,i)}}};function _we(e,t,i=1e-6){for(let n=0;n<e.length;n++){let s=e[n];s.applyMatrix4(t),s.start.y+=i,s.end.y+=i}}var Jde=class extends xQ{get lines(){return this.primitiveBuffer}constructor(t,i){super(i),this.primitiveBuffer=t,this.primitiveBufferStride=1,this.heightOffset=i.heightOffset??1e3,this.init(i)}writePrimitiveBounds(t,i,n){let{primitiveBuffer:s,heightOffset:o}=this,{start:r,end:l}=s[t];i[n+0]=Math.min(r.x,l.x),i[n+1]=Math.min(r.y,l.y),i[n+2]=Math.min(r.z,l.z),i[n+3]=Math.max(r.x,l.x),i[n+4]=Math.max(r.y,l.y)+o,i[n+5]=Math.max(r.z,l.z)}getRootRanges(){return[{offset:0,count:this.primitiveBuffer.length}]}},Dwe=1e-16,Qze=new ye(0,1,0),kx=new es,mde=new ye,Cwe=new ye;function Jze(e,t,i){e.needsUpdate&&e.update(),kx.copy(e.plane),kx.normal.dot(Qze)<0&&(kx.normal.multiplyScalar(-1),kx.constant*=-1);let n=kx.distanceToPoint(t.start),s=kx.distanceToPoint(t.end),o=Math.abs(n)<Dwe,r=n<0,l=s<0;if(t.delta(Cwe).normalize(),Math.abs(kx.normal.dot(Cwe))<Dwe)return o||!r?!1:(i.copy(t),!0);if(r&&l)return i.copy(t),!0;if(!r&&!l)return!1;{let d=cr.mapLinear(0,n,s,0,1);if(t.at(d,mde),r)return i.start.copy(t.start),i.end.copy(mde),!0;if(l)return i.end.copy(t.end),i.start.copy(mde),!0}return!1}var Xze=1e-16,xwe=1e-16,yde=new es,pQ=new ye,Ede=new ye,S_=new fI,J2=new ds,JS=new ds,yM=new ye,Owe=new ye,Lwe=new ye;function eWe(e,t,i=new ds){if(S_.copy(t),S_.a.y=0,S_.b.y=0,S_.c.y=0,S_.update(),J2.copy(e),J2.start.y=0,J2.end.y=0,S_.getArea()<=Xze)return null;let n=J2.distance();J2.delta(yM).divideScalar(n),Owe.copy(yM).cross(S_.plane.normal).normalize(),yde.setFromNormalAndCoplanarPoint(Owe,J2.start);let s=0,{points:o}=S_;for(let r=0;r<3;r++){let l=o[r],d=o[(r+1)%3],h=yde.distanceToPoint(l),p=yde.distanceToPoint(d),I=Math.abs(h)<xwe,m=Math.abs(p)<xwe,y=!1;if(!I&&!m&&h*p<0){let T=h/(h-p);pQ.lerpVectors(l,d,T),y=!0}if((y&&!m||I)&&(I&&!y&&pQ.copy(l),s===0?JS.start.copy(pQ):JS.end.copy(pQ),s++,s===2))break}if(s===2){if(JS.delta(Lwe).normalize(),yM.dot(Lwe)<0){let m=JS.start;JS.start=JS.end,JS.end=m}let r=0,l=Ede.subVectors(J2.end,J2.start).dot(yM),d=Ede.subVectors(JS.start,J2.start).dot(yM),h=Ede.subVectors(JS.end,J2.start).dot(yM),p=l<=d,I=h<=r;return p||I?null:(e.at(Math.max(r,d)/n,i.start),e.at(Math.min(l,h)/n,i.end),i)}return null}var tWe=1e-16,Pwe=new ye,Mwe=new ye,Bwe=new ye;function iWe(e,t,i){let n=nWe(e,t);return n?(p2e(n,i),!0):!1}function nWe(e,t){e.delta(Pwe),Mwe.subVectors(t.start,e.start),Bwe.subVectors(t.end,e.start);let i=Pwe.length(),n=Mwe.length()/i,s=Bwe.length()/i;return n=Math.min(Math.max(n,0),1),s=Math.min(Math.max(s,0),1),Math.abs(n-s)<=tWe?null:[n,s]}function p2e(e,t){let[i,n]=e,s=0,o=t.length;for(;s<o;){let d=s+o>>>1;t[d][0]<=i?s=d+1:o=d}let r=Math.max(0,s-1),l=0;for(let d=r,h=t.length;d<h;d++){let[p,I]=t[d];if(i<=I&&n>=p)i=Math.min(p,i),n=Math.max(I,n),l++;else if(i>=p)r=d+1;else break}t.splice(r,l,[i,n])}var sWe=new ye(0,1,0),oWe=1e-10,IQ=new ds,Fwe=new ds,SE=new fI;SE.update=()=>{SE.plane.setFromCoplanarPoints(...SE.points)};function rWe(e,t,i,n,s=null){let{geometry:o,matrixWorld:r,material:l}=i,d=l.side,h=r.determinant()<0,p=e.lines;e.bvhcast(t,r,{intersectsRanges:(I,m,y,T)=>{s&&(s.candidates+=m*T);for(let R=y,b=T+y;R<b;R++){let A=3*R+0,O=3*R+1,P=3*R+2;o.index&&(A=o.index.getX(A),O=o.index.getX(O),P=o.index.getX(P));let{a:U,b:Z,c:ne}=SE;if(U.fromBufferAttribute(o.attributes.position,A).applyMatrix4(r),Z.fromBufferAttribute(o.attributes.position,O).applyMatrix4(r),ne.fromBufferAttribute(o.attributes.position,P).applyMatrix4(r),SE.needsUpdate=!0,SE.update(),d!==so&&SE.plane.normal.dot(sWe)!==h===(d===Js)){s&&(s.backFaceCulled+=m);continue}let K=Math.max(U.y,Z.y,ne.y),oe=Math.min(U.y,Z.y,ne.y),se=SE.plane.normal,he=se.x,Re=se.y,ee=se.z,Ae=SE.plane.constant;Re<0&&(he=-he,Re=-Re,ee=-ee,Ae=-Ae);for(let Ee=I,Ce=m+I;Ee<Ce;Ee++){let Qe=p[Ee],qe=Math.min(Qe.start.y,Qe.end.y),St=Math.max(Qe.start.y,Qe.end.y);if(K<=qe){s&&s.yBoundsCulled++;continue}let $e=Qe.end.x-Qe.start.x,ke=Qe.end.z-Qe.start.z,It=$e*$e+ke*ke;if(It>1e-20){let Zt=1/Math.sqrt(It),Ct=$e*Zt,Ut=ke*Zt,ii=-Ut,Vt=Ct,Kt=U.x-Qe.start.x,ui=U.z-Qe.start.z,jt=Z.x-Qe.start.x,Oe=Z.z-Qe.start.z,Ft=ne.x-Qe.start.x,ge=ne.z-Qe.start.z,Ue=Kt*Ct+ui*Ut,Pe=jt*Ct+Oe*Ut,Me=Ft*Ct+ge*Ut,ze=1/Zt,pt=Math.min(Ue,Pe,Me);if(Math.max(Ue,Pe,Me)<0||pt>ze){s&&s.xzBoundsCulled++;continue}let At=Kt*ii+ui*Vt,Tt=jt*ii+Oe*Vt,Lt=Ft*ii+ge*Vt,Ht=Math.min(At,Tt,Lt),ri=Math.max(At,Tt,Lt);if(Ht>0||ri<0){s&&s.xzBoundsCulled++;continue}}let ft=he*Qe.start.x+Re*Qe.start.y+ee*Qe.start.z+Ae,Dt=he*Qe.end.x+Re*Qe.end.y+ee*Qe.end.z+Ae;if(ft>=0&&Dt>=0){s&&s.planeTrimCulled++;continue}if(Zde(SE,Qe)){s&&s.triangleEdgeCulled++;continue}if(St<oe)IQ.copy(Qe);else if(!Jze(SE,Qe,IQ)){s&&s.planeTrimCulled++;continue}if(IQ.distance()<oWe){s&&s.distThresholdCulled++;continue}eWe(IQ,SE,Fwe)?(s&&s.used++,iWe(Qe,Fwe,n[Ee])):s&&s.noOverlapCulled++}}}})}var EM=!1,mQ={},Cz={},zx=null,Tde=0,gde=0,wo={get enabled(){return EM},set enabled(e){EM=e},reset(){for(let e in mQ)delete mQ[e];for(let e in Cz)delete Cz[e];zx=null,Tde=0,gde=0},setStat(e,t){Cz[e]=t},startTotal(){EM&&(gde=performance.now())},startStep(e){EM&&(zx!==null&&this.endStep(),zx=e,Tde=performance.now())},endStep(){if(!EM||zx===null)return;let e=performance.now()-Tde;mQ[zx]=e,zx=null},printSummary(){if(!EM)return;zx!==null&&this.endStep();let e=performance.now()-gde;console.log(`
|
||
=== Projection Summary ===`),console.log(`Total time: ${e.toFixed(1)}ms
|
||
`);for(let[t,i]of Object.entries(mQ)){let n=(i/e*100).toFixed(1);console.log(` ${t}: ${i.toFixed(1)}ms (${n}%)`)}if(Object.keys(Cz).length>0){console.log(`
|
||
--- Stats ---`);for(let[t,i]of Object.entries(Cz))console.log(` ${t}: ${i}`)}console.log("")}},z3=1e-5,yQ=1e-16,EQ=1e-16;function lWe(e){let t=new Float32Array(e.length*6);for(let i=0;i<e.length;i++){let n=e[i];t[i*6+0]=n.start.x,t[i*6+1]=n.start.y,t[i*6+2]=n.start.z,t[i*6+3]=n.end.x,t[i*6+4]=n.end.y,t[i*6+5]=n.end.z}return t}function aWe(e,t,i,n,s){e.bvhcast(t,i.matrixWorld,{intersectsRanges:(o,r,l,d)=>{n._edgeOffsets.push(o),n._edgeCounts.push(r),n._meshOffsets.push(l),n._meshCounts.push(d),n._meshIndex.push(s),n.groupCount++}})}var uWe=1e3,cWe=1e5,wde=5,vde=3,dWe=2e6,xz=null;async function hWe(){return xz===null&&(xz=new cK,await xz.init()),xz}async function fWe(e,t,i,n,s=null){let o=await hWe();e._edgeOffsets&&(e.edgeOffsets=new Uint32Array(e._edgeOffsets),e.edgeCounts=new Uint32Array(e._edgeCounts),e.meshOffsets=new Uint32Array(e._meshOffsets),e.meshCounts=new Uint32Array(e._meshCounts),e.meshIndex=new Uint32Array(e._meshIndex),e._edgeOffsets=null,e._edgeCounts=null,e._meshOffsets=null,e._meshCounts=null,e._meshIndex=null);let r=y_(lWe(i.lines),"float");wo.enabled&&console.log("Number of meshes:",t.length),wo.enabled&&console.log("Group count:",e.groupCount);let l=[];{let T=0;for(;T<t.length;){let R=T,b=0;for(;R<t.length;){let A=t[R].geometry,O=A.index?A.index.count/3:A.attributes.position.count/3;if(R>T&&(R-T>=uWe||b+O>cWe))break;b+=O,R++}l.push({start:T,end:R}),T=R}}wo.enabled&&console.log(`Split ${t.length} meshes into ${l.length} batches`);let d=0,h=0,p=0,I=0,m=0;for(let T=0;T<l.length;T++){let{start:R,end:b}=l[T],A=b-R;wo.enabled&&console.log(`Processing batch ${T+1}/${l.length} (meshes ${R}-${b-1})`);let O=0,P=0,U=[];for(let Kt=R;Kt<b;Kt++){let ui=t[Kt].geometry;U.push(P/3),O+=ui.attributes.position.array.length,P+=ui.index.array.length}let Z=new Float32Array(O),ne=new Uint32Array(P),K=0,oe=0,se=0;for(let Kt=R;Kt<b;Kt++){let ui=t[Kt].geometry,jt=ui.attributes.position.array,Oe=ui.index.array;Z.set(jt,K),K+=jt.length;for(let Ft=0;Ft<Oe.length;Ft++)ne[oe+Ft]=Oe[Ft]+se;oe+=Oe.length,se+=ui.attributes.position.count}let he=new Float32Array(A*16);for(let Kt=R;Kt<b;Kt++){let ui=Kt-R;he.set(t[Kt].matrixWorld.elements,ui*16)}let Re=[];for(let Kt=0;Kt<e.groupCount;Kt++){let ui=e.meshIndex[Kt];if(ui>=R&&ui<b){let jt=ui-R,Oe=U[jt]+e.meshOffsets[Kt];Re.push({edgeOffset:e.edgeOffsets[Kt],edgeCount:e.edgeCounts[Kt],triOffset:Oe,triCount:e.meshCounts[Kt],meshIdx:jt})}}if(Re.length===0){wo.enabled&&console.log(` Batch ${T+1}: no groups, skipping`);continue}let ee=new Uint32Array(Re.length*wde);for(let Kt=0;Kt<Re.length;Kt++){let ui=Re[Kt],jt=Kt*wde;ee[jt+0]=ui.edgeOffset,ee[jt+1]=ui.edgeCount,ee[jt+2]=ui.triOffset,ee[jt+3]=ui.triCount,ee[jt+4]=ui.meshIdx}let Ae=0;for(let Kt=0;Kt<Re.length;Kt++)Ae+=Re[Kt].edgeCount*Re[Kt].triCount;s&&(s.candidates+=Ae);let Ee=Math.min(Math.ceil(Ae*.1),dWe),Ce=Math.max(Ee,1e4);wo.enabled&&console.log(` Batch ${T+1}: ${Re.length} groups, ${O/3} vertices, ${P/3} triangles, ${Ae} pairs, buffer for ${Ce} overlaps`);let Qe=performance.now(),qe=y_(Z,"float"),St=y_(ne,"uint"),$e=y_(he,"float"),ke=y_(ee,"uint"),It=y_(new Uint32Array([0]),"uint").toAtomic(),ft=y_(new Float32Array(Ce*vde),"float");I+=performance.now()-Qe;let Dt=performance.now(),Zt=vge(()=>{let ui=Sge.mul(wde),jt=ke.element(ui),Oe=ke.element(ui.add(1)),Ft=ke.element(ui.add(2)),ge=ke.element(ui.add(3)),Pe=ke.element(ui.add(4)).mul(16),Me=Age($e.element(Pe),$e.element(Pe.add(1)),$e.element(Pe.add(2)),$e.element(Pe.add(3)),$e.element(Pe.add(4)),$e.element(Pe.add(5)),$e.element(Pe.add(6)),$e.element(Pe.add(7)),$e.element(Pe.add(8)),$e.element(Pe.add(9)),$e.element(Pe.add(10)),$e.element(Pe.add(11)),$e.element(Pe.add(12)),$e.element(Pe.add(13)),$e.element(Pe.add(14)),$e.element(Pe.add(15)));zce({start:Wce(0),end:ge.toInt(),type:"int",condition:"<",name:"triIdx"},({triIdx:ze})=>{let He=Ft.add(ze.toUint()).mul(3),At=St.element(He),Tt=St.element(He.add(1)),Lt=St.element(He.add(2)),Ht=w0(qe.element(At.mul(3)),qe.element(At.mul(3).add(1)),qe.element(At.mul(3).add(2))),ri=w0(qe.element(Tt.mul(3)),qe.element(Tt.mul(3).add(1)),qe.element(Tt.mul(3).add(2))),Xe=w0(qe.element(Lt.mul(3)),qe.element(Lt.mul(3).add(1)),qe.element(Lt.mul(3).add(2))),We=Me.mul(FK(Ht,Ms(1))).xyz,Mt=Me.mul(FK(ri,Ms(1))).xyz,si=Me.mul(FK(Xe,Ms(1))).xyz,gi=Mt.sub(We),mi=si.sub(We),bi=BK(gi,mi),Qt=bi.dot(bi);mr(Qt.lessThan(Ms(4*yQ*yQ)),()=>{rm()}),mr(bi.y.lessThan(0),()=>{rm()});let di=sM(We.y,sM(Mt.y,si.y));zce({start:Wce(0),end:Oe.toInt(),type:"int",condition:"<",name:"edgeIdx"},({edgeIdx:Wi})=>{let ki=jt.add(Wi.toUint()),Pi=ki.mul(6),Di=w0(r.element(Pi),r.element(Pi.add(1)),r.element(Pi.add(2))),dn=w0(r.element(Pi.add(3)),r.element(Pi.add(4)),r.element(Pi.add(5))),Ln=hz(Di.y,dn.y);mr(di.lessThanEqual(Ln),()=>{rm()});let Zi=Yce(bi),kt=Zi.dot(We).negate(),Gi=Zi.y.lessThan(0),wi=QS(Gi,Zi.negate(),Zi),Qi=QS(Gi,kt.negate(),kt),Fi=wi.dot(Di).add(Qi),Ci=wi.dot(dn).add(Qi),cn=Fi.lessThan(0),Un=Ci.lessThan(0),hn=Lx(Fi).lessThan(Ms(z3)),Rs=cn.not().and(Un.not()),Wo=Ci.sub(Fi),Io=Lx(Wo).lessThan(Ms(z3)),ao=Io.and(hn.or(cn.not()));mr(ao,()=>{rm()}),mr(Rs.and(Io.not()),()=>{rm()});let Ma=Fi.negate().div(Wo),Yn=E_(Di,dn,Ma),wu=w0(QS(Io.or(cn),Di.x,Yn.x),QS(Io.or(cn),Di.y,Yn.y),QS(Io.or(cn),Di.z,Yn.z)),mo=w0(QS(Io.or(Un),dn.x,Yn.x),QS(Io.or(Un),dn.y,Yn.y),QS(Io.or(Un),dn.z,Yn.z)),Ia=mo.sub(wu),Er=Ia.dot(Ia);mr(Er.lessThan(Ms(z3)),()=>{rm()});let Vl=Di.sub(We),Nr=Di.sub(Mt),Ni=Di.sub(si),_r=dn.sub(We),Hc=dn.sub(Mt),Dr=dn.sub(si),ma=Vl.dot(Vl).lessThanEqual(Ms(z3)),A0=Nr.dot(Nr).lessThanEqual(Ms(z3)),Gc=Ni.dot(Ni).lessThanEqual(Ms(z3)),Vc=_r.dot(_r).lessThanEqual(Ms(z3)),yo=Hc.dot(Hc).lessThanEqual(Ms(z3)),vu=Dr.dot(Dr).lessThanEqual(Ms(z3)),Es=ma.or(A0).or(Gc),ht=Vc.or(yo).or(vu),qt=Es.and(ht);mr(qt,()=>{rm()});let ni=w0(We.x,Ms(0),We.z),ei=w0(Mt.x,Ms(0),Mt.z),Xt=w0(si.x,Ms(0),si.z),ji=w0(wu.x,Ms(0),wu.z),rn=w0(mo.x,Ms(0),mo.z),Ki=w0(Di.x,Ms(0),Di.z),En=w0(dn.x,Ms(0),dn.z).sub(Ki),zn=En.dot(En);mr(zn.lessThan(Ms(z3)),()=>{rm()});let Vn=zn.sqrt(),wn=ei.sub(ni),Ds=Xt.sub(ni),Ws=BK(wn,Ds),Ys=Ws.dot(Ws);mr(Ys.lessThanEqual(Ms(4*yQ*yQ)),()=>{rm()});let hs=rn.sub(ji),uo=hs.dot(hs);mr(uo.lessThan(Ms(z3)),()=>{rm()});let sn=uo.sqrt(),eo=hs.div(sn),Xn=En.div(Vn),Do=Yce(Ws),lr=BK(eo,Do),Bo=Ms(0).toVar(),Fo=Ms(0).toVar(),rs=Ms(0).toVar(),Ts=Ms(0).toVar(),ls=jce(0).toVar(),Ss=lr.dot(ni.sub(ji)),Tr=lr.dot(ei.sub(ji)),hr=Lx(Ss).lessThan(Ms(EQ)),b0=Lx(Tr).lessThan(Ms(EQ)),N0=hr.not().and(b0.not()).and(Ss.mul(Tr).lessThan(0));mr(N0,()=>{let kl=Ss.div(Ss.sub(Tr)),Ru=E_(ni.x,ei.x,kl),Ea=E_(ni.z,ei.z,kl);mr(ls.equal(0),()=>{Bo.assign(Ru),Fo.assign(Ea)}).Else(()=>{rs.assign(Ru),Ts.assign(Ea)}),ls.addAssign(1)}).ElseIf(hr,()=>{mr(ls.equal(0),()=>{Bo.assign(ni.x),Fo.assign(ni.z)}).Else(()=>{rs.assign(ni.x),Ts.assign(ni.z)}),ls.addAssign(1)});let th=Tr,kc=lr.dot(Xt.sub(ji)),Jh=b0,Xh=Lx(kc).lessThan(Ms(EQ)),ih=Jh.not().and(Xh.not()).and(th.mul(kc).lessThan(0));mr(ls.lessThan(2),()=>{mr(ih,()=>{let kl=th.div(th.sub(kc)),Ru=E_(ei.x,Xt.x,kl),Ea=E_(ei.z,Xt.z,kl);mr(ls.equal(0),()=>{Bo.assign(Ru),Fo.assign(Ea)}).Else(()=>{rs.assign(Ru),Ts.assign(Ea)}),ls.addAssign(1)}).ElseIf(Jh.and(N0.not()).and(hr.not()),()=>{mr(ls.equal(0),()=>{Bo.assign(ei.x),Fo.assign(ei.z)}).Else(()=>{rs.assign(ei.x),Ts.assign(ei.z)}),ls.addAssign(1)})});let nh=kc,pI=Ss,_0=Xh,to=hr,Jf=_0.not().and(to.not()).and(nh.mul(pI).lessThan(0));mr(ls.lessThan(2),()=>{mr(Jf,()=>{let kl=nh.div(nh.sub(pI)),Ru=E_(Xt.x,ni.x,kl),Ea=E_(Xt.z,ni.z,kl);mr(ls.equal(0),()=>{Bo.assign(Ru),Fo.assign(Ea)}).Else(()=>{rs.assign(Ru),Ts.assign(Ea)}),ls.addAssign(1)}).ElseIf(_0.and(ih.not()).and(Jh.not()),()=>{mr(ls.equal(0),()=>{Bo.assign(Xt.x),Fo.assign(Xt.z)}).Else(()=>{rs.assign(Xt.x),Ts.assign(Xt.z)}),ls.addAssign(1)})}),mr(ls.notEqual(2),()=>{rm()});let io=w0(Bo,Ms(0),Fo),ef=w0(rs,Ms(0),Ts).sub(io).dot(eo),Xf=w0(Bo,Ms(0),Fo).toVar(),bt=w0(rs,Ms(0),Ts).toVar();mr(ef.lessThan(0),()=>{let kl=Bo,Ru=Fo;Xf.x.assign(rs),Xf.z.assign(Ts),bt.x.assign(kl),bt.z.assign(Ru)});let vi=Ms(0),zi=sn,Rn=Xf.sub(ji).dot(eo),_n=bt.sub(ji).dot(eo),Cn=zi.lessThanEqual(Rn).or(_n.lessThanEqual(vi));mr(Cn,()=>{rm()});let Wn=sM(vi,Rn),An=hz(zi,_n),js=ji.add(eo.mul(Wn)),Uo=ji.add(eo.mul(An)),Yo=js.sub(Ki).dot(Xn).div(Vn),ya=Uo.sub(Ki).dot(Xn).div(Vn),D0=sM(Ms(0),hz(Ms(1),Yo)),ep=sM(Ms(0),hz(Ms(1),ya)),NE=Lx(ep.sub(D0));mr(NE.lessThanEqual(Ms(EQ)),()=>{rm()});let H1=Rge(It.element(0),1);mr(H1.lessThan(jce(Ce)),()=>{let kl=H1.mul(vde);ft.element(kl).assign(ki.toFloat()),ft.element(kl.add(1)).assign(D0),ft.element(kl.add(2)).assign(ep)})})})})().compute(Re.length);m+=performance.now()-Dt;let Ct=performance.now();await o.computeAsync(Zt),d+=performance.now()-Ct;let Ut=performance.now(),ii=await o.getArrayBufferAsync(It.value),Vt=new Uint32Array(ii)[0];if(s&&(s.used+=Math.min(Vt,Ce)),wo.enabled&&console.log(` Batch ${T+1}: ${Vt} overlaps found (capacity: ${Ce})`),Vt>Ce&&wo.enabled&&console.warn(` WARNING: Overlap buffer overflow! ${Vt} > ${Ce}. Some occlusion data lost.`),Vt>0){let Kt=await o.getArrayBufferAsync(ft.value),ui=new Float32Array(Kt);h+=performance.now()-Ut;let jt=performance.now(),Oe=Math.min(Vt,Ce);for(let Ft=0;Ft<Oe;Ft++){let ge=Ft*vde,Ue=Math.round(ui[ge]),Pe=ui[ge+1],Me=ui[ge+2];p2e([Pe,Me],n[Ue])}p+=performance.now()-jt,wo.enabled&&console.log(` Processed ${Oe} overlaps into hiddenOverlapMap`)}else h+=performance.now()-Ut}o.dispose(),xz=null;let y=I+m+d+h+p;wo.enabled&&(console.log(`WebGPU timing breakdown (total: ${y.toFixed(1)}ms):`),console.log(` Buffer creation: ${I.toFixed(1)}ms`),console.log(` Shader build: ${m.toFixed(1)}ms`),console.log(` GPU compute: ${d.toFixed(1)}ms`),console.log(` Readback: ${h.toFixed(1)}ms`),console.log(` CPU merge: ${p.toFixed(1)}ms`))}var pWe=new ye(0,1,0);function Uwe(e,t=null){let i=new Float32Array(e.length*6),n=0;for(let r=0,l=e.length;r<l;r++){let d=e[r];i[n++]=d[0],i[n++]=0,i[n++]=d[2],i[n++]=d[3],i[n++]=0,i[n++]=d[5]}let s=new nn,o=new Tn(i,3,!0);if(s.setAttribute("position",o),t){let r=new Float32Array(e.length*2);for(let l=0,d=t.length;l<d;l++)r[l*2]=t[l],r[l*2+1]=t[l];s.setAttribute("group",new Tn(r,1))}return s}var Xde=class{constructor(t,i=!0){this.meshes=Kde(t),this.bvhs=new Map,this.visibleEdges=[],this.hiddenEdges=[],this.visibleGroupIndices=[],this.hiddenGroupIndices=[],this.groupKeyToIndex=null,this.hasGroups=!1,this.iterationTime=30,this.useWebGPU=i}reset(){this.visibleEdges.length=0,this.hiddenEdges.length=0,this.visibleGroupIndices.length=0,this.hiddenGroupIndices.length=0,this.groupKeyToIndex=null,this.hasGroups=!1}getVisibleLineGeometry(){return Uwe(this.visibleEdges,this.groupKeyToIndex?this.visibleGroupIndices:null)}getHiddenLineGeometry(){return Uwe(this.hiddenEdges,this.groupKeyToIndex?this.hiddenGroupIndices:null)}getGroupKeys(){return this.groupKeyToIndex?Object.fromEntries(this.groupKeyToIndex):{}}addEdges(...t){let i=this.iterationTime;this.iterationTime=1/0;let n=this.addEdgesGenerator(...t).next().value;return this.iterationTime=i,n}*addEdgesGenerator(t,i={}){let{meshes:n,bvhs:s,visibleEdges:o,hiddenEdges:r,iterationTime:l}=this,d=performance.now();wo.startStep("Building mesh BVH");for(let A=0;A<n.length;A++){performance.now()-d>l&&(yield,d=performance.now());let P=n[A].geometry;if(!s.has(P)){let U=P.boundsTree||new qx(P);s.set(P,U)}}let h=0;for(let A=0;A<n.length;A++){let O=n[A].geometry;h+=O.index?O.index.count/3:O.attributes.position.count/3}let p={};for(let A=0;A<t.length;A++)p[A]=[];wo.startStep("Building line BVH");let I=new Jde(t,{maxLeafSize:2,strategy:T0e});wo.startStep("BVHcast overlaps"),d=performance.now();let m={candidates:0,backFaceCulled:0,yBoundsCulled:0,xzBoundsCulled:0,triangleEdgeCulled:0,planeTrimCulled:0,distThresholdCulled:0,noOverlapCulled:0,used:0,totalEdges:t.length,totalTriangles:h},y=this.useWebGPU,T={};y&&(T._edgeOffsets=[],T._edgeCounts=[],T._meshOffsets=[],T._meshCounts=[],T._meshIndex=[],T.groupCount=0);for(let A=0;A<n.length;A++){performance.now()-d>l&&(i.onProgress&&i.onProgress(A,n.length),yield,d=performance.now());let O=n[A];y?aWe(I,s.get(O.geometry),O,T,A):rWe(I,s.get(O.geometry),O,p,m)}if(y){let A=!1;for(fWe(T,n,I,p,m).then(()=>{A=!0});!A;)yield}let R=m.totalEdges*m.totalTriangles;if(wo.setStat("Total edges",m.totalEdges.toLocaleString()),wo.setStat("Total triangles",m.totalTriangles.toLocaleString()),wo.setStat("Brute-force pairs (edges \xD7 triangles)",R.toLocaleString()),wo.setStat("BVH candidate pairs",m.candidates.toLocaleString()),R>0&&wo.setStat("BVH reduction",(m.candidates/R*100).toFixed(3)+"% of brute-force"),m.candidates>0){let A=m.candidates,O=P=>(P/A*100).toFixed(2)+"%";y||(wo.setStat("Rejected: back-face culling",m.backFaceCulled.toLocaleString()+" ("+O(m.backFaceCulled)+")"),wo.setStat("Rejected: Y-bounds (tri below edge)",m.yBoundsCulled.toLocaleString()+" ("+O(m.yBoundsCulled)+")"),wo.setStat("Rejected: XZ-bounds (no 2D overlap)",m.xzBoundsCulled.toLocaleString()+" ("+O(m.xzBoundsCulled)+")"),wo.setStat("Rejected: edge lies on triangle",m.triangleEdgeCulled.toLocaleString()+" ("+O(m.triangleEdgeCulled)+")"),wo.setStat("Rejected: line above tri plane",m.planeTrimCulled.toLocaleString()+" ("+O(m.planeTrimCulled)+")"),wo.setStat("Rejected: trimmed edge too small",m.distThresholdCulled.toLocaleString()+" ("+O(m.distThresholdCulled)+")"),wo.setStat("Rejected: no projected overlap",m.noOverlapCulled.toLocaleString()+" ("+O(m.noOverlapCulled)+")")),wo.setStat("Producing overlaps",m.used.toLocaleString()+" ("+O(m.used)+")")}wo.startStep("Converting overlaps to lines");let b=this.hasGroups;for(let A=0;A<t.length;A++){performance.now()-d>l&&(yield,d=performance.now());let O=t[A],P=p[A],U=o.length,Z=r.length;if(wwe(O,P,!1,o),wwe(O,P,!0,r),b){let ne=O.groupIndex;for(let K=U;K<o.length;K++)this.visibleGroupIndices.push(ne);for(let K=Z;K<r.length;K++)this.hiddenGroupIndices.push(ne)}}}},e0e=class{constructor(){this.iterationTime=30,this.angleThreshold=50,this.includeIntersectionEdges=!0,this.useWebGPU=!0}generateAsync(t,i={}){return new Promise((n,s)=>{let{signal:o}=i,r=this.generate(t,i);l();function l(){if(o&&o.aborted){s(new Error("ProjectionGenerator: Process aborted via AbortSignal."));return}let d=r.next();d.done?n(d.value):requestAnimationFrame(l)}})}*generate(t,i){let{iterationTime:n,angleThreshold:s,includeIntersectionEdges:o}=this,{onProgress:r=()=>{},visibilityCuller:l=null,groupFn:d=null}=i;if(wo.reset(),wo.startTotal(),t.isBufferGeometry&&(t=new _i(t)),l){wo.startStep("Visibility culling");let y=!1;for(l.cull(t).then(T=>{t=new HI,t.children=T,y=!0});!y;)yield}let h=new Qde;h.iterationTime=n,h.thresholdAngle=s,h.projectionDirection.copy(pWe),wo.startStep("Generating candidate edges"),r("Generating candidate edges");let p=[],I=d?[]:null;if(yield*h.getEdgesGenerator(t,p,I),o&&(wo.startStep("Generating intersection edges"),r("Generating intersection edges"),yield*h.getIntersectionEdgesGenerator(t,p,I)),wo.startStep("Pre-filtering edges"),r("Pre-filtering edges"),I){let y=[],T=[];for(let R=0;R<p.length;R++)gwe(p[R])||(y.push(p[R]),T.push(I[R]));p=y,I=T}else p=p.filter(y=>!gwe(y));yield;let m=new Xde(t,this.useWebGPU);if(m.iterationTime=n,d&&I){let y=new Map;for(let T=0;T<p.length;T++){let R=d(I[T]);y.has(R)||y.set(R,y.size),p[T].groupIndex=y.get(R)}m.groupKeyToIndex=y,m.hasGroups=!0}return r("Building BVH & computing overlaps"),yield*m.addEdgesGenerator(p,{onProgress:r?(y,T)=>{r("Building BVH & computing overlaps",y/T,m)}:null}),wo.printSummary(),m}};new ds;new ds;new ye;var I2e=class t0e extends Gl{constructor(t){super(t),Le(this,"enabled",!0),Le(this,"onDisposed",new $i),Le(this,"generator",new e0e),Le(this,"cullerPixelsPerMeter",.05),Le(this,"projectionDirection",new ye(0,-1,0)),Le(this,"nearPlane",-1/0),Le(this,"farPlane",1/0),this.components.add(t0e.uuid,this),this.generator.includeIntersectionEdges=!1}async get(t,i,n){let s=this.components.get(_s),o=new Zo,r=new Map;for(let[U,Z]of Object.entries(t)){let ne=s.list.get(U);if(!ne)continue;let oe=(await ne.getItemsIdsWithGeometry()).filter(he=>Z.has(he));if(oe.length===0)continue;let se=await ne.getItemsGeometry(oe);for(let he in se){let Re=se[he];for(let ee of Re){if(!ee.positions||!ee.indices||!ee.transform||!ee.representationId)continue;let Ae=ee.representationId;if(!r.has(Ae)){let Qe=new nn;Qe.setAttribute("position",new ln(ee.positions,3)),ee.normals&&Qe.setAttribute("normal",new ln(ee.normals,3)),Qe.setIndex(Array.from(ee.indices)),r.set(Ae,Qe)}let Ee=r.get(Ae),Ce=new _i(Ee);Ce.applyMatrix4(ee.transform),Ce.applyMatrix4(ne.object.matrixWorld),Ce.updateWorldMatrix(!0,!0),Ce.userData._edgeProjectorModelId=U,Ce.userData._edgeProjectorLocalId=ee.localId,o.add(Ce)}}}let l=this.projectionDirection.clone().normalize(),d=new ye(0,-1,0),h=new Gs().setFromUnitVectors(l,d),p=new Ai().makeRotationFromQuaternion(h),I=p.clone().invert();for(let U of o.children)U.applyMatrix4(p),U.updateWorldMatrix(!1,!1);if(o.traverse(U=>{let Z=U;if(Z.geometry&&!Z.geometry.boundsTree){let ne=Z.geometry.index?Z.geometry.index.count:Z.geometry.attributes.position.count;Z.geometry.groups.forEach(K=>{K.count===1/0&&(K.count=ne-K.start)}),Z.geometry.boundsTree=new qx(Z.geometry,{maxLeafSize:1,strategy:T0e})}}),this.nearPlane!==-1/0||this.farPlane!==1/0){let U=new kn,Z=[];for(let ne of o.children){let K=ne;K.geometry&&(U.setFromObject(K),(U.max.y<this.nearPlane||U.min.y>this.farPlane)&&Z.push(K))}for(let ne of Z)o.remove(ne)}let y=i.renderer.three,T=new jde(y,{pixelsPerMeter:this.cullerPixelsPerMeter}),R=await this.generator.generateAsync(o,{visibilityCuller:T,groupFn:U=>{let Z=U.userData._edgeProjectorModelId??"unknown",ne=U.userData._edgeProjectorLocalId??0;return`${Z}:${ne}`},onProgress:n?.onProgress}),b=R.getVisibleLineGeometry(),A=R.getHiddenLineGeometry();b.applyMatrix4(I),A.applyMatrix4(I);let O=R.getGroupKeys(),P={};for(let[U,Z]of Object.entries(O)){let ne=U.lastIndexOf(":"),K=U.substring(0,ne),oe=Number(U.substring(ne+1));P[Z]={modelId:K,localId:oe}}for(let U of r.values())U.dispose();return{visible:b,hidden:A,groups:P}}dispose(){this.onDisposed.trigger(t0e.uuid),this.onDisposed.reset()}};Le(I2e,"uuid","f2e76c3a-8b1d-4d5e-9a3f-7c6b2d4e8f1a");var m2e=I2e,LQ=class{constructor(){Le(this,"wasm",{path:"",absolute:!1,logLevel:q6.LOG_LEVEL_OFF}),Le(this,"webIfc",{COORDINATE_TO_ORIGIN:!0}),Le(this,"autoSetWasm",!0),Le(this,"customLocateFileHandler",null)}},y2e=class i0e extends Gl{constructor(t){super(t),Le(this,"onDisposed",new $i),Le(this,"onIfcStartedLoading",new $i),Le(this,"onIfcImporterInitialized",new $i),Le(this,"onSetup",new $i),Le(this,"settings",new LQ),Le(this,"webIfc",new DN),Le(this,"enabled",!0),this.components.add(i0e.uuid,this)}dispose(){this.webIfc=null,this.onDisposed.trigger(i0e.uuid),this.onDisposed.reset()}async setup(t){this.settings={...this.settings,...t},this.settings.autoSetWasm&&await this.autoSetWasm(),this.onSetup.trigger()}async load(t,i,n,s){let o=this.components.get(_s);if(!o.initialized)throw new Error("You need to initialize fragments first.");this.settings.autoSetWasm&&await this.autoSetWasm(),o.core.settings.autoCoordinate=i;let r=new p$;r.wasm.path=this.settings.wasm.path,r.wasm.absolute=this.settings.wasm.absolute,r.webIfcSettings=this.settings.webIfc,this.onIfcImporterInitialized.trigger(r),s?.instanceCallback&&s.instanceCallback(r);let l=await r.process({...s?.processData,bytes:t});return await o.core.load(l,{modelId:n,userData:s?.userData})}async readIfcFile(t){let{path:i,absolute:n,logLevel:s}=this.settings.wasm;return this.webIfc.SetWasmPath(i,n),await this.webIfc.Init(this.settings.customLocateFileHandler||void 0),s&&this.webIfc.SetLogLevel(s),this.webIfc.OpenModel(t,this.settings.webIfc)}cleanUp(){try{this.webIfc.Dispose()}catch{console.log("Web-ifc wasn't disposed.")}this.webIfc=null,this.webIfc=new DN}async autoSetWasm(){let t=await fetch(`https://unpkg.com/@thatopen/components@${b0e.release}/package.json`);if(!t.ok){console.warn("Couldn't get openbim-components package.json. Set wasm settings manually.");return}let i=await t.json();if(!("web-ifc"in i.peerDependencies))console.warn("Couldn't get web-ifc from peer dependencies in openbim-components. Set wasm settings manually.");else{let n=i.peerDependencies["web-ifc"];this.settings.wasm.path=`https://unpkg.com/web-ifc@${n}/`,this.settings.wasm.absolute=!0}}};Le(y2e,"uuid","a659add7-1418-4771-a0d6-7d4d438e4624");var IWe=y2e,E2e=class T2e extends Gl{constructor(t){super(t),Le(this,"enabled",!0),this.components.add(T2e.uuid,this)}async set(t,i){let n=this.components.get(_s),s=[];if(i)for(let[o,r]of Object.entries(i)){let l=n.list.get(o);l&&s.push(l.setVisible([...r],t))}else for(let o of n.list.values())s.push(o.setVisible(void 0,t));await Promise.all(s),await n.core.update(!0)}async isolate(t){await Promise.all([this.set(!1),this.set(!0,t)])}async toggle(t){let i=[],n=this.components.get(_s);for(let[s,o]of Object.entries(t)){let r=n.list.get(s);r&&i.push(r.toggleVisible([...o]))}await Promise.all(i),await n.core.update(!0)}async getVisibilityMap(t,i){let n=[],s=[],o=this.components.get(_s);if(i)for(let d of i){let h=o.list.get(d);h&&(n.push(h.modelId),s.push(h.getItemsByVisibility(t)))}else for(let d of o.list.values())n.push(d.modelId),s.push(d.getItemsByVisibility(t));let r=await Promise.all(s),l={};for(let[d,h]of n.entries())l[h]=r[d];return l}};Le(E2e,"uuid","dd9ccf2d-8a21-4821-b7f6-2949add16a29");var g2e=E2e,w2e=class n0e extends Gl{constructor(t){super(t),Le(this,"enabled",!0),Le(this,"onDisposed",new $i),Le(this,"list",new sI),this.components.add(n0e.uuid,this)}dispose(t=!0){this.list.clear(),this.onDisposed.trigger(n0e.uuid),t&&(this.onDisposed.reset(),this.list.eventsEnabled=!1,this.list.dispose())}get(){let t=new kn;for(let i of this.list)t.union(i);return t}async addFromModelIdMap(t){let i=this.components.get(_s),n=new kn;for(let[s,o]of Object.entries(t)){let r=i.list.get(s);if(!r)continue;let l=await r.getMergedBox([...o]);n.union(l)}this.list.add(n)}addFromModels(t){let i=this.components.get(_s);for(let[n,s]of i.list)t&&!t.some(o=>o.test(n))||this.list.add(s.box)}async getCenter(t){this.list.clear(),await this.addFromModelIdMap(t);let i=this.get();this.list.clear();let n=new ye;return i.getCenter(n),n}async getCameraOrientation(t,i=1){let n=this.components.get(_s);this.list.clear();for(let[h,p]of n.list)this.list.add(p.box);let s=this.get();this.list.clear();let o=new ye;s.getCenter(o);let r=new ye;s.getSize(r);let l=Math.max(r.x,r.y,r.z)*i,d=new ye;switch(t){case"front":d.set(o.x,o.y,o.z+l);break;case"back":d.set(o.x,o.y,o.z-l);break;case"left":d.set(o.x-l,o.y,o.z);break;case"right":d.set(o.x+l,o.y,o.z);break;case"top":d.set(o.x,o.y+l,o.z);break;case"bottom":d.set(o.x,o.y-l,o.z);break;default:d.set(o.x,o.y,o.z+l)}return{position:d,target:o}}};Le(w2e,"uuid","d1444724-dba6-4cdd-a0c7-68ee1450d166");var S0e=w2e,PQ=class{constructor(t,i){Le(this,"name","Query"),Le(this,"customData",{}),Le(this,"_components"),Le(this,"_queries",[]),Le(this,"_aggregation","exclusive"),Le(this,"result",null),Le(this,"cache",!0),Le(this,"serializeQueryParameters",n=>{var s;return{categories:(s=n.categories)==null?void 0:s.map(r=>r.source),attributes:n.attributes?{aggregation:n.attributes.aggregation,queries:n.attributes.queries.map(this.serializeAttributeQuery)}:void 0,relation:n.relation?{name:n.relation.name,query:n.relation.query?this.serializeQueryParameters(n.relation.query):void 0}:void 0}}),Le(this,"deserializeQueryParameters",n=>{var s;return{categories:(s=n.categories)==null?void 0:s.map(r=>new RegExp(r)),attributes:n.attributes?{aggregation:n.attributes.aggregation,queries:n.attributes.queries.map(this.deserializeAttributeQuery)}:void 0,relation:n.relation?{name:n.relation.name,query:n.relation.query?this.deserializeQueryParameters(n.relation.query):void 0}:void 0}}),this._components=t,this.queries=i}set queries(t){this._queries=t,this.clearCache()}get queries(){return this._queries}set aggregation(t){t!==this._aggregation&&this.clearCache(),this._aggregation=t}get aggregation(){return this._aggregation}async test(t){let{modelIds:i,force:n}={force:!1,...t};if(this.result&&!n)return this.result;let o=await this._components.get(vM).getItems(this.queries,{modelIds:i,aggregation:this.aggregation});return this.cache&&(this.result=o),o}clearCache(){this.result=null}serializeAttributeQuery(t){let i;return Array.isArray(t.value)?i=t.value.map(s=>s.source):t.value instanceof RegExp?i=t.value.source:i=t.value,{name:t.name.source,value:i,type:t.type instanceof RegExp?t.type.source:t.type,negate:t.negate,itemIds:t.itemIds}}toJSON(){return{guid:this._components.get(vM).list.getKey(this)??dI.create(),name:this.name,customData:this.customData,queries:this.queries.map(this.serializeQueryParameters),aggregation:this.aggregation,cache:this.cache}}deserializeAttributeQuery(t){let i;return Array.isArray(t.value)?i=t.value.map(s=>new RegExp(s)):typeof t.value=="string"?i=new RegExp(t.value):i=t.value,{name:new RegExp(t.name),value:i,type:t.type?new RegExp(t.type):void 0,negate:t.negate,itemIds:t.itemIds}}fromJSON(t){return this.name=t.name,this.customData=t.customData,this.aggregation=t.aggregation,this.cache=t.cache,this.queries=t.queries.map(this.deserializeQueryParameters),this}},v2e=class R2e extends Gl{constructor(t){super(t),Le(this,"enabled",!0),Le(this,"list",new fo),t.add(R2e.uuid,this)}async getItems(t,i){let n;if(i){let{modelIds:d,items:h}=i;if(h){let p=Object.keys(h);p.length>0&&(n=p.map(I=>new RegExp(`^${I}$`)))}else d&&(n=d)}let s=i?.aggregation??"exclusive",o=this.components.get(_s),r=await Promise.all(t.map(async d=>{let h={};return await Promise.all(Array.from(o.list).map(async([p,I])=>{var m;if(n&&!n.some(R=>R.test(p)))return;let y=(m=i?.items)==null?void 0:m[p],T=await I.getItemsByQuery(d,{localIds:y?[...y]:void 0});h[p]=new Set(T)})),h}));return s==="inclusive"?Kh.join(r):Kh.intersect(r)}create(t,i){let n=new PQ(this.components,i);return this.list.set(t,n),n}async addFromCategories(t){let i=new Set,n=this.components.get(_s);for(let[s,o]of n.list){if(t&&!t.some(d=>d.test(s)))continue;let r=(await o.getItemsWithGeometryCategories()).filter(d=>d!==null),l=new Set(r);for(let d of l)this.list.has(d)||(this.create(d,[{categories:[new RegExp(`^${d}$`)]}]),i.add(d))}return[...i]}import(t){let{data:i}=t,n=[];if(!i)return n;for(let s of i){let o=this.create(s.guid,[]);o.fromJSON(s),n.push(o)}return n}export(){let t=[];for(let[i,n]of this.list.entries()){let o={...n.toJSON(),name:i};t.push(o)}return{data:t}}};Le(v2e,"uuid","0da7ad77-f734-42ca-942f-a074adfd1e3a");var vM=v2e,S2e=class A2e extends Gl{constructor(t){super(t),Le(this,"enabled",!0),Le(this,"onDisposed",new $i),Le(this,"list",new fo),Le(this,"defaultSaveFunction",n=>"value"in n.Name?n.Name.value:null),Le(this,"onBeforeFragmentsDispose",async n=>{let{key:s,value:o}=n,r=await o.getLocalIds(),l={[s]:new Set(r)};this.removeItems(l)}),t.add(A2e.uuid,this),this.setupEvents(),t.get(_s).list.onBeforeDelete.add(this.onBeforeFragmentsDispose)}setupEvents(){this.list.onBeforeDelete.add(({value:t})=>t.dispose())}getClassificationGroups(t){let i=this.list.get(t);return i||(i=new fo,this.list.set(t,i)),i}getModelItems(t,i,n){let{map:s}=this.getGroupData(t,i),o=s[n];return o||(o=new Set,s[n]=o),o}getGroupData(t,i){let n=this.components.get(vM),s=this.getClassificationGroups(t),o=s.get(i);return o||(o={map:{},get(){return new Promise(r=>{if(!o){r({});return}if(o.query){let{name:l,config:d}=o.query,h=n.list.get(l);if(!h)throw new Error("Classifier: the query name associated with the group doesn't exist in the ItemsFinder component");h.test(d).then(p=>{if(!o){r({});return}let I=Kh.join([p,o.map]);r(I)})}else r(o.map)})}},s.set(i,o)),o}async aggregateItems(t,i,n){let s=n?.data??void 0,o=n?.aggregationCallback??this.defaultSaveFunction,r=this.components.get(_s),d=await this.components.get(vM).getItems([i],{modelIds:n?.modelIds});for(let[h,p]of Object.entries(d)){let I=r.list.get(h);if(!I)continue;let m=(T,...R)=>{let b=this.getModelItems(t,T,h);for(let A of R)b.add(A)},y=await I.getItemsData([...p],s);for(let T of y)o(T,m)}}addGroupItems(t,i,n){let{map:s}=this.getGroupData(t,i);Kh.add(s,n)}setGroupQuery(t,i,n){let s=this.getGroupData(t,i);s.query=n}async find(t){let i=[];for(let[s,o]of Object.entries(t)){let r=[],l=this.list.get(s);if(!l)continue;for(let h of o){let p=l.get(h);if(!p)continue;let I=await p.get();r.push(I)}let d=Kh.join(r);i.push(d)}return Kh.intersect(i)}async aggregateItemRelations(t,i,n,s){let o=s?.attribute??"Name",r={relations:{[n]:{attributes:!0,relations:!1}}};await this.aggregateItems(t,i,{modelIds:s?.modelIds,data:r,aggregationCallback:(l,d)=>{if(!l?.[o])return;let h=l[o];if(!("value"in h))return;let p=l[n];if(Array.isArray(p))for(let I of p)"value"in I._localId&&d(h.value,I._localId.value)}})}async byIfcBuildingStorey(t){await this.aggregateItemRelations(t?.classificationName??"Storeys",{categories:[/BUILDINGSTOREY/]},"ContainsElements",{modelIds:t?.modelIds})}async byCategory(t){let n=await this.components.get(vM).addFromCategories(t?.modelIds);for(let s of n)this.setGroupQuery(t?.classificationName??"Categories",s,{name:s})}dispose(){this.list.clear(),this.components.get(_s).list.onBeforeDelete.remove(this.onBeforeFragmentsDispose),this.onDisposed.trigger()}removeItems(t,i){if(i&&i.classificationName){let n=this.list.get(i.classificationName);if(!n||i.groupName&&!n.get(i.groupName))return;for(let[,s]of n)Kh.remove(s.map,t);return}for(let[,n]of this.list.entries())for(let[,s]of n)Kh.remove(s.map,t)}async byModel(t){let i=this.components.get(_s),n=t?.classificationName??"Models";for(let[s,o]of i.list){if(t&&t.modelIds&&!t.modelIds.some(d=>d.test(s)))continue;let r=await o.getItemsIdsWithGeometry(),l={[s]:new Set(r)};this.getGroupData(n,s),this.addGroupItems(n,s,l)}}};Le(S2e,"uuid","e25a7f3c-46c4-4a14-9d3d-5115f24ebeb7");var mWe=S2e,MQ=class{constructor(t,i){Le(this,"enabled",!0),Le(this,"components"),Le(this,"onDisposed",new $i),Le(this,"mouse"),Le(this,"world"),Le(this,"debugMode",!1),Le(this,"colorToModelId",new Map),Le(this,"modelIdToColor",new Map),Le(this,"renderTarget"),Le(this,"renderTargetSize",new hi),Le(this,"debugCanvas"),Le(this,"debugContainer"),Le(this,"colorMaterials",new Map),Le(this,"originalMaterials",new Map),Le(this,"originalLodColors",new Map),Le(this,"colorsNeedUpdate",!0);let n=i.renderer;if(!n)throw new Error("A renderer is needed for the FastModelPicker to work!");this.world=i,this.mouse=new Bz(n.three.domElement),this.components=t,this.setupRenderTarget(),this.setupFragmentListeners()}setupFragmentListeners(){let t=this.components.get(_s);t.list.onItemSet.add(()=>{this.colorsNeedUpdate=!0}),t.list.onItemDeleted.add(()=>{this.colorsNeedUpdate=!0})}setupRenderTarget(){let i=this.world.renderer.three.getSize(new hi);this.renderTargetSize.copy(i),this.renderTarget=new ka(i.x,i.y),this.renderTarget.texture.format=Ko,this.renderTarget.texture.type=Lo,this.debugMode&&this.setupDebugCanvas(),this.world.renderer.onResize.add(n=>{this.renderTargetSize.copy(n),this.renderTarget.setSize(n.x,n.y),this.debugCanvas&&(this.debugCanvas.width=n.x,this.debugCanvas.height=n.y)})}setupDebugCanvas(){if(this.debugCanvas)return;let t=this.world.renderer.three.getSize(new hi);this.debugContainer=document.createElement("div"),this.debugContainer.style.position="fixed",this.debugContainer.style.top="10px",this.debugContainer.style.right="10px",this.debugContainer.style.width="300px",this.debugContainer.style.height="300px",this.debugContainer.style.border="2px solid #fff",this.debugContainer.style.backgroundColor="#000",this.debugContainer.style.zIndex="10000",this.debugContainer.style.pointerEvents="none",this.debugCanvas=document.createElement("canvas"),this.debugCanvas.width=t.x,this.debugCanvas.height=t.y,this.debugCanvas.style.width="100%",this.debugCanvas.style.height="100%",this.debugCanvas.style.imageRendering="pixelated",this.debugContainer.appendChild(this.debugCanvas),document.body.appendChild(this.debugContainer)}generateColorForModel(t){let i=0;for(let l=0;l<t.length;l++)i=(i<<5)-i+t.charCodeAt(l),i&=i;let n=Math.abs(i)%16777215;n===0&&(n=1);let s=n>>16&255||1,o=n>>8&255||1,r=n&255||1;return new Oi(s/255,o/255,r/255)}colorToId(t){let i=Math.round(t.r*255),n=Math.round(t.g*255),s=Math.round(t.b*255);return i<<16|n<<8|s}assignColors(){let t=this.components.get(_s);if(t.initialized){if(!this.colorsNeedUpdate){let i=new Set(t.list.keys()),n=new Set(this.modelIdToColor.keys());(i.size!==n.size||[...i].some(s=>!n.has(s)))&&(this.colorsNeedUpdate=!0)}if(this.colorsNeedUpdate){this.colorToModelId.clear(),this.modelIdToColor.clear();for(let i of this.colorMaterials.values())i.dispose();this.colorMaterials.clear();for(let[i]of t.list){let n=this.generateColorForModel(i),s=this.colorToId(n);this.colorToModelId.set(s,i),this.modelIdToColor.set(i,n);let o=new Ho({color:n,depthTest:!0,depthWrite:!0});this.colorMaterials.set(i,o)}this.colorsNeedUpdate=!1}}}applyColorMaterials(){let t=this.components.get(_s);if(t.initialized)for(let[i,n]of t.list){let s=this.colorMaterials.get(i);s&&n.object.traverse(o=>{if(o instanceof _i){if("isLODGeometry"in o.geometry){let l=o.material[0].uniforms.lodColor;this.originalLodColors.has(l)||this.originalLodColors.set(l,l.value),l.value=s.color;return}this.originalMaterials.has(o)||this.originalMaterials.set(o,o.material),o.material=s}})}}restoreOriginalMaterials(){for(let[t,i]of this.originalMaterials)t.material=i;for(let[t,i]of this.originalLodColors)t.value=i;this.originalMaterials.clear()}renderColorCoded(){if(!this.renderTarget||!this.world.renderer)throw new Error("Render target not initialized!");let t=this.world.renderer.three,i=this.world.scene.three,n=this.world.camera.three,s=t.getRenderTarget(),o=t.autoClear,r=new Oi,l=t.getClearAlpha();t.getClearColor(r),this.applyColorMaterials(),t.setRenderTarget(this.renderTarget),t.autoClear=!0,t.setClearColor(0,1),t.clear(!0,!0,!1),t.render(i,n),t.setRenderTarget(s),t.autoClear=o,t.setClearColor(r,l),this.restoreOriginalMaterials(),this.debugMode&&this.debugCanvas&&this.updateDebugCanvas()}updateDebugCanvas(){if(!this.debugCanvas||!this.renderTarget||!this.world.renderer)return;let t=this.world.renderer.three,i=this.renderTargetSize,n=new Uint8Array(i.x*i.y*4);t.readRenderTargetPixels(this.renderTarget,0,0,i.x,i.y,n);let s=this.debugCanvas.getContext("2d");if(!s)return;let o=s.createImageData(i.x,i.y),r=i.x*4;for(let l=0;l<i.y;l++){let d=l,h=i.y-1-l,p=d*r,I=h*r;o.data.set(n.subarray(p,p+r),I)}s.putImageData(o,0,0)}async getModelAt(t){if(!this.renderTarget||!this.world.renderer)throw new Error("Render target not initialized!");let i=this.components.get(_s);if(!i.initialized||i.list.size===0)return null;this.assignColors(),this.renderColorCoded();let n=t||this.mouse.position,s=this.renderTargetSize,o=Math.floor((n.x+1)*.5*s.x),r=Math.floor((n.y+1)*.5*(s.y-1)),l=Math.max(0,Math.min(s.x-1,o)),d=Math.max(0,Math.min(s.y-1,r)),h=this.world.renderer.three,p=new Uint8Array(4);h.readRenderTargetPixels(this.renderTarget,l,d,1,1,p);let I=p[0],m=p[1],y=p[2],T=I<<16|m<<8|y;return this.colorToModelId.get(T)||null}setDebugMode(t){this.debugMode=t,t?this.setupDebugCanvas():this.removeDebugCanvas()}removeDebugCanvas(){this.debugContainer&&(this.debugContainer.remove(),this.debugContainer=void 0,this.debugCanvas=void 0)}dispose(){this.mouse.dispose(),this.removeDebugCanvas();for(let t of this.colorMaterials.values())t.dispose();this.colorMaterials.clear(),this.renderTarget&&this.renderTarget.dispose(),this.colorToModelId.clear(),this.modelIdToColor.clear(),this.originalMaterials.clear(),this.originalLodColors.clear(),this.onDisposed.trigger(),this.onDisposed.reset()}},b2e=class N2e extends Gl{constructor(t){super(t),Le(this,"enabled",!0),Le(this,"list",new Map),Le(this,"onDisposed",new $i),t.add(N2e.uuid,this)}get(t){if(this.list.has(t.uuid))return this.list.get(t.uuid);let i=new MQ(this.components,t);return this.list.set(t.uuid,i),t.onDisposed.add(()=>{this.delete(t)}),i}delete(t){let i=this.list.get(t.uuid);i&&i.dispose(),this.list.delete(t.uuid)}dispose(){for(let[t,i]of this.list)i.dispose();this.list.clear(),this.onDisposed.trigger()}};Le(b2e,"uuid","4a82430c-7ff2-49ea-9401-60807502dad6");var _2e=b2e,BQ=class{constructor(t,i){Le(this,"enabled",!0),Le(this,"components"),Le(this,"onDisposed",new $i),Le(this,"mouse"),Le(this,"three",new fp),Le(this,"world"),Le(this,"useFastModelPicking",!1);let n=i.renderer;if(!n)throw new Error("A renderer is needed for the raycaster to work!");this.world=i,this.mouse=new Bz(n.three.domElement),this.components=t}dispose(){this.mouse.dispose(),this.onDisposed.trigger(),this.onDisposed.reset()}castRayToObjects(t=Array.from(this.world.meshes),i=this.mouse.position){if(!this.world)throw new Error("A world is needed to cast rays!");let n=this.world.camera.three;return this.three.setFromCamera(i,n),this.intersect(t)}async castRay(t){let i=t?.snappingClasses,n=t?.items??Array.from(this.world.meshes),s=t?.position??this.mouse.position;if(!this.world)throw new Error("A world is needed to cast rays!");let o=this.world.camera.three,r=this.components.get(_s),l=this.world.renderer.three.domElement,d=this.mouse.rawPosition,h=null;if(r.initialized){if(this.useFastModelPicking){let y=await this.components.get(_2e).get(this.world).getModelAt(s);if(y){let T=r.list.get(y);if(T)if(i&&i.length>0){let R=await T.raycastWithSnapping({camera:o,dom:l,mouse:d,snappingClasses:i});R&&R.length>0?h=R[0]:h=await T.raycast({camera:o,dom:l,mouse:d})}else h=await T.raycast({camera:o,dom:l,mouse:d})}}else h=await r.raycast({camera:o,dom:l,mouse:d,snappingClasses:i});if(n.length===0)return h}this.three.setFromCamera(s,o);let p=this.intersect(n);return h?p&&p.distance<h.distance?p:h:p}castRayFromVector(t,i,n=Array.from(this.world.meshes)){return this.three.set(t,i),this.intersect(n)}intersect(t=Array.from(this.world.meshes)){let i=this.three.intersectObjects(t),n=this.filterClippingPlanes(i);return n.length>0?n[0]:null}filterClippingPlanes(t){if(!this.world.renderer)throw new Error("Renderer not found!");let i=this.world.renderer.three;if(!i.clippingPlanes)return t;let n=i.clippingPlanes;return t.length<=0||!n||n?.length<=0?t:t.filter(s=>n.every(o=>o.distanceToPoint(s.point)>0))}},D2e=class C2e extends Gl{constructor(t){super(t),Le(this,"enabled",!0),Le(this,"list",new Map),Le(this,"onDisposed",new $i),t.add(C2e.uuid,this)}get(t){if(this.list.has(t.uuid))return this.list.get(t.uuid);let i=new BQ(this.components,t);return this.list.set(t.uuid,i),t.onDisposed.add(()=>{this.delete(t)}),i}delete(t){let i=this.list.get(t.uuid);i&&i.dispose(),this.list.delete(t.uuid)}dispose(){for(let[t,i]of this.list)i.dispose();this.list.clear(),this.onDisposed.trigger()}};Le(D2e,"uuid","d5d8bdf0-db25-4952-b951-b643af207ace");var Fz=D2e,FQ=class extends RM{constructor(){super(...arguments),Le(this,"onCameraChanged",new $i),Le(this,"meshes",new Set),Le(this,"onAfterUpdate",new $i),Le(this,"onBeforeUpdate",new $i),Le(this,"onDisposed",new $i),Le(this,"isDisposing",!1),Le(this,"enabled",!0),Le(this,"_dynamicAnchor",!1),Le(this,"uuid",dI.create()),Le(this,"name"),Le(this,"_scene"),Le(this,"_camera"),Le(this,"_renderer",null),Le(this,"onPointerDown",async t=>{if(!this.camera.hasCameraControls())throw new Error("World: can't set dynamic anchor if the camera doesn't have controls.");let n=await this.components.get(Fz).get(this).castRay();n&&n.point&&t.button===0&&this.camera.controls.setOrbitPoint(n.point.x,n.point.y,n.point.z)}),Le(this,"_defaultCamera")}set dynamicAnchor(t){var i;let n=(i=this.renderer)==null?void 0:i.three.domElement.parentElement;if(!n)throw new Error("World: the renderer must have a parentElement to set dynamic anchoring.");t?(this.camera.controls&&(this.camera.controls.minDistance=.01),n.addEventListener("pointerdown",this.onPointerDown)):n.removeEventListener("pointerdown",this.onPointerDown)}get dynamicAnchor(){return this._dynamicAnchor}get defaultCamera(){if(!this._defaultCamera)throw new Error("World: there is no default camera defined.");return this._defaultCamera}set defaultCamera(t){this._defaultCamera=t}get scene(){if(!this._scene)throw new Error("No scene initialized!");return this._scene}set scene(t){this._scene=t,t.worlds.set(this.uuid,this),t.currentWorld=this,t.onWorldChanged.trigger({world:this,action:"added"})}get camera(){if(!this._camera)throw new Error("No camera initialized!");return this._camera}set camera(t){this._camera||(this.defaultCamera=t),this._camera=t,t.currentWorld=this,this.onCameraChanged.trigger(t)}get renderer(){return this._renderer}set renderer(t){this._renderer=t,t&&(t.worlds.set(this.uuid,this),t.currentWorld=this,t.onWorldChanged.trigger({world:this,action:"added"}))}useDefaultCamera(){this.camera=this.defaultCamera}update(t){this.enabled&&(!this._scene||!this._camera||(this.scene.currentWorld=this,this.camera.currentWorld=this,this.renderer&&(this.renderer.currentWorld=this),this.onBeforeUpdate.trigger(),this.scene.isUpdateable()&&this.scene.update(t),this.camera.isUpdateable()&&this.camera.update(t),this.renderer&&this.renderer.update(t),this.onAfterUpdate.trigger()))}dispose(t=!0){if(this.enabled=!1,this.isDisposing=!0,this.scene.onWorldChanged.trigger({world:this,action:"removed"}),this.camera.onWorldChanged.trigger({world:this,action:"removed"}),this.renderer&&this.renderer.onWorldChanged.trigger({world:this,action:"removed"}),t){let n=this.components.get(CM);this.scene.dispose(),this.camera.isDisposeable()&&this.camera.dispose(),this.renderer&&this.renderer.dispose();for(let s of this.meshes)n.destroy(s);this.meshes.clear()}this._scene=null,this._camera=null,this._renderer=null,this.components.get(A0e).list.delete(this.uuid),this.onDisposed.trigger(),this.onDisposed.reset()}},s0e=class{constructor(t,i){Le(this,"_list"),Le(this,"_scene"),this._list=t,this._scene=i}get color(){return this._list.directionalLight.color.value}set color(t){this._list.directionalLight.color.value=t;for(let[,i]of this._scene.directionalLights)i.color.copy(t)}get intensity(){return this._list.directionalLight.intensity.value}set intensity(t){this._list.directionalLight.intensity.value=t;for(let[,i]of this._scene.directionalLights)i.intensity=t}get position(){return this._list.directionalLight.position.value.clone()}set position(t){this._list.directionalLight.position.value=t;for(let[,i]of this._scene.directionalLights)i.position.copy(t)}},o0e=class{constructor(t,i){Le(this,"_list"),Le(this,"_scene"),this._list=t,this._scene=i}get color(){return this._list.ambientLight.color.value}set color(t){this._list.ambientLight.color.value=t;for(let[,i]of this._scene.ambientLights)i.color.copy(t)}get intensity(){return this._list.ambientLight.intensity.value}set intensity(t){this._list.ambientLight.intensity.value=t;for(let[,i]of this._scene.ambientLights)i.intensity=t}},UQ=class extends __{constructor(){super(...arguments),Le(this,"_config",{backgroundColor:{value:new Oi,type:"Color"},ambientLight:{color:{type:"Color",value:new Oi},intensity:{type:"Number",interpolable:!0,min:0,max:10,value:2}},directionalLight:{color:{type:"Color",value:new Oi},intensity:{type:"Number",interpolable:!0,min:0,max:10,value:2},position:{type:"Vector3",value:new ye}}}),Le(this,"ambientLight",new o0e(this._config,this._component)),Le(this,"directionalLight",new s0e(this._config,this._component))}get backgroundColor(){return this._config.backgroundColor.value}set backgroundColor(t){this._config.backgroundColor.value=t,this._component.three.background=t}},HQ=class extends _Q{constructor(t){super(t),Le(this,"onSetup",new $i),Le(this,"isSetup",!1),Le(this,"three"),Le(this,"config",new UQ(this,this.components,"Scene")),Le(this,"_defaultConfig",{backgroundColor:new Oi(2107698),directionalLight:{color:new Oi("white"),intensity:1.5,position:new ye(5,10,3)},ambientLight:{color:new Oi("white"),intensity:1}}),this.three=new HI,this.three.background=new Oi(2107698)}setup(t){let i={...this._defaultConfig,...t};this.config.backgroundColor=i.backgroundColor;let n=i.ambientLight;this.config.ambientLight.color=n.color,this.config.ambientLight.intensity=n.intensity;let s=i.directionalLight;this.config.directionalLight.color=s.color,this.config.directionalLight.intensity=s.intensity,this.config.directionalLight.position=s.position,this.deleteAllLights();let{color:o,intensity:r}=this.config.directionalLight,l=new sw(o,r);l.position.copy(s.position);let{color:d,intensity:h}=this.config.directionalLight,p=new Jv(d,h);this.three.add(l,p),this.directionalLights.set(l.uuid,l),this.ambientLights.set(p.uuid,p),this.isSetup=!0,this.onSetup.trigger()}dispose(){super.dispose(),this.components.get(Vz).list.delete(this.config.uuid)}},x2e=(e=>(e[e.MANUAL=0]="MANUAL",e[e.AUTO=1]="AUTO",e))(x2e||{}),r0e=class extends NQ{constructor(t,i,n){super(t),Le(this,"enabled",!0),Le(this,"container"),Le(this,"three"),Le(this,"mode",1),Le(this,"needsUpdate",!1),Le(this,"_canvas"),Le(this,"_parameters"),Le(this,"_resizeObserver",null),Le(this,"onContainerUpdated",new $i),Le(this,"_resizing",!1),Le(this,"resize",r=>{if(this._resizing)return;this._resizing=!0,this.onContainerUpdated.trigger();let l=r?r.x:this.container.clientWidth,d=r?r.y:this.container.clientHeight;this.three.setSize(l,d),this.onResize.trigger(new hi(l,d)),this._resizing=!1}),Le(this,"resizeEvent",()=>{this.resize()}),Le(this,"onContextLost",r=>{r.preventDefault(),this.enabled=!1}),Le(this,"onContextBack",()=>{this.three.setRenderTarget(null),this.three.dispose(),this.three=new s7({canvas:this._canvas,antialias:!0,alpha:!0,...this._parameters}),this.enabled=!0}),this.container=i,this._parameters=n,this.three=new s7({antialias:!0,alpha:!0,...n}),this.three.setPixelRatio(Math.min(window.devicePixelRatio,2)),this.setupRenderer(),this.setupEvents(!0),this.resize(),this._canvas=this.three.domElement;let s=this.three.getContext(),{canvas:o}=s;o.addEventListener("webglcontextlost",this.onContextLost,!1),o.addEventListener("webglcontextrestored",this.onContextBack,!1)}update(){if(!this.enabled||!this.currentWorld||this.mode===0&&!this.needsUpdate)return;this.needsUpdate=!1,this.onBeforeUpdate.trigger(this);let t=this.currentWorld.scene.three,i=this.currentWorld.camera.three;this.three.render(t,i),this.onAfterUpdate.trigger(this)}dispose(){this.enabled=!1,this.setupEvents(!1),this.three.domElement.remove(),this.three.forceContextLoss(),this.three.dispose(),this.onResize.reset(),this.onAfterUpdate.reset(),this.onBeforeUpdate.reset(),this.onDisposed.trigger(),this.onDisposed.reset()}getSize(){return new hi(this.three.domElement.clientWidth,this.three.domElement.clientHeight)}setupEvents(t){let i=this.three.domElement.parentElement;if(!i)throw new Error("This renderer needs to have an HTML container!");this._resizeObserver&&(this._resizeObserver.disconnect(),this._resizeObserver=null),window.removeEventListener("resize",this.resizeEvent),t&&(this._resizeObserver=new ResizeObserver(this.resizeEvent),this._resizeObserver.observe(i),window.addEventListener("resize",this.resizeEvent))}setupRenderer(){this.three.localClippingEnabled=!0,this.container&&this.container.appendChild(this.three.domElement),this.onContainerUpdated.trigger()}},bM=class e extends bQ{constructor(t){super(t),Le(this,"onBeforeUpdate",new $i),Le(this,"onAfterUpdate",new $i),Le(this,"onAspectUpdated",new $i),Le(this,"onDisposed",new $i),Le(this,"three"),Le(this,"_resizeObserver",null),Le(this,"_allControls",new Map),Le(this,"updateAspect",()=>{var i;if(!(!this.currentWorld||!this.currentWorld.renderer)){if(this.three instanceof ba){this.onAspectUpdated.trigger();return}if((i=this.currentWorld.renderer)!=null&&i.isResizeable()){let n=this.currentWorld.renderer.getSize();this.three.aspect=n.width/n.height,this.three.updateProjectionMatrix(),this.onAspectUpdated.trigger()}}}),this.three=this.setupCamera(),this.worlds.onItemSet.add(({value:i})=>{let n=this.newCameraControls();this.setupEvents(!0),this._allControls.set(i.uuid,n)}),this.worlds.onBeforeDelete.add(({value:i})=>{var n;let s=this._allControls.get(i.uuid);s&&(s.dispose(),this._allControls.delete(i.uuid)),(n=this._resizeObserver)==null||n.disconnect()})}get controls(){if(!this.currentWorld)throw new Error("This camera needs a world to work!");let t=this._allControls.get(this.currentWorld.uuid);if(!t)throw new Error("Controls not found!");return t}get enabled(){return this.currentWorld===null?!1:this.controls.enabled}set enabled(t){this.currentWorld!==null&&(this.controls.enabled=t)}set currentWorld(t){if(super.currentWorld=t,!t)return;this.worlds.get(t.uuid)||this.worlds.set(t.uuid,t)}get currentWorld(){return this._currentWorld}dispose(){this.setupEvents(!1),this.onAspectUpdated.reset(),this.onBeforeUpdate.reset(),this.onAfterUpdate.reset(),this.three.removeFromParent(),this.onDisposed.trigger(),this.onDisposed.reset();for(let[t,i]of this._allControls)i.dispose();this.worlds.clear()}async fitToItems(t){let i=await this.getItemsBounding(t);await this.controls.fitToSphere(i,!0)}async setOrbitToItems(t){let i=await this.getItemsBounding(t);this.controls.setOrbitPoint(i.center.x,i.center.y,i.center.z)}update(t){this.enabled&&(this.onBeforeUpdate.trigger(this),this.controls.update(t),this.onAfterUpdate.trigger(this))}async getItemsBounding(t){let i=this.components.get(_s),n=this.components.get(S0e);n.list.clear();let s=new no;if(t)await n.addFromModelIdMap(t);else for(let[,o]of i.list)n.list.add(o.box);return n.get().getBoundingSphere(s),n.list.clear(),s}setupCamera(){let t=window.innerWidth/window.innerHeight,i=new xo(60,t,1,1e3);return i.position.set(50,50,50),i.lookAt(new ye(0,0,0)),i}newCameraControls(){if(!this.currentWorld)throw new Error("This camera needs a world to work!");if(!this.currentWorld.renderer)throw new Error("This camera needs a renderer to work!");$f.install({THREE:e.getSubsetOfThree()});let{domElement:t}=this.currentWorld.renderer.three,i=new $f(this.three,t);return i.smoothTime=.2,i.dollyToCursor=!0,i.infinityDolly=!0,i.minDistance=6,i}setupEvents(t){if(this._resizeObserver&&(this._resizeObserver.disconnect(),this._resizeObserver=null),t){if(!this.currentWorld)throw new Error("This camera needs a world to work!");if(!this.currentWorld.renderer)throw new Error("This camera needs a renderer to work!");let{domElement:i}=this.currentWorld.renderer.three;this._resizeObserver=new ResizeObserver(this.updateAspect),this._resizeObserver.observe(i)}}static getSubsetOfThree(){return{MOUSE:zY,Vector2:hi,Vector3:ye,Vector4:xn,Quaternion:Gs,Matrix4:Ai,Spherical:_P,Box3:kn,Sphere:no,Raycaster:fp,MathUtils:cr}}},O2e=class L2e extends Gl{constructor(t){super(t),Le(this,"onAfterUpdate",new $i),Le(this,"onBeforeUpdate",new $i),Le(this,"onDisposed",new $i),Le(this,"list",new fo),Le(this,"enabled",!0),t.add(L2e.uuid,this)}create(){let t=new FQ(this.components),i=t.uuid;if(this.list.has(i))throw new Error("There is already a world with this name!");return this.list.set(i,t),t}delete(t){if(!this.list.has(t.uuid))throw new Error("The provided world is not found in the list!");this.list.delete(t.uuid),t.dispose()}dispose(){this.enabled=!1;for(let[t,i]of this.list)i.dispose();this.list.clear(),this.onDisposed.trigger()}update(t){if(this.enabled)for(let[i,n]of this.list)n.update(t)}};Le(O2e,"uuid","fdb61dc4-2ec1-4966-b83d-54ea795fad4a");var A0e=O2e,GQ=class extends __{constructor(){super(...arguments),Le(this,"_config",{visible:{value:!0,type:"Boolean"},color:{value:new Oi,type:"Color"},primarySize:{type:"Number",interpolable:!0,value:1,min:0,max:1e3},secondarySize:{type:"Number",interpolable:!0,value:10,min:0,max:1e3},distance:{type:"Number",interpolable:!0,value:500,min:0,max:500}})}get visible(){return this._config.visible.value}set visible(t){this._config.visible.value=t,this._component.visible=t}get color(){return this._config.color.value}set color(t){this._config.color.value=t,this._component.material.uniforms.uColor.value=t,this._component.material.uniformsNeedUpdate=!0}get primarySize(){return this._config.primarySize.value}set primarySize(t){this._config.primarySize.value=t,this._component.material.uniforms.uSize1.value=t,this._component.material.uniformsNeedUpdate=!0}get secondarySize(){return this._config.secondarySize.value}set secondarySize(t){this._config.secondarySize.value=t,this._component.material.uniforms.uSize2.value=t,this._component.material.uniformsNeedUpdate=!0}get distance(){return this._config.distance.value}set distance(t){this._config.distance.value=t,this._component.material.uniforms.uDistance.value=t,this._component.material.uniformsNeedUpdate=!0}},VQ=class{constructor(t,i){Le(this,"onDisposed",new $i),Le(this,"onSetup",new $i),Le(this,"isSetup",!1),Le(this,"world"),Le(this,"components"),Le(this,"config"),Le(this,"_defaultConfig",{visible:!0,color:new Oi(12303291),primarySize:1,secondarySize:10,distance:500}),Le(this,"three"),Le(this,"_fade",3),Le(this,"updateZoom",()=>{this.world.camera instanceof bM&&(this.material.uniforms.uZoom.value=this.world.camera.three.zoom)}),this.world=i;let{color:n,primarySize:s,secondarySize:o,distance:r}=this._defaultConfig;this.components=t,this.config=new GQ(this,this.components,"Grid");let l=new dp(2,2,1,1),d=new Kl({side:so,uniforms:{uSize1:{value:s},uSize2:{value:o},uColor:{value:n},uDistance:{value:r},uFade:{value:this._fade},uZoom:{value:1}},transparent:!0,vertexShader:`
|
||
|
||
varying vec3 worldPosition;
|
||
|
||
uniform float uDistance;
|
||
|
||
void main() {
|
||
|
||
vec3 pos = position.xzy * uDistance;
|
||
pos.xz += cameraPosition.xz;
|
||
|
||
worldPosition = pos;
|
||
|
||
gl_Position = projectionMatrix * modelViewMatrix * vec4(pos, 1.0);
|
||
|
||
}
|
||
`,fragmentShader:`
|
||
|
||
varying vec3 worldPosition;
|
||
|
||
uniform float uZoom;
|
||
uniform float uFade;
|
||
uniform float uSize1;
|
||
uniform float uSize2;
|
||
uniform vec3 uColor;
|
||
uniform float uDistance;
|
||
|
||
|
||
|
||
float getGrid(float size) {
|
||
|
||
vec2 r = worldPosition.xz / size;
|
||
|
||
|
||
vec2 grid = abs(fract(r - 0.5) - 0.5) / fwidth(r);
|
||
float line = min(grid.x, grid.y);
|
||
|
||
|
||
return 1.0 - min(line, 1.0);
|
||
}
|
||
|
||
void main() {
|
||
|
||
|
||
float d = 1.0 - min(distance(cameraPosition.xz, worldPosition.xz) / uDistance, 1.0);
|
||
|
||
float g1 = getGrid(uSize1);
|
||
float g2 = getGrid(uSize2);
|
||
|
||
// Ortho camera fades the grid away when zooming out
|
||
float minZoom = step(0.2, uZoom);
|
||
float zoomFactor = pow(min(uZoom, 1.), 2.) * minZoom;
|
||
|
||
gl_FragColor = vec4(uColor.rgb, mix(g2, g1, g1) * pow(d, uFade));
|
||
gl_FragColor.a = mix(0.5 * gl_FragColor.a, gl_FragColor.a, g2) * zoomFactor;
|
||
|
||
if ( gl_FragColor.a <= 0.0 ) discard;
|
||
|
||
|
||
}
|
||
|
||
`,extensions:{derivatives:!0}});this.three=new _i(l,d),this.three.frustumCulled=!1,i.scene.three.add(this.three),this.setupEvents(!0)}get visible(){return this.three.visible}set visible(t){this.three.visible=t,t?this.world.scene.three.add(this.three):this.three.removeFromParent()}get material(){return this.three.material}get fade(){return this._fade===3}set fade(t){this._fade=t?3:0,this.material.uniforms.uFade.value=this._fade}setup(t){let i={...this._defaultConfig,...t};this.config.visible=!0,this.config.color=i.color,this.config.primarySize=i.primarySize,this.config.secondarySize=i.secondarySize,this.config.distance=i.distance,this.isSetup=!0,this.onSetup.trigger()}dispose(){this.setupEvents(!1),this.components.get(Vz).list.delete(this.config.uuid),this.components.get(CM).destroy(this.three),this.onDisposed.trigger(),this.onDisposed.reset(),this.world=null,this.components=null}setupEvents(t){if(this.world.isDisposing||!(this.world.camera instanceof bM))return;let i=this.world.camera.controls;t?i.addEventListener("update",this.updateZoom):i.removeEventListener("update",this.updateZoom)}},P2e=class M2e extends Gl{constructor(t){super(t),Le(this,"list",new Map),Le(this,"onDisposed",new $i),Le(this,"enabled",!0),t.add(M2e.uuid,this)}create(t){if(this.list.has(t.uuid))throw new Error("This world already has a grid!");let i=new VQ(this.components,t);return this.list.set(t.uuid,i),t.onDisposed.add(()=>{this.delete(t)}),i}delete(t){let i=this.list.get(t.uuid);i&&i.dispose(),this.list.delete(t.uuid)}dispose(){for(let[t,i]of this.list)i.dispose();this.list.clear(),this.onDisposed.trigger(),this.onDisposed.reset()}};Le(P2e,"uuid","d1e814d5-b81c-4452-87a2-f039375e0489");var yWe=P2e,B2e=class F2e{constructor(){Le(this,"onDisposed",new $i),Le(this,"list",new fo),Le(this,"enabled",!1),Le(this,"_clock"),Le(this,"onInit",new $i),Le(this,"update",()=>{if(!this.enabled)return;let t=this._clock.getDelta();for(let[i,n]of this.list)n.enabled&&n.isUpdateable()&&n.update(t);requestAnimationFrame(this.update)}),this._clock=new NP,F2e.setupBVH()}add(t,i){if(this.list.has(t))throw new Error("You're trying to add a component that already exists in the components instance. Use Components.get() instead.");dI.validate(t),this.list.set(t,i)}get(t){var i;let n=t.uuid;if(!this.list.has(n)){let s=new t(this);return(i=s.isDisposeable)!=null&&i.call(s)&&s.onDisposed.add(()=>this.list.delete(n)),this.list.has(n)||this.add(n,s),s}return this.list.get(n)}init(){this.enabled=!0;for(let[t,i]of this.list.entries())i.enabled=!0;this._clock.start(),this.update(),this.onInit.trigger()}dispose(){this.enabled=!1;let t;for(let[i,n]of this.list){if(n.enabled=!1,i===_s.uuid){t=n;continue}n.isDisposeable()&&n.dispose()}t?.dispose(),this._clock.stop(),this.onDisposed.trigger()}static setupBVH(){nn.prototype.computeBoundsTree=kze,nn.prototype.disposeBoundsTree=zze,_i.prototype.raycast=Ewe,xs.prototype.raycast=Ewe}};Le(B2e,"release","2.4.3");var b0e=B2e,kQ=class{constructor(t){Le(this,"enabled",!1),Le(this,"id","FirstPerson"),this.camera=t}set(t){if(this.enabled=t,t){if(this.camera.projection.current!=="Perspective"){this.camera.set("Orbit");return}this.setupFirstPersonCamera()}}setupFirstPersonCamera(){let t=this.camera.controls,i=new ye;t.distance--,t.getPosition(i),t.minDistance=1,t.maxDistance=1,t.distance=1,t.moveTo(i.x,i.y,i.z),t.truckSpeed=50,t.mouseButtons.wheel=$f.ACTION.DOLLY,t.touches.two=$f.ACTION.TOUCH_ZOOM_TRUCK}},zQ=class{constructor(t){Le(this,"enabled",!0),Le(this,"id","Orbit"),this.camera=t,this.activateOrbitControls()}set(t){this.enabled=t,t&&this.activateOrbitControls()}activateOrbitControls(){let t=this.camera.controls;t.minDistance=1,t.maxDistance=300;let i=new ye;t.getPosition(i);let n=i.length();t.distance=n,t.truckSpeed=2;let{rotation:s}=this.camera.three,o=new ye(0,0,-1).applyEuler(s),r=i.addScaledVector(o,n);t.moveTo(r.x,r.y,r.z)}},WQ=class{constructor(t){Le(this,"enabled",!1),Le(this,"id","Plan"),Le(this,"mouseAction1"),Le(this,"mouseAction2"),Le(this,"mouseInitialized",!1),Le(this,"defaultAzimuthSpeed"),Le(this,"defaultPolarSpeed"),this.camera=t,this.defaultAzimuthSpeed=t.controls.azimuthRotateSpeed,this.defaultPolarSpeed=t.controls.polarRotateSpeed}set(t){this.enabled=t;let i=this.camera.controls;i.azimuthRotateSpeed=t?0:this.defaultAzimuthSpeed,i.polarRotateSpeed=t?0:this.defaultPolarSpeed,this.mouseInitialized||(this.mouseAction1=i.touches.one,this.mouseAction2=i.touches.two,this.mouseInitialized=!0),t?(i.mouseButtons.left=$f.ACTION.TRUCK,i.touches.one=$f.ACTION.TOUCH_TRUCK,i.touches.two=$f.ACTION.TOUCH_ZOOM):(i.mouseButtons.left=$f.ACTION.ROTATE,i.touches.one=this.mouseAction1,i.touches.two=this.mouseAction2)}},YQ=class{constructor(t){Le(this,"onChanged",new $i),Le(this,"current","Perspective"),Le(this,"camera"),Le(this,"matchOrthoDistanceEnabled",!1),Le(this,"_component"),Le(this,"_previousDistance",-1),this._component=t,this.camera=t.three}async set(t){this.current!==t&&(t==="Orthographic"?this.setOrthoCamera():await this.setPerspectiveCamera(),this.onChanged.trigger(this.camera))}async toggle(){let i=this.current==="Perspective"?"Orthographic":"Perspective";await this.set(i)}setOrthoCamera(){if(this._component.mode===null||this._component.mode.id==="FirstPerson")return;this._previousDistance=this._component.controls.distance,this._component.controls.distance=200;let t=this.getPerspectiveDims();if(!t)return;let{width:i,height:n}=t;this.setupOrthoCamera(n,i),this.camera=this._component.threeOrtho,this.current="Orthographic"}getPerspectiveDims(){let t=this._component.currentWorld;if(!t||!t.renderer)return null;let i=new ye;this._component.threePersp.getWorldDirection(i);let n=new ye;this._component.controls.getTarget(n);let o=n.clone().sub(this._component.threePersp.position).dot(i),r=t.renderer.getSize(),l=r.x/r.y,d=this._component.threePersp,h=o*2*Math.atan(d.fov*(Math.PI/180)/2);return{width:h*l,height:h}}setupOrthoCamera(t,i){this._component.controls.mouseButtons.wheel=$f.ACTION.ZOOM,this._component.controls.mouseButtons.middle=$f.ACTION.ZOOM;let n=this._component.threePersp,s=this._component.threeOrtho;s.zoom=1,s.left=i/-2,s.right=i/2,s.top=t/2,s.bottom=t/-2,s.updateProjectionMatrix(),s.position.copy(n.position),s.quaternion.copy(n.quaternion),this._component.controls.camera=s}getDistance(){let t=this._component.threePersp,i=this._component.threeOrtho;return(i.top-i.bottom)/i.zoom/(2*Math.atan(t.fov*(Math.PI/180)/2))}async setPerspectiveCamera(){this._component.controls.mouseButtons.wheel=$f.ACTION.DOLLY,this._component.controls.mouseButtons.middle=$f.ACTION.DOLLY;let t=this._component.threePersp,i=this._component.threeOrtho;t.position.copy(i.position),t.quaternion.copy(i.quaternion),this._component.controls.mouseButtons.wheel=$f.ACTION.DOLLY,this.matchOrthoDistanceEnabled?this._component.controls.distance=this.getDistance():this._component.controls.distance=this._previousDistance,await this._component.controls.zoomTo(1),t.updateProjectionMatrix(),this._component.controls.camera=t,this.camera=t,this.current="Perspective"}},NM=class extends bM{constructor(t){super(t),Le(this,"projection"),Le(this,"threeOrtho"),Le(this,"threePersp"),Le(this,"_userInputButtons",{}),Le(this,"_frustumSize",50),Le(this,"_navigationModes",new Map),Le(this,"_mode",null),Le(this,"previousSize",null),this.threePersp=this.three,this.threeOrtho=this.newOrthoCamera(),this.projection=new YQ(this),this.onAspectUpdated.add(()=>{this.setOrthoPerspCameraAspect()}),this.projection.onChanged.add(i=>{this.three=i,this.updateAspect()}),this.worlds.onItemSet.add(()=>{this._navigationModes.clear(),this._navigationModes.set("Orbit",new zQ(this)),this._navigationModes.set("FirstPerson",new kQ(this)),this._navigationModes.set("Plan",new WQ(this)),this._mode=this._navigationModes.get("Orbit"),this.mode.set(!0,{preventTargetAdjustment:!0}),this.currentWorld&&this.currentWorld.renderer&&(this.previousSize=this.currentWorld.renderer.getSize().clone())}),this.worlds.onItemDeleted.add(()=>{this._navigationModes.clear()})}get mode(){if(!this._mode)throw new Error("Mode not found, camera not initialized");return this._mode}dispose(){super.dispose(),this.threeOrtho.removeFromParent()}set(t){if(this.mode!==null&&this.mode.id!==t){if(this.mode.set(!1),!this._navigationModes.has(t))throw new Error("The specified mode does not exist!");this._mode=this._navigationModes.get(t),this.mode.set(!0)}}async fit(t,i=1.5){if(!this.enabled)return;let n=Number.MAX_VALUE,s=Number.MIN_VALUE,o=new ye(n,n,n),r=new ye(s,s,s);for(let y of t){let T=new kn().setFromObject(y);T.min.x<o.x&&(o.x=T.min.x),T.min.y<o.y&&(o.y=T.min.y),T.min.z<o.z&&(o.z=T.min.z),T.max.x>r.x&&(r.x=T.max.x),T.max.y>r.y&&(r.y=T.max.y),T.max.z>r.z&&(r.z=T.max.z)}let l=new kn(o,r),d=this.components.get(_s);if(d.initialized)for(let[,y]of d.list){let T=y.box;T.min.x<o.x&&(o.x=T.min.x),T.min.y<o.y&&(o.y=T.min.y),T.min.z<o.z&&(o.z=T.min.z),T.max.x>r.x&&(r.x=T.max.x),T.max.y>r.y&&(r.y=T.max.y),T.max.z>r.z&&(r.z=T.max.z)}let h=new ye;l.getSize(h);let p=new ye;l.getCenter(p);let I=Math.max(h.x,h.y,h.z)*i,m=new no(p,I);await this.controls.fitToSphere(m,!0)}setUserInput(t){t?this.enableUserInput():this.disableUserInput()}addCustomNavigationMode(t){this._navigationModes.set(t.id,t)}disableUserInput(){this._userInputButtons.left=this.controls.mouseButtons.left,this._userInputButtons.right=this.controls.mouseButtons.right,this._userInputButtons.middle=this.controls.mouseButtons.middle,this._userInputButtons.wheel=this.controls.mouseButtons.wheel,this.controls.mouseButtons.left=0,this.controls.mouseButtons.right=0,this.controls.mouseButtons.middle=0,this.controls.mouseButtons.wheel=0}enableUserInput(){Object.keys(this._userInputButtons).length!==0&&(this.controls.mouseButtons.left=this._userInputButtons.left,this.controls.mouseButtons.right=this._userInputButtons.right,this.controls.mouseButtons.middle=this._userInputButtons.middle,this.controls.mouseButtons.wheel=this._userInputButtons.wheel)}newOrthoCamera(){let t=window.innerWidth/window.innerHeight;return new ba(this._frustumSize*t/-2,this._frustumSize*t/2,this._frustumSize/2,this._frustumSize/-2,.1,1e3)}setOrthoPerspCameraAspect(){if(!this.currentWorld||!this.currentWorld.renderer||!this.previousSize)return;let t=this.currentWorld.renderer.getSize(),i=this.threeOrtho.top,n=this.threeOrtho.right,s=t.y/this.previousSize.y,o=t.x/this.previousSize.x,r=i*s,l=n*o;this.threeOrtho.left=-l,this.threeOrtho.right=l,this.threeOrtho.top=r,this.threeOrtho.bottom=-r,this.threeOrtho.updateProjectionMatrix(),this.previousSize.copy(t)}},TQ=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function EWe(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function gQ(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var U2e={exports:{}};(function(e,t){(function(i){e.exports=i()})(function(){return(function i(n,s,o){function r(h,p){if(!s[h]){if(!n[h]){var I=typeof gQ=="function"&&gQ;if(!p&&I)return I(h,!0);if(l)return l(h,!0);var m=new Error("Cannot find module '"+h+"'");throw m.code="MODULE_NOT_FOUND",m}var y=s[h]={exports:{}};n[h][0].call(y.exports,function(T){var R=n[h][1][T];return r(R||T)},y,y.exports,i,n,s,o)}return s[h].exports}for(var l=typeof gQ=="function"&&gQ,d=0;d<o.length;d++)r(o[d]);return r})({1:[function(i,n,s){var o=i("./utils"),r=i("./support"),l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";s.encode=function(d){for(var h,p,I,m,y,T,R,b=[],A=0,O=d.length,P=O,U=o.getTypeOf(d)!=="string";A<d.length;)P=O-A,I=U?(h=d[A++],p=A<O?d[A++]:0,A<O?d[A++]:0):(h=d.charCodeAt(A++),p=A<O?d.charCodeAt(A++):0,A<O?d.charCodeAt(A++):0),m=h>>2,y=(3&h)<<4|p>>4,T=1<P?(15&p)<<2|I>>6:64,R=2<P?63&I:64,b.push(l.charAt(m)+l.charAt(y)+l.charAt(T)+l.charAt(R));return b.join("")},s.decode=function(d){var h,p,I,m,y,T,R=0,b=0,A="data:";if(d.substr(0,A.length)===A)throw new Error("Invalid base64 input, it looks like a data url.");var O,P=3*(d=d.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(d.charAt(d.length-1)===l.charAt(64)&&P--,d.charAt(d.length-2)===l.charAt(64)&&P--,P%1!=0)throw new Error("Invalid base64 input, bad content length.");for(O=r.uint8array?new Uint8Array(0|P):new Array(0|P);R<d.length;)h=l.indexOf(d.charAt(R++))<<2|(m=l.indexOf(d.charAt(R++)))>>4,p=(15&m)<<4|(y=l.indexOf(d.charAt(R++)))>>2,I=(3&y)<<6|(T=l.indexOf(d.charAt(R++))),O[b++]=h,y!==64&&(O[b++]=p),T!==64&&(O[b++]=I);return O}},{"./support":30,"./utils":32}],2:[function(i,n,s){var o=i("./external"),r=i("./stream/DataWorker"),l=i("./stream/Crc32Probe"),d=i("./stream/DataLengthProbe");function h(p,I,m,y,T){this.compressedSize=p,this.uncompressedSize=I,this.crc32=m,this.compression=y,this.compressedContent=T}h.prototype={getContentWorker:function(){var p=new r(o.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new d("data_length")),I=this;return p.on("end",function(){if(this.streamInfo.data_length!==I.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),p},getCompressedWorker:function(){return new r(o.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},h.createWorkerFrom=function(p,I,m){return p.pipe(new l).pipe(new d("uncompressedSize")).pipe(I.compressWorker(m)).pipe(new d("compressedSize")).withStreamInfo("compression",I)},n.exports=h},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(i,n,s){var o=i("./stream/GenericWorker");s.STORE={magic:"\0\0",compressWorker:function(){return new o("STORE compression")},uncompressWorker:function(){return new o("STORE decompression")}},s.DEFLATE=i("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(i,n,s){var o=i("./utils"),r=(function(){for(var l,d=[],h=0;h<256;h++){l=h;for(var p=0;p<8;p++)l=1&l?3988292384^l>>>1:l>>>1;d[h]=l}return d})();n.exports=function(l,d){return l!==void 0&&l.length?o.getTypeOf(l)!=="string"?(function(h,p,I,m){var y=r,T=m+I;h^=-1;for(var R=m;R<T;R++)h=h>>>8^y[255&(h^p[R])];return-1^h})(0|d,l,l.length,0):(function(h,p,I,m){var y=r,T=m+I;h^=-1;for(var R=m;R<T;R++)h=h>>>8^y[255&(h^p.charCodeAt(R))];return-1^h})(0|d,l,l.length,0):0}},{"./utils":32}],5:[function(i,n,s){s.base64=!1,s.binary=!1,s.dir=!1,s.createFolders=!0,s.date=null,s.compression=null,s.compressionOptions=null,s.comment=null,s.unixPermissions=null,s.dosPermissions=null},{}],6:[function(i,n,s){var o=null;o=typeof Promise<"u"?Promise:i("lie"),n.exports={Promise:o}},{lie:37}],7:[function(i,n,s){var o=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",r=i("pako"),l=i("./utils"),d=i("./stream/GenericWorker"),h=o?"uint8array":"array";function p(I,m){d.call(this,"FlateWorker/"+I),this._pako=null,this._pakoAction=I,this._pakoOptions=m,this.meta={}}s.magic="\b\0",l.inherits(p,d),p.prototype.processChunk=function(I){this.meta=I.meta,this._pako===null&&this._createPako(),this._pako.push(l.transformTo(h,I.data),!1)},p.prototype.flush=function(){d.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},p.prototype.cleanUp=function(){d.prototype.cleanUp.call(this),this._pako=null},p.prototype._createPako=function(){this._pako=new r[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var I=this;this._pako.onData=function(m){I.push({data:m,meta:I.meta})}},s.compressWorker=function(I){return new p("Deflate",I)},s.uncompressWorker=function(){return new p("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(i,n,s){function o(y,T){var R,b="";for(R=0;R<T;R++)b+=String.fromCharCode(255&y),y>>>=8;return b}function r(y,T,R,b,A,O){var P,U,Z=y.file,ne=y.compression,K=O!==h.utf8encode,oe=l.transformTo("string",O(Z.name)),se=l.transformTo("string",h.utf8encode(Z.name)),he=Z.comment,Re=l.transformTo("string",O(he)),ee=l.transformTo("string",h.utf8encode(he)),Ae=se.length!==Z.name.length,Ee=ee.length!==he.length,Ce="",Qe="",qe="",St=Z.dir,$e=Z.date,ke={crc32:0,compressedSize:0,uncompressedSize:0};T&&!R||(ke.crc32=y.crc32,ke.compressedSize=y.compressedSize,ke.uncompressedSize=y.uncompressedSize);var It=0;T&&(It|=8),K||!Ae&&!Ee||(It|=2048);var ft=0,Dt=0;St&&(ft|=16),A==="UNIX"?(Dt=798,ft|=(function(Ct,Ut){var ii=Ct;return Ct||(ii=Ut?16893:33204),(65535&ii)<<16})(Z.unixPermissions,St)):(Dt=20,ft|=(function(Ct){return 63&(Ct||0)})(Z.dosPermissions)),P=$e.getUTCHours(),P<<=6,P|=$e.getUTCMinutes(),P<<=5,P|=$e.getUTCSeconds()/2,U=$e.getUTCFullYear()-1980,U<<=4,U|=$e.getUTCMonth()+1,U<<=5,U|=$e.getUTCDate(),Ae&&(Qe=o(1,1)+o(p(oe),4)+se,Ce+="up"+o(Qe.length,2)+Qe),Ee&&(qe=o(1,1)+o(p(Re),4)+ee,Ce+="uc"+o(qe.length,2)+qe);var Zt="";return Zt+=`
|
||
\0`,Zt+=o(It,2),Zt+=ne.magic,Zt+=o(P,2),Zt+=o(U,2),Zt+=o(ke.crc32,4),Zt+=o(ke.compressedSize,4),Zt+=o(ke.uncompressedSize,4),Zt+=o(oe.length,2),Zt+=o(Ce.length,2),{fileRecord:I.LOCAL_FILE_HEADER+Zt+oe+Ce,dirRecord:I.CENTRAL_FILE_HEADER+o(Dt,2)+Zt+o(Re.length,2)+"\0\0\0\0"+o(ft,4)+o(b,4)+oe+Ce+Re}}var l=i("../utils"),d=i("../stream/GenericWorker"),h=i("../utf8"),p=i("../crc32"),I=i("../signature");function m(y,T,R,b){d.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=T,this.zipPlatform=R,this.encodeFileName=b,this.streamFiles=y,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}l.inherits(m,d),m.prototype.push=function(y){var T=y.meta.percent||0,R=this.entriesCount,b=this._sources.length;this.accumulate?this.contentBuffer.push(y):(this.bytesWritten+=y.data.length,d.prototype.push.call(this,{data:y.data,meta:{currentFile:this.currentFile,percent:R?(T+100*(R-b-1))/R:100}}))},m.prototype.openedSource=function(y){this.currentSourceOffset=this.bytesWritten,this.currentFile=y.file.name;var T=this.streamFiles&&!y.file.dir;if(T){var R=r(y,T,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:R.fileRecord,meta:{percent:0}})}else this.accumulate=!0},m.prototype.closedSource=function(y){this.accumulate=!1;var T=this.streamFiles&&!y.file.dir,R=r(y,T,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(R.dirRecord),T)this.push({data:(function(b){return I.DATA_DESCRIPTOR+o(b.crc32,4)+o(b.compressedSize,4)+o(b.uncompressedSize,4)})(y),meta:{percent:100}});else for(this.push({data:R.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},m.prototype.flush=function(){for(var y=this.bytesWritten,T=0;T<this.dirRecords.length;T++)this.push({data:this.dirRecords[T],meta:{percent:100}});var R=this.bytesWritten-y,b=(function(A,O,P,U,Z){var ne=l.transformTo("string",Z(U));return I.CENTRAL_DIRECTORY_END+"\0\0\0\0"+o(A,2)+o(A,2)+o(O,4)+o(P,4)+o(ne.length,2)+ne})(this.dirRecords.length,R,y,this.zipComment,this.encodeFileName);this.push({data:b,meta:{percent:100}})},m.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},m.prototype.registerPrevious=function(y){this._sources.push(y);var T=this;return y.on("data",function(R){T.processChunk(R)}),y.on("end",function(){T.closedSource(T.previous.streamInfo),T._sources.length?T.prepareNextSource():T.end()}),y.on("error",function(R){T.error(R)}),this},m.prototype.resume=function(){return!!d.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},m.prototype.error=function(y){var T=this._sources;if(!d.prototype.error.call(this,y))return!1;for(var R=0;R<T.length;R++)try{T[R].error(y)}catch{}return!0},m.prototype.lock=function(){d.prototype.lock.call(this);for(var y=this._sources,T=0;T<y.length;T++)y[T].lock()},n.exports=m},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(i,n,s){var o=i("../compressions"),r=i("./ZipFileWorker");s.generateWorker=function(l,d,h){var p=new r(d.streamFiles,h,d.platform,d.encodeFileName),I=0;try{l.forEach(function(m,y){I++;var T=(function(O,P){var U=O||P,Z=o[U];if(!Z)throw new Error(U+" is not a valid compression method !");return Z})(y.options.compression,d.compression),R=y.options.compressionOptions||d.compressionOptions||{},b=y.dir,A=y.date;y._compressWorker(T,R).withStreamInfo("file",{name:m,dir:b,date:A,comment:y.comment||"",unixPermissions:y.unixPermissions,dosPermissions:y.dosPermissions}).pipe(p)}),p.entriesCount=I}catch(m){p.error(m)}return p}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(i,n,s){function o(){if(!(this instanceof o))return new o;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var r=new o;for(var l in this)typeof this[l]!="function"&&(r[l]=this[l]);return r}}(o.prototype=i("./object")).loadAsync=i("./load"),o.support=i("./support"),o.defaults=i("./defaults"),o.version="3.10.1",o.loadAsync=function(r,l){return new o().loadAsync(r,l)},o.external=i("./external"),n.exports=o},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(i,n,s){var o=i("./utils"),r=i("./external"),l=i("./utf8"),d=i("./zipEntries"),h=i("./stream/Crc32Probe"),p=i("./nodejsUtils");function I(m){return new r.Promise(function(y,T){var R=m.decompressed.getContentWorker().pipe(new h);R.on("error",function(b){T(b)}).on("end",function(){R.streamInfo.crc32!==m.decompressed.crc32?T(new Error("Corrupted zip : CRC32 mismatch")):y()}).resume()})}n.exports=function(m,y){var T=this;return y=o.extend(y||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:l.utf8decode}),p.isNode&&p.isStream(m)?r.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):o.prepareContent("the loaded zip file",m,!0,y.optimizedBinaryString,y.base64).then(function(R){var b=new d(y);return b.load(R),b}).then(function(R){var b=[r.Promise.resolve(R)],A=R.files;if(y.checkCRC32)for(var O=0;O<A.length;O++)b.push(I(A[O]));return r.Promise.all(b)}).then(function(R){for(var b=R.shift(),A=b.files,O=0;O<A.length;O++){var P=A[O],U=P.fileNameStr,Z=o.resolve(P.fileNameStr);T.file(Z,P.decompressed,{binary:!0,optimizedBinaryString:!0,date:P.date,dir:P.dir,comment:P.fileCommentStr.length?P.fileCommentStr:null,unixPermissions:P.unixPermissions,dosPermissions:P.dosPermissions,createFolders:y.createFolders}),P.dir||(T.file(Z).unsafeOriginalName=U)}return b.zipComment.length&&(T.comment=b.zipComment),T})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(i,n,s){var o=i("../utils"),r=i("../stream/GenericWorker");function l(d,h){r.call(this,"Nodejs stream input adapter for "+d),this._upstreamEnded=!1,this._bindStream(h)}o.inherits(l,r),l.prototype._bindStream=function(d){var h=this;(this._stream=d).pause(),d.on("data",function(p){h.push({data:p,meta:{percent:0}})}).on("error",function(p){h.isPaused?this.generatedError=p:h.error(p)}).on("end",function(){h.isPaused?h._upstreamEnded=!0:h.end()})},l.prototype.pause=function(){return!!r.prototype.pause.call(this)&&(this._stream.pause(),!0)},l.prototype.resume=function(){return!!r.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},n.exports=l},{"../stream/GenericWorker":28,"../utils":32}],13:[function(i,n,s){var o=i("readable-stream").Readable;function r(l,d,h){o.call(this,d),this._helper=l;var p=this;l.on("data",function(I,m){p.push(I)||p._helper.pause(),h&&h(m)}).on("error",function(I){p.emit("error",I)}).on("end",function(){p.push(null)})}i("../utils").inherits(r,o),r.prototype._read=function(){this._helper.resume()},n.exports=r},{"../utils":32,"readable-stream":16}],14:[function(i,n,s){n.exports={isNode:typeof Buffer<"u",newBufferFrom:function(o,r){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(o,r);if(typeof o=="number")throw new Error('The "data" argument must not be a number');return new Buffer(o,r)},allocBuffer:function(o){if(Buffer.alloc)return Buffer.alloc(o);var r=new Buffer(o);return r.fill(0),r},isBuffer:function(o){return Buffer.isBuffer(o)},isStream:function(o){return o&&typeof o.on=="function"&&typeof o.pause=="function"&&typeof o.resume=="function"}}},{}],15:[function(i,n,s){function o(Z,ne,K){var oe,se=l.getTypeOf(ne),he=l.extend(K||{},p);he.date=he.date||new Date,he.compression!==null&&(he.compression=he.compression.toUpperCase()),typeof he.unixPermissions=="string"&&(he.unixPermissions=parseInt(he.unixPermissions,8)),he.unixPermissions&&16384&he.unixPermissions&&(he.dir=!0),he.dosPermissions&&16&he.dosPermissions&&(he.dir=!0),he.dir&&(Z=A(Z)),he.createFolders&&(oe=b(Z))&&O.call(this,oe,!0);var Re=se==="string"&&he.binary===!1&&he.base64===!1;K&&K.binary!==void 0||(he.binary=!Re),(ne instanceof I&&ne.uncompressedSize===0||he.dir||!ne||ne.length===0)&&(he.base64=!1,he.binary=!0,ne="",he.compression="STORE",se="string");var ee=null;ee=ne instanceof I||ne instanceof d?ne:T.isNode&&T.isStream(ne)?new R(Z,ne):l.prepareContent(Z,ne,he.binary,he.optimizedBinaryString,he.base64);var Ae=new m(Z,ee,he);this.files[Z]=Ae}var r=i("./utf8"),l=i("./utils"),d=i("./stream/GenericWorker"),h=i("./stream/StreamHelper"),p=i("./defaults"),I=i("./compressedObject"),m=i("./zipObject"),y=i("./generate"),T=i("./nodejsUtils"),R=i("./nodejs/NodejsStreamInputAdapter"),b=function(Z){Z.slice(-1)==="/"&&(Z=Z.substring(0,Z.length-1));var ne=Z.lastIndexOf("/");return 0<ne?Z.substring(0,ne):""},A=function(Z){return Z.slice(-1)!=="/"&&(Z+="/"),Z},O=function(Z,ne){return ne=ne!==void 0?ne:p.createFolders,Z=A(Z),this.files[Z]||o.call(this,Z,null,{dir:!0,createFolders:ne}),this.files[Z]};function P(Z){return Object.prototype.toString.call(Z)==="[object RegExp]"}var U={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(Z){var ne,K,oe;for(ne in this.files)oe=this.files[ne],(K=ne.slice(this.root.length,ne.length))&&ne.slice(0,this.root.length)===this.root&&Z(K,oe)},filter:function(Z){var ne=[];return this.forEach(function(K,oe){Z(K,oe)&&ne.push(oe)}),ne},file:function(Z,ne,K){if(arguments.length!==1)return Z=this.root+Z,o.call(this,Z,ne,K),this;if(P(Z)){var oe=Z;return this.filter(function(he,Re){return!Re.dir&&oe.test(he)})}var se=this.files[this.root+Z];return se&&!se.dir?se:null},folder:function(Z){if(!Z)return this;if(P(Z))return this.filter(function(se,he){return he.dir&&Z.test(se)});var ne=this.root+Z,K=O.call(this,ne),oe=this.clone();return oe.root=K.name,oe},remove:function(Z){Z=this.root+Z;var ne=this.files[Z];if(ne||(Z.slice(-1)!=="/"&&(Z+="/"),ne=this.files[Z]),ne&&!ne.dir)delete this.files[Z];else for(var K=this.filter(function(se,he){return he.name.slice(0,Z.length)===Z}),oe=0;oe<K.length;oe++)delete this.files[K[oe].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(Z){var ne,K={};try{if((K=l.extend(Z||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:r.utf8encode})).type=K.type.toLowerCase(),K.compression=K.compression.toUpperCase(),K.type==="binarystring"&&(K.type="string"),!K.type)throw new Error("No output type specified.");l.checkSupport(K.type),K.platform!=="darwin"&&K.platform!=="freebsd"&&K.platform!=="linux"&&K.platform!=="sunos"||(K.platform="UNIX"),K.platform==="win32"&&(K.platform="DOS");var oe=K.comment||this.comment||"";ne=y.generateWorker(this,K,oe)}catch(se){(ne=new d("error")).error(se)}return new h(ne,K.type||"string",K.mimeType)},generateAsync:function(Z,ne){return this.generateInternalStream(Z).accumulate(ne)},generateNodeStream:function(Z,ne){return(Z=Z||{}).type||(Z.type="nodebuffer"),this.generateInternalStream(Z).toNodejsStream(ne)}};n.exports=U},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(i,n,s){n.exports=i("stream")},{stream:void 0}],17:[function(i,n,s){var o=i("./DataReader");function r(l){o.call(this,l);for(var d=0;d<this.data.length;d++)l[d]=255&l[d]}i("../utils").inherits(r,o),r.prototype.byteAt=function(l){return this.data[this.zero+l]},r.prototype.lastIndexOfSignature=function(l){for(var d=l.charCodeAt(0),h=l.charCodeAt(1),p=l.charCodeAt(2),I=l.charCodeAt(3),m=this.length-4;0<=m;--m)if(this.data[m]===d&&this.data[m+1]===h&&this.data[m+2]===p&&this.data[m+3]===I)return m-this.zero;return-1},r.prototype.readAndCheckSignature=function(l){var d=l.charCodeAt(0),h=l.charCodeAt(1),p=l.charCodeAt(2),I=l.charCodeAt(3),m=this.readData(4);return d===m[0]&&h===m[1]&&p===m[2]&&I===m[3]},r.prototype.readData=function(l){if(this.checkOffset(l),l===0)return[];var d=this.data.slice(this.zero+this.index,this.zero+this.index+l);return this.index+=l,d},n.exports=r},{"../utils":32,"./DataReader":18}],18:[function(i,n,s){var o=i("../utils");function r(l){this.data=l,this.length=l.length,this.index=0,this.zero=0}r.prototype={checkOffset:function(l){this.checkIndex(this.index+l)},checkIndex:function(l){if(this.length<this.zero+l||l<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+l+"). Corrupted zip ?")},setIndex:function(l){this.checkIndex(l),this.index=l},skip:function(l){this.setIndex(this.index+l)},byteAt:function(){},readInt:function(l){var d,h=0;for(this.checkOffset(l),d=this.index+l-1;d>=this.index;d--)h=(h<<8)+this.byteAt(d);return this.index+=l,h},readString:function(l){return o.transformTo("string",this.readData(l))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var l=this.readInt(4);return new Date(Date.UTC(1980+(l>>25&127),(l>>21&15)-1,l>>16&31,l>>11&31,l>>5&63,(31&l)<<1))}},n.exports=r},{"../utils":32}],19:[function(i,n,s){var o=i("./Uint8ArrayReader");function r(l){o.call(this,l)}i("../utils").inherits(r,o),r.prototype.readData=function(l){this.checkOffset(l);var d=this.data.slice(this.zero+this.index,this.zero+this.index+l);return this.index+=l,d},n.exports=r},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(i,n,s){var o=i("./DataReader");function r(l){o.call(this,l)}i("../utils").inherits(r,o),r.prototype.byteAt=function(l){return this.data.charCodeAt(this.zero+l)},r.prototype.lastIndexOfSignature=function(l){return this.data.lastIndexOf(l)-this.zero},r.prototype.readAndCheckSignature=function(l){return l===this.readData(4)},r.prototype.readData=function(l){this.checkOffset(l);var d=this.data.slice(this.zero+this.index,this.zero+this.index+l);return this.index+=l,d},n.exports=r},{"../utils":32,"./DataReader":18}],21:[function(i,n,s){var o=i("./ArrayReader");function r(l){o.call(this,l)}i("../utils").inherits(r,o),r.prototype.readData=function(l){if(this.checkOffset(l),l===0)return new Uint8Array(0);var d=this.data.subarray(this.zero+this.index,this.zero+this.index+l);return this.index+=l,d},n.exports=r},{"../utils":32,"./ArrayReader":17}],22:[function(i,n,s){var o=i("../utils"),r=i("../support"),l=i("./ArrayReader"),d=i("./StringReader"),h=i("./NodeBufferReader"),p=i("./Uint8ArrayReader");n.exports=function(I){var m=o.getTypeOf(I);return o.checkSupport(m),m!=="string"||r.uint8array?m==="nodebuffer"?new h(I):r.uint8array?new p(o.transformTo("uint8array",I)):new l(o.transformTo("array",I)):new d(I)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(i,n,s){s.LOCAL_FILE_HEADER="PK",s.CENTRAL_FILE_HEADER="PK",s.CENTRAL_DIRECTORY_END="PK",s.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",s.ZIP64_CENTRAL_DIRECTORY_END="PK",s.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(i,n,s){var o=i("./GenericWorker"),r=i("../utils");function l(d){o.call(this,"ConvertWorker to "+d),this.destType=d}r.inherits(l,o),l.prototype.processChunk=function(d){this.push({data:r.transformTo(this.destType,d.data),meta:d.meta})},n.exports=l},{"../utils":32,"./GenericWorker":28}],25:[function(i,n,s){var o=i("./GenericWorker"),r=i("../crc32");function l(){o.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}i("../utils").inherits(l,o),l.prototype.processChunk=function(d){this.streamInfo.crc32=r(d.data,this.streamInfo.crc32||0),this.push(d)},n.exports=l},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(i,n,s){var o=i("../utils"),r=i("./GenericWorker");function l(d){r.call(this,"DataLengthProbe for "+d),this.propName=d,this.withStreamInfo(d,0)}o.inherits(l,r),l.prototype.processChunk=function(d){if(d){var h=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=h+d.data.length}r.prototype.processChunk.call(this,d)},n.exports=l},{"../utils":32,"./GenericWorker":28}],27:[function(i,n,s){var o=i("../utils"),r=i("./GenericWorker");function l(d){r.call(this,"DataWorker");var h=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,d.then(function(p){h.dataIsReady=!0,h.data=p,h.max=p&&p.length||0,h.type=o.getTypeOf(p),h.isPaused||h._tickAndRepeat()},function(p){h.error(p)})}o.inherits(l,r),l.prototype.cleanUp=function(){r.prototype.cleanUp.call(this),this.data=null},l.prototype.resume=function(){return!!r.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,o.delay(this._tickAndRepeat,[],this)),!0)},l.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(o.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},l.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var d=null,h=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":d=this.data.substring(this.index,h);break;case"uint8array":d=this.data.subarray(this.index,h);break;case"array":case"nodebuffer":d=this.data.slice(this.index,h)}return this.index=h,this.push({data:d,meta:{percent:this.max?this.index/this.max*100:0}})},n.exports=l},{"../utils":32,"./GenericWorker":28}],28:[function(i,n,s){function o(r){this.name=r||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}o.prototype={push:function(r){this.emit("data",r)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(r){this.emit("error",r)}return!0},error:function(r){return!this.isFinished&&(this.isPaused?this.generatedError=r:(this.isFinished=!0,this.emit("error",r),this.previous&&this.previous.error(r),this.cleanUp()),!0)},on:function(r,l){return this._listeners[r].push(l),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(r,l){if(this._listeners[r])for(var d=0;d<this._listeners[r].length;d++)this._listeners[r][d].call(this,l)},pipe:function(r){return r.registerPrevious(this)},registerPrevious:function(r){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=r.streamInfo,this.mergeStreamInfo(),this.previous=r;var l=this;return r.on("data",function(d){l.processChunk(d)}),r.on("end",function(){l.end()}),r.on("error",function(d){l.error(d)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var r=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),r=!0),this.previous&&this.previous.resume(),!r},flush:function(){},processChunk:function(r){this.push(r)},withStreamInfo:function(r,l){return this.extraStreamInfo[r]=l,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var r in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,r)&&(this.streamInfo[r]=this.extraStreamInfo[r])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var r="Worker "+this.name;return this.previous?this.previous+" -> "+r:r}},n.exports=o},{}],29:[function(i,n,s){var o=i("../utils"),r=i("./ConvertWorker"),l=i("./GenericWorker"),d=i("../base64"),h=i("../support"),p=i("../external"),I=null;if(h.nodestream)try{I=i("../nodejs/NodejsStreamOutputAdapter")}catch{}function m(T,R){return new p.Promise(function(b,A){var O=[],P=T._internalType,U=T._outputType,Z=T._mimeType;T.on("data",function(ne,K){O.push(ne),R&&R(K)}).on("error",function(ne){O=[],A(ne)}).on("end",function(){try{var ne=(function(K,oe,se){switch(K){case"blob":return o.newBlob(o.transformTo("arraybuffer",oe),se);case"base64":return d.encode(oe);default:return o.transformTo(K,oe)}})(U,(function(K,oe){var se,he=0,Re=null,ee=0;for(se=0;se<oe.length;se++)ee+=oe[se].length;switch(K){case"string":return oe.join("");case"array":return Array.prototype.concat.apply([],oe);case"uint8array":for(Re=new Uint8Array(ee),se=0;se<oe.length;se++)Re.set(oe[se],he),he+=oe[se].length;return Re;case"nodebuffer":return Buffer.concat(oe);default:throw new Error("concat : unsupported type '"+K+"'")}})(P,O),Z);b(ne)}catch(K){A(K)}O=[]}).resume()})}function y(T,R,b){var A=R;switch(R){case"blob":case"arraybuffer":A="uint8array";break;case"base64":A="string"}try{this._internalType=A,this._outputType=R,this._mimeType=b,o.checkSupport(A),this._worker=T.pipe(new r(A)),T.lock()}catch(O){this._worker=new l("error"),this._worker.error(O)}}y.prototype={accumulate:function(T){return m(this,T)},on:function(T,R){var b=this;return T==="data"?this._worker.on(T,function(A){R.call(b,A.data,A.meta)}):this._worker.on(T,function(){o.delay(R,arguments,b)}),this},resume:function(){return o.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(T){if(o.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new I(this,{objectMode:this._outputType!=="nodebuffer"},T)}},n.exports=y},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(i,n,s){if(s.base64=!0,s.array=!0,s.string=!0,s.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",s.nodebuffer=typeof Buffer<"u",s.uint8array=typeof Uint8Array<"u",typeof ArrayBuffer>"u")s.blob=!1;else{var o=new ArrayBuffer(0);try{s.blob=new Blob([o],{type:"application/zip"}).size===0}catch{try{var r=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);r.append(o),s.blob=r.getBlob("application/zip").size===0}catch{s.blob=!1}}}try{s.nodestream=!!i("readable-stream").Readable}catch{s.nodestream=!1}},{"readable-stream":16}],31:[function(i,n,s){for(var o=i("./utils"),r=i("./support"),l=i("./nodejsUtils"),d=i("./stream/GenericWorker"),h=new Array(256),p=0;p<256;p++)h[p]=252<=p?6:248<=p?5:240<=p?4:224<=p?3:192<=p?2:1;h[254]=h[254]=1;function I(){d.call(this,"utf-8 decode"),this.leftOver=null}function m(){d.call(this,"utf-8 encode")}s.utf8encode=function(y){return r.nodebuffer?l.newBufferFrom(y,"utf-8"):(function(T){var R,b,A,O,P,U=T.length,Z=0;for(O=0;O<U;O++)(64512&(b=T.charCodeAt(O)))==55296&&O+1<U&&(64512&(A=T.charCodeAt(O+1)))==56320&&(b=65536+(b-55296<<10)+(A-56320),O++),Z+=b<128?1:b<2048?2:b<65536?3:4;for(R=r.uint8array?new Uint8Array(Z):new Array(Z),O=P=0;P<Z;O++)(64512&(b=T.charCodeAt(O)))==55296&&O+1<U&&(64512&(A=T.charCodeAt(O+1)))==56320&&(b=65536+(b-55296<<10)+(A-56320),O++),b<128?R[P++]=b:(b<2048?R[P++]=192|b>>>6:(b<65536?R[P++]=224|b>>>12:(R[P++]=240|b>>>18,R[P++]=128|b>>>12&63),R[P++]=128|b>>>6&63),R[P++]=128|63&b);return R})(y)},s.utf8decode=function(y){return r.nodebuffer?o.transformTo("nodebuffer",y).toString("utf-8"):(function(T){var R,b,A,O,P=T.length,U=new Array(2*P);for(R=b=0;R<P;)if((A=T[R++])<128)U[b++]=A;else if(4<(O=h[A]))U[b++]=65533,R+=O-1;else{for(A&=O===2?31:O===3?15:7;1<O&&R<P;)A=A<<6|63&T[R++],O--;1<O?U[b++]=65533:A<65536?U[b++]=A:(A-=65536,U[b++]=55296|A>>10&1023,U[b++]=56320|1023&A)}return U.length!==b&&(U.subarray?U=U.subarray(0,b):U.length=b),o.applyFromCharCode(U)})(y=o.transformTo(r.uint8array?"uint8array":"array",y))},o.inherits(I,d),I.prototype.processChunk=function(y){var T=o.transformTo(r.uint8array?"uint8array":"array",y.data);if(this.leftOver&&this.leftOver.length){if(r.uint8array){var R=T;(T=new Uint8Array(R.length+this.leftOver.length)).set(this.leftOver,0),T.set(R,this.leftOver.length)}else T=this.leftOver.concat(T);this.leftOver=null}var b=(function(O,P){var U;for((P=P||O.length)>O.length&&(P=O.length),U=P-1;0<=U&&(192&O[U])==128;)U--;return U<0||U===0?P:U+h[O[U]]>P?U:P})(T),A=T;b!==T.length&&(r.uint8array?(A=T.subarray(0,b),this.leftOver=T.subarray(b,T.length)):(A=T.slice(0,b),this.leftOver=T.slice(b,T.length))),this.push({data:s.utf8decode(A),meta:y.meta})},I.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:s.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},s.Utf8DecodeWorker=I,o.inherits(m,d),m.prototype.processChunk=function(y){this.push({data:s.utf8encode(y.data),meta:y.meta})},s.Utf8EncodeWorker=m},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(i,n,s){var o=i("./support"),r=i("./base64"),l=i("./nodejsUtils"),d=i("./external");function h(R){return R}function p(R,b){for(var A=0;A<R.length;++A)b[A]=255&R.charCodeAt(A);return b}i("setimmediate"),s.newBlob=function(R,b){s.checkSupport("blob");try{return new Blob([R],{type:b})}catch{try{var A=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return A.append(R),A.getBlob(b)}catch{throw new Error("Bug : can't construct the Blob.")}}};var I={stringifyByChunk:function(R,b,A){var O=[],P=0,U=R.length;if(U<=A)return String.fromCharCode.apply(null,R);for(;P<U;)b==="array"||b==="nodebuffer"?O.push(String.fromCharCode.apply(null,R.slice(P,Math.min(P+A,U)))):O.push(String.fromCharCode.apply(null,R.subarray(P,Math.min(P+A,U)))),P+=A;return O.join("")},stringifyByChar:function(R){for(var b="",A=0;A<R.length;A++)b+=String.fromCharCode(R[A]);return b},applyCanBeUsed:{uint8array:(function(){try{return o.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch{return!1}})(),nodebuffer:(function(){try{return o.nodebuffer&&String.fromCharCode.apply(null,l.allocBuffer(1)).length===1}catch{return!1}})()}};function m(R){var b=65536,A=s.getTypeOf(R),O=!0;if(A==="uint8array"?O=I.applyCanBeUsed.uint8array:A==="nodebuffer"&&(O=I.applyCanBeUsed.nodebuffer),O)for(;1<b;)try{return I.stringifyByChunk(R,A,b)}catch{b=Math.floor(b/2)}return I.stringifyByChar(R)}function y(R,b){for(var A=0;A<R.length;A++)b[A]=R[A];return b}s.applyFromCharCode=m;var T={};T.string={string:h,array:function(R){return p(R,new Array(R.length))},arraybuffer:function(R){return T.string.uint8array(R).buffer},uint8array:function(R){return p(R,new Uint8Array(R.length))},nodebuffer:function(R){return p(R,l.allocBuffer(R.length))}},T.array={string:m,array:h,arraybuffer:function(R){return new Uint8Array(R).buffer},uint8array:function(R){return new Uint8Array(R)},nodebuffer:function(R){return l.newBufferFrom(R)}},T.arraybuffer={string:function(R){return m(new Uint8Array(R))},array:function(R){return y(new Uint8Array(R),new Array(R.byteLength))},arraybuffer:h,uint8array:function(R){return new Uint8Array(R)},nodebuffer:function(R){return l.newBufferFrom(new Uint8Array(R))}},T.uint8array={string:m,array:function(R){return y(R,new Array(R.length))},arraybuffer:function(R){return R.buffer},uint8array:h,nodebuffer:function(R){return l.newBufferFrom(R)}},T.nodebuffer={string:m,array:function(R){return y(R,new Array(R.length))},arraybuffer:function(R){return T.nodebuffer.uint8array(R).buffer},uint8array:function(R){return y(R,new Uint8Array(R.length))},nodebuffer:h},s.transformTo=function(R,b){if(b=b||"",!R)return b;s.checkSupport(R);var A=s.getTypeOf(b);return T[A][R](b)},s.resolve=function(R){for(var b=R.split("/"),A=[],O=0;O<b.length;O++){var P=b[O];P==="."||P===""&&O!==0&&O!==b.length-1||(P===".."?A.pop():A.push(P))}return A.join("/")},s.getTypeOf=function(R){return typeof R=="string"?"string":Object.prototype.toString.call(R)==="[object Array]"?"array":o.nodebuffer&&l.isBuffer(R)?"nodebuffer":o.uint8array&&R instanceof Uint8Array?"uint8array":o.arraybuffer&&R instanceof ArrayBuffer?"arraybuffer":void 0},s.checkSupport=function(R){if(!o[R.toLowerCase()])throw new Error(R+" is not supported by this platform")},s.MAX_VALUE_16BITS=65535,s.MAX_VALUE_32BITS=-1,s.pretty=function(R){var b,A,O="";for(A=0;A<(R||"").length;A++)O+="\\x"+((b=R.charCodeAt(A))<16?"0":"")+b.toString(16).toUpperCase();return O},s.delay=function(R,b,A){setImmediate(function(){R.apply(A||null,b||[])})},s.inherits=function(R,b){function A(){}A.prototype=b.prototype,R.prototype=new A},s.extend=function(){var R,b,A={};for(R=0;R<arguments.length;R++)for(b in arguments[R])Object.prototype.hasOwnProperty.call(arguments[R],b)&&A[b]===void 0&&(A[b]=arguments[R][b]);return A},s.prepareContent=function(R,b,A,O,P){return d.Promise.resolve(b).then(function(U){return o.blob&&(U instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(U))!==-1)&&typeof FileReader<"u"?new d.Promise(function(Z,ne){var K=new FileReader;K.onload=function(oe){Z(oe.target.result)},K.onerror=function(oe){ne(oe.target.error)},K.readAsArrayBuffer(U)}):U}).then(function(U){var Z=s.getTypeOf(U);return Z?(Z==="arraybuffer"?U=s.transformTo("uint8array",U):Z==="string"&&(P?U=r.decode(U):A&&O!==!0&&(U=(function(ne){return p(ne,o.uint8array?new Uint8Array(ne.length):new Array(ne.length))})(U))),U):d.Promise.reject(new Error("Can't read the data of '"+R+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(i,n,s){var o=i("./reader/readerFor"),r=i("./utils"),l=i("./signature"),d=i("./zipEntry"),h=i("./support");function p(I){this.files=[],this.loadOptions=I}p.prototype={checkSignature:function(I){if(!this.reader.readAndCheckSignature(I)){this.reader.index-=4;var m=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+r.pretty(m)+", expected "+r.pretty(I)+")")}},isSignature:function(I,m){var y=this.reader.index;this.reader.setIndex(I);var T=this.reader.readString(4)===m;return this.reader.setIndex(y),T},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var I=this.reader.readData(this.zipCommentLength),m=h.uint8array?"uint8array":"array",y=r.transformTo(m,I);this.zipComment=this.loadOptions.decodeFileName(y)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var I,m,y,T=this.zip64EndOfCentralSize-44;0<T;)I=this.reader.readInt(2),m=this.reader.readInt(4),y=this.reader.readData(m),this.zip64ExtensibleData[I]={id:I,length:m,value:y}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var I,m;for(I=0;I<this.files.length;I++)m=this.files[I],this.reader.setIndex(m.localHeaderOffset),this.checkSignature(l.LOCAL_FILE_HEADER),m.readLocalPart(this.reader),m.handleUTF8(),m.processAttributes()},readCentralDir:function(){var I;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(l.CENTRAL_FILE_HEADER);)(I=new d({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(I);if(this.centralDirRecords!==this.files.length&&this.centralDirRecords!==0&&this.files.length===0)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var I=this.reader.lastIndexOfSignature(l.CENTRAL_DIRECTORY_END);if(I<0)throw this.isSignature(0,l.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(I);var m=I;if(this.checkSignature(l.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===r.MAX_VALUE_16BITS||this.diskWithCentralDirStart===r.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===r.MAX_VALUE_16BITS||this.centralDirRecords===r.MAX_VALUE_16BITS||this.centralDirSize===r.MAX_VALUE_32BITS||this.centralDirOffset===r.MAX_VALUE_32BITS){if(this.zip64=!0,(I=this.reader.lastIndexOfSignature(l.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(I),this.checkSignature(l.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,l.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(l.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(l.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var y=this.centralDirOffset+this.centralDirSize;this.zip64&&(y+=20,y+=12+this.zip64EndOfCentralSize);var T=m-y;if(0<T)this.isSignature(m,l.CENTRAL_FILE_HEADER)||(this.reader.zero=T);else if(T<0)throw new Error("Corrupted zip: missing "+Math.abs(T)+" bytes.")},prepareReader:function(I){this.reader=o(I)},load:function(I){this.prepareReader(I),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},n.exports=p},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(i,n,s){var o=i("./reader/readerFor"),r=i("./utils"),l=i("./compressedObject"),d=i("./crc32"),h=i("./utf8"),p=i("./compressions"),I=i("./support");function m(y,T){this.options=y,this.loadOptions=T}m.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(y){var T,R;if(y.skip(22),this.fileNameLength=y.readInt(2),R=y.readInt(2),this.fileName=y.readData(this.fileNameLength),y.skip(R),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if((T=(function(b){for(var A in p)if(Object.prototype.hasOwnProperty.call(p,A)&&p[A].magic===b)return p[A];return null})(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+r.pretty(this.compressionMethod)+" unknown (inner file : "+r.transformTo("string",this.fileName)+")");this.decompressed=new l(this.compressedSize,this.uncompressedSize,this.crc32,T,y.readData(this.compressedSize))},readCentralPart:function(y){this.versionMadeBy=y.readInt(2),y.skip(2),this.bitFlag=y.readInt(2),this.compressionMethod=y.readString(2),this.date=y.readDate(),this.crc32=y.readInt(4),this.compressedSize=y.readInt(4),this.uncompressedSize=y.readInt(4);var T=y.readInt(2);if(this.extraFieldsLength=y.readInt(2),this.fileCommentLength=y.readInt(2),this.diskNumberStart=y.readInt(2),this.internalFileAttributes=y.readInt(2),this.externalFileAttributes=y.readInt(4),this.localHeaderOffset=y.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");y.skip(T),this.readExtraFields(y),this.parseZIP64ExtraField(y),this.fileComment=y.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var y=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),y==0&&(this.dosPermissions=63&this.externalFileAttributes),y==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var y=o(this.extraFields[1].value);this.uncompressedSize===r.MAX_VALUE_32BITS&&(this.uncompressedSize=y.readInt(8)),this.compressedSize===r.MAX_VALUE_32BITS&&(this.compressedSize=y.readInt(8)),this.localHeaderOffset===r.MAX_VALUE_32BITS&&(this.localHeaderOffset=y.readInt(8)),this.diskNumberStart===r.MAX_VALUE_32BITS&&(this.diskNumberStart=y.readInt(4))}},readExtraFields:function(y){var T,R,b,A=y.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});y.index+4<A;)T=y.readInt(2),R=y.readInt(2),b=y.readData(R),this.extraFields[T]={id:T,length:R,value:b};y.setIndex(A)},handleUTF8:function(){var y=I.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=h.utf8decode(this.fileName),this.fileCommentStr=h.utf8decode(this.fileComment);else{var T=this.findExtraFieldUnicodePath();if(T!==null)this.fileNameStr=T;else{var R=r.transformTo(y,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(R)}var b=this.findExtraFieldUnicodeComment();if(b!==null)this.fileCommentStr=b;else{var A=r.transformTo(y,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(A)}}},findExtraFieldUnicodePath:function(){var y=this.extraFields[28789];if(y){var T=o(y.value);return T.readInt(1)!==1||d(this.fileName)!==T.readInt(4)?null:h.utf8decode(T.readData(y.length-5))}return null},findExtraFieldUnicodeComment:function(){var y=this.extraFields[25461];if(y){var T=o(y.value);return T.readInt(1)!==1||d(this.fileComment)!==T.readInt(4)?null:h.utf8decode(T.readData(y.length-5))}return null}},n.exports=m},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(i,n,s){function o(T,R,b){this.name=T,this.dir=b.dir,this.date=b.date,this.comment=b.comment,this.unixPermissions=b.unixPermissions,this.dosPermissions=b.dosPermissions,this._data=R,this._dataBinary=b.binary,this.options={compression:b.compression,compressionOptions:b.compressionOptions}}var r=i("./stream/StreamHelper"),l=i("./stream/DataWorker"),d=i("./utf8"),h=i("./compressedObject"),p=i("./stream/GenericWorker");o.prototype={internalStream:function(T){var R=null,b="string";try{if(!T)throw new Error("No output type specified.");var A=(b=T.toLowerCase())==="string"||b==="text";b!=="binarystring"&&b!=="text"||(b="string"),R=this._decompressWorker();var O=!this._dataBinary;O&&!A&&(R=R.pipe(new d.Utf8EncodeWorker)),!O&&A&&(R=R.pipe(new d.Utf8DecodeWorker))}catch(P){(R=new p("error")).error(P)}return new r(R,b,"")},async:function(T,R){return this.internalStream(T).accumulate(R)},nodeStream:function(T,R){return this.internalStream(T||"nodebuffer").toNodejsStream(R)},_compressWorker:function(T,R){if(this._data instanceof h&&this._data.compression.magic===T.magic)return this._data.getCompressedWorker();var b=this._decompressWorker();return this._dataBinary||(b=b.pipe(new d.Utf8EncodeWorker)),h.createWorkerFrom(b,T,R)},_decompressWorker:function(){return this._data instanceof h?this._data.getContentWorker():this._data instanceof p?this._data:new l(this._data)}};for(var I=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],m=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},y=0;y<I.length;y++)o.prototype[I[y]]=m;n.exports=o},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(i,n,s){(function(o){var r,l,d=o.MutationObserver||o.WebKitMutationObserver;if(d){var h=0,p=new d(T),I=o.document.createTextNode("");p.observe(I,{characterData:!0}),r=function(){I.data=h=++h%2}}else if(o.setImmediate||o.MessageChannel===void 0)r="document"in o&&"onreadystatechange"in o.document.createElement("script")?function(){var R=o.document.createElement("script");R.onreadystatechange=function(){T(),R.onreadystatechange=null,R.parentNode.removeChild(R),R=null},o.document.documentElement.appendChild(R)}:function(){setTimeout(T,0)};else{var m=new o.MessageChannel;m.port1.onmessage=T,r=function(){m.port2.postMessage(0)}}var y=[];function T(){var R,b;l=!0;for(var A=y.length;A;){for(b=y,y=[],R=-1;++R<A;)b[R]();A=y.length}l=!1}n.exports=function(R){y.push(R)!==1||l||r()}}).call(this,typeof TQ<"u"?TQ:typeof self<"u"?self:typeof window<"u"?window:{})},{}],37:[function(i,n,s){var o=i("immediate");function r(){}var l={},d=["REJECTED"],h=["FULFILLED"],p=["PENDING"];function I(A){if(typeof A!="function")throw new TypeError("resolver must be a function");this.state=p,this.queue=[],this.outcome=void 0,A!==r&&R(this,A)}function m(A,O,P){this.promise=A,typeof O=="function"&&(this.onFulfilled=O,this.callFulfilled=this.otherCallFulfilled),typeof P=="function"&&(this.onRejected=P,this.callRejected=this.otherCallRejected)}function y(A,O,P){o(function(){var U;try{U=O(P)}catch(Z){return l.reject(A,Z)}U===A?l.reject(A,new TypeError("Cannot resolve promise with itself")):l.resolve(A,U)})}function T(A){var O=A&&A.then;if(A&&(typeof A=="object"||typeof A=="function")&&typeof O=="function")return function(){O.apply(A,arguments)}}function R(A,O){var P=!1;function U(K){P||(P=!0,l.reject(A,K))}function Z(K){P||(P=!0,l.resolve(A,K))}var ne=b(function(){O(Z,U)});ne.status==="error"&&U(ne.value)}function b(A,O){var P={};try{P.value=A(O),P.status="success"}catch(U){P.status="error",P.value=U}return P}(n.exports=I).prototype.finally=function(A){if(typeof A!="function")return this;var O=this.constructor;return this.then(function(P){return O.resolve(A()).then(function(){return P})},function(P){return O.resolve(A()).then(function(){throw P})})},I.prototype.catch=function(A){return this.then(null,A)},I.prototype.then=function(A,O){if(typeof A!="function"&&this.state===h||typeof O!="function"&&this.state===d)return this;var P=new this.constructor(r);return this.state!==p?y(P,this.state===h?A:O,this.outcome):this.queue.push(new m(P,A,O)),P},m.prototype.callFulfilled=function(A){l.resolve(this.promise,A)},m.prototype.otherCallFulfilled=function(A){y(this.promise,this.onFulfilled,A)},m.prototype.callRejected=function(A){l.reject(this.promise,A)},m.prototype.otherCallRejected=function(A){y(this.promise,this.onRejected,A)},l.resolve=function(A,O){var P=b(T,O);if(P.status==="error")return l.reject(A,P.value);var U=P.value;if(U)R(A,U);else{A.state=h,A.outcome=O;for(var Z=-1,ne=A.queue.length;++Z<ne;)A.queue[Z].callFulfilled(O)}return A},l.reject=function(A,O){A.state=d,A.outcome=O;for(var P=-1,U=A.queue.length;++P<U;)A.queue[P].callRejected(O);return A},I.resolve=function(A){return A instanceof this?A:l.resolve(new this(r),A)},I.reject=function(A){var O=new this(r);return l.reject(O,A)},I.all=function(A){var O=this;if(Object.prototype.toString.call(A)!=="[object Array]")return this.reject(new TypeError("must be an array"));var P=A.length,U=!1;if(!P)return this.resolve([]);for(var Z=new Array(P),ne=0,K=-1,oe=new this(r);++K<P;)se(A[K],K);return oe;function se(he,Re){O.resolve(he).then(function(ee){Z[Re]=ee,++ne!==P||U||(U=!0,l.resolve(oe,Z))},function(ee){U||(U=!0,l.reject(oe,ee))})}},I.race=function(A){var O=this;if(Object.prototype.toString.call(A)!=="[object Array]")return this.reject(new TypeError("must be an array"));var P=A.length,U=!1;if(!P)return this.resolve([]);for(var Z=-1,ne=new this(r);++Z<P;)K=A[Z],O.resolve(K).then(function(oe){U||(U=!0,l.resolve(ne,oe))},function(oe){U||(U=!0,l.reject(ne,oe))});var K;return ne}},{immediate:36}],38:[function(i,n,s){var o={};(0,i("./lib/utils/common").assign)(o,i("./lib/deflate"),i("./lib/inflate"),i("./lib/zlib/constants")),n.exports=o},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(i,n,s){var o=i("./zlib/deflate"),r=i("./utils/common"),l=i("./utils/strings"),d=i("./zlib/messages"),h=i("./zlib/zstream"),p=Object.prototype.toString,I=0,m=-1,y=0,T=8;function R(A){if(!(this instanceof R))return new R(A);this.options=r.assign({level:m,method:T,chunkSize:16384,windowBits:15,memLevel:8,strategy:y,to:""},A||{});var O=this.options;O.raw&&0<O.windowBits?O.windowBits=-O.windowBits:O.gzip&&0<O.windowBits&&O.windowBits<16&&(O.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new h,this.strm.avail_out=0;var P=o.deflateInit2(this.strm,O.level,O.method,O.windowBits,O.memLevel,O.strategy);if(P!==I)throw new Error(d[P]);if(O.header&&o.deflateSetHeader(this.strm,O.header),O.dictionary){var U;if(U=typeof O.dictionary=="string"?l.string2buf(O.dictionary):p.call(O.dictionary)==="[object ArrayBuffer]"?new Uint8Array(O.dictionary):O.dictionary,(P=o.deflateSetDictionary(this.strm,U))!==I)throw new Error(d[P]);this._dict_set=!0}}function b(A,O){var P=new R(O);if(P.push(A,!0),P.err)throw P.msg||d[P.err];return P.result}R.prototype.push=function(A,O){var P,U,Z=this.strm,ne=this.options.chunkSize;if(this.ended)return!1;U=O===~~O?O:O===!0?4:0,typeof A=="string"?Z.input=l.string2buf(A):p.call(A)==="[object ArrayBuffer]"?Z.input=new Uint8Array(A):Z.input=A,Z.next_in=0,Z.avail_in=Z.input.length;do{if(Z.avail_out===0&&(Z.output=new r.Buf8(ne),Z.next_out=0,Z.avail_out=ne),(P=o.deflate(Z,U))!==1&&P!==I)return this.onEnd(P),!(this.ended=!0);Z.avail_out!==0&&(Z.avail_in!==0||U!==4&&U!==2)||(this.options.to==="string"?this.onData(l.buf2binstring(r.shrinkBuf(Z.output,Z.next_out))):this.onData(r.shrinkBuf(Z.output,Z.next_out)))}while((0<Z.avail_in||Z.avail_out===0)&&P!==1);return U===4?(P=o.deflateEnd(this.strm),this.onEnd(P),this.ended=!0,P===I):U!==2||(this.onEnd(I),!(Z.avail_out=0))},R.prototype.onData=function(A){this.chunks.push(A)},R.prototype.onEnd=function(A){A===I&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=r.flattenChunks(this.chunks)),this.chunks=[],this.err=A,this.msg=this.strm.msg},s.Deflate=R,s.deflate=b,s.deflateRaw=function(A,O){return(O=O||{}).raw=!0,b(A,O)},s.gzip=function(A,O){return(O=O||{}).gzip=!0,b(A,O)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(i,n,s){var o=i("./zlib/inflate"),r=i("./utils/common"),l=i("./utils/strings"),d=i("./zlib/constants"),h=i("./zlib/messages"),p=i("./zlib/zstream"),I=i("./zlib/gzheader"),m=Object.prototype.toString;function y(R){if(!(this instanceof y))return new y(R);this.options=r.assign({chunkSize:16384,windowBits:0,to:""},R||{});var b=this.options;b.raw&&0<=b.windowBits&&b.windowBits<16&&(b.windowBits=-b.windowBits,b.windowBits===0&&(b.windowBits=-15)),!(0<=b.windowBits&&b.windowBits<16)||R&&R.windowBits||(b.windowBits+=32),15<b.windowBits&&b.windowBits<48&&(15&b.windowBits)==0&&(b.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new p,this.strm.avail_out=0;var A=o.inflateInit2(this.strm,b.windowBits);if(A!==d.Z_OK)throw new Error(h[A]);this.header=new I,o.inflateGetHeader(this.strm,this.header)}function T(R,b){var A=new y(b);if(A.push(R,!0),A.err)throw A.msg||h[A.err];return A.result}y.prototype.push=function(R,b){var A,O,P,U,Z,ne,K=this.strm,oe=this.options.chunkSize,se=this.options.dictionary,he=!1;if(this.ended)return!1;O=b===~~b?b:b===!0?d.Z_FINISH:d.Z_NO_FLUSH,typeof R=="string"?K.input=l.binstring2buf(R):m.call(R)==="[object ArrayBuffer]"?K.input=new Uint8Array(R):K.input=R,K.next_in=0,K.avail_in=K.input.length;do{if(K.avail_out===0&&(K.output=new r.Buf8(oe),K.next_out=0,K.avail_out=oe),(A=o.inflate(K,d.Z_NO_FLUSH))===d.Z_NEED_DICT&&se&&(ne=typeof se=="string"?l.string2buf(se):m.call(se)==="[object ArrayBuffer]"?new Uint8Array(se):se,A=o.inflateSetDictionary(this.strm,ne)),A===d.Z_BUF_ERROR&&he===!0&&(A=d.Z_OK,he=!1),A!==d.Z_STREAM_END&&A!==d.Z_OK)return this.onEnd(A),!(this.ended=!0);K.next_out&&(K.avail_out!==0&&A!==d.Z_STREAM_END&&(K.avail_in!==0||O!==d.Z_FINISH&&O!==d.Z_SYNC_FLUSH)||(this.options.to==="string"?(P=l.utf8border(K.output,K.next_out),U=K.next_out-P,Z=l.buf2string(K.output,P),K.next_out=U,K.avail_out=oe-U,U&&r.arraySet(K.output,K.output,P,U,0),this.onData(Z)):this.onData(r.shrinkBuf(K.output,K.next_out)))),K.avail_in===0&&K.avail_out===0&&(he=!0)}while((0<K.avail_in||K.avail_out===0)&&A!==d.Z_STREAM_END);return A===d.Z_STREAM_END&&(O=d.Z_FINISH),O===d.Z_FINISH?(A=o.inflateEnd(this.strm),this.onEnd(A),this.ended=!0,A===d.Z_OK):O!==d.Z_SYNC_FLUSH||(this.onEnd(d.Z_OK),!(K.avail_out=0))},y.prototype.onData=function(R){this.chunks.push(R)},y.prototype.onEnd=function(R){R===d.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=r.flattenChunks(this.chunks)),this.chunks=[],this.err=R,this.msg=this.strm.msg},s.Inflate=y,s.inflate=T,s.inflateRaw=function(R,b){return(b=b||{}).raw=!0,T(R,b)},s.ungzip=T},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(i,n,s){var o=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";s.assign=function(d){for(var h=Array.prototype.slice.call(arguments,1);h.length;){var p=h.shift();if(p){if(typeof p!="object")throw new TypeError(p+"must be non-object");for(var I in p)p.hasOwnProperty(I)&&(d[I]=p[I])}}return d},s.shrinkBuf=function(d,h){return d.length===h?d:d.subarray?d.subarray(0,h):(d.length=h,d)};var r={arraySet:function(d,h,p,I,m){if(h.subarray&&d.subarray)d.set(h.subarray(p,p+I),m);else for(var y=0;y<I;y++)d[m+y]=h[p+y]},flattenChunks:function(d){var h,p,I,m,y,T;for(h=I=0,p=d.length;h<p;h++)I+=d[h].length;for(T=new Uint8Array(I),h=m=0,p=d.length;h<p;h++)y=d[h],T.set(y,m),m+=y.length;return T}},l={arraySet:function(d,h,p,I,m){for(var y=0;y<I;y++)d[m+y]=h[p+y]},flattenChunks:function(d){return[].concat.apply([],d)}};s.setTyped=function(d){d?(s.Buf8=Uint8Array,s.Buf16=Uint16Array,s.Buf32=Int32Array,s.assign(s,r)):(s.Buf8=Array,s.Buf16=Array,s.Buf32=Array,s.assign(s,l))},s.setTyped(o)},{}],42:[function(i,n,s){var o=i("./common"),r=!0,l=!0;try{String.fromCharCode.apply(null,[0])}catch{r=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{l=!1}for(var d=new o.Buf8(256),h=0;h<256;h++)d[h]=252<=h?6:248<=h?5:240<=h?4:224<=h?3:192<=h?2:1;function p(I,m){if(m<65537&&(I.subarray&&l||!I.subarray&&r))return String.fromCharCode.apply(null,o.shrinkBuf(I,m));for(var y="",T=0;T<m;T++)y+=String.fromCharCode(I[T]);return y}d[254]=d[254]=1,s.string2buf=function(I){var m,y,T,R,b,A=I.length,O=0;for(R=0;R<A;R++)(64512&(y=I.charCodeAt(R)))==55296&&R+1<A&&(64512&(T=I.charCodeAt(R+1)))==56320&&(y=65536+(y-55296<<10)+(T-56320),R++),O+=y<128?1:y<2048?2:y<65536?3:4;for(m=new o.Buf8(O),R=b=0;b<O;R++)(64512&(y=I.charCodeAt(R)))==55296&&R+1<A&&(64512&(T=I.charCodeAt(R+1)))==56320&&(y=65536+(y-55296<<10)+(T-56320),R++),y<128?m[b++]=y:(y<2048?m[b++]=192|y>>>6:(y<65536?m[b++]=224|y>>>12:(m[b++]=240|y>>>18,m[b++]=128|y>>>12&63),m[b++]=128|y>>>6&63),m[b++]=128|63&y);return m},s.buf2binstring=function(I){return p(I,I.length)},s.binstring2buf=function(I){for(var m=new o.Buf8(I.length),y=0,T=m.length;y<T;y++)m[y]=I.charCodeAt(y);return m},s.buf2string=function(I,m){var y,T,R,b,A=m||I.length,O=new Array(2*A);for(y=T=0;y<A;)if((R=I[y++])<128)O[T++]=R;else if(4<(b=d[R]))O[T++]=65533,y+=b-1;else{for(R&=b===2?31:b===3?15:7;1<b&&y<A;)R=R<<6|63&I[y++],b--;1<b?O[T++]=65533:R<65536?O[T++]=R:(R-=65536,O[T++]=55296|R>>10&1023,O[T++]=56320|1023&R)}return p(O,T)},s.utf8border=function(I,m){var y;for((m=m||I.length)>I.length&&(m=I.length),y=m-1;0<=y&&(192&I[y])==128;)y--;return y<0||y===0?m:y+d[I[y]]>m?y:m}},{"./common":41}],43:[function(i,n,s){n.exports=function(o,r,l,d){for(var h=65535&o|0,p=o>>>16&65535|0,I=0;l!==0;){for(l-=I=2e3<l?2e3:l;p=p+(h=h+r[d++]|0)|0,--I;);h%=65521,p%=65521}return h|p<<16|0}},{}],44:[function(i,n,s){n.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(i,n,s){var o=(function(){for(var r,l=[],d=0;d<256;d++){r=d;for(var h=0;h<8;h++)r=1&r?3988292384^r>>>1:r>>>1;l[d]=r}return l})();n.exports=function(r,l,d,h){var p=o,I=h+d;r^=-1;for(var m=h;m<I;m++)r=r>>>8^p[255&(r^l[m])];return-1^r}},{}],46:[function(i,n,s){var o,r=i("../utils/common"),l=i("./trees"),d=i("./adler32"),h=i("./crc32"),p=i("./messages"),I=0,m=4,y=0,T=-2,R=-1,b=4,A=2,O=8,P=9,U=286,Z=30,ne=19,K=2*U+1,oe=15,se=3,he=258,Re=he+se+1,ee=42,Ae=113,Ee=1,Ce=2,Qe=3,qe=4;function St(ge,Ue){return ge.msg=p[Ue],Ue}function $e(ge){return(ge<<1)-(4<ge?9:0)}function ke(ge){for(var Ue=ge.length;0<=--Ue;)ge[Ue]=0}function It(ge){var Ue=ge.state,Pe=Ue.pending;Pe>ge.avail_out&&(Pe=ge.avail_out),Pe!==0&&(r.arraySet(ge.output,Ue.pending_buf,Ue.pending_out,Pe,ge.next_out),ge.next_out+=Pe,Ue.pending_out+=Pe,ge.total_out+=Pe,ge.avail_out-=Pe,Ue.pending-=Pe,Ue.pending===0&&(Ue.pending_out=0))}function ft(ge,Ue){l._tr_flush_block(ge,0<=ge.block_start?ge.block_start:-1,ge.strstart-ge.block_start,Ue),ge.block_start=ge.strstart,It(ge.strm)}function Dt(ge,Ue){ge.pending_buf[ge.pending++]=Ue}function Zt(ge,Ue){ge.pending_buf[ge.pending++]=Ue>>>8&255,ge.pending_buf[ge.pending++]=255&Ue}function Ct(ge,Ue){var Pe,Me,ze=ge.max_chain_length,pt=ge.strstart,He=ge.prev_length,At=ge.nice_match,Tt=ge.strstart>ge.w_size-Re?ge.strstart-(ge.w_size-Re):0,Lt=ge.window,Ht=ge.w_mask,ri=ge.prev,Xe=ge.strstart+he,We=Lt[pt+He-1],Mt=Lt[pt+He];ge.prev_length>=ge.good_match&&(ze>>=2),At>ge.lookahead&&(At=ge.lookahead);do if(Lt[(Pe=Ue)+He]===Mt&&Lt[Pe+He-1]===We&&Lt[Pe]===Lt[pt]&&Lt[++Pe]===Lt[pt+1]){pt+=2,Pe++;do;while(Lt[++pt]===Lt[++Pe]&&Lt[++pt]===Lt[++Pe]&&Lt[++pt]===Lt[++Pe]&&Lt[++pt]===Lt[++Pe]&&Lt[++pt]===Lt[++Pe]&&Lt[++pt]===Lt[++Pe]&&Lt[++pt]===Lt[++Pe]&&Lt[++pt]===Lt[++Pe]&&pt<Xe);if(Me=he-(Xe-pt),pt=Xe-he,He<Me){if(ge.match_start=Ue,At<=(He=Me))break;We=Lt[pt+He-1],Mt=Lt[pt+He]}}while((Ue=ri[Ue&Ht])>Tt&&--ze!=0);return He<=ge.lookahead?He:ge.lookahead}function Ut(ge){var Ue,Pe,Me,ze,pt,He,At,Tt,Lt,Ht,ri=ge.w_size;do{if(ze=ge.window_size-ge.lookahead-ge.strstart,ge.strstart>=ri+(ri-Re)){for(r.arraySet(ge.window,ge.window,ri,ri,0),ge.match_start-=ri,ge.strstart-=ri,ge.block_start-=ri,Ue=Pe=ge.hash_size;Me=ge.head[--Ue],ge.head[Ue]=ri<=Me?Me-ri:0,--Pe;);for(Ue=Pe=ri;Me=ge.prev[--Ue],ge.prev[Ue]=ri<=Me?Me-ri:0,--Pe;);ze+=ri}if(ge.strm.avail_in===0)break;if(He=ge.strm,At=ge.window,Tt=ge.strstart+ge.lookahead,Lt=ze,Ht=void 0,Ht=He.avail_in,Lt<Ht&&(Ht=Lt),Pe=Ht===0?0:(He.avail_in-=Ht,r.arraySet(At,He.input,He.next_in,Ht,Tt),He.state.wrap===1?He.adler=d(He.adler,At,Ht,Tt):He.state.wrap===2&&(He.adler=h(He.adler,At,Ht,Tt)),He.next_in+=Ht,He.total_in+=Ht,Ht),ge.lookahead+=Pe,ge.lookahead+ge.insert>=se)for(pt=ge.strstart-ge.insert,ge.ins_h=ge.window[pt],ge.ins_h=(ge.ins_h<<ge.hash_shift^ge.window[pt+1])&ge.hash_mask;ge.insert&&(ge.ins_h=(ge.ins_h<<ge.hash_shift^ge.window[pt+se-1])&ge.hash_mask,ge.prev[pt&ge.w_mask]=ge.head[ge.ins_h],ge.head[ge.ins_h]=pt,pt++,ge.insert--,!(ge.lookahead+ge.insert<se)););}while(ge.lookahead<Re&&ge.strm.avail_in!==0)}function ii(ge,Ue){for(var Pe,Me;;){if(ge.lookahead<Re){if(Ut(ge),ge.lookahead<Re&&Ue===I)return Ee;if(ge.lookahead===0)break}if(Pe=0,ge.lookahead>=se&&(ge.ins_h=(ge.ins_h<<ge.hash_shift^ge.window[ge.strstart+se-1])&ge.hash_mask,Pe=ge.prev[ge.strstart&ge.w_mask]=ge.head[ge.ins_h],ge.head[ge.ins_h]=ge.strstart),Pe!==0&&ge.strstart-Pe<=ge.w_size-Re&&(ge.match_length=Ct(ge,Pe)),ge.match_length>=se)if(Me=l._tr_tally(ge,ge.strstart-ge.match_start,ge.match_length-se),ge.lookahead-=ge.match_length,ge.match_length<=ge.max_lazy_match&&ge.lookahead>=se){for(ge.match_length--;ge.strstart++,ge.ins_h=(ge.ins_h<<ge.hash_shift^ge.window[ge.strstart+se-1])&ge.hash_mask,Pe=ge.prev[ge.strstart&ge.w_mask]=ge.head[ge.ins_h],ge.head[ge.ins_h]=ge.strstart,--ge.match_length!=0;);ge.strstart++}else ge.strstart+=ge.match_length,ge.match_length=0,ge.ins_h=ge.window[ge.strstart],ge.ins_h=(ge.ins_h<<ge.hash_shift^ge.window[ge.strstart+1])&ge.hash_mask;else Me=l._tr_tally(ge,0,ge.window[ge.strstart]),ge.lookahead--,ge.strstart++;if(Me&&(ft(ge,!1),ge.strm.avail_out===0))return Ee}return ge.insert=ge.strstart<se-1?ge.strstart:se-1,Ue===m?(ft(ge,!0),ge.strm.avail_out===0?Qe:qe):ge.last_lit&&(ft(ge,!1),ge.strm.avail_out===0)?Ee:Ce}function Vt(ge,Ue){for(var Pe,Me,ze;;){if(ge.lookahead<Re){if(Ut(ge),ge.lookahead<Re&&Ue===I)return Ee;if(ge.lookahead===0)break}if(Pe=0,ge.lookahead>=se&&(ge.ins_h=(ge.ins_h<<ge.hash_shift^ge.window[ge.strstart+se-1])&ge.hash_mask,Pe=ge.prev[ge.strstart&ge.w_mask]=ge.head[ge.ins_h],ge.head[ge.ins_h]=ge.strstart),ge.prev_length=ge.match_length,ge.prev_match=ge.match_start,ge.match_length=se-1,Pe!==0&&ge.prev_length<ge.max_lazy_match&&ge.strstart-Pe<=ge.w_size-Re&&(ge.match_length=Ct(ge,Pe),ge.match_length<=5&&(ge.strategy===1||ge.match_length===se&&4096<ge.strstart-ge.match_start)&&(ge.match_length=se-1)),ge.prev_length>=se&&ge.match_length<=ge.prev_length){for(ze=ge.strstart+ge.lookahead-se,Me=l._tr_tally(ge,ge.strstart-1-ge.prev_match,ge.prev_length-se),ge.lookahead-=ge.prev_length-1,ge.prev_length-=2;++ge.strstart<=ze&&(ge.ins_h=(ge.ins_h<<ge.hash_shift^ge.window[ge.strstart+se-1])&ge.hash_mask,Pe=ge.prev[ge.strstart&ge.w_mask]=ge.head[ge.ins_h],ge.head[ge.ins_h]=ge.strstart),--ge.prev_length!=0;);if(ge.match_available=0,ge.match_length=se-1,ge.strstart++,Me&&(ft(ge,!1),ge.strm.avail_out===0))return Ee}else if(ge.match_available){if((Me=l._tr_tally(ge,0,ge.window[ge.strstart-1]))&&ft(ge,!1),ge.strstart++,ge.lookahead--,ge.strm.avail_out===0)return Ee}else ge.match_available=1,ge.strstart++,ge.lookahead--}return ge.match_available&&(Me=l._tr_tally(ge,0,ge.window[ge.strstart-1]),ge.match_available=0),ge.insert=ge.strstart<se-1?ge.strstart:se-1,Ue===m?(ft(ge,!0),ge.strm.avail_out===0?Qe:qe):ge.last_lit&&(ft(ge,!1),ge.strm.avail_out===0)?Ee:Ce}function Kt(ge,Ue,Pe,Me,ze){this.good_length=ge,this.max_lazy=Ue,this.nice_length=Pe,this.max_chain=Me,this.func=ze}function ui(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=O,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new r.Buf16(2*K),this.dyn_dtree=new r.Buf16(2*(2*Z+1)),this.bl_tree=new r.Buf16(2*(2*ne+1)),ke(this.dyn_ltree),ke(this.dyn_dtree),ke(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new r.Buf16(oe+1),this.heap=new r.Buf16(2*U+1),ke(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new r.Buf16(2*U+1),ke(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function jt(ge){var Ue;return ge&&ge.state?(ge.total_in=ge.total_out=0,ge.data_type=A,(Ue=ge.state).pending=0,Ue.pending_out=0,Ue.wrap<0&&(Ue.wrap=-Ue.wrap),Ue.status=Ue.wrap?ee:Ae,ge.adler=Ue.wrap===2?0:1,Ue.last_flush=I,l._tr_init(Ue),y):St(ge,T)}function Oe(ge){var Ue=jt(ge);return Ue===y&&(function(Pe){Pe.window_size=2*Pe.w_size,ke(Pe.head),Pe.max_lazy_match=o[Pe.level].max_lazy,Pe.good_match=o[Pe.level].good_length,Pe.nice_match=o[Pe.level].nice_length,Pe.max_chain_length=o[Pe.level].max_chain,Pe.strstart=0,Pe.block_start=0,Pe.lookahead=0,Pe.insert=0,Pe.match_length=Pe.prev_length=se-1,Pe.match_available=0,Pe.ins_h=0})(ge.state),Ue}function Ft(ge,Ue,Pe,Me,ze,pt){if(!ge)return T;var He=1;if(Ue===R&&(Ue=6),Me<0?(He=0,Me=-Me):15<Me&&(He=2,Me-=16),ze<1||P<ze||Pe!==O||Me<8||15<Me||Ue<0||9<Ue||pt<0||b<pt)return St(ge,T);Me===8&&(Me=9);var At=new ui;return(ge.state=At).strm=ge,At.wrap=He,At.gzhead=null,At.w_bits=Me,At.w_size=1<<At.w_bits,At.w_mask=At.w_size-1,At.hash_bits=ze+7,At.hash_size=1<<At.hash_bits,At.hash_mask=At.hash_size-1,At.hash_shift=~~((At.hash_bits+se-1)/se),At.window=new r.Buf8(2*At.w_size),At.head=new r.Buf16(At.hash_size),At.prev=new r.Buf16(At.w_size),At.lit_bufsize=1<<ze+6,At.pending_buf_size=4*At.lit_bufsize,At.pending_buf=new r.Buf8(At.pending_buf_size),At.d_buf=1*At.lit_bufsize,At.l_buf=3*At.lit_bufsize,At.level=Ue,At.strategy=pt,At.method=Pe,Oe(ge)}o=[new Kt(0,0,0,0,function(ge,Ue){var Pe=65535;for(Pe>ge.pending_buf_size-5&&(Pe=ge.pending_buf_size-5);;){if(ge.lookahead<=1){if(Ut(ge),ge.lookahead===0&&Ue===I)return Ee;if(ge.lookahead===0)break}ge.strstart+=ge.lookahead,ge.lookahead=0;var Me=ge.block_start+Pe;if((ge.strstart===0||ge.strstart>=Me)&&(ge.lookahead=ge.strstart-Me,ge.strstart=Me,ft(ge,!1),ge.strm.avail_out===0)||ge.strstart-ge.block_start>=ge.w_size-Re&&(ft(ge,!1),ge.strm.avail_out===0))return Ee}return ge.insert=0,Ue===m?(ft(ge,!0),ge.strm.avail_out===0?Qe:qe):(ge.strstart>ge.block_start&&(ft(ge,!1),ge.strm.avail_out),Ee)}),new Kt(4,4,8,4,ii),new Kt(4,5,16,8,ii),new Kt(4,6,32,32,ii),new Kt(4,4,16,16,Vt),new Kt(8,16,32,32,Vt),new Kt(8,16,128,128,Vt),new Kt(8,32,128,256,Vt),new Kt(32,128,258,1024,Vt),new Kt(32,258,258,4096,Vt)],s.deflateInit=function(ge,Ue){return Ft(ge,Ue,O,15,8,0)},s.deflateInit2=Ft,s.deflateReset=Oe,s.deflateResetKeep=jt,s.deflateSetHeader=function(ge,Ue){return ge&&ge.state?ge.state.wrap!==2?T:(ge.state.gzhead=Ue,y):T},s.deflate=function(ge,Ue){var Pe,Me,ze,pt;if(!ge||!ge.state||5<Ue||Ue<0)return ge?St(ge,T):T;if(Me=ge.state,!ge.output||!ge.input&&ge.avail_in!==0||Me.status===666&&Ue!==m)return St(ge,ge.avail_out===0?-5:T);if(Me.strm=ge,Pe=Me.last_flush,Me.last_flush=Ue,Me.status===ee)if(Me.wrap===2)ge.adler=0,Dt(Me,31),Dt(Me,139),Dt(Me,8),Me.gzhead?(Dt(Me,(Me.gzhead.text?1:0)+(Me.gzhead.hcrc?2:0)+(Me.gzhead.extra?4:0)+(Me.gzhead.name?8:0)+(Me.gzhead.comment?16:0)),Dt(Me,255&Me.gzhead.time),Dt(Me,Me.gzhead.time>>8&255),Dt(Me,Me.gzhead.time>>16&255),Dt(Me,Me.gzhead.time>>24&255),Dt(Me,Me.level===9?2:2<=Me.strategy||Me.level<2?4:0),Dt(Me,255&Me.gzhead.os),Me.gzhead.extra&&Me.gzhead.extra.length&&(Dt(Me,255&Me.gzhead.extra.length),Dt(Me,Me.gzhead.extra.length>>8&255)),Me.gzhead.hcrc&&(ge.adler=h(ge.adler,Me.pending_buf,Me.pending,0)),Me.gzindex=0,Me.status=69):(Dt(Me,0),Dt(Me,0),Dt(Me,0),Dt(Me,0),Dt(Me,0),Dt(Me,Me.level===9?2:2<=Me.strategy||Me.level<2?4:0),Dt(Me,3),Me.status=Ae);else{var He=O+(Me.w_bits-8<<4)<<8;He|=(2<=Me.strategy||Me.level<2?0:Me.level<6?1:Me.level===6?2:3)<<6,Me.strstart!==0&&(He|=32),He+=31-He%31,Me.status=Ae,Zt(Me,He),Me.strstart!==0&&(Zt(Me,ge.adler>>>16),Zt(Me,65535&ge.adler)),ge.adler=1}if(Me.status===69)if(Me.gzhead.extra){for(ze=Me.pending;Me.gzindex<(65535&Me.gzhead.extra.length)&&(Me.pending!==Me.pending_buf_size||(Me.gzhead.hcrc&&Me.pending>ze&&(ge.adler=h(ge.adler,Me.pending_buf,Me.pending-ze,ze)),It(ge),ze=Me.pending,Me.pending!==Me.pending_buf_size));)Dt(Me,255&Me.gzhead.extra[Me.gzindex]),Me.gzindex++;Me.gzhead.hcrc&&Me.pending>ze&&(ge.adler=h(ge.adler,Me.pending_buf,Me.pending-ze,ze)),Me.gzindex===Me.gzhead.extra.length&&(Me.gzindex=0,Me.status=73)}else Me.status=73;if(Me.status===73)if(Me.gzhead.name){ze=Me.pending;do{if(Me.pending===Me.pending_buf_size&&(Me.gzhead.hcrc&&Me.pending>ze&&(ge.adler=h(ge.adler,Me.pending_buf,Me.pending-ze,ze)),It(ge),ze=Me.pending,Me.pending===Me.pending_buf_size)){pt=1;break}pt=Me.gzindex<Me.gzhead.name.length?255&Me.gzhead.name.charCodeAt(Me.gzindex++):0,Dt(Me,pt)}while(pt!==0);Me.gzhead.hcrc&&Me.pending>ze&&(ge.adler=h(ge.adler,Me.pending_buf,Me.pending-ze,ze)),pt===0&&(Me.gzindex=0,Me.status=91)}else Me.status=91;if(Me.status===91)if(Me.gzhead.comment){ze=Me.pending;do{if(Me.pending===Me.pending_buf_size&&(Me.gzhead.hcrc&&Me.pending>ze&&(ge.adler=h(ge.adler,Me.pending_buf,Me.pending-ze,ze)),It(ge),ze=Me.pending,Me.pending===Me.pending_buf_size)){pt=1;break}pt=Me.gzindex<Me.gzhead.comment.length?255&Me.gzhead.comment.charCodeAt(Me.gzindex++):0,Dt(Me,pt)}while(pt!==0);Me.gzhead.hcrc&&Me.pending>ze&&(ge.adler=h(ge.adler,Me.pending_buf,Me.pending-ze,ze)),pt===0&&(Me.status=103)}else Me.status=103;if(Me.status===103&&(Me.gzhead.hcrc?(Me.pending+2>Me.pending_buf_size&&It(ge),Me.pending+2<=Me.pending_buf_size&&(Dt(Me,255&ge.adler),Dt(Me,ge.adler>>8&255),ge.adler=0,Me.status=Ae)):Me.status=Ae),Me.pending!==0){if(It(ge),ge.avail_out===0)return Me.last_flush=-1,y}else if(ge.avail_in===0&&$e(Ue)<=$e(Pe)&&Ue!==m)return St(ge,-5);if(Me.status===666&&ge.avail_in!==0)return St(ge,-5);if(ge.avail_in!==0||Me.lookahead!==0||Ue!==I&&Me.status!==666){var At=Me.strategy===2?(function(Tt,Lt){for(var Ht;;){if(Tt.lookahead===0&&(Ut(Tt),Tt.lookahead===0)){if(Lt===I)return Ee;break}if(Tt.match_length=0,Ht=l._tr_tally(Tt,0,Tt.window[Tt.strstart]),Tt.lookahead--,Tt.strstart++,Ht&&(ft(Tt,!1),Tt.strm.avail_out===0))return Ee}return Tt.insert=0,Lt===m?(ft(Tt,!0),Tt.strm.avail_out===0?Qe:qe):Tt.last_lit&&(ft(Tt,!1),Tt.strm.avail_out===0)?Ee:Ce})(Me,Ue):Me.strategy===3?(function(Tt,Lt){for(var Ht,ri,Xe,We,Mt=Tt.window;;){if(Tt.lookahead<=he){if(Ut(Tt),Tt.lookahead<=he&&Lt===I)return Ee;if(Tt.lookahead===0)break}if(Tt.match_length=0,Tt.lookahead>=se&&0<Tt.strstart&&(ri=Mt[Xe=Tt.strstart-1])===Mt[++Xe]&&ri===Mt[++Xe]&&ri===Mt[++Xe]){We=Tt.strstart+he;do;while(ri===Mt[++Xe]&&ri===Mt[++Xe]&&ri===Mt[++Xe]&&ri===Mt[++Xe]&&ri===Mt[++Xe]&&ri===Mt[++Xe]&&ri===Mt[++Xe]&&ri===Mt[++Xe]&&Xe<We);Tt.match_length=he-(We-Xe),Tt.match_length>Tt.lookahead&&(Tt.match_length=Tt.lookahead)}if(Tt.match_length>=se?(Ht=l._tr_tally(Tt,1,Tt.match_length-se),Tt.lookahead-=Tt.match_length,Tt.strstart+=Tt.match_length,Tt.match_length=0):(Ht=l._tr_tally(Tt,0,Tt.window[Tt.strstart]),Tt.lookahead--,Tt.strstart++),Ht&&(ft(Tt,!1),Tt.strm.avail_out===0))return Ee}return Tt.insert=0,Lt===m?(ft(Tt,!0),Tt.strm.avail_out===0?Qe:qe):Tt.last_lit&&(ft(Tt,!1),Tt.strm.avail_out===0)?Ee:Ce})(Me,Ue):o[Me.level].func(Me,Ue);if(At!==Qe&&At!==qe||(Me.status=666),At===Ee||At===Qe)return ge.avail_out===0&&(Me.last_flush=-1),y;if(At===Ce&&(Ue===1?l._tr_align(Me):Ue!==5&&(l._tr_stored_block(Me,0,0,!1),Ue===3&&(ke(Me.head),Me.lookahead===0&&(Me.strstart=0,Me.block_start=0,Me.insert=0))),It(ge),ge.avail_out===0))return Me.last_flush=-1,y}return Ue!==m?y:Me.wrap<=0?1:(Me.wrap===2?(Dt(Me,255&ge.adler),Dt(Me,ge.adler>>8&255),Dt(Me,ge.adler>>16&255),Dt(Me,ge.adler>>24&255),Dt(Me,255&ge.total_in),Dt(Me,ge.total_in>>8&255),Dt(Me,ge.total_in>>16&255),Dt(Me,ge.total_in>>24&255)):(Zt(Me,ge.adler>>>16),Zt(Me,65535&ge.adler)),It(ge),0<Me.wrap&&(Me.wrap=-Me.wrap),Me.pending!==0?y:1)},s.deflateEnd=function(ge){var Ue;return ge&&ge.state?(Ue=ge.state.status)!==ee&&Ue!==69&&Ue!==73&&Ue!==91&&Ue!==103&&Ue!==Ae&&Ue!==666?St(ge,T):(ge.state=null,Ue===Ae?St(ge,-3):y):T},s.deflateSetDictionary=function(ge,Ue){var Pe,Me,ze,pt,He,At,Tt,Lt,Ht=Ue.length;if(!ge||!ge.state||(pt=(Pe=ge.state).wrap)===2||pt===1&&Pe.status!==ee||Pe.lookahead)return T;for(pt===1&&(ge.adler=d(ge.adler,Ue,Ht,0)),Pe.wrap=0,Ht>=Pe.w_size&&(pt===0&&(ke(Pe.head),Pe.strstart=0,Pe.block_start=0,Pe.insert=0),Lt=new r.Buf8(Pe.w_size),r.arraySet(Lt,Ue,Ht-Pe.w_size,Pe.w_size,0),Ue=Lt,Ht=Pe.w_size),He=ge.avail_in,At=ge.next_in,Tt=ge.input,ge.avail_in=Ht,ge.next_in=0,ge.input=Ue,Ut(Pe);Pe.lookahead>=se;){for(Me=Pe.strstart,ze=Pe.lookahead-(se-1);Pe.ins_h=(Pe.ins_h<<Pe.hash_shift^Pe.window[Me+se-1])&Pe.hash_mask,Pe.prev[Me&Pe.w_mask]=Pe.head[Pe.ins_h],Pe.head[Pe.ins_h]=Me,Me++,--ze;);Pe.strstart=Me,Pe.lookahead=se-1,Ut(Pe)}return Pe.strstart+=Pe.lookahead,Pe.block_start=Pe.strstart,Pe.insert=Pe.lookahead,Pe.lookahead=0,Pe.match_length=Pe.prev_length=se-1,Pe.match_available=0,ge.next_in=At,ge.input=Tt,ge.avail_in=He,Pe.wrap=pt,y},s.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(i,n,s){n.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(i,n,s){n.exports=function(o,r){var l,d,h,p,I,m,y,T,R,b,A,O,P,U,Z,ne,K,oe,se,he,Re,ee,Ae,Ee,Ce;l=o.state,d=o.next_in,Ee=o.input,h=d+(o.avail_in-5),p=o.next_out,Ce=o.output,I=p-(r-o.avail_out),m=p+(o.avail_out-257),y=l.dmax,T=l.wsize,R=l.whave,b=l.wnext,A=l.window,O=l.hold,P=l.bits,U=l.lencode,Z=l.distcode,ne=(1<<l.lenbits)-1,K=(1<<l.distbits)-1;e:do{P<15&&(O+=Ee[d++]<<P,P+=8,O+=Ee[d++]<<P,P+=8),oe=U[O&ne];t:for(;;){if(O>>>=se=oe>>>24,P-=se,(se=oe>>>16&255)===0)Ce[p++]=65535&oe;else{if(!(16&se)){if((64&se)==0){oe=U[(65535&oe)+(O&(1<<se)-1)];continue t}if(32&se){l.mode=12;break e}o.msg="invalid literal/length code",l.mode=30;break e}he=65535&oe,(se&=15)&&(P<se&&(O+=Ee[d++]<<P,P+=8),he+=O&(1<<se)-1,O>>>=se,P-=se),P<15&&(O+=Ee[d++]<<P,P+=8,O+=Ee[d++]<<P,P+=8),oe=Z[O&K];i:for(;;){if(O>>>=se=oe>>>24,P-=se,!(16&(se=oe>>>16&255))){if((64&se)==0){oe=Z[(65535&oe)+(O&(1<<se)-1)];continue i}o.msg="invalid distance code",l.mode=30;break e}if(Re=65535&oe,P<(se&=15)&&(O+=Ee[d++]<<P,(P+=8)<se&&(O+=Ee[d++]<<P,P+=8)),y<(Re+=O&(1<<se)-1)){o.msg="invalid distance too far back",l.mode=30;break e}if(O>>>=se,P-=se,(se=p-I)<Re){if(R<(se=Re-se)&&l.sane){o.msg="invalid distance too far back",l.mode=30;break e}if(Ae=A,(ee=0)===b){if(ee+=T-se,se<he){for(he-=se;Ce[p++]=A[ee++],--se;);ee=p-Re,Ae=Ce}}else if(b<se){if(ee+=T+b-se,(se-=b)<he){for(he-=se;Ce[p++]=A[ee++],--se;);if(ee=0,b<he){for(he-=se=b;Ce[p++]=A[ee++],--se;);ee=p-Re,Ae=Ce}}}else if(ee+=b-se,se<he){for(he-=se;Ce[p++]=A[ee++],--se;);ee=p-Re,Ae=Ce}for(;2<he;)Ce[p++]=Ae[ee++],Ce[p++]=Ae[ee++],Ce[p++]=Ae[ee++],he-=3;he&&(Ce[p++]=Ae[ee++],1<he&&(Ce[p++]=Ae[ee++]))}else{for(ee=p-Re;Ce[p++]=Ce[ee++],Ce[p++]=Ce[ee++],Ce[p++]=Ce[ee++],2<(he-=3););he&&(Ce[p++]=Ce[ee++],1<he&&(Ce[p++]=Ce[ee++]))}break}}break}}while(d<h&&p<m);d-=he=P>>3,O&=(1<<(P-=he<<3))-1,o.next_in=d,o.next_out=p,o.avail_in=d<h?h-d+5:5-(d-h),o.avail_out=p<m?m-p+257:257-(p-m),l.hold=O,l.bits=P}},{}],49:[function(i,n,s){var o=i("../utils/common"),r=i("./adler32"),l=i("./crc32"),d=i("./inffast"),h=i("./inftrees"),p=1,I=2,m=0,y=-2,T=1,R=852,b=592;function A(ee){return(ee>>>24&255)+(ee>>>8&65280)+((65280&ee)<<8)+((255&ee)<<24)}function O(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new o.Buf16(320),this.work=new o.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function P(ee){var Ae;return ee&&ee.state?(Ae=ee.state,ee.total_in=ee.total_out=Ae.total=0,ee.msg="",Ae.wrap&&(ee.adler=1&Ae.wrap),Ae.mode=T,Ae.last=0,Ae.havedict=0,Ae.dmax=32768,Ae.head=null,Ae.hold=0,Ae.bits=0,Ae.lencode=Ae.lendyn=new o.Buf32(R),Ae.distcode=Ae.distdyn=new o.Buf32(b),Ae.sane=1,Ae.back=-1,m):y}function U(ee){var Ae;return ee&&ee.state?((Ae=ee.state).wsize=0,Ae.whave=0,Ae.wnext=0,P(ee)):y}function Z(ee,Ae){var Ee,Ce;return ee&&ee.state?(Ce=ee.state,Ae<0?(Ee=0,Ae=-Ae):(Ee=1+(Ae>>4),Ae<48&&(Ae&=15)),Ae&&(Ae<8||15<Ae)?y:(Ce.window!==null&&Ce.wbits!==Ae&&(Ce.window=null),Ce.wrap=Ee,Ce.wbits=Ae,U(ee))):y}function ne(ee,Ae){var Ee,Ce;return ee?(Ce=new O,(ee.state=Ce).window=null,(Ee=Z(ee,Ae))!==m&&(ee.state=null),Ee):y}var K,oe,se=!0;function he(ee){if(se){var Ae;for(K=new o.Buf32(512),oe=new o.Buf32(32),Ae=0;Ae<144;)ee.lens[Ae++]=8;for(;Ae<256;)ee.lens[Ae++]=9;for(;Ae<280;)ee.lens[Ae++]=7;for(;Ae<288;)ee.lens[Ae++]=8;for(h(p,ee.lens,0,288,K,0,ee.work,{bits:9}),Ae=0;Ae<32;)ee.lens[Ae++]=5;h(I,ee.lens,0,32,oe,0,ee.work,{bits:5}),se=!1}ee.lencode=K,ee.lenbits=9,ee.distcode=oe,ee.distbits=5}function Re(ee,Ae,Ee,Ce){var Qe,qe=ee.state;return qe.window===null&&(qe.wsize=1<<qe.wbits,qe.wnext=0,qe.whave=0,qe.window=new o.Buf8(qe.wsize)),Ce>=qe.wsize?(o.arraySet(qe.window,Ae,Ee-qe.wsize,qe.wsize,0),qe.wnext=0,qe.whave=qe.wsize):(Ce<(Qe=qe.wsize-qe.wnext)&&(Qe=Ce),o.arraySet(qe.window,Ae,Ee-Ce,Qe,qe.wnext),(Ce-=Qe)?(o.arraySet(qe.window,Ae,Ee-Ce,Ce,0),qe.wnext=Ce,qe.whave=qe.wsize):(qe.wnext+=Qe,qe.wnext===qe.wsize&&(qe.wnext=0),qe.whave<qe.wsize&&(qe.whave+=Qe))),0}s.inflateReset=U,s.inflateReset2=Z,s.inflateResetKeep=P,s.inflateInit=function(ee){return ne(ee,15)},s.inflateInit2=ne,s.inflate=function(ee,Ae){var Ee,Ce,Qe,qe,St,$e,ke,It,ft,Dt,Zt,Ct,Ut,ii,Vt,Kt,ui,jt,Oe,Ft,ge,Ue,Pe,Me,ze=0,pt=new o.Buf8(4),He=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!ee||!ee.state||!ee.output||!ee.input&&ee.avail_in!==0)return y;(Ee=ee.state).mode===12&&(Ee.mode=13),St=ee.next_out,Qe=ee.output,ke=ee.avail_out,qe=ee.next_in,Ce=ee.input,$e=ee.avail_in,It=Ee.hold,ft=Ee.bits,Dt=$e,Zt=ke,Ue=m;e:for(;;)switch(Ee.mode){case T:if(Ee.wrap===0){Ee.mode=13;break}for(;ft<16;){if($e===0)break e;$e--,It+=Ce[qe++]<<ft,ft+=8}if(2&Ee.wrap&&It===35615){pt[Ee.check=0]=255&It,pt[1]=It>>>8&255,Ee.check=l(Ee.check,pt,2,0),ft=It=0,Ee.mode=2;break}if(Ee.flags=0,Ee.head&&(Ee.head.done=!1),!(1&Ee.wrap)||(((255&It)<<8)+(It>>8))%31){ee.msg="incorrect header check",Ee.mode=30;break}if((15&It)!=8){ee.msg="unknown compression method",Ee.mode=30;break}if(ft-=4,ge=8+(15&(It>>>=4)),Ee.wbits===0)Ee.wbits=ge;else if(ge>Ee.wbits){ee.msg="invalid window size",Ee.mode=30;break}Ee.dmax=1<<ge,ee.adler=Ee.check=1,Ee.mode=512&It?10:12,ft=It=0;break;case 2:for(;ft<16;){if($e===0)break e;$e--,It+=Ce[qe++]<<ft,ft+=8}if(Ee.flags=It,(255&Ee.flags)!=8){ee.msg="unknown compression method",Ee.mode=30;break}if(57344&Ee.flags){ee.msg="unknown header flags set",Ee.mode=30;break}Ee.head&&(Ee.head.text=It>>8&1),512&Ee.flags&&(pt[0]=255&It,pt[1]=It>>>8&255,Ee.check=l(Ee.check,pt,2,0)),ft=It=0,Ee.mode=3;case 3:for(;ft<32;){if($e===0)break e;$e--,It+=Ce[qe++]<<ft,ft+=8}Ee.head&&(Ee.head.time=It),512&Ee.flags&&(pt[0]=255&It,pt[1]=It>>>8&255,pt[2]=It>>>16&255,pt[3]=It>>>24&255,Ee.check=l(Ee.check,pt,4,0)),ft=It=0,Ee.mode=4;case 4:for(;ft<16;){if($e===0)break e;$e--,It+=Ce[qe++]<<ft,ft+=8}Ee.head&&(Ee.head.xflags=255&It,Ee.head.os=It>>8),512&Ee.flags&&(pt[0]=255&It,pt[1]=It>>>8&255,Ee.check=l(Ee.check,pt,2,0)),ft=It=0,Ee.mode=5;case 5:if(1024&Ee.flags){for(;ft<16;){if($e===0)break e;$e--,It+=Ce[qe++]<<ft,ft+=8}Ee.length=It,Ee.head&&(Ee.head.extra_len=It),512&Ee.flags&&(pt[0]=255&It,pt[1]=It>>>8&255,Ee.check=l(Ee.check,pt,2,0)),ft=It=0}else Ee.head&&(Ee.head.extra=null);Ee.mode=6;case 6:if(1024&Ee.flags&&($e<(Ct=Ee.length)&&(Ct=$e),Ct&&(Ee.head&&(ge=Ee.head.extra_len-Ee.length,Ee.head.extra||(Ee.head.extra=new Array(Ee.head.extra_len)),o.arraySet(Ee.head.extra,Ce,qe,Ct,ge)),512&Ee.flags&&(Ee.check=l(Ee.check,Ce,Ct,qe)),$e-=Ct,qe+=Ct,Ee.length-=Ct),Ee.length))break e;Ee.length=0,Ee.mode=7;case 7:if(2048&Ee.flags){if($e===0)break e;for(Ct=0;ge=Ce[qe+Ct++],Ee.head&&ge&&Ee.length<65536&&(Ee.head.name+=String.fromCharCode(ge)),ge&&Ct<$e;);if(512&Ee.flags&&(Ee.check=l(Ee.check,Ce,Ct,qe)),$e-=Ct,qe+=Ct,ge)break e}else Ee.head&&(Ee.head.name=null);Ee.length=0,Ee.mode=8;case 8:if(4096&Ee.flags){if($e===0)break e;for(Ct=0;ge=Ce[qe+Ct++],Ee.head&&ge&&Ee.length<65536&&(Ee.head.comment+=String.fromCharCode(ge)),ge&&Ct<$e;);if(512&Ee.flags&&(Ee.check=l(Ee.check,Ce,Ct,qe)),$e-=Ct,qe+=Ct,ge)break e}else Ee.head&&(Ee.head.comment=null);Ee.mode=9;case 9:if(512&Ee.flags){for(;ft<16;){if($e===0)break e;$e--,It+=Ce[qe++]<<ft,ft+=8}if(It!==(65535&Ee.check)){ee.msg="header crc mismatch",Ee.mode=30;break}ft=It=0}Ee.head&&(Ee.head.hcrc=Ee.flags>>9&1,Ee.head.done=!0),ee.adler=Ee.check=0,Ee.mode=12;break;case 10:for(;ft<32;){if($e===0)break e;$e--,It+=Ce[qe++]<<ft,ft+=8}ee.adler=Ee.check=A(It),ft=It=0,Ee.mode=11;case 11:if(Ee.havedict===0)return ee.next_out=St,ee.avail_out=ke,ee.next_in=qe,ee.avail_in=$e,Ee.hold=It,Ee.bits=ft,2;ee.adler=Ee.check=1,Ee.mode=12;case 12:if(Ae===5||Ae===6)break e;case 13:if(Ee.last){It>>>=7&ft,ft-=7&ft,Ee.mode=27;break}for(;ft<3;){if($e===0)break e;$e--,It+=Ce[qe++]<<ft,ft+=8}switch(Ee.last=1&It,ft-=1,3&(It>>>=1)){case 0:Ee.mode=14;break;case 1:if(he(Ee),Ee.mode=20,Ae!==6)break;It>>>=2,ft-=2;break e;case 2:Ee.mode=17;break;case 3:ee.msg="invalid block type",Ee.mode=30}It>>>=2,ft-=2;break;case 14:for(It>>>=7&ft,ft-=7&ft;ft<32;){if($e===0)break e;$e--,It+=Ce[qe++]<<ft,ft+=8}if((65535&It)!=(It>>>16^65535)){ee.msg="invalid stored block lengths",Ee.mode=30;break}if(Ee.length=65535&It,ft=It=0,Ee.mode=15,Ae===6)break e;case 15:Ee.mode=16;case 16:if(Ct=Ee.length){if($e<Ct&&(Ct=$e),ke<Ct&&(Ct=ke),Ct===0)break e;o.arraySet(Qe,Ce,qe,Ct,St),$e-=Ct,qe+=Ct,ke-=Ct,St+=Ct,Ee.length-=Ct;break}Ee.mode=12;break;case 17:for(;ft<14;){if($e===0)break e;$e--,It+=Ce[qe++]<<ft,ft+=8}if(Ee.nlen=257+(31&It),It>>>=5,ft-=5,Ee.ndist=1+(31&It),It>>>=5,ft-=5,Ee.ncode=4+(15&It),It>>>=4,ft-=4,286<Ee.nlen||30<Ee.ndist){ee.msg="too many length or distance symbols",Ee.mode=30;break}Ee.have=0,Ee.mode=18;case 18:for(;Ee.have<Ee.ncode;){for(;ft<3;){if($e===0)break e;$e--,It+=Ce[qe++]<<ft,ft+=8}Ee.lens[He[Ee.have++]]=7&It,It>>>=3,ft-=3}for(;Ee.have<19;)Ee.lens[He[Ee.have++]]=0;if(Ee.lencode=Ee.lendyn,Ee.lenbits=7,Pe={bits:Ee.lenbits},Ue=h(0,Ee.lens,0,19,Ee.lencode,0,Ee.work,Pe),Ee.lenbits=Pe.bits,Ue){ee.msg="invalid code lengths set",Ee.mode=30;break}Ee.have=0,Ee.mode=19;case 19:for(;Ee.have<Ee.nlen+Ee.ndist;){for(;Kt=(ze=Ee.lencode[It&(1<<Ee.lenbits)-1])>>>16&255,ui=65535&ze,!((Vt=ze>>>24)<=ft);){if($e===0)break e;$e--,It+=Ce[qe++]<<ft,ft+=8}if(ui<16)It>>>=Vt,ft-=Vt,Ee.lens[Ee.have++]=ui;else{if(ui===16){for(Me=Vt+2;ft<Me;){if($e===0)break e;$e--,It+=Ce[qe++]<<ft,ft+=8}if(It>>>=Vt,ft-=Vt,Ee.have===0){ee.msg="invalid bit length repeat",Ee.mode=30;break}ge=Ee.lens[Ee.have-1],Ct=3+(3&It),It>>>=2,ft-=2}else if(ui===17){for(Me=Vt+3;ft<Me;){if($e===0)break e;$e--,It+=Ce[qe++]<<ft,ft+=8}ft-=Vt,ge=0,Ct=3+(7&(It>>>=Vt)),It>>>=3,ft-=3}else{for(Me=Vt+7;ft<Me;){if($e===0)break e;$e--,It+=Ce[qe++]<<ft,ft+=8}ft-=Vt,ge=0,Ct=11+(127&(It>>>=Vt)),It>>>=7,ft-=7}if(Ee.have+Ct>Ee.nlen+Ee.ndist){ee.msg="invalid bit length repeat",Ee.mode=30;break}for(;Ct--;)Ee.lens[Ee.have++]=ge}}if(Ee.mode===30)break;if(Ee.lens[256]===0){ee.msg="invalid code -- missing end-of-block",Ee.mode=30;break}if(Ee.lenbits=9,Pe={bits:Ee.lenbits},Ue=h(p,Ee.lens,0,Ee.nlen,Ee.lencode,0,Ee.work,Pe),Ee.lenbits=Pe.bits,Ue){ee.msg="invalid literal/lengths set",Ee.mode=30;break}if(Ee.distbits=6,Ee.distcode=Ee.distdyn,Pe={bits:Ee.distbits},Ue=h(I,Ee.lens,Ee.nlen,Ee.ndist,Ee.distcode,0,Ee.work,Pe),Ee.distbits=Pe.bits,Ue){ee.msg="invalid distances set",Ee.mode=30;break}if(Ee.mode=20,Ae===6)break e;case 20:Ee.mode=21;case 21:if(6<=$e&&258<=ke){ee.next_out=St,ee.avail_out=ke,ee.next_in=qe,ee.avail_in=$e,Ee.hold=It,Ee.bits=ft,d(ee,Zt),St=ee.next_out,Qe=ee.output,ke=ee.avail_out,qe=ee.next_in,Ce=ee.input,$e=ee.avail_in,It=Ee.hold,ft=Ee.bits,Ee.mode===12&&(Ee.back=-1);break}for(Ee.back=0;Kt=(ze=Ee.lencode[It&(1<<Ee.lenbits)-1])>>>16&255,ui=65535&ze,!((Vt=ze>>>24)<=ft);){if($e===0)break e;$e--,It+=Ce[qe++]<<ft,ft+=8}if(Kt&&(240&Kt)==0){for(jt=Vt,Oe=Kt,Ft=ui;Kt=(ze=Ee.lencode[Ft+((It&(1<<jt+Oe)-1)>>jt)])>>>16&255,ui=65535&ze,!(jt+(Vt=ze>>>24)<=ft);){if($e===0)break e;$e--,It+=Ce[qe++]<<ft,ft+=8}It>>>=jt,ft-=jt,Ee.back+=jt}if(It>>>=Vt,ft-=Vt,Ee.back+=Vt,Ee.length=ui,Kt===0){Ee.mode=26;break}if(32&Kt){Ee.back=-1,Ee.mode=12;break}if(64&Kt){ee.msg="invalid literal/length code",Ee.mode=30;break}Ee.extra=15&Kt,Ee.mode=22;case 22:if(Ee.extra){for(Me=Ee.extra;ft<Me;){if($e===0)break e;$e--,It+=Ce[qe++]<<ft,ft+=8}Ee.length+=It&(1<<Ee.extra)-1,It>>>=Ee.extra,ft-=Ee.extra,Ee.back+=Ee.extra}Ee.was=Ee.length,Ee.mode=23;case 23:for(;Kt=(ze=Ee.distcode[It&(1<<Ee.distbits)-1])>>>16&255,ui=65535&ze,!((Vt=ze>>>24)<=ft);){if($e===0)break e;$e--,It+=Ce[qe++]<<ft,ft+=8}if((240&Kt)==0){for(jt=Vt,Oe=Kt,Ft=ui;Kt=(ze=Ee.distcode[Ft+((It&(1<<jt+Oe)-1)>>jt)])>>>16&255,ui=65535&ze,!(jt+(Vt=ze>>>24)<=ft);){if($e===0)break e;$e--,It+=Ce[qe++]<<ft,ft+=8}It>>>=jt,ft-=jt,Ee.back+=jt}if(It>>>=Vt,ft-=Vt,Ee.back+=Vt,64&Kt){ee.msg="invalid distance code",Ee.mode=30;break}Ee.offset=ui,Ee.extra=15&Kt,Ee.mode=24;case 24:if(Ee.extra){for(Me=Ee.extra;ft<Me;){if($e===0)break e;$e--,It+=Ce[qe++]<<ft,ft+=8}Ee.offset+=It&(1<<Ee.extra)-1,It>>>=Ee.extra,ft-=Ee.extra,Ee.back+=Ee.extra}if(Ee.offset>Ee.dmax){ee.msg="invalid distance too far back",Ee.mode=30;break}Ee.mode=25;case 25:if(ke===0)break e;if(Ct=Zt-ke,Ee.offset>Ct){if((Ct=Ee.offset-Ct)>Ee.whave&&Ee.sane){ee.msg="invalid distance too far back",Ee.mode=30;break}Ut=Ct>Ee.wnext?(Ct-=Ee.wnext,Ee.wsize-Ct):Ee.wnext-Ct,Ct>Ee.length&&(Ct=Ee.length),ii=Ee.window}else ii=Qe,Ut=St-Ee.offset,Ct=Ee.length;for(ke<Ct&&(Ct=ke),ke-=Ct,Ee.length-=Ct;Qe[St++]=ii[Ut++],--Ct;);Ee.length===0&&(Ee.mode=21);break;case 26:if(ke===0)break e;Qe[St++]=Ee.length,ke--,Ee.mode=21;break;case 27:if(Ee.wrap){for(;ft<32;){if($e===0)break e;$e--,It|=Ce[qe++]<<ft,ft+=8}if(Zt-=ke,ee.total_out+=Zt,Ee.total+=Zt,Zt&&(ee.adler=Ee.check=Ee.flags?l(Ee.check,Qe,Zt,St-Zt):r(Ee.check,Qe,Zt,St-Zt)),Zt=ke,(Ee.flags?It:A(It))!==Ee.check){ee.msg="incorrect data check",Ee.mode=30;break}ft=It=0}Ee.mode=28;case 28:if(Ee.wrap&&Ee.flags){for(;ft<32;){if($e===0)break e;$e--,It+=Ce[qe++]<<ft,ft+=8}if(It!==(4294967295&Ee.total)){ee.msg="incorrect length check",Ee.mode=30;break}ft=It=0}Ee.mode=29;case 29:Ue=1;break e;case 30:Ue=-3;break e;case 31:return-4;case 32:default:return y}return ee.next_out=St,ee.avail_out=ke,ee.next_in=qe,ee.avail_in=$e,Ee.hold=It,Ee.bits=ft,(Ee.wsize||Zt!==ee.avail_out&&Ee.mode<30&&(Ee.mode<27||Ae!==4))&&Re(ee,ee.output,ee.next_out,Zt-ee.avail_out)?(Ee.mode=31,-4):(Dt-=ee.avail_in,Zt-=ee.avail_out,ee.total_in+=Dt,ee.total_out+=Zt,Ee.total+=Zt,Ee.wrap&&Zt&&(ee.adler=Ee.check=Ee.flags?l(Ee.check,Qe,Zt,ee.next_out-Zt):r(Ee.check,Qe,Zt,ee.next_out-Zt)),ee.data_type=Ee.bits+(Ee.last?64:0)+(Ee.mode===12?128:0)+(Ee.mode===20||Ee.mode===15?256:0),(Dt==0&&Zt===0||Ae===4)&&Ue===m&&(Ue=-5),Ue)},s.inflateEnd=function(ee){if(!ee||!ee.state)return y;var Ae=ee.state;return Ae.window&&(Ae.window=null),ee.state=null,m},s.inflateGetHeader=function(ee,Ae){var Ee;return ee&&ee.state?(2&(Ee=ee.state).wrap)==0?y:((Ee.head=Ae).done=!1,m):y},s.inflateSetDictionary=function(ee,Ae){var Ee,Ce=Ae.length;return ee&&ee.state?(Ee=ee.state).wrap!==0&&Ee.mode!==11?y:Ee.mode===11&&r(1,Ae,Ce,0)!==Ee.check?-3:Re(ee,Ae,Ce,Ce)?(Ee.mode=31,-4):(Ee.havedict=1,m):y},s.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(i,n,s){var o=i("../utils/common"),r=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],l=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],d=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],h=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];n.exports=function(p,I,m,y,T,R,b,A){var O,P,U,Z,ne,K,oe,se,he,Re=A.bits,ee=0,Ae=0,Ee=0,Ce=0,Qe=0,qe=0,St=0,$e=0,ke=0,It=0,ft=null,Dt=0,Zt=new o.Buf16(16),Ct=new o.Buf16(16),Ut=null,ii=0;for(ee=0;ee<=15;ee++)Zt[ee]=0;for(Ae=0;Ae<y;Ae++)Zt[I[m+Ae]]++;for(Qe=Re,Ce=15;1<=Ce&&Zt[Ce]===0;Ce--);if(Ce<Qe&&(Qe=Ce),Ce===0)return T[R++]=20971520,T[R++]=20971520,A.bits=1,0;for(Ee=1;Ee<Ce&&Zt[Ee]===0;Ee++);for(Qe<Ee&&(Qe=Ee),ee=$e=1;ee<=15;ee++)if($e<<=1,($e-=Zt[ee])<0)return-1;if(0<$e&&(p===0||Ce!==1))return-1;for(Ct[1]=0,ee=1;ee<15;ee++)Ct[ee+1]=Ct[ee]+Zt[ee];for(Ae=0;Ae<y;Ae++)I[m+Ae]!==0&&(b[Ct[I[m+Ae]]++]=Ae);if(K=p===0?(ft=Ut=b,19):p===1?(ft=r,Dt-=257,Ut=l,ii-=257,256):(ft=d,Ut=h,-1),ee=Ee,ne=R,St=Ae=It=0,U=-1,Z=(ke=1<<(qe=Qe))-1,p===1&&852<ke||p===2&&592<ke)return 1;for(;;){for(oe=ee-St,he=b[Ae]<K?(se=0,b[Ae]):b[Ae]>K?(se=Ut[ii+b[Ae]],ft[Dt+b[Ae]]):(se=96,0),O=1<<ee-St,Ee=P=1<<qe;T[ne+(It>>St)+(P-=O)]=oe<<24|se<<16|he|0,P!==0;);for(O=1<<ee-1;It&O;)O>>=1;if(O!==0?(It&=O-1,It+=O):It=0,Ae++,--Zt[ee]==0){if(ee===Ce)break;ee=I[m+b[Ae]]}if(Qe<ee&&(It&Z)!==U){for(St===0&&(St=Qe),ne+=Ee,$e=1<<(qe=ee-St);qe+St<Ce&&!(($e-=Zt[qe+St])<=0);)qe++,$e<<=1;if(ke+=1<<qe,p===1&&852<ke||p===2&&592<ke)return 1;T[U=It&Z]=Qe<<24|qe<<16|ne-R|0}}return It!==0&&(T[ne+It]=ee-St<<24|64<<16|0),A.bits=Qe,0}},{"../utils/common":41}],51:[function(i,n,s){n.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(i,n,s){var o=i("../utils/common"),r=0,l=1;function d(ze){for(var pt=ze.length;0<=--pt;)ze[pt]=0}var h=0,p=29,I=256,m=I+1+p,y=30,T=19,R=2*m+1,b=15,A=16,O=7,P=256,U=16,Z=17,ne=18,K=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],oe=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],se=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],he=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Re=new Array(2*(m+2));d(Re);var ee=new Array(2*y);d(ee);var Ae=new Array(512);d(Ae);var Ee=new Array(256);d(Ee);var Ce=new Array(p);d(Ce);var Qe,qe,St,$e=new Array(y);function ke(ze,pt,He,At,Tt){this.static_tree=ze,this.extra_bits=pt,this.extra_base=He,this.elems=At,this.max_length=Tt,this.has_stree=ze&&ze.length}function It(ze,pt){this.dyn_tree=ze,this.max_code=0,this.stat_desc=pt}function ft(ze){return ze<256?Ae[ze]:Ae[256+(ze>>>7)]}function Dt(ze,pt){ze.pending_buf[ze.pending++]=255&pt,ze.pending_buf[ze.pending++]=pt>>>8&255}function Zt(ze,pt,He){ze.bi_valid>A-He?(ze.bi_buf|=pt<<ze.bi_valid&65535,Dt(ze,ze.bi_buf),ze.bi_buf=pt>>A-ze.bi_valid,ze.bi_valid+=He-A):(ze.bi_buf|=pt<<ze.bi_valid&65535,ze.bi_valid+=He)}function Ct(ze,pt,He){Zt(ze,He[2*pt],He[2*pt+1])}function Ut(ze,pt){for(var He=0;He|=1&ze,ze>>>=1,He<<=1,0<--pt;);return He>>>1}function ii(ze,pt,He){var At,Tt,Lt=new Array(b+1),Ht=0;for(At=1;At<=b;At++)Lt[At]=Ht=Ht+He[At-1]<<1;for(Tt=0;Tt<=pt;Tt++){var ri=ze[2*Tt+1];ri!==0&&(ze[2*Tt]=Ut(Lt[ri]++,ri))}}function Vt(ze){var pt;for(pt=0;pt<m;pt++)ze.dyn_ltree[2*pt]=0;for(pt=0;pt<y;pt++)ze.dyn_dtree[2*pt]=0;for(pt=0;pt<T;pt++)ze.bl_tree[2*pt]=0;ze.dyn_ltree[2*P]=1,ze.opt_len=ze.static_len=0,ze.last_lit=ze.matches=0}function Kt(ze){8<ze.bi_valid?Dt(ze,ze.bi_buf):0<ze.bi_valid&&(ze.pending_buf[ze.pending++]=ze.bi_buf),ze.bi_buf=0,ze.bi_valid=0}function ui(ze,pt,He,At){var Tt=2*pt,Lt=2*He;return ze[Tt]<ze[Lt]||ze[Tt]===ze[Lt]&&At[pt]<=At[He]}function jt(ze,pt,He){for(var At=ze.heap[He],Tt=He<<1;Tt<=ze.heap_len&&(Tt<ze.heap_len&&ui(pt,ze.heap[Tt+1],ze.heap[Tt],ze.depth)&&Tt++,!ui(pt,At,ze.heap[Tt],ze.depth));)ze.heap[He]=ze.heap[Tt],He=Tt,Tt<<=1;ze.heap[He]=At}function Oe(ze,pt,He){var At,Tt,Lt,Ht,ri=0;if(ze.last_lit!==0)for(;At=ze.pending_buf[ze.d_buf+2*ri]<<8|ze.pending_buf[ze.d_buf+2*ri+1],Tt=ze.pending_buf[ze.l_buf+ri],ri++,At===0?Ct(ze,Tt,pt):(Ct(ze,(Lt=Ee[Tt])+I+1,pt),(Ht=K[Lt])!==0&&Zt(ze,Tt-=Ce[Lt],Ht),Ct(ze,Lt=ft(--At),He),(Ht=oe[Lt])!==0&&Zt(ze,At-=$e[Lt],Ht)),ri<ze.last_lit;);Ct(ze,P,pt)}function Ft(ze,pt){var He,At,Tt,Lt=pt.dyn_tree,Ht=pt.stat_desc.static_tree,ri=pt.stat_desc.has_stree,Xe=pt.stat_desc.elems,We=-1;for(ze.heap_len=0,ze.heap_max=R,He=0;He<Xe;He++)Lt[2*He]!==0?(ze.heap[++ze.heap_len]=We=He,ze.depth[He]=0):Lt[2*He+1]=0;for(;ze.heap_len<2;)Lt[2*(Tt=ze.heap[++ze.heap_len]=We<2?++We:0)]=1,ze.depth[Tt]=0,ze.opt_len--,ri&&(ze.static_len-=Ht[2*Tt+1]);for(pt.max_code=We,He=ze.heap_len>>1;1<=He;He--)jt(ze,Lt,He);for(Tt=Xe;He=ze.heap[1],ze.heap[1]=ze.heap[ze.heap_len--],jt(ze,Lt,1),At=ze.heap[1],ze.heap[--ze.heap_max]=He,ze.heap[--ze.heap_max]=At,Lt[2*Tt]=Lt[2*He]+Lt[2*At],ze.depth[Tt]=(ze.depth[He]>=ze.depth[At]?ze.depth[He]:ze.depth[At])+1,Lt[2*He+1]=Lt[2*At+1]=Tt,ze.heap[1]=Tt++,jt(ze,Lt,1),2<=ze.heap_len;);ze.heap[--ze.heap_max]=ze.heap[1],(function(Mt,si){var gi,mi,bi,Qt,di,Wi,ki=si.dyn_tree,Pi=si.max_code,Di=si.stat_desc.static_tree,dn=si.stat_desc.has_stree,Ln=si.stat_desc.extra_bits,Zi=si.stat_desc.extra_base,kt=si.stat_desc.max_length,Gi=0;for(Qt=0;Qt<=b;Qt++)Mt.bl_count[Qt]=0;for(ki[2*Mt.heap[Mt.heap_max]+1]=0,gi=Mt.heap_max+1;gi<R;gi++)kt<(Qt=ki[2*ki[2*(mi=Mt.heap[gi])+1]+1]+1)&&(Qt=kt,Gi++),ki[2*mi+1]=Qt,Pi<mi||(Mt.bl_count[Qt]++,di=0,Zi<=mi&&(di=Ln[mi-Zi]),Wi=ki[2*mi],Mt.opt_len+=Wi*(Qt+di),dn&&(Mt.static_len+=Wi*(Di[2*mi+1]+di)));if(Gi!==0){do{for(Qt=kt-1;Mt.bl_count[Qt]===0;)Qt--;Mt.bl_count[Qt]--,Mt.bl_count[Qt+1]+=2,Mt.bl_count[kt]--,Gi-=2}while(0<Gi);for(Qt=kt;Qt!==0;Qt--)for(mi=Mt.bl_count[Qt];mi!==0;)Pi<(bi=Mt.heap[--gi])||(ki[2*bi+1]!==Qt&&(Mt.opt_len+=(Qt-ki[2*bi+1])*ki[2*bi],ki[2*bi+1]=Qt),mi--)}})(ze,pt),ii(Lt,We,ze.bl_count)}function ge(ze,pt,He){var At,Tt,Lt=-1,Ht=pt[1],ri=0,Xe=7,We=4;for(Ht===0&&(Xe=138,We=3),pt[2*(He+1)+1]=65535,At=0;At<=He;At++)Tt=Ht,Ht=pt[2*(At+1)+1],++ri<Xe&&Tt===Ht||(ri<We?ze.bl_tree[2*Tt]+=ri:Tt!==0?(Tt!==Lt&&ze.bl_tree[2*Tt]++,ze.bl_tree[2*U]++):ri<=10?ze.bl_tree[2*Z]++:ze.bl_tree[2*ne]++,Lt=Tt,We=(ri=0)===Ht?(Xe=138,3):Tt===Ht?(Xe=6,3):(Xe=7,4))}function Ue(ze,pt,He){var At,Tt,Lt=-1,Ht=pt[1],ri=0,Xe=7,We=4;for(Ht===0&&(Xe=138,We=3),At=0;At<=He;At++)if(Tt=Ht,Ht=pt[2*(At+1)+1],!(++ri<Xe&&Tt===Ht)){if(ri<We)for(;Ct(ze,Tt,ze.bl_tree),--ri!=0;);else Tt!==0?(Tt!==Lt&&(Ct(ze,Tt,ze.bl_tree),ri--),Ct(ze,U,ze.bl_tree),Zt(ze,ri-3,2)):ri<=10?(Ct(ze,Z,ze.bl_tree),Zt(ze,ri-3,3)):(Ct(ze,ne,ze.bl_tree),Zt(ze,ri-11,7));Lt=Tt,We=(ri=0)===Ht?(Xe=138,3):Tt===Ht?(Xe=6,3):(Xe=7,4)}}d($e);var Pe=!1;function Me(ze,pt,He,At){Zt(ze,(h<<1)+(At?1:0),3),(function(Tt,Lt,Ht,ri){Kt(Tt),Dt(Tt,Ht),Dt(Tt,~Ht),o.arraySet(Tt.pending_buf,Tt.window,Lt,Ht,Tt.pending),Tt.pending+=Ht})(ze,pt,He)}s._tr_init=function(ze){Pe||((function(){var pt,He,At,Tt,Lt,Ht=new Array(b+1);for(Tt=At=0;Tt<p-1;Tt++)for(Ce[Tt]=At,pt=0;pt<1<<K[Tt];pt++)Ee[At++]=Tt;for(Ee[At-1]=Tt,Tt=Lt=0;Tt<16;Tt++)for($e[Tt]=Lt,pt=0;pt<1<<oe[Tt];pt++)Ae[Lt++]=Tt;for(Lt>>=7;Tt<y;Tt++)for($e[Tt]=Lt<<7,pt=0;pt<1<<oe[Tt]-7;pt++)Ae[256+Lt++]=Tt;for(He=0;He<=b;He++)Ht[He]=0;for(pt=0;pt<=143;)Re[2*pt+1]=8,pt++,Ht[8]++;for(;pt<=255;)Re[2*pt+1]=9,pt++,Ht[9]++;for(;pt<=279;)Re[2*pt+1]=7,pt++,Ht[7]++;for(;pt<=287;)Re[2*pt+1]=8,pt++,Ht[8]++;for(ii(Re,m+1,Ht),pt=0;pt<y;pt++)ee[2*pt+1]=5,ee[2*pt]=Ut(pt,5);Qe=new ke(Re,K,I+1,m,b),qe=new ke(ee,oe,0,y,b),St=new ke(new Array(0),se,0,T,O)})(),Pe=!0),ze.l_desc=new It(ze.dyn_ltree,Qe),ze.d_desc=new It(ze.dyn_dtree,qe),ze.bl_desc=new It(ze.bl_tree,St),ze.bi_buf=0,ze.bi_valid=0,Vt(ze)},s._tr_stored_block=Me,s._tr_flush_block=function(ze,pt,He,At){var Tt,Lt,Ht=0;0<ze.level?(ze.strm.data_type===2&&(ze.strm.data_type=(function(ri){var Xe,We=4093624447;for(Xe=0;Xe<=31;Xe++,We>>>=1)if(1&We&&ri.dyn_ltree[2*Xe]!==0)return r;if(ri.dyn_ltree[18]!==0||ri.dyn_ltree[20]!==0||ri.dyn_ltree[26]!==0)return l;for(Xe=32;Xe<I;Xe++)if(ri.dyn_ltree[2*Xe]!==0)return l;return r})(ze)),Ft(ze,ze.l_desc),Ft(ze,ze.d_desc),Ht=(function(ri){var Xe;for(ge(ri,ri.dyn_ltree,ri.l_desc.max_code),ge(ri,ri.dyn_dtree,ri.d_desc.max_code),Ft(ri,ri.bl_desc),Xe=T-1;3<=Xe&&ri.bl_tree[2*he[Xe]+1]===0;Xe--);return ri.opt_len+=3*(Xe+1)+5+5+4,Xe})(ze),Tt=ze.opt_len+3+7>>>3,(Lt=ze.static_len+3+7>>>3)<=Tt&&(Tt=Lt)):Tt=Lt=He+5,He+4<=Tt&&pt!==-1?Me(ze,pt,He,At):ze.strategy===4||Lt===Tt?(Zt(ze,2+(At?1:0),3),Oe(ze,Re,ee)):(Zt(ze,4+(At?1:0),3),(function(ri,Xe,We,Mt){var si;for(Zt(ri,Xe-257,5),Zt(ri,We-1,5),Zt(ri,Mt-4,4),si=0;si<Mt;si++)Zt(ri,ri.bl_tree[2*he[si]+1],3);Ue(ri,ri.dyn_ltree,Xe-1),Ue(ri,ri.dyn_dtree,We-1)})(ze,ze.l_desc.max_code+1,ze.d_desc.max_code+1,Ht+1),Oe(ze,ze.dyn_ltree,ze.dyn_dtree)),Vt(ze),At&&Kt(ze)},s._tr_tally=function(ze,pt,He){return ze.pending_buf[ze.d_buf+2*ze.last_lit]=pt>>>8&255,ze.pending_buf[ze.d_buf+2*ze.last_lit+1]=255&pt,ze.pending_buf[ze.l_buf+ze.last_lit]=255&He,ze.last_lit++,pt===0?ze.dyn_ltree[2*He]++:(ze.matches++,pt--,ze.dyn_ltree[2*(Ee[He]+I+1)]++,ze.dyn_dtree[2*ft(pt)]++),ze.last_lit===ze.lit_bufsize-1},s._tr_align=function(ze){Zt(ze,2,3),Ct(ze,P,Re),(function(pt){pt.bi_valid===16?(Dt(pt,pt.bi_buf),pt.bi_buf=0,pt.bi_valid=0):8<=pt.bi_valid&&(pt.pending_buf[pt.pending++]=255&pt.bi_buf,pt.bi_buf>>=8,pt.bi_valid-=8)})(ze)}},{"../utils/common":41}],53:[function(i,n,s){n.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(i,n,s){(function(o){(function(r,l){if(!r.setImmediate){var d,h,p,I,m=1,y={},T=!1,R=r.document,b=Object.getPrototypeOf&&Object.getPrototypeOf(r);b=b&&b.setTimeout?b:r,d={}.toString.call(r.process)==="[object process]"?function(U){process.nextTick(function(){O(U)})}:(function(){if(r.postMessage&&!r.importScripts){var U=!0,Z=r.onmessage;return r.onmessage=function(){U=!1},r.postMessage("","*"),r.onmessage=Z,U}})()?(I="setImmediate$"+Math.random()+"$",r.addEventListener?r.addEventListener("message",P,!1):r.attachEvent("onmessage",P),function(U){r.postMessage(I+U,"*")}):r.MessageChannel?((p=new MessageChannel).port1.onmessage=function(U){O(U.data)},function(U){p.port2.postMessage(U)}):R&&"onreadystatechange"in R.createElement("script")?(h=R.documentElement,function(U){var Z=R.createElement("script");Z.onreadystatechange=function(){O(U),Z.onreadystatechange=null,h.removeChild(Z),Z=null},h.appendChild(Z)}):function(U){setTimeout(O,0,U)},b.setImmediate=function(U){typeof U!="function"&&(U=new Function(""+U));for(var Z=new Array(arguments.length-1),ne=0;ne<Z.length;ne++)Z[ne]=arguments[ne+1];var K={callback:U,args:Z};return y[m]=K,d(m),m++},b.clearImmediate=A}function A(U){delete y[U]}function O(U){if(T)setTimeout(O,0,U);else{var Z=y[U];if(Z){T=!0;try{(function(ne){var K=ne.callback,oe=ne.args;switch(oe.length){case 0:K();break;case 1:K(oe[0]);break;case 2:K(oe[0],oe[1]);break;case 3:K(oe[0],oe[1],oe[2]);break;default:K.apply(l,oe)}})(Z)}finally{A(U),T=!1}}}}function P(U){U.source===r&&typeof U.data=="string"&&U.data.indexOf(I)===0&&O(+U.data.slice(I.length))}})(typeof self>"u"?o===void 0?this:o:self)}).call(this,typeof TQ<"u"?TQ:typeof self<"u"?self:typeof window<"u"?window:{})},{}]},{},[10])(10)})})(U2e);var TWe=U2e.exports,Hwe=EWe(TWe),_M=class{constructor(t,i){Le(this,"date",new Date),Le(this,"author"),Le(this,"guid",dI.create()),Le(this,"viewpoint"),Le(this,"modifiedAuthor"),Le(this,"modifiedDate"),Le(this,"topic"),Le(this,"_components"),Le(this,"_comment",""),this._components=t,this._comment=i;let n=this._components.get(v0);this.author=n.config.author}set comment(t){var i;let n=this._components.get(v0);this._comment=t,this.modifiedDate=new Date,this.modifiedAuthor=n.config.author,(i=this.topic)==null||i.comments.set(this.guid,this)}get comment(){return this._comment}toJSON(){var t,i;let n={guid:this.guid,date:this.date.toISOString(),author:this.author,comment:this.comment,topic_guid:(t=this.topic)==null?void 0:t.guid,viewpoint_guid:this.viewpoint,modified_date:(i=this.modifiedDate)==null?void 0:i.toISOString(),modified_author:this.modifiedAuthor};for(let[s,o]of Object.entries(n))o===void 0&&delete n[s];return n}},H2e=class A_{constructor(t){Le(this,"guid",dI.create()),Le(this,"title",A_.default.title),Le(this,"creationDate",new Date),Le(this,"creationAuthor",""),Le(this,"viewpoints",new sI),Le(this,"relatedTopics",new sI),Le(this,"comments",new fo),Le(this,"documentReferences",new sI),Le(this,"customData",{}),Le(this,"description"),Le(this,"serverAssignedId"),Le(this,"dueDate"),Le(this,"modifiedAuthor"),Le(this,"modifiedDate"),Le(this,"index"),Le(this,"_type",A_.default.type),Le(this,"_status",A_.default.status),Le(this,"_priority",A_.default.priority),Le(this,"_stage",A_.default.stage),Le(this,"_assignedTo",A_.default.assignedTo),Le(this,"_labels",A_.default.labels??new Set),Le(this,"_components"),this._components=t;let i=t.get(v0);this.creationAuthor=i.config.author,this.relatedTopics.guard=n=>n!==this.guid}set type(t){let i=this._components.get(v0),{strict:n,types:s}=i.config;(!n||s.has(t))&&(this._type=t)}get type(){return this._type}set status(t){let i=this._components.get(v0),{strict:n,statuses:s}=i.config;(!n||s.has(t))&&(this._status=t)}get status(){return this._status}set priority(t){let i=this._components.get(v0);if(t){let{strict:n,priorities:s}=i.config;if(!(n?s.has(t):!0))return;this._priority=t}else this._priority=t}get priority(){return this._priority}set stage(t){let i=this._components.get(v0);if(t){let{strict:n,stages:s}=i.config;if(!(n?s.has(t):!0))return;this._stage=t}else this._stage=t}get stage(){return this._stage}set assignedTo(t){let i=this._components.get(v0);if(t){let{strict:n,users:s}=i.config;if(!(n?s.has(t):!0))return;this._assignedTo=t}else this._assignedTo=t}get assignedTo(){return this._assignedTo}set labels(t){let i=this._components.get(v0),{strict:n,labels:s}=i.config;if(n){let o=new Set;for(let r of t)(!n||s.has(r))&&o.add(r);this._labels=o}else this._labels=t}get labels(){return this._labels}get _managerVersion(){return this._components.get(v0).config.version}set(t){let i=t,n=this;for(let o in t){if(o==="guid")continue;let r=i[o];o in this&&(n[o]=r)}return this._components.get(v0).list.set(this.guid,this),this}createComment(t,i){let n=new _M(this._components,t);return n.viewpoint=i,n.topic=this,this.comments.set(n.guid,n),n}createLabelTags(){let t=[...this.labels];if(this._components.get(v0).config.exportCustomDataAsLabels)for(let n in this.customData){let s=this.customData[n];typeof s=="string"&&t.push(s)}return t}createCommentTags(){return[...this.comments.values()].map(t=>{var i;return{$Guid:t.guid,Date:t.date.toISOString(),Author:t.author,Comment:t.comment,ModifiedAuthor:t.modifiedAuthor,ModifiedDate:(i=t.modifiedDate)==null?void 0:i.toISOString(),Viewpoint:t.viewpoint?{$Guid:t.viewpoint}:void 0}})}createViewpointTags(){let t=this._components.get(e4);return[...this.viewpoints].map(n=>t.list.get(n)).filter(n=>n).map(n=>{let s={$Guid:n.guid,Viewpoint:`${n.title??n.guid}.bcfv`};if(t.snapshots.get(n.snapshot)){let r=t.getSnapshotExtension(n.snapshot);s.Snapshot=`${n.snapshot}.${r}`}return s})}createRelatedTopicTags(){return[...this.relatedTopics].map(t=>({$Guid:t}))}createDocumentReferencesTag(t=this._managerVersion){let i=[];if(!(t==="3"||t==="2.1"))return i;let n=this._components.get(v0);for(let s of this.documentReferences){let o=n.documents.get(s);if(!o)continue;let r={$Guid:dI.create(),Description:o.description};t==="2.1"&&(r={...r,$isExternal:o.type==="external"?!0:void 0,ReferencedDocument:o.type==="external"?o.url:`../${o.fileName}`}),t==="3"&&(r={...r,DocumentGuid:o.type==="internal"?s:void 0,Url:o.type==="external"?o.url:void 0}),Object.keys(r).length>0&&i.push(r)}return i}toJSON(){var t,i;let n={guid:this.guid,server_assigned_id:this.serverAssignedId,topic_type:this.type,topic_status:this.status,title:this.title,priority:this.priority,index:this.index,labels:[...this.labels],creation_date:this.creationDate.toISOString(),creation_author:this.creationAuthor,modified_date:(t=this.modifiedDate)==null?void 0:t.toISOString(),modified_author:this.modifiedAuthor,assigned_to:this.assignedTo,stage:this.stage,description:this.description,due_date:(i=this.dueDate)==null?void 0:i.toISOString(),comments:[...this.comments].map(([r,l])=>l.toJSON()),relatedTopics:[...this.relatedTopics].map(r=>({related_topic_guid:r}))},s=this._components.get(e4);for(let r of this.viewpoints){let l=s.list.get(r);l&&(n.viewpoints||(n.viewpoints=[]),n.viewpoints.push(l.toJSON()))}let o=this._components.get(v0);for(let r of this.documentReferences){let l=o.documents.get(r);l&&(n.document_references||(n.document_references=[]),l.type==="external"?n.document_references.push({guid:dI.create(),description:l.description,url:l.url}):n.document_references.push({guid:dI.create(),description:l.description,document_guid:r}))}for(let[r,l]of Object.entries(n))(l===void 0||Array.isArray(l)&&l.length===0)&&delete n[r];return n}serialize(){var t,i;let n=this._managerVersion,s={$Guid:this.guid,$TopicType:this.type,$TopicStatus:this.status,$ServerAssignedId:this.serverAssignedId,Title:this.title,CreationAuthor:this.creationAuthor,CreationDate:this.creationDate.toISOString(),Priority:this.priority,Index:n==="2.1"?this.index:void 0,ModifiedDate:(t=this.modifiedDate)==null?void 0:t.toISOString(),ModifiedAuthor:this.modifiedAuthor,DueDate:(i=this.dueDate)==null?void 0:i.toISOString(),AssignedTo:this.assignedTo,Description:this.description,Stage:this.stage,DocumentReferences:n==="3"?{DocumentReference:this.createDocumentReferencesTag(n)}:void 0,RelatedTopics:n==="3"?{RelatedTopic:this.createRelatedTopicTags()}:void 0,RelatedTopic:n==="2.1"?this.createRelatedTopicTags():void 0,Labels:n==="3"?{Label:this.createLabelTags()}:void 0,Viewpoints:n==="3"?{ViewPoint:this.createViewpointTags()}:void 0,Comments:n==="3"?{Comment:this.createCommentTags()}:void 0};n==="2.1"&&(s.Labels=this.createLabelTags(),s.DocumentReference=this.createDocumentReferencesTag(n));let o={Markup:{Topic:s}};return n==="2.1"&&(o.Markup.Viewpoints=this.createViewpointTags(),o.Markup.Comment=this.createCommentTags()),`<?xml version="1.0" encoding="UTF-8"?>
|
||
${jx.builder.build(o)}`}};Le(H2e,"default",{title:"BCF Topic",type:"Issue",status:"Active"});var l0e=H2e,G2e=(e,t)=>{if(t.trim()==="")return;let i=v0.xmlParser.parse(t).Extensions;if(!i)return;let{Priorities:n,TopicStatuses:s,TopicTypes:o,Users:r}=i;if(n&&n.Priority){let l=Array.isArray(n.Priority)?n.Priority:[n.Priority];for(let d of l)e.config.priorities.add(d)}if(s&&s.TopicStatus){let l=Array.isArray(s.TopicStatus)?s.TopicStatus:[s.TopicStatus];for(let d of l)e.config.statuses.add(d)}if(o&&o.TopicType){let l=Array.isArray(o.TopicType)?o.TopicType:[o.TopicType];for(let d of l)e.config.types.add(d)}if(r&&r.User){let l=Array.isArray(r.User)?r.User:[r.User];for(let d of l)e.config.users.add(d)}},jQ=class extends __{constructor(){super(...arguments),Le(this,"_config",{version:{type:"Select",options:new Set(["2.1","3"]),multiple:!1,value:""},author:{type:"Text",value:""},types:{type:"TextSet",value:new Set},statuses:{type:"TextSet",value:new Set},priorities:{type:"TextSet",value:new Set},labels:{type:"TextSet",value:new Set},stages:{type:"TextSet",value:new Set},users:{type:"TextSet",value:new Set},includeSelectionTag:{type:"Boolean",value:!1},updateExtensionsOnImport:{type:"Boolean",value:!1},strict:{type:"Boolean",value:!1},includeAllExtensionsOnExport:{type:"Boolean",value:!1},fallbackVersionOnImport:{type:"Select",multiple:!1,options:new Set(["2.1","3"]),value:""},ignoreIncompleteTopicsOnImport:{type:"Boolean",value:!1},exportCustomDataAsLabels:{type:"Boolean",value:!1}})}get version(){return this._config.version.value}set version(t){this._config.version.value=t}get author(){return this._config.author.value}set author(t){this._config.author.value=t}get types(){return this._config.types.value}set types(t){this._config.types.value=t}get statuses(){return this._config.statuses.value}set statuses(t){this._config.statuses.value=t}get priorities(){return this._config.priorities.value}set priorities(t){this._config.priorities.value=t}get labels(){return this._config.labels.value}set labels(t){this._config.labels.value=t}get stages(){return this._config.stages.value}set stages(t){this._config.stages.value=t}get users(){return this._config.users.value}set users(t){this._config.users.value=t}get includeSelectionTag(){return this._config.includeSelectionTag.value}set includeSelectionTag(t){this._config.includeSelectionTag.value=t}get updateExtensionsOnImport(){return this._config.updateExtensionsOnImport.value}set updateExtensionsOnImport(t){this._config.updateExtensionsOnImport.value=t}get strict(){return this._config.strict.value}set strict(t){this._config.strict.value=t}get includeAllExtensionsOnExport(){return this._config.includeAllExtensionsOnExport.value}set includeAllExtensionsOnExport(t){this._config.includeAllExtensionsOnExport.value=t}get fallbackVersionOnImport(){return this._config.fallbackVersionOnImport.value}set fallbackVersionOnImport(t){this._config.fallbackVersionOnImport.value=t}get ignoreIncompleteTopicsOnImport(){return this._config.ignoreIncompleteTopicsOnImport.value}set ignoreIncompleteTopicsOnImport(t){this._config.ignoreIncompleteTopicsOnImport.value=t}get exportCustomDataAsLabels(){return this._config.exportCustomDataAsLabels.value}set exportCustomDataAsLabels(t){this._config.exportCustomDataAsLabels.value=t}},N0e=class Oz extends Gl{constructor(){super(...arguments),Le(this,"enabled",!1),Le(this,"_defaultConfig",{author:"jhon.doe@example.com",version:"2.1",types:new Set(["Clash","Failure","Fault","Inquiry","Issue","Remark","Request"]),statuses:new Set(["Active","In Progress","Done","In Review","Closed"]),priorities:new Set(["On hold","Minor","Normal","Major","Critical"]),labels:new Set,stages:new Set,users:new Set,includeSelectionTag:!1,updateExtensionsOnImport:!0,strict:!1,includeAllExtensionsOnExport:!0,fallbackVersionOnImport:"2.1",ignoreIncompleteTopicsOnImport:!1,exportCustomDataAsLabels:!1}),Le(this,"config",new jQ(this,this.components,"BCF Topics",Oz.uuid)),Le(this,"list",new fo),Le(this,"documents",new fo),Le(this,"onSetup",new $i),Le(this,"isSetup",!1),Le(this,"onBCFImported",new $i),Le(this,"onDisposed",new $i)}setup(t){if(this.isSetup)return;let i={...this._defaultConfig,...t};this.config.version=i.version,this.config.author=i.author,this.config.types=i.types,this.config.statuses=i.statuses,this.config.priorities=i.priorities,this.config.labels=i.labels,this.config.stages=i.stages,this.config.users=i.users,this.config.includeSelectionTag=i.includeSelectionTag,this.config.updateExtensionsOnImport=i.updateExtensionsOnImport,this.config.strict=i.strict,this.config.includeAllExtensionsOnExport=i.includeAllExtensionsOnExport,this.config.fallbackVersionOnImport=i.fallbackVersionOnImport||"",this.config.ignoreIncompleteTopicsOnImport=i.ignoreIncompleteTopicsOnImport,this.isSetup=!0,this.enabled=!0,this.onSetup.trigger()}create(t){let i=new l0e(this.components);return t?(i.guid=t.guid??i.guid,i.set(t)):this.list.set(i.guid,i),i}dispose(){this.list.dispose(),this.onDisposed.trigger(),this.onDisposed.reset()}get usedTypes(){let t=[...this.list].map(([i,n])=>n.type);return new Set(t)}get usedStatuses(){let t=[...this.list].map(([i,n])=>n.status);return new Set(t)}get usedPriorities(){let t=[...this.list].map(([i,n])=>n.priority).filter(i=>i);return new Set(t)}get usedStages(){let t=[...this.list].map(([i,n])=>n.stage).filter(i=>i);return new Set(t)}get usedUsers(){let t=[];for(let[i,n]of this.list){t.push(n.creationAuthor),n.assignedTo&&t.push(n.assignedTo),n.modifiedAuthor&&t.push(n.modifiedAuthor);for(let[s,o]of n.comments)t.push(o.author),o.modifiedAuthor&&t.push(o.modifiedAuthor)}return new Set(t)}get usedLabels(){let t=[];for(let[i,n]of this.list)t.push(...n.labels);return new Set(t)}updateExtensions(){for(let[t,i]of this.list){for(let n of i.labels)this.config.labels.add(n);this.config.types.add(i.type),i.priority&&this.config.priorities.add(i.priority),i.stage&&this.config.stages.add(i.stage),this.config.statuses.add(i.status),this.config.users.add(i.creationAuthor),i.assignedTo&&this.config.users.add(i.assignedTo),i.modifiedAuthor&&this.config.users.add(i.modifiedAuthor);for(let[n,s]of i.comments)this.config.users.add(s.author),s.modifiedAuthor&&this.config.users.add(s.modifiedAuthor)}}updateViewpointReferences(){let t=this.components.get(e4);for(let[i,n]of this.list)for(let s of n.viewpoints)t.list.has(s)||n.viewpoints.delete(s)}async export(t=this.list.values()){let i=new Hwe;i.file("bcf.version",`<?xml version="1.0" encoding="UTF-8"?>
|
||
<Version VersionId="${this.config.version}" xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/buildingSMART/BCF-XML/release_3_0/Schemas/version.xsd"
|
||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||
</Version>`);for(let[o,r]of this.documents.entries())r.type!=="external"&&i.file(this.config.version==="2.1"?r.fileName:`documents/${o}`,r.data);if(this.config.version==="3"){let o=[];for(let[r,l]of this.documents.entries()){let{type:d,description:h}=l;d!=="external"&&o.push(`<Document Guid="${r}">
|
||
<Filename>${l.fileName}</Filename>
|
||
${h?`<Description>${h}</Description>`:""}
|
||
</Document>`)}o.length>0&&i.file("documents.xml",`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||
<DocumentInfo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="documents.xsd">
|
||
<Documents>
|
||
${o.join(`
|
||
`)}
|
||
</Documents>
|
||
</DocumentInfo>`)}i.file("bcf.extensions",this.serializeExtensions());let n=this.components.get(e4);for(let o of t){let r=i.folder(o.guid);r.file("markup.bcf",o.serialize());for(let l of o.viewpoints){let d=n.list.get(l);if(!d)continue;let h=d.title??d.guid;r.file(`${h}.bcfv`,await d.serialize());let p=n.snapshots.get(d.snapshot);if(!p)continue;let I=p?d.snapshot:d.guid,m=n.getSnapshotExtension(d.snapshot);r.file(`${I}.${m}`,p,{binary:!0})}}return await i.generateAsync({type:"blob"})}serializeExtensions(){let t=[...this.config.types].map(l=>`<TopicType>${l}</TopicType>`).join(`
|
||
`),i=[...this.config.statuses].map(l=>`<TopicStatus>${l}</TopicStatus>`).join(`
|
||
`),n=[...this.config.priorities].map(l=>`<Priority>${l}</Priority>`).join(`
|
||
`),s=[...this.config.labels].map(l=>`<TopicLabel>${l}</TopicLabel>`).join(`
|
||
`),o=[...this.config.stages].map(l=>`<Stage>${l}</Stage>`).join(`
|
||
`),r=[...this.config.users].map(l=>`<User>${l}</User>`).join(`
|
||
`);return`
|
||
<?xml version="1.0" encoding="UTF-8"?>
|
||
<Extensions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="your-schema-location.xsd">
|
||
${t.length!==0?`<TopicTypes>
|
||
${t}
|
||
</TopicTypes>`:""}
|
||
${i.length!==0?`<TopicStatuses>
|
||
${i}
|
||
</TopicStatuses>`:""}
|
||
${n.length!==0?`<Priorities>
|
||
${n}
|
||
</Priorities>`:""}
|
||
${s.length!==0?`<TopicLabels>
|
||
${s}
|
||
</TopicLabels>`:""}
|
||
${o.length!==0?`<Stages>
|
||
${o}
|
||
</Stages>`:""}
|
||
${r.length!==0?`<Users>
|
||
${r}
|
||
</Users>`:""}
|
||
</Extensions>
|
||
`}processMarkupComment(t){let{Guid:i,Date:n,Author:s,Comment:o,Viewpoint:r}=t;if(!(i&&n&&s&&(_M||r)))return null;let l=new _M(this.components,o??"");return l.guid=i,l.date=new Date(n),l.author=s,l.viewpoint=r?.Guid,l.modifiedAuthor=t.ModifiedAuthor,l.modifiedDate=t.ModifiedDate?new Date(t.ModifiedDate):void 0,l}getMarkupComments(t,i){var n;let s;if(i==="2.1"&&(s=t.Comment),i==="3"&&(s=(n=t.Topic.Comments)==null?void 0:n.Comment),!s)return[];s=Array.isArray(s)?s:[s];let o=s.map(l=>this.processMarkupComment(l)).filter(l=>l);return Array.isArray(o)?o:[o]}getMarkupLabels(t,i){var n;let s;return i==="2.1"&&(s=t.Topic.Labels),i==="3"&&(s=(n=t.Topic.Labels)==null?void 0:n.Label),s?Array.isArray(s)?s:[s]:[]}getMarkupViewpoints(t,i){var n;let s;return i==="2.1"&&(s=t.Viewpoints),i==="3"&&(s=(n=t.Topic.Viewpoints)==null?void 0:n.ViewPoint),s?(s=Array.isArray(s)?s:[s],s):[]}getMarkupRelatedTopics(t,i){var n;let s;return i==="2.1"&&(s=t.Topic.RelatedTopic),i==="3"&&(s=(n=t.Topic.RelatedTopics)==null?void 0:n.RelatedTopic),s?(Array.isArray(s)?s:[s]).map(r=>r.Guid):[]}getMarkupDocumentReferences(t,i){var n;let s;return i==="2.1"&&(s=t.Topic.DocumentReference),i==="3"&&(s=(n=t.Topic.DocumentReferences)==null?void 0:n.DocumentReference),s?Array.isArray(s)?s:[s]:[]}async load(t){var i,n,s;let{fallbackVersionOnImport:o,ignoreIncompleteTopicsOnImport:r,updateExtensionsOnImport:l}=this.config,d=new Hwe;await d.loadAsync(t);let h=Object.values(d.files),p=o,I=h.find(P=>P.name.endsWith(".version"));if(I){let P=await I.async("string"),U=Oz.xmlParser.parse(P).Version.VersionId;p=String(U)}if(!(p&&(p==="2.1"||p==="3")))throw new Error(`BCFTopics: ${p} is not supported.`);let m=h.find(P=>P.name.endsWith(".extensions"));if(l&&m){let P=await m.async("string");G2e(this,P)}let y=[],T=this.components.get(e4),R=h.filter(P=>P.name.endsWith(".bcfv"));for(let P of R){let U=await P.async("string"),Z=Oz.xmlParser.parse(U).VisualizationInfo;if(!Z){console.warn("Missing VisualizationInfo in Viewpoint");continue}let ne={},{Guid:K,ClippingPlanes:oe,Components:se,OrthogonalCamera:he,PerspectiveCamera:Re}=Z;if(K&&(ne.guid=K),se){let Ae={selection:[],coloring:[],visibility:{default_visibility:!1,exceptions:[],view_setup_hints:{spaces_visible:!1,space_boundaries_visible:!1,openings_visible:!1}}};ne.components=Ae;let{Selection:Ee,Visibility:Ce}=se;if(Ee&&Ee.Component){let St=Array.isArray(Ee.Component)?Ee.Component:[Ee.Component];Ae.selection=St.map($e=>$e.IfcGuid?{ifc_guid:$e.IfcGuid}:null).filter($e=>$e!==null)}if(Ce&&"DefaultVisibility"in Ce&&(Ae.visibility.default_visibility=Ce.DefaultVisibility),Ce&&Ce.Exceptions&&"Component"in Ce.Exceptions){let{Component:St}=Ce.Exceptions,$e=Array.isArray(St)?St:[St];Ae.visibility.exceptions=$e.map(ke=>ke.IfcGuid?{ifc_guid:ke.IfcGuid}:null).filter(ke=>ke!==null)}let Qe;p==="2.1"&&(Qe=se.ViewSetupHints),p==="3"&&(Qe=(i=se.Visibility)==null?void 0:i.ViewSetupHints),Qe&&("OpeningsVisible"in Qe&&(Ae.visibility.view_setup_hints.openings_visible=Qe.OpeningsVisible),"SpacesVisible"in Qe&&(Ae.visibility.view_setup_hints.spaces_visible=Qe.SpacesVisible),"SpaceBoundariesVisible"in Qe&&(Ae.visibility.view_setup_hints.space_boundaries_visible=Qe.SpaceBoundariesVisible));let{Coloring:qe}=se;if(qe&&qe.Color){let St=Array.isArray(qe.Color)?qe.Color:[qe.Color];for(let $e of St){let{Color:ke,Component:It}=$e;if(!(ke.length===6||ke.length===8))continue;let ft=ke.length===6?ke:ke.slice(2),Zt=(Array.isArray(It)?It:[It]).map(Ct=>Ct.IfcGuid?{ifc_guid:Ct.IfcGuid}:null).filter(Ct=>Ct!==null);Ae.coloring.push({color:ft,components:Zt})}}}if(he||Re){let Ae=Z.PerspectiveCamera??Z.OrthogonalCamera,{CameraViewPoint:Ee,CameraDirection:Ce}=Ae,Qe=new ye(Number(Ee.X),Number(Ee.Z),Number(-Ee.Y)),qe=new ye(Number(Ce.X),Number(Ce.Z),Number(-Ce.Y)),St={camera_view_point:{x:Qe.x,y:Qe.y,z:Qe.z},camera_direction:{x:qe.x,y:qe.y,z:qe.z},aspect_ratio:"AspectRatio"in Ae?Ae.AspectRatio:1,camera_up_vector:{x:0,y:0,z:0}};"ViewToWorldScale"in Ae&&(ne.orthogonal_camera={...St,view_to_world_scale:Ae.ViewToWorldScale}),"FieldOfView"in Ae&&(ne.perspective_camera={...St,field_of_view:Ae.FieldOfView})}if(oe){let Ee=(Array.isArray(oe.ClippingPlane)?oe.ClippingPlane:[oe.ClippingPlane]).map(({Location:Ce,Direction:Qe})=>({location:{x:Ce.x,y:Ce.y,z:Ce.z},direction:{x:Qe.x,y:Qe.y,z:Qe.z}}));ne.clipping_planes=Ee}let ee=new Uz(this.components,ne);y.push(ee)}let b={},A=[],O=h.filter(P=>P.name.endsWith(".bcf"));for(let P of O){let U=await P.async("string"),Z=Oz.xmlParser.parse(U).Markup,ne=Z.Topic,{Guid:K,TopicType:oe,TopicStatus:se,Title:he,CreationDate:Re,CreationAuthor:ee}=ne;if(r&&!(K&&oe&&se&&he&&Re&&ee))continue;let Ae=new l0e(this.components);Ae.guid=K??Ae.guid;let Ee=this.getMarkupRelatedTopics(Z,p);b[Ae.guid]=new Set(Ee),Ae.type=oe??Ae.type,Ae.status=se??Ae.status,Ae.title=he??Ae.title,Ae.creationDate=Re?new Date(Re):Ae.creationDate,Ae.creationAuthor=ee??Ae.creationAuthor,Ae.serverAssignedId=ne.ServerAssignedId,Ae.priority=ne.Priority,Ae.index=ne.Index,Ae.modifiedDate=ne.ModifiedDate?new Date(ne.ModifiedDate):void 0,Ae.modifiedAuthor=ne.ModifiedAuthor,Ae.dueDate=ne.DueDate?new Date(ne.DueDate):void 0,Ae.assignedTo=ne.AssignedTo,Ae.description=ne.Description,Ae.stage=ne.Stage;let Ce=this.getMarkupLabels(Z,p);for(let ft of Ce)Ae.labels.add(ft);let Qe=this.getMarkupComments(Z,p);for(let ft of Qe)Ae.comments.set(ft.guid,ft);let qe=this.getMarkupViewpoints(Z,p);for(let ft of qe){if(!(ft&&ft.Guid))continue;let Dt=T.list.get(ft.Guid);if(!Dt)continue;Ae.viewpoints.add(Dt.guid);let Zt=`${Ae.guid}/${ft.Snapshot}`,Ct=h.find(({name:Ut})=>Ut===Zt);if(Ct){let Ut=await Ct.async("arraybuffer"),ii=new Uint8Array(Ut);T.snapshots.set(Dt.guid,ii),Dt.snapshot=Dt.guid??null}}let St=this.getMarkupDocumentReferences(Z,p),$e=h.find(ft=>ft.name==="documents.xml"),ke=[],It=await $e?.async("string");if(It){let ft=(s=(n=jx.parser.parse(It).DocumentInfo)==null?void 0:n.Documents)==null?void 0:s.Document;ke=Array.isArray(ft)?ft:[ft]}for(let ft of St){let{Description:Dt,DocumentGuid:Zt,Url:Ct,isExternal:Ut,ReferencedDocument:ii}=ft;if(Zt&&ke.length>0){let Vt=ke.find(({Guid:Ft})=>Ft===Zt),Kt=h.find(Ft=>Ft.name.endsWith(Zt)),ui=await Kt?.async("uint8array");if(!(Vt&&ui))continue;let{Description:jt,Filename:Oe}=Vt;this.documents.set(Zt,{type:"internal",fileName:Oe,description:jt,data:ui}),Ae.documentReferences.add(Zt)}if(Ct){let Vt=this.documents.add({type:"external",url:Ct,description:Dt});Ae.documentReferences.add(Vt)}if(ii){let Vt=null;if(Ut)Vt=this.documents.add({type:"external",url:ii,description:Dt});else{let Kt=ii.split("/"),ui=Kt[Kt.length-1],jt=h.find(Ft=>Ft.name.endsWith(ui)),Oe=await jt?.async("uint8array");if(!Oe)continue;Vt=this.documents.add({type:"internal",fileName:ui,data:Oe,description:Dt})}Ae.documentReferences.add(Vt)}}this.list.set(Ae.guid,Ae),A.push(Ae)}for(let P in b){let U=this.list.get(P);if(!U)continue;let Z=b[P];for(let ne of Z)U.relatedTopics.add(ne)}return this.onBCFImported.trigger(A),{viewpoints:y,topics:A}}};Le(N0e,"uuid","de977976-e4f6-4e4f-a01a-204727839802");Le(N0e,"xmlParser",new Mz({allowBooleanAttributes:!0,attributeNamePrefix:"",ignoreAttributes:!1,ignoreDeclaration:!0,ignorePiTags:!0,numberParseOptions:{leadingZeros:!0,hex:!0},parseAttributeValue:!0,preserveOrder:!1,processEntities:!1,removeNSPrefix:!0,trimValues:!0}));var v0=N0e,qQ=class e{constructor(t,i,n,s,o,r=5,l=!0){Le(this,"onDraggingStarted",new $i),Le(this,"onDraggingEnded",new $i),Le(this,"onDisposed",new $i),Le(this,"normal"),Le(this,"origin"),Le(this,"three",new es),Le(this,"components"),Le(this,"world"),Le(this,"type","default"),Le(this,"_title","Clipping Plane"),Le(this,"_helper"),Le(this,"_visible",!0),Le(this,"_enabled",!0),Le(this,"_controlsActive",!1),Le(this,"_arrowBoundBox",new _i),Le(this,"_planeMesh"),Le(this,"_controls"),Le(this,"_hiddenMaterial",new Ho({visible:!1})),Le(this,"_sizeMultiplier",5),Le(this,"_autoScale",!0),Le(this,"_visibilityBeforeDisabled",!0),Le(this,"notifyManager",()=>{let h=this.components.get(Wx),p=h.list.getKey(this);p&&h.list.set(p,this)}),Le(this,"update",()=>{this._enabled&&(this.three.setFromNormalAndCoplanarPoint(this.normal,this._helper.position),this.updateScale())}),Le(this,"updateScale",()=>{var h;if(!this.autoScale)return;let p=(h=this.world.camera)==null?void 0:h.three;if(!p||!(p instanceof xo))return;let I=new ye;p.getWorldPosition(I);let y=I.distanceTo(this._helper.position)/7*this._sizeMultiplier;this._planeMesh.scale.set(y,y,y)}),Le(this,"changeDrag",h=>{this._visible=!h.value,this.preventCameraMovement(),this.notifyDraggingChanged(h)});var d;if(this.components=t,this.world=i,!i.renderer)throw new Error("The given world must have a renderer!");this.normal=s,this.origin=n,this._sizeMultiplier=r,i.renderer.setPlane(!0,this.three),this._planeMesh=e.newPlaneMesh(r,o),this._helper=this.newHelper(),this._controls=this.newTransformControls(),this.three.setFromNormalAndCoplanarPoint(s,n),l&&this.toggleControls(!0),this.updateScale(),(d=i.camera)!=null&&d.controls&&i.camera.controls.addEventListener("update",this.updateScale)}set title(t){this._title=t,this.notifyManager()}get title(){return this._title}get autoScale(){return this._autoScale}set autoScale(t){this._autoScale=t,t&&this.updateScale()}get enabled(){return this._enabled}set enabled(t){if(!this.world.isDisposing){if(!this.world.renderer)throw new Error("No renderer found for clipping plane!");this._enabled=t,t?this.visible=this._visibilityBeforeDisabled:(this._visibilityBeforeDisabled=this.visible,this.visible=!1),this.world.renderer.setPlane(t,this.three),this.notifyManager()}}get visible(){return this._visible}set visible(t){this._visible=t,this._controls.getHelper().visible=t,this._helper.visible=t,this.toggleControls(t),this.notifyManager()}get meshes(){return[this._planeMesh,this._arrowBoundBox]}get planeMaterial(){return this._planeMesh.material}set planeMaterial(t){this._planeMesh.material=t}get size(){return this._sizeMultiplier}set size(t){this._sizeMultiplier=t,this.autoScale?this.updateScale():this._planeMesh.scale.set(t,t,t)}get helper(){return this._helper}get controls(){return this._controls}setFromNormalAndCoplanarPoint(t,i){this.reset(),this.normal.equals(t)||(this.normal.copy(t),this._helper.lookAt(t)),this.origin.copy(i),this._helper.position.copy(i),this._helper.updateMatrix(),this.update()}dispose(){var t;this._enabled=!1,(t=this.world.camera)!=null&&t.controls&&this.world.camera.controls.removeEventListener("update",this.updateScale),this.onDraggingStarted.reset(),this.onDraggingEnded.reset(),this._helper.removeFromParent(),this.world.renderer&&this.world.renderer.setPlane(!1,this.three),this._arrowBoundBox.removeFromParent(),this._arrowBoundBox.geometry.dispose(),this._planeMesh.geometry.dispose(),this._controls.getHelper().removeFromParent(),this._controls.dispose(),this.onDisposed.trigger(),this.onDisposed.reset()}reset(){let t=new ye(1,0,0),i=new ye;this.normal.equals(t)||(this.normal.copy(t),this._helper.lookAt(t)),this.origin.copy(i),this._helper.position.copy(i),this._helper.updateMatrix()}toggleControls(t){if(t){if(this._controlsActive)return;this._controls.addEventListener("change",this.update),this._controls.addEventListener("dragging-changed",this.changeDrag)}else this._controls.removeEventListener("change",this.update),this._controls.removeEventListener("dragging-changed",this.changeDrag);this._controlsActive=t}newTransformControls(){if(!this.world.renderer)throw new Error("No renderer found for clipping plane!");let t=this.world.camera.three,i=this.world.renderer.three.domElement,n=new jK(t,i);return this.initializeControls(n),this.world.scene.three.add(n.getHelper()),n}initializeControls(t){t.attach(this._helper),t.showX=!1,t.showY=!1,t.setSpace("local"),this.createArrowBoundingBox(),t.getHelper().children[0].children[0].add(this._arrowBoundBox)}createArrowBoundingBox(){this._arrowBoundBox.geometry=new Lr(.18,.18,1.2),this._arrowBoundBox.material=this._hiddenMaterial,this._arrowBoundBox.rotateX(Math.PI/2),this._arrowBoundBox.updateMatrix(),this._arrowBoundBox.geometry.applyMatrix4(this._arrowBoundBox.matrix)}notifyDraggingChanged(t){t.value?this.onDraggingStarted.trigger():this.onDraggingEnded.trigger()}preventCameraMovement(){this.world.camera.enabled=this._visible}newHelper(){let t=new ps;return t.lookAt(this.normal),t.position.copy(this.origin),this._planeMesh.position.z+=.01,t.add(this._planeMesh),this.world.scene.three.add(t),t}static newPlaneMesh(t,i){let n=new dp(1),s=new _i(n,i);return s.scale.set(t,t,t),s}},a0e=class extends __{constructor(){super(...arguments),Le(this,"_config",{enabled:{value:!0,type:"Boolean"},visible:{value:!0,type:"Boolean"},color:{value:new Oi,type:"Color"},opacity:{type:"Number",interpolable:!0,value:1,min:0,max:1},size:{type:"Number",interpolable:!0,value:2,min:0,max:100}})}get enabled(){return this._config.enabled.value}set enabled(t){this._config.enabled.value=t,this._component.enabled=t}get visible(){return this._config.visible.value}set visible(t){this._config.visible.value=t,this._component.visible=t}get color(){return this._config.color.value}set color(t){this._config.color.value=t,this._component.material.color.copy(t)}get opacity(){return this._config.opacity.value}set opacity(t){this._config.opacity.value=t,this._component.material.opacity=t}get size(){return this._config.size.value}set size(t){this._config.size.value=t,this._component.size=t}},V2e=class RQ extends Gl{constructor(t){super(t),Le(this,"onSetup",new $i),Le(this,"onBeforeDrag",new $i),Le(this,"onAfterDrag",new $i),Le(this,"onBeforeCreate",new $i),Le(this,"onBeforeCancel",new $i),Le(this,"onAfterCancel",new $i),Le(this,"onBeforeDelete",new $i),Le(this,"onAfterCreate",new $i),Le(this,"onAfterDelete",new $i),Le(this,"onDisposed",new $i),Le(this,"isSetup",!1),Le(this,"orthogonalY",!1),Le(this,"toleranceOrthogonalY",.7),Le(this,"autoScalePlanes",!0),Le(this,"Type",qQ),Le(this,"list",new fo),Le(this,"config",new a0e(this,this.components,"Clipper",RQ.uuid)),Le(this,"_defaultConfig",{color:new Oi(12255487),opacity:.2,size:2}),Le(this,"_material",new Ho({color:12255487,side:so,transparent:!0,opacity:.2})),Le(this,"_size",5),Le(this,"_enabled",!1),Le(this,"_visible",!0),Le(this,"onStateChanged",new $i),this.components.add(RQ.uuid,this),this.setEvents()}get enabled(){return this._enabled}set enabled(t){this._enabled=t,this.onStateChanged.trigger(["enabled"])}get visible(){return this._visible}set visible(t){this._visible=t;for(let[i,n]of this.list)n.visible=t;this.onStateChanged.trigger(["visibility"])}get material(){return this._material}set material(t){this._material=t;for(let[i,n]of this.list)n.planeMaterial=t;this.onStateChanged.trigger(["material"])}get size(){return this._size}set size(t){this._size=t;for(let[i,n]of this.list)n.size=t;this.onStateChanged.trigger(["size"])}setEvents(){this.list.onBeforeDelete.add(({value:t})=>{if(!t.world.renderer)throw new Error("Renderer not found for this plane's world!");t.world.renderer.setPlane(!1,t.three),t.dispose(),this.updateMaterialsAndPlanes(),this.onAfterDelete.trigger(t)})}dispose(){this._enabled=!1,this.components.get(Vz).list.delete(this.config.uuid),this.list.clear(),this._material.dispose(),this.onBeforeCreate.reset(),this.onBeforeCancel.reset(),this.onBeforeDelete.reset(),this.onBeforeDrag.reset(),this.onAfterCreate.reset(),this.onAfterCancel.reset(),this.onAfterDelete.reset(),this.onAfterDrag.reset(),this.onDisposed.trigger(RQ.uuid),this.onDisposed.reset()}async create(t){let s=await this.components.get(Fz).get(t).castRay();return s?this.createPlaneFromIntersection(t,s):null}createFromNormalAndCoplanarPoint(t,i,n){let s=this.newPlane(t,n,i);return this.updateMaterialsAndPlanes(),s}async delete(t,i){if(!i){let n=await this.pickPlane(t);if(!n)return;i=this.list.getKey(n)}i&&this.list.delete(i)}deleteAll(t){for(let[i,n]of this.list)(!t||t.has(n.type))&&this.list.delete(i)}setup(t){let i={...this._defaultConfig,...t};this.config.color=i.color,this.config.opacity=i.opacity,this.config.size=i.size,this.isSetup=!0,this.onSetup.trigger()}pickPlane(t){let n=this.components.get(Fz).get(t),s=this.getAllPlaneMeshes(),o=n.castRayToObjects(s);if(o){let r=o.object;return[...this.list.values()].find(l=>l.meshes.includes(r))}}getAllPlaneMeshes(){let t=[];for(let[i,n]of this.list)t.push(...n.meshes);return t}createPlaneFromIntersection(t,i){var n;if(!t.renderer)throw new Error("The given world must have a renderer!");let s=i.point.distanceTo(new ye(0,0,0)),o=i.normal||((n=i.face)==null?void 0:n.normal);if(!s||!o)return null;let r=this.getWorldNormal(i,o),l=this.newPlane(t,i.point,r.negate()),d=this.list.get(l);return d.visible=this._visible,d.size=this._size,t.renderer.setPlane(!0,d.three),this.updateMaterialsAndPlanes(),d}getWorldNormal(t,i){let n=t.object,s=t.object.matrixWorld.clone();if(n instanceof Pb&&t.instanceId!==void 0){let d=new Ai;n.getMatrixAt(t.instanceId,d),s=d.multiply(s)}let r=new Qn().getNormalMatrix(s),l=i.clone().applyMatrix3(r).normalize();return this.normalizePlaneDirectionY(l),l}normalizePlaneDirectionY(t){this.orthogonalY&&(t.y>this.toleranceOrthogonalY&&(t.x=0,t.y=1,t.z=0),t.y<-this.toleranceOrthogonalY&&(t.x=0,t.y=-1,t.z=0))}newPlane(t,i,n){let s=new this.Type(this.components,t,i,n,this._material);s.autoScale=this.autoScalePlanes,s.onDraggingStarted.add(()=>this.onBeforeDrag.trigger(s)),s.onDraggingEnded.add(()=>this.onAfterDrag.trigger(s));let o=dI.create();return this.list.set(o,s),this.onAfterCreate.trigger(s),o}updateMaterialsAndPlanes(){let t=this.components.get(A0e);for(let[i,n]of t.list){if(!n.renderer)continue;n.renderer.updateClippingPlanes();let{clippingPlanes:s}=n.renderer;for(let o of n.meshes)if(o.material)if(Array.isArray(o.material))for(let r of o.material)r.clippingPlanes=s;else o.material.clippingPlanes=s}}};Le(V2e,"uuid","66290bc5-18c4-4cd1-9379-2e17a0617611");var Wx=V2e,Uz=class{constructor(t,i){Le(this,"title"),Le(this,"guid",dI.create()),Le(this,"clippingPlanes",new sI),Le(this,"camera",{aspect_ratio:1,field_of_view:60,camera_direction:{x:0,y:0,z:0},camera_view_point:{x:0,y:0,z:0},camera_up_vector:{x:0,y:1,z:0}}),Le(this,"customData",{}),Le(this,"exceptionComponents",new sI),Le(this,"selectionComponents",new sI),Le(this,"componentColors",new fo),Le(this,"spacesVisible",!1),Le(this,"spaceBoundariesVisible",!1),Le(this,"openingsVisible",!1),Le(this,"defaultVisibility",!0),Le(this,"snapshot",this.guid),Le(this,"_components"),Le(this,"_world",null),Le(this,"notifyUpdate",()=>{this._components.get(e4).list.set(this.guid,this)}),this._components=t,i&&(this.guid=i.guid??this.guid,this.set(i)),this.setEvents()}async getSelectionMap(){return await this._components.get(_s).guidsToModelIdMap([...this.selectionComponents])}async getExceptionMap(){return await this._components.get(_s).guidsToModelIdMap([...this.exceptionComponents])}get projection(){return"field_of_view"in this.camera?"Perspective":"Orthographic"}get position(){let t=this._components.get(_s),{camera_view_point:i}=this.camera,{x:n,y:s,z:o}=i,r=new ye(n,s,o);return t.applyBaseCoordinateSystem(r,new Ai),r}set position(t){let i=t.clone(),n=this._components.get(_s);t.clone().applyMatrix4(n.baseCoordinationMatrix.clone().invert()),this.camera.camera_view_point={x:i.x,y:i.y,z:i.z}}get direction(){let{camera_direction:t}=this.camera,{x:i,y:n,z:s}=t;return new ye(i,n,s)}set world(t){this._world=t}get world(){return this._world}get _managerVersion(){return this._components.get(v0).config.version}get topics(){return[...this._components.get(v0).list.values()].filter(s=>s.viewpoints.has(this.guid))}setEvents(){this.selectionComponents.onUpdated.add(this.notifyUpdate),this.exceptionComponents.onUpdated.add(this.notifyUpdate),this.clippingPlanes.onUpdated.add(this.notifyUpdate),this.componentColors.onItemSet.add(this.notifyUpdate),this.componentColors.onItemDeleted.add(this.notifyUpdate),this.componentColors.onItemUpdated.add(this.notifyUpdate),this.componentColors.onCleared.add(this.notifyUpdate)}set(t){this.title=t.title;let{components:i,perspective_camera:n,orthogonal_camera:s,clipping_planes:o}=t;if(i){let{selection:r,visibility:l,coloring:d}=i;if(r){this.selectionComponents.clear();for(let{ifc_guid:h}of r)h&&this.selectionComponents.add(h)}if(l){let{default_visibility:h,exceptions:p,view_setup_hints:I}=l;if(h!==void 0&&(this.defaultVisibility=h),p){this.exceptionComponents.clear();for(let{ifc_guid:m}of p)m&&this.exceptionComponents.add(m)}if(I){let{spaces_visible:m,space_boundaries_visible:y,openings_visible:T}=I;m!==void 0&&(this.spacesVisible=m),y!==void 0&&(this.spaceBoundariesVisible=y),T!==void 0&&(this.openingsVisible=T)}}if(d){this.componentColors.clear();for(let h of d){let{color:p,components:I}=h,m=I.map(y=>y.ifc_guid).filter(y=>y!==null);this.componentColors.set(p,m)}}}if((n||s)&&(this.camera=n??s),o&&this.world){let r=this._components.get(Wx);for(let l of o){let{location:d,direction:h}=l,p=new ye(d.x,d.z,-d.y),I=new ye(h.x,h.z,-h.y),m=r.createFromNormalAndCoplanarPoint(this.world,I,p);this.clippingPlanes.add(m),r.list.get(m).enabled=!1,r.list.get(m).visible=!1}}this.notifyUpdate()}async go(t){if(!this.world)return;let{camera:i}=this.world;if(!(i instanceof NM))throw new Error("Viewpoint: the world's camera component must be of type OrthoPerspectiveCamera to switch between perspective and orthographic projections.");let{transition:n,applyClippings:s,applyVisibility:o,clippingsVisibility:r}={transition:!0,applyClippings:!0,applyVisibility:!0,clippingsVisibility:!0,...t};i.projection.set(this.projection);let l=new ye(this.camera.camera_view_point.x,this.camera.camera_view_point.y,this.camera.camera_view_point.z),d=new ye(this.camera.camera_direction.x,this.camera.camera_direction.y,this.camera.camera_direction.z);if(l.equals(new ye)&&d.equals(new ye))return;let h=this.position,p=this.direction,I=80,m={x:h.x+p.x*I,y:h.y+p.y*I,z:h.z+p.z*I},y=[];s&&this.setClippingState(!0),o&&y.push(this.applyVisibility()),this.setClippingVisibility(r),y.push(i.controls.setLookAt(h.x,h.y,h.z,m.x,m.y,m.z,n)),await Promise.all(y)}async updateCamera(t=!0){return new Promise(i=>{if(!this.world){i(!1);return}let{camera:n,renderer:s}=this.world;if(!s)throw new Error("Viewpoint: the world needs to have a renderer!");if(!n.hasCameraControls())throw new Error("Viewpoint: world's camera need camera controls!");let o=new ye;n.controls.getPosition(o);let r=n.three,l=new ye(0,0,-1).applyEuler(r.rotation),{width:d,height:h}=s.getSize(),p=d/h;Number.isNaN(p)&&(p=1);let I=this._components.get(_s);o.applyMatrix4(I.baseCoordinationMatrix.clone().invert());let m={aspect_ratio:p,camera_view_point:{x:o.x,y:o.y,z:o.z},camera_direction:{x:l.x,y:l.y,z:l.z},camera_up_vector:{x:0,y:1,z:0}};if(r instanceof xo?this.camera={...m,field_of_view:r.fov}:r instanceof ba&&(this.camera={...m,view_to_world_scale:r.top-r.bottom}),t){let y=this._components.get(e4),T=s.three.domElement;s.three.render(this.world.scene.three,n.three),T.toBlob(async R=>{if(R){let b=await R.arrayBuffer(),A=new Uint8Array(b);y.snapshots.set(this.guid,A)}this.notifyUpdate(),i(!0)})}else this.notifyUpdate(),i(!0)})}takeSnapshot(){return new Promise(t=>{if(!this.world){t(!1);return}let{camera:i,renderer:n}=this.world;if(!n)throw new Error("Viewpoint: the world needs to have a renderer!");let s=this._components.get(e4),o=n.three.domElement;n.three.render(this.world.scene.three,i.three),o.toBlob(async r=>{if(r){let l=await r.arrayBuffer(),d=new Uint8Array(l);s.snapshots.set(this.guid,d)}this.notifyUpdate(),t(!0)})})}updateClippingPlanes(){this.clippingPlanes.clear();let t=this._components.get(Wx);for(let[i,n]of t.list)n.enabled&&this.clippingPlanes.add(i)}async applyVisibility(){let t=this._components.get(g2e);t.set(this.defaultVisibility);let i=await this.getExceptionMap();t.set(!this.defaultVisibility,i);let n=await this.getSelectionMap();t.set(!0,n)}async setColorizationState(t){let i=this._components.get(_s),n=[];if(t)for(let[s,o]of this.componentColors){let r=`#${s}`,l=await i.guidsToModelIdMap(o);for(let[d,h]of Object.entries(l)){let p=i.list.get(d);p&&n.push(p.highlight([...h],{customId:r,color:new Oi(r),renderedFaces:g$.ONE,opacity:1,transparent:!1}))}}else for(let[s,o]of this.componentColors){let r=await i.guidsToModelIdMap(o);for(let[l,d]of Object.entries(r)){let h=i.list.get(l);h&&n.push(h.resetHighlight([...d]))}}n.push(i.core.update(!0)),await Promise.all(n)}setClippingState(t){let i=this._components.get(Wx);for(let[n,s]of i.list)s.enabled=t&&this.clippingPlanes.has(n)}setClippingVisibility(t){let i=this._components.get(Wx);for(let n of this.clippingPlanes){let s=i.list.get(n);s&&(s.visible=t)}}async createComponentTags(t){var i;let n=this._components.get(_s),s=this._components.get(v0),o="";if(s.config.includeSelectionTag){let r=t==="selection"?await this.getSelectionMap():await this.getExceptionMap();for(let l in r){let d=n.list.get(l);if(!d)continue;let h=r[l];for(let p of h){let I=d.getItem(p),m=await I.getGuid();if(!m)continue;let y=(i=await I.getAttributes())==null?void 0:i.getValue("Tag"),T=null;y&&(T=`AuthoringToolId="${y}"`),o+=`
|
||
<Component IfcGuid="${m}" ${T??""} />`}}}else o=[...this.selectionComponents].map(r=>`<Component IfcGuid="${r}" />`).join(`
|
||
`);return o}createColorTags(){let t="";for(let[i,n]of this.componentColors.entries()){let s=n.map(o=>`
|
||
<Component IfcGuid="${o}" />`).join(`
|
||
`);t+=`<Color Color="${i}">
|
||
${s}
|
||
</Color>`}return t.length!==0?`<Coloring>
|
||
${t}
|
||
</Coloring>`:"<Coloring />"}toJSON(){let t=this._components.get(Wx),i={guid:this.guid,components:{selection:[...this.selectionComponents].map(o=>({ifc_guid:o,authoring_tool_id:null})),coloring:[...this.componentColors].map(([o,r])=>({color:o,components:r.map(l=>({ifc_guid:l,authoring_tool_id:null}))})),visibility:{default_visibility:this.defaultVisibility,exceptions:[...this.exceptionComponents].map(o=>({ifc_guid:o,authoring_tool_id:null})),view_setup_hints:{spaces_visible:this.spacesVisible,space_boundaries_visible:this.spaceBoundariesVisible,openings_visible:this.openingsVisible}}},clipping_planes:[...this.clippingPlanes].map(o=>{let r=t.list.get(o);if(!r)return null;let l=r._controls.worldPosition??r.origin,{normal:d}=r;return{location:{x:l.x,y:-l.z,z:l.y},direction:{x:d.x,y:-d.z,z:d.y}}}).filter(o=>o!==null)};"field_of_view"in this.camera?i.perspective_camera=this.camera:i.orthogonal_camera=this.camera;let n=this._components.get(e4),s=n.snapshots.get(this.snapshot);if(s){let o=s.toString(),r=btoa(o),l=n.getSnapshotExtension(this.snapshot);i.snapshot={snapshot_type:l,snapshot_data:r}}return i}async serialize(t=this._managerVersion){let i=this._components.get(_s),n=this.position;n.applyMatrix4(i.baseCoordinationMatrix.clone().invert());let s=this.direction;s.normalize();let o=new Ai().makeRotationX(Math.PI/2),r=s.clone().applyMatrix4(o);r.normalize();let l=`<CameraViewPoint>
|
||
<X>${n.x}</X>
|
||
<Y>${-n.z}</Y>
|
||
<Z>${n.y}</Z>
|
||
</CameraViewPoint>`,d=`<CameraDirection>
|
||
<X>${s.x}</X>
|
||
<Y>${-s.z}</Y>
|
||
<Z>${s.y}</Z>
|
||
</CameraDirection>`,h=`<CameraUpVector>
|
||
<X>${r.x}</X>
|
||
<Y>${-r.z}</Y>
|
||
<Z>${r.y}</Z>
|
||
</CameraUpVector>`,p=`<AspectRatio>${this.camera.aspect_ratio}</AspectRatio>`,I="";"view_to_world_scale"in this.camera?I=`<OrthogonalCamera>
|
||
${l}
|
||
${d}
|
||
${h}
|
||
${p}
|
||
<ViewToWorldScale>${this.camera.view_to_world_scale}</ViewToWorldScale>
|
||
</OrthogonalCamera>`:"field_of_view"in this.camera&&(I=`<PerspectiveCamera>
|
||
${l}
|
||
${d}
|
||
${h}
|
||
${p}
|
||
<FieldOfView>${this.camera.field_of_view}</FieldOfView>
|
||
</PerspectiveCamera>`);let m=`<ViewSetupHints SpacesVisible="${this.spacesVisible??!1}" SpaceBoundariesVisible="${this.spaceBoundariesVisible??!1}" OpeningsVisible="${this.openingsVisible??!1}" />`,y=(await this.createComponentTags("selection")).trim(),T=(await this.createComponentTags("exception")).trim(),R=this.createColorTags();return`<?xml version="1.0" encoding="UTF-8"?>
|
||
<VisualizationInfo Guid="${this.guid}">
|
||
<Components>
|
||
${t==="2.1"?m:""}
|
||
${y.length!==0?`<Selection>${y}</Selection>`:""}
|
||
<Visibility DefaultVisibility="${this.defaultVisibility}">
|
||
${t==="3"?m:""}
|
||
${T.length!==0?`<Exceptions>${T}</Exceptions>`:""}
|
||
</Visibility>
|
||
${R}
|
||
</Components>
|
||
${I}
|
||
</VisualizationInfo>`}},u0e=class extends __{constructor(){super(...arguments),Le(this,"_config",{overwriteColors:{value:!1,type:"Boolean"}})}get overwriteColors(){return this._config.overwriteColors.value}set overwriteColors(t){this._config.overwriteColors.value=t}},k2e=class c0e extends Gl{constructor(t){super(t),Le(this,"enabled",!0),Le(this,"world",null),Le(this,"list",new fo),Le(this,"snapshots",new fo),Le(this,"isSetup",!1),Le(this,"onSetup",new $i),Le(this,"config",new u0e(this,this.components,"Viewpoints",c0e.uuid)),Le(this,"onDisposed",new $i),t.add(c0e.uuid,this)}create(t){let i=new Uz(this.components,t);return i.world=this.world,t||this.list.set(i.guid,i),i}getSnapshotExtension(t){let i="jpeg",n=this.snapshots.get(t);if(!n)return i;let s=n.subarray(0,4),o="";for(let r=0;r<s.length;r++)o+=s[r].toString(16);return o.startsWith("89504e47")&&(i="png"),o.startsWith("ffd8ffe")&&(i="jpeg"),i}setup(){}dispose(){this.list.dispose(),this.onDisposed.trigger(),this.onDisposed.reset()}};Le(k2e,"uuid","ee867824-a796-408d-8aa0-4e5962a83c66");var e4=k2e,Hz=class{constructor(t,i){Le(this,"_components"),Le(this,"_cameraOffset",10),Le(this,"_planeHelper"),Le(this,"_farPlaneHelper"),Le(this,"_cameraHelper"),Le(this,"onStateChanged",new $i),Le(this,"onUpdated",new $i),Le(this,"onDisposed",new $i),Le(this,"camera"),Le(this,"plane",new es),Le(this,"farPlane",new es),Le(this,"id",dI.create()),Le(this,"_open",!1),Le(this,"_range",W2e.defaultRange),Le(this,"_world",null),Le(this,"_helpersVisible",!1),Le(this,"_planesEnabled",!1),this._components=t,this.camera=new NM(this._components);let{threeOrtho:n}=this.camera;if(i?.id&&(this.id=i.id),i?.normal&&i?.point){let{normal:s,point:o}=i;this.plane.setFromNormalAndCoplanarPoint(s,o)}this._cameraHelper=new DP(n),this._planeHelper=new _C(this.plane,50),this._farPlaneHelper=new _C(this.farPlane,50),this.farPlaneHelperColor=new Oi("blue"),this.update()}get _planeNormalOpposite(){return this.plane.normal.clone().negate()}get _planePosition(){return this.plane.normal.clone().multiplyScalar(-this.plane.constant)}get _cameraPosition(){return this._planePosition.addScaledVector(this._planeNormalOpposite,this._cameraOffset)}set open(t){this._open=t,this.onStateChanged.trigger(["open"])}get open(){return this._open}set planeHelperColor(t){!Array.isArray(this._planeHelper.material)&&"color"in this._planeHelper.material&&this._planeHelper.material.color instanceof Oi&&(this._planeHelper.material.color=t)}set farPlaneHelperColor(t){!Array.isArray(this._farPlaneHelper.material)&&"color"in this._farPlaneHelper.material&&this._farPlaneHelper.material.color instanceof Oi&&(this._farPlaneHelper.material.color=t)}set range(t){this._range=t,this.update()}get range(){return this._range}set distance(t){this.plane.constant=t,this.update()}get distance(){return this.plane.constant}set world(t){this._world=t,this.camera.currentWorld=t,t&&(this.camera.projection.set("Orthographic"),this.camera.set("Plan"),this.camera.controls.dollySpeed=6,this.camera.controls.restThreshold=.005,this.update())}get world(){return this._world}set helpersVisible(t){if(!t){this._helpersVisible=t,this._planeHelper.removeFromParent(),this._farPlaneHelper.removeFromParent(),this._cameraHelper.removeFromParent();return}this.world&&(this._helpersVisible=t,this.world.scene.three.add(this._planeHelper,this._farPlaneHelper))}get helpersVisible(){return this._helpersVisible}set planesEnabled(t){let{world:i}=this;if(!i)return;let{renderer:n}=i;n&&(n.setPlane(t,this.plane),n.setPlane(t,this.farPlane),this._planesEnabled=t)}get planesEnabled(){return this._planesEnabled}dispose(){this.helpersVisible=!1;let t=this._components.get(CM);t.destroy(this._planeHelper),t.destroy(this._farPlaneHelper),t.destroy(this._cameraHelper),this.camera.dispose(),this.onDisposed.trigger()}update(){if(this.world){let t=this._cameraPosition,i=this._planePosition;this.camera.controls.setLookAt(t.x,t.y,t.z,i.x,i.y,i.z,!1)}this.farPlane.normal.copy(this._planeNormalOpposite),this.farPlane.constant=this.range-this.plane.constant,this.onUpdated.trigger()}flip(){this.plane.normal.negate(),this.update()}},_0e=class z2e extends Gl{constructor(t){super(t),Le(this,"list",new fo),Le(this,"enabled",!0),Le(this,"world",null),Le(this,"_fragmentsUpdateEvent",()=>{this.components.get(_s).core.update(!0)}),t.add(z2e.uuid,this),this.setupEvents()}get hasOpenViews(){return[...this.list.values()].some(t=>t.open)}setupEvents(){this.list.onBeforeDelete.add(({key:t,value:i})=>{i.open&&this.close(t),i.dispose()})}create(t,i,n){let s=new Hz(this.components,{id:n?.id,normal:t,point:i});return s.world=n?.world??this.world,this.list.set(s.id,s),s}createFromPlane(t,i){let n=new Hz(this.components,{id:i?.id});return n.plane.copy(t),n.update(),n.world=i?.world??this.world,this.list.set(n.id,n),n}async createFromIfcStoreys(t){let i=[],n=this.components.get(_s),s=t?.offset===void 0?.25:t.offset;for(let[o,r]of n.list){if(t&&t.modelIds&&!t.modelIds.some(I=>I.test(o)))continue;let l=Object.values(await r.getItemsOfCategories([/BUILDINGSTOREY/])).flat();if(l.length===0)continue;let d=await r.getItemsData(l),[,h]=await r.getCoordinates(),p=new ye(0,-1,0);for(let I of d){if(!("value"in I.Name&&"value"in I.Elevation))continue;let{value:m}=I.Name;if(t?.storeyNames&&!t.storeyNames.some(b=>b.test(m)))continue;let y=I.Elevation.value+h+s,T=new es(p,y),R=this.createFromPlane(T,{id:m,world:t?.world});i.push(R)}}return i}createElevations(t){let i=[],n=this.components.get(_s),s=t?.combine===void 0?!1:t.combine,o=t?.namingCallback??(l=>({front:`${s?"Front":`${l}: Front`}`,back:`${s?"Back":`${l}: Back`}`,left:`${s?"Left":`${l}: Left`}`,right:`${s?"Right":`${l}: Right`}`})),r=[];for(let[l,d]of n.list)t&&t.modelIds&&!t.modelIds.some(h=>h.test(l))||r.push({id:l,box:d.box});if(r.length===0)return i;if(s){let l=this.components.get(S0e);l.list.clear(),l.list.add(...r.map(h=>h.box)),r=[{id:"combined",box:l.get()}]}for(let{id:l,box:d}of r){let{min:h,max:p}=d,I=Math.abs(p.x-h.x),m=Math.abs(p.z-h.z),y=new ye;d.getCenter(y);let T=new es(new ye(0,0,-1),p.z),R=new es(new ye(0,0,1),-h.z),b=new es(new ye(-1,0,0),p.x),A=new es(new ye(1,0,0),-h.x),{front:O,back:P,left:U,right:Z}=o(l),ne=this.createFromPlane(T,{id:O,world:t?.world});ne.range=m;let K=this.createFromPlane(R,{id:P,world:t?.world});K.range=m;let oe=this.createFromPlane(b,{id:U,world:t?.world});oe.range=I;let se=this.createFromPlane(A,{id:Z,world:t?.world});se.range=I,i.push(ne,K,oe,se)}return i}open(t){let i=this.list.get(t);if(!i)throw new Error(`Views: the view with id ${t} doesn't exist.`);if(i.open)return;let{world:n}=i;if(!n)throw new Error(`Views: no world found for view with id ${t}.`);let{renderer:s}=n;if(!s)throw new Error(`Views: no renderer found for world with id ${n.uuid}.`);for(let[,o]of this.list)o.world===n&&this.close(o.id);s.setPlane(!0,i.plane),s.setPlane(!0,i.farPlane),i.camera.controls.addEventListener("rest",this._fragmentsUpdateEvent),n.camera=i.camera,i.open=!0}close(t){let i;if(t?i=this.list.get(t):i=[...this.list.values()].find(o=>o.open),t&&!i)throw new Error(`Views: the view with id ${t} doesn't exist.`);if(!i||!i.open)return;let{world:n}=i;if(!n)throw new Error(`Views: no world found for view with id ${t}.`);let{renderer:s}=n;if(!s)throw new Error(`Views: no renderer found for world with id ${n.uuid}.`);s.setPlane(!1,i.plane),s.setPlane(!1,i.farPlane),i.camera.controls.removeEventListener("rest",this._fragmentsUpdateEvent),n.useDefaultCamera(),i.open=!1}};Le(_0e,"uuid","fb22f1f5-6598-4664-a11d-de8963ae420f");Le(_0e,"defaultRange",15);var W2e=_0e;function gWe(e,t,i,n){return new Promise((s,o)=>{function r(){let l=e.clientWaitSync(t,i,0);if(l===e.WAIT_FAILED){o();return}if(l===e.TIMEOUT_EXPIRED){setTimeout(r,n);return}s()}r()})}async function wWe(e,t,i,n,s,o,r){let l=e.fenceSync(e.SYNC_GPU_COMMANDS_COMPLETE,0);e.flush(),await gWe(e,l,0,10),e.deleteSync(l),e.bindBuffer(t,i),e.getBufferSubData(t,n,s,o,r),e.bindBuffer(t,null)}async function vWe(e,t,i,n,s,o,r,l){let d=e.createBuffer();return e.bindBuffer(e.PIXEL_PACK_BUFFER,d),e.bufferData(e.PIXEL_PACK_BUFFER,l.byteLength,e.STREAM_READ),e.readPixels(t,i,n,s,o,r,0),e.bindBuffer(e.PIXEL_PACK_BUFFER,null),await wWe(e,e.PIXEL_PACK_BUFFER,d,0,l),e.deleteBuffer(d),l}var d0e=class{constructor(t,i){if(Le(this,"onDisposed",new $i),Le(this,"onDistanceComputed",new $i),Le(this,"excludedObjects",new Set),Le(this,"enabled",!0),Le(this,"renderDebugFrame",!1),Le(this,"components"),Le(this,"scene",new HI),Le(this,"camera",new ba(-1,1,1,-1,0,1)),Le(this,"depthMaterial"),Le(this,"world"),Le(this,"worker"),Le(this,"_width",512),Le(this,"_height",512),Le(this,"_postQuad"),Le(this,"tempRT"),Le(this,"resultRT"),Le(this,"bufferSize"),Le(this,"_buffer"),Le(this,"_isWorkerBusy",!1),Le(this,"compute",async()=>{if(!this.enabled||this.world.isDisposing||this._isWorkerBusy)return;this._isWorkerBusy=!0,this.world.camera.three.updateMatrix();let l=this.world.renderer.three;l.setRenderTarget(this.tempRT);let d="visibilityBeforeDistanceCheck";for(let p of this.excludedObjects)p.userData[d]=p.visible,p.visible=!1;l.render(this.world.scene.three,this.world.camera.three);for(let p of this.excludedObjects)p.userData[d]!==void 0&&(p.visible=p.userData[d]);this.depthMaterial.uniforms.tDiffuse.value=this.tempRT.texture,this.depthMaterial.uniforms.tDepth.value=this.tempRT.depthTexture,l.setRenderTarget(this.resultRT),l.render(this.scene,this.camera);let h=l.getContext();try{await vWe(h,0,0,this._width,this._height,h.RGBA,h.UNSIGNED_BYTE,this._buffer)}catch{l.setRenderTarget(null),this._isWorkerBusy=!1;return}l.setRenderTarget(null),this.renderDebugFrame&&l.render(this.scene,this.camera),this.worker.postMessage({buffer:this._buffer})}),Le(this,"handleWorkerMessage",l=>{if(!this.enabled||this.world.isDisposing)return;let d=l.data.colors,h=Number.MAX_VALUE;for(let T of d)T!==0&&T<h&&(h=T);let p=this.world.camera.three||ba,m=(h/255-1)*-1*(p.far-p.near),y=Math.min(m,p.far);this.onDistanceComputed.trigger(y),this._isWorkerBusy=!1}),!i.renderer)throw new Error("The given world must have a renderer!");this.components=t,this.world=i;let n=i.camera.three;this.tempRT=new ka(this._width,this._height),this.bufferSize=this._width*this._height*4,this._buffer=new Uint8Array(this.bufferSize),this.tempRT.texture.minFilter=Vs,this.tempRT.texture.magFilter=Vs,this.tempRT.stencilBuffer=!1,this.tempRT.samples=0,this.tempRT.depthTexture=new Zl(this._width,this._height),this.tempRT.depthTexture.format=Aa,this.tempRT.depthTexture.type=mh,this.resultRT=new ka(this._width,this._height),this.depthMaterial=new Kl({vertexShader:`
|
||
varying vec2 vUv;
|
||
|
||
void main() {
|
||
vUv = uv;
|
||
gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);
|
||
}
|
||
`,fragmentShader:`
|
||
#include <packing>
|
||
|
||
varying vec2 vUv;
|
||
uniform sampler2D tDiffuse;
|
||
uniform sampler2D tDepth;
|
||
uniform float cameraNear;
|
||
uniform float cameraFar;
|
||
|
||
|
||
float readDepth( sampler2D depthSampler, vec2 coord ) {
|
||
float fragCoordZ = texture2D( depthSampler, coord ).x;
|
||
float viewZ = perspectiveDepthToViewZ( fragCoordZ, cameraNear, cameraFar );
|
||
return viewZToOrthographicDepth( viewZ, cameraNear, cameraFar );
|
||
}
|
||
|
||
void main() {
|
||
//vec3 diffuse = texture2D( tDiffuse, vUv ).rgb;
|
||
float depth = readDepth( tDepth, vUv );
|
||
|
||
gl_FragColor.rgb = 1.0 - vec3( depth );
|
||
gl_FragColor.a = 1.0;
|
||
}
|
||
`,uniforms:{cameraNear:{value:n.near},cameraFar:{value:n.far},tDiffuse:{value:null},tDepth:{value:null}}});let s=new dp(2,2);this._postQuad=new _i(s,this.depthMaterial),this.scene.add(this._postQuad);let o=`
|
||
addEventListener("message", (event) => {
|
||
const { buffer } = event.data;
|
||
const colors = new Set();
|
||
for (let i = 0; i < buffer.length; i += 4) {
|
||
const r = buffer[i];
|
||
colors.add(r);
|
||
}
|
||
postMessage({ colors });
|
||
});
|
||
`,r=new Blob([o],{type:"application/javascript"});this.worker=new Worker(URL.createObjectURL(r)),this.worker.addEventListener("message",this.handleWorkerMessage)}dispose(){this.enabled=!1,this.onDistanceComputed.reset(),this.worker.terminate(),this.tempRT.dispose(),this.resultRT.dispose();let t=[...this.scene.children];this.excludedObjects.clear();for(let i of t)i.removeFromParent();this._postQuad.geometry.dispose(),this._postQuad.removeFromParent(),this._buffer=null,this.onDisposed.reset()}},h0e=class extends HQ{constructor(){super(...arguments),Le(this,"_distanceRenderer"),Le(this,"autoBias",!0),Le(this,"_defaultShadowConfig",{cascade:1,resolution:512}),Le(this,"_lightsWithShadow",new Map),Le(this,"_isComputingShadows",!1),Le(this,"_shadowsEnabled",!0),Le(this,"_bias",0),Le(this,"recomputeShadows",t=>{if(!this._shadowsEnabled)return;if(this.autoBias&&(this.bias=-.005),t*=1.5,!this.currentWorld)throw new Error("A world needs to be assigned to the scene before computing shadows!");if(!this._lightsWithShadow.size)throw new Error("No shadows found!");let n=this.currentWorld.camera.three;if(!(n instanceof xo)&&!(n instanceof ba))throw new Error("Invalid camera type!");let s=new ye;n.getWorldDirection(s);let o=t,r=new ye;r.copy(this.config.directionalLight.position),r.normalize();for(let[l,d]of this._lightsWithShadow){let h=this.directionalLights.get(d);if(!h)throw new Error("Light not found.");let p=new ye;p.copy(s);let I=l===this._lightsWithShadow.size-1,m=I?o/2:o*2/3;p.multiplyScalar(m),p.add(n.position);let y=o-m,T=new ye;T.copy(r),T.multiplyScalar(y),h.target.position.copy(p),h.position.copy(p),h.position.add(T),h.shadow.camera.right=y,h.shadow.camera.left=-y,h.shadow.camera.top=y,h.shadow.camera.bottom=-y,h.shadow.camera.far=y*2,h.shadow.camera.updateProjectionMatrix(),h.shadow.camera.updateMatrix(),I||(o/=3)}this._isComputingShadows=!1})}get bias(){return this._bias}set bias(t){this._bias=t;for(let[,i]of this._lightsWithShadow){let n=this.directionalLights.get(i);n&&(n.shadow.bias=t)}}get shadowsEnabled(){return this._shadowsEnabled}set shadowsEnabled(t){this._shadowsEnabled=t;for(let[,i]of this.directionalLights)i.castShadow=t}get distanceRenderer(){if(!this._distanceRenderer)throw new Error("You must set up this component before accessing the distance renderer!");return this._distanceRenderer}setup(t){super.setup(t);let i={...this._defaultConfig,...this._defaultShadowConfig,...t};if(i.cascade<=0)throw new Error("Config.shadows.cascade must be a natural number greater than 0!");if(i.cascade>1)throw new Error("Multiple shadows not supported yet!");if(!this.currentWorld)throw new Error("A world needs to be assigned to the scene before setting it up!");for(let[,n]of this.directionalLights)n.target.removeFromParent(),n.removeFromParent(),n.dispose();this.directionalLights.clear(),this._distanceRenderer||(this._distanceRenderer=new d0e(this.components,this.currentWorld),this._distanceRenderer.onDistanceComputed.add(this.recomputeShadows)),this._lightsWithShadow.clear();for(let n=0;n<i.cascade;n++){let s=new sw;s.intensity=this.config.directionalLight.intensity,s.color=this.config.directionalLight.color,s.position.copy(this.config.directionalLight.position),s.shadow.mapSize.width=i.resolution,s.shadow.mapSize.height=i.resolution,this.three.add(s,s.target),this.directionalLights.set(s.uuid,s),this._lightsWithShadow.set(n,s.uuid),s.castShadow=!0,s.shadow.bias=this._bias}}dispose(){super.dispose(),this._distanceRenderer&&this._distanceRenderer.dispose(),this._lightsWithShadow.clear()}async updateShadows(){this._isComputingShadows||!this._shadowsEnabled||(this._isComputingShadows=!0,await this.distanceRenderer.compute())}},sA=class{constructor(t){Le(this,"cardinality","required"),Le(this,"instructions"),Le(this,"evalRequirement",(i,n,s,o)=>{let r={parameter:s,currentValue:i,requiredValue:n,pass:!1};o&&this.addCheckResult(r,o);let l=!1;if(n.type==="simple"&&(l=i===n.parameter),n.type==="enumeration"&&(l=n.parameter.includes(i)),n.type==="pattern"&&(l=new RegExp(n.parameter).test(String(i))),n.type==="length"){let{min:d,length:h,max:p}=n.parameter;h!==void 0&&(l=String(i).length===h),d!==void 0&&(l=String(i).length>=d),p!==void 0&&(l=String(i).length<=p)}if(n.type==="bounds"&&typeof i=="number"){let{min:d,minInclusive:h,max:p,maxInclusive:I}=n.parameter,m=!0,y=!0;d!==void 0&&(m=h?i>=d:i>d),p!==void 0&&(y=I?i<=p:i<p),l=m&&y}return this.cardinality==="prohibited"&&(l=!l),this.cardinality==="optional"&&(l=!0),r.pass=l,r.pass}),this._components=t}addCheckResult(t,i){let n=i.findIndex(({parameter:s})=>s===t.parameter);n!==-1?i[n]=t:i.push(t)}getItemChecks(t,i,n,s){if(!("value"in n._localId&&typeof n._localId.value=="number"))return null;let o=t.get(i);o||(o=new fo,t.set(i,o));let r=o.get(n._localId.value);if(r&&s&&!r.pass)return null;if(!r){let h=[];r={guid:Array.isArray(n._guid)?void 0:n._guid.value,pass:!1,checks:h},Object.defineProperty(r,"pass",{get:()=>h.every(({pass:p})=>p)}),o.set(n._localId.value,r)}let l=[],d={facetType:this.facetType,cardinality:this.cardinality,checks:l,pass:!1};return Object.defineProperty(d,"pass",{get:()=>l.every(({pass:h})=>h)}),r.checks.push(d),d.checks}},t4=(e,t)=>{let i="";if(!t)return i;if(t.type==="simple"&&(i=`<simpleValue>${t.parameter}</simpleValue>`),t.type==="enumeration"&&(i=`<xs:restriction base="xs:string">
|
||
${t.parameter.map(o=>`<xs:enumeration value="${o}" />`).join(`
|
||
`)}
|
||
</xs:restriction>`),t.type==="pattern"&&(i=`<xs:restriction base="xs:string">
|
||
<xs:pattern value="${t.parameter}" />
|
||
</xs:restriction>`),t.type==="bounds"){let{min:s,minInclusive:o,max:r,maxInclusive:l}=t.parameter,d="";s!==void 0&&(d=`<xs:min${o?"Inclusive":"Exclusive"} value="${s}">`);let h="";r!==void 0&&(h=`<xs:max${l?"Inclusive":"Exclusive"} value="${r}">`),i=`<xs:restriction base="xs:double">
|
||
${d}
|
||
${h}
|
||
</xs:restriction>`}if(t.type==="length"){let{length:s,min:o,max:r}=t.parameter,l="";s!==void 0&&o===void 0&&r===void 0&&(l=`<xs:length value="${s}" />`);let d="";o!==void 0&&s===void 0&&(d=`<xs:minLength value="${o}" />`);let h="";r!==void 0&&s===void 0&&(h=`<xs:maxLength value="${r}" />`),i=`<xs:restriction base="xs:string">
|
||
${l}
|
||
${d}
|
||
${h}
|
||
</xs:restriction>`}return`<${e[0].toLowerCase()+e.slice(1)}>
|
||
${i}
|
||
</${e[0].toLowerCase()+e.slice(1)}>`},$Q=class extends sA{constructor(t,i){super(t),Le(this,"facetType","Attribute"),Le(this,"name"),Le(this,"value"),this.name=i}serialize(t){let i=t4("Name",this.name),n=t4("Value",this.value),s="";return t==="requirement"&&(s+=`cardinality="${this.cardinality}"`,s+=this.instructions?`instructions="${this.instructions}"`:""),`<attribute ${s}>
|
||
${i}
|
||
${n}
|
||
</attribute>`}async getEntities(){}async test(t,i,n={skipIfFails:!0}){let s=this._components.get(_s);for(let[o,r]of Object.entries(t)){let l=s.list.get(o);if(!l)continue;let d=await l.getItemsData([...r]);for(let h of d){let p=this.getItemChecks(i,o,h,n.skipIfFails);if(!p)continue;let m=Object.keys(h).filter(T=>{let R=this.evalRequirement(T,this.name,"Name");if(!R)return!1;let b=h[T];return Array.isArray(b)?!0:b===null||b.value===null?this.cardinality==="optional"||this.cardinality==="prohibited":Array.isArray(b.value)&&b.value.length===0||typeof b.value=="string"&&b.value.trim()===""?!1:R}),y=m.length>0;if(p.push({parameter:"Name",currentValue:y?m[0]:null,requiredValue:this.name,pass:this.cardinality==="prohibited"?!y:y}),this.value)if(m[0]){let T=h[m[0]];Array.isArray(T)?p.push({parameter:"Value",currentValue:null,requiredValue:this.value,pass:this.cardinality==="prohibited"}):Array.isArray(T.value)?p.push({parameter:"Value",currentValue:null,requiredValue:this.value,pass:this.cardinality==="prohibited"}):this.evalRequirement(T.value,this.value,"Value",p)}else p.push({parameter:"Value",currentValue:null,requiredValue:this.value,pass:this.cardinality==="prohibited"})}}}},ZQ=class extends sA{constructor(t,i){super(t),Le(this,"facetType","Classification"),Le(this,"system"),Le(this,"value"),Le(this,"uri"),this.system=i}serialize(t){let i=t4("System",this.system),n=t4("Value",this.value),s="";return t==="requirement"&&(s+=`cardinality="${this.cardinality}"`,s+=this.uri?`uri=${this.uri}`:"",s+=this.instructions?`instructions="${this.instructions}"`:""),`<classification ${s}>
|
||
${i}
|
||
${n}
|
||
</classification>`}async getEntities(t,i){}async test(t,i){}},DM=class extends sA{constructor(t,i){super(t),Le(this,"facetType","Entity"),Le(this,"name"),Le(this,"predefinedType"),this.name=i}serialize(t){let i=t4("Name",this.name),n=t4("Name",this.predefinedType),s="";return t==="requirement"&&(s+=`cardinality="${this.cardinality}"`,s+=this.instructions?`instructions="${this.instructions}"`:""),`<entity ${s}>
|
||
${i}
|
||
${n}
|
||
</entity>`}async getEntities(t,i){let n=this._components.get(_s),s=new Map;for(let[r,l]of n.list){if(!t.find(p=>p.test(r)))continue;let h=await l.getCategories();for(let p of h){if(!await this.evalName(p))continue;let m=s.get(r);m||(m=[],s.set(r,m)),m.push(p)}}let o={};if(await Promise.all(Array.from(s.entries()).map(async([r,l])=>{let d=n.list.get(r);if(!d)return;let h=l.map(m=>new RegExp(`^${m}$`)),p=await d.getItemsOfCategories(h),I=Object.values(p).flat();o[r]=new Set(I)})),!this.predefinedType){Kh.add(i,o);return}for(let[r,l]of Object.entries(o)){let d=n.list.get(r);if(!d)continue;let h=await d.getItemsData([...l]);for(let p of h){if(!("value"in p._localId))continue;await this.evalPredefinedType(r,p)&&Kh.append(i,r,p._localId.value)}}}async test(t,i,n){let s=this._components.get(_s);for(let[o,r]of Object.entries(t)){let l=s.list.get(o);if(!l)continue;let d=await l.getItemsData([...r]);for(let h of d){if(!("value"in h._category))continue;let p=this.getItemChecks(i,o,h,n.skipIfFails);p&&(await this.evalName(h._category.value,p),await this.evalPredefinedType(o,h,p))}}}async evalName(t,i){return this.evalRequirement(t,this.name,"Name",i)}async evalPredefinedType(t,i,n){if(!this.predefinedType||!("value"in i.PredefinedType))return null;let s=typeof this.predefinedType.parameter=="string"&&this.predefinedType.parameter==="USERDEFINED",o=i.PredefinedType.value;if(o==="USERDEFINED"&&!s){let d=Object.keys(i).find(h=>/^((?!Predefined).)*Type$/.test(h));if(d){let h=i[d];"value"in h&&(o=h.value)}else o="USERDEFINED"}if(!o){let d=this._components.get(_s).list.get(t);if(d&&"value"in i._localId){let[h]=await d.getItemsData([i._localId.value],{relations:{IsTypedBy:{attributes:!0,relations:!1}}});if(Array.isArray(h.IsTypedBy)){let p=h.IsTypedBy[0];if(p&&"value"in p.PredefinedType&&(o=p.PredefinedType.value,o==="USERDEFINED"&&!s)){let m=Object.keys(p).find(y=>/^((?!Predefined).)*Type$/.test(y));if(m){let y=p[m];"value"in y&&(o=y.value)}else o="USERDEFINED"}}}}return this.evalRequirement(o,this.predefinedType,"PredefinedType",n)}},KQ=class extends sA{constructor(t,i,n){super(t),Le(this,"facetType","Property"),Le(this,"propertySet"),Le(this,"baseName"),Le(this,"value"),Le(this,"dataType"),Le(this,"uri"),Le(this,"_unsupportedTypes",["IFCCOMPLEXPROPERTY","IFCPHYSICALCOMPLEXQUANTITY"]),this.propertySet=i,this.baseName=n}serialize(t){let i=t4("PropertySet",this.propertySet),n=t4("BaseName",this.baseName),s=t4("Value",this.value),o=this.dataType?`dataType=${this.dataType}`:"",r="";return t==="requirement"&&(r+=`cardinality="${this.cardinality}"`,r+=this.uri?`uri=${this.uri}`:"",r+=this.instructions?`instructions="${this.instructions}"`:""),`<property ${o} ${r}>
|
||
${i}
|
||
${n}
|
||
${s}
|
||
</property>`}async getEntities(t,i){let n=this._components.get(_s);for(let[s,o]of n.list){if(!t.find(p=>p.test(s)))continue;let l=await o.getItemsOfCategories([/PROPERTYSET/,/ELEMENTQUANTITY/]),d=Object.values(l).flat();if(d.length===0)continue;let h=await o.getItemsData(d,{relations:{HasProperties:{attributes:!0,relations:!1},DefinesOcurrence:{attributes:!0,relations:!1}}});for(let p of h){if(!("value"in p._localId&&"value"in p._category&&"value"in p.Name&&Array.isArray(p.DefinesOcurrence))||!this.evalRequirement(p.Name.value,this.propertySet,"PropertySet"))continue;let m;if(p._category.value==="IFCPROPERTYSET"&&(m="HasProperties"),p._category.value==="IFCELEMENTQUANTITY"&&(m="Quantities"),!m)continue;let y=p[m];if(Array.isArray(y))for(let T of y){let R=Object.keys(T),b=R.find(U=>/Name/.test(U));if(!(b&&"value"in T[b]))continue;let A=T[b];if(!("value"in A)||!this.evalRequirement(A.value,this.baseName,"BaseName"))continue;if(this.value){let U=R.find(K=>/Value/.test(K));if(!U)continue;let Z=T[U];if(!("value"in Z)||!this.evalRequirement(Z.value,this.value,"Value"))continue}let P=p.DefinesOcurrence.map(U=>"value"in U._localId&&typeof U._localId.value=="number"?U._localId.value:null).filter(U=>U!==null);Kh.append(i,s,...P)}}}}async test(t,i,n={skipIfFails:!0}){let s=this._components.get(_s);for(let[o,r]of Object.entries(t)){let l=s.list.get(o);if(!l)continue;let d=await l.getItemsData([...r],{relations:{IsDefinedBy:{attributes:!0,relations:!0},IsTypedBy:{attributes:!0,relations:!1},HasPropertySets:{attributes:!0,relations:!0},DefinesOcurrence:{attributes:!1,relations:!1}}});for(let h of d){let p=this.getItemChecks(i,o,h,n.skipIfFails);if(!p)continue;let m=(await this.getPsets(h)).filter(y=>!("value"in y.Name)||!this.evalRequirement(y.Name.value,this.propertySet,"PropertySet")?!1:(p.push({currentValue:y.Name.value,parameter:"PropertySet",pass:!0,requiredValue:this.propertySet}),!0));if(m.length===0){p.push({currentValue:null,parameter:"PropertySet",pass:!1,requiredValue:this.propertySet});continue}for(let y of m){let T=this.getPropertyListName(y);if(!T)continue;let R=y[T];if(!Array.isArray(R)){p.push({currentValue:null,parameter:"BaseName",pass:!1,requiredValue:this.baseName});continue}let b=R.filter(A=>!("value"in A._category&&"value"in A.Name)||this._unsupportedTypes.includes(A._category.value)||!this.evalRequirement(A.Name.value,this.baseName,"BaseName")?!1:(p.push({currentValue:A.Name.value,parameter:"BaseName",pass:!0,requiredValue:this.baseName}),!0));if(b.length===0){p.push({currentValue:null,parameter:"BaseName",pass:!1,requiredValue:this.baseName});continue}for(let A of b)this.evalValue(A,p),this.evalDataType(A,p),this.evalURI()}}}}getPropertyListName(t){let i;return"value"in t._category&&(t._category.value==="IFCPROPERTYSET"&&(i="HasProperties"),t._category.value==="IFCELEMENTQUANTITY"&&(i="Quantities")),i}getValueKey(t){return Object.keys(t).find(i=>/Value/.test(i)||/Values/.test(i))}getTypePsets(t){if(!Array.isArray(t.IsTypedBy))return[];let[i]=t.IsTypedBy;return i&&Array.isArray(i.HasPropertySets)?i.HasPropertySets:[]}async getPsets(t){let i=this.getTypePsets(t);if(!Array.isArray(t.IsDefinedBy))return i;let n=[];for(let s of t.IsDefinedBy){if(!("value"in s.Name))continue;let o=s.Name.value,r=this.getPropertyListName(s);if(!(o&&r))continue;let l=i.find(d=>"value"in d.Name?d.Name.value===o:!1);if(l&&Array.isArray(l.HasProperties)&&Array.isArray(s.HasProperties))for(let d of l.HasProperties){if(!("value"in d.Name))continue;let h=d.Name.value;s.HasProperties.find(I=>"value"in I.Name?I.Name.value===h:!1)||s.HasProperties.push(d)}n.push(s)}return n}evalValue(t,i){let n=this.getValueKey(t),s=t[n];if(!("value"in s))return!1;if(this.value){if(!n)return i?.push({parameter:"Value",currentValue:null,pass:!1,requiredValue:this.value}),!1;let o=structuredClone(this.value);return s.type==="IFCLABEL"&&o.type==="simple"&&(o.parameter=String(o.parameter)),this.evalRequirement(s.value,o,"Value",i)}return n&&typeof s.value=="string"&&s.value.trim()===""?(i?.push({parameter:"Value",currentValue:"",pass:!1,requiredValue:this.value}),!1):!0}evalDataType(t,i){if(!this.dataType)return!0;let n=this.getValueKey(t);if(!(n&&"value"in t[n]))return i?.push({parameter:"DataType",currentValue:null,pass:!1,requiredValue:this.dataType}),!1;let s=t[n];return this.evalRequirement(s.type??null,{type:"simple",parameter:this.dataType},"DataType",i)}evalURI(){return!0}},QQ=class extends sA{constructor(){super(...arguments),Le(this,"_ifcMaterialEntities",[/^IFCMATERIALLAYERSETUSAGE$/,/^IFCMATERIALCONSTITUENTSET$/,/^IFCMATERIAL$/,/^IFCMATERIALLIST$/]),Le(this,"facetType","Material"),Le(this,"value"),Le(this,"uri")}serialize(t){if(!(this.value&&this.uri))return"<material />";let i=t4("Value",this.value),n="";return t==="requirement"&&(n+=`cardinality="${this.cardinality}"`,n+=this.uri?`uri=${this.uri}`:"",n+=this.instructions?`instructions="${this.instructions}"`:""),`<material ${n}>
|
||
${i}
|
||
</material>`}async getEntities(t,i){let n=this._components.get(_s);for(let[s,o]of n.list){if(!t.find(p=>p.test(s)))continue;let l=await o.getItemsOfCategories(this._ifcMaterialEntities),d=Object.values(l).flat();if(d.length===0)continue;let h=await o.getItemsData(d,{relations:{AssociatedTo:{attributes:!0,relations:!1},MaterialConstituents:{attributes:!0,relations:!0},ForLayerSet:{attributes:!0,relations:!0},MaterialLayers:{attributes:!0,relations:!0},Materials:{attributes:!0,relations:!1}}});for(let p of h){if(!("value"in p._localId&&"value"in p._category&&Array.isArray(p.AssociatedTo))||!this.hasValidMaterial(p))continue;let m=p.AssociatedTo.map(y=>"value"in y._localId&&y._localId.value?y._localId.value:null).filter(y=>y!==null);Kh.append(i,s,...m)}}}async test(t,i,n={skipIfFails:!0}){let s=this._components.get(_s);for(let[o,r]of Object.entries(t)){let l=s.list.get(o);if(!l)continue;let d=await l.getItemsData([[...r][0]],{relations:{AssociatedTo:{attributes:!1,relations:!1},HasAssociations:{attributes:!0,relations:!0},MaterialConstituents:{attributes:!0,relations:!0},ForLayerSet:{attributes:!0,relations:!0},MaterialLayers:{attributes:!0,relations:!0},Materials:{attributes:!0,relations:!1}}});for(let h of d){let p=this.getItemChecks(i,o,h,n.skipIfFails);if(p){if(!Array.isArray(h.HasAssociations)){p.push({parameter:null,currentValue:null,requiredValue:this.value,pass:!1});continue}for(let I of h.HasAssociations){if(!this._ifcMaterialEntities.some(y=>"value"in I._category?y.test(I._category.value):!1))continue;if(this.hasValidMaterial(I,p))break}}}}}hasValidMaterial(t,i){let n=!1;if("value"in t._category&&t._category.value==="IFCMATERIAL")this.evalValue(t,i)&&(n=!0);else for(let[s,o]of Object.entries(t))if(["ForLayerSet","MaterialLayers","Material","MaterialConstituents","Materials"].includes(s)&&Array.isArray(o)){for(let r of o)if("value"in r._category&&r._category.value==="IFCMATERIAL"){if(this.evalValue(r,i)){n=!0;break}}else if(this.hasValidMaterial(r)){n=!0;break}}return n}evalValue(t,i){if(!this.value)return i?.push({parameter:null,currentValue:t.Name&&"value"in t.Name?t.Name.value:null,pass:!0}),!0;if(!("value"in t._category&&t._category.value==="IFCMATERIAL"))return null;let n=!1;return t.Name&&"value"in t.Name&&(n=this.evalRequirement(t.Name.value,this.value,"Value",i)),n||(t.Category&&"value"in t.Category&&(n=this.evalRequirement(t.Category.value,this.value,"Value",i)),n)}},JQ=class extends sA{constructor(t,i){super(t),Le(this,"facetType","PartOf"),Le(this,"_entityFacet"),Le(this,"_entity"),Le(this,"relation"),Le(this,"cardinality","required"),this._entity=i,this._entityFacet=new DM(t,i.name),this._entityFacet.predefinedType=i.predefinedType}set entity(t){this._entity=t;let{name:i,predefinedType:n}=t;this._entityFacet=new DM(this._components,i),this._entityFacet.predefinedType=n}get entity(){return this._entity}serialize(){return""}async getEntities(t,i){}async test(t){}},XQ=class{constructor(t,i,n){Le(this,"name"),Le(this,"ifcVersion",new Set),Le(this,"identifier",dI.create()),Le(this,"description"),Le(this,"instructions"),Le(this,"requirementsDescription"),Le(this,"applicability",new sI),Le(this,"requirements",new sI),Le(this,"components"),this.components=t,this.name=i;for(let s of n)this.ifcVersion.add(s)}set(t){let i=t,n=this;for(let o in t){if(o==="identifier")continue;let r=i[o];o in this&&(n[o]=r)}return this.components.get(Y2e).list.set(this.identifier,this),this}async test(t,i={skipIfFails:!0}){let n=new fo;if(this.requirements.size===0)return n;let s={},o=[];for(let l of this.applicability)o.push(l.getEntities(t,s));await Promise.all(o);let r=[];for(let l of this.requirements)r.push(l.test(s,n,i));return await Promise.all(r),n}serialize(){let t=`name="${this.name}"`,i=this.identifier?`identifier="${this.identifier}"`:"",n=this.description?`description="${this.description}"`:"",s=this.instructions?`instructions="${this.instructions}"`:"";return`<specification ifcVersion="${[...this.ifcVersion].join(" ")}" ${t} ${i} ${n} ${s}>
|
||
<applicability minOccurs="1" maxOccurs="unbounded">
|
||
${[...this.applicability].map(r=>r.serialize("applicability")).join(`
|
||
`)}
|
||
</applicability>
|
||
<requirements>
|
||
${[...this.requirements].map(r=>r.serialize("requirement")).join(`
|
||
`)}
|
||
</requirements>
|
||
</specification>`}},bE=e=>{if(!e)return;let t={};if("simpleValue"in e&&(t.type="simple",t.parameter=e.simpleValue),"restriction"in e){let i=e.restriction,n=Object.keys(i);if("pattern"in i&&(t.type="pattern",t.parameter=i.pattern.value),"enumeration"in i){t.type="enumeration";let s=i.enumeration.map(({value:o})=>i.base.includes("string")?String(o):i.base.includes("integer")||i.base.includes("double")?Number(o):o);t.parameter=s}if(n.some(s=>["minInclusive","minExclusive","maxInclusive","maxExclusive"].includes(s))){t.type="bounds";let s={},o=n.find(l=>l.includes("min")),r=n.find(l=>l.includes("max"));o&&(s.minInclusive=o==="minInclusive",s.min=i[o].value),r&&(s.maxInclusive=r==="maxInclusive",s.max=i[r].value),t.parameter=s}if(n.some(s=>["minLength","length","maxLength"].includes(s))){t.type="length";let s={};i.length!==void 0&&(s.length=i.length.value),i.minLength!==void 0&&(s.min=i.minLength.value),i.maxLength!==void 0&&(s.max=i.maxLength.value),t.parameter=s}}if(t.parameter!==void 0)return t},Gwe=(e,t)=>{let i=[];for(let n of t){let s=n.name,o=bE(s);if(!o)continue;let r=new DM(e,o);n.cardinality&&(r.cardinality=n.cardinality),r.predefinedType=bE(n.predefinedType),r.instructions=n.instructions,i.push(r)}return i},Vwe=(e,t)=>{let i=[];for(let n of t){let s=n.name,o=bE(s);if(!o)continue;let r=new $Q(e,o);n.cardinality&&(r.cardinality=n.cardinality),r.value=bE(n.value),r.instructions=n.instructions,i.push(r)}return i},kwe=(e,t)=>{let i=[];for(let n of t){let s=new QQ(e);n.cardinality&&(s.cardinality=n.cardinality);let o=bE(n.value);o?.type==="enumeration"&&Array.isArray(o.parameter)&&(o.parameter=o.parameter.map(String)),s.value=o,s.uri=n.uri,s.instructions=n.instructions,i.push(s)}return i},zwe=(e,t)=>{let i=[];for(let n of t){let s=n.propertySet,o=n.baseName,r=bE(s),l=bE(o);if(!(l&&r))continue;let d=new KQ(e,r,l);n.cardinality&&(d.cardinality=n.cardinality);let h=bE(n.value);d.value=h,d.dataType=n.dataType,d.uri=n.uri,d.instructions=n.instructions,i.push(d)}return i},Wwe=(e,t)=>{let i=[];for(let n of t){let s=n.system,o=bE(s);if(!o)continue;let r=new ZQ(e,o);n.cardinality&&(r.cardinality=n.cardinality);let l=bE(n.value);l?.type==="simple"&&(l.parameter=String(l.parameter)),l?.type==="enumeration"&&Array.isArray(l.parameter)&&(l.parameter=l.parameter.map(String)),r.value=l,r.uri=n.uri,r.instructions=n.instructions,i.push(r)}return i},Ywe=(e,t)=>{let i=[];for(let n of t){let s=bE(n.entity.name);if(!s)continue;let o=bE(n.entity.predefinedType),r=new JQ(e,{name:s,predefinedType:o});r.relation=n.relation,n.cardinality&&(r.cardinality=n.cardinality),r.instructions=n.instructions,i.push(r)}return i},D0e=class f0e extends Gl{constructor(t){super(t),Le(this,"enabled",!0),Le(this,"IDSInfo"),Le(this,"list",new fo),t.add(f0e.uuid,this)}getModelIdMap(t){let i={},n={};for(let[s,o]of t){let l=[...o].filter(([,p])=>p.pass).map(([p])=>p);Kh.append(i,s,...l);let h=[...o].filter(([,p])=>!p.pass).map(([p])=>p);Kh.append(n,s,...h)}return{pass:i,fail:n}}create(t,i,n){let s=new XQ(this.components,t,i);return n&&(s.identifier=n),this.list.set(s.identifier,s),s}load(t){let i=[],n=f0e.xmlParser.parse(t).ids,{specifications:s,info:o}=n;if(this.IDSInfo={...o},s&&s.specification){let r=Array.isArray(s.specification)?s.specification:[s.specification];for(let l of r){let{name:d,ifcVersion:h,description:p,instructions:I,identifier:m}=l;if(!(d&&h))continue;let y=[],T=[],{applicability:R,requirements:b}=l;if(R){let{maxOccurs:P,...U}=R,Z=Array.isArray(U)?U:[U];for(let ne of Z)for(let K in ne){let oe=Array.isArray(ne[K])?ne[K]:[ne[K]];if(K==="entity"){let se=Gwe(this.components,oe);y.push(...se)}if(K==="attribute"){let se=Vwe(this.components,oe);y.push(...se)}if(K==="material"){let se=kwe(this.components,oe);y.push(...se)}if(K==="classification"){let se=Wwe(this.components,oe);y.push(...se)}if(K==="property"){let se=zwe(this.components,oe);y.push(...se)}if(K==="partOf"){let se=Ywe(this.components,oe);y.push(...se)}}}let A;if(b){let{maxOccurs:P,...U}=b;A=b.description;let Z=Array.isArray(U)?U:[U];for(let ne of Z)for(let K in ne){let oe=Array.isArray(ne[K])?ne[K]:[ne[K]];if(K==="entity"){let se=Gwe(this.components,oe);T.push(...se)}if(K==="attribute"){let se=Vwe(this.components,oe);T.push(...se)}if(K==="material"){let se=kwe(this.components,oe);T.push(...se)}if(K==="classification"){let se=Wwe(this.components,oe);T.push(...se)}if(K==="property"){let se=zwe(this.components,oe);T.push(...se)}if(K==="partOf"){let se=Ywe(this.components,oe);T.push(...se)}}}let O=this.create(d,h.split(/\s+/),m);O.description=p,O.instructions=I,O.requirementsDescription=A,O.applicability.add(...y),O.requirements.add(...T),i.push(O)}}return i}export(t,i=this.list.values()){let n=i??this.list;return`<ids xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://standards.buildingsmart.org/IDS http://standards.buildingsmart.org/IDS/1.0/ids.xsd" xmlns:ids="http://standards.buildingsmart.org/IDS">
|
||
<!-- Made with That Open Engine ${b0e.release} (https://github.com/thatopen/engine_components) -->
|
||
<info>
|
||
<title>${t.title}</title>
|
||
${t.copyright?`<copyright>${t.copyright}</copyright>`:""}
|
||
${t.version?`<version>${t.version}</version>`:""}
|
||
${t.description?`<description>${t.description}</description>`:""}
|
||
${t.author?`<author>${t.author}</author>`:""}
|
||
${t.date?`<date>${t.date.toISOString().split("T")[0]}</date>`:""}
|
||
${t.purpose?`<purpose>${t.purpose}</purpose>`:""}
|
||
${t.milestone?`<milestone>${t.milestone}</milestone>`:""}
|
||
</info>
|
||
<specifications>
|
||
${[...n].map(o=>o.serialize()).join(`
|
||
`)}
|
||
</specifications>
|
||
</ids>`}};Le(D0e,"uuid","9f0b9f78-9b2e-481a-b766-2fbfd01f342c");Le(D0e,"xmlParser",new Mz({allowBooleanAttributes:!0,attributeNamePrefix:"",ignoreAttributes:!1,ignoreDeclaration:!0,ignorePiTags:!0,numberParseOptions:{leadingZeros:!0,hex:!0},parseAttributeValue:!0,preserveOrder:!1,processEntities:!1,removeNSPrefix:!0,trimValues:!0}));var Y2e=D0e,j2e=class q2e extends Gl{constructor(t){super(t),Le(this,"enabled",!0),t.add(q2e.uuid,this)}static distanceFromPointToLine(t,i,n,s=!1){let o=new ds,r=new ye;return o.set(i,n),o.closestPointToPoint(t,s,r),r.distanceTo(t)}round(t){t.x=Math.trunc(t.x*1e3)/1e3,t.y=Math.trunc(t.y*1e3)/1e3,t.z=Math.trunc(t.z*1e3)/1e3}async getVolumeFromFragments(t){return console.warn("getVolumeFromFragments is deprecated. Use getItemsVolume instead."),this.getItemsVolume(t)}async getItemsVolume(t){let i=0,n=this.components.get(_s);for(let[s,o]of Object.entries(t)){let r=n.list.get(s);r&&(i+=await r.getItemsVolume([...o]))}return i}static convertUnits(t,i,n,s=2){let o={m:1,cm:.01,mm:.001,km:1e3,m2:1,cm2:1e-4,mm2:1e-6,km2:1e6,m3:1,cm3:1e-6,mm3:1e-9,km3:1e9};if(!o[i]||!o[n])throw new Error("Invalid units provided for conversion.");if(!Number.isInteger(s)||s<0||s>5)throw new Error("Precision must be an integer between 0 and 5.");let r=o[i]/o[n],l=t*r,d=10**s;return Math.round(l*d)/d}};Le(j2e,"uuid","267ca032-672f-4cb0-afa9-d24e904f39d6");var RWe=j2e,C0e=(e,t,i)=>{let n=new ye(-t.z,0,t.x),s=new ye(t.x+n.x,0,t.z+n.z).normalize().multiplyScalar(i/2);return[e.x+s.x,e.y,e.z+s.z,e.x-s.x,e.y,e.z-s.z]},SWe=(e,t,i)=>{let n=new ye(-t.z,0,t.x),s=e.x-t.x*i+n.x*i*.4,o=e.z-t.z*i+n.z*i*.4,r=e.x-t.x*i-n.x*i*.4,l=e.z-t.z*i-n.z*i*.4;return[e.x,e.y,e.z,s,e.y,o,e.x,e.y,e.z,r,e.y,l,s,e.y,o,r,e.y,l]},x0e=(e,t,i)=>{let n=new ye(-t.z,0,t.x),s=e.x-t.x*i+n.x*i*.4,o=e.z-t.z*i+n.z*i*.4,r=e.x-t.x*i-n.x*i*.4,l=e.z-t.z*i-n.z*i*.4;return[e.x,e.y,e.z,s,e.y,o,e.x,e.y,e.z,r,e.y,l]},$2e=()=>[],AWe=(e,t,i)=>{let n=i*.4,s=12,o=[];for(let r=0;r<s;r++){let l=r/s*Math.PI*2,d=(r+1)/s*Math.PI*2;o.push(e.x+Math.cos(l)*n,e.y,e.z+Math.sin(l)*n,e.x+Math.cos(d)*n,e.y,e.z+Math.sin(d)*n)}return o},bWe=(e,t,i)=>{let n=i*.4,s=16,o=[];for(let r=0;r<s;r++){let l=r/s*Math.PI*2,d=(r+1)/s*Math.PI*2;o.push(e.x,e.y,e.z,e.x+Math.cos(l)*n,e.y,e.z+Math.sin(l)*n,e.x+Math.cos(d)*n,e.y,e.z+Math.sin(d)*n)}return o},NWe=(e,t,i)=>{let n=new ye(-t.z,0,t.x),s=i*.4,o=e.clone().addScaledVector(t,s).addScaledVector(n,s),r=e.clone().addScaledVector(t,s).addScaledVector(n,-s),l=e.clone().addScaledVector(t,-s).addScaledVector(n,-s),d=e.clone().addScaledVector(t,-s).addScaledVector(n,s);return[o.x,o.y,o.z,r.x,r.y,r.z,l.x,l.y,l.z,o.x,o.y,o.z,l.x,l.y,l.z,d.x,d.y,d.z]},Z2e=(e,t,i)=>{let n=new ye(-t.z,0,t.x),s=e.clone().addScaledVector(t,-i),o=s.clone().addScaledVector(n,i*.4),r=s.clone().addScaledVector(n,-i*.4);return[e.x,e.y,e.z,o.x,o.y,o.z,r.x,r.y,r.z]},eJ=class extends fo{constructor(){super()}getBySystem(t){let i=new Map;for(let[n,s]of this)s.system===t&&i.set(n,s.data);return i}},tJ=class extends fo{constructor(t){super(),Le(this,"_container"),this._container=t,this.deleteGuard=i=>i!=="0",this.set("0",{name:"0",visible:!0,material:new Qo({color:0})})}create(t,i){if(!this.has(t)){let n={name:t,visible:i?.visible??!0,material:i?.material??new Qo({color:0})};this.set(t,n)}return this.get(t)}setColor(t,i){let n=this.get(t);n&&(n.material.color.setHex(i),this.set(t,n))}setMaterial(t,i){let n=this.get(t);if(!n)return;let s=n.material;n.material=i,this._container.traverse(o=>{o.userData.layer===t&&(o.userData.isDimension||o.isLineSegments&&(o.material=i))}),s.dispose(),this.set(t,n)}setVisibility(t,i){let n=this.get(t);n&&(n.visible=i,this._container.traverse(s=>{s.userData.layer===t&&(s.visible=i)}),this.set(t,n))}assign(t,i){let n=this.get(i);n&&(t.userData.layer=i,n.visible||(t.visible=!1),t.isLineSegments&&(t.material=n.material))}resolveColor(t){let i=this.get(t);if(i)return i.material.color.getHex()}},kz=class tA extends Zo{constructor(t){super(),Le(this,"_viewport"),Le(this,"_border"),Le(this,"_handles",[]),Le(this,"_raycaster",new fp),Le(this,"_resizable",!1),Le(this,"_movable",!1),Le(this,"_dragHandle",null),Le(this,"_dragConstraints",[]),Le(this,"_hoveredHandle",null),Le(this,"_moveDrag",null),Le(this,"_hoveringBorder",!1),Le(this,"_normalMat"),Le(this,"_hoverMat"),Le(this,"_borderMat"),this._viewport=t,this._borderMat=new Qo({color:tA._BORDER_COLOR,depthTest:!1});let i=new nn;i.setAttribute("position",new Tn(new Float32Array(24),3)),this._border=new xs(i,this._borderMat),this._border.renderOrder=999,this._border.frustumCulled=!1,this._border.userData.isDimension=!0,this.add(this._border),this._normalMat=new Ho({color:tA._BORDER_COLOR}),this._hoverMat=new Ho({color:tA._BORDER_HOVER_COLOR});let n=new yy(.05,8,6);for(let s of tA._HANDLE_DEFS){let o=new _i(n,this._normalMat);o.renderOrder=1e3,o.visible=!1,o.userData.constraints=s.constraints,o.userData.isDimension=!0,this.add(o),this._handles.push(o)}this.update()}get resizable(){return this._resizable}set resizable(t){this._resizable=t;for(let i of this._handles)i.visible=t;t||(this._hoveredHandle&&(this._hoveredHandle.material=this._normalMat,this._hoveredHandle=null),this._dragHandle=null,this._dragConstraints=[])}get movable(){return this._movable}set movable(t){this._movable=t,t||(this._moveDrag=null,this._setBorderHover(!1))}get isDragging(){return this._dragHandle!==null||this._moveDrag!==null}update(){let t=this._viewport,i=t.left,n=t.right,s=-t.top,o=-t.bottom,r=.005,l=this._border.geometry.attributes.position;l.setXYZ(0,i,r,s),l.setXYZ(1,n,r,s),l.setXYZ(2,n,r,s),l.setXYZ(3,n,r,o),l.setXYZ(4,n,r,o),l.setXYZ(5,i,r,o),l.setXYZ(6,i,r,o),l.setXYZ(7,i,r,s),l.needsUpdate=!0,this._border.geometry.computeBoundingSphere();let d=(i+n)/2,h=(s+o)/2,p=r+.005,I=[[i,p,s],[n,p,s],[n,p,o],[i,p,o],[d,p,s],[n,p,h],[d,p,o],[i,p,h]];for(let m=0;m<this._handles.length;m++)this._handles[m].position.set(...I[m])}onPointerMove(t){if(this._dragHandle){let n=this._projectToLocal(t);if(!n)return;for(let s of this._dragConstraints)switch(s){case"left":this._viewport.left=n.x;break;case"right":this._viewport.right=n.x;break;case"top":this._viewport.top=-n.z;break;case"bottom":this._viewport.bottom=-n.z;break}this._viewport.right<this._viewport.left&&([this._viewport.left,this._viewport.right]=[this._viewport.right,this._viewport.left],this._dragConstraints=this._dragConstraints.map(s=>s==="right"?"left":s==="left"?"right":s)),this._viewport.top<this._viewport.bottom&&([this._viewport.top,this._viewport.bottom]=[this._viewport.bottom,this._viewport.top],this._dragConstraints=this._dragConstraints.map(s=>s==="top"?"bottom":s==="bottom"?"top":s)),this.update();return}if(this._moveDrag){let n=this._projectToLocal(t);if(!n)return;let s=n.x-this._moveDrag.origin.x,o=n.z-this._moveDrag.origin.z;this._viewport.left=this._moveDrag.left0+s,this._viewport.right=this._moveDrag.right0+s,this._viewport.top=this._moveDrag.top0-o,this._viewport.bottom=this._moveDrag.bottom0-o,this.update();return}if(!this._resizable&&!this._movable)return;this._raycaster.set(t.origin,t.direction);let i=null;if(this._resizable){let n=this._handles.filter(o=>o.visible),s=this._raycaster.intersectObjects(n,!1);i=s.length>0?s[0].object:null}if(i!==this._hoveredHandle&&(this._hoveredHandle&&(this._hoveredHandle.material=this._normalMat),i&&(i.material=this._hoverMat),this._hoveredHandle=i),this._movable&&!this._hoveredHandle){this._raycaster.params.Line={threshold:tA._LINE_THRESHOLD};let n=this._raycaster.intersectObject(this._border,!1).length>0;this._setBorderHover(n)}else this._setBorderHover(!1)}onPointerDown(t){if(!(!this._resizable&&!this._movable)){if(this._raycaster.set(t.origin,t.direction),this._resizable){let i=this._handles.filter(s=>s.visible),n=this._raycaster.intersectObjects(i,!1);if(n.length>0){this._dragHandle=n[0].object,this._dragConstraints=[...this._dragHandle.userData.constraints];return}}if(this._movable&&(this._raycaster.params.Line={threshold:tA._LINE_THRESHOLD},this._raycaster.intersectObject(this._border,!1).length>0)){let n=this._projectToLocal(t);if(!n)return;this._moveDrag={origin:n,left0:this._viewport.left,right0:this._viewport.right,top0:this._viewport.top,bottom0:this._viewport.bottom}}}}onPointerUp(){this._dragHandle=null,this._dragConstraints=[],this._moveDrag=null}dispose(){this._border.geometry.dispose(),this._borderMat.dispose(),this._normalMat.dispose(),this._hoverMat.dispose(),this._handles.length>0&&this._handles[0].geometry.dispose(),this.removeFromParent()}_projectToLocal(t){this.updateWorldMatrix(!0,!1);let i=new ye(0,1,0).transformDirection(this.matrixWorld),n=new ye().setFromMatrixPosition(this.matrixWorld),s=new es().setFromNormalAndCoplanarPoint(i,n),o=new ye;return t.intersectPlane(s,o)?this.worldToLocal(o):null}_setBorderHover(t){t!==this._hoveringBorder&&(this._hoveringBorder=t,this._borderMat.color.setHex(t?tA._BORDER_HOVER_COLOR:tA._BORDER_COLOR))}};Le(kz,"_BORDER_COLOR",22015);Le(kz,"_BORDER_HOVER_COLOR",16746496);Le(kz,"_LINE_THRESHOLD",.06);Le(kz,"_HANDLE_DEFS",[{constraints:["left","top"]},{constraints:["right","top"]},{constraints:["right","bottom"]},{constraints:["left","bottom"]},{constraints:["top"]},{constraints:["right"]},{constraints:["bottom"]},{constraints:["left"]}]);var K2e=kz,iJ=class{constructor(t){Le(this,"uuid",cr.generateUUID()),Le(this,"name"),Le(this,"camera"),Le(this,"onDisposed",new $i),Le(this,"_left"),Le(this,"_right"),Le(this,"_top"),Le(this,"_bottom"),Le(this,"_drawingScale"),Le(this,"_container",null),Le(this,"_helper",null),Le(this,"_helperVisible",!1),this._left=t.left,this._right=t.right,this._top=t.top,this._bottom=t.bottom,this._drawingScale=t.scale??100,this.name=t.name??"Drawing Viewport",this.camera=new ba(this._left,this._right,this._top,this._bottom,.1,30),this.camera.up.set(0,0,-1),this.camera.position.set(0,10,0),this.camera.lookAt(0,0,0),this.camera.layers.set(1)}get left(){return this._left}set left(t){var i;this._left=t,this.camera.left=t,this.camera.updateProjectionMatrix(),(i=this._helper)==null||i.update()}get right(){return this._right}set right(t){var i;this._right=t,this.camera.right=t,this.camera.updateProjectionMatrix(),(i=this._helper)==null||i.update()}get top(){return this._top}set top(t){var i;this._top=t,this.camera.top=t,this.camera.updateProjectionMatrix(),(i=this._helper)==null||i.update()}get bottom(){return this._bottom}set bottom(t){var i;this._bottom=t,this.camera.bottom=t,this.camera.updateProjectionMatrix(),(i=this._helper)==null||i.update()}get drawingScale(){return this._drawingScale}set drawingScale(t){this._drawingScale=t}get helper(){return this._helper||(this._helper=new K2e(this)),this._helper}get helperVisible(){return this._helperVisible}set helperVisible(t){var i,n;this._helperVisible=t,t?(i=this._container)==null||i.add(this.helper):(n=this._helper)==null||n.removeFromParent()}get bbox(){let t=new ye(this._left,0,-this._top),i=new ye(this._right,0,-this._bottom);return new kn(t,i)}get size(){let t=new ye;return this.bbox.getSize(t),new hi(t.x*1e3,t.z*1e3)}get localXAxis(){return new ye(1,0,0)}get localYAxis(){return new ye(0,0,-1)}get normal(){return new ye(0,1,0)}setContainer(t){this._container=t,this._helperVisible&&this._helper&&t.add(this._helper)}clipLine(t){let i=this.bbox,{start:n,end:s}=t,o=i.containsPoint(n),r=i.containsPoint(s);if(o&&r)return t;if(!o&&!r){let d=this.getPlaneIntersections(t);return d.length<2?null:new ds(d[0],d[1])}let l=this.getPlaneIntersections(t);return l.length===0?null:o?new ds(n,l[0]):new ds(l[0],s)}dispose(){var t;(t=this._helper)==null||t.dispose(),this._helper=null,this.onDisposed.trigger(),this.onDisposed.reset()}get bboxPlanes(){let t=this.bbox;return[new es(new ye(1,0,0),-t.min.x),new es(new ye(-1,0,0),t.max.x),new es(new ye(0,0,1),-t.min.z),new es(new ye(0,0,-1),t.max.z)]}getPlaneIntersections(t){let i=[];for(let n of this.bboxPlanes){let s=new ye;n.intersectLine(t,s)&&this.bbox.containsPoint(s)&&i.push(s)}return i}},nJ=class extends fo{constructor(t){super(),Le(this,"_container"),this._container=t,this.onBeforeDelete.add(({value:i})=>{this._container.remove(i.camera),i.dispose()})}create(t){let i=new iJ(t);return this._container.add(i.camera),i.setContainer(this._container),this.set(i.uuid,i),i}},O0e=class SQ extends Zo{constructor(t){super(),Le(this,"_drawing"),Le(this,"_topFrame"),Le(this,"_pillars"),Le(this,"_bottomFrame"),Le(this,"_topPlane"),Le(this,"_bottomPlane"),Le(this,"_frameMat"),Le(this,"_depthMat"),Le(this,"_planeMat"),Le(this,"width",10),Le(this,"height",10),Le(this,"farHandle",new ps),Le(this,"widthHandle",new ps),Le(this,"heightHandle",new ps),this._drawing=t,this._frameMat=new Qo({color:SQ._FRAME_COLOR,depthTest:!1}),this._depthMat=new Qo({color:SQ._DEPTH_COLOR,depthTest:!1,transparent:!0,opacity:.4}),this._planeMat=new Ho({color:SQ._FRAME_COLOR,transparent:!0,opacity:.07,side:so,depthTest:!1});let i=()=>{let r=new nn;return r.setAttribute("position",new Tn(new Float32Array(12),3)),r.setIndex([0,1,2,0,2,3]),r};this._topPlane=new _i(i(),this._planeMat),this._topPlane.renderOrder=998,this._topPlane.frustumCulled=!1,this._topPlane.userData.isDimension=!0,this._bottomPlane=new _i(i(),this._planeMat),this._bottomPlane.renderOrder=998,this._bottomPlane.frustumCulled=!1,this._bottomPlane.userData.isDimension=!0;let n=new nn;n.setAttribute("position",new Tn(new Float32Array(24),3)),this._topFrame=new xs(n,this._frameMat),this._topFrame.renderOrder=999,this._topFrame.frustumCulled=!1,this._topFrame.userData.isDimension=!0;let s=new nn;s.setAttribute("position",new Tn(new Float32Array(24),3)),this._pillars=new xs(s,this._depthMat),this._pillars.renderOrder=999,this._pillars.frustumCulled=!1,this._pillars.userData.isDimension=!0;let o=new nn;o.setAttribute("position",new Tn(new Float32Array(24),3)),this._bottomFrame=new xs(o,this._depthMat),this._bottomFrame.renderOrder=999,this._bottomFrame.frustumCulled=!1,this._bottomFrame.userData.isDimension=!0,this.add(this._topPlane,this._bottomPlane),this.add(this._topFrame,this._pillars,this._bottomFrame),this.add(this.farHandle,this.widthHandle,this.heightHandle),this.farHandle.rotation.x=Math.PI,this.update()}update(){let t=this.width/2,i=this.height/2,n=-this._drawing.far,s=.005,o=-t,r=t,l=-i,d=i,h=this._topFrame.geometry.attributes.position;h.setXYZ(0,o,s,l),h.setXYZ(1,r,s,l),h.setXYZ(2,r,s,l),h.setXYZ(3,r,s,d),h.setXYZ(4,r,s,d),h.setXYZ(5,o,s,d),h.setXYZ(6,o,s,d),h.setXYZ(7,o,s,l),h.needsUpdate=!0,this._topFrame.geometry.computeBoundingSphere();let p=this._pillars.geometry.attributes.position;p.setXYZ(0,o,s,l),p.setXYZ(1,o,n,l),p.setXYZ(2,r,s,l),p.setXYZ(3,r,n,l),p.setXYZ(4,r,s,d),p.setXYZ(5,r,n,d),p.setXYZ(6,o,s,d),p.setXYZ(7,o,n,d),p.needsUpdate=!0,this._pillars.geometry.computeBoundingSphere();let I=this._bottomFrame.geometry.attributes.position;I.setXYZ(0,o,n,l),I.setXYZ(1,r,n,l),I.setXYZ(2,r,n,l),I.setXYZ(3,r,n,d),I.setXYZ(4,r,n,d),I.setXYZ(5,o,n,d),I.setXYZ(6,o,n,d),I.setXYZ(7,o,n,l),I.needsUpdate=!0,this._bottomFrame.geometry.computeBoundingSphere();let m=(y,T)=>{let R=y.geometry.attributes.position;R.setXYZ(0,o,T,l),R.setXYZ(1,r,T,l),R.setXYZ(2,r,T,d),R.setXYZ(3,o,T,d),R.needsUpdate=!0,y.geometry.computeBoundingSphere()};m(this._topPlane,s),m(this._bottomPlane,n),this.farHandle.position.set(0,n,0),this.widthHandle.position.set(r,s,0),this.heightHandle.position.set(0,s,d)}attachFarGizmo(t){t.attach(this.farHandle),t.setSpace("local"),t.showX=!1,t.showZ=!1,t.addEventListener("objectChange",()=>{this.farHandle.position.x=0,this.farHandle.position.z=0;let i=Math.max(.1,-this.farHandle.position.y);this._drawing.far=i,this.farHandle.position.y=-i,this.update()})}attachWidthGizmo(t){t.attach(this.widthHandle),t.setSpace("local"),t.showY=!1,t.showZ=!1,t.addEventListener("objectChange",()=>{this.widthHandle.position.y=.005,this.widthHandle.position.z=0,this.width=Math.max(.1,this.widthHandle.position.x*2),this.widthHandle.position.x=this.width/2,this.update()})}attachHeightGizmo(t){t.attach(this.heightHandle),t.setSpace("local"),t.showX=!1,t.showY=!1,t.addEventListener("objectChange",()=>{this.heightHandle.position.x=0,this.heightHandle.position.y=.005,this.height=Math.max(.1,this.heightHandle.position.z*2),this.heightHandle.position.z=this.height/2,this.update()})}dispose(){this._topPlane.geometry.dispose(),this._bottomPlane.geometry.dispose(),this._topFrame.geometry.dispose(),this._pillars.geometry.dispose(),this._bottomFrame.geometry.dispose(),this._planeMat.dispose(),this._frameMat.dispose(),this._depthMat.dispose(),this.removeFromParent()}};Le(O0e,"_FRAME_COLOR",22015);Le(O0e,"_DEPTH_COLOR",22015);var _We=O0e;function Q2e(e,t){if(e.length!==3||t.length!==3)throw new Error("computeAlignmentMatrix requires exactly 3 point pairs.");let i=(y,T)=>{let R=new ye().subVectors(y[1],y[0]),b=new ye().subVectors(y[2],y[0]);if(new ye().crossVectors(R,b).length()<1e-6)throw new Error(`${T} points are collinear \u2014 three non-collinear points are required to define a plane.`)};i(e,"Drawing"),i(t,"World");let n=(y,T,R)=>{let b=new ye().subVectors(T,y),A=new ye().subVectors(R,y),O=b.clone().normalize(),P=new ye().crossVectors(b,A).normalize(),U=new ye().crossVectors(O,P).normalize();return new Ai().makeBasis(O,P,U)},s=n(e[0],e[1],e[2]),r=n(t[0],t[1],t[2]).clone().multiply(s.clone().invert()),l=e[0].distanceTo(e[1]);if(l<1e-10)throw new Error("The first two drawing points are coincident \u2014 cannot compute scale.");let d=t[0].distanceTo(t[1])/l,h=e[0].clone().multiplyScalar(d).applyMatrix4(r),p=new ye().subVectors(t[0],h),I=new Gs().setFromRotationMatrix(r),m=new Ai;return m.compose(p,I,new ye(d,d,d)),m}var sJ=class e{constructor(t){Le(this,"uuid",cr.generateUUID()),Le(this,"_raycaster",new fp),Le(this,"_components"),Le(this,"world",null),Le(this,"three",new Zo),Le(this,"annotations",new eJ),Le(this,"layers",new tJ(this.three)),Le(this,"activeLayer","0"),Le(this,"far",10),Le(this,"viewports",new nJ(this.three)),Le(this,"onDisposed",new $i),this._components=t}raycast(t,i=null){this._raycaster.set(t.origin,t.direction),this._raycaster.layers.set(1),this._raycaster.params.Line&&(this._raycaster.params.Line.threshold=.1);let n=[];this.three.traverse(d=>{d instanceof xs&&!d.userData.isDimension&&n.push(d)});let s=this._raycaster.intersectObjects(n,!1);if(s.length===0)return null;let o=s[0],r=this.three.worldToLocal(o.point.clone()),l=null;if(o.object instanceof xs&&o.index!==void 0){let d=o.object.geometry.attributes.position,h=o.index,p=new ye(d.getX(h),d.getY(h),d.getZ(h)),I=new ye(d.getX(h+1),d.getY(h+1),d.getZ(h+1));p.applyMatrix4(o.object.matrixWorld),this.three.worldToLocal(p),I.applyMatrix4(o.object.matrixWorld),this.three.worldToLocal(I),l=new ds(p,I)}return{point:r,object:o.object,viewport:i,line:l}}alignTo(t,i){Q2e(t,i).decompose(this.three.position,this.three.quaternion,this.three.scale)}static toDrawingSpace(t,i){t.updateWorldMatrix(!0,!1),i.three.updateWorldMatrix(!0,!1);let n=new Ai().copy(i.three.matrixWorld).invert().multiply(t.matrixWorld),s=t.geometry.attributes.position,o=s.count,r=new Float32Array(o*3),l=new ye;for(let h=0;h<o;h++)l.fromBufferAttribute(s,h).applyMatrix4(n),r[h*3]=l.x,r[h*3+1]=0,r[h*3+2]=l.z;let d=new nn;return d.setAttribute("position",new Tn(r,3)),new xs(d)}addProjectionLines(t,i="0"){return this.layers.has(i)||(console.warn(`[TechnicalDrawing] Layer "${i}" does not exist. Falling back to "0".`),i="0"),this.layers.assign(t,i),t.layers.set(1),t.material instanceof xT&&t.computeLineDistances(),t.geometry.computeBoundsTree({strategy:0,indirect:!0,type:Yde}),this.three.add(t),t}async addProjectionFromItems(t,i){if(!this.world){console.warn("[TechnicalDrawing] addProjectionFromItems: drawing has no world assigned.");return}for(let l of[i.layers.visible,i.layers.hidden])if(!this.layers.has(l)){console.warn(`[TechnicalDrawing] Layer "${l}" does not exist \u2014 create it before calling addProjectionFromItems.`);return}let n=this._components.get(m2e),s=n.projectionDirection.clone(),o=n.nearPlane,r=n.farPlane;try{this.three.updateWorldMatrix(!0,!1);let l=new ye(0,-1,0).transformDirection(this.three.matrixWorld).normalize();n.projectionDirection.copy(l);let d=new Ai().makeRotationFromQuaternion(new Gs().setFromUnitVectors(l,new ye(0,-1,0))),h=new ye().setFromMatrixPosition(this.three.matrixWorld).applyMatrix4(d).y;n.farPlane=h,n.nearPlane=h-this.far;let p=await n.get(t,this.world,{onProgress:i.onProgress}),I=m=>e.toDrawingSpace(new xs(m),this);this.addProjectionLines(I(p.visible),i.layers.visible),this.addProjectionLines(I(p.hidden),i.layers.hidden)}finally{n.projectionDirection.copy(s),n.nearPlane=o,n.farPlane=r}}orientTo(t){let i=t.clone().normalize(),n=Math.SQRT1_2;i.x>.999?this.three.quaternion.set(.5,-.5,.5,.5):i.x<-.999?this.three.quaternion.set(.5,.5,-.5,.5):i.y>.999?this.three.quaternion.set(0,0,1,0):i.y<-.999?this.three.quaternion.set(0,0,0,1):i.z>.999?this.three.quaternion.set(0,n,-n,0):i.z<-.999?this.three.quaternion.set(n,0,0,n):console.warn("[TechnicalDrawing] orientTo: direction does not match any of the 6 standard axes.")}dispose(){this.viewports.clear(),this.layers.clear(),this.annotations.clear(),this._components.get(CM).destroy(this.three),this.onDisposed.trigger(),this.onDisposed.reset()}},DWe={m:{factor:1,suffix:"m"},cm:{factor:100,suffix:"cm"},mm:{factor:1e3,suffix:"mm"},ft:{factor:3.28084,suffix:"ft"},in:{factor:39.3701,suffix:"in"}},oA=class{constructor(t){Le(this,"styles",new fo),Le(this,"activeStyle","default"),Le(this,"onCommit",new $i),Le(this,"onUpdate",new $i),Le(this,"onDelete",new $i),Le(this,"onDisposed",new $i),Le(this,"_knownDrawings",new Set),Le(this,"_previewMaterial",new Qo({color:16737894,depthTest:!1})),Le(this,"_previewObject",null),Le(this,"_previewDrawing",null),Le(this,"_materialCache",new fo),Le(this,"_meshMaterialCache",new fo),Le(this,"_ownsChildGeometry",!0),this._components=t,this.styles.onItemUpdated.add(({key:i})=>{let n=this._materialCache.get(i);n&&n.color.setHex(this._resolveStyle(i).color);let s=this._meshMaterialCache.get(i);s&&s.color.setHex(this._resolveStyle(i).color);let o=this._components.get(X2),r=o?[...o.list.values()]:[...this._knownDrawings];for(let l of r){let d=[...l.annotations.getBySystem(this)].filter(([,h])=>h.style===i).map(([h])=>h);d.length>0&&this.update(l,d,{})}})}_onAfterPersist(t,i){}_onDispose(){}_updatePreview(){}get(t){let i=new fo;for(let n of t)for(let[s,o]of n.annotations.getBySystem(this))i.set(s,{drawingUuid:n.uuid,item:o});return i}add(t,i){let n={uuid:cr.generateUUID(),style:this.activeStyle,...i},s=this._persist(t,n);return this.onCommit.trigger([s]),n}update(t,i,n){for(let s of i){let o=t.annotations.get(s);if(!o||o.system!==this)continue;let r=o.data;Object.assign(r,n),this._redraw(r,o.three),this.onUpdate.trigger({item:r,group:o.three})}}pick(t,i=.05){let n=new fp;n.ray.copy(t),n.params.Line={threshold:i},n.params.LineSegments={threshold:i};let s=nr.prototype.raycast,o=null,r=1/0;for(let l of this._knownDrawings)for(let[d,h]of l.annotations){if(h.system!==this)continue;let p=h.three;p.updateWorldMatrix(!0,!0),p.traverse(I=>{if(I===p)return;let m=[];if(I instanceof xs&&I.userData.isDimension)s.call(I,n,m),m.length>0&&m[0].distance<r&&(r=m[0].distance,o=d);else if(I instanceof _i){let y=new kn().setFromObject(I),T=new ye;if(n.ray.intersectBox(y,T)){let R=n.ray.origin.distanceTo(T);R<r&&(r=R,o=d)}}})}return o}delete(t,i){let n=[];for(let s of i){let o=t.annotations.get(s);!o||o.system!==this||(this._disposeGroup(o.three),t.annotations.delete(s),n.push(s))}n.length&&this.onDelete.trigger(n)}clear(t){let i=t??[...this._knownDrawings];for(let n of i){let s=[];for(let[o,r]of n.annotations)r.system===this&&s.push(o);for(let o of s){let r=n.annotations.get(o);this._disposeGroup(r.three),n.annotations.delete(o)}}}dispose(){this._clearPreview(),this._onDispose(),this.clear();for(let t of this._materialCache.values())t.dispose();this._materialCache.clear();for(let t of this._meshMaterialCache.values())t.dispose();this._meshMaterialCache.clear(),this._previewMaterial.dispose(),this.onCommit.reset(),this.onUpdate.reset(),this.onDelete.reset(),this.onDisposed.trigger(),this.onDisposed.reset()}_trackDrawing(t){this._knownDrawings.has(t)||(this._knownDrawings.add(t),t.onDisposed.add(()=>this._knownDrawings.delete(t)))}_resolveStyle(t){return this.styles.get(t)??this.styles.get("default")}_getMaterial(t){let i=this._materialCache.get(t);if(i)return i;let n=new Qo({color:this._resolveStyle(t).color});return this._materialCache.set(t,n),n}_getMeshMaterial(t){let i=this._meshMaterialCache.get(t);if(i)return i;let n=new Ho({color:this._resolveStyle(t).color,side:so});return this._meshMaterialCache.set(t,n),n}_disposeGroup(t){if(t.removeFromParent(),this._ownsChildGeometry)t.traverse(i=>{i.geometry instanceof nn&&i.geometry.dispose()});else for(;t.children.length>0;)t.remove(t.children[0])}_clearPreview(){this._previewObject&&(this._previewObject.removeFromParent(),this._previewObject.geometry.dispose(),this._previewObject=null)}_persist(t,i){this._trackDrawing(t);let n=this._resolveStyle(i.style),s=this._buildGroup(i,n);return s.userData.isDimension=!0,s.userData.annotationUuid=i.uuid,s.userData.layer=t.activeLayer,t.three.add(s),t.annotations.set(i.uuid,{system:this,data:i,three:s}),this._onAfterPersist(i,s),{drawing:t,item:i,group:s}}_redraw(t,i){for(;i.children.length>0;){let o=i.children[0];this._ownsChildGeometry&&o.geometry instanceof nn&&o.geometry.dispose(),i.remove(o)}let n=this._resolveStyle(t.style),s=this._buildGroup(t,n);for(;s.children.length>0;)i.add(s.children[0]);this._onAfterPersist(t,i)}};function CWe(e,t,i){let n=e.clone().sub(t.start).dot(i);return t.start.clone().addScaledVector(i,n)}function xWe(e,t){return Math.abs(e.dot(t))>.999}function OWe(e,t){return e.start.distanceTo(t.start)<1e-6&&e.end.distanceTo(t.end)<1e-6||e.start.distanceTo(t.end)<1e-6&&e.end.distanceTo(t.start)<1e-6}function L0e(e,t){let i=e[0],n=e[e.length-1],s=new ye().subVectors(n,i);if(s.lengthSq()<1e-10)return 0;s.normalize();let o=new ye(-s.z,0,s.x);return t.clone().sub(i).dot(o)}function J2e(e,t){let i=[];for(let n=0;n<e.length-1;n++)i.push({uuid:cr.generateUUID(),pointA:e[n].clone(),pointB:e[n+1].clone(),offset:t,style:""});return i}function X2e(e,t){switch(e.kind){case"awaitingFirstPoint":{if(t.type==="CLICK"){if(!t.line)return e;let i=new ye().subVectors(t.line.end,t.line.start).normalize();return{kind:"placingPoints",points:[t.point.clone()],cursor:null,lineDir:i,firstLine:t.line.clone()}}return t.type==="SELECT_LINE"?{kind:"positioningOffset",points:[t.line.start.clone(),t.line.end.clone()],cursor:null}:e}case"placingPoints":{if(t.type==="MOUSE_MOVE"){let i=new ye(-e.lineDir.z,0,e.lineDir.x),n=e.points[e.points.length-1],s=t.point.clone().sub(n).dot(i),o=n.clone().addScaledVector(i,s);return{...e,cursor:o}}if(t.type==="CLICK"){if(!t.line||OWe(t.line,e.firstLine))return e;let i=new ye().subVectors(t.line.end,t.line.start).normalize();if(!xWe(i,e.lineDir))return e;let n=CWe(e.points[0],t.line,e.lineDir),s=[...e.points,n];return{...e,points:s,cursor:e.cursor}}return t.type==="CONFIRM"&&e.points.length>=2?{kind:"positioningOffset",points:e.points,cursor:null}:t.type==="ESCAPE"?{kind:"awaitingFirstPoint"}:e}case"positioningOffset":{if(t.type==="MOUSE_MOVE")return{...e,cursor:t.point.clone()};if(t.type==="CLICK"){let i=L0e(e.points,t.point);return{kind:"committed",dimensions:J2e(e.points,i)}}return t.type==="ESCAPE"?{kind:"awaitingFirstPoint"}:e}case"committed":return t.type==="ESCAPE"?{kind:"awaitingFirstPoint"}:e}}function P0e(e){let{pointA:t,pointB:i,offset:n}=e,s=new ye().subVectors(i,t),o=new ye(-s.z,0,s.x).normalize(),r=t.clone().addScaledVector(o,n),l=i.clone().addScaledVector(o,n),d=new ye().subVectors(l,r).normalize();return[{tip:r,dir:d},{tip:l,dir:d.clone().negate()}]}function pJ(e,t){let{pointA:i,pointB:n,offset:s}=e,o=new ye().subVectors(n,i),r=new ye(-o.z,0,o.x).normalize(),l=s>=0?1:-1,d=Math.abs(s),h=i.clone().addScaledVector(r,t.extensionGap*l),p=i.clone().addScaledVector(r,(d+t.extensionOvershoot)*l),I=n.clone().addScaledVector(r,t.extensionGap*l),m=n.clone().addScaledVector(r,(d+t.extensionOvershoot)*l),y=i.clone().addScaledVector(r,s),T=n.clone().addScaledVector(r,s),R=new ye().subVectors(T,y).normalize(),b=t.lineTick(y,R,t.tickSize),A=t.lineTick(T,R.clone().negate(),t.tickSize);return[h.x,h.y,h.z,p.x,p.y,p.z,I.x,I.y,I.z,m.x,m.y,m.z,y.x,y.y,y.z,T.x,T.y,T.z,...b,...A]}function e4e(e,t,i,n){if(e==="placingPoints"){let r=[];for(let l=0;l<t.length-1;l++){let d=t[l],h=t[l+1];r.push(d.x,d.y,d.z,h.x,h.y,h.z)}if(i){let l=t[t.length-1];r.push(l.x,l.y,l.z,i.x,i.y,i.z)}return r}if(!i||t.length<2)return[];let s=L0e(t,i),o=[];for(let r=0;r<t.length-1;r++)o.push(...pJ({pointA:t[r],pointB:t[r+1],offset:s},n));return o}var oJ=class extends oA{constructor(t){super(t),Le(this,"enabled",!0),Le(this,"machineState",{kind:"awaitingFirstPoint"}),Le(this,"onMachineStateChanged",new $i),this.styles.set("default",{lineTick:C0e,tickSize:.4,extensionGap:.05,extensionOvershoot:.2,color:0,textOffset:.4,fontSize:.45})}pickHandle(t,i,n=.1){let s=new Ai().copy(t.three.matrixWorld).invert(),o=i.origin.clone().applyMatrix4(s),r=i.direction.clone().transformDirection(s).normalize(),l=new Wa(o,r),d=new es(new ye(0,1,0),0),h=l.intersectPlane(d,new ye);if(!h)return null;let p=null,I=n;for(let[m,y]of t.annotations.getBySystem(this)){let T=new ye().subVectors(y.pointB,y.pointA),R=new ye(-T.z,0,T.x).normalize(),b=new ye().addVectors(y.pointA,y.pointB).multiplyScalar(.5).addScaledVector(R,y.offset);for(let[A,O]of[["pointA",y.pointA],["pointB",y.pointB],["offset",b]]){let P=Math.hypot(h.x-O.x,h.z-O.z);P<I&&(I=P,p={uuid:m,handle:A})}}return p}sendMachineEvent(t){let i=t.drawing??null;i&&(this._previewDrawing=i);let n=X2e(this.machineState,t);if(n!==this.machineState){if(this.machineState=n,this._updatePreview(),n.kind==="committed"){if(!this._previewDrawing){console.warn("LinearAnnotations: no drawing context \u2014 send a CLICK or SELECT_LINE with `drawing` first. Skipping."),this._resetMachine();return}for(let o of n.dimensions)o.style=this.activeStyle;let s=n.dimensions.map(o=>this._persist(this._previewDrawing,o));this.onCommit.trigger(s)}this.onMachineStateChanged.trigger(this.machineState),n.kind==="committed"&&this._resetMachine()}}_buildGroup(t,i){let n=new Zo,s=pJ(t,i),o=new nn;o.setAttribute("position",new Tn(new Float32Array(s),3));let r=new xs(o,this._getMaterial(t.style));if(r.layers.set(1),r.userData.isDimension=!0,n.add(r),i.meshTick)for(let{tip:l,dir:d}of P0e(t)){let h=i.meshTick(l,d,i.tickSize),p=new nn;p.setAttribute("position",new Tn(new Float32Array(h),3));let I=new _i(p,this._getMeshMaterial(t.style));I.layers.set(1),I.userData.isMeshTick=!0,n.add(I)}return n}_updatePreview(){let t=this.machineState;if(t.kind!=="placingPoints"&&t.kind!=="positioningOffset"){this._clearPreview();return}if(!this._previewDrawing){this._clearPreview();return}let i=this._resolveStyle(this.activeStyle);this._previewMaterial.color.setHex(i.color);let n=e4e(t.kind,t.points,t.cursor,i);if(n.length===0){this._clearPreview();return}let s=n.length/3;if(!this._previewObject||this._previewObject.geometry.attributes.position.count!==s){this._clearPreview();let r=new nn;r.setAttribute("position",new Tn(new Float32Array(n),3)),this._previewObject=new xs(r,this._previewMaterial),this._previewObject.layers.set(1),this._previewObject.renderOrder=1,this._previewObject.userData.isDimension=!0,this._previewDrawing.three.add(this._previewObject)}else{let r=this._previewObject.geometry.attributes.position;r.set(n),r.needsUpdate=!0}}_resetMachine(){this.machineState={kind:"awaitingFirstPoint"},this._previewDrawing=null,this._updatePreview(),this.onMachineStateChanged.trigger(this.machineState)}},LWe=Math.PI/180;function PWe(e,t,i,n){let s=t.x*n.z-t.z*n.x;if(Math.abs(s)<1e-10)return null;let o=new ye().subVectors(i,e),r=(o.x*n.z-o.z*n.x)/s;return new ye(e.x+t.x*r,0,e.z+t.z*r)}function MWe(e,t,i){let n=new ye().subVectors(e,t).normalize(),s=new ye().subVectors(i,t).normalize();return new ye().addVectors(n,s).normalize()}function t4e(e,t,i,n){let s=MWe(e,t,i);return new ye().subVectors(n,t).setY(0).dot(s)}function jwe(e,t,i,n){return t4e(e,t,i,n)<0}function i4e(e,t){switch(e.kind){case"awaitingFirstLine":return t.type==="CLICK"&&t.line?{kind:"awaitingSecondLine",line1:t.line.clone(),pointA:t.point.clone()}:e;case"awaitingSecondLine":{if(t.type==="CLICK"&&t.line){let i=new ye().subVectors(e.line1.end,e.line1.start).normalize(),n=new ye().subVectors(t.line.end,t.line.start).normalize();if(Math.abs(i.dot(n))>Math.cos(LWe))return e;let o=PWe(e.line1.start,i,t.line.start,n);return o?{kind:"positioningArc",pointA:e.pointA.clone(),vertex:o,pointB:t.point.clone(),cursor:null,flipped:!1}:e}return t.type==="ESCAPE"?{kind:"awaitingFirstLine"}:e}case"positioningArc":{if(t.type==="MOUSE_MOVE"){let i=jwe(e.pointA,e.vertex,e.pointB,t.point);return{...e,cursor:t.point.clone(),flipped:i}}if(t.type==="CLICK"){let i=jwe(e.pointA,e.vertex,e.pointB,t.point),n=Math.max(.05,Math.abs(t4e(e.pointA,e.vertex,e.pointB,t.point)));return{kind:"committed",dimension:{uuid:cr.generateUUID(),pointA:e.pointA.clone(),vertex:e.vertex.clone(),pointB:e.pointB.clone(),arcRadius:n,flipped:i,style:""}}}return t.type==="ESCAPE"?{kind:"awaitingFirstLine"}:e}case"committed":return t.type==="ESCAPE"?{kind:"awaitingFirstLine"}:e}}function M0e(e){let t=new ye().subVectors(e.pointA,e.vertex).normalize(),i=new ye().subVectors(e.pointB,e.vertex).normalize(),n=Math.atan2(t.z,t.x),s=Math.atan2(i.z,i.x)-n;for(;s>Math.PI;)s-=2*Math.PI;for(;s<-Math.PI;)s+=2*Math.PI;e.flipped&&(s-=Math.sign(s)*2*Math.PI);let o=new ye(e.vertex.x+Math.cos(n)*e.arcRadius,0,e.vertex.z+Math.sin(n)*e.arcRadius),r=n+s,l=new ye(e.vertex.x+Math.cos(r)*e.arcRadius,0,e.vertex.z+Math.sin(r)*e.arcRadius),d=Math.sign(s);return[{tip:o,dir:new ye(-Math.sin(n)*d,0,Math.cos(n)*d)},{tip:l,dir:new ye(Math.sin(r)*d,0,-Math.cos(r)*d)}]}function n4e(e){let t=new ye().subVectors(e.pointA,e.vertex).normalize(),i=new ye().subVectors(e.pointB,e.vertex).normalize(),n=Math.acos(cr.clamp(t.dot(i),-1,1));return e.flipped?2*Math.PI-n:n}function s4e(e){let t=new ye().subVectors(e.pointA,e.vertex).normalize(),i=new ye().subVectors(e.pointB,e.vertex).normalize(),n=Math.atan2(t.z,t.x),s=Math.atan2(i.z,i.x)-n;for(;s>Math.PI;)s-=2*Math.PI;for(;s<-Math.PI;)s+=2*Math.PI;let o=n+s/2;return e.flipped?o+Math.PI:o}function o4e(e,t,i,n,s,o=!1){let r=Math.atan2(t.z,t.x),l=Math.atan2(i.z,i.x)-r;for(;l>Math.PI;)l-=2*Math.PI;for(;l<-Math.PI;)l+=2*Math.PI;o&&(l-=Math.sign(l)*2*Math.PI);let d=[],h=8;for(let O=0;O<h;O++){let P=r+l*(O/h),U=r+l*((O+1)/h);d.push(e.x+Math.cos(P)*n,0,e.z+Math.sin(P)*n,e.x+Math.cos(U)*n,0,e.z+Math.sin(U)*n)}let p=new ye(e.x+Math.cos(r)*n,0,e.z+Math.sin(r)*n),I=new ye(e.x+Math.cos(r+l)*n,0,e.z+Math.sin(r+l)*n),m=e.clone().addScaledVector(t,s.extensionGap),y=e.clone().addScaledVector(i,s.extensionGap);d.push(m.x,m.y,m.z,p.x,p.y,p.z,y.x,y.y,y.z,I.x,I.y,I.z);let T=Math.sign(l),R=new ye(-Math.sin(r)*T,0,Math.cos(r)*T),b=r+l,A=new ye(Math.sin(b)*T,0,-Math.cos(b)*T);return d.push(...s.lineTick(p,R,s.tickSize),...s.lineTick(I,A,s.tickSize)),d}function B0e(e,t){let i=new ye().subVectors(e.pointA,e.vertex).normalize(),n=new ye().subVectors(e.pointB,e.vertex).normalize();return o4e(e.vertex,i,n,e.arcRadius,t,e.flipped??!1)}function p0e(e,t,i,n,s,o=!1){if(!n)return[];let r=Math.max(.05,new ye().subVectors(n,t).setY(0).length()),l=new ye().subVectors(e,t).normalize(),d=new ye().subVectors(i,t).normalize();return o4e(t,l,d,r,s,o)}var rJ=class extends oA{constructor(t){super(t),Le(this,"enabled",!0),Le(this,"machineState",{kind:"awaitingFirstLine"}),Le(this,"onMachineStateChanged",new $i),Le(this,"_secondLinePreviewObject",null),this.styles.set("default",{lineTick:C0e,tickSize:.4,extensionGap:.05,color:0,textOffset:.25,fontSize:.45})}pickHandle(t,i,n){return null}sendMachineEvent(t){let i=t.drawing??null;if(this.machineState.kind==="awaitingSecondLine"&&t.type==="MOUSE_MOVE"){i&&(this._previewDrawing=i),this._updateSecondLinePreview(t.point,t.line??null);return}let n=i4e(this.machineState,t);if(n!==this.machineState){if(this.machineState.kind==="awaitingSecondLine"&&this._clearSecondLinePreview(),this.machineState=n,i&&(this._previewDrawing=i),this._updatePreview(),n.kind==="committed"){if(!this._previewDrawing){console.warn("AngleAnnotations: CLICK that commits must include `drawing`. Skipping."),this._resetMachine();return}n.dimension.style=this.activeStyle;let s=this._persist(this._previewDrawing,n.dimension);this.onCommit.trigger([s])}this.onMachineStateChanged.trigger(this.machineState),n.kind==="committed"&&this._resetMachine()}}_buildGroup(t,i){let n=new Zo,s=B0e(t,i),o=new nn;o.setAttribute("position",new Tn(new Float32Array(s),3));let r=new xs(o,this._getMaterial(t.style));if(r.layers.set(1),r.userData.isDimension=!0,n.add(r),i.meshTick)for(let{tip:l,dir:d}of M0e(t)){let h=i.meshTick(l,d,i.tickSize),p=new nn;p.setAttribute("position",new Tn(new Float32Array(h),3));let I=new _i(p,this._getMeshMaterial(t.style));I.layers.set(1),I.userData.isMeshTick=!0,n.add(I)}return n}_updatePreview(){let t=this.machineState;if(t.kind!=="positioningArc"){this._clearPreview();return}if(!this._previewDrawing){this._clearPreview();return}let i=this._resolveStyle(this.activeStyle),n=p0e(t.pointA,t.vertex,t.pointB,t.cursor,i,t.flipped);if(n.length===0){this._clearPreview();return}let s=n.length/3;if(!this._previewObject||this._previewObject.geometry.attributes.position.count!==s){this._clearPreview();let r=new nn;r.setAttribute("position",new Tn(new Float32Array(n),3)),this._previewObject=new xs(r,this._previewMaterial),this._previewObject.layers.set(1),this._previewObject.renderOrder=1,this._previewObject.userData.isDimension=!0,this._previewDrawing.three.add(this._previewObject)}else{let r=this._previewObject.geometry.attributes.position;r.set(n),r.needsUpdate=!0}}_onDispose(){this._clearSecondLinePreview()}_resetMachine(){this.machineState={kind:"awaitingFirstLine"},this._previewDrawing=null,this._updatePreview(),this.onMachineStateChanged.trigger(this.machineState)}_clearSecondLinePreview(){this._secondLinePreviewObject&&(this._secondLinePreviewObject.removeFromParent(),this._secondLinePreviewObject.geometry.dispose(),this._secondLinePreviewObject=null)}_updateSecondLinePreview(t,i){if(this.machineState.kind!=="awaitingSecondLine"){this._clearSecondLinePreview();return}if(!this._previewDrawing){this._clearSecondLinePreview();return}let n=this.machineState,s=new ye().subVectors(n.line1.end,n.line1.start).normalize();if(!i){this._clearSecondLinePreview();return}let o=new ye().subVectors(i.end,i.start).normalize(),r=BWe(n.line1.start,s,i.start,o);if(!r){this._clearSecondLinePreview();return}let l=t.clone(),d=new ye().subVectors(l,r).setY(0);if(d.length()<.01){this._clearSecondLinePreview();return}let h=new ye().subVectors(n.pointA,r).normalize(),p=d.normalize(),I=Math.atan2(h.z,h.x),m=Math.atan2(p.z,p.x)-I;for(;m>Math.PI;)m-=2*Math.PI;for(;m<-Math.PI;)m+=2*Math.PI;let y=I+m/2,T=Math.max(.1,Math.min(n.pointA.distanceTo(r),l.distanceTo(r))*.4),R=new ye(r.x+Math.cos(y)*T,0,r.z+Math.sin(y)*T),b=this._resolveStyle(this.activeStyle),A=p0e(n.pointA,r,l,R,b);if(A.length===0){this._clearSecondLinePreview();return}let O=A.length/3;if(!this._secondLinePreviewObject||this._secondLinePreviewObject.geometry.attributes.position.count!==O){this._clearSecondLinePreview();let U=new nn;U.setAttribute("position",new Tn(new Float32Array(A),3)),this._secondLinePreviewObject=new xs(U,this._previewMaterial),this._secondLinePreviewObject.layers.set(1),this._secondLinePreviewObject.renderOrder=1,this._secondLinePreviewObject.userData.isDimension=!0,this._previewDrawing.three.add(this._secondLinePreviewObject)}else{let U=this._secondLinePreviewObject.geometry.attributes.position;U.set(A),U.needsUpdate=!0}}};function BWe(e,t,i,n){let s=t.x*n.z-t.z*n.x;if(Math.abs(s)<1e-6)return null;let o=i.x-e.x,r=i.z-e.z,l=(o*n.z-r*n.x)/s;return new ye(e.x+l*t.x,0,e.z+l*t.z)}function qwe(e,t){let i=t.x-e.x,n=t.z-e.z,s=Math.sqrt(i*i+n*n);if(s===0)return e.clone();let o=Math.atan2(n,i),r=Math.round(o/(Math.PI/4))*(Math.PI/4);return new ye(e.x+Math.cos(r)*s,0,e.z+Math.sin(r)*s)}function r4e(e,t){switch(e.kind){case"awaitingArrowTip":return t.type==="CLICK"?{kind:"placingElbow",arrowTip:t.point.clone(),cursor:null}:e;case"placingElbow":return t.type==="MOUSE_MOVE"?{...e,cursor:t.point.clone()}:t.type==="CLICK"?{kind:"placingExtension",arrowTip:e.arrowTip,elbow:t.point.clone(),cursor:null}:t.type==="ESCAPE"?{kind:"awaitingArrowTip"}:e;case"placingExtension":return t.type==="MOUSE_MOVE"?{...e,cursor:qwe(e.elbow,t.point)}:t.type==="CLICK"?{kind:"enteringText",arrowTip:e.arrowTip,elbow:e.elbow,extensionEnd:qwe(e.elbow,t.point)}:t.type==="ESCAPE"?{kind:"awaitingArrowTip"}:e;case"enteringText":return t.type==="SUBMIT_TEXT"&&t.text.trim().length>0?{kind:"committed",annotation:{uuid:cr.generateUUID(),arrowTip:e.arrowTip.clone(),elbow:e.elbow.clone(),extensionEnd:e.extensionEnd.clone(),text:t.text.trim(),style:""}}:t.type==="ESCAPE"?{kind:"awaitingArrowTip"}:e;case"committed":return t.type==="ESCAPE"?{kind:"awaitingArrowTip"}:e}}var FWe=24;function UWe(e,t,i,n){let s=[e.x,e.y,e.z,t.x,t.y,t.z,t.x,t.y,t.z,i.x,i.y,i.z];if(n.lineTick){let o=new ye().subVectors(e,t);o.lengthSq()>1e-10&&s.push(...n.lineTick(e,o.normalize(),n.tickSize))}return s}function HWe(e,t,i,n){let o=new Bb(e,t,i).getPoints(FWe),r=[];for(let l=0;l<o.length-1;l++){let d=o[l],h=o[l+1];r.push(d.x,d.y,d.z,h.x,h.y,h.z)}if(n.lineTick){let l=new ye().subVectors(e,t);l.lengthSq()>1e-10&&r.push(...n.lineTick(e,l.normalize(),n.tickSize))}return r}function I0e(e,t,i,n){return n.leaderShape==="curved"?HWe(e,t,i,n):UWe(e,t,i,n)}function F0e(e,t){return I0e(e.arrowTip,e.elbow,e.extensionEnd,t)}function m0e(e,t,i,n,s){return n?e==="placingElbow"?I0e(t,n,n,s):I0e(t,i,n,s):[]}var lJ=class extends oA{constructor(t){super(t),Le(this,"enabled",!0),Le(this,"machineState",{kind:"awaitingArrowTip"}),Le(this,"onMachineStateChanged",new $i),Le(this,"_previewMeshMaterial",new Ho({color:16737894,side:so,depthTest:!1})),Le(this,"_previewMeshObject",null),this.styles.set("default",{tickSize:.4,color:0,textOffset:.1,fontSize:.45,lineTick:x0e})}pickHandle(t,i,n=.1){let s=new Ai().copy(t.three.matrixWorld).invert(),o=i.origin.clone().applyMatrix4(s),r=i.direction.clone().transformDirection(s).normalize(),l=new Wa(o,r),d=new es(new ye(0,1,0),0),h=l.intersectPlane(d,new ye);if(!h)return null;let p=null,I=n;for(let[m,y]of t.annotations.getBySystem(this))for(let[T,R]of[["elbow",y.elbow],["extensionEnd",y.extensionEnd]]){let b=Math.hypot(h.x-R.x,h.z-R.z);b<I&&(I=b,p={uuid:m,handle:T})}return p}sendMachineEvent(t){let i=t.drawing??null;i&&(this._previewDrawing=i);let n=r4e(this.machineState,t);if(n!==this.machineState){if(this.machineState=n,this._updatePreview(),n.kind==="committed"){if(!this._previewDrawing){console.warn("LeaderAnnotations: commit requires a drawing. Skipping."),this._resetMachine();return}n.annotation.style=this.activeStyle;let s=this._persist(this._previewDrawing,n.annotation);this.onCommit.trigger([s])}this.onMachineStateChanged.trigger(this.machineState),n.kind==="committed"&&this._resetMachine()}}_buildGroup(t,i){let n=new Zo,s=F0e(t,i),o=new nn;o.setAttribute("position",new Tn(new Float32Array(s),3));let r=new xs(o,this._getMaterial(t.style));if(r.layers.set(1),r.userData.isDimension=!0,n.add(r),i.meshTick){let l=new ye().subVectors(t.arrowTip,t.elbow);if(l.lengthSq()>1e-10){l.normalize();let d=i.meshTick(t.arrowTip,l,i.tickSize),h=new nn;h.setAttribute("position",new Tn(new Float32Array(d),3));let p=new _i(h,this._getMeshMaterial(t.style));p.layers.set(1),p.userData.isMeshArrow=!0,n.add(p)}}return n}_updatePreview(){let t=this.machineState;if(t.kind!=="placingElbow"&&t.kind!=="placingExtension"){this._clearPreview();return}if(!this._previewDrawing){this._clearPreview();return}let i=this._resolveStyle(this.activeStyle),n=t.kind==="placingElbow"?m0e("placingElbow",t.arrowTip,null,t.cursor,i):m0e("placingExtension",t.arrowTip,t.elbow,t.cursor,i);if(n.length===0){this._clearPreview();return}let s=n.length/3;if(!this._previewObject||this._previewObject.geometry.attributes.position.count!==s){this._clearPreview();let r=new nn;r.setAttribute("position",new Tn(new Float32Array(n),3)),this._previewObject=new xs(r,this._previewMaterial),this._previewObject.layers.set(1),this._previewObject.renderOrder=1,this._previewObject.frustumCulled=!1,this._previewObject.userData.isDimension=!0,this._previewDrawing.three.add(this._previewObject)}else{let r=this._previewObject.geometry.attributes.position;r.set(n),r.needsUpdate=!0}if(i.meshTick){let r=t.kind==="placingElbow"?t.cursor:t.elbow,l=r?new ye().subVectors(t.arrowTip,r):null;if(l&&l.lengthSq()>1e-10){l.normalize();let d=i.meshTick(t.arrowTip,l,i.tickSize);if(this._previewMeshObject){let h=this._previewMeshObject.geometry.attributes.position;h.set(d),h.needsUpdate=!0}else{let h=new nn;h.setAttribute("position",new Tn(new Float32Array(d),3)),this._previewMeshObject=new _i(h,this._previewMeshMaterial),this._previewMeshObject.layers.set(1),this._previewMeshObject.renderOrder=1,this._previewMeshObject.frustumCulled=!1,this._previewDrawing.three.add(this._previewMeshObject)}}else this._clearPreviewMesh()}else this._clearPreviewMesh()}_clearPreview(){super._clearPreview(),this._clearPreviewMesh()}_onDispose(){this._clearPreviewMesh(),this._previewMeshMaterial.dispose()}_resetMachine(){this.machineState={kind:"awaitingArrowTip"},this._previewDrawing=null,this._updatePreview(),this.onMachineStateChanged.trigger(this.machineState)}_clearPreviewMesh(){this._previewMeshObject&&(this._previewMeshObject.removeFromParent(),this._previewMeshObject.geometry.dispose(),this._previewMeshObject=null)}},Gz=class extends oA{constructor(t){super(t),Le(this,"enabled",!0),Le(this,"_ownsChildGeometry",!1),Le(this,"definitions",new fo),this.styles.set("default",{color:0,textOffset:0,fontSize:0})}pickHandle(t,i,n){return null}pick(t,i=.05){let n=new fp;n.ray.copy(t),n.params.Line={threshold:i},n.params.LineSegments={threshold:i};let s=null,o=1/0;for(let r of this._knownDrawings)for(let[l,d]of r.annotations){if(d.system!==this)continue;let h=d.three;h.updateWorldMatrix(!0,!0),h.traverse(p=>{if(p===h||!(p instanceof xs))return;let I=[];p.raycast(n,I),I.length>0&&I[0].distance<o&&(o=I[0].distance,s=l)})}return s}define(t,i){this.definitions.set(t,i)}_buildGroup(t,i){let n=this.definitions.get(t.blockName);if(!n)throw new Error(`BlockAnnotations: block "${t.blockName}" is not defined.`);let s=new Zo;if(n.lines){let o=new xs(n.lines,this._getMaterial(t.style));o.layers.set(1),o.userData.isDimension=!0,s.add(o)}if(n.mesh){let o=new _i(n.mesh,this._getMeshMaterial(t.style));o.layers.set(1),o.userData.isBlockMesh=!0,s.add(o)}return s}_onAfterPersist(t,i){i.position.set(t.position.x,0,t.position.z),i.rotation.set(0,t.rotation,0),i.scale.setScalar(t.scale)}_onDispose(){var t,i;for(let n of this.definitions.values())(t=n.lines)==null||t.dispose(),(i=n.mesh)==null||i.dispose();this.definitions.clear()}};function U0e(e,t){let{position:i,direction:n}=e,{length:s}=t,o=new ye(i.x+n.x*s,0,i.z+n.z*s),r=new ye(n.x,0,n.z),l=t.lineTick(o,r,t.tickSize),d=[i.x,0,i.z,o.x,0,o.z];return new Float32Array([...d,...l])}function H0e(e,t){return new ye(e.position.x+e.direction.x*t,0,e.position.z+e.direction.z*t)}function l4e(e,t){switch(t){case"percentage":return`${(e*100).toFixed(2)} %`;case"ratio":return e===0?"1:\u221E":`1:${(1/e).toFixed(2)}`;case"degrees":return`${(Math.atan(e)*180/Math.PI).toFixed(2)}\xB0`}}var aJ=class extends oA{constructor(t){super(t),Le(this,"enabled",!0),this.styles.set("default",{lineTick:$2e,meshTick:Z2e,tickSize:.4,length:3,color:0,textOffset:.1,fontSize:.45,format:"percentage"})}pickHandle(t,i,n){return null}_buildGroup(t,i){let n=new Zo,s=U0e(t,i),o=new nn;o.setAttribute("position",new Tn(s,3));let r=new xs(o,this._getMaterial(t.style));if(r.layers.set(1),r.userData.isDimension=!0,n.add(r),i.meshTick){let l=H0e(t,i.length),d=i.meshTick(l,t.direction,i.tickSize),h=new nn;h.setAttribute("position",new Tn(new Float32Array(d),3));let p=new _i(h,this._getMeshMaterial(t.style));p.layers.set(1),p.userData.isDimension=!0,n.add(p)}return n}};function $we(e,t){let i=t.x-e.x,n=t.z-e.z,s=Math.sqrt(i*i+n*n);if(s===0)return e.clone();let o=Math.atan2(n,i),r=Math.round(o/(Math.PI/4))*(Math.PI/4);return new ye(e.x+Math.cos(r)*s,0,e.z+Math.sin(r)*s)}function a4e(e,t){switch(e.kind){case"awaitingCenter":return t.type==="CLICK"?{kind:"awaitingRadius",center:t.point.clone(),cursor:null}:e;case"awaitingRadius":{if(t.type==="MOUSE_MOVE")return{...e,cursor:t.point.clone()};if(t.type==="CLICK"){let i=Math.max(.1,Math.abs(t.point.x-e.center.x)),n=Math.max(.1,Math.abs(t.point.z-e.center.z));return{kind:"awaitingElbow",center:e.center,halfW:i,halfH:n,cursor:null}}return t.type==="ESCAPE"?{kind:"awaitingCenter"}:e}case"awaitingElbow":return t.type==="MOUSE_MOVE"?{...e,cursor:t.point.clone()}:t.type==="CLICK"?{kind:"awaitingExtension",center:e.center,halfW:e.halfW,halfH:e.halfH,elbow:t.point.clone(),cursor:null}:t.type==="ESCAPE"?{kind:"awaitingCenter"}:e;case"awaitingExtension":return t.type==="MOUSE_MOVE"?{...e,cursor:$we(e.elbow,t.point)}:t.type==="CLICK"?{kind:"enteringText",center:e.center,halfW:e.halfW,halfH:e.halfH,elbow:e.elbow,extensionEnd:$we(e.elbow,t.point)}:t.type==="ESCAPE"?{kind:"awaitingCenter"}:e;case"enteringText":return t.type==="SUBMIT_TEXT"&&t.text.trim().length>0?{kind:"committed",annotation:{uuid:cr.generateUUID(),center:e.center.clone(),halfW:e.halfW,halfH:e.halfH,elbow:e.elbow.clone(),extensionEnd:e.extensionEnd.clone(),text:t.text.trim(),style:""}}:t.type==="ESCAPE"?{kind:"awaitingCenter"}:e;case"committed":return t.type==="ESCAPE"?{kind:"awaitingCenter"}:e}}function G0e(e,t){let i=[];i.push(...t.enclosure.buildGeometry(e.center,e.halfW,e.halfH));let n=new ye().subVectors(e.elbow,e.center),s=n.lengthSq()>1e-10?n.clone().normalize():new ye(1,0,0),o=t.enclosure.getAttachmentPoint(e.center,e.halfW,e.halfH,s);if(i.push(o.x,o.y,o.z,e.elbow.x,e.elbow.y,e.elbow.z,e.elbow.x,e.elbow.y,e.elbow.z,e.extensionEnd.x,e.extensionEnd.y,e.extensionEnd.z),t.lineTick){let r=new ye().subVectors(e.extensionEnd,e.elbow);r.lengthSq()>1e-10&&i.push(...t.lineTick(e.extensionEnd,r.normalize(),t.tickSize))}return i}function AQ(e,t,i,n,s,o,r){let l=e==="awaitingRadius"?o?Math.max(.05,Math.abs(o.x-t.x)):0:i,d=e==="awaitingRadius"?o?Math.max(.05,Math.abs(o.z-t.z)):0:n;if(l<1e-10||d<1e-10)return[];let h=[];if(h.push(...r.enclosure.buildGeometry(t,l,d)),e==="awaitingRadius")return h;let p=e==="awaitingElbow"?o:s;if(!p)return h;let I=new ye().subVectors(p,t),m=I.lengthSq()>1e-10?I.clone().normalize():new ye(1,0,0),y=r.enclosure.getAttachmentPoint(t,l,d,m);return e==="awaitingElbow"?(h.push(y.x,0,y.z,p.x,0,p.z),h):(o&&h.push(y.x,0,y.z,s.x,0,s.z,s.x,0,s.z,o.x,0,o.z),h)}var Zwe=8,u4e={buildGeometry(e,t,i){let n=Math.min(t,i)*.25,s=new ye(e.x-t,0,e.z-i),o=new ye(e.x+t,0,e.z-i),r=new ye(e.x+t,0,e.z+i),l=new ye(e.x-t,0,e.z+i),d=[[s,o,new ye(0,0,-1)],[o,r,new ye(1,0,0)],[r,l,new ye(0,0,1)],[l,s,new ye(-1,0,0)]],h=[];for(let[p,I,m]of d){let y=p.distanceTo(I),T=Math.max(1,Math.round(y/(2*n))),R=y/T,b=R/2,A=new ye().subVectors(I,p).normalize();for(let O=0;O<T;O++){let P=p.clone().addScaledVector(A,(O+.5)*R),U=p.clone().addScaledVector(A,O*R),Z=new ye().subVectors(U,P),ne=U.clone();for(let K=1;K<=Zwe;K++){let oe=K/Zwe*Math.PI,se=P.x+Z.x*Math.cos(oe)+m.x*b*Math.sin(oe),he=P.z+Z.z*Math.cos(oe)+m.z*b*Math.sin(oe),Re=new ye(se,0,he);h.push(ne.x,0,ne.z,Re.x,0,Re.z),ne=Re}}}return h},getAttachmentPoint(e,t,i,n){let s=Math.abs(n.x)>1e-10?t/Math.abs(n.x):1/0,o=Math.abs(n.z)>1e-10?i/Math.abs(n.z):1/0,r=Math.min(s,o);return new ye(e.x+n.x*r,0,e.z+n.z*r)}},GWe={buildGeometry(e,t,i){let n=new ye(e.x-t,0,e.z-i),s=new ye(e.x+t,0,e.z-i),o=new ye(e.x+t,0,e.z+i),r=new ye(e.x-t,0,e.z+i);return[n.x,0,n.z,s.x,0,s.z,s.x,0,s.z,o.x,0,o.z,o.x,0,o.z,r.x,0,r.z,r.x,0,r.z,n.x,0,n.z]},getAttachmentPoint(e,t,i,n){let s=Math.abs(n.x)>1e-10?t/Math.abs(n.x):1/0,o=Math.abs(n.z)>1e-10?i/Math.abs(n.z):1/0,r=Math.min(s,o);return new ye(e.x+n.x*r,0,e.z+n.z*r)}},VWe={buildGeometry(e,t,i){let s=[];for(let o=0;o<32;o++){let r=o/32*Math.PI*2,l=(o+1)/32*Math.PI*2;s.push(e.x+Math.cos(r)*t,0,e.z+Math.sin(r)*i,e.x+Math.cos(l)*t,0,e.z+Math.sin(l)*i)}return s},getAttachmentPoint(e,t,i,n){let s=n.x/t,o=n.z/i,r=Math.sqrt(s*s+o*o),l=r>1e-10?1/r:t;return new ye(e.x+n.x*l,0,e.z+n.z*l)}},uJ=class extends oA{constructor(t){super(t),Le(this,"enabled",!0),Le(this,"machineState",{kind:"awaitingCenter"}),Le(this,"onMachineStateChanged",new $i),this.styles.set("default",{enclosure:u4e,lineTick:x0e,tickSize:.4,color:22015,textOffset:.1,fontSize:.45})}pickHandle(t,i,n){return null}sendMachineEvent(t){let i=t.drawing??null;i&&(this._previewDrawing=i);let n=a4e(this.machineState,t);if(n!==this.machineState){if(this.machineState=n,this._updatePreview(),n.kind==="committed"){if(!this._previewDrawing){console.warn("CalloutAnnotations: commit requires a drawing. Pass `drawing` on the first CLICK."),this._resetMachine();return}n.annotation.style=this.activeStyle;let s=this._persist(this._previewDrawing,n.annotation);this.onCommit.trigger([s])}this.onMachineStateChanged.trigger(this.machineState),n.kind==="committed"&&this._resetMachine()}}_buildGroup(t,i){let n=new Zo,s=G0e(t,i),o=new nn;o.setAttribute("position",new Tn(new Float32Array(s),3));let r=new xs(o,this._getMaterial(t.style));if(r.layers.set(1),r.userData.isDimension=!0,n.add(r),i.meshTick){let l=new ye().subVectors(t.extensionEnd,t.elbow);if(l.lengthSq()>1e-10){l.normalize();let d=i.meshTick(t.extensionEnd,l,i.tickSize),h=new nn;h.setAttribute("position",new Tn(new Float32Array(d),3));let p=new _i(h,this._getMeshMaterial(t.style));p.layers.set(1),p.userData.isMeshArrow=!0,n.add(p)}}return n}_updatePreview(){let t=this.machineState;if(t.kind!=="awaitingRadius"&&t.kind!=="awaitingElbow"&&t.kind!=="awaitingExtension"){this._clearPreview();return}if(!this._previewDrawing)return;let i=this._resolveStyle(this.activeStyle),n=(()=>{switch(t.kind){case"awaitingRadius":return AQ("awaitingRadius",t.center,0,0,null,t.cursor,i);case"awaitingElbow":return AQ("awaitingElbow",t.center,t.halfW,t.halfH,null,t.cursor,i);case"awaitingExtension":return AQ("awaitingExtension",t.center,t.halfW,t.halfH,t.elbow,t.cursor,i)}})();if(n.length===0){this._clearPreview();return}let s=n.length/3;if(!this._previewObject||this._previewObject.geometry.attributes.position.count!==s){this._clearPreview();let r=new nn;r.setAttribute("position",new Tn(new Float32Array(n),3)),this._previewObject=new xs(r,this._previewMaterial),this._previewObject.layers.set(1),this._previewObject.renderOrder=1,this._previewObject.frustumCulled=!1,this._previewObject.userData.isDimension=!0,this._previewDrawing.three.add(this._previewObject)}else{let r=this._previewObject.geometry.attributes.position;r.set(n),r.needsUpdate=!0}}_resetMachine(){this.machineState={kind:"awaitingCenter"},this._clearPreview(),this._previewDrawing=null,this.onMachineStateChanged.trigger(this.machineState)}},c4e=class d4e extends Gl{constructor(t){super(t),Le(this,"enabled",!0),Le(this,"list",new fo),Le(this,"systems",new fo),Le(this,"onDisposed",new $i),t.add(d4e.uuid,this),this.list.onBeforeDelete.add(({value:i})=>i.dispose()),this.systems.onBeforeDelete.add(({value:i})=>i.dispose())}use(t){if(this.systems.has(t))return this.systems.get(t);let i=new t(this.components);return this.systems.set(t,i),i}create(t){let i=new sJ(this.components);i.world=t,t.scene.three.add(i.three),t.onDisposed.add(()=>this.list.delete(i.uuid));let n=t.camera;return n.three.layers.enable(1),n instanceof NM&&(n.threePersp.layers.enable(1),n.threeOrtho.layers.enable(1)),this.list.set(i.uuid,i),i}dispose(){this.list.clear(),this.systems.clear(),this.onDisposed.trigger(),this.onDisposed.reset()}};Le(c4e,"uuid","5c7d3b9a-4e8f-4a2b-9c1d-0e3f2a5b7c8d");var X2=c4e,kWe=[[16711680,1],[16776960,2],[65280,3],[65535,4],[255,5],[16711935,6],[16777215,7],[0,7]];function XS(e){let t=e>>16&255,i=e>>8&255,n=e&255,s=7,o=1/0;for(let[r,l]of kWe){let d=(t-(r>>16&255))**2+(i-(r>>8&255))**2+(n-(r&255))**2;d<o&&(o=d,s=l)}return s}var y0e=class{constructor(){Le(this,"_lines",[]),Le(this,"_handleCounter",1)}p(t,i){return this._lines.push(String(t),String(i)),this}n(t,i,n=6){return this._lines.push(String(t),i.toFixed(n)),this}handle(){return(this._handleCounter++).toString(16).toUpperCase()}build(){return this._lines.join(`
|
||
`)+`
|
||
`}},cJ=class{constructor(t){Le(this,"precision",2),Le(this,"config",{trueColor:!1}),Le(this,"_viewport",null),Le(this,"_paperSlot",null),Le(this,"_annotationLayers",new Map),Le(this,"_systemExporters",new Map),this._components=t}registerSystemExporter(t,i){this._systemExporters.set(t,i)}export(t,i){let n=!!i,s=new y0e,o=new Map;for(let p of t)for(let I of p.drawing.layers.values())o.has(I.name)||o.set(I.name,I);let r=[...o.values()],d=this._components.get(X2).systems.get(Gz),h=d?[...d.definitions.keys()]:[];this._writeHeader(s,n),this._writeTables(s,r,h),this._writeBlocks(s,d??null),s.p(0,"SECTION").p(2,"ENTITIES"),n&&i&&this._writePaperBorders(s,i);for(let p of t){p.drawing.three.traverse(I=>{I.userData.isDimension&&I.userData.annotationUuid&&this._annotationLayers.set(I.userData.annotationUuid,I.userData.layer??"0")});for(let I of p.viewports){if(this._viewport=I.viewport??null,n&&I.viewport){let m=I.viewport,y=i.heightMm-2*i.margin;this._paperSlot={x:I.x??0,y:y-(I.y??0),mmPerUnit:1e3/m.drawingScale,vpLeft:m.left,vpTop:m.top}}else this._paperSlot=null;this._writeViewportBorder(s),this._writeRawLines(s,p.drawing),this._writeLinearAnnotations(s,p.drawing),this._writeAngleAnnotations(s,p.drawing),this._writeLeaderAnnotations(s,p.drawing),this._writeSlopeAnnotations(s,p.drawing),this._writeCalloutAnnotations(s,p.drawing),this._writeBlockInsertions(s,p.drawing),this._writeCustomSystems(s,p.drawing)}this._annotationLayers.clear()}return s.p(0,"ENDSEC"),this._writeObjects(s),s.p(0,"EOF"),this._viewport=null,this._paperSlot=null,s.build()}_writeHeader(t,i){t.p(0,"SECTION").p(2,"HEADER"),t.p(9,"$ACADVER").p(1,this.config.trueColor?"AC1018":"AC1015"),t.p(9,"$INSUNITS").p(70,i?4:6),t.p(0,"ENDSEC")}_writeTables(t,i,n){t.p(0,"SECTION").p(2,"TABLES"),t.p(0,"TABLE").p(2,"VPORT").p(70,0).p(0,"ENDTAB"),t.p(0,"TABLE").p(2,"LTYPE").p(70,1),t.p(0,"LTYPE").p(2,"CONTINUOUS").p(70,0).p(3,"Solid line").p(72,65).p(73,0).n(40,0),t.p(0,"ENDTAB"),t.p(0,"TABLE").p(2,"LAYER").p(70,i.length);for(let o of i){let r=XS(o.material.color.getHex());t.p(0,"LAYER").p(2,o.name).p(70,0).p(62,r).p(6,"CONTINUOUS")}t.p(0,"ENDTAB"),t.p(0,"TABLE").p(2,"STYLE").p(70,1),t.p(0,"STYLE").p(2,"STANDARD").p(70,0).n(40,0).n(41,1).n(50,0).p(71,0).n(42,.2).p(3,"txt").p(4,""),t.p(0,"ENDTAB"),t.p(0,"TABLE").p(2,"VIEW").p(70,0).p(0,"ENDTAB"),t.p(0,"TABLE").p(2,"UCS").p(70,0).p(0,"ENDTAB"),t.p(0,"TABLE").p(2,"APPID").p(70,1),t.p(0,"APPID").p(2,"ACAD").p(70,0),t.p(0,"ENDTAB"),t.p(0,"TABLE").p(2,"DIMSTYLE").p(70,0).p(0,"ENDTAB");let s=["*Model_Space","*Paper_Space",...n];t.p(0,"TABLE").p(2,"BLOCK_RECORD").p(70,s.length);for(let o of s)t.p(0,"BLOCK_RECORD").p(5,t.handle()).p(2,o);t.p(0,"ENDTAB"),t.p(0,"ENDSEC")}_writeBlocks(t,i){if(t.p(0,"SECTION").p(2,"BLOCKS"),this._writeBlock(t,"*Model_Space",null),this._writeBlock(t,"*Paper_Space",null),i)for(let[n,s]of i.definitions)this._writeBlock(t,n,s.lines??null);t.p(0,"ENDSEC")}_writeBlock(t,i,n){if(t.p(0,"BLOCK").p(5,t.handle()).p(8,"0").p(2,i).p(70,0).n(10,0).n(20,0).n(30,0).p(3,i).p(1,""),n){let s=this._viewport,o=this._paperSlot;this._viewport=null,this._paperSlot=null,this._writeGeoAsLines(t,n,"0"),this._viewport=s,this._paperSlot=o}t.p(0,"ENDBLK").p(5,t.handle()).p(8,"0")}_writeViewportBorder(t){if(!this._viewport)return;let i=this._viewport,n=this._tx(i.left),s=this._tx(i.right),o=this._ty(-i.bottom),r=this._ty(-i.top);this._writeRawLine(t,n,o,s,o,"0",7),this._writeRawLine(t,s,o,s,r,"0",7),this._writeRawLine(t,s,r,n,r,"0",7),this._writeRawLine(t,n,r,n,o,"0",7)}_writePaperBorders(t,i){let{margin:n,widthMm:s,heightMm:o}=i,r=s-2*n,l=o-2*n;this._writeRawLine(t,0,0,r,0,"0",7),this._writeRawLine(t,r,0,r,l,"0",7),this._writeRawLine(t,r,l,0,l,"0",7),this._writeRawLine(t,0,l,0,0,"0",7),this._writeRawLine(t,-n,-n,r+n,-n,"0",7),this._writeRawLine(t,r+n,-n,r+n,l+n,"0",7),this._writeRawLine(t,r+n,l+n,-n,l+n,"0",7),this._writeRawLine(t,-n,l+n,-n,-n,"0",7)}_writeObjects(t){t.p(0,"SECTION").p(2,"OBJECTS"),t.p(0,"DICTIONARY").p(5,t.handle()).p(330,0).p(100,"AcDbRootDictionary"),t.p(0,"ENDSEC")}_writeRawLines(t,i){i.three.traverse(n=>{var s;if(!(n instanceof xs)||n.userData.isDimension||(s=n.parent)!=null&&s.userData.blockUuid||!n.visible)return;let o=n.userData.layer??"0",r=n.material.color.getHex();this._writeGeoAsLines(t,n.geometry,o,XS(r),r)})}_writeLinearAnnotations(t,i){var n;let s=this._components.get(X2).systems.get(oJ);if(s)for(let[,o]of i.annotations.getBySystem(s)){let r=s.styles.get(o.style)??s.styles.get("default"),l=XS(r.color),d=this._annotationLayers.get(o.uuid)??"0";if(((n=i.layers.get(d))==null?void 0:n.visible)===!1)continue;let h=pJ(o,r);if(!this._fullyInViewport(this._bboxFromPositions(h)))continue;if(this._writePairsAsLines(t,h,d,l,r.color),r.meshTick)for(let{tip:O,dir:P}of P0e(o))this._writeMeshTriangles(t,r.meshTick(O,P,r.tickSize),d,l,r.color);let p=new ye().subVectors(o.pointB,o.pointA),I=new ye(-p.z,0,p.x).normalize(),m=o.offset>=0?1:-1,y=o.pointA.clone().addScaledVector(I,o.offset),T=o.pointB.clone().addScaledVector(I,o.offset),R=y.clone().add(T).multiplyScalar(.5).addScaledVector(I,(r.textOffset+r.fontSize*.5)*m),b=r.unit??{factor:1,suffix:"m"},A=`${(o.pointA.distanceTo(o.pointB)*b.factor).toFixed(this.precision)} ${b.suffix}`;this._writeText(t,A,R.x,R.z,r.fontSize,d,l,this._textAngle(p.x,p.z),1,2,r.color)}}_writeAngleAnnotations(t,i){var n;let s=this._components.get(X2).systems.get(rJ);if(s)for(let[,o]of i.annotations.getBySystem(s)){let r=s.styles.get(o.style)??s.styles.get("default"),l=XS(r.color),d=this._annotationLayers.get(o.uuid)??"0";if(((n=i.layers.get(d))==null?void 0:n.visible)===!1)continue;let h=B0e(o,r);if(!this._fullyInViewport(this._bboxFromPositions(h)))continue;if(this._writePairsAsLines(t,h,d,l,r.color),r.meshTick)for(let{tip:R,dir:b}of M0e(o))this._writeMeshTriangles(t,r.meshTick(R,b,r.tickSize),d,l,r.color);let p=s4e(o),I=o.arcRadius+r.textOffset,m=o.vertex.x+Math.cos(p)*I,y=o.vertex.z+Math.sin(p)*I,T=cr.radToDeg(n4e(o));this._writeText(t,`${T.toFixed(this.precision)}\xB0`,m,y,r.fontSize,d,l,0,1,0,r.color)}}_writeLeaderAnnotations(t,i){var n;let s=this._components.get(X2).systems.get(lJ);if(s)for(let[,o]of i.annotations.getBySystem(s)){let r=s.styles.get(o.style)??s.styles.get("default"),l=XS(r.color),d=this._annotationLayers.get(o.uuid)??"0";if(((n=i.layers.get(d))==null?void 0:n.visible)===!1)continue;let h=F0e(o,r);if(!this._fullyInViewport(this._bboxFromPositions(h)))continue;if(this._writePairsAsLines(t,h,d,l,r.color),r.meshTick){let T=new ye().subVectors(o.arrowTip,o.elbow);T.lengthSq()>1e-10&&this._writeMeshTriangles(t,r.meshTick(o.arrowTip,T.normalize(),r.tickSize),d,l,r.color)}let p=new ye().subVectors(o.extensionEnd,o.elbow).setY(0).normalize(),I=p.x<-.1?2:p.x>.1?0:1,m=I===1?r.fontSize*.5:0,y=o.extensionEnd.clone().addScaledVector(p,r.textOffset+m);this._writeText(t,o.text,y.x,y.z,r.fontSize,d,l,0,I,2,r.color)}}_writeSlopeAnnotations(t,i){var n;let s=this._components.get(X2).systems.get(aJ);if(s)for(let[,o]of i.annotations.getBySystem(s)){let r=s.styles.get(o.style)??s.styles.get("default"),l=XS(r.color),d=this._annotationLayers.get(o.uuid)??"0";if(((n=i.layers.get(d))==null?void 0:n.visible)===!1)continue;let h=U0e(o,r);if(!this._fullyInViewport(this._bboxFromPositions(h)))continue;if(this._writePairsAsLines(t,h,d,l,r.color),r.meshTick){let m=H0e(o,r.length);this._writeMeshTriangles(t,r.meshTick(m,o.direction,r.tickSize),d,l,r.color)}let p=new ye(o.position.x+o.direction.x*r.length,0,o.position.z+o.direction.z*r.length),I=o.position.clone().add(p).multiplyScalar(.5).addScaledVector(new ye(-o.direction.z,0,o.direction.x),r.textOffset+r.fontSize);this._writeText(t,l4e(o.slope,r.format),I.x,I.z,r.fontSize,d,l,this._textAngle(o.direction.x,o.direction.z),1,0,r.color)}}_writeCalloutAnnotations(t,i){var n;let s=this._components.get(X2).systems.get(uJ);if(s)for(let[,o]of i.annotations.getBySystem(s)){let r=s.styles.get(o.style)??s.styles.get("default"),l=XS(r.color),d=this._annotationLayers.get(o.uuid)??"0";if(((n=i.layers.get(d))==null?void 0:n.visible)===!1)continue;let h=G0e(o,r);if(!this._fullyInViewport(this._bboxFromPositions(h)))continue;if(this._writePairsAsLines(t,h,d,l,r.color),r.meshTick){let T=new ye().subVectors(o.extensionEnd,o.elbow);T.lengthSq()>1e-10&&this._writeMeshTriangles(t,r.meshTick(o.extensionEnd,T.normalize(),r.tickSize),d,l,r.color)}let p=new ye().subVectors(o.extensionEnd,o.elbow).setY(0).normalize(),I=p.x<-.1?2:p.x>.1?0:1,m=I===1?r.fontSize*.5:0,y=o.extensionEnd.clone().addScaledVector(p,r.textOffset+m);this._writeText(t,o.text,y.x,y.z,r.fontSize,d,l,0,I,2,r.color)}}_writeBlockInsertions(t,i){let n=this._components.get(X2).systems.get(Gz);if(n)for(let[,s]of i.annotations.getBySystem(n)){if(!this._inViewport(s.position.x,s.position.z))continue;let o=n.styles.get(s.style)??n.styles.get("default"),r=XS(o.color),l=-cr.radToDeg(s.rotation),d=s.scale*this._scale();t.p(0,"INSERT").p(5,t.handle()).p(8,"0").p(62,r),this._emitTrueColor(t,o.color),t.p(2,s.blockName).n(10,this._tx(s.position.x)).n(20,this._ty(s.position.z)).n(30,0).n(41,d).n(42,d).n(43,d).n(50,l)}}_writeGeoAsLines(t,i,n,s=7,o){let r=i.attributes.position;if(r)for(let l=0;l+1<r.count;l+=2){let d=this._clipSegment(new ye(r.getX(l),0,r.getZ(l)),new ye(r.getX(l+1),0,r.getZ(l+1)));d&&this._writeLine(t,d.start.x,d.start.z,d.end.x,d.end.z,n,s,o)}}_writePairsAsLines(t,i,n,s=7,o){for(let r=0;r+5<i.length;r+=6){let l=this._clipSegment(new ye(i[r],0,i[r+2]),new ye(i[r+3],0,i[r+5]));l&&this._writeLine(t,l.start.x,l.start.z,l.end.x,l.end.z,n,s,o)}}_emitTrueColor(t,i){this.config.trueColor&&i!==void 0&&t.p(420,i)}_writeLine(t,i,n,s,o,r,l,d){t.p(0,"LINE").p(5,t.handle()).p(8,r).p(62,l),this._emitTrueColor(t,d),t.n(10,this._tx(i)).n(20,this._ty(n)).n(30,0).n(11,this._tx(s)).n(21,this._ty(o)).n(31,0)}_writeRawLine(t,i,n,s,o,r,l){t.p(0,"LINE").p(5,t.handle()).p(8,r).p(62,l).n(10,i).n(20,n).n(30,0).n(11,s).n(21,o).n(31,0)}_writeSolid(t,i,n,s,o,r,l,d,h,p){t.p(0,"SOLID").p(5,t.handle()).p(8,d).p(62,h),this._emitTrueColor(t,p),t.n(10,this._tx(i)).n(20,this._ty(n)).n(30,0).n(11,this._tx(s)).n(21,this._ty(o)).n(31,0).n(12,this._tx(r)).n(22,this._ty(l)).n(32,0).n(13,this._tx(r)).n(23,this._ty(l)).n(33,0)}_writeMeshTriangles(t,i,n,s,o){for(let r=0;r+8<i.length;r+=9)this._writeSolid(t,i[r],i[r+2],i[r+3],i[r+5],i[r+6],i[r+8],n,s,o)}_writeText(t,i,n,s,o,r,l,d=0,h=0,p=0,I){let m=this._tx(n),y=this._ty(s);t.p(0,"TEXT").p(5,t.handle()).p(8,r).p(62,l),this._emitTrueColor(t,I),t.n(10,m).n(20,y).n(30,0).n(40,o*this._scale()).n(50,d).p(1,i),(h!==0||p!==0)&&(h!==0&&t.p(72,h),p!==0&&t.p(73,p),t.n(11,m).n(21,y).n(31,0))}_tx(t){return this._paperSlot?this._paperSlot.x+(t-this._paperSlot.vpLeft)*this._paperSlot.mmPerUnit:this._viewport?t-this._viewport.left:t}_ty(t){return this._paperSlot?this._paperSlot.y-(t+this._paperSlot.vpTop)*this._paperSlot.mmPerUnit:this._viewport?-t-this._viewport.bottom:-t}_scale(){return this._paperSlot?this._paperSlot.mmPerUnit:1}_clipSegment(t,i){return this._viewport?this._viewport.clipLine(new ds(t,i)):new ds(t,i)}_inViewport(t,i){return this._viewport?this._viewport.bbox.containsPoint(new ye(t,0,i)):!0}_bboxFromPositions(t){let i=new kn;for(let n=0;n+2<t.length;n+=3)i.expandByPoint(new ye(t[n],0,t[n+2]));return i}_fullyInViewport(t){return this._viewport?this._viewport.bbox.containsBox(t):!0}_textAngle(t,i){let n=Math.atan2(-i,t);return(n>Math.PI/2||n<=-Math.PI/2)&&(n+=Math.PI),cr.radToDeg(n)}_writeCustomSystems(t,i){if(this._systemExporters.size===0)return;let n=this._makeContext(t);for(let[s,o]of this._systemExporters){let r=this._components.get(X2).systems.get(s);r&&o(r,n)}}_makeContext(t){return{writeLine:(i,n,s,o,r="0",l=7)=>{this._writeLine(t,i,n,s,o,r,l)},writePairs:(i,n="0",s=7)=>{this._writePairsAsLines(t,i,n,s)},writeMeshTriangles:(i,n="0",s=7)=>{this._writeMeshTriangles(t,i,n,s)},writeText:(i,n,s,o,r={})=>{this._writeText(t,i,n,s,o,r.layer??"0",r.aciColor??7,r.rotDeg??0,r.hAlign??0)},hexToAci:XS,textAngle:(i,n)=>this._textAngle(i,n)}}},h4e=class f4e extends Gl{constructor(t){super(t),Le(this,"enabled",!0),Le(this,"exporter",new cJ(this.components)),t.add(f4e.uuid,this)}};Le(h4e,"uuid","e9a2c3d4-5f67-4b89-a012-1c3d5e7f9b2a");var zWe=h4e;var WWe=DRe(m4e(),1);var export_JSZip=WWe.default;export{export_JSZip as JSZip,p4e as OBC,fj as THREE};
|
||
/*! Bundled license information:
|
||
|
||
jszip/dist/jszip.min.js:
|
||
@thatopen/components/dist/index.mjs:
|
||
(*!
|
||
|
||
JSZip v3.10.1 - A JavaScript class for generating and reading zip files
|
||
<http://stuartk.com/jszip>
|
||
|
||
(c) 2009-2016 Stuart Knightley <stuart [at] stuartk.com>
|
||
Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/main/LICENSE.markdown.
|
||
|
||
JSZip uses the library pako released under the MIT license :
|
||
https://github.com/nodeca/pako/blob/main/LICENSE
|
||
*)
|
||
|
||
three/build/three.core.js:
|
||
three/build/three.module.js:
|
||
three/build/three.webgpu.js:
|
||
three/build/three.tsl.js:
|
||
(**
|
||
* @license
|
||
* Copyright 2010-2026 Three.js Authors
|
||
* SPDX-License-Identifier: MIT
|
||
*)
|
||
|
||
@thatopen/fragments/dist/index.mjs:
|
||
(*! pako 2.1.0 https://github.com/nodeca/pako @license (MIT AND Zlib) *)
|
||
|
||
camera-controls/dist/camera-controls.module.js:
|
||
(*!
|
||
* camera-controls
|
||
* https://github.com/yomotsu/camera-controls
|
||
* (c) 2017 @yomotsu
|
||
* Released under the MIT License.
|
||
*)
|
||
*/
|